pub struct SetConfiguration {
pub workspace_id: Option<String>,
pub traffic_ramp: Option<String>,
pub mode: Option<String>,
}
Fields§
§workspace_id: Option<String>
The new workspace_id. Required in the PUT
request body when product_id
is ngwaf
. Optional in the PATCH
request body for ngwaf
.
traffic_ramp: Option<String>
The new traffic ramp. Optional in the PATCH
request body for ngwaf
.
mode: Option<String>
The new mode to run the product in. One of block
, log
, or off
. Optional in the PATCH
request body for ddos_protection
.
Implementations§
Source§impl SetConfiguration
impl SetConfiguration
pub fn new() -> SetConfiguration
Trait Implementations§
Source§impl Clone for SetConfiguration
impl Clone for SetConfiguration
Source§fn clone(&self) -> SetConfiguration
fn clone(&self) -> SetConfiguration
Returns a copy 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 SetConfiguration
impl Debug for SetConfiguration
Source§impl Default for SetConfiguration
impl Default for SetConfiguration
Source§fn default() -> SetConfiguration
fn default() -> SetConfiguration
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SetConfiguration
impl<'de> Deserialize<'de> for SetConfiguration
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for SetConfiguration
impl PartialEq for SetConfiguration
Source§impl Serialize for SetConfiguration
impl Serialize for SetConfiguration
impl StructuralPartialEq for SetConfiguration
Auto Trait Implementations§
impl Freeze for SetConfiguration
impl RefUnwindSafe for SetConfiguration
impl Send for SetConfiguration
impl Sync for SetConfiguration
impl Unpin for SetConfiguration
impl UnwindSafe for SetConfiguration
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