pub struct Request {
pub caller: [u8; 32],
pub realm: [u8; 32],
pub procedure: String,
pub payload: Value,
pub token: Option<Vec<u8>>,
pub proofs: Option<Vec<Vec<u8>>>,
pub deadline_ms: u64,
}Expand description
A CALL a served procedure answers: the caller (the key id its signature verified under), what it asked for, and its deadline in unix milliseconds.
Fields§
§caller: [u8; 32]§realm: [u8; 32]§procedure: String§payload: Value§token: Option<Vec<u8>>§proofs: Option<Vec<Vec<u8>>>§deadline_ms: u64Trait Implementations§
impl StructuralPartialEq for Request
Auto Trait Implementations§
impl Freeze for Request
impl RefUnwindSafe for Request
impl Send for Request
impl Sync for Request
impl Unpin for Request
impl UnsafeUnpin for Request
impl UnwindSafe for Request
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