pub struct ServiceAddress {
pub service_type: String,
pub argument: Option<String>,
}Expand description
Service address identifying a network service
Fields§
§service_type: StringService type identifier
argument: Option<String>Optional service argument
Trait Implementations§
Source§impl Clone for ServiceAddress
impl Clone for ServiceAddress
Source§fn clone(&self) -> ServiceAddress
fn clone(&self) -> ServiceAddress
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 ServiceAddress
impl Debug for ServiceAddress
Source§impl<'de> Deserialize<'de> for ServiceAddress
impl<'de> Deserialize<'de> for ServiceAddress
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 ServiceAddress
impl PartialEq for ServiceAddress
Source§impl Serialize for ServiceAddress
impl Serialize for ServiceAddress
impl StructuralPartialEq for ServiceAddress
Auto Trait Implementations§
impl Freeze for ServiceAddress
impl RefUnwindSafe for ServiceAddress
impl Send for ServiceAddress
impl Sync for ServiceAddress
impl Unpin for ServiceAddress
impl UnsafeUnpin for ServiceAddress
impl UnwindSafe for ServiceAddress
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