pub struct ServiceIdAndVersionString {
pub service_id: Option<Box<String>>,
pub version: Option<Box<String>>,
}
Fields§
§service_id: Option<Box<String>>
§version: Option<Box<String>>
Implementations§
source§impl ServiceIdAndVersionString
impl ServiceIdAndVersionString
pub fn new() -> ServiceIdAndVersionString
Trait Implementations§
source§impl Clone for ServiceIdAndVersionString
impl Clone for ServiceIdAndVersionString
source§fn clone(&self) -> ServiceIdAndVersionString
fn clone(&self) -> ServiceIdAndVersionString
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 ServiceIdAndVersionString
impl Debug for ServiceIdAndVersionString
source§impl Default for ServiceIdAndVersionString
impl Default for ServiceIdAndVersionString
source§fn default() -> ServiceIdAndVersionString
fn default() -> ServiceIdAndVersionString
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ServiceIdAndVersionString
impl<'de> Deserialize<'de> for ServiceIdAndVersionString
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<ServiceIdAndVersionString> for ServiceIdAndVersionString
impl PartialEq<ServiceIdAndVersionString> for ServiceIdAndVersionString
source§fn eq(&self, other: &ServiceIdAndVersionString) -> bool
fn eq(&self, other: &ServiceIdAndVersionString) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ServiceIdAndVersionString
Auto Trait Implementations§
impl RefUnwindSafe for ServiceIdAndVersionString
impl Send for ServiceIdAndVersionString
impl Sync for ServiceIdAndVersionString
impl Unpin for ServiceIdAndVersionString
impl UnwindSafe for ServiceIdAndVersionString
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