#[repr(C)]pub struct svn_version_t {
pub major: c_int,
pub minor: c_int,
pub patch: c_int,
pub tag: *const c_char,
}
Expand description
Version information. Each library contains a function called svn_libname_version() that returns a pointer to a statically allocated object of this type.
@since New in 1.1.
Fields§
§major: c_int
< Major version number
minor: c_int
< Minor version number
patch: c_int
< Patch number
tag: *const c_char
The version tag (#SVN_VER_NUMTAG). Must always point to a statically allocated string.
Trait Implementations§
Source§impl Clone for svn_version_t
impl Clone for svn_version_t
Source§fn clone(&self) -> svn_version_t
fn clone(&self) -> svn_version_t
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 svn_version_t
impl Debug for svn_version_t
Source§impl Default for svn_version_t
impl Default for svn_version_t
impl Copy for svn_version_t
Auto Trait Implementations§
impl Freeze for svn_version_t
impl RefUnwindSafe for svn_version_t
impl !Send for svn_version_t
impl !Sync for svn_version_t
impl Unpin for svn_version_t
impl UnwindSafe for svn_version_t
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