pub struct LogDeclaration {
pub name: String,
pub operator_key: String,
pub endpoint: String,
pub is_mirror: bool,
}Expand description
One recognized transparency log or mirror.
Fields§
§name: StringLog name.
operator_key: StringLog operator public key (verifies signed tree heads).
endpoint: StringEndpoint.
is_mirror: boolWhether this entry is a mirror of another declared log.
Trait Implementations§
Source§impl Clone for LogDeclaration
impl Clone for LogDeclaration
Source§fn clone(&self) -> LogDeclaration
fn clone(&self) -> LogDeclaration
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 LogDeclaration
impl Debug for LogDeclaration
Source§impl<'de> Deserialize<'de> for LogDeclaration
impl<'de> Deserialize<'de> for LogDeclaration
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 LogDeclaration
impl RefUnwindSafe for LogDeclaration
impl Send for LogDeclaration
impl Sync for LogDeclaration
impl Unpin for LogDeclaration
impl UnsafeUnpin for LogDeclaration
impl UnwindSafe for LogDeclaration
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