pub struct SerderACDC {
pub base: BaseSerder,
}Expand description
SerderACDC struct that extends BaseSerder
Fields§
§base: BaseSerderBase Serder fields and behavior
Implementations§
Source§impl SerderACDC
impl SerderACDC
Sourcepub fn from_sad(sad: &Sadder) -> Result<Self, KERIError>
pub fn from_sad(sad: &Sadder) -> Result<Self, KERIError>
Creates a new SerderACDC by constructing its BaseSerder from a sad.
Sourcepub fn uuid(&self) -> Option<String>
pub fn uuid(&self) -> Option<String>
uuid property getter Optional fields return None when not present
Returns:
Option
Sourcepub fn uuidb(&self) -> Option<Vec<u8>>
pub fn uuidb(&self) -> Option<Vec<u8>>
uuidb property getter (uuid bytes) Optional fields return None when not present
Returns:
Option<Vec
Sourcepub fn issuer(&self) -> Option<String>
pub fn issuer(&self) -> Option<String>
issuer property getter (issuer AID) Optional fields return None when not present
Returns:
Option
Sourcepub fn issuerb(&self) -> Option<Vec<u8>>
pub fn issuerb(&self) -> Option<Vec<u8>>
issuerb property getter (issuer AID bytes) Optional fields return None when not present
Returns:
Option<Vec
Sourcepub fn regi(&self) -> Option<String>
pub fn regi(&self) -> Option<String>
regi property getter (registry identifier SAID) Optional fields return None when not present
Returns:
Option
Sourcepub fn regib(&self) -> Option<Vec<u8>>
pub fn regib(&self) -> Option<Vec<u8>>
regib property getter (registry identifier SAID bytes) Optional fields return None when not present
Returns:
Option<Vec
Sourcepub fn schema(&self) -> Option<String>
pub fn schema(&self) -> Option<String>
schema block or SAID property getter Optional fields return None when not present
Returns: Option<&Value>: from ._sad[“s”]
Sourcepub fn attrib(&self) -> Option<IndexMap<String, SadValue>>
pub fn attrib(&self) -> Option<IndexMap<String, SadValue>>
attrib block or SAID property getter (attribute) Optional fields return None when not present
Returns: Option<&String>: from ._sad[“a”]
Sourcepub fn issuee(&self) -> Option<String>
pub fn issuee(&self) -> Option<String>
issuee property getter (issuee AID) Optional fields return None when not present
Returns:
Option
Sourcepub fn issueeb(&self) -> Option<Vec<u8>>
pub fn issueeb(&self) -> Option<Vec<u8>>
issueeb property getter (issuee AID bytes) Optional fields return None when not present
Returns:
Option<Vec
Sourcepub fn attagg(&self) -> Option<&SadValue>
pub fn attagg(&self) -> Option<&SadValue>
attagg block property getter (attribute aggregate) Optional fields return None when not present
Returns: Option<&Value>: from ._sad[“A”]
Trait Implementations§
Source§impl Clone for SerderACDC
impl Clone for SerderACDC
Source§fn clone(&self) -> SerderACDC
fn clone(&self) -> SerderACDC
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for SerderACDC
impl Debug for SerderACDC
Source§impl Rawifiable for SerderACDC
impl Rawifiable for SerderACDC
Source§impl Serder for SerderACDC
Implement the Serder trait for SerderKERI
impl Serder for SerderACDC
Implement the Serder trait for SerderKERI