Struct svc_compliance::region::RestrictionDetails  
source · pub struct RestrictionDetails {
    pub vertices: Vec<Coordinates>,
    pub timestamp_start: Option<DateTime<Utc>>,
    pub timestamp_end: Option<DateTime<Utc>>,
    pub zone_type: ZoneType,
    pub altitude_meters_max: f32,
    pub altitude_meters_min: f32,
}Expand description
Details of a flight restriction
Fields§
§vertices: Vec<Coordinates>The boundary vertices of the restriction
timestamp_start: Option<DateTime<Utc>>The start time of the restriction
timestamp_end: Option<DateTime<Utc>>The end time of the restriction
zone_type: ZoneTypeThe restriction type
altitude_meters_max: f32The maximum altitude
altitude_meters_min: f32The minimum altitude
Trait Implementations§
source§impl Clone for RestrictionDetails
 
impl Clone for RestrictionDetails
source§fn clone(&self) -> RestrictionDetails
 
fn clone(&self) -> RestrictionDetails
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from 
source. Read moreAuto Trait Implementations§
impl RefUnwindSafe for RestrictionDetails
impl Send for RestrictionDetails
impl Sync for RestrictionDetails
impl Unpin for RestrictionDetails
impl UnwindSafe for RestrictionDetails
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> CloneAny for T
 
impl<T> CloneAny for T
§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