pub struct ProjectRootTransitionResult {
pub transition: ProjectRootTransition,
pub previous_root: Option<String>,
pub project_root: Option<String>,
pub project_instance_id: ProjectInstanceId,
pub identity_changed: bool,
pub publication_invalidated: bool,
}Expand description
Result of one completed root transition.
Fields§
§transition: ProjectRootTransitionTransition selected by the caller.
previous_root: Option<String>Lossless UTF-8 display of the native root stored before the transition, when one existed and had a display projection.
project_root: Option<String>Lossless UTF-8 display of the canonical root stored after the transition, when one exists.
None is the typed unavailable state for a native non-UTF-8 root.
project_instance_id: ProjectInstanceIdDurable identity owned by the destination after the transition.
identity_changed: boolWhether this operation created or replaced the project identity.
publication_invalidated: boolWhether derived publication trust was invalidated.
Trait Implementations§
Source§impl Clone for ProjectRootTransitionResult
impl Clone for ProjectRootTransitionResult
Source§fn clone(&self) -> ProjectRootTransitionResult
fn clone(&self) -> ProjectRootTransitionResult
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 ProjectRootTransitionResult
impl Debug for ProjectRootTransitionResult
impl Eq for ProjectRootTransitionResult
Source§impl PartialEq for ProjectRootTransitionResult
impl PartialEq for ProjectRootTransitionResult
Source§fn eq(&self, other: &ProjectRootTransitionResult) -> bool
fn eq(&self, other: &ProjectRootTransitionResult) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ProjectRootTransitionResult
Auto Trait Implementations§
impl Freeze for ProjectRootTransitionResult
impl RefUnwindSafe for ProjectRootTransitionResult
impl Send for ProjectRootTransitionResult
impl Sync for ProjectRootTransitionResult
impl Unpin for ProjectRootTransitionResult
impl UnsafeUnpin for ProjectRootTransitionResult
impl UnwindSafe for ProjectRootTransitionResult
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.