pub struct PostureAttribute {
pub value: Option<Value>,
pub expiry: Option<String>,
pub comment: Option<String>,
pub unknown: Unknown,
}Expand description
Set one custom posture attribute on one device.
Fields§
§value: Option<Value>A string, a number or a boolean. The type is fixed by the first write and a later write of another type is refused.
expiry: Option<String>When the control plane should forget it.
comment: Option<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 PostureAttribute
impl Clone for PostureAttribute
Source§impl Debug for PostureAttribute
impl Debug for PostureAttribute
Source§impl<'de> Deserialize<'de> for PostureAttribute
impl<'de> Deserialize<'de> for PostureAttribute
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 PostureAttribute
impl PartialEq for PostureAttribute
Source§impl Serialize for PostureAttribute
impl Serialize for PostureAttribute
impl StructuralPartialEq for PostureAttribute
Auto Trait Implementations§
impl Freeze for PostureAttribute
impl RefUnwindSafe for PostureAttribute
impl Send for PostureAttribute
impl Sync for PostureAttribute
impl Unpin for PostureAttribute
impl UnsafeUnpin for PostureAttribute
impl UnwindSafe for PostureAttribute
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