#[non_exhaustive]pub struct ValidatedReplacementSessionView { /* private fields */ }Implementations§
Source§impl ValidatedReplacementSessionView
impl ValidatedReplacementSessionView
pub fn predecessor_session_id(&self) -> &str
pub fn replacement_session_id(&self) -> &str
pub fn predecessor_state(&self) -> &str
pub fn candidate_sha256(&self) -> &str
pub fn workspace_state(&self) -> &str
pub const fn source_git_state_sequence(&self) -> u64
Source§impl ValidatedReplacementSessionView
impl ValidatedReplacementSessionView
Construct trusted replacement authority only from both complete, session-bound histories. The predecessor-only path is intentionally private so a forged successor ID cannot mint a trusted view.
Trait Implementations§
Source§impl Clone for ValidatedReplacementSessionView
impl Clone for ValidatedReplacementSessionView
Source§fn clone(&self) -> ValidatedReplacementSessionView
fn clone(&self) -> ValidatedReplacementSessionView
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 Eq for ValidatedReplacementSessionView
impl StructuralPartialEq for ValidatedReplacementSessionView
Auto Trait Implementations§
impl Freeze for ValidatedReplacementSessionView
impl RefUnwindSafe for ValidatedReplacementSessionView
impl Send for ValidatedReplacementSessionView
impl Sync for ValidatedReplacementSessionView
impl Unpin for ValidatedReplacementSessionView
impl UnsafeUnpin for ValidatedReplacementSessionView
impl UnwindSafe for ValidatedReplacementSessionView
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.