Struct tor_linkspec::RelayIdsBuilder
source · pub struct RelayIdsBuilder { /* private fields */ }Expand description
Builder for RelayIds.
Implementations§
source§impl RelayIdsBuilder
impl RelayIdsBuilder
sourcepub fn ed_identity(&mut self, value: Ed25519Identity) -> &mut Self
pub fn ed_identity(&mut self, value: Ed25519Identity) -> &mut Self
Copy of the ed25519 id from the underlying ChanTarget.
sourcepub fn rsa_identity(&mut self, value: RsaIdentity) -> &mut Self
pub fn rsa_identity(&mut self, value: RsaIdentity) -> &mut Self
Copy of the rsa id from the underlying ChanTarget.
Trait Implementations§
source§impl Clone for RelayIdsBuilder
impl Clone for RelayIdsBuilder
source§fn clone(&self) -> RelayIdsBuilder
fn clone(&self) -> RelayIdsBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more