Struct fastly_api::apis::snippet_api::UpdateSnippetDynamicParams
source · pub struct UpdateSnippetDynamicParams {
pub service_id: String,
pub snippet_id: String,
pub name: Option<String>,
pub dynamic: Option<i32>,
pub _type: Option<String>,
pub content: Option<String>,
pub priority: Option<String>,
}
Expand description
struct for passing parameters to the method update_snippet_dynamic
Fields§
§service_id: String
Alphanumeric string identifying the service.
snippet_id: String
Alphanumeric string identifying a VCL Snippet.
name: Option<String>
The name for the snippet.
dynamic: Option<i32>
Sets the snippet version.
_type: Option<String>
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.
Trait Implementations§
source§impl Clone for UpdateSnippetDynamicParams
impl Clone for UpdateSnippetDynamicParams
source§fn clone(&self) -> UpdateSnippetDynamicParams
fn clone(&self) -> UpdateSnippetDynamicParams
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 UpdateSnippetDynamicParams
impl Debug for UpdateSnippetDynamicParams
source§impl Default for UpdateSnippetDynamicParams
impl Default for UpdateSnippetDynamicParams
source§fn default() -> UpdateSnippetDynamicParams
fn default() -> UpdateSnippetDynamicParams
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for UpdateSnippetDynamicParams
impl Send for UpdateSnippetDynamicParams
impl Sync for UpdateSnippetDynamicParams
impl Unpin for UpdateSnippetDynamicParams
impl UnwindSafe for UpdateSnippetDynamicParams
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