pub struct AttributeFraming {
pub metadata: HashMap<String, String>,
pub attribute_framing: HashMap<String, HashMap<String, FramingScope>>,
/* private fields */
}Fields§
§metadata: HashMap<String, String>§attribute_framing: HashMap<String, HashMap<String, FramingScope>>Implementations§
Source§impl AttributeFramingOverlay
impl AttributeFramingOverlay
pub fn new(id: String) -> AttributeFramingOverlay
Trait Implementations§
Source§impl Clone for AttributeFramingOverlay
impl Clone for AttributeFramingOverlay
Source§fn clone(&self) -> AttributeFramingOverlay
fn clone(&self) -> AttributeFramingOverlay
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 AttributeFramingOverlay
impl Debug for AttributeFramingOverlay
Source§impl<'de> Deserialize<'de> for AttributeFramingOverlay
impl<'de> Deserialize<'de> for AttributeFramingOverlay
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<AttributeFramingOverlay, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<AttributeFramingOverlay, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Overlay for AttributeFramingOverlay
impl Overlay for AttributeFramingOverlay
Source§fn add(&mut self, attribute: &Attribute)
fn add(&mut self, attribute: &Attribute)
Add an attribute to the Label Overlay TODO add assignment of attribute to category
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 language(&self) -> Option<&Language>
fn attributes(&self) -> Vec<&String>
fn fill_said(&mut self)
fn sign(&mut self, capture_base_sai: &SelfAddressingIdentifier)
Source§impl SAD for AttributeFramingOverlay
impl SAD for AttributeFramingOverlay
fn compute_digest( &mut self, code: &SelfAddressing, format: &SerializationFormats, )
fn derivation_data( &self, code: &SelfAddressing, serialization_format: &SerializationFormats, ) -> Vec<u8> ⓘ
Source§impl Serialize for AttributeFramingOverlay
impl Serialize for AttributeFramingOverlay
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 AttributeFramingOverlay
impl RefUnwindSafe for AttributeFramingOverlay
impl Send for AttributeFramingOverlay
impl Sync for AttributeFramingOverlay
impl Unpin for AttributeFramingOverlay
impl UnwindSafe for AttributeFramingOverlay
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