Struct noosphere_cli::content::ContentChanges
source · pub struct ContentChanges {
pub new: BTreeMap<String, Option<ContentType>>,
pub updated: BTreeMap<String, Option<ContentType>>,
pub removed: BTreeMap<String, Option<ContentType>>,
pub unchanged: BTreeSet<String>,
}Expand description
A delta manifest of changes to the local content space
Fields§
§new: BTreeMap<String, Option<ContentType>>Newly added files
updated: BTreeMap<String, Option<ContentType>>Updated files
removed: BTreeMap<String, Option<ContentType>>Removed files
unchanged: BTreeSet<String>Unchanged files
Implementations§
Trait Implementations§
source§impl Default for ContentChanges
impl Default for ContentChanges
source§fn default() -> ContentChanges
fn default() -> ContentChanges
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for ContentChanges
impl Send for ContentChanges
impl Sync for ContentChanges
impl Unpin for ContentChanges
impl UnwindSafe for ContentChanges
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