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