pub struct PingOptions { /* private fields */ }
Expand description
Options for the ping
command.
Implementations§
Source§impl PingOptions
impl PingOptions
pub fn message<M: Into<CommandArg>>(self, message: M) -> Self
Trait Implementations§
Source§impl Default for PingOptions
impl Default for PingOptions
Source§fn default() -> PingOptions
fn default() -> PingOptions
Returns the “default value” for a type. Read more
Source§impl IntoArgs for PingOptions
impl IntoArgs for PingOptions
fn into_args(self, args: CommandArgs) -> CommandArgs
fn num_args(&self) -> usize
Auto Trait Implementations§
impl Freeze for PingOptions
impl RefUnwindSafe for PingOptions
impl Send for PingOptions
impl Sync for PingOptions
impl Unpin for PingOptions
impl UnwindSafe for PingOptions
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