pub struct Version {
pub one: u8,
pub two: u8,
pub three: u8,
}Expand description
The Version struct represents the version of the surml file.
§Fields
one- The first number in the version.two- The second number in the version.three- The third number in the version.
Fields§
§one: u8§two: u8§three: u8Implementations§
Source§impl Version
impl Version
Sourcepub fn from_string(version: String) -> Result<Self, SurrealError>
pub fn from_string(version: String) -> Result<Self, SurrealError>
Trait Implementations§
impl StructuralPartialEq for Version
Auto Trait Implementations§
impl Freeze for Version
impl RefUnwindSafe for Version
impl Send for Version
impl Sync for Version
impl Unpin for Version
impl UnsafeUnpin for Version
impl UnwindSafe for Version
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