pub struct Call {
pub realm: [u8; 32],
pub procedure: String,
pub provider: [u8; 32],
pub payload: Value,
pub timeout: Duration,
pub token: Option<Vec<u8>>,
pub proofs: Vec<Vec<u8>>,
}Expand description
A call to a procedure: its realm and name, the provider to call (any
trusted one when zero), the payload, how long to wait
(DEFAULT_CALL_TIMEOUT when zero), and a UCAN and its proofs for a
gated procedure.
Fields§
§realm: [u8; 32]§procedure: String§provider: [u8; 32]§payload: Value§timeout: Duration§token: Option<Vec<u8>>§proofs: Vec<Vec<u8>>Trait Implementations§
impl StructuralPartialEq for Call
Auto Trait Implementations§
impl Freeze for Call
impl RefUnwindSafe for Call
impl Send for Call
impl Sync for Call
impl Unpin for Call
impl UnsafeUnpin for Call
impl UnwindSafe for Call
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