pub struct ReleaseContext {
pub plan: ReleasePlanContext,
pub repository: Option<RepositoryContext>,
pub ci: Option<CiContext>,
}Expand description
Immutable, serializable facts shared by one workspace release.
Fields§
§plan: ReleasePlanContext§repository: Option<RepositoryContext>§ci: Option<CiContext>Implementations§
Source§impl ReleaseContext
impl ReleaseContext
pub fn from_plan(plan: &ReleasePlan) -> Self
pub fn with_repository(self, repository: RepositoryContext) -> Self
pub fn with_ci(self, ci: CiContext) -> Self
Trait Implementations§
Source§impl Clone for ReleaseContext
impl Clone for ReleaseContext
Source§fn clone(&self) -> ReleaseContext
fn clone(&self) -> ReleaseContext
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 ReleaseContext
impl Debug for ReleaseContext
impl Eq for ReleaseContext
Source§impl PartialEq for ReleaseContext
impl PartialEq for ReleaseContext
Source§impl Serialize for ReleaseContext
impl Serialize for ReleaseContext
impl StructuralPartialEq for ReleaseContext
Auto Trait Implementations§
impl Freeze for ReleaseContext
impl RefUnwindSafe for ReleaseContext
impl Send for ReleaseContext
impl Sync for ReleaseContext
impl Unpin for ReleaseContext
impl UnsafeUnpin for ReleaseContext
impl UnwindSafe for ReleaseContext
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