pub struct SafeHouseCheckpoint {
pub remote: String,
pub branch: String,
pub commit: String,
pub base: Option<String>,
}Expand description
Work in progress saved where another Station can fetch it: a commit pushed to a branch.
Fields§
§remote: StringThe Git remote, by name or URL, the commit was pushed to.
branch: StringThe branch on the remote that holds the commit.
commit: StringThe commit: the safe house’s history plus its uncommitted changes.
base: Option<String>The revision the work started from, when the provider has revisions.
Trait Implementations§
Source§impl Clone for SafeHouseCheckpoint
impl Clone for SafeHouseCheckpoint
Source§impl Debug for SafeHouseCheckpoint
impl Debug for SafeHouseCheckpoint
Source§impl<'de> Deserialize<'de> for SafeHouseCheckpoint
impl<'de> Deserialize<'de> for SafeHouseCheckpoint
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 SafeHouseCheckpoint
Source§impl FromValue for SafeHouseCheckpoint
impl FromValue for SafeHouseCheckpoint
Source§const KINDS: Kinds = ::guatiao::Kinds::MAP
const KINDS: Kinds = ::guatiao::Kinds::MAP
The kinds
from_value may accept; any
other is refused. Every impl in this crate and every derived one
says; the default, [Kinds::ANY], claims every kind, which keeps
a type that does not say out of an enum told apart by kind.Source§fn from_value(__value: &Value) -> Result<Self, MapError>
fn from_value(__value: &Value) -> Result<Self, MapError>
Performs the conversion. Read more
Source§impl FromWalk for SafeHouseCheckpoint
impl FromWalk for SafeHouseCheckpoint
Source§impl MapRead for SafeHouseCheckpoint
impl MapRead for SafeHouseCheckpoint
Source§impl PartialEq for SafeHouseCheckpoint
impl PartialEq for SafeHouseCheckpoint
Source§impl Schema for SafeHouseCheckpoint
impl Schema for SafeHouseCheckpoint
Source§impl Serialize for SafeHouseCheckpoint
impl Serialize for SafeHouseCheckpoint
impl StructuralPartialEq for SafeHouseCheckpoint
Source§impl ToValue for SafeHouseCheckpoint
impl ToValue for SafeHouseCheckpoint
Auto Trait Implementations§
impl Freeze for SafeHouseCheckpoint
impl RefUnwindSafe for SafeHouseCheckpoint
impl Send for SafeHouseCheckpoint
impl Sync for SafeHouseCheckpoint
impl Unpin for SafeHouseCheckpoint
impl UnsafeUnpin for SafeHouseCheckpoint
impl UnwindSafe for SafeHouseCheckpoint
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