pub struct SetPriorityResponseRef<'a>(/* private fields */);
Expand description
Reference to a deserialized SetPriorityResponse.
Implementations§
Source§impl<'a> SetPriorityResponseRef<'a>
impl<'a> SetPriorityResponseRef<'a>
Sourcepub fn priority(&self) -> Result<u8>
pub fn priority(&self) -> Result<u8>
Getter for the priority
field.
Trait Implementations§
Source§impl<'a> Clone for SetPriorityResponseRef<'a>
impl<'a> Clone for SetPriorityResponseRef<'a>
Source§fn clone(&self) -> SetPriorityResponseRef<'a>
fn clone(&self) -> SetPriorityResponseRef<'a>
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<'a> Debug for SetPriorityResponseRef<'a>
impl<'a> Debug for SetPriorityResponseRef<'a>
Source§impl<'a> ReadAsRoot<'a> for SetPriorityResponseRef<'a>
impl<'a> ReadAsRoot<'a> for SetPriorityResponseRef<'a>
Source§impl<'a> TryFrom<SetPriorityResponseRef<'a>> for SetPriorityResponse
impl<'a> TryFrom<SetPriorityResponseRef<'a>> for SetPriorityResponse
impl<'a> Copy for SetPriorityResponseRef<'a>
Auto Trait Implementations§
impl<'a> Freeze for SetPriorityResponseRef<'a>
impl<'a> RefUnwindSafe for SetPriorityResponseRef<'a>
impl<'a> Send for SetPriorityResponseRef<'a>
impl<'a> Sync for SetPriorityResponseRef<'a>
impl<'a> Unpin for SetPriorityResponseRef<'a>
impl<'a> UnwindSafe for SetPriorityResponseRef<'a>
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