pub struct FileAnnotationSource {
pub type: String,
pub filename: String,
}Expand description
Attachment source referenced by an annotation.
Fields§
§type: StringType discriminator that is always file.
filename: StringFilename referenced by the annotation.
Trait Implementations§
Source§impl Clone for FileAnnotationSource
impl Clone for FileAnnotationSource
Source§fn clone(&self) -> FileAnnotationSource
fn clone(&self) -> FileAnnotationSource
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 FileAnnotationSource
impl Debug for FileAnnotationSource
Source§impl<'de> Deserialize<'de> for FileAnnotationSource
impl<'de> Deserialize<'de> for FileAnnotationSource
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 FileAnnotationSource
impl PartialEq for FileAnnotationSource
Source§impl Serialize for FileAnnotationSource
impl Serialize for FileAnnotationSource
impl StructuralPartialEq for FileAnnotationSource
Auto Trait Implementations§
impl Freeze for FileAnnotationSource
impl RefUnwindSafe for FileAnnotationSource
impl Send for FileAnnotationSource
impl Sync for FileAnnotationSource
impl Unpin for FileAnnotationSource
impl UnwindSafe for FileAnnotationSource
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