pub struct GetLiveUsers {
pub before: Option<Datetime>,
pub limit: Option<i64>,
}Fields§
§before: Option<Datetime>§limit: Option<i64>Defaults to 50. Min: 1. Max: 100.
Implementations§
Source§impl GetLiveUsers
impl GetLiveUsers
Sourcepub fn new() -> GetLiveUsersBuilder<Empty>
pub fn new() -> GetLiveUsersBuilder<Empty>
Create a new builder for this type
Trait Implementations§
Source§impl Clone for GetLiveUsers
impl Clone for GetLiveUsers
Source§fn clone(&self) -> GetLiveUsers
fn clone(&self) -> GetLiveUsers
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 Debug for GetLiveUsers
impl Debug for GetLiveUsers
Source§impl<'de> Deserialize<'de> for GetLiveUsers
impl<'de> Deserialize<'de> for GetLiveUsers
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 IntoStatic for GetLiveUsers
impl IntoStatic for GetLiveUsers
Source§type Output = GetLiveUsers
type Output = GetLiveUsers
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 PartialEq for GetLiveUsers
impl PartialEq for GetLiveUsers
Source§impl Serialize for GetLiveUsers
impl Serialize for GetLiveUsers
Source§impl XrpcRequest for GetLiveUsers
impl XrpcRequest for GetLiveUsers
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 = GetLiveUsersResponse
type Response = GetLiveUsersResponse
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<'de>(body: &'de [u8]) -> Result<Box<Self>, DecodeError>where
Self: Deserialize<'de>,
fn decode_body<'de>(body: &'de [u8]) -> Result<Box<Self>, DecodeError>where
Self: Deserialize<'de>,
Decode the request body for procedures. Read more
impl Eq for GetLiveUsers
impl StructuralPartialEq for GetLiveUsers
Auto Trait Implementations§
impl Freeze for GetLiveUsers
impl RefUnwindSafe for GetLiveUsers
impl Send for GetLiveUsers
impl Sync for GetLiveUsers
impl Unpin for GetLiveUsers
impl UnsafeUnpin for GetLiveUsers
impl UnwindSafe for GetLiveUsers
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.