pub struct ManagedWorktreeLeaseSnapshot {
pub lease_id: ManagedWorktreeLeaseId,
pub source_workspace_id: WorkspaceId,
pub workspace_id: WorkspaceId,
pub profile_id: WorktreeProfileId,
pub profile_revision: WorktreeProfileRevision,
pub retention: ManagedWorktreeRetention,
pub state: ManagedWorktreeLeaseState,
pub active_session_count: u16,
pub managed_record_count: u16,
pub cleanup_failure: Option<ManagedWorktreeCleanupFailure>,
pub created_at_unix_ms: u64,
pub updated_at_unix_ms: u64,
}Fields§
§lease_id: ManagedWorktreeLeaseId§source_workspace_id: WorkspaceId§workspace_id: WorkspaceId§profile_id: WorktreeProfileId§profile_revision: WorktreeProfileRevision§retention: ManagedWorktreeRetention§state: ManagedWorktreeLeaseState§active_session_count: u16§managed_record_count: u16§cleanup_failure: Option<ManagedWorktreeCleanupFailure>§created_at_unix_ms: u64§updated_at_unix_ms: u64Trait Implementations§
Source§impl Clone for ManagedWorktreeLeaseSnapshot
impl Clone for ManagedWorktreeLeaseSnapshot
Source§impl Debug for ManagedWorktreeLeaseSnapshot
impl Debug for ManagedWorktreeLeaseSnapshot
Source§impl<'de> Deserialize<'de> for ManagedWorktreeLeaseSnapshot
impl<'de> Deserialize<'de> for ManagedWorktreeLeaseSnapshot
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 ManagedWorktreeLeaseSnapshot
impl StructuralPartialEq for ManagedWorktreeLeaseSnapshot
Auto Trait Implementations§
impl Freeze for ManagedWorktreeLeaseSnapshot
impl RefUnwindSafe for ManagedWorktreeLeaseSnapshot
impl Send for ManagedWorktreeLeaseSnapshot
impl Sync for ManagedWorktreeLeaseSnapshot
impl Unpin for ManagedWorktreeLeaseSnapshot
impl UnsafeUnpin for ManagedWorktreeLeaseSnapshot
impl UnwindSafe for ManagedWorktreeLeaseSnapshot
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