pub struct ServiceObj {
pub name: String,
pub value: TransportService,
}Expand description
Transport service definition with a unique identifier.
Fields§
§name: String§value: TransportServiceImplementations§
Source§impl ServiceObj
impl ServiceObj
pub fn new(name: String, value: TransportService) -> Self
Trait Implementations§
Source§impl Clone for ServiceObj
impl Clone for ServiceObj
Source§fn clone(&self) -> ServiceObj
fn clone(&self) -> ServiceObj
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 ServiceObj
impl Debug for ServiceObj
Source§impl Display for ServiceObj
impl Display for ServiceObj
Source§impl Hash for ServiceObj
impl Hash for ServiceObj
Source§impl Ord for ServiceObj
impl Ord for ServiceObj
Source§impl PartialEq for ServiceObj
impl PartialEq for ServiceObj
Source§impl PartialOrd for ServiceObj
impl PartialOrd for ServiceObj
impl Eq for ServiceObj
Auto Trait Implementations§
impl Freeze for ServiceObj
impl RefUnwindSafe for ServiceObj
impl Send for ServiceObj
impl Sync for ServiceObj
impl Unpin for ServiceObj
impl UnwindSafe for ServiceObj
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