Struct post_archiver::structs::ArchivePost
source · pub struct ArchivePost {
pub id: String,
pub title: String,
pub author: String,
pub from: ArchiveFrom,
pub thumb: Option<PathBuf>,
pub files: Vec<ArchiveFile>,
pub updated: DateTime<Local>,
pub published: DateTime<Local>,
pub content: Vec<ArchiveContent>,
pub comments: Vec<ArchiveComment>,
}Fields§
§id: String§title: String§from: ArchiveFrom§thumb: Option<PathBuf>§files: Vec<ArchiveFile>§updated: DateTime<Local>§published: DateTime<Local>§content: Vec<ArchiveContent>§comments: Vec<ArchiveComment>Trait Implementations§
source§impl Clone for ArchivePost
impl Clone for ArchivePost
source§fn clone(&self) -> ArchivePost
fn clone(&self) -> ArchivePost
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 ArchivePost
impl Debug for ArchivePost
source§impl<'de> Deserialize<'de> for ArchivePost
impl<'de> Deserialize<'de> for ArchivePost
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 ArchivePost
impl Hash for ArchivePost
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.
Auto Trait Implementations§
impl Freeze for ArchivePost
impl RefUnwindSafe for ArchivePost
impl Send for ArchivePost
impl Sync for ArchivePost
impl Unpin for ArchivePost
impl UnwindSafe for ArchivePost
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