Struct amq_protocol::protocol::connection::UpdateSecret
source · pub struct UpdateSecret {
pub new_secret: LongString,
pub reason: ShortString,
}
Expand description
update-secret (Generated)
Fields§
§new_secret: LongString
new-secret (Generated)
reason: ShortString
reason (Generated)
Implementations§
source§impl UpdateSecret
impl UpdateSecret
sourcepub fn get_amqp_class_id(&self) -> Identifier
pub fn get_amqp_class_id(&self) -> Identifier
Get the AMQP class id for update-secret (Generated)
sourcepub fn get_amqp_method_id(&self) -> Identifier
pub fn get_amqp_method_id(&self) -> Identifier
Get the AMQP method id for update-secret (Generated)
Trait Implementations§
source§impl Clone for UpdateSecret
impl Clone for UpdateSecret
source§fn clone(&self) -> UpdateSecret
fn clone(&self) -> UpdateSecret
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 UpdateSecret
impl Debug for UpdateSecret
source§impl Default for UpdateSecret
impl Default for UpdateSecret
source§fn default() -> UpdateSecret
fn default() -> UpdateSecret
Returns the “default value” for a type. Read more
source§impl PartialEq<UpdateSecret> for UpdateSecret
impl PartialEq<UpdateSecret> for UpdateSecret
source§fn eq(&self, other: &UpdateSecret) -> bool
fn eq(&self, other: &UpdateSecret) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UpdateSecret
Auto Trait Implementations§
impl RefUnwindSafe for UpdateSecret
impl Send for UpdateSecret
impl Sync for UpdateSecret
impl Unpin for UpdateSecret
impl UnwindSafe for UpdateSecret
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