pub struct UserToolSessionApprovalFactory {
pub approval_key: Option<String>,
pub kind: UserToolSessionApprovalFactoryKind,
}Expand description
Session-scoped factory approval, optionally narrowed by approval key.
Fields§
§approval_key: Option<String>Optional factory operation name or canonical approval key
kind: UserToolSessionApprovalFactoryKindFactory approval kind
Trait Implementations§
Source§impl Clone for UserToolSessionApprovalFactory
impl Clone for UserToolSessionApprovalFactory
Source§fn clone(&self) -> UserToolSessionApprovalFactory
fn clone(&self) -> UserToolSessionApprovalFactory
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 Default for UserToolSessionApprovalFactory
impl Default for UserToolSessionApprovalFactory
Source§fn default() -> UserToolSessionApprovalFactory
fn default() -> UserToolSessionApprovalFactory
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UserToolSessionApprovalFactory
impl<'de> Deserialize<'de> for UserToolSessionApprovalFactory
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 UserToolSessionApprovalFactory
impl RefUnwindSafe for UserToolSessionApprovalFactory
impl Send for UserToolSessionApprovalFactory
impl Sync for UserToolSessionApprovalFactory
impl Unpin for UserToolSessionApprovalFactory
impl UnsafeUnpin for UserToolSessionApprovalFactory
impl UnwindSafe for UserToolSessionApprovalFactory
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