#[repr(C)]pub struct svn_prop_t {
pub name: *const c_char,
pub value: *const svn_string_t,
}
Expand description
A general in-memory representation of a single property. Most of the time, property lists will be stored completely in hashes. But sometimes it’s useful to have an “ordered” collection of properties, in which case we use an array of these structures.
Also: sometimes we want a list that represents a set of property changes, and in this case, an @c apr_hash_t won’t work – there’s no way to represent a property deletion, because we can’t store a @c NULL value in a hash. So instead, we use these structures.
Fields§
§name: *const c_char
< Property name
value: *const svn_string_t
< Property value
Trait Implementations§
Source§impl Clone for svn_prop_t
impl Clone for svn_prop_t
Source§fn clone(&self) -> svn_prop_t
fn clone(&self) -> svn_prop_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_prop_t
impl Debug for svn_prop_t
Source§impl Default for svn_prop_t
impl Default for svn_prop_t
impl Copy for svn_prop_t
Auto Trait Implementations§
impl Freeze for svn_prop_t
impl RefUnwindSafe for svn_prop_t
impl !Send for svn_prop_t
impl !Sync for svn_prop_t
impl Unpin for svn_prop_t
impl UnwindSafe for svn_prop_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