pub enum FarcasterSignerInitResponseBody {
PendingApproval {
public_key: String,
signer_approval_url: String,
},
Approved {
public_key: String,
},
Revoked {
public_key: String,
},
}Expand description
The response body from initiating a Farcaster signer connection.
JSON schema
{
"title": "FarcasterSignerInitResponseBody",
"description": "The response body from initiating a Farcaster signer
connection.",
"oneOf": [
{
"type": "object",
"required": [
"public_key",
"signer_approval_url",
"status"
],
"properties": {
"public_key": {
"type": "string"
},
"signer_approval_url": {
"type": "string"
},
"status": {
"type": "string",
"enum": [
"pending_approval"
]
}
}
},
{
"type": "object",
"required": [
"public_key",
"status"
],
"properties": {
"public_key": {
"type": "string"
},
"status": {
"type": "string",
"enum": [
"approved"
]
}
}
},
{
"type": "object",
"required": [
"public_key",
"status"
],
"properties": {
"public_key": {
"type": "string"
},
"status": {
"type": "string",
"enum": [
"revoked"
]
}
}
}
]
}Variants§
Trait Implementations§
Source§impl Clone for FarcasterSignerInitResponseBody
impl Clone for FarcasterSignerInitResponseBody
Source§fn clone(&self) -> FarcasterSignerInitResponseBody
fn clone(&self) -> FarcasterSignerInitResponseBody
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 FarcasterSignerInitResponseBody
impl<'de> Deserialize<'de> for FarcasterSignerInitResponseBody
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 From<&FarcasterSignerInitResponseBody> for FarcasterSignerInitResponseBody
impl From<&FarcasterSignerInitResponseBody> for FarcasterSignerInitResponseBody
Source§fn from(value: &FarcasterSignerInitResponseBody) -> Self
fn from(value: &FarcasterSignerInitResponseBody) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for FarcasterSignerInitResponseBody
impl RefUnwindSafe for FarcasterSignerInitResponseBody
impl Send for FarcasterSignerInitResponseBody
impl Sync for FarcasterSignerInitResponseBody
impl Unpin for FarcasterSignerInitResponseBody
impl UnsafeUnpin for FarcasterSignerInitResponseBody
impl UnwindSafe for FarcasterSignerInitResponseBody
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