#[non_exhaustive]pub struct CustomEmojiQueryInput<'a> {
pub filter_space_id: Option<&'a Id>,
pub position: Option<u64>,
pub limit: Option<u64>,
}Expand description
Input parameters for CustomEmoji/query.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.filter_space_id: Option<&'a Id>Filter to a specific Space’s custom emojis. None returns all emojis
visible to the account (Space-specific + server-global).
position: Option<u64>Zero-based starting offset within the query result.
limit: Option<u64>Maximum number of ids to return.
Trait Implementations§
Source§impl<'a> Clone for CustomEmojiQueryInput<'a>
impl<'a> Clone for CustomEmojiQueryInput<'a>
Source§fn clone(&self) -> CustomEmojiQueryInput<'a>
fn clone(&self) -> CustomEmojiQueryInput<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CustomEmojiQueryInput<'a>
impl<'a> Debug for CustomEmojiQueryInput<'a>
Source§impl<'a> Default for CustomEmojiQueryInput<'a>
impl<'a> Default for CustomEmojiQueryInput<'a>
Source§fn default() -> CustomEmojiQueryInput<'a>
fn default() -> CustomEmojiQueryInput<'a>
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl<'a> Freeze for CustomEmojiQueryInput<'a>
impl<'a> RefUnwindSafe for CustomEmojiQueryInput<'a>
impl<'a> Send for CustomEmojiQueryInput<'a>
impl<'a> Sync for CustomEmojiQueryInput<'a>
impl<'a> Unpin for CustomEmojiQueryInput<'a>
impl<'a> UnsafeUnpin for CustomEmojiQueryInput<'a>
impl<'a> UnwindSafe for CustomEmojiQueryInput<'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