pub struct SourceHistoryLaws { /* private fields */ }Expand description
Proof that a root is Source History and may be checked out, landed, or visited by Git Projection.
The only way to obtain this token is FacetKind::source_history_laws.
Implementations§
Source§impl SourceHistoryLaws
impl SourceHistoryLaws
pub const fn may_checkout(self) -> bool
pub const fn may_land(self) -> bool
pub const fn git_projection_visits(self) -> bool
Trait Implementations§
Source§impl Clone for SourceHistoryLaws
impl Clone for SourceHistoryLaws
Source§fn clone(&self) -> SourceHistoryLaws
fn clone(&self) -> SourceHistoryLaws
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 moreimpl Copy for SourceHistoryLaws
Source§impl Debug for SourceHistoryLaws
impl Debug for SourceHistoryLaws
impl Eq for SourceHistoryLaws
Source§impl PartialEq for SourceHistoryLaws
impl PartialEq for SourceHistoryLaws
impl StructuralPartialEq for SourceHistoryLaws
Auto Trait Implementations§
impl Freeze for SourceHistoryLaws
impl RefUnwindSafe for SourceHistoryLaws
impl Send for SourceHistoryLaws
impl Sync for SourceHistoryLaws
impl Unpin for SourceHistoryLaws
impl UnsafeUnpin for SourceHistoryLaws
impl UnwindSafe for SourceHistoryLaws
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