pub struct Link {
pub target_bundle: String,
pub attribute_mapping: HashMap<String, String>,
/* private fields */
}
Fields§
§target_bundle: String
§attribute_mapping: HashMap<String, String>
Implementations§
Source§impl LinkOverlay
impl LinkOverlay
pub fn new(t: String) -> LinkOverlay
Trait Implementations§
Source§impl Clone for LinkOverlay
impl Clone for LinkOverlay
Source§fn clone(&self) -> LinkOverlay
fn clone(&self) -> LinkOverlay
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for LinkOverlay
impl Debug for LinkOverlay
Source§impl<'de> Deserialize<'de> for LinkOverlay
impl<'de> Deserialize<'de> for LinkOverlay
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<LinkOverlay, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<LinkOverlay, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Overlay for LinkOverlay
impl Overlay for LinkOverlay
fn as_any(&self) -> &(dyn Any + 'static)
fn capture_base(&self) -> &Option<SelfAddressingIdentifier>
fn set_capture_base(&mut self, said: &SelfAddressingIdentifier)
fn overlay_type(&self) -> &OverlayType
fn said(&self) -> &Option<SelfAddressingIdentifier>
fn attributes(&self) -> Vec<&String>
fn add(&mut self, attribute: &Attribute)
fn language(&self) -> Option<&Language>
fn fill_said(&mut self)
fn sign(&mut self, capture_base_sai: &SelfAddressingIdentifier)
Source§impl SAD for LinkOverlay
impl SAD for LinkOverlay
fn compute_digest( &mut self, code: &SelfAddressing, format: &SerializationFormats, )
fn derivation_data( &self, code: &SelfAddressing, serialization_format: &SerializationFormats, ) -> Vec<u8> ⓘ
Source§impl Serialize for LinkOverlay
impl Serialize for LinkOverlay
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for LinkOverlay
impl RefUnwindSafe for LinkOverlay
impl Send for LinkOverlay
impl Sync for LinkOverlay
impl Unpin for LinkOverlay
impl UnwindSafe for LinkOverlay
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