Struct wayback_rs::item::Item [−][src]
pub struct Item {
pub url: String,
pub archived_at: NaiveDateTime,
pub digest: String,
pub mime_type: String,
pub length: u64,
pub status: Option<u16>,
}
Expand description
Information about a single archived snapshot of a page.
Fields
url: String
archived_at: NaiveDateTime
digest: String
mime_type: String
length: u64
status: Option<u16>
Implementations
pub fn new(
url: String,
archived_at: NaiveDateTime,
digest: String,
mime_type: String,
length: u64,
status: Option<u16>
) -> Item
Trait Implementations
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for Item
impl UnwindSafe for Item
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more