Struct depo_api::request::update_key::UpdateKeyRequest
source · pub struct UpdateKeyRequest { /* private fields */ }Implementations§
source§impl UpdateKeyRequest
impl UpdateKeyRequest
pub fn new( key: impl AsRef<PublicKeyBase>, new_key: impl AsRef<PublicKeyBase> ) -> Self
pub fn new_opt(id: ARID, key: PublicKeyBase, new_key: PublicKeyBase) -> Self
pub fn id(&self) -> &ARID
pub fn key(&self) -> &PublicKeyBase
pub fn new_key(&self) -> &PublicKeyBase
Trait Implementations§
source§impl Clone for UpdateKeyRequest
impl Clone for UpdateKeyRequest
source§fn clone(&self) -> UpdateKeyRequest
fn clone(&self) -> UpdateKeyRequest
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 moresource§impl Debug for UpdateKeyRequest
impl Debug for UpdateKeyRequest
source§impl Display for UpdateKeyRequest
impl Display for UpdateKeyRequest
source§impl EnvelopeDecodable for UpdateKeyRequest
impl EnvelopeDecodable for UpdateKeyRequest
fn from_envelope(envelope: Envelope) -> Result<Self>
source§impl EnvelopeEncodable for UpdateKeyRequest
impl EnvelopeEncodable for UpdateKeyRequest
source§impl From<UpdateKeyRequest> for Envelope
impl From<UpdateKeyRequest> for Envelope
source§fn from(value: UpdateKeyRequest) -> Self
fn from(value: UpdateKeyRequest) -> Self
Converts to this type from the input type.
source§impl PartialEq for UpdateKeyRequest
impl PartialEq for UpdateKeyRequest
source§fn eq(&self, other: &UpdateKeyRequest) -> bool
fn eq(&self, other: &UpdateKeyRequest) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl TryFrom<Envelope> for UpdateKeyRequest
impl TryFrom<Envelope> for UpdateKeyRequest
impl EnvelopeCodable for UpdateKeyRequest
impl Eq for UpdateKeyRequest
impl StructuralPartialEq for UpdateKeyRequest
Auto Trait Implementations§
impl Freeze for UpdateKeyRequest
impl RefUnwindSafe for UpdateKeyRequest
impl Send for UpdateKeyRequest
impl Sync for UpdateKeyRequest
impl Unpin for UpdateKeyRequest
impl UnwindSafe for UpdateKeyRequest
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