Struct fastly_api::apis::vcl_diff_api::VclDiffServiceVersionsParams
source · pub struct VclDiffServiceVersionsParams {
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 vcl_diff_service_versions
Fields§
§service_id: String
Alphanumeric string identifying the service.
from_version_id: i32
The 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: i32
The 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§
source§impl Clone for VclDiffServiceVersionsParams
impl Clone for VclDiffServiceVersionsParams
source§fn clone(&self) -> VclDiffServiceVersionsParams
fn clone(&self) -> VclDiffServiceVersionsParams
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 VclDiffServiceVersionsParams
impl Debug for VclDiffServiceVersionsParams
source§impl Default for VclDiffServiceVersionsParams
impl Default for VclDiffServiceVersionsParams
source§fn default() -> VclDiffServiceVersionsParams
fn default() -> VclDiffServiceVersionsParams
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for VclDiffServiceVersionsParams
impl Send for VclDiffServiceVersionsParams
impl Sync for VclDiffServiceVersionsParams
impl Unpin for VclDiffServiceVersionsParams
impl UnwindSafe for VclDiffServiceVersionsParams
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