Struct fastly_api::apis::vcl_api::CreateCustomVclParams
source · pub struct CreateCustomVclParams {
pub service_id: String,
pub version_id: i32,
pub content: Option<String>,
pub main: Option<bool>,
pub name: Option<String>,
}
Expand description
struct for passing parameters to the method create_custom_vcl
Fields§
§service_id: String
Alphanumeric string identifying the service.
version_id: i32
Integer identifying a service version.
content: Option<String>
The VCL code to be included.
main: Option<bool>
Set to true
when this is the main VCL, otherwise false
.
name: Option<String>
The name of this VCL.
Trait Implementations§
source§impl Clone for CreateCustomVclParams
impl Clone for CreateCustomVclParams
source§fn clone(&self) -> CreateCustomVclParams
fn clone(&self) -> CreateCustomVclParams
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 CreateCustomVclParams
impl Debug for CreateCustomVclParams
source§impl Default for CreateCustomVclParams
impl Default for CreateCustomVclParams
source§fn default() -> CreateCustomVclParams
fn default() -> CreateCustomVclParams
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for CreateCustomVclParams
impl Send for CreateCustomVclParams
impl Sync for CreateCustomVclParams
impl Unpin for CreateCustomVclParams
impl UnwindSafe for CreateCustomVclParams
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