pub struct FarcasterV2InitRequestBody(pub Map<String, Value>);Expand description
The request body for initiating a Farcaster V2 connection.
JSON schema
{
"title": "FarcasterV2InitRequestBody",
"description": "The request body for initiating a Farcaster V2
connection.",
"type": "object"
}Tuple Fields§
§0: Map<String, Value>Methods from Deref<Target = Map<String, Value>>§
Sourcepub fn get<Q>(&self, key: &Q) -> Option<&Value>
pub fn get<Q>(&self, key: &Q) -> Option<&Value>
Returns a reference to the value corresponding to the key.
The key may be any borrowed form of the map’s key type, but the ordering on the borrowed form must match the ordering on the key type.
Sourcepub fn contains_key<Q>(&self, key: &Q) -> bool
pub fn contains_key<Q>(&self, key: &Q) -> bool
Returns true if the map contains a value for the specified key.
The key may be any borrowed form of the map’s key type, but the ordering on the borrowed form must match the ordering on the key type.
Trait Implementations§
Source§impl Clone for FarcasterV2InitRequestBody
impl Clone for FarcasterV2InitRequestBody
Source§fn clone(&self) -> FarcasterV2InitRequestBody
fn clone(&self) -> FarcasterV2InitRequestBody
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 Debug for FarcasterV2InitRequestBody
impl Debug for FarcasterV2InitRequestBody
Source§impl Deref for FarcasterV2InitRequestBody
impl Deref for FarcasterV2InitRequestBody
Source§impl<'de> Deserialize<'de> for FarcasterV2InitRequestBody
impl<'de> Deserialize<'de> for FarcasterV2InitRequestBody
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<&FarcasterV2InitRequestBody> for FarcasterV2InitRequestBody
impl From<&FarcasterV2InitRequestBody> for FarcasterV2InitRequestBody
Source§fn from(value: &FarcasterV2InitRequestBody) -> Self
fn from(value: &FarcasterV2InitRequestBody) -> Self
Converts to this type from the input type.
Source§impl From<FarcasterV2InitRequestBody> for Map<String, Value>
impl From<FarcasterV2InitRequestBody> for Map<String, Value>
Source§fn from(value: FarcasterV2InitRequestBody) -> Self
fn from(value: FarcasterV2InitRequestBody) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for FarcasterV2InitRequestBody
impl RefUnwindSafe for FarcasterV2InitRequestBody
impl Send for FarcasterV2InitRequestBody
impl Sync for FarcasterV2InitRequestBody
impl Unpin for FarcasterV2InitRequestBody
impl UnsafeUnpin for FarcasterV2InitRequestBody
impl UnwindSafe for FarcasterV2InitRequestBody
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