pub struct ClientAuthentication<'a> {
pub identity_public_key: &'a str,
pub signature: &'a [u8],
}Expand description
Serves as the client’s response to the server’s challenge.
Fields§
§identity_public_key: &'a str§signature: &'a [u8]Trait Implementations§
Source§impl<'__de, 'a, __Context> BorrowDecode<'__de, __Context> for ClientAuthentication<'a>where
'__de: 'a,
impl<'__de, 'a, __Context> BorrowDecode<'__de, __Context> for ClientAuthentication<'a>where
'__de: 'a,
Source§fn borrow_decode<__D: BorrowDecoder<'__de, Context = __Context>>(
decoder: &mut __D,
) -> Result<Self, DecodeError>
fn borrow_decode<__D: BorrowDecoder<'__de, Context = __Context>>( decoder: &mut __D, ) -> Result<Self, DecodeError>
Attempt to decode this type with the given BorrowDecode.
Source§impl<'a> Clone for ClientAuthentication<'a>
impl<'a> Clone for ClientAuthentication<'a>
Source§fn clone(&self) -> ClientAuthentication<'a>
fn clone(&self) -> ClientAuthentication<'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 ClientAuthentication<'a>
impl<'a> Debug for ClientAuthentication<'a>
Source§impl<'a> Encode for ClientAuthentication<'a>
impl<'a> Encode for ClientAuthentication<'a>
Source§impl<'a> PartialEq for ClientAuthentication<'a>
impl<'a> PartialEq for ClientAuthentication<'a>
impl<'a> Eq for ClientAuthentication<'a>
impl<'a> StructuralPartialEq for ClientAuthentication<'a>
Auto Trait Implementations§
impl<'a> Freeze for ClientAuthentication<'a>
impl<'a> RefUnwindSafe for ClientAuthentication<'a>
impl<'a> Send for ClientAuthentication<'a>
impl<'a> Sync for ClientAuthentication<'a>
impl<'a> Unpin for ClientAuthentication<'a>
impl<'a> UnwindSafe for ClientAuthentication<'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