svn_wc_info_t

Struct svn_wc_info_t 

Source
#[repr(C)]
pub struct svn_wc_info_t { pub schedule: svn_wc_schedule_t, pub copyfrom_url: *const c_char, pub copyfrom_rev: svn_revnum_t, pub checksum: *const svn_checksum_t, pub changelist: *const c_char, pub depth: svn_depth_t, pub recorded_size: svn_filesize_t, pub recorded_time: apr_time_t, pub conflicts: *const apr_array_header_t, pub wcroot_abspath: *const c_char, pub moved_from_abspath: *const c_char, pub moved_to_abspath: *const c_char, }
Expand description

This struct contains information about a working copy node.

@note Fields may be added to the end of this structure in future versions. Therefore, users shouldn’t allocate structures of this type, to preserve binary compatibility.

@since New in 1.7.

Fields§

§schedule: svn_wc_schedule_t

The schedule of this item

§Do we still need schedule?
§copyfrom_url: *const c_char

If copied, the URL from which the copy was made, else @c NULL.

§copyfrom_rev: svn_revnum_t

If copied, the revision from which the copy was made, else #SVN_INVALID_REVNUM.

§checksum: *const svn_checksum_t

The checksum of the node, if it is a file.

§changelist: *const c_char

A changelist the item is in, @c NULL if this node is not in a changelist.

§depth: svn_depth_t

The depth of the item, see #svn_depth_t

§recorded_size: svn_filesize_t

The size of the file after being translated into its local representation, or #SVN_INVALID_FILESIZE if unknown. Not applicable for directories.

§recorded_time: apr_time_t

The time at which the file had the recorded size recorded_size and was considered unmodified.

§conflicts: *const apr_array_header_t

Array of const svn_wc_conflict_description2_t * which contains info on any conflict of which this node is a victim. Otherwise NULL.

§wcroot_abspath: *const c_char

The local absolute path of the working copy root.

§moved_from_abspath: *const c_char

The path the node was moved from, if it was moved here. Else NULL. @since New in 1.8.

§moved_to_abspath: *const c_char

The path the node was moved to, if it was moved away. Else NULL. @since New in 1.8.

Trait Implementations§

Source§

impl Default for svn_wc_info_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.