Struct lapin::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) -> u16
pub fn get_amqp_class_id(&self) -> u16
Get the AMQP class id for update-secret (Generated)
sourcepub fn get_amqp_method_id(&self) -> u16
pub fn get_amqp_method_id(&self) -> u16
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 for UpdateSecret
impl PartialEq 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 Freeze for UpdateSecret
impl RefUnwindSafe for UpdateSecret
impl Send for UpdateSecret
impl Sync for UpdateSecret
impl Unpin for UpdateSecret
impl UnwindSafe for UpdateSecret
Blanket Implementations§
source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)