#[non_exhaustive]pub enum SetElementAttribute {
Unspecified,
Key(DataAttribute),
Data(DataAttribute),
Flags(SetElementFlags),
Timeout(u64),
Expiration(u64),
UserData(Vec<u8>),
Expression(ExpressionAttribute),
ObjectRefrence(String),
KeyEnd(Vec<DefaultNla>),
ListExpressions(Vec<ListAttribute<ExpressionAttribute>>),
Other(DefaultNla),
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Unspecified
Key(DataAttribute)
Key value.
Data(DataAttribute)
Data value of mapping.
Flags(SetElementFlags)
Timeout(u64)
Timeout value.
Zero means never times out.
Expiration(u64)
UserData(Vec<u8>)
Expression(ExpressionAttribute)
ObjectRefrence(String)
Stateful object refrence.
KeyEnd(Vec<DefaultNla>)
ListExpressions(Vec<ListAttribute<ExpressionAttribute>>)
Other(DefaultNla)
Trait Implementations§
Source§impl Clone for SetElementAttribute
impl Clone for SetElementAttribute
Source§impl Debug for SetElementAttribute
impl Debug for SetElementAttribute
impl Eq for SetElementAttribute
Source§impl Nla for SetElementAttribute
impl Nla for SetElementAttribute
Source§impl PartialEq for SetElementAttribute
impl PartialEq for SetElementAttribute
impl StructuralPartialEq for SetElementAttribute
Auto Trait Implementations§
impl Freeze for SetElementAttribute
impl RefUnwindSafe for SetElementAttribute
impl Send for SetElementAttribute
impl Sync for SetElementAttribute
impl Unpin for SetElementAttribute
impl UnsafeUnpin for SetElementAttribute
impl UnwindSafe for SetElementAttribute
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