pub struct AuthorizedAction {
pub intent_id: String,
pub action: SuggestedAction,
pub authorized_at_ms: i64,
}Expand description
已经由 PolicyEngine 审查通过、允许交给 executor 的动作。
Fields§
§intent_id: String§action: SuggestedActionTrait Implementations§
Source§impl Clone for AuthorizedAction
impl Clone for AuthorizedAction
Source§fn clone(&self) -> AuthorizedAction
fn clone(&self) -> AuthorizedAction
Returns a duplicate of the value. Read more
1.0.0 · 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 AuthorizedAction
impl Debug for AuthorizedAction
Source§impl<'de> Deserialize<'de> for AuthorizedAction
impl<'de> Deserialize<'de> for AuthorizedAction
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 AuthorizedAction
impl RefUnwindSafe for AuthorizedAction
impl Send for AuthorizedAction
impl Sync for AuthorizedAction
impl Unpin for AuthorizedAction
impl UnsafeUnpin for AuthorizedAction
impl UnwindSafe for AuthorizedAction
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