Struct svc_assets::rest::structs::Vertiport
source · pub struct Vertiport {
pub basics: Basics,
pub description: String,
pub geo_location: GeoPolygon,
pub schedule: Option<String>,
}
Expand description
A struct representing a vertiport (a vertical airport).
A vertiport is an airport that is used for vertical takeoff and landing (VTOL) aircraft. A vertiport may have one or more vertipads.
Fields§
§basics: Basics
§description: String
§geo_location: GeoPolygon
§schedule: Option<String>
Implementations§
Trait Implementations§
source§impl AssetsInfo for Vertiport
impl AssetsInfo for Vertiport
source§fn created_at(&self) -> DateTime<Utc>
fn created_at(&self) -> DateTime<Utc>
Get the asset’s creation time.
source§fn updated_at(&self) -> DateTime<Utc>
fn updated_at(&self) -> DateTime<Utc>
Get the asset’s last update time. If the asset has never been
updated, this will return None.
source§fn is_grouped(&self) -> bool
fn is_grouped(&self) -> bool
Check if the asset is grouped.
source§fn whitelist(&self) -> Result<Vec<Uuid>, Error>
fn whitelist(&self) -> Result<Vec<Uuid>, Error>
Get the list of clients that have access to the asset.
source§fn status(&self) -> AssetStatus
fn status(&self) -> AssetStatus
Get the status of the asset.
source§impl<'de> Deserialize<'de> for Vertiport
impl<'de> Deserialize<'de> for Vertiport
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl IntoParams for Vertiport
impl IntoParams for Vertiport
source§impl PartialEq<Vertiport> for Vertiport
impl PartialEq<Vertiport> for Vertiport
source§impl<'__s> ToSchema<'__s> for Vertiport
impl<'__s> ToSchema<'__s> for Vertiport
impl StructuralPartialEq for Vertiport
Auto Trait Implementations§
impl RefUnwindSafe for Vertiport
impl Send for Vertiport
impl Sync for Vertiport
impl Unpin for Vertiport
impl UnwindSafe for Vertiport
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request