pub struct ContextPatch(/* private fields */);Expand description
An atomic set of top-level ceremony-context replacements.
Implementations§
Source§impl ContextPatch
impl ContextPatch
pub fn new(entries: BTreeMap<ContextKey, Value>) -> Result<Self, DomainError>
pub fn entries(&self) -> &BTreeMap<ContextKey, Value>
Trait Implementations§
Source§impl Clone for ContextPatch
impl Clone for ContextPatch
Source§impl Debug for ContextPatch
impl Debug for ContextPatch
Source§impl Default for ContextPatch
impl Default for ContextPatch
Source§impl<'de> Deserialize<'de> for ContextPatch
impl<'de> Deserialize<'de> for ContextPatch
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 ContextPatch
Source§impl PartialEq for ContextPatch
impl PartialEq for ContextPatch
Source§impl Serialize for ContextPatch
impl Serialize for ContextPatch
impl StructuralPartialEq for ContextPatch
Auto Trait Implementations§
impl Freeze for ContextPatch
impl RefUnwindSafe for ContextPatch
impl Send for ContextPatch
impl Sync for ContextPatch
impl Unpin for ContextPatch
impl UnsafeUnpin for ContextPatch
impl UnwindSafe for ContextPatch
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