pub struct ServiceRecord {
pub name: String,
pub module_name: String,
pub status: String,
pub pid: Option<i32>,
pub port: i32,
}Fields§
§name: String§module_name: String§status: String§pid: Option<i32>§port: i32Implementations§
Source§impl ServiceRecord
impl ServiceRecord
Trait Implementations§
Source§impl Clone for ServiceRecord
impl Clone for ServiceRecord
Source§fn clone(&self) -> ServiceRecord
fn clone(&self) -> ServiceRecord
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 ServiceRecord
impl Debug for ServiceRecord
Source§impl<'de> Deserialize<'de> for ServiceRecord
impl<'de> Deserialize<'de> for ServiceRecord
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 ServiceRecord
impl RefUnwindSafe for ServiceRecord
impl Send for ServiceRecord
impl Sync for ServiceRecord
impl Unpin for ServiceRecord
impl UnsafeUnpin for ServiceRecord
impl UnwindSafe for ServiceRecord
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