Struct fastly_api::apis::diff_api::DiffServiceVersionsParams
source · [−]pub struct DiffServiceVersionsParams {
pub service_id: String,
pub from_version_id: i32,
pub to_version_id: i32,
pub format: Option<String>,
}Expand description
struct for passing parameters to the method diff_service_versions
Fields
service_id: StringAlphanumeric string identifying the service.
from_version_id: i32The version number of the service to which changes in the generated VCL are being compared. Can either be a positive number from 1 to your maximum version or a negative number from -1 down (-1 is latest version etc).
to_version_id: i32The version number of the service from which changes in the generated VCL are being compared. Uses same numbering scheme as from.
format: Option<String>Optional method to format the diff field.
Trait Implementations
sourceimpl Clone for DiffServiceVersionsParams
impl Clone for DiffServiceVersionsParams
sourcefn clone(&self) -> DiffServiceVersionsParams
fn clone(&self) -> DiffServiceVersionsParams
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 DiffServiceVersionsParams
impl Debug for DiffServiceVersionsParams
sourceimpl Default for DiffServiceVersionsParams
impl Default for DiffServiceVersionsParams
sourcefn default() -> DiffServiceVersionsParams
fn default() -> DiffServiceVersionsParams
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for DiffServiceVersionsParams
impl Send for DiffServiceVersionsParams
impl Sync for DiffServiceVersionsParams
impl Unpin for DiffServiceVersionsParams
impl UnwindSafe for DiffServiceVersionsParams
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