Struct fastly_api::apis::snippet_api::GetSnippetParams
source · [−]pub struct GetSnippetParams {
pub service_id: String,
pub version_id: i32,
pub snippet_name: String,
}Expand description
struct for passing parameters to the method get_snippet
Fields
service_id: StringAlphanumeric string identifying the service.
version_id: i32Integer identifying a service version.
snippet_name: StringThe name for the snippet.
Trait Implementations
sourceimpl Clone for GetSnippetParams
impl Clone for GetSnippetParams
sourcefn clone(&self) -> GetSnippetParams
fn clone(&self) -> GetSnippetParams
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for GetSnippetParams
impl Debug for GetSnippetParams
sourceimpl Default for GetSnippetParams
impl Default for GetSnippetParams
sourcefn default() -> GetSnippetParams
fn default() -> GetSnippetParams
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for GetSnippetParams
impl Send for GetSnippetParams
impl Sync for GetSnippetParams
impl Unpin for GetSnippetParams
impl UnwindSafe for GetSnippetParams
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more