pub struct DescriptorDef {
pub uuid: Uuid,
pub read: Access,
pub write: Access,
pub value: Vec<u8>,
}Expand description
A descriptor to add.
Fields§
§uuid: UuidIts UUID.
read: AccessRead access.
write: AccessWrite access.
value: Vec<u8>The value.
Trait Implementations§
Source§impl Clone for DescriptorDef
impl Clone for DescriptorDef
Source§impl Debug for DescriptorDef
impl Debug for DescriptorDef
Source§impl<'de> Deserialize<'de> for DescriptorDef
impl<'de> Deserialize<'de> for DescriptorDef
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
impl Eq for DescriptorDef
Source§impl PartialEq for DescriptorDef
impl PartialEq for DescriptorDef
Source§impl Serialize for DescriptorDef
impl Serialize for DescriptorDef
impl StructuralPartialEq for DescriptorDef
Auto Trait Implementations§
impl Freeze for DescriptorDef
impl RefUnwindSafe for DescriptorDef
impl Send for DescriptorDef
impl Sync for DescriptorDef
impl Unpin for DescriptorDef
impl UnsafeUnpin for DescriptorDef
impl UnwindSafe for DescriptorDef
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