pub struct SnippetResponsePost {
    pub name: Option<String>,
    pub _type: Option<Type>,
    pub content: Option<String>,
    pub priority: Option<String>,
    pub dynamic: Option<Dynamic>,
    pub created_at: Option<String>,
    pub deleted_at: Option<String>,
    pub updated_at: Option<String>,
    pub service_id: Option<Box<String>>,
    pub version: Option<String>,
    pub id: Option<Box<String>>,
}Fields§
§name: Option<String>The name for the snippet.
_type: Option<Type>The location in generated VCL where the snippet should be placed.
content: Option<String>The VCL code that specifies exactly what the snippet does.
priority: Option<String>Priority determines execution order. Lower numbers execute first.
dynamic: Option<Dynamic>Sets the snippet version.
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.
service_id: Option<Box<String>>§version: Option<String>String representing the number identifying a version of the service.
id: Option<Box<String>>Implementations§
source§impl SnippetResponsePost
 
impl SnippetResponsePost
pub fn new() -> SnippetResponsePost
Trait Implementations§
source§impl Clone for SnippetResponsePost
 
impl Clone for SnippetResponsePost
source§fn clone(&self) -> SnippetResponsePost
 
fn clone(&self) -> SnippetResponsePost
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 SnippetResponsePost
 
impl Debug for SnippetResponsePost
source§impl Default for SnippetResponsePost
 
impl Default for SnippetResponsePost
source§fn default() -> SnippetResponsePost
 
fn default() -> SnippetResponsePost
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for SnippetResponsePost
 
impl<'de> Deserialize<'de> for SnippetResponsePost
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 for SnippetResponsePost
 
impl PartialEq for SnippetResponsePost
source§fn eq(&self, other: &SnippetResponsePost) -> bool
 
fn eq(&self, other: &SnippetResponsePost) -> bool
This method tests for 
self and other values to be equal, and is used
by ==.source§impl Serialize for SnippetResponsePost
 
impl Serialize for SnippetResponsePost
impl StructuralPartialEq for SnippetResponsePost
Auto Trait Implementations§
impl Freeze for SnippetResponsePost
impl RefUnwindSafe for SnippetResponsePost
impl Send for SnippetResponsePost
impl Sync for SnippetResponsePost
impl Unpin for SnippetResponsePost
impl UnwindSafe for SnippetResponsePost
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
source§impl<T> CloneToUninit for Twhere
    T: Clone,
 
impl<T> CloneToUninit for Twhere
    T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
 
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)