Struct tea_sdk::actors::orbitdb::ProtoRequest
pub struct ProtoRequest(pub Cow<'static, str>, pub Vec<u8>);
Tuple Fields§
§0: Cow<'static, str>
§1: Vec<u8>
Trait Implementations§
§impl Clone for ProtoRequest
impl Clone for ProtoRequest
§fn clone(&self) -> ProtoRequest
fn clone(&self) -> ProtoRequest
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 more§impl Debug for ProtoRequest
impl Debug for ProtoRequest
§impl<'de> Deserialize<'de> for ProtoRequest
impl<'de> Deserialize<'de> for ProtoRequest
§fn deserialize<__D>(
__deserializer: __D
) -> Result<ProtoRequest, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>( __deserializer: __D ) -> Result<ProtoRequest, <__D as Deserializer<'de>>::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
§impl Request for ProtoRequest
impl Request for ProtoRequest
type Response = ProtoResponse
§impl Serialize for ProtoRequest
impl Serialize for ProtoRequest
§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>( &self, __serializer: __S ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where __S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl RefUnwindSafe for ProtoRequest
impl Send for ProtoRequest
impl Sync for ProtoRequest
impl Unpin for ProtoRequest
impl UnwindSafe for ProtoRequest
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