pub struct VersionDef {
pub ident: String,
pub value: String,
}Expand description
One member of the API version enum.
Fields§
§ident: StringStable machine name of the version: the enum member ident.
value: StringDisplay value of the version: the @rename("...") argument, or the ident.
Trait Implementations§
Source§impl Clone for VersionDef
impl Clone for VersionDef
Source§impl Debug for VersionDef
impl Debug for VersionDef
impl Eq for VersionDef
Source§impl PartialEq for VersionDef
impl PartialEq for VersionDef
impl StructuralPartialEq for VersionDef
Auto Trait Implementations§
impl Freeze for VersionDef
impl RefUnwindSafe for VersionDef
impl Send for VersionDef
impl Sync for VersionDef
impl Unpin for VersionDef
impl UnsafeUnpin for VersionDef
impl UnwindSafe for VersionDef
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