pub struct SnippetResponse {
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 SnippetResponse
impl SnippetResponse
pub fn new() -> SnippetResponse
Trait Implementations§
Source§impl Clone for SnippetResponse
impl Clone for SnippetResponse
Source§fn clone(&self) -> SnippetResponse
fn clone(&self) -> SnippetResponse
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 SnippetResponse
impl Debug for SnippetResponse
Source§impl Default for SnippetResponse
impl Default for SnippetResponse
Source§fn default() -> SnippetResponse
fn default() -> SnippetResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SnippetResponse
impl<'de> Deserialize<'de> for SnippetResponse
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 SnippetResponse
impl PartialEq for SnippetResponse
Source§impl Serialize for SnippetResponse
impl Serialize for SnippetResponse
impl StructuralPartialEq for SnippetResponse
Auto Trait Implementations§
impl Freeze for SnippetResponse
impl RefUnwindSafe for SnippetResponse
impl Send for SnippetResponse
impl Sync for SnippetResponse
impl Unpin for SnippetResponse
impl UnwindSafe for SnippetResponse
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