pub struct SearchBody {
pub agent_wallet: WalletAddress,
pub limit: Option<i64>,
pub query: String,
}Expand description
SearchBody
JSON schema
{
"type": "object",
"required": [
"agentWallet",
"query"
],
"properties": {
"agentWallet": {
"$ref": "#/components/schemas/WalletAddress"
},
"limit": {
"type": "integer"
},
"query": {
"type": "string"
}
}
}Fields§
§agent_wallet: WalletAddress§limit: Option<i64>§query: StringImplementations§
Source§impl SearchBody
impl SearchBody
pub fn builder() -> SearchBody
Trait Implementations§
Source§impl Clone for SearchBody
impl Clone for SearchBody
Source§fn clone(&self) -> SearchBody
fn clone(&self) -> SearchBody
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SearchBody
impl Debug for SearchBody
Source§impl<'de> Deserialize<'de> for SearchBody
impl<'de> Deserialize<'de> for SearchBody
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<SearchBody> for SearchBody
impl From<SearchBody> for SearchBody
Source§fn from(value: SearchBody) -> Self
fn from(value: SearchBody) -> Self
Converts to this type from the input type.
Source§impl Serialize for SearchBody
impl Serialize for SearchBody
Source§impl TryFrom<SearchBody> for SearchBody
impl TryFrom<SearchBody> for SearchBody
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: SearchBody) -> Result<Self, ConversionError>
fn try_from(value: SearchBody) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for SearchBody
impl RefUnwindSafe for SearchBody
impl Send for SearchBody
impl Sync for SearchBody
impl Unpin for SearchBody
impl UnsafeUnpin for SearchBody
impl UnwindSafe for SearchBody
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