#[repr(C)]pub struct svn_opt_subcommand_desc3_t {
pub name: *const c_char,
pub cmd_func: svn_opt_subcommand_t,
pub aliases: [*const c_char; 3],
pub help: [*const c_char; 100],
pub valid_options: [c_int; 50],
pub desc_overrides: [svn_opt_subcommand_desc3_t__bindgen_ty_1; 50],
}
Expand description
One element of a subcommand dispatch table.
@since New in 1.11.
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; 100]
A multi-paragraph string describing this command.
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)
desc_overrides: [svn_opt_subcommand_desc3_t__bindgen_ty_1; 50]
Trait Implementations§
Source§impl Clone for svn_opt_subcommand_desc3_t
impl Clone for svn_opt_subcommand_desc3_t
Source§fn clone(&self) -> svn_opt_subcommand_desc3_t
fn clone(&self) -> svn_opt_subcommand_desc3_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_desc3_t
impl Debug for svn_opt_subcommand_desc3_t
Source§impl Default for svn_opt_subcommand_desc3_t
impl Default for svn_opt_subcommand_desc3_t
impl Copy for svn_opt_subcommand_desc3_t
Auto Trait Implementations§
impl Freeze for svn_opt_subcommand_desc3_t
impl RefUnwindSafe for svn_opt_subcommand_desc3_t
impl !Send for svn_opt_subcommand_desc3_t
impl !Sync for svn_opt_subcommand_desc3_t
impl Unpin for svn_opt_subcommand_desc3_t
impl UnwindSafe for svn_opt_subcommand_desc3_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