pub struct NewSinkholeRole {
pub list_id: Uuid,
pub sinkhole_type: SinkholeRoleType,
pub pattern: String,
}Expand description
POST /sinkhole-roles body.
Fields§
§list_id: UuidThe list to add to.
sinkhole_type: SinkholeRoleTypeHow the pattern matches. See
ops::infer_sinkhole_role_type.
pattern: String1–1024 characters; must fit sinkhole_type (a name for Exact, *. + a name for
Wildcard, a valid regex for Regex). Case and a trailing dot of a name do not
matter.
Trait Implementations§
Source§impl Clone for NewSinkholeRole
impl Clone for NewSinkholeRole
Source§fn clone(&self) -> NewSinkholeRole
fn clone(&self) -> NewSinkholeRole
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 NewSinkholeRole
impl Debug for NewSinkholeRole
Auto Trait Implementations§
impl Freeze for NewSinkholeRole
impl RefUnwindSafe for NewSinkholeRole
impl Send for NewSinkholeRole
impl Sync for NewSinkholeRole
impl Unpin for NewSinkholeRole
impl UnsafeUnpin for NewSinkholeRole
impl UnwindSafe for NewSinkholeRole
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