Struct seella::DbModeOptions
source · pub struct DbModeOptions {
pub session_id: String,
pub addr: DbAddr,
}
Expand description
Options that are specific to the DB mode of operation.
Fields§
§session_id: String
The session id to be visualised.
addr: DbAddr
Socket Address (IP address and port) for the database connection. See std::net::SocketAddr::from_str.
Trait Implementations§
source§impl Args for DbModeOptions
impl Args for DbModeOptions
source§fn group_id() -> Option<Id>
fn group_id() -> Option<Id>
Report the [
ArgGroup::id
][crate::ArgGroup::id] for this set of argumentssource§fn augment_args<'b>(__clap_app: Command) -> Command
fn augment_args<'b>(__clap_app: Command) -> Command
source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
fn augment_args_for_update<'b>(__clap_app: Command) -> Command
source§impl Clone for DbModeOptions
impl Clone for DbModeOptions
source§fn clone(&self) -> DbModeOptions
fn clone(&self) -> DbModeOptions
Returns a copy 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 DbModeOptions
impl Debug for DbModeOptions
source§impl Default for DbModeOptions
impl Default for DbModeOptions
source§fn default() -> DbModeOptions
fn default() -> DbModeOptions
Returns the “default value” for a type. Read more
source§impl FromArgMatches for DbModeOptions
impl FromArgMatches for DbModeOptions
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches
) -> Result<Self, Error>
fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches ) -> Result<Self, Error>
source§fn update_from_arg_matches(
&mut self,
__clap_arg_matches: &ArgMatches
) -> Result<(), Error>
fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches ) -> Result<(), Error>
Assign values from
ArgMatches
to self
.source§fn update_from_arg_matches_mut(
&mut self,
__clap_arg_matches: &mut ArgMatches
) -> Result<(), Error>
fn update_from_arg_matches_mut( &mut self, __clap_arg_matches: &mut ArgMatches ) -> Result<(), Error>
Assign values from
ArgMatches
to self
.Auto Trait Implementations§
impl RefUnwindSafe for DbModeOptions
impl Send for DbModeOptions
impl Sync for DbModeOptions
impl Unpin for DbModeOptions
impl UnwindSafe for DbModeOptions
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