pub struct CeremonyContext(/* private fields */);Implementations§
Source§impl CeremonyContext
impl CeremonyContext
pub fn new(attributes: Attributes) -> Self
pub fn empty() -> Self
pub fn with_guard_approval( self, guard_name: &GuardName, ) -> Result<Self, DomainError>
pub fn is_guard_approved(&self, guard_name: &GuardName) -> bool
pub fn attributes(&self) -> &Attributes
Trait Implementations§
Source§impl Clone for CeremonyContext
impl Clone for CeremonyContext
Source§fn clone(&self) -> CeremonyContext
fn clone(&self) -> CeremonyContext
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 CeremonyContext
impl Debug for CeremonyContext
Source§impl Default for CeremonyContext
impl Default for CeremonyContext
Source§fn default() -> CeremonyContext
fn default() -> CeremonyContext
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CeremonyContext
impl<'de> Deserialize<'de> for CeremonyContext
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 CeremonyContext
Source§impl PartialEq for CeremonyContext
impl PartialEq for CeremonyContext
Source§impl Serialize for CeremonyContext
impl Serialize for CeremonyContext
impl StructuralPartialEq for CeremonyContext
Auto Trait Implementations§
impl Freeze for CeremonyContext
impl RefUnwindSafe for CeremonyContext
impl Send for CeremonyContext
impl Sync for CeremonyContext
impl Unpin for CeremonyContext
impl UnsafeUnpin for CeremonyContext
impl UnwindSafe for CeremonyContext
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