pub struct IndexBody {
pub agent_wallet: WalletAddress,
pub documents: Vec<Map<String, Value>>,
}Expand description
IndexBody
JSON schema
{
"type": "object",
"required": [
"agentWallet",
"documents"
],
"properties": {
"agentWallet": {
"$ref": "#/components/schemas/WalletAddress"
},
"documents": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": true
},
"minItems": 1
}
}
}Fields§
§agent_wallet: WalletAddress§documents: Vec<Map<String, Value>>Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for IndexBody
impl<'de> Deserialize<'de> for IndexBody
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
Auto Trait Implementations§
impl Freeze for IndexBody
impl RefUnwindSafe for IndexBody
impl Send for IndexBody
impl Sync for IndexBody
impl Unpin for IndexBody
impl UnsafeUnpin for IndexBody
impl UnwindSafe for IndexBody
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