pub struct Call {
pub realm: [u8; 32],
pub procedure: String,
pub target: [u8; 32],
pub payload: Value,
pub timeout: Duration,
pub token: Option<Vec<u8>>,
pub proofs: Vec<Vec<u8>>,
}Expand description
One request: the realm and procedure, the node it targets (the station
itself when zero, as for _dht.*; the provider’s node_id otherwise), its
payload, how long to wait (the default when zero), and a UCAN token and
its delegation chain’s proofs for a gated procedure.
Fields§
§realm: [u8; 32]§procedure: String§target: [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