pub struct DraftRequest {
pub operation: String,
pub grant: String,
pub target: Target,
pub request_digest: String,
pub words: String,
}Expand description
A held act, whose words are immutable bytes rather than reserialized JSON.
Fields§
§operation: StringThe caller’s stable operation id, reused for retries of the same prepared act.
grant: StringThe held-mode granting receipt.
target: TargetThe requested resource and action.
request_digest: StringSHA-256 of the exact UTF-8 words, in lowercase hex.
words: StringThe prepared act’s exact words.
Trait Implementations§
Source§impl Clone for DraftRequest
impl Clone for DraftRequest
Source§impl Debug for DraftRequest
impl Debug for DraftRequest
Source§impl<'de> Deserialize<'de> for DraftRequest
impl<'de> Deserialize<'de> for DraftRequest
Source§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
Auto Trait Implementations§
impl Freeze for DraftRequest
impl RefUnwindSafe for DraftRequest
impl Send for DraftRequest
impl Sync for DraftRequest
impl Unpin for DraftRequest
impl UnsafeUnpin for DraftRequest
impl UnwindSafe for DraftRequest
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