pub struct ConfigurationRecord;Expand description
Marker type for deserializing records from this collection.
Trait Implementations§
Source§impl Collection for ConfigurationRecord
impl Collection for ConfigurationRecord
Source§const NSID: &'static str = "place.stream.metadata.configuration"
const NSID: &'static str = "place.stream.metadata.configuration"
The NSID for the Lexicon that defines the schema of records in this collection.
Source§type Record = ConfigurationRecord
type Record = ConfigurationRecord
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 ConfigurationRecord
impl Debug for ConfigurationRecord
Source§impl<'de> Deserialize<'de> for ConfigurationRecord
impl<'de> Deserialize<'de> for ConfigurationRecord
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 ConfigurationRecord
impl Serialize for ConfigurationRecord
Source§impl XrpcResp for ConfigurationRecord
impl XrpcResp for ConfigurationRecord
Source§const NSID: &'static str = "place.stream.metadata.configuration"
const NSID: &'static str = "place.stream.metadata.configuration"
The NSID for this XRPC method
Source§type Output<'de> = ConfigurationGetRecordOutput<'de>
type Output<'de> = ConfigurationGetRecordOutput<'de>
Response output type
Source§type Err<'de> = RecordError<'de>
type Err<'de> = RecordError<'de>
Error type for this request
Source§fn encode_output(output: &Self::Output<'_>) -> Result<Vec<u8>, EncodeError>
fn encode_output(output: &Self::Output<'_>) -> Result<Vec<u8>, EncodeError>
Output body encoding function, similar to the request-side type
Source§fn decode_output<'de>(body: &'de [u8]) -> Result<Self::Output<'de>, DecodeError>where
Self::Output<'de>: Deserialize<'de>,
fn decode_output<'de>(body: &'de [u8]) -> Result<Self::Output<'de>, DecodeError>where
Self::Output<'de>: Deserialize<'de>,
Decode the response output body. Read more
Auto Trait Implementations§
impl Freeze for ConfigurationRecord
impl RefUnwindSafe for ConfigurationRecord
impl Send for ConfigurationRecord
impl Sync for ConfigurationRecord
impl Unpin for ConfigurationRecord
impl UnsafeUnpin for ConfigurationRecord
impl UnwindSafe for ConfigurationRecord
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