pub struct RpkiFile {
pub url: String,
pub timestamp: DateTime<Utc>,
pub size: Option<u64>,
pub rir: Option<Rir>,
pub collector: Option<RpkiViewsCollector>,
}Expand description
Information about an available RPKI data file.
Fields§
§url: StringFull URL to download the file
timestamp: DateTime<Utc>Timestamp when the file was created
size: Option<u64>Size of the file in bytes (if available)
rir: Option<Rir>RIR that this file is for (for RIPE files)
collector: Option<RpkiViewsCollector>Collector that provides this file (for RPKIviews files)
Trait Implementations§
Source§impl<'de> Deserialize<'de> for RpkiFile
impl<'de> Deserialize<'de> for RpkiFile
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
Auto Trait Implementations§
impl Freeze for RpkiFile
impl RefUnwindSafe for RpkiFile
impl Send for RpkiFile
impl Sync for RpkiFile
impl Unpin for RpkiFile
impl UnsafeUnpin for RpkiFile
impl UnwindSafe for RpkiFile
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