pub struct Relay {
pub nickname: String,
pub ip: String,
pub or_port: u16,
pub dir_port: u16,
pub rsa_id: Bytes,
pub ed_id: Bytes,
pub flags: BTreeSet<String>,
pub proto: String,
pub md_digest: String,
pub ntor_key: Bytes,
}Fields§
§nickname: String§ip: String§or_port: u16§dir_port: u16§rsa_id: Bytes§ed_id: Bytes§flags: BTreeSet<String>§proto: String§md_digest: String§ntor_key: BytesImplementations§
Trait Implementations§
impl Eq for Relay
impl StructuralPartialEq for Relay
Auto Trait Implementations§
impl Freeze for Relay
impl RefUnwindSafe for Relay
impl Send for Relay
impl Sync for Relay
impl Unpin for Relay
impl UnsafeUnpin for Relay
impl UnwindSafe for Relay
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