pub struct ObjectFileContext {
pub file_type: AttachmentFileType,
pub image_tone: Option<String>,
pub file_brief: Option<String>,
}Expand description
Content-derived metadata shared by every thread that references an object.
Fields§
§file_type: AttachmentFileType§image_tone: Option<String>§file_brief: Option<String>Trait Implementations§
Source§impl Clone for ObjectFileContext
impl Clone for ObjectFileContext
Source§fn clone(&self) -> ObjectFileContext
fn clone(&self) -> ObjectFileContext
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 ObjectFileContext
impl Debug for ObjectFileContext
Source§impl<'de> Deserialize<'de> for ObjectFileContext
impl<'de> Deserialize<'de> for ObjectFileContext
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 ObjectFileContext
Source§impl PartialEq for ObjectFileContext
impl PartialEq for ObjectFileContext
Source§impl Serialize for ObjectFileContext
impl Serialize for ObjectFileContext
impl StructuralPartialEq for ObjectFileContext
Auto Trait Implementations§
impl Freeze for ObjectFileContext
impl RefUnwindSafe for ObjectFileContext
impl Send for ObjectFileContext
impl Sync for ObjectFileContext
impl Unpin for ObjectFileContext
impl UnsafeUnpin for ObjectFileContext
impl UnwindSafe for ObjectFileContext
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