Struct svc_assets::rest::structs::Vertipad
source · pub struct Vertipad {
pub basics: Basics,
pub vertiport_id: String,
pub enabled: bool,
pub occupied: bool,
pub geo_location: GeoPoint,
pub schedule: Option<String>,
}
Expand description
A struct representing a vertipad (a vertical landing pad).
A vertipad is a landing pad that is used for vertical takeoff and landing (VTOL) aircraft. Usually, vertipads belong to vertiports.
Fields§
§basics: Basics
§vertiport_id: String
§enabled: bool
§occupied: bool
§geo_location: GeoPoint
§schedule: Option<String>
Implementations§
Trait Implementations§
source§impl AssetsInfo for Vertipad
impl AssetsInfo for Vertipad
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 Vertipad
impl<'de> Deserialize<'de> for Vertipad
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 Vertipad
impl IntoParams for Vertipad
source§impl PartialEq<Vertipad> for Vertipad
impl PartialEq<Vertipad> for Vertipad
source§impl<'__s> ToSchema<'__s> for Vertipad
impl<'__s> ToSchema<'__s> for Vertipad
impl StructuralPartialEq for Vertipad
Auto Trait Implementations§
impl RefUnwindSafe for Vertipad
impl Send for Vertipad
impl Sync for Vertipad
impl Unpin for Vertipad
impl UnwindSafe for Vertipad
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