pub struct BasicServiceInfo {
pub name: String,
pub service_key: String,
pub service_type: u64,
pub type_pretty: String,
}
Fields§
§name: String
§service_key: String
§service_type: u64
§type_pretty: String
Implementations§
Source§impl BasicServiceInfo
impl BasicServiceInfo
Sourcepub fn into_id(self) -> ServiceIdentifier
pub fn into_id(self) -> ServiceIdentifier
Converts the Service into into an identifier that can be used for requests consuming service references
Trait Implementations§
Source§impl Clone for BasicServiceInfo
impl Clone for BasicServiceInfo
Source§fn clone(&self) -> BasicServiceInfo
fn clone(&self) -> BasicServiceInfo
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 BasicServiceInfo
impl Debug for BasicServiceInfo
Source§impl<'de> Deserialize<'de> for BasicServiceInfo
impl<'de> Deserialize<'de> for BasicServiceInfo
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
Auto Trait Implementations§
impl Freeze for BasicServiceInfo
impl RefUnwindSafe for BasicServiceInfo
impl Send for BasicServiceInfo
impl Sync for BasicServiceInfo
impl Unpin for BasicServiceInfo
impl UnwindSafe for BasicServiceInfo
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