pub struct BranchInstance {
pub id: String,
pub name: String,
pub slug: String,
pub source_ref: String,
pub source_rev: String,
pub workspace_path: Utf8PathBuf,
pub status: InstanceStatus,
pub trackers: BTreeMap<String, TrackerBinding>,
pub resources: BTreeMap<String, ResourceBinding>,
pub created_at: DateTime<Utc>,
pub updated_at: DateTime<Utc>,
}Expand description
The binding record. The workspace directory is disposable; this is not.
Fields§
§id: String§name: String§slug: String§source_ref: StringGit branch in the store repo (also the branch checked out in the clone).
source_rev: StringRevision the workspace was materialized at.
workspace_path: Utf8PathBuf§status: InstanceStatus§trackers: BTreeMap<String, TrackerBinding>§resources: BTreeMap<String, ResourceBinding>§created_at: DateTime<Utc>§updated_at: DateTime<Utc>Implementations§
Trait Implementations§
Source§impl Clone for BranchInstance
impl Clone for BranchInstance
Source§fn clone(&self) -> BranchInstance
fn clone(&self) -> BranchInstance
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 BranchInstance
impl Debug for BranchInstance
Source§impl<'de> Deserialize<'de> for BranchInstance
impl<'de> Deserialize<'de> for BranchInstance
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 BranchInstance
Source§impl PartialEq for BranchInstance
impl PartialEq for BranchInstance
Source§impl Serialize for BranchInstance
impl Serialize for BranchInstance
impl StructuralPartialEq for BranchInstance
Auto Trait Implementations§
impl Freeze for BranchInstance
impl RefUnwindSafe for BranchInstance
impl Send for BranchInstance
impl Sync for BranchInstance
impl Unpin for BranchInstance
impl UnsafeUnpin for BranchInstance
impl UnwindSafe for BranchInstance
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