pub struct RegisterServiceParams {
pub name: String,
pub backend: BackendSpec,
pub allow: Vec<String>,
}Expand description
Params of Request::RegisterService: the [services.*] entry to write/update.
Fields§
§name: String§backend: BackendSpec§allow: Vec<String>Trait Implementations§
Source§impl Clone for RegisterServiceParams
impl Clone for RegisterServiceParams
Source§fn clone(&self) -> RegisterServiceParams
fn clone(&self) -> RegisterServiceParams
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 RegisterServiceParams
impl Debug for RegisterServiceParams
Source§impl<'de> Deserialize<'de> for RegisterServiceParams
impl<'de> Deserialize<'de> for RegisterServiceParams
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
impl Eq for RegisterServiceParams
Source§impl PartialEq for RegisterServiceParams
impl PartialEq for RegisterServiceParams
Source§impl Serialize for RegisterServiceParams
impl Serialize for RegisterServiceParams
impl StructuralPartialEq for RegisterServiceParams
Auto Trait Implementations§
impl Freeze for RegisterServiceParams
impl RefUnwindSafe for RegisterServiceParams
impl Send for RegisterServiceParams
impl Sync for RegisterServiceParams
impl Unpin for RegisterServiceParams
impl UnsafeUnpin for RegisterServiceParams
impl UnwindSafe for RegisterServiceParams
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