pub struct AdminCommand<'a> {
pub master_challenge: u32,
pub hash: Hide<&'a [u8]>,
pub command: &'a str,
}Expand description
Admin command.
Fields§
§master_challenge: u32A number received in admin challenge response.
hash: Hide<&'a [u8]>A password hash mixed with a challenge number received in admin challenge response.
command: &'a strA command to execute on a master server.
Implementations§
Trait Implementations§
Source§impl<'a> Clone for AdminCommand<'a>
impl<'a> Clone for AdminCommand<'a>
Source§fn clone(&self) -> AdminCommand<'a>
fn clone(&self) -> AdminCommand<'a>
Returns a duplicate 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 AdminCommand<'a>
impl<'a> Debug for AdminCommand<'a>
Source§impl<'a> PartialEq for AdminCommand<'a>
impl<'a> PartialEq for AdminCommand<'a>
impl<'a> StructuralPartialEq for AdminCommand<'a>
Auto Trait Implementations§
impl<'a> Freeze for AdminCommand<'a>
impl<'a> RefUnwindSafe for AdminCommand<'a>
impl<'a> Send for AdminCommand<'a>
impl<'a> Sync for AdminCommand<'a>
impl<'a> Unpin for AdminCommand<'a>
impl<'a> UnwindSafe for AdminCommand<'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