pub struct UpdateConditionParams {
pub service_id: String,
pub version_id: i32,
pub condition_name: String,
pub comment: Option<String>,
pub name: Option<String>,
pub priority: Option<String>,
pub statement: Option<String>,
pub service_id2: Option<String>,
pub version: Option<String>,
pub _type: Option<String>,
}
Expand description
struct for passing parameters to the method update_condition
Fields§
§service_id: String
Alphanumeric string identifying the service.
version_id: i32
Integer identifying a service version.
condition_name: String
Name of the condition. Required.
comment: Option<String>
A freeform descriptive note.
name: Option<String>
Name of the condition. Required.
priority: Option<String>
A numeric string. Priority determines execution order. Lower numbers execute first.
statement: Option<String>
A conditional expression in VCL used to determine if the condition is met.
service_id2: Option<String>
§version: Option<String>
A numeric string that represents the service version.
_type: Option<String>
Type of the condition. Required.
Trait Implementations§
Source§impl Clone for UpdateConditionParams
impl Clone for UpdateConditionParams
Source§fn clone(&self) -> UpdateConditionParams
fn clone(&self) -> UpdateConditionParams
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 UpdateConditionParams
impl Debug for UpdateConditionParams
Source§impl Default for UpdateConditionParams
impl Default for UpdateConditionParams
Source§fn default() -> UpdateConditionParams
fn default() -> UpdateConditionParams
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for UpdateConditionParams
impl RefUnwindSafe for UpdateConditionParams
impl Send for UpdateConditionParams
impl Sync for UpdateConditionParams
impl Unpin for UpdateConditionParams
impl UnwindSafe for UpdateConditionParams
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