pub struct IntentDeclareParams {
pub intent_id: String,
pub kind: IntentKind,
pub rationale: String,
pub context_uri: Option<String>,
}Fields§
§intent_id: StringUnique intent ID (client-generated)
kind: IntentKindThe declared action
rationale: StringHuman-readable description of why this action is being taken
context_uri: Option<String>Optional: related document context (serialised URI string)
Trait Implementations§
Source§impl Clone for IntentDeclareParams
impl Clone for IntentDeclareParams
Source§fn clone(&self) -> IntentDeclareParams
fn clone(&self) -> IntentDeclareParams
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for IntentDeclareParams
impl Debug for IntentDeclareParams
Source§impl<'de> Deserialize<'de> for IntentDeclareParams
impl<'de> Deserialize<'de> for IntentDeclareParams
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 IntentDeclareParams
impl RefUnwindSafe for IntentDeclareParams
impl Send for IntentDeclareParams
impl Sync for IntentDeclareParams
impl Unpin for IntentDeclareParams
impl UnsafeUnpin for IntentDeclareParams
impl UnwindSafe for IntentDeclareParams
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