pub struct DeviceEnabledRoutes {
pub routes: Option<Vec<String>>,
pub unknown: Unknown,
}Expand description
Replace the routes a device is permitted to carry.
Only the enabled set: what a device advertises it can route is the device’s own business and cannot be set through the API.
Fields§
§routes: Option<Vec<String>>§unknown: UnknownEverything the description did not mention, kept so that a control plane ahead of this build still answers usefully.
Implementations§
Trait Implementations§
Source§impl Clone for DeviceEnabledRoutes
impl Clone for DeviceEnabledRoutes
Source§fn clone(&self) -> DeviceEnabledRoutes
fn clone(&self) -> DeviceEnabledRoutes
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 DeviceEnabledRoutes
impl Debug for DeviceEnabledRoutes
Source§impl<'de> Deserialize<'de> for DeviceEnabledRoutes
impl<'de> Deserialize<'de> for DeviceEnabledRoutes
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 PartialEq for DeviceEnabledRoutes
impl PartialEq for DeviceEnabledRoutes
Source§impl Serialize for DeviceEnabledRoutes
impl Serialize for DeviceEnabledRoutes
impl StructuralPartialEq for DeviceEnabledRoutes
Auto Trait Implementations§
impl Freeze for DeviceEnabledRoutes
impl RefUnwindSafe for DeviceEnabledRoutes
impl Send for DeviceEnabledRoutes
impl Sync for DeviceEnabledRoutes
impl Unpin for DeviceEnabledRoutes
impl UnsafeUnpin for DeviceEnabledRoutes
impl UnwindSafe for DeviceEnabledRoutes
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