pub enum FileChangeApprovalDecision {
Accept,
AcceptForSession,
Decline,
Cancel,
}Expand description
Decision for file change approval.
Sent as part of FileChangeApprovalResponse when responding to
a file change approval request from the server.
Variants§
Accept
Allow this specific file change.
AcceptForSession
Allow this and similar future file changes in this session.
Decline
Reject this file change.
Cancel
Cancel the entire turn.
Trait Implementations§
Source§impl Clone for FileChangeApprovalDecision
impl Clone for FileChangeApprovalDecision
Source§fn clone(&self) -> FileChangeApprovalDecision
fn clone(&self) -> FileChangeApprovalDecision
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 FileChangeApprovalDecision
impl Debug for FileChangeApprovalDecision
Source§impl<'de> Deserialize<'de> for FileChangeApprovalDecision
impl<'de> Deserialize<'de> for FileChangeApprovalDecision
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
impl Eq for FileChangeApprovalDecision
impl StructuralPartialEq for FileChangeApprovalDecision
Auto Trait Implementations§
impl Freeze for FileChangeApprovalDecision
impl RefUnwindSafe for FileChangeApprovalDecision
impl Send for FileChangeApprovalDecision
impl Sync for FileChangeApprovalDecision
impl Unpin for FileChangeApprovalDecision
impl UnsafeUnpin for FileChangeApprovalDecision
impl UnwindSafe for FileChangeApprovalDecision
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