pub struct AuthorizationRequired {
pub url: String,
pub metadata: HashMap<String, Value>,
}Expand description
Authorization Required message body.
Fields§
§url: StringAuthorization URL.
metadata: HashMap<String, Value>Additional metadata.
Implementations§
Trait Implementations§
Source§impl Clone for AuthorizationRequired
impl Clone for AuthorizationRequired
Source§fn clone(&self) -> AuthorizationRequired
fn clone(&self) -> AuthorizationRequired
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 AuthorizationRequired
impl Debug for AuthorizationRequired
Source§impl<'de> Deserialize<'de> for AuthorizationRequired
impl<'de> Deserialize<'de> for AuthorizationRequired
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
Source§impl Serialize for AuthorizationRequired
impl Serialize for AuthorizationRequired
Source§impl TapMessageBody for AuthorizationRequired
impl TapMessageBody for AuthorizationRequired
Source§fn message_type() -> &'static str
fn message_type() -> &'static str
Get the message type string for this body type.
Source§fn to_didcomm(&self, from: &str) -> Result<PlainMessage>
fn to_didcomm(&self, from: &str) -> Result<PlainMessage>
Convert this body to a DIDComm message.
Source§fn from_didcomm(message: &PlainMessage) -> Result<Self>
fn from_didcomm(message: &PlainMessage) -> Result<Self>
Extract this body type from a DIDComm message.
Source§fn to_didcomm_with_route<'a, I>(
&self,
from: &str,
to: I,
) -> Result<PlainMessage>where
I: IntoIterator<Item = &'a str>,
fn to_didcomm_with_route<'a, I>(
&self,
from: &str,
to: I,
) -> Result<PlainMessage>where
I: IntoIterator<Item = &'a str>,
Convert this body to a DIDComm message with a custom routing path. Read more
Auto Trait Implementations§
impl Freeze for AuthorizationRequired
impl RefUnwindSafe for AuthorizationRequired
impl Send for AuthorizationRequired
impl Sync for AuthorizationRequired
impl Unpin for AuthorizationRequired
impl UnwindSafe for AuthorizationRequired
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