pub struct Source {
pub id: String,
pub title: String,
pub publisher: String,
pub url: String,
pub date: Date,
pub status: SourceStatus,
pub sha256: Option<String>,
}Expand description
A registered source.
Fields§
§id: StringStable id cited by rule entries.
title: StringDocument title.
publisher: StringPublisher.
url: StringRetrieval URL.
date: DatePublication date.
status: SourceStatusConfirmation status.
sha256: Option<String>SHA-256 of the mirrored document, once mirrored.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Source
impl<'de> Deserialize<'de> for Source
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
impl Eq for Source
impl StructuralPartialEq for Source
Auto Trait Implementations§
impl Forget for Source
impl Freeze for Source
impl Move for Source
impl RefUnwindSafe for Source
impl Send for Source
impl Sync for Source
impl Unpin for Source
impl UnsafeUnpin for Source
impl UnwindSafe for Source
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