pub struct BoxContent {
pub text: String,
pub objects: Vec<String>,
pub metadata: Value,
}Fields§
§text: String§objects: Vec<String>§metadata: ValueImplementations§
Source§impl BoxContent
impl BoxContent
Trait Implementations§
Source§impl Clone for BoxContent
impl Clone for BoxContent
Source§fn clone(&self) -> BoxContent
fn clone(&self) -> BoxContent
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 BoxContent
impl Debug for BoxContent
Source§impl Default for BoxContent
impl Default for BoxContent
Source§fn default() -> BoxContent
fn default() -> BoxContent
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for BoxContent
impl<'de> Deserialize<'de> for BoxContent
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 BoxContent
Source§impl PartialEq for BoxContent
impl PartialEq for BoxContent
Source§impl Serialize for BoxContent
impl Serialize for BoxContent
impl StructuralPartialEq for BoxContent
Auto Trait Implementations§
impl Freeze for BoxContent
impl RefUnwindSafe for BoxContent
impl Send for BoxContent
impl Sync for BoxContent
impl Unpin for BoxContent
impl UnsafeUnpin for BoxContent
impl UnwindSafe for BoxContent
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