pub struct IdentityServiceResponseMessage { /* private fields */ }Expand description
Represents a response message from the Identity Service.
This struct is used to store the details of a response message from the Identity Service. It includes the kind of the response, the delegations, the user’s public key, the authentication method used, and the error message in case of failure.
Implementations§
Source§impl IdentityServiceResponseMessage
impl IdentityServiceResponseMessage
Sourcepub fn kind(&self) -> Result<IdentityServiceResponseKind, String>
pub fn kind(&self) -> Result<IdentityServiceResponseKind, String>
Returns the kind of the Identity Service response.
Trait Implementations§
Source§impl Clone for IdentityServiceResponseMessage
impl Clone for IdentityServiceResponseMessage
Source§fn clone(&self) -> IdentityServiceResponseMessage
fn clone(&self) -> IdentityServiceResponseMessage
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<'de> Deserialize<'de> for IdentityServiceResponseMessage
impl<'de> Deserialize<'de> for IdentityServiceResponseMessage
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for IdentityServiceResponseMessage
impl RefUnwindSafe for IdentityServiceResponseMessage
impl Send for IdentityServiceResponseMessage
impl Sync for IdentityServiceResponseMessage
impl Unpin for IdentityServiceResponseMessage
impl UnwindSafe for IdentityServiceResponseMessage
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