pub struct StitchEnd {
pub repo_id: String,
pub entity_id: String,
pub sources: Vec<String>,
pub role: Option<EndRole>,
}Expand description
One end of a stitch: the member entity plus where it was observed.
Fields§
§repo_id: StringMember repo id (semantic scope of the entity).
entity_id: StringCanonical entity id inside the member (§XV: unchanged by stitching).
sources: Vec<String>Files observing this entity (provenance survives stitching).
role: Option<EndRole>Directional role, if this stitch kind has a direction vocabulary.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for StitchEnd
impl<'de> Deserialize<'de> for StitchEnd
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for StitchEnd
impl RefUnwindSafe for StitchEnd
impl Send for StitchEnd
impl Sync for StitchEnd
impl Unpin for StitchEnd
impl UnsafeUnpin for StitchEnd
impl UnwindSafe for StitchEnd
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