pub struct LogMetadata {Show 14 fields
pub log_entry_count: u64,
pub latest_version_id: Option<String>,
pub latest_version_time: Option<String>,
pub method: Option<String>,
pub portable: bool,
pub pre_rotation: bool,
pub deactivated: bool,
pub ttl: Option<u32>,
pub witnesses: bool,
pub witness_count: u32,
pub witness_threshold: u32,
pub watchers: bool,
pub watcher_count: u32,
pub watcher_urls: Vec<String>,
}Expand description
Summary of WebVH log entry metadata parsed from the stored JSONL content.
Fields§
§log_entry_count: u64§latest_version_id: Option<String>§latest_version_time: Option<String>§method: Option<String>§portable: bool§pre_rotation: bool§deactivated: bool§ttl: Option<u32>§witnesses: bool§witness_count: u32§witness_threshold: u32§watchers: bool§watcher_count: u32§watcher_urls: Vec<String>Trait Implementations§
Source§impl Debug for LogMetadata
impl Debug for LogMetadata
Source§impl Default for LogMetadata
impl Default for LogMetadata
Source§fn default() -> LogMetadata
fn default() -> LogMetadata
Returns the “default value” for a type. Read more
Source§impl Serialize for LogMetadata
impl Serialize for LogMetadata
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for LogMetadata
impl RefUnwindSafe for LogMetadata
impl Send for LogMetadata
impl Sync for LogMetadata
impl Unpin for LogMetadata
impl UnsafeUnpin for LogMetadata
impl UnwindSafe for LogMetadata
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