Struct Request
pub struct Request {
pub version: u32,
pub invocation: String,
pub shards: Vec<u32>,
pub budget_ms: u64,
pub reasons: Vec<String>,
}Expand description
The body of an invocation request.
Fields§
§version: u32§invocation: StringThe ID to connect with (format_id).
shards: Vec<u32>The shards the invocation is for.
budget_ms: u64How long the invocation may take, from when the server sent it.
reasons: Vec<String>Why the shards are due: call, message, timer, recovery,
handback or code.
Trait Implementations§
§impl<'de> Deserialize<'de> for Request
impl<'de> Deserialize<'de> for Request
§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for Request
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