pub struct OutcomePredicateBodyV1 { /* private fields */ }Implementations§
Source§impl OutcomePredicateBodyV1
impl OutcomePredicateBodyV1
pub fn new(input: OutcomePredicateInputV1) -> Result<Self, OutcomeError>
pub fn validate(&self) -> Result<(), OutcomeError>
pub fn predicate_id(&self) -> &str
pub fn provider_id(&self) -> &str
pub fn assertions(&self) -> &[OutcomeAssertionV1]
pub const fn expires_at_unix_ms(&self) -> u64
Trait Implementations§
Source§impl Clone for OutcomePredicateBodyV1
impl Clone for OutcomePredicateBodyV1
Source§fn clone(&self) -> OutcomePredicateBodyV1
fn clone(&self) -> OutcomePredicateBodyV1
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 OutcomePredicateBodyV1
impl Debug for OutcomePredicateBodyV1
Source§impl<'de> Deserialize<'de> for OutcomePredicateBodyV1
impl<'de> Deserialize<'de> for OutcomePredicateBodyV1
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
impl Eq for OutcomePredicateBodyV1
Source§impl PartialEq for OutcomePredicateBodyV1
impl PartialEq for OutcomePredicateBodyV1
Source§impl Serialize for OutcomePredicateBodyV1
impl Serialize for OutcomePredicateBodyV1
impl StructuralPartialEq for OutcomePredicateBodyV1
Auto Trait Implementations§
impl Freeze for OutcomePredicateBodyV1
impl RefUnwindSafe for OutcomePredicateBodyV1
impl Send for OutcomePredicateBodyV1
impl Sync for OutcomePredicateBodyV1
impl Unpin for OutcomePredicateBodyV1
impl UnsafeUnpin for OutcomePredicateBodyV1
impl UnwindSafe for OutcomePredicateBodyV1
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