pub struct AttributeMapping {
pub attribute_mapping: BTreeMap<String, String>,
/* private fields */
}Fields§
§attribute_mapping: BTreeMap<String, String>Implementations§
Source§impl AttributeMappingOverlay
impl AttributeMappingOverlay
pub fn new() -> Box<AttributeMappingOverlay>
Trait Implementations§
Source§impl Clone for AttributeMappingOverlay
impl Clone for AttributeMappingOverlay
Source§fn clone(&self) -> AttributeMappingOverlay
fn clone(&self) -> AttributeMappingOverlay
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 AttributeMappingOverlay
impl Debug for AttributeMappingOverlay
Source§impl<'de> Deserialize<'de> for AttributeMappingOverlay
impl<'de> Deserialize<'de> for AttributeMappingOverlay
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<AttributeMappingOverlay, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<AttributeMappingOverlay, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Overlay for AttributeMappingOverlay
impl Overlay for AttributeMappingOverlay
fn as_any(&self) -> &(dyn Any + 'static)
fn capture_base(&self) -> &Option<SelfAddressingIdentifier>
fn set_capture_base(&mut self, said: &SelfAddressingIdentifier)
fn said(&self) -> &Option<SelfAddressingIdentifier>
fn overlay_type(&self) -> &OverlayType
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 AttributeMappingOverlay
impl SAD for AttributeMappingOverlay
fn compute_digest( &mut self, code: &SelfAddressing, format: &SerializationFormats, )
fn derivation_data( &self, code: &SelfAddressing, serialization_format: &SerializationFormats, ) -> Vec<u8> ⓘ
Source§impl Serialize for AttributeMappingOverlay
impl Serialize for AttributeMappingOverlay
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 AttributeMappingOverlay
impl RefUnwindSafe for AttributeMappingOverlay
impl Send for AttributeMappingOverlay
impl Sync for AttributeMappingOverlay
impl Unpin for AttributeMappingOverlay
impl UnwindSafe for AttributeMappingOverlay
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