pub struct StringCmdData {
pub command: Option<String>,
}
Fields§
§command: Option<String>
Implementations§
Source§impl StringCmdData
impl StringCmdData
pub fn to_vec(&self) -> Vec<(&'static str, ProtobufValue)>
Trait Implementations§
Source§impl Clone for StringCmdData
impl Clone for StringCmdData
Source§fn clone(&self) -> StringCmdData
fn clone(&self) -> StringCmdData
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for StringCmdData
impl RefUnwindSafe for StringCmdData
impl Send for StringCmdData
impl Sync for StringCmdData
impl Unpin for StringCmdData
impl UnwindSafe for StringCmdData
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