pub struct Attribute {
pub key: String,
pub value: AttributeValue,
}Expand description
A key/value attribute on an event or on the resource.
Fields§
§key: StringThe attribute’s name (lk.room.sid, acme.checkout.step).
value: AttributeValueIts value.
Implementations§
Trait Implementations§
impl StructuralPartialEq for Attribute
Auto Trait Implementations§
impl Forget for Attribute
impl Freeze for Attribute
impl Move for Attribute
impl RefUnwindSafe for Attribute
impl Send for Attribute
impl Sync for Attribute
impl Unpin for Attribute
impl UnsafeUnpin for Attribute
impl UnwindSafe for Attribute
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