pub struct StatusVersionSpec {
pub name: String,
pub protocol: i32,
}
Fields§
§name: String
§protocol: i32
Trait Implementations§
Source§impl Clone for StatusVersionSpec
impl Clone for StatusVersionSpec
Source§fn clone(&self) -> StatusVersionSpec
fn clone(&self) -> StatusVersionSpec
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 StatusVersionSpec
impl Debug for StatusVersionSpec
Source§impl<'de> Deserialize<'de> for StatusVersionSpec
impl<'de> Deserialize<'de> for StatusVersionSpec
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for StatusVersionSpec
impl PartialEq for StatusVersionSpec
Source§impl Serialize for StatusVersionSpec
impl Serialize for StatusVersionSpec
impl StructuralPartialEq for StatusVersionSpec
Auto Trait Implementations§
impl Freeze for StatusVersionSpec
impl RefUnwindSafe for StatusVersionSpec
impl Send for StatusVersionSpec
impl Sync for StatusVersionSpec
impl Unpin for StatusVersionSpec
impl UnwindSafe for StatusVersionSpec
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