Struct aldrin_core::message::CreateService
source · pub struct CreateService {
pub serial: u32,
pub object_cookie: ObjectCookie,
pub uuid: ServiceUuid,
pub version: u32,
}Fields§
§serial: u32§uuid: ServiceUuid§version: u32Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for CreateService
impl<'arbitrary> Arbitrary<'arbitrary> for CreateService
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of
Self from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of
Self from the entirety of the given
unstructured data. Read moresource§impl Clone for CreateService
impl Clone for CreateService
source§fn clone(&self) -> CreateService
fn clone(&self) -> CreateService
Returns a copy 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 CreateService
impl Debug for CreateService
source§impl From<CreateService> for Message
impl From<CreateService> for Message
source§fn from(msg: CreateService) -> Self
fn from(msg: CreateService) -> Self
Converts to this type from the input type.
source§impl MessageOps for CreateService
impl MessageOps for CreateService
fn kind(&self) -> MessageKind
fn serialize_message(self) -> Result<BytesMut, MessageSerializeError>
fn deserialize_message(buf: BytesMut) -> Result<Self, MessageDeserializeError>
fn value(&self) -> Option<&SerializedValueSlice>
source§impl PartialEq for CreateService
impl PartialEq for CreateService
source§fn eq(&self, other: &CreateService) -> bool
fn eq(&self, other: &CreateService) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for CreateService
impl Eq for CreateService
impl StructuralEq for CreateService
impl StructuralPartialEq for CreateService
Auto Trait Implementations§
impl RefUnwindSafe for CreateService
impl Send for CreateService
impl Sync for CreateService
impl Unpin for CreateService
impl UnwindSafe for CreateService
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