pub struct CaptureBase {
pub digest: Option<SelfAddressingIdentifier>,
pub schema_type: String,
pub attributes: IndexMap<String, NestedAttrType>,
}Fields§
§digest: Option<SelfAddressingIdentifier>§schema_type: String§attributes: IndexMap<String, NestedAttrType>Implementations§
Source§impl CaptureBase
impl CaptureBase
pub fn new() -> CaptureBase
pub fn add(&mut self, attribute: &Attribute)
pub fn fill_digest(&mut self) -> Result<(), CaptureBaseSerializationError>
Trait Implementations§
Source§impl Clone for CaptureBase
impl Clone for CaptureBase
Source§fn clone(&self) -> CaptureBase
fn clone(&self) -> CaptureBase
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 CaptureBase
impl Debug for CaptureBase
Source§impl Default for CaptureBase
impl Default for CaptureBase
Source§impl<'de> Deserialize<'de> for CaptureBase
impl<'de> Deserialize<'de> for CaptureBase
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 CaptureBase
impl RefUnwindSafe for CaptureBase
impl Send for CaptureBase
impl Sync for CaptureBase
impl Unpin for CaptureBase
impl UnwindSafe for CaptureBase
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