pub struct GetPostThread<'a> {
pub depth: Option<i64>,
pub parent_height: Option<i64>,
pub uri: AtUri<'a>,
}Fields§
§depth: Option<i64>(default: 6, min: 0, max: 1000)
parent_height: Option<i64>(default: 80, min: 0, max: 1000)
uri: AtUri<'a>Implementations§
Source§impl<'a> GetPostThread<'a>
impl<'a> GetPostThread<'a>
Sourcepub fn new() -> GetPostThreadBuilder<'a>
pub fn new() -> GetPostThreadBuilder<'a>
Create an instance of GetPostThread using the builder syntax
Trait Implementations§
Source§impl<'a> Clone for GetPostThread<'a>
impl<'a> Clone for GetPostThread<'a>
Source§fn clone(&self) -> GetPostThread<'a>
fn clone(&self) -> GetPostThread<'a>
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<'a> Debug for GetPostThread<'a>
impl<'a> Debug for GetPostThread<'a>
Source§impl<'de: 'a, 'a> Deserialize<'de> for GetPostThread<'a>
impl<'de: 'a, 'a> Deserialize<'de> for GetPostThread<'a>
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<'a> IntoStatic for GetPostThread<'a>
impl<'a> IntoStatic for GetPostThread<'a>
Source§type Output = GetPostThread<'static>
type Output = GetPostThread<'static>
The “owned” variant of the type. For
Cow<'a, str>, this is Cow<'static, str>, for example.Source§fn into_static(self) -> Self::Output
fn into_static(self) -> Self::Output
Turns the value into an “owned” variant, which can then be returned, moved, etc. Read more
Source§impl<'a> PartialEq for GetPostThread<'a>
impl<'a> PartialEq for GetPostThread<'a>
Source§impl<'a> Serialize for GetPostThread<'a>
impl<'a> Serialize for GetPostThread<'a>
Source§impl<'de> XrpcRequest<'de> for GetPostThread<'de>
impl<'de> XrpcRequest<'de> for GetPostThread<'de>
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 = GetPostThreadResponse
type Response = GetPostThreadResponse
Response type returned from the XRPC call (marker struct)
Source§fn encode_body(&self) -> Result<Vec<u8>, EncodeError>
fn encode_body(&self) -> Result<Vec<u8>, EncodeError>
Encode the request body for procedures. Read more
Source§fn decode_body(body: &'de [u8]) -> Result<Box<Self>, DecodeError>
fn decode_body(body: &'de [u8]) -> Result<Box<Self>, DecodeError>
Decode the request body for procedures. Read more
impl<'a> Eq for GetPostThread<'a>
impl<'a> StructuralPartialEq for GetPostThread<'a>
Auto Trait Implementations§
impl<'a> Freeze for GetPostThread<'a>
impl<'a> RefUnwindSafe for GetPostThread<'a>
impl<'a> Send for GetPostThread<'a>
impl<'a> Sync for GetPostThread<'a>
impl<'a> Unpin for GetPostThread<'a>
impl<'a> UnwindSafe for GetPostThread<'a>
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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.