pub struct StatusList { /* private fields */ }Expand description
A list of status values for all the referenced Verifiable Credentials.
It is basically an ordered list of bits, where the status of each Credential
is represented with a fixed amount of bits. Verifiable Credential will
then also contain an exact index pointing at its status within this list.
More about Status Lists can be read here, and more about its parameters here.
Implementations§
Source§impl StatusList
impl StatusList
Sourcepub fn bits(&self) -> StatusBits
pub fn bits(&self) -> StatusBits
Gets the number of bits of each status in the list.
Sourcepub fn aggregation_uri(&self) -> Option<&UriBuf>
pub fn aggregation_uri(&self) -> Option<&UriBuf>
Returns the Uri of the Status List Aggregation if it exists.
Trait Implementations§
Source§impl Clone for StatusList
impl Clone for StatusList
Source§fn clone(&self) -> StatusList
fn clone(&self) -> StatusList
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 StatusList
impl Debug for StatusList
Source§impl<'de> Deserialize<'de> for StatusList
impl<'de> Deserialize<'de> for StatusList
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
Source§impl From<StatusListInternal> for StatusList
impl From<StatusListInternal> for StatusList
Source§fn from(list: StatusListInternal) -> Self
fn from(list: StatusListInternal) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for StatusList
impl RefUnwindSafe for StatusList
impl Send for StatusList
impl Sync for StatusList
impl Unpin for StatusList
impl UnwindSafe for StatusList
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