#[non_exhaustive]pub struct PostureAttributeValue {
pub value: Option<Value>,
pub expiry: Option<String>,
pub unknown: Unknown,
}Expand description
The longer form a batched attribute may take, where a bare value would not carry an expiry.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.value: Option<Value>§expiry: 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 PostureAttributeValue
impl Clone for PostureAttributeValue
Source§impl Debug for PostureAttributeValue
impl Debug for PostureAttributeValue
Source§impl Default for PostureAttributeValue
impl Default for PostureAttributeValue
Source§impl<'de> Deserialize<'de> for PostureAttributeValue
impl<'de> Deserialize<'de> for PostureAttributeValue
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 PostureAttributeValue
impl PartialEq for PostureAttributeValue
Source§impl Serialize for PostureAttributeValue
impl Serialize for PostureAttributeValue
impl StructuralPartialEq for PostureAttributeValue
Auto Trait Implementations§
impl Freeze for PostureAttributeValue
impl RefUnwindSafe for PostureAttributeValue
impl Send for PostureAttributeValue
impl Sync for PostureAttributeValue
impl Unpin for PostureAttributeValue
impl UnsafeUnpin for PostureAttributeValue
impl UnwindSafe for PostureAttributeValue
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