pub struct GetServiceReq {
pub service: Option<ServiceReference>,
}Expand description
GetServiceReq() (Table 29) — A → R: request the resource to provide a
service. An absent service reference (zero following bytes) requests a
network disconnect.
Fields§
§service: Option<ServiceReference>The requested service reference, or None for a network-disconnect request.
Trait Implementations§
Source§impl Clone for GetServiceReq
impl Clone for GetServiceReq
Source§fn clone(&self) -> GetServiceReq
fn clone(&self) -> GetServiceReq
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 moreimpl Copy for GetServiceReq
Source§impl Debug for GetServiceReq
impl Debug for GetServiceReq
Source§impl Default for GetServiceReq
impl Default for GetServiceReq
Source§fn default() -> GetServiceReq
fn default() -> GetServiceReq
Returns the “default value” for a type. Read more
impl Eq for GetServiceReq
Source§impl<'a> Parse<'a> for GetServiceReq
impl<'a> Parse<'a> for GetServiceReq
Source§impl PartialEq for GetServiceReq
impl PartialEq for GetServiceReq
Source§impl Serialize for GetServiceReq
Available on crate feature serde only.
impl Serialize for GetServiceReq
Available on crate feature
serde only.Source§impl Serialize for GetServiceReq
impl Serialize for GetServiceReq
Source§type Error = Error
type Error = Error
The error type this implementer returns (usually the same as the
corresponding
Parse impl, but need not be).Source§fn serialized_len(&self) -> usize
fn serialized_len(&self) -> usize
Number of bytes
serialize_into will write.impl StructuralPartialEq for GetServiceReq
Auto Trait Implementations§
impl Freeze for GetServiceReq
impl RefUnwindSafe for GetServiceReq
impl Send for GetServiceReq
impl Sync for GetServiceReq
impl Unpin for GetServiceReq
impl UnsafeUnpin for GetServiceReq
impl UnwindSafe for GetServiceReq
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