pub struct SinkholeRolePatch {
pub sinkhole_type: Option<SinkholeRoleType>,
pub pattern: Option<String>,
}Expand description
PATCH /sinkhole-roles/:uuid body; None fields stay unchanged. The result must still
fit together (see NewSinkholeRole::pattern). The list cannot change.
Fields§
§sinkhole_type: Option<SinkholeRoleType>New match type.
pattern: Option<String>New pattern, 1–1024 characters.
Implementations§
Trait Implementations§
Source§impl Clone for SinkholeRolePatch
impl Clone for SinkholeRolePatch
Source§fn clone(&self) -> SinkholeRolePatch
fn clone(&self) -> SinkholeRolePatch
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 SinkholeRolePatch
impl Debug for SinkholeRolePatch
Source§impl Default for SinkholeRolePatch
impl Default for SinkholeRolePatch
Source§fn default() -> SinkholeRolePatch
fn default() -> SinkholeRolePatch
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SinkholeRolePatch
impl RefUnwindSafe for SinkholeRolePatch
impl Send for SinkholeRolePatch
impl Sync for SinkholeRolePatch
impl Unpin for SinkholeRolePatch
impl UnsafeUnpin for SinkholeRolePatch
impl UnwindSafe for SinkholeRolePatch
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