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§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