pub struct MutationPlan {
pub preview_action: String,
pub preview_details: Vec<String>,
pub targets: Vec<String>,
}Expand description
What a guarded mutation will do, shown in the guard banner.
Fields§
§preview_action: String§preview_details: Vec<String>§targets: Vec<String>Object identities the plan will act on: rule_id values in the rules
vertical; list_id and item_id values in the exceptions vertical.
Trait Implementations§
Source§impl Clone for MutationPlan
impl Clone for MutationPlan
Source§fn clone(&self) -> MutationPlan
fn clone(&self) -> MutationPlan
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 MutationPlan
impl Debug for MutationPlan
Source§impl PartialEq for MutationPlan
impl PartialEq for MutationPlan
Source§impl Serialize for MutationPlan
impl Serialize for MutationPlan
impl StructuralPartialEq for MutationPlan
Auto Trait Implementations§
impl Freeze for MutationPlan
impl RefUnwindSafe for MutationPlan
impl Send for MutationPlan
impl Sync for MutationPlan
impl Unpin for MutationPlan
impl UnsafeUnpin for MutationPlan
impl UnwindSafe for MutationPlan
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