#[repr(C)]pub struct svn_opt_subcommand_desc_t {
pub name: *const c_char,
pub cmd_func: svn_opt_subcommand_t,
pub aliases: [*const c_char; 3],
pub help: *const c_char,
pub valid_options: [c_int; 50],
}
Expand description
One element of a subcommand dispatch table.
@deprecated Provided for backward compatibility with the 1.3 API.
Like #svn_opt_subcommand_desc2_t but lacking the @c desc_overrides member.
Fields§
§name: *const c_char
The full name of this command.
cmd_func: svn_opt_subcommand_t
The function this command invokes.
aliases: [*const c_char; 3]
A list of alias names for this command (e.g., ‘up’ for ‘update’).
help: *const c_char
A brief string describing this command, for usage messages.
valid_options: [c_int; 50]
A list of options accepted by this command. Each value in the array is a unique enum (the 2nd field in apr_getopt_option_t)
Trait Implementations§
Source§impl Clone for svn_opt_subcommand_desc_t
impl Clone for svn_opt_subcommand_desc_t
Source§fn clone(&self) -> svn_opt_subcommand_desc_t
fn clone(&self) -> svn_opt_subcommand_desc_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_opt_subcommand_desc_t
impl Debug for svn_opt_subcommand_desc_t
Source§impl Default for svn_opt_subcommand_desc_t
impl Default for svn_opt_subcommand_desc_t
impl Copy for svn_opt_subcommand_desc_t
Auto Trait Implementations§
impl Freeze for svn_opt_subcommand_desc_t
impl RefUnwindSafe for svn_opt_subcommand_desc_t
impl !Send for svn_opt_subcommand_desc_t
impl !Sync for svn_opt_subcommand_desc_t
impl Unpin for svn_opt_subcommand_desc_t
impl UnwindSafe for svn_opt_subcommand_desc_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