Struct fastly_api::apis::condition_api::UpdateConditionParams
source · [−]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: StringAlphanumeric string identifying the service.
version_id: i32Integer identifying a service version.
condition_name: StringName 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
sourceimpl Clone for UpdateConditionParams
impl Clone for UpdateConditionParams
sourcefn clone(&self) -> UpdateConditionParams
fn clone(&self) -> UpdateConditionParams
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for UpdateConditionParams
impl Debug for UpdateConditionParams
sourceimpl Default for UpdateConditionParams
impl Default for UpdateConditionParams
sourcefn default() -> UpdateConditionParams
fn default() -> UpdateConditionParams
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for UpdateConditionParams
impl Send for UpdateConditionParams
impl Sync for UpdateConditionParams
impl Unpin for UpdateConditionParams
impl UnwindSafe for UpdateConditionParams
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more