pub struct CapturedProjectBinding {
pub project_instance_id: ProjectInstanceId,
pub project_root: Option<String>,
pub project_root_identity: CanonicalProjectRoot,
}Expand description
Root and project identity captured when one store binding was validated.
Fields§
§project_instance_id: ProjectInstanceIdStable project identity captured at open or explicit root transition.
project_root: Option<String>Lossless UTF-8 display of the local source root, when one exists.
None is the typed unavailable state for native roots that cannot be
represented as UTF-8. Identity-critical callers must use the native
AtlasStore::project_root_identity value instead.
project_root_identity: CanonicalProjectRootLossless native root identity captured with the project identity.
Trait Implementations§
Source§impl Clone for CapturedProjectBinding
impl Clone for CapturedProjectBinding
Source§fn clone(&self) -> CapturedProjectBinding
fn clone(&self) -> CapturedProjectBinding
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 CapturedProjectBinding
impl Debug for CapturedProjectBinding
impl Eq for CapturedProjectBinding
Source§impl PartialEq for CapturedProjectBinding
impl PartialEq for CapturedProjectBinding
Source§fn eq(&self, other: &CapturedProjectBinding) -> bool
fn eq(&self, other: &CapturedProjectBinding) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for CapturedProjectBinding
impl Serialize for CapturedProjectBinding
impl StructuralPartialEq for CapturedProjectBinding
Auto Trait Implementations§
impl Freeze for CapturedProjectBinding
impl RefUnwindSafe for CapturedProjectBinding
impl Send for CapturedProjectBinding
impl Sync for CapturedProjectBinding
impl Unpin for CapturedProjectBinding
impl UnsafeUnpin for CapturedProjectBinding
impl UnwindSafe for CapturedProjectBinding
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.