Struct fastly_api::models::vcl_response::VclResponse
source · pub struct VclResponse {
pub content: Option<String>,
pub main: Option<bool>,
pub name: Option<String>,
pub service_id: Option<Box<String>>,
pub version: Option<Box<i32>>,
pub created_at: Option<String>,
pub deleted_at: Option<String>,
pub updated_at: Option<String>,
}
Fields§
§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.
service_id: Option<Box<String>>
§version: Option<Box<i32>>
§created_at: Option<String>
Date and time in ISO 8601 format.
deleted_at: Option<String>
Date and time in ISO 8601 format.
updated_at: Option<String>
Date and time in ISO 8601 format.
Implementations§
source§impl VclResponse
impl VclResponse
pub fn new() -> VclResponse
Trait Implementations§
source§impl Clone for VclResponse
impl Clone for VclResponse
source§fn clone(&self) -> VclResponse
fn clone(&self) -> VclResponse
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 VclResponse
impl Debug for VclResponse
source§impl Default for VclResponse
impl Default for VclResponse
source§fn default() -> VclResponse
fn default() -> VclResponse
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for VclResponse
impl<'de> Deserialize<'de> for VclResponse
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq<VclResponse> for VclResponse
impl PartialEq<VclResponse> for VclResponse
source§fn eq(&self, other: &VclResponse) -> bool
fn eq(&self, other: &VclResponse) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for VclResponse
impl Serialize for VclResponse
impl StructuralPartialEq for VclResponse
Auto Trait Implementations§
impl RefUnwindSafe for VclResponse
impl Send for VclResponse
impl Sync for VclResponse
impl Unpin for VclResponse
impl UnwindSafe for VclResponse
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