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: 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 DiffServiceVersionsParams
impl Clone for DiffServiceVersionsParams
source§fn clone(&self) -> DiffServiceVersionsParams
fn clone(&self) -> DiffServiceVersionsParams
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 DiffServiceVersionsParams
impl Debug for DiffServiceVersionsParams
source§impl Default for DiffServiceVersionsParams
impl Default for DiffServiceVersionsParams
source§fn 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§
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