Struct indy_data_types::anoncreds::pres_request::PredicateInfo
source · pub struct PredicateInfo {
pub name: String,
pub p_type: PredicateTypes,
pub p_value: i32,
pub restrictions: Option<Query>,
pub non_revoked: Option<NonRevocedInterval>,
}
Fields§
§name: String
§p_type: PredicateTypes
§p_value: i32
§restrictions: Option<Query>
§non_revoked: Option<NonRevocedInterval>
Trait Implementations§
source§impl Clone for PredicateInfo
impl Clone for PredicateInfo
source§fn clone(&self) -> PredicateInfo
fn clone(&self) -> PredicateInfo
Returns a copy 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 PredicateInfo
impl Debug for PredicateInfo
source§impl<'de> Deserialize<'de> for PredicateInfo
impl<'de> Deserialize<'de> for PredicateInfo
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 PartialEq for PredicateInfo
impl PartialEq for PredicateInfo
source§fn eq(&self, other: &PredicateInfo) -> bool
fn eq(&self, other: &PredicateInfo) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for PredicateInfo
impl Serialize for PredicateInfo
impl Eq for PredicateInfo
impl StructuralEq for PredicateInfo
impl StructuralPartialEq for PredicateInfo
Auto Trait Implementations§
impl RefUnwindSafe for PredicateInfo
impl Send for PredicateInfo
impl Sync for PredicateInfo
impl Unpin for PredicateInfo
impl UnwindSafe for PredicateInfo
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