Struct post_archiver::structs::ArchivePostShort
source · pub struct ArchivePostShort {
pub id: String,
pub url: PathBuf,
pub title: String,
pub author: String,
pub from: ArchiveFrom,
pub thumb: Option<PathBuf>,
pub updated: DateTime<Local>,
}Fields§
§id: String§url: PathBuf§title: String§from: ArchiveFrom§thumb: Option<PathBuf>§updated: DateTime<Local>Trait Implementations§
source§impl Clone for ArchivePostShort
impl Clone for ArchivePostShort
source§fn clone(&self) -> ArchivePostShort
fn clone(&self) -> ArchivePostShort
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 ArchivePostShort
impl Debug for ArchivePostShort
source§impl<'de> Deserialize<'de> for ArchivePostShort
impl<'de> Deserialize<'de> for ArchivePostShort
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 Hash for ArchivePostShort
impl Hash for ArchivePostShort
source§impl Into<ArchivePostShort> for ArchivePost
impl Into<ArchivePostShort> for ArchivePost
source§fn into(self) -> ArchivePostShort
fn into(self) -> ArchivePostShort
Converts this type into the (usually inferred) input type.
source§impl PartialEq for ArchivePostShort
impl PartialEq for ArchivePostShort
source§fn eq(&self, other: &ArchivePostShort) -> bool
fn eq(&self, other: &ArchivePostShort) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for ArchivePostShort
impl Serialize for ArchivePostShort
impl Eq for ArchivePostShort
impl StructuralPartialEq for ArchivePostShort
Auto Trait Implementations§
impl Freeze for ArchivePostShort
impl RefUnwindSafe for ArchivePostShort
impl Send for ArchivePostShort
impl Sync for ArchivePostShort
impl Unpin for ArchivePostShort
impl UnwindSafe for ArchivePostShort
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