pub struct ServiceNode {
pub component: String,
pub public_key: String,
}
Fields§
§component: String
§public_key: String
Trait Implementations§
Source§impl Clone for ServiceNode
impl Clone for ServiceNode
Source§fn clone(&self) -> ServiceNode
fn clone(&self) -> ServiceNode
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 ServiceNode
impl Debug for ServiceNode
Source§impl<'de> Deserialize<'de> for ServiceNode
impl<'de> Deserialize<'de> for ServiceNode
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ServiceNode, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ServiceNode, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ServiceNode
impl RefUnwindSafe for ServiceNode
impl Send for ServiceNode
impl Sync for ServiceNode
impl Unpin for ServiceNode
impl UnwindSafe for ServiceNode
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