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>>,
pub seal: Option<Seal>,
}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), a UCAN token and its
delegation chain’s proofs for a gated procedure, and how it is kept. A
call to a provider must state seal: sealed to the key its verified
advertisement names, or clear by the application’s decision; one that
states neither is refused no_signed_state before anything is sent. A call
to the station is always clear.
Fields§
§realm: [u8; 32]§procedure: String§target: [u8; 32]§payload: Value§timeout: Duration§token: Option<Vec<u8>>§proofs: Vec<Vec<u8>>§seal: Option<Seal>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