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