pub struct CollectionLink(/* private fields */);Expand description
An implementation that encapsulates a collection link that components use to call out to components on other Wasmflow collections.
Implementations§
Source§impl CollectionLink
impl CollectionLink
Sourcepub fn new(from: Entity, to: Entity) -> Self
pub fn new(from: Entity, to: Entity) -> Self
Constructor for a CollectionLink
Sourcepub fn get_origin_url(&self) -> String
pub fn get_origin_url(&self) -> String
Get the URL for the called component
Trait Implementations§
Source§impl Clone for CollectionLink
impl Clone for CollectionLink
Source§fn clone(&self) -> CollectionLink
fn clone(&self) -> CollectionLink
Returns a duplicate of the value. Read more
1.0.0 · 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 CollectionLink
impl Debug for CollectionLink
Source§impl<'de> Deserialize<'de> for CollectionLink
impl<'de> Deserialize<'de> for CollectionLink
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
Source§impl Display for CollectionLink
impl Display for CollectionLink
Source§impl PartialEq for CollectionLink
impl PartialEq for CollectionLink
Source§impl Serialize for CollectionLink
impl Serialize for CollectionLink
impl StructuralPartialEq for CollectionLink
Auto Trait Implementations§
impl Freeze for CollectionLink
impl RefUnwindSafe for CollectionLink
impl Send for CollectionLink
impl Sync for CollectionLink
impl Unpin for CollectionLink
impl UnwindSafe for CollectionLink
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