pub struct StoredClip {
pub id: String,
pub source: String,
pub source_key: Option<String>,
pub content_type: String,
pub content: Option<Vec<u8>>,
pub media_path: Option<String>,
pub byte_size: i64,
pub created_at: i64,
pub pinned: bool,
pub pinned_at: Option<i64>,
}Fields§
§id: String§source: String§source_key: Option<String>§content_type: String§content: Option<Vec<u8>>§media_path: Option<String>§byte_size: i64§created_at: i64§pinned: bool§pinned_at: Option<i64>Trait Implementations§
Source§impl Clone for StoredClip
impl Clone for StoredClip
Source§fn clone(&self) -> StoredClip
fn clone(&self) -> StoredClip
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 StoredClip
impl Debug for StoredClip
Source§impl<'de> Deserialize<'de> for StoredClip
impl<'de> Deserialize<'de> for StoredClip
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 StoredClip
impl PartialEq for StoredClip
Source§fn eq(&self, other: &StoredClip) -> bool
fn eq(&self, other: &StoredClip) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for StoredClip
impl Serialize for StoredClip
impl Eq for StoredClip
impl StructuralPartialEq for StoredClip
Auto Trait Implementations§
impl Freeze for StoredClip
impl RefUnwindSafe for StoredClip
impl Send for StoredClip
impl Sync for StoredClip
impl Unpin for StoredClip
impl UnsafeUnpin for StoredClip
impl UnwindSafe for StoredClip
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