pub struct RequestRecord;Expand description
Marker type for deserializing records from this collection.
Trait Implementations§
Source§impl Collection for RequestRecord
impl Collection for RequestRecord
Source§const NSID: &'static str = "place.stream.beta.request"
const NSID: &'static str = "place.stream.beta.request"
The NSID for the Lexicon that defines the schema of records in this collection.
Source§type Record = RequestRecord
type Record = RequestRecord
A marker type implementing
XrpcResp that allows typed deserialization of records
from this collection. Used by AgentSessionExt::get_record to return properly typed responses.Source§impl Debug for RequestRecord
impl Debug for RequestRecord
Source§impl<'de> Deserialize<'de> for RequestRecord
impl<'de> Deserialize<'de> for RequestRecord
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
Source§impl Serialize for RequestRecord
impl Serialize for RequestRecord
Source§impl XrpcResp for RequestRecord
impl XrpcResp for RequestRecord
Source§type Output<S: BosStr> = RequestGetRecordOutput<S>
type Output<S: BosStr> = RequestGetRecordOutput<S>
Response output type, parameterised on backing string type.
Source§type Err = RecordError
type Err = RecordError
Error type for this request. Always owned (
DeserializeOwned).Source§fn encode_output<S>(output: &Self::Output<S>) -> Result<Vec<u8>, EncodeError>
fn encode_output<S>(output: &Self::Output<S>) -> Result<Vec<u8>, EncodeError>
Encode the response output body. Read more
Source§fn decode_output<'de, S>(
body: &'de [u8],
) -> Result<Self::Output<S>, DecodeError>
fn decode_output<'de, S>( body: &'de [u8], ) -> Result<Self::Output<S>, DecodeError>
Decode the response output body. Read more
Auto Trait Implementations§
impl Freeze for RequestRecord
impl RefUnwindSafe for RequestRecord
impl Send for RequestRecord
impl Sync for RequestRecord
impl Unpin for RequestRecord
impl UnsafeUnpin for RequestRecord
impl UnwindSafe for RequestRecord
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