Struct notion_wasi::models::properties::FileReference
source · pub struct FileReference {
pub name: String,
pub url: String,
pub mime_type: String,
}Fields§
§name: String§url: String§mime_type: StringTrait Implementations§
source§impl Clone for FileReference
impl Clone for FileReference
source§fn clone(&self) -> FileReference
fn clone(&self) -> FileReference
Returns a copy 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 FileReference
impl Debug for FileReference
source§impl<'de> Deserialize<'de> for FileReference
impl<'de> Deserialize<'de> for FileReference
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<FileReference> for FileReference
impl PartialEq<FileReference> for FileReference
source§fn eq(&self, other: &FileReference) -> bool
fn eq(&self, other: &FileReference) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for FileReference
impl Serialize for FileReference
impl Eq for FileReference
impl StructuralEq for FileReference
impl StructuralPartialEq for FileReference
Auto Trait Implementations§
impl RefUnwindSafe for FileReference
impl Send for FileReference
impl Sync for FileReference
impl Unpin for FileReference
impl UnwindSafe for FileReference
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
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.