pub struct GetPosts<S: BosStr = DefaultStr> {
pub uris: Vec<AtUri<S>>,
}Fields§
§uris: Vec<AtUri<S>>Implementations§
Source§impl GetPosts<DefaultStr>
impl GetPosts<DefaultStr>
Sourcepub fn new() -> GetPostsBuilder<Empty, DefaultStr>
pub fn new() -> GetPostsBuilder<Empty, DefaultStr>
Create a new builder for this type, using the default string type (DefaultStr = SmolStr) if needed
Trait Implementations§
Source§impl<'de, S> Deserialize<'de> for GetPosts<S>where
S: Deserialize<'de> + BosStr,
impl<'de, S> Deserialize<'de> for GetPosts<S>where
S: Deserialize<'de> + BosStr,
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
impl<S: Eq + BosStr> Eq for GetPosts<S>
Source§impl<S: BosStr + IntoStatic> IntoStatic for GetPosts<S>
impl<S: BosStr + IntoStatic> IntoStatic for GetPosts<S>
Source§impl<S: PartialEq + BosStr> PartialEq for GetPosts<S>
impl<S: PartialEq + BosStr> PartialEq for GetPosts<S>
impl<S: BosStr> StructuralPartialEq for GetPosts<S>
Source§impl<S: BosStr> XrpcRequest for GetPosts<S>
impl<S: BosStr> XrpcRequest for GetPosts<S>
Source§const METHOD: XrpcMethod = jacquard_common::xrpc::XrpcMethod::Query
const METHOD: XrpcMethod = jacquard_common::xrpc::XrpcMethod::Query
XRPC method (query/GET or procedure/POST)
Source§type Response = GetPostsResponse
type Response = GetPostsResponse
Response type returned from the XRPC call (marker struct)
Source§fn encode_body(&self, buffer: &mut Vec<u8>) -> Result<(), EncodeError>where
Self: Serialize,
fn encode_body(&self, buffer: &mut Vec<u8>) -> Result<(), EncodeError>where
Self: Serialize,
Encode the request body for procedures. Read more
Source§fn decode_body<'de>(body: &'de [u8]) -> Result<Self, DecodeError>where
Self: Deserialize<'de>,
fn decode_body<'de>(body: &'de [u8]) -> Result<Self, DecodeError>where
Self: Deserialize<'de>,
Decode the request body for procedures. Read more
Auto Trait Implementations§
impl<S> Freeze for GetPosts<S>
impl<S> RefUnwindSafe for GetPosts<S>where
S: RefUnwindSafe,
impl<S> Send for GetPosts<S>where
S: Send,
impl<S> Sync for GetPosts<S>where
S: Sync,
impl<S> Unpin for GetPosts<S>where
S: Unpin,
impl<S> UnsafeUnpin for GetPosts<S>
impl<S> UnwindSafe for GetPosts<S>where
S: UnwindSafe,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.