pub struct FullContent {
pub text: String,
pub semantic: Option<SemanticContent>,
pub affect: Option<AffectContent>,
pub attachments: Vec<String>,
}Expand description
Full rich message combining text, optional semantic and affect layers.
Fields§
§text: StringThe primary text representation.
semantic: Option<SemanticContent>Optional semantic analysis layer.
affect: Option<AffectContent>Optional affect analysis layer.
attachments: Vec<String>File or resource attachment references.
Trait Implementations§
Source§impl Clone for FullContent
impl Clone for FullContent
Source§fn clone(&self) -> FullContent
fn clone(&self) -> FullContent
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 FullContent
impl Debug for FullContent
Source§impl<'de> Deserialize<'de> for FullContent
impl<'de> Deserialize<'de> for FullContent
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 FullContent
impl PartialEq for FullContent
Source§impl Serialize for FullContent
impl Serialize for FullContent
impl StructuralPartialEq for FullContent
Auto Trait Implementations§
impl Freeze for FullContent
impl RefUnwindSafe for FullContent
impl Send for FullContent
impl Sync for FullContent
impl Unpin for FullContent
impl UnsafeUnpin for FullContent
impl UnwindSafe for FullContent
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