pub struct CeremonyGuard { /* private fields */ }Implementations§
Source§impl CeremonyGuard
impl CeremonyGuard
pub fn new(name: GuardName, condition: GuardCondition) -> Self
pub fn name(&self) -> &GuardName
pub fn condition(&self) -> &GuardCondition
pub fn is_satisfied( &self, records: &BTreeMap<StepId, StepExecutionRecord>, context: &CeremonyContext, ) -> bool
Trait Implementations§
Source§impl Clone for CeremonyGuard
impl Clone for CeremonyGuard
Source§fn clone(&self) -> CeremonyGuard
fn clone(&self) -> CeremonyGuard
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 CeremonyGuard
impl Debug for CeremonyGuard
Source§impl<'de> Deserialize<'de> for CeremonyGuard
impl<'de> Deserialize<'de> for CeremonyGuard
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 CeremonyGuard
Source§impl PartialEq for CeremonyGuard
impl PartialEq for CeremonyGuard
Source§impl Serialize for CeremonyGuard
impl Serialize for CeremonyGuard
impl StructuralPartialEq for CeremonyGuard
Auto Trait Implementations§
impl Freeze for CeremonyGuard
impl RefUnwindSafe for CeremonyGuard
impl Send for CeremonyGuard
impl Sync for CeremonyGuard
impl Unpin for CeremonyGuard
impl UnsafeUnpin for CeremonyGuard
impl UnwindSafe for CeremonyGuard
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