pub struct AuthPayload {
pub hrp: Option<String>,
pub extension: Option<Binary>,
pub credential_id: Option<String>,
}Expand description
Payload message used for telling which credential to use or how to modify it
Fields§
§hrp: Option<String>Human readable prefix to use to derive an address
extension: Option<Binary>Other fields reserved for future use
credential_id: Option<String>Which credential to use if multiple are available
Trait Implementations§
Source§impl Clone for AuthPayload
impl Clone for AuthPayload
Source§fn clone(&self) -> AuthPayload
fn clone(&self) -> AuthPayload
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 AuthPayload
impl Debug for AuthPayload
Source§impl<'de> Deserialize<'de> for AuthPayload
impl<'de> Deserialize<'de> for AuthPayload
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<AuthPayload, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<AuthPayload, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl JsonSchema for AuthPayload
impl JsonSchema for AuthPayload
Source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for AuthPayload
impl PartialEq for AuthPayload
Source§impl Serialize for AuthPayload
impl Serialize for AuthPayload
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for AuthPayload
Auto Trait Implementations§
impl Freeze for AuthPayload
impl RefUnwindSafe for AuthPayload
impl Send for AuthPayload
impl Sync for AuthPayload
impl Unpin for AuthPayload
impl UnwindSafe for AuthPayload
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