Struct fastly_api::apis::condition_api::CreateConditionParams
source · [−]pub struct CreateConditionParams {
pub service_id: String,
pub version_id: i32,
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 create_condition
Fields
service_id: StringAlphanumeric string identifying the service.
version_id: i32Integer identifying a service version.
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 CreateConditionParams
impl Clone for CreateConditionParams
sourcefn clone(&self) -> CreateConditionParams
fn clone(&self) -> CreateConditionParams
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 CreateConditionParams
impl Debug for CreateConditionParams
sourceimpl Default for CreateConditionParams
impl Default for CreateConditionParams
sourcefn default() -> CreateConditionParams
fn default() -> CreateConditionParams
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for CreateConditionParams
impl Send for CreateConditionParams
impl Sync for CreateConditionParams
impl Unpin for CreateConditionParams
impl UnwindSafe for CreateConditionParams
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