Struct sota::datatype::request::Package
[−]
[src]
pub struct Package { pub name: String, pub version: String, }
Encodes the name and version of a specific package.
Fields
name | |
version |
Trait Implementations
impl Display for Package
[src]
Derived Implementations
impl Clone for Package
[src]
fn clone(&self) -> Package
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Debug for Package
[src]
impl Eq for Package
[src]
impl PartialEq for Package
[src]
fn eq(&self, __arg_0: &Package) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Package) -> bool
This method tests for !=
.
impl Encodable for Package
[src]
fn encode<__S: Encoder>(&self, __arg_0: &mut __S) -> Result<(), __S::Error>
Serialize a value using an Encoder
.