pub struct CacheDirectory {
pub directories: Vec<CacheDirectoryNode>,
pub files: Vec<CacheFileNode>,
pub symlinks: Vec<CacheSymlinkNode>,
pub version: u8,
}Expand description
A canonical directory object stored in the CAS.
Fields§
§directories: Vec<CacheDirectoryNode>§files: Vec<CacheFileNode>§symlinks: Vec<CacheSymlinkNode>§version: u8Trait Implementations§
Source§impl Clone for CacheDirectory
impl Clone for CacheDirectory
Source§fn clone(&self) -> CacheDirectory
fn clone(&self) -> CacheDirectory
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 CacheDirectory
impl Debug for CacheDirectory
Source§impl<'de> Deserialize<'de> for CacheDirectory
impl<'de> Deserialize<'de> for CacheDirectory
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 CacheDirectory
Source§impl PartialEq for CacheDirectory
impl PartialEq for CacheDirectory
Source§impl Serialize for CacheDirectory
impl Serialize for CacheDirectory
impl StructuralPartialEq for CacheDirectory
Auto Trait Implementations§
impl Freeze for CacheDirectory
impl RefUnwindSafe for CacheDirectory
impl Send for CacheDirectory
impl Sync for CacheDirectory
impl Unpin for CacheDirectory
impl UnsafeUnpin for CacheDirectory
impl UnwindSafe for CacheDirectory
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