pub struct ServiceState {
pub name: String,
pub code: u64,
pub sequence: u64,
pub data: Vec<(u16, Value)>,
}
Fields§
§name: String
§code: u64
§sequence: u64
§data: Vec<(u16, Value)>
Implementations§
Source§impl ServiceState
impl ServiceState
Trait Implementations§
Source§impl Clone for ServiceState
impl Clone for ServiceState
Source§fn clone(&self) -> ServiceState
fn clone(&self) -> ServiceState
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 ServiceState
impl Debug for ServiceState
Source§impl Default for ServiceState
impl Default for ServiceState
Source§fn default() -> ServiceState
fn default() -> ServiceState
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ServiceState
impl<'de> Deserialize<'de> for ServiceState
Source§fn deserialize<D>(deserializer: D) -> Result<ServiceState, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<ServiceState, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<&ServiceState> for Value
impl From<&ServiceState> for Value
Source§fn from(state: &ServiceState) -> Self
fn from(state: &ServiceState) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ServiceState
impl PartialEq for ServiceState
Source§impl Serialize for ServiceState
impl Serialize for ServiceState
Source§impl TryFrom<&Value> for ServiceState
impl TryFrom<&Value> for ServiceState
impl StructuralPartialEq for ServiceState
Auto Trait Implementations§
impl Freeze for ServiceState
impl RefUnwindSafe for ServiceState
impl Send for ServiceState
impl Sync for ServiceState
impl Unpin for ServiceState
impl UnwindSafe for ServiceState
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