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 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 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 Freeze for VclDiffServiceVersionsParams
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