pub struct SpecifiedRouteProperties {
pub metric: SpecifiedMetric,
}
Expand description
The specified properties of a route. This type enforces that all required
fields from fnet_routes::SpecifiedRouteProperties
are set.
Fields§
§metric: SpecifiedMetric
The specified metric of the route.
Trait Implementations§
Source§impl Clone for SpecifiedRouteProperties
impl Clone for SpecifiedRouteProperties
Source§fn clone(&self) -> SpecifiedRouteProperties
fn clone(&self) -> SpecifiedRouteProperties
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 moreSource§impl Debug for SpecifiedRouteProperties
impl Debug for SpecifiedRouteProperties
Source§impl From<SpecifiedRouteProperties> for SpecifiedRouteProperties
impl From<SpecifiedRouteProperties> for SpecifiedRouteProperties
Source§fn from(
specified_properties: SpecifiedRouteProperties,
) -> SpecifiedRouteProperties
fn from( specified_properties: SpecifiedRouteProperties, ) -> SpecifiedRouteProperties
Converts to this type from the input type.
Source§impl Hash for SpecifiedRouteProperties
impl Hash for SpecifiedRouteProperties
Source§impl Ord for SpecifiedRouteProperties
impl Ord for SpecifiedRouteProperties
Source§fn cmp(&self, other: &SpecifiedRouteProperties) -> Ordering
fn cmp(&self, other: &SpecifiedRouteProperties) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for SpecifiedRouteProperties
impl PartialEq for SpecifiedRouteProperties
Source§impl PartialOrd for SpecifiedRouteProperties
impl PartialOrd for SpecifiedRouteProperties
Source§impl TryFrom<SpecifiedRouteProperties> for SpecifiedRouteProperties
impl TryFrom<SpecifiedRouteProperties> for SpecifiedRouteProperties
Source§type Error = FidlConversionError<SpecifiedRoutePropertiesRequiredFields>
type Error = FidlConversionError<SpecifiedRoutePropertiesRequiredFields>
The type returned in the event of a conversion error.
impl Copy for SpecifiedRouteProperties
impl Eq for SpecifiedRouteProperties
impl StructuralPartialEq for SpecifiedRouteProperties
Auto Trait Implementations§
impl Freeze for SpecifiedRouteProperties
impl RefUnwindSafe for SpecifiedRouteProperties
impl Send for SpecifiedRouteProperties
impl Sync for SpecifiedRouteProperties
impl Unpin for SpecifiedRouteProperties
impl UnwindSafe for SpecifiedRouteProperties
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)Source§impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
Source§impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
§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>
§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<T, U> TryIntoExt<U> for Twhere
U: TryFromExt<T>,
impl<T, U> TryIntoExt<U> for Twhere
U: TryFromExt<T>,
type Error = <U as TryFromExt<T>>::Error
Source§fn try_into_ext(self) -> Result<U, <T as TryIntoExt<U>>::Error>
fn try_into_ext(self) -> Result<U, <T as TryIntoExt<U>>::Error>
Tries to perform the conversion.