pub struct SourceState {
pub id: String,
pub path: Utf8PathBuf,
pub status: Status,
pub group: Option<String>,
pub changed: bool,
}Expand description
What sdd migrate status reports for one source.
Fields§
§id: StringThe source id.
path: Utf8PathBufWhere it sat at the base commit.
status: StatusWhere it stands.
group: Option<String>The group it is filed in.
changed: boolWhether its bytes differ from the registry’s checksum: the archived copy for an archived source, the file in place for root metadata.
Trait Implementations§
Source§impl Debug for SourceState
impl Debug for SourceState
Auto Trait Implementations§
impl Forget for SourceState
impl Freeze for SourceState
impl RefUnwindSafe for SourceState
impl Send for SourceState
impl Sync for SourceState
impl Unpin for SourceState
impl UnsafeUnpin for SourceState
impl UnwindSafe for SourceState
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