pub struct ServiceCallResponse {
pub service_id: ChannelId,
pub call_id: u32,
pub encoding: Vec<u8>,
pub payload: Vec<u8>,
}
Fields§
§service_id: ChannelId
§call_id: u32
§encoding: Vec<u8>
§payload: Vec<u8>
Implementations§
Source§impl ServiceCallResponse
impl ServiceCallResponse
pub fn into_message(self) -> DigitalisResult<Message>
Trait Implementations§
Source§impl Clone for ServiceCallResponse
impl Clone for ServiceCallResponse
Source§fn clone(&self) -> ServiceCallResponse
fn clone(&self) -> ServiceCallResponse
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 ServiceCallResponse
impl Debug for ServiceCallResponse
Source§impl From<ServiceCallResponse> for ServerBinaryMessage
impl From<ServiceCallResponse> for ServerBinaryMessage
Source§fn from(msg: ServiceCallResponse) -> Self
fn from(msg: ServiceCallResponse) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ServiceCallResponse
impl PartialEq for ServiceCallResponse
impl Eq for ServiceCallResponse
impl StructuralPartialEq for ServiceCallResponse
Auto Trait Implementations§
impl Freeze for ServiceCallResponse
impl RefUnwindSafe for ServiceCallResponse
impl Send for ServiceCallResponse
impl Sync for ServiceCallResponse
impl Unpin for ServiceCallResponse
impl UnwindSafe for ServiceCallResponse
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