pub struct ItemStreamMessage {
pub role: Role,
pub items: Vec<ContentItem>,
pub metadata: ItemMeta,
}Fields§
§role: Role§items: Vec<ContentItem>§metadata: ItemMetaTrait Implementations§
Source§impl Clone for ItemStreamMessage
impl Clone for ItemStreamMessage
Source§fn clone(&self) -> ItemStreamMessage
fn clone(&self) -> ItemStreamMessage
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ItemStreamMessage
impl Debug for ItemStreamMessage
Source§impl<'de> Deserialize<'de> for ItemStreamMessage
impl<'de> Deserialize<'de> for ItemStreamMessage
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 ItemStreamMessage
impl PartialEq for ItemStreamMessage
Source§impl Serialize for ItemStreamMessage
impl Serialize for ItemStreamMessage
impl StructuralPartialEq for ItemStreamMessage
Auto Trait Implementations§
impl Freeze for ItemStreamMessage
impl RefUnwindSafe for ItemStreamMessage
impl Send for ItemStreamMessage
impl Sync for ItemStreamMessage
impl Unpin for ItemStreamMessage
impl UnsafeUnpin for ItemStreamMessage
impl UnwindSafe for ItemStreamMessage
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