#[non_exhaustive]pub struct AutomationResourceSelector {
pub targets: Vec<TargetAttribute>,
/* private fields */
}
Expand description
AutomationResourceSelector contains the information to select the resources to which an Automation is going to be applied.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.targets: Vec<TargetAttribute>
Optional. Contains attributes about a target.
Implementations§
Source§impl AutomationResourceSelector
impl AutomationResourceSelector
pub fn new() -> Self
Sourcepub fn set_targets<T, V>(self, v: T) -> Self
pub fn set_targets<T, V>(self, v: T) -> Self
Sets the value of targets.
Trait Implementations§
Source§impl Clone for AutomationResourceSelector
impl Clone for AutomationResourceSelector
Source§fn clone(&self) -> AutomationResourceSelector
fn clone(&self) -> AutomationResourceSelector
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 AutomationResourceSelector
impl Debug for AutomationResourceSelector
Source§impl Default for AutomationResourceSelector
impl Default for AutomationResourceSelector
Source§fn default() -> AutomationResourceSelector
fn default() -> AutomationResourceSelector
Returns the “default value” for a type. Read more
Source§impl Message for AutomationResourceSelector
impl Message for AutomationResourceSelector
impl StructuralPartialEq for AutomationResourceSelector
Auto Trait Implementations§
impl Freeze for AutomationResourceSelector
impl RefUnwindSafe for AutomationResourceSelector
impl Send for AutomationResourceSelector
impl Sync for AutomationResourceSelector
impl Unpin for AutomationResourceSelector
impl UnwindSafe for AutomationResourceSelector
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