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§fn clone(&self) -> ManagedWorktreeLeaseSnapshot
fn clone(&self) -> ManagedWorktreeLeaseSnapshot
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 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<ManagedWorktreeLeaseSnapshot, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
fn deserialize<D>(
deserializer: D,
) -> Result<ManagedWorktreeLeaseSnapshot, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ManagedWorktreeLeaseSnapshot
Source§impl Serialize for ManagedWorktreeLeaseSnapshot
impl Serialize for ManagedWorktreeLeaseSnapshot
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
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