svn_client_commit_item2_t

Struct svn_client_commit_item2_t 

Source
#[repr(C)]
pub struct svn_client_commit_item2_t { pub path: *const c_char, pub kind: svn_node_kind_t, pub url: *const c_char, pub revision: svn_revnum_t, pub copyfrom_url: *const c_char, pub copyfrom_rev: svn_revnum_t, pub state_flags: apr_byte_t, pub wcprop_changes: *mut apr_array_header_t, }
Expand description

The commit candidate structure.

@deprecated Provided for backward compatibility with the 1.4 API.

Fields§

§path: *const c_char

absolute working-copy path of item

§kind: svn_node_kind_t

node kind (dir, file)

§url: *const c_char

commit URL for this item

§revision: svn_revnum_t

revision of textbase

§copyfrom_url: *const c_char

copyfrom-url or NULL if not a copied item

§copyfrom_rev: svn_revnum_t

copyfrom-rev, valid when copyfrom_url != NULL

§state_flags: apr_byte_t

state flags

§wcprop_changes: *mut apr_array_header_t

Analogous to the #svn_client_commit_item3_t.incoming_prop_changes field.

Trait Implementations§

Source§

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