pub struct FileLifetime {
pub id: String,
pub paths: Vec<String>,
pub birth_commit: String,
pub birth_ms: i64,
pub death_commit: Option<String>,
pub death_ms: Option<i64>,
pub current_path: Option<String>,
pub current_bytes: Option<u64>,
pub survives_to_head: bool,
}Fields§
§id: String§paths: Vec<String>§birth_commit: String§birth_ms: i64§death_commit: Option<String>§death_ms: Option<i64>§current_path: Option<String>§current_bytes: Option<u64>§survives_to_head: boolTrait Implementations§
Source§impl Clone for FileLifetime
impl Clone for FileLifetime
Source§fn clone(&self) -> FileLifetime
fn clone(&self) -> FileLifetime
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 FileLifetime
impl Debug for FileLifetime
Source§impl<'de> Deserialize<'de> for FileLifetime
impl<'de> Deserialize<'de> for FileLifetime
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 FileLifetime
impl RefUnwindSafe for FileLifetime
impl Send for FileLifetime
impl Sync for FileLifetime
impl Unpin for FileLifetime
impl UnsafeUnpin for FileLifetime
impl UnwindSafe for FileLifetime
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