pub struct DirectoryAuthority {Show 20 fields
pub raw_contents: Vec<u8>,
pub unrecognized_lines: Vec<String>,
pub nickname: Option<String>,
pub v3ident: Option<String>,
pub fingerprint: Option<String>,
pub hostname: Option<String>,
pub address: Option<String>,
pub dir_port: Option<u16>,
pub or_port: Option<u16>,
pub is_legacy: bool,
pub contact: Option<String>,
pub vote_digest: Option<String>,
pub legacy_dir_key: Option<String>,
pub is_shared_randomness_participate: bool,
pub shared_randomness_commitments: Vec<SharedRandomnessCommitment>,
pub shared_randomness_previous_reveal_count: Option<u32>,
pub shared_randomness_previous_value: Option<String>,
pub shared_randomness_current_reveal_count: Option<u32>,
pub shared_randomness_current_value: Option<String>,
pub key_certificate: Option<KeyCertificate>,
}Fields§
§raw_contents: Vec<u8>§unrecognized_lines: Vec<String>§nickname: Option<String>§v3ident: Option<String>§fingerprint: Option<String>§hostname: Option<String>§address: Option<String>§dir_port: Option<u16>§or_port: Option<u16>§is_legacy: bool§contact: Option<String>§vote_digest: Option<String>§legacy_dir_key: Option<String>§key_certificate: Option<KeyCertificate>Implementations§
Trait Implementations§
Source§impl Clone for DirectoryAuthority
impl Clone for DirectoryAuthority
Source§impl Debug for DirectoryAuthority
impl Debug for DirectoryAuthority
Source§impl PartialEq for DirectoryAuthority
impl PartialEq for DirectoryAuthority
Source§impl Serialize for DirectoryAuthority
impl Serialize for DirectoryAuthority
impl StructuralPartialEq for DirectoryAuthority
Auto Trait Implementations§
impl Freeze for DirectoryAuthority
impl RefUnwindSafe for DirectoryAuthority
impl Send for DirectoryAuthority
impl Sync for DirectoryAuthority
impl Unpin for DirectoryAuthority
impl UnsafeUnpin for DirectoryAuthority
impl UnwindSafe for DirectoryAuthority
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