pub struct SignRequest {
pub payload: Value,
pub agent_id: String,
pub action: Option<String>,
pub context: Option<HashMap<String, Value>>,
}Expand description
Request to sign a payload.
Fields§
§payload: Value§agent_id: String§action: Option<String>§context: Option<HashMap<String, Value>>Trait Implementations§
Source§impl Clone for SignRequest
impl Clone for SignRequest
Source§fn clone(&self) -> SignRequest
fn clone(&self) -> SignRequest
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 moreAuto Trait Implementations§
impl Freeze for SignRequest
impl RefUnwindSafe for SignRequest
impl Send for SignRequest
impl Sync for SignRequest
impl Unpin for SignRequest
impl UnsafeUnpin for SignRequest
impl UnwindSafe for SignRequest
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