pub struct RsProviderEntry {
pub source: String,
pub kind: RsProviderEntryType,
pub size: Option<u64>,
pub mimetype: Option<String>,
pub hash: Option<String>,
pub added: Option<i64>,
pub modified: Option<i64>,
pub created: Option<i64>,
}Fields§
§source: String§kind: RsProviderEntryType§size: Option<u64>§mimetype: Option<String>§hash: Option<String>§added: Option<i64>§modified: Option<i64>§created: Option<i64>Implementations§
Source§impl RsProviderEntry
impl RsProviderEntry
pub fn mime_or_default(&self) -> String
Trait Implementations§
Source§impl Clone for RsProviderEntry
impl Clone for RsProviderEntry
Source§fn clone(&self) -> RsProviderEntry
fn clone(&self) -> RsProviderEntry
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 RsProviderEntry
impl Debug for RsProviderEntry
Source§impl<'de> Deserialize<'de> for RsProviderEntry
impl<'de> Deserialize<'de> for RsProviderEntry
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 RsProviderEntry
impl PartialEq for RsProviderEntry
Source§impl Serialize for RsProviderEntry
impl Serialize for RsProviderEntry
impl StructuralPartialEq for RsProviderEntry
Auto Trait Implementations§
impl Freeze for RsProviderEntry
impl RefUnwindSafe for RsProviderEntry
impl Send for RsProviderEntry
impl Sync for RsProviderEntry
impl Unpin for RsProviderEntry
impl UnwindSafe for RsProviderEntry
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