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 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 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 Freeze for CreateCustomVclParams
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