pub struct DeltaOperation {
pub op_type: DeltaOperationType,
pub section: String,
pub content: Option<String>,
pub bullet_id: Option<String>,
pub metadata: HashMap<String, i64>,
}Expand description
Single mutation to apply to the playbook.
Fields§
§op_type: DeltaOperationType§section: String§content: Option<String>§bullet_id: Option<String>§metadata: HashMap<String, i64>Implementations§
Trait Implementations§
Source§impl Clone for DeltaOperation
impl Clone for DeltaOperation
Source§fn clone(&self) -> DeltaOperation
fn clone(&self) -> DeltaOperation
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 DeltaOperation
impl Debug for DeltaOperation
Source§impl<'de> Deserialize<'de> for DeltaOperation
impl<'de> Deserialize<'de> for DeltaOperation
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
Auto Trait Implementations§
impl Freeze for DeltaOperation
impl RefUnwindSafe for DeltaOperation
impl Send for DeltaOperation
impl Sync for DeltaOperation
impl Unpin for DeltaOperation
impl UnsafeUnpin for DeltaOperation
impl UnwindSafe for DeltaOperation
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