#[non_exhaustive]pub struct ComputerUseLockHolder {
pub session_label: String,
pub acquired_at: String,
pub last_activity_at: String,
}Expand description
The Computer Use lock’s holder as a computerUseTakeover approval shows it:
never its app, window, target or current action.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.session_label: StringThe holding session’s label.
acquired_at: StringWhen the holder took the lock (RFC 3339).
last_activity_at: StringWhen the holder last acted under the lock (RFC 3339).
Trait Implementations§
Source§impl Clone for ComputerUseLockHolder
impl Clone for ComputerUseLockHolder
Source§impl Debug for ComputerUseLockHolder
impl Debug for ComputerUseLockHolder
Source§impl<'de> Deserialize<'de> for ComputerUseLockHolder
impl<'de> Deserialize<'de> for ComputerUseLockHolder
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 ComputerUseLockHolder
Source§impl PartialEq for ComputerUseLockHolder
impl PartialEq for ComputerUseLockHolder
Source§impl Serialize for ComputerUseLockHolder
impl Serialize for ComputerUseLockHolder
impl StructuralPartialEq for ComputerUseLockHolder
Auto Trait Implementations§
impl Forget for ComputerUseLockHolder
impl Freeze for ComputerUseLockHolder
impl Move for ComputerUseLockHolder
impl RefUnwindSafe for ComputerUseLockHolder
impl Send for ComputerUseLockHolder
impl Sync for ComputerUseLockHolder
impl Unpin for ComputerUseLockHolder
impl UnsafeUnpin for ComputerUseLockHolder
impl UnwindSafe for ComputerUseLockHolder
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