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 duplicate 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 Freeze for DiffServiceVersionsParams
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