pub struct OwnedMutatorDescriptor {
pub name: Option<String>,
pub description: Option<String>,
pub layer: Option<MutatorLayer>,
pub group: Option<String>,
pub operation: Option<MutatorOperation>,
pub statefulness: Option<MutatorStatefulness>,
pub organization_custom_metadata: Option<OrganizationCustomMetadata>,
pub params: Vec<OwnedMutatorParamDescriptor>,
}
Fields§
§name: Option<String>
§description: Option<String>
§layer: Option<MutatorLayer>
§group: Option<String>
§operation: Option<MutatorOperation>
§statefulness: Option<MutatorStatefulness>
§organization_custom_metadata: Option<OrganizationCustomMetadata>
§params: Vec<OwnedMutatorParamDescriptor>
The parameters for mutations injected with this mutator
Implementations§
Source§impl OwnedMutatorDescriptor
impl OwnedMutatorDescriptor
pub fn into_description_attributes( self, ) -> Box<dyn Iterator<Item = (AttrKey, AttrVal)> + 'static>
pub fn try_from_description_attributes( i: impl Iterator<Item = (AttrKey, AttrVal)>, ) -> Result<Self, ParamDescriptorFromAttrsError>
Trait Implementations§
Source§impl Clone for OwnedMutatorDescriptor
impl Clone for OwnedMutatorDescriptor
Source§fn clone(&self) -> OwnedMutatorDescriptor
fn clone(&self) -> OwnedMutatorDescriptor
Returns a duplicate of the value. Read more
1.0.0 · 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 OwnedMutatorDescriptor
impl Debug for OwnedMutatorDescriptor
Auto Trait Implementations§
impl Freeze for OwnedMutatorDescriptor
impl RefUnwindSafe for OwnedMutatorDescriptor
impl Send for OwnedMutatorDescriptor
impl Sync for OwnedMutatorDescriptor
impl Unpin for OwnedMutatorDescriptor
impl UnwindSafe for OwnedMutatorDescriptor
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