svn_dirent_t

Struct svn_dirent_t 

Source
#[repr(C)]
pub struct svn_dirent_t { pub kind: svn_node_kind_t, pub size: svn_filesize_t, pub has_props: svn_boolean_t, pub created_rev: svn_revnum_t, pub time: apr_time_t, pub last_author: *const c_char, }
Expand description

A general subversion directory entry.

@note To allow for extending the #svn_dirent_t structure in future releases, always use svn_dirent_create() to allocate the stucture.

@since New in 1.6.

Fields§

§kind: svn_node_kind_t

node kind

§size: svn_filesize_t

length of file text, otherwise SVN_INVALID_FILESIZE

§has_props: svn_boolean_t

does the node have props?

§created_rev: svn_revnum_t

last rev in which this node changed

§time: apr_time_t

time of created_rev (mod-time)

§last_author: *const c_char

author of created_rev

Trait Implementations§

Source§

impl Default for svn_dirent_t

Source§

fn default() -> Self

Returns the “default value” for a type. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.