pub struct UpdateVersionParams {
pub id: String,
pub version: Version,
}Expand description
struct for passing parameters to the method update_version
Fields§
§id: StringThe ID of the version.
version: VersionTrait Implementations§
Source§impl Clone for UpdateVersionParams
impl Clone for UpdateVersionParams
Source§fn clone(&self) -> UpdateVersionParams
fn clone(&self) -> UpdateVersionParams
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 UpdateVersionParams
impl Debug for UpdateVersionParams
Source§impl Default for UpdateVersionParams
impl Default for UpdateVersionParams
Source§fn default() -> UpdateVersionParams
fn default() -> UpdateVersionParams
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for UpdateVersionParams
impl RefUnwindSafe for UpdateVersionParams
impl Send for UpdateVersionParams
impl Sync for UpdateVersionParams
impl Unpin for UpdateVersionParams
impl UnwindSafe for UpdateVersionParams
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