pub struct MigratedBinding {
pub id: String,
pub mem: String,
pub name: String,
pub ingest_name: String,
pub consumed_facets: Vec<String>,
pub binding: Binding,
pub notes: Vec<String>,
}Expand description
A single migrated binding paired with the identity and provenance the CLI needs to write it to disk and report it.
Fields§
§id: StringThe canonical binding id <mem>/<stem>.
mem: StringThe binding’s owning mem dir (the .memstead/projections/<mem>/
tier the binding file lives under).
name: StringThe projection file stem (<stem> in the binding id).
ingest_name: StringThe flat ingest merged into this binding (its file stem), when the gen-2 leg produced it — used to delete the consumed ingest. Empty for the v1→v2 fold leg (no ingest involved).
consumed_facets: Vec<String>The facet names this binding’s fold consumed (the orphan check reads them; they equal the produced source names).
binding: BindingThe produced v2 binding.
notes: Vec<String>Human-readable notes about non-identity transforms applied (e.g. deny-path dialect rewrites). Empty when the migration was verbatim.
Trait Implementations§
Source§impl Clone for MigratedBinding
impl Clone for MigratedBinding
Source§fn clone(&self) -> MigratedBinding
fn clone(&self) -> MigratedBinding
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 MigratedBinding
impl Debug for MigratedBinding
Source§impl PartialEq for MigratedBinding
impl PartialEq for MigratedBinding
impl StructuralPartialEq for MigratedBinding
Auto Trait Implementations§
impl Freeze for MigratedBinding
impl RefUnwindSafe for MigratedBinding
impl Send for MigratedBinding
impl Sync for MigratedBinding
impl Unpin for MigratedBinding
impl UnsafeUnpin for MigratedBinding
impl UnwindSafe for MigratedBinding
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,
Source§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
Source§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Converts
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>, which can then be
downcast into Box<dyn ConcreteType> where ConcreteType implements Trait.Source§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Converts
Rc<Trait> (where Trait: Downcast) to Rc<Any>, which can then be further
downcast into Rc<ConcreteType> where ConcreteType implements Trait.Source§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Converts
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Converts
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.Source§impl<T> DowncastSend for T
impl<T> DowncastSend for T
Source§impl<T> DowncastSync for T
impl<T> DowncastSync for T
impl<T> Fruit for T
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more