pub struct CapabilityEntry {
pub name: String,
pub position: usize,
pub payload: Vec<u8>,
}Expand description
Capability entry for multimodal content.
Fields§
§name: String§position: usize§payload: Vec<u8>Trait Implementations§
Source§impl Clone for CapabilityEntry
impl Clone for CapabilityEntry
Source§fn clone(&self) -> CapabilityEntry
fn clone(&self) -> CapabilityEntry
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CapabilityEntry
impl Debug for CapabilityEntry
Source§impl Default for CapabilityEntry
impl Default for CapabilityEntry
Source§fn default() -> CapabilityEntry
fn default() -> CapabilityEntry
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CapabilityEntry
impl<'de> Deserialize<'de> for CapabilityEntry
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
Auto Trait Implementations§
impl Freeze for CapabilityEntry
impl RefUnwindSafe for CapabilityEntry
impl Send for CapabilityEntry
impl Sync for CapabilityEntry
impl Unpin for CapabilityEntry
impl UnsafeUnpin for CapabilityEntry
impl UnwindSafe for CapabilityEntry
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