diff --git a/.lock b/.lock new file mode 100644 index 000000000..e69de29bb diff --git a/.nojekyll b/.nojekyll new file mode 100644 index 000000000..e69de29bb diff --git a/client_sdk/all.html b/client_sdk/all.html new file mode 100644 index 000000000..698b0b869 --- /dev/null +++ b/client_sdk/all.html @@ -0,0 +1 @@ +List of all items in this crate

List of all items

Structs

Enums

Traits

Macros

Type Aliases

Constants

\ No newline at end of file diff --git a/client_sdk/api/asset/enum.AssetQuery.html b/client_sdk/api/asset/enum.AssetQuery.html new file mode 100644 index 000000000..f52c1375c --- /dev/null +++ b/client_sdk/api/asset/enum.AssetQuery.html @@ -0,0 +1,41 @@ +AssetQuery in client_sdk::api::asset - Rust

Enum client_sdk::api::asset::AssetQuery

source ·
pub enum AssetQuery {
+    Flags {
+        flags: u16,
+    },
+    HumanReadable {
+        quality: u8,
+        animated: bool,
+        with_alpha: bool,
+        ext: Option<SmolStr>,
+    },
+}
Expand description

When fetching assets, this query can be used to specify the desired asset format.

+

Variants§

§

Flags

Simple and efficient query using bitflags, e.g. ?f=1234

+

Fields

§flags: u16

Bitfield of flags to filter by

+
§

HumanReadable

Human-readable query, e.g. ?q=100&a=1&t=1&ext=png

+

Fields

§quality: u8

Quality of the asset from 0-100

+
§animated: bool

Whether to select animated assets

+
§with_alpha: bool

Whether to select assets with alpha channels

+
§ext: Option<SmolStr>

File extension to filter by if picking a specific format

+

Trait Implementations§

source§

impl Clone for AssetQuery

source§

fn clone(&self) -> AssetQuery

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for AssetQuery

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl From<AssetFlags> for AssetQuery

source§

fn from(flags: AssetFlags) -> Self

Converts to this type from the input type.
source§

impl From<AssetQuery> for AssetFlags

source§

fn from(query: AssetQuery) -> Self

Converts to this type from the input type.
source§

impl Serialize for AssetQuery

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where + T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where + T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/asset/index.html b/client_sdk/api/asset/index.html new file mode 100644 index 000000000..0f2235d40 --- /dev/null +++ b/client_sdk/api/asset/index.html @@ -0,0 +1,2 @@ +client_sdk::api::asset - Rust

Module client_sdk::api::asset

source ·
Expand description

Asset handling utilities and types

+

Re-exports§

Enums§

  • When fetching assets, this query can be used to specify the desired asset format.
\ No newline at end of file diff --git a/client_sdk/api/asset/sidebar-items.js b/client_sdk/api/asset/sidebar-items.js new file mode 100644 index 000000000..b3b29c72b --- /dev/null +++ b/client_sdk/api/asset/sidebar-items.js @@ -0,0 +1 @@ +window.SIDEBAR_ITEMS = {"enum":["AssetQuery"]}; \ No newline at end of file diff --git a/client_sdk/api/command/struct.CommandFlags.html b/client_sdk/api/command/struct.CommandFlags.html new file mode 100644 index 000000000..9abb59255 --- /dev/null +++ b/client_sdk/api/command/struct.CommandFlags.html @@ -0,0 +1,11 @@ + + + + + Redirection + + +

Redirecting to ../../../client_sdk/api/struct.CommandFlags.html...

+ + + \ No newline at end of file diff --git a/client_sdk/api/command/struct.MissingItemError.html b/client_sdk/api/command/struct.MissingItemError.html new file mode 100644 index 000000000..3e24d6930 --- /dev/null +++ b/client_sdk/api/command/struct.MissingItemError.html @@ -0,0 +1,11 @@ + + + + + Redirection + + +

Redirecting to ../../../client_sdk/api/struct.MissingItemError.html...

+ + + \ No newline at end of file diff --git a/client_sdk/api/command/struct.RateLimit.html b/client_sdk/api/command/struct.RateLimit.html new file mode 100644 index 000000000..3cd661112 --- /dev/null +++ b/client_sdk/api/command/struct.RateLimit.html @@ -0,0 +1,11 @@ + + + + + Redirection + + +

Redirecting to ../../../client_sdk/api/struct.RateLimit.html...

+ + + \ No newline at end of file diff --git a/client_sdk/api/command/trait.Command.html b/client_sdk/api/command/trait.Command.html new file mode 100644 index 000000000..d0216051b --- /dev/null +++ b/client_sdk/api/command/trait.Command.html @@ -0,0 +1,11 @@ + + + + + Redirection + + +

Redirecting to ../../../client_sdk/api/trait.Command.html...

+ + + \ No newline at end of file diff --git a/client_sdk/api/command/trait.CommandBody.html b/client_sdk/api/command/trait.CommandBody.html new file mode 100644 index 000000000..ba091e4f8 --- /dev/null +++ b/client_sdk/api/command/trait.CommandBody.html @@ -0,0 +1,11 @@ + + + + + Redirection + + +

Redirecting to ../../../client_sdk/api/trait.CommandBody.html...

+ + + \ No newline at end of file diff --git a/client_sdk/api/command/trait.CommandResult.html b/client_sdk/api/command/trait.CommandResult.html new file mode 100644 index 000000000..8c39e65bf --- /dev/null +++ b/client_sdk/api/command/trait.CommandResult.html @@ -0,0 +1,11 @@ + + + + + Redirection + + +

Redirecting to ../../../client_sdk/api/trait.CommandResult.html...

+ + + \ No newline at end of file diff --git a/client_sdk/api/commands/all/index.html b/client_sdk/api/commands/all/index.html new file mode 100644 index 000000000..e3884a2a1 --- /dev/null +++ b/client_sdk/api/commands/all/index.html @@ -0,0 +1 @@ +client_sdk::api::commands::all - Rust

Module client_sdk::api::commands::all

source ·

Re-exports§

\ No newline at end of file diff --git a/client_sdk/api/commands/all/sidebar-items.js b/client_sdk/api/commands/all/sidebar-items.js new file mode 100644 index 000000000..5244ce01c --- /dev/null +++ b/client_sdk/api/commands/all/sidebar-items.js @@ -0,0 +1 @@ +window.SIDEBAR_ITEMS = {}; \ No newline at end of file diff --git a/client_sdk/api/commands/config/index.html b/client_sdk/api/commands/config/index.html new file mode 100644 index 000000000..1fb63c8dd --- /dev/null +++ b/client_sdk/api/commands/config/index.html @@ -0,0 +1 @@ +client_sdk::api::commands::config - Rust

Module client_sdk::api::commands::config

source ·

Structs§

\ No newline at end of file diff --git a/client_sdk/api/commands/config/sidebar-items.js b/client_sdk/api/commands/config/sidebar-items.js new file mode 100644 index 000000000..ea71be487 --- /dev/null +++ b/client_sdk/api/commands/config/sidebar-items.js @@ -0,0 +1 @@ +window.SIDEBAR_ITEMS = {"struct":["ArchivedGetServerConfig","GetServerConfig","GetServerConfigResolver"]}; \ No newline at end of file diff --git a/client_sdk/api/commands/config/struct.ArchivedGetServerConfig.html b/client_sdk/api/commands/config/struct.ArchivedGetServerConfig.html new file mode 100644 index 000000000..3e4d69ba2 --- /dev/null +++ b/client_sdk/api/commands/config/struct.ArchivedGetServerConfig.html @@ -0,0 +1,26 @@ +ArchivedGetServerConfig in client_sdk::api::commands::config - Rust

Struct client_sdk::api::commands::config::ArchivedGetServerConfig

source ·
#[repr(C)]
pub struct ArchivedGetServerConfig {}
Expand description

An archived GetServerConfig

+

Trait Implementations§

source§

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedGetServerConfig
where + <__C as Fallible>::Error: Trace,

source§

unsafe fn check_bytes( + value: *const Self, + context: &mut __C, +) -> Result<(), <__C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Portable for ArchivedGetServerConfig

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/config/struct.GetServerConfig.html b/client_sdk/api/commands/config/struct.GetServerConfig.html new file mode 100644 index 000000000..b4b2d623f --- /dev/null +++ b/client_sdk/api/commands/config/struct.GetServerConfig.html @@ -0,0 +1,44 @@ +GetServerConfig in client_sdk::api::commands::config - Rust

Struct client_sdk::api::commands::config::GetServerConfig

source ·
pub struct GetServerConfig {}
Expand description

Gets the global server configuration

+

Implementations§

source§

impl GetServerConfig

source

pub const fn new() -> Self

Construct new instance from individual fields

+

Trait Implementations§

source§

impl Archive for GetServerConfig

source§

type Archived = ArchivedGetServerConfig

The archived representation of this type. Read more
source§

type Resolver = GetServerConfigResolver

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
source§

impl Command for GetServerConfig

source§

const STREAM: bool = false

Whether the command returns one or many items
source§

const IS_QUERY: bool = true

Whether the command has a query string or sends a body
source§

async fn collect<S, E>(stream: S) -> Result<Self::Result, E>
where + S: Stream<Item = Result<Self::Item, E>> + Send, + E: From<MissingItemError>,

Used to collect the Result from an arbitrary Stream of items.
source§

type Item = ServerConfig

The underlying type of each returned item, be it one or many.
source§

type Result = ServerConfig

Item(s) returned from the server by a given command
source§

const HTTP_METHOD: Method = http::Method::GET

HTTP Method used to execute the command
source§

const FLAGS: CommandFlags = _

Flags for the command, defaults to empty.
source§

const RATE_LIMIT: RateLimit = _

Baseline rate-limiting parameters, defaults to RateLimit::DEFAULT. Read more
source§

const SERVER_TIMEOUT: Duration = _

On the server side, how long to wait before timing out the request.
source§

fn perms(&self) -> Permissions

Computes required permissions
source§

const ROUTE_PATTERN: &'static str = "/api/v1/config"

Path pattern for the command (without query) when used with matchit 0.8 or higher.
source§

fn format_path<W: Write>(&self, w: W) -> Result

Serialize/format the REST path (without query)
source§

type Body = ()

Body type for the command
source§

fn body(&self) -> &Self::Body

Body to be serialized as request body or query parameters (if GET)
source§

fn body_size_hint(&self) -> usize

Hint given to preallocate body size, only used for query strings
source§

fn add_headers(&self, _map: &mut HeaderMap)

Insert any additional headers required to perform this command
source§

impl Debug for GetServerConfig

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<__D: Fallible + ?Sized> Deserialize<GetServerConfig, __D> for Archived<GetServerConfig>

source§

fn deserialize( + &self, + deserializer: &mut __D, +) -> Result<GetServerConfig, <__D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<__S: Fallible + ?Sized> Serialize<__S> for GetServerConfig

source§

fn serialize( + &self, + serializer: &mut __S, +) -> Result<<Self as Archive>::Resolver, <__S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/config/struct.GetServerConfigResolver.html b/client_sdk/api/commands/config/struct.GetServerConfigResolver.html new file mode 100644 index 000000000..4c34e68e4 --- /dev/null +++ b/client_sdk/api/commands/config/struct.GetServerConfigResolver.html @@ -0,0 +1,21 @@ +GetServerConfigResolver in client_sdk::api::commands::config - Rust

Struct client_sdk::api::commands::config::GetServerConfigResolver

source ·
pub struct GetServerConfigResolver {}
Expand description

The resolver for an archived GetServerConfig

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/file/index.html b/client_sdk/api/commands/file/index.html new file mode 100644 index 000000000..cc1e35e79 --- /dev/null +++ b/client_sdk/api/commands/file/index.html @@ -0,0 +1 @@ +client_sdk::api::commands::file - Rust

Module client_sdk::api::commands::file

source ·

Structs§

\ No newline at end of file diff --git a/client_sdk/api/commands/file/sidebar-items.js b/client_sdk/api/commands/file/sidebar-items.js new file mode 100644 index 000000000..aa93568fc --- /dev/null +++ b/client_sdk/api/commands/file/sidebar-items.js @@ -0,0 +1 @@ +window.SIDEBAR_ITEMS = {"struct":["ArchivedCreateFile","ArchivedCreateFileBody","ArchivedFileStatus","ArchivedFilesystemStatus","ArchivedGetFileStatus","ArchivedGetFilesystemStatus","CreateFile","CreateFileBody","CreateFileBodyResolver","CreateFileResolver","FileStatus","FileStatusResolver","FilesystemStatus","FilesystemStatusResolver","GetFileStatus","GetFileStatusResolver","GetFilesystemStatus","GetFilesystemStatusResolver"]}; \ No newline at end of file diff --git a/client_sdk/api/commands/file/struct.ArchivedCreateFile.html b/client_sdk/api/commands/file/struct.ArchivedCreateFile.html new file mode 100644 index 000000000..d6deadd44 --- /dev/null +++ b/client_sdk/api/commands/file/struct.ArchivedCreateFile.html @@ -0,0 +1,33 @@ +ArchivedCreateFile in client_sdk::api::commands::file - Rust

Struct client_sdk::api::commands::file::ArchivedCreateFile

source ·
#[repr(C)]
pub struct ArchivedCreateFile
where + CreateFileBody: Archive,
{ + pub body: <CreateFileBody as Archive>::Archived, +}
Expand description

An archived CreateFile

+

Fields§

§body: <CreateFileBody as Archive>::Archived

Trait Implementations§

source§

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedCreateFile
where + CreateFileBody: Archive, + <__C as Fallible>::Error: Trace, + <CreateFileBody as Archive>::Archived: CheckBytes<__C>,

source§

unsafe fn check_bytes( + value: *const Self, + context: &mut __C, +) -> Result<(), <__C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Portable for ArchivedCreateFile
where + CreateFileBody: Archive, + <CreateFileBody as Archive>::Archived: Portable,

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/file/struct.ArchivedCreateFileBody.html b/client_sdk/api/commands/file/struct.ArchivedCreateFileBody.html new file mode 100644 index 000000000..34caab1e5 --- /dev/null +++ b/client_sdk/api/commands/file/struct.ArchivedCreateFileBody.html @@ -0,0 +1,58 @@ +ArchivedCreateFileBody in client_sdk::api::commands::file - Rust

Struct client_sdk::api::commands::file::ArchivedCreateFileBody

source ·
#[repr(C)]
pub struct ArchivedCreateFileBody
where + SmolStr: Archive, + i32: Archive, + Option<SmolStr>: Archive, + Option<i32>: Archive, + Option<String>: Archive,
{ + pub filename: <SmolStr as Archive>::Archived, + pub size: <i32 as Archive>::Archived, + pub mime: <Option<SmolStr> as Archive>::Archived, + pub width: <Option<i32> as Archive>::Archived, + pub height: <Option<i32> as Archive>::Archived, + pub preview: <Option<String> as Archive>::Archived, +}
Expand description

An archived CreateFileBody

+

Fields§

§filename: <SmolStr as Archive>::Archived§size: <i32 as Archive>::Archived§mime: <Option<SmolStr> as Archive>::Archived§width: <Option<i32> as Archive>::Archived§height: <Option<i32> as Archive>::Archived§preview: <Option<String> as Archive>::Archived

Trait Implementations§

source§

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedCreateFileBody
where + SmolStr: Archive, + i32: Archive, + Option<SmolStr>: Archive, + Option<i32>: Archive, + Option<String>: Archive, + <__C as Fallible>::Error: Trace, + <SmolStr as Archive>::Archived: CheckBytes<__C>, + <i32 as Archive>::Archived: CheckBytes<__C>, + <Option<SmolStr> as Archive>::Archived: CheckBytes<__C>, + <Option<i32> as Archive>::Archived: CheckBytes<__C>, + <Option<String> as Archive>::Archived: CheckBytes<__C>,

source§

unsafe fn check_bytes( + value: *const Self, + context: &mut __C, +) -> Result<(), <__C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Portable for ArchivedCreateFileBody
where + SmolStr: Archive, + i32: Archive, + Option<SmolStr>: Archive, + Option<i32>: Archive, + Option<String>: Archive, + <SmolStr as Archive>::Archived: Portable, + <i32 as Archive>::Archived: Portable, + <Option<SmolStr> as Archive>::Archived: Portable, + <Option<i32> as Archive>::Archived: Portable, + <Option<String> as Archive>::Archived: Portable,

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/file/struct.ArchivedFileStatus.html b/client_sdk/api/commands/file/struct.ArchivedFileStatus.html new file mode 100644 index 000000000..3ffb8a83d --- /dev/null +++ b/client_sdk/api/commands/file/struct.ArchivedFileStatus.html @@ -0,0 +1,39 @@ +ArchivedFileStatus in client_sdk::api::commands::file - Rust

Struct client_sdk::api::commands::file::ArchivedFileStatus

source ·
#[repr(C)]
pub struct ArchivedFileStatus
where + u32: Archive, + u64: Archive,
{ + pub complete: <u32 as Archive>::Archived, + pub upload_offset: <u64 as Archive>::Archived, +}
Expand description

An archived FileStatus

+

Fields§

§complete: <u32 as Archive>::Archived§upload_offset: <u64 as Archive>::Archived

Trait Implementations§

source§

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedFileStatus
where + u32: Archive, + u64: Archive, + <__C as Fallible>::Error: Trace, + <u32 as Archive>::Archived: CheckBytes<__C>, + <u64 as Archive>::Archived: CheckBytes<__C>,

source§

unsafe fn check_bytes( + value: *const Self, + context: &mut __C, +) -> Result<(), <__C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Portable for ArchivedFileStatus
where + u32: Archive, + u64: Archive, + <u32 as Archive>::Archived: Portable, + <u64 as Archive>::Archived: Portable,

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/file/struct.ArchivedFilesystemStatus.html b/client_sdk/api/commands/file/struct.ArchivedFilesystemStatus.html new file mode 100644 index 000000000..bbb597d04 --- /dev/null +++ b/client_sdk/api/commands/file/struct.ArchivedFilesystemStatus.html @@ -0,0 +1,34 @@ +ArchivedFilesystemStatus in client_sdk::api::commands::file - Rust

Struct client_sdk::api::commands::file::ArchivedFilesystemStatus

source ·
#[repr(C)]
pub struct ArchivedFilesystemStatus
where + i64: Archive,
{ + pub quota_used: <i64 as Archive>::Archived, + pub quota_total: <i64 as Archive>::Archived, +}
Expand description

An archived FilesystemStatus

+

Fields§

§quota_used: <i64 as Archive>::Archived§quota_total: <i64 as Archive>::Archived

Trait Implementations§

source§

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedFilesystemStatus
where + i64: Archive, + <__C as Fallible>::Error: Trace, + <i64 as Archive>::Archived: CheckBytes<__C>,

source§

unsafe fn check_bytes( + value: *const Self, + context: &mut __C, +) -> Result<(), <__C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Portable for ArchivedFilesystemStatus
where + i64: Archive, + <i64 as Archive>::Archived: Portable,

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/file/struct.ArchivedGetFileStatus.html b/client_sdk/api/commands/file/struct.ArchivedGetFileStatus.html new file mode 100644 index 000000000..4b753afc7 --- /dev/null +++ b/client_sdk/api/commands/file/struct.ArchivedGetFileStatus.html @@ -0,0 +1,33 @@ +ArchivedGetFileStatus in client_sdk::api::commands::file - Rust

Struct client_sdk::api::commands::file::ArchivedGetFileStatus

source ·
#[repr(C)]
pub struct ArchivedGetFileStatus
where + FileId: Archive,
{ + pub file_id: <FileId as Archive>::Archived, +}
Expand description

An archived GetFileStatus

+

Fields§

§file_id: <FileId as Archive>::Archived

Trait Implementations§

source§

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedGetFileStatus
where + FileId: Archive, + <__C as Fallible>::Error: Trace, + <FileId as Archive>::Archived: CheckBytes<__C>,

source§

unsafe fn check_bytes( + value: *const Self, + context: &mut __C, +) -> Result<(), <__C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Portable for ArchivedGetFileStatus
where + FileId: Archive, + <FileId as Archive>::Archived: Portable,

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/file/struct.ArchivedGetFilesystemStatus.html b/client_sdk/api/commands/file/struct.ArchivedGetFilesystemStatus.html new file mode 100644 index 000000000..7a65b5cef --- /dev/null +++ b/client_sdk/api/commands/file/struct.ArchivedGetFilesystemStatus.html @@ -0,0 +1,26 @@ +ArchivedGetFilesystemStatus in client_sdk::api::commands::file - Rust
#[repr(C)]
pub struct ArchivedGetFilesystemStatus {}
Expand description

An archived GetFilesystemStatus

+

Trait Implementations§

source§

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedGetFilesystemStatus
where + <__C as Fallible>::Error: Trace,

source§

unsafe fn check_bytes( + value: *const Self, + context: &mut __C, +) -> Result<(), <__C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Portable for ArchivedGetFilesystemStatus

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/file/struct.CreateFile.html b/client_sdk/api/commands/file/struct.CreateFile.html new file mode 100644 index 000000000..2329c838e --- /dev/null +++ b/client_sdk/api/commands/file/struct.CreateFile.html @@ -0,0 +1,57 @@ +CreateFile in client_sdk::api::commands::file - Rust

Struct client_sdk::api::commands::file::CreateFile

source ·
pub struct CreateFile {
+    pub body: CreateFileBody,
+}

Fields§

§body: CreateFileBody

Body to be serialized as request body or query parameters (if GET)

+

Implementations§

source§

impl CreateFile

source

pub const fn new( + filename: SmolStr, + size: i32, + mime: Option<SmolStr>, + width: Option<i32>, + height: Option<i32>, + preview: Option<String>, +) -> Self

Construct new instance from individual fields

+

Trait Implementations§

source§

impl Archive for CreateFile
where + CreateFileBody: Archive,

source§

type Archived = ArchivedCreateFile

The archived representation of this type. Read more
source§

type Resolver = CreateFileResolver

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
source§

impl Command for CreateFile

source§

const STREAM: bool = false

Whether the command returns one or many items
source§

const IS_QUERY: bool = false

Whether the command has a query string or sends a body
source§

async fn collect<S, E>(stream: S) -> Result<Self::Result, E>
where + S: Stream<Item = Result<Self::Item, E>> + Send, + E: From<MissingItemError>,

Used to collect the Result from an arbitrary Stream of items.
source§

type Item = Snowflake

The underlying type of each returned item, be it one or many.
source§

type Result = Snowflake

Item(s) returned from the server by a given command
source§

const HTTP_METHOD: Method = http::Method::POST

HTTP Method used to execute the command
source§

const FLAGS: CommandFlags = _

Flags for the command, defaults to empty.
source§

const RATE_LIMIT: RateLimit = _

Baseline rate-limiting parameters, defaults to RateLimit::DEFAULT. Read more
source§

const SERVER_TIMEOUT: Duration = _

On the server side, how long to wait before timing out the request.
source§

fn perms(&self) -> Permissions

Computes required permissions
source§

const ROUTE_PATTERN: &'static str = "/api/v1/file"

Path pattern for the command (without query) when used with matchit 0.8 or higher.
source§

fn format_path<W: Write>(&self, w: W) -> Result

Serialize/format the REST path (without query)
source§

type Body = CreateFileBody

Body type for the command
source§

fn body(&self) -> &Self::Body

Body to be serialized as request body or query parameters (if GET)
source§

fn body_size_hint(&self) -> usize

Hint given to preallocate body size, only used for query strings
source§

fn add_headers(&self, _map: &mut HeaderMap)

Insert any additional headers required to perform this command
source§

impl Debug for CreateFile

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Deref for CreateFile

source§

type Target = CreateFileBody

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl DerefMut for CreateFile

source§

fn deref_mut(&mut self) -> &mut Self::Target

Mutably dereferences the value.
source§

impl<__D: Fallible + ?Sized> Deserialize<CreateFile, __D> for Archived<CreateFile>
where + CreateFileBody: Archive, + <CreateFileBody as Archive>::Archived: Deserialize<CreateFileBody, __D>,

source§

fn deserialize( + &self, + deserializer: &mut __D, +) -> Result<CreateFile, <__D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<__S: Fallible + ?Sized> Serialize<__S> for CreateFile
where + CreateFileBody: Serialize<__S>,

source§

fn serialize( + &self, + serializer: &mut __S, +) -> Result<<Self as Archive>::Resolver, <__S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/file/struct.CreateFileBody.html b/client_sdk/api/commands/file/struct.CreateFileBody.html new file mode 100644 index 000000000..a9c347246 --- /dev/null +++ b/client_sdk/api/commands/file/struct.CreateFileBody.html @@ -0,0 +1,72 @@ +CreateFileBody in client_sdk::api::commands::file - Rust

Struct client_sdk::api::commands::file::CreateFileBody

source ·
pub struct CreateFileBody {
+    pub filename: SmolStr,
+    pub size: i32,
+    pub mime: Option<SmolStr>,
+    pub width: Option<i32>,
+    pub height: Option<i32>,
+    pub preview: Option<String>,
+}

Fields§

§filename: SmolStr§size: i32§mime: Option<SmolStr>§width: Option<i32>§height: Option<i32>§preview: Option<String>

Trait Implementations§

source§

impl Archive for CreateFileBody
where + SmolStr: Archive, + i32: Archive, + Option<SmolStr>: Archive, + Option<i32>: Archive, + Option<String>: Archive,

source§

type Archived = ArchivedCreateFileBody

The archived representation of this type. Read more
source§

type Resolver = CreateFileBodyResolver

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
source§

impl Debug for CreateFileBody

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for CreateFileBody

source§

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<__D: Fallible + ?Sized> Deserialize<CreateFileBody, __D> for Archived<CreateFileBody>
where + SmolStr: Archive, + <SmolStr as Archive>::Archived: Deserialize<SmolStr, __D>, + i32: Archive, + <i32 as Archive>::Archived: Deserialize<i32, __D>, + Option<SmolStr>: Archive, + <Option<SmolStr> as Archive>::Archived: Deserialize<Option<SmolStr>, __D>, + Option<i32>: Archive, + <Option<i32> as Archive>::Archived: Deserialize<Option<i32>, __D>, + Option<String>: Archive, + <Option<String> as Archive>::Archived: Deserialize<Option<String>, __D>,

source§

fn deserialize( + &self, + deserializer: &mut __D, +) -> Result<CreateFileBody, <__D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<__S: Fallible + ?Sized> Serialize<__S> for CreateFileBody
where + SmolStr: Serialize<__S>, + i32: Serialize<__S>, + Option<SmolStr>: Serialize<__S>, + Option<i32>: Serialize<__S>, + Option<String>: Serialize<__S>,

source§

fn serialize( + &self, + serializer: &mut __S, +) -> Result<<Self as Archive>::Resolver, <__S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.
source§

impl Serialize for CreateFileBody

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
source§

impl<T> CommandBody for T
where + T: Send + Serialize + Archive,

source§

impl<T> CommandResult for T
where + T: Send + DeserializeOwned + Serialize + Archive,

source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/file/struct.CreateFileBodyResolver.html b/client_sdk/api/commands/file/struct.CreateFileBodyResolver.html new file mode 100644 index 000000000..5e591cfea --- /dev/null +++ b/client_sdk/api/commands/file/struct.CreateFileBodyResolver.html @@ -0,0 +1,26 @@ +CreateFileBodyResolver in client_sdk::api::commands::file - Rust

Struct client_sdk::api::commands::file::CreateFileBodyResolver

source ·
pub struct CreateFileBodyResolver
where + SmolStr: Archive, + i32: Archive, + Option<SmolStr>: Archive, + Option<i32>: Archive, + Option<String>: Archive,
{ /* private fields */ }
Expand description

The resolver for an archived CreateFileBody

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/file/struct.CreateFileResolver.html b/client_sdk/api/commands/file/struct.CreateFileResolver.html new file mode 100644 index 000000000..a80e45743 --- /dev/null +++ b/client_sdk/api/commands/file/struct.CreateFileResolver.html @@ -0,0 +1,22 @@ +CreateFileResolver in client_sdk::api::commands::file - Rust

Struct client_sdk::api::commands::file::CreateFileResolver

source ·
pub struct CreateFileResolver
where + CreateFileBody: Archive,
{ /* private fields */ }
Expand description

The resolver for an archived CreateFile

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/file/struct.FileStatus.html b/client_sdk/api/commands/file/struct.FileStatus.html new file mode 100644 index 000000000..94bce9fe7 --- /dev/null +++ b/client_sdk/api/commands/file/struct.FileStatus.html @@ -0,0 +1,59 @@ +FileStatus in client_sdk::api::commands::file - Rust

Struct client_sdk::api::commands::file::FileStatus

source ·
pub struct FileStatus {
+    pub complete: u32,
+    pub upload_offset: u64,
+}

Fields§

§complete: u32§upload_offset: u64

Trait Implementations§

source§

impl Archive for FileStatus
where + u32: Archive, + u64: Archive,

source§

type Archived = ArchivedFileStatus

The archived representation of this type. Read more
source§

type Resolver = FileStatusResolver

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
source§

impl Clone for FileStatus

source§

fn clone(&self) -> FileStatus

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for FileStatus

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for FileStatus

source§

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<__D: Fallible + ?Sized> Deserialize<FileStatus, __D> for Archived<FileStatus>
where + u32: Archive, + <u32 as Archive>::Archived: Deserialize<u32, __D>, + u64: Archive, + <u64 as Archive>::Archived: Deserialize<u64, __D>,

source§

fn deserialize( + &self, + deserializer: &mut __D, +) -> Result<FileStatus, <__D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl PartialEq for FileStatus

source§

fn eq(&self, other: &FileStatus) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl<__S: Fallible + ?Sized> Serialize<__S> for FileStatus
where + u32: Serialize<__S>, + u64: Serialize<__S>,

source§

fn serialize( + &self, + serializer: &mut __S, +) -> Result<<Self as Archive>::Resolver, <__S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.
source§

impl Serialize for FileStatus

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Copy for FileStatus

source§

impl StructuralPartialEq for FileStatus

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where + T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T> ToOwned for T
where + T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
source§

impl<T> CommandBody for T
where + T: Send + Serialize + Archive,

source§

impl<T> CommandResult for T
where + T: Send + DeserializeOwned + Serialize + Archive,

source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/file/struct.FileStatusResolver.html b/client_sdk/api/commands/file/struct.FileStatusResolver.html new file mode 100644 index 000000000..a6d90cbbd --- /dev/null +++ b/client_sdk/api/commands/file/struct.FileStatusResolver.html @@ -0,0 +1,23 @@ +FileStatusResolver in client_sdk::api::commands::file - Rust

Struct client_sdk::api::commands::file::FileStatusResolver

source ·
pub struct FileStatusResolver
where + u32: Archive, + u64: Archive,
{ /* private fields */ }
Expand description

The resolver for an archived FileStatus

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/file/struct.FilesystemStatus.html b/client_sdk/api/commands/file/struct.FilesystemStatus.html new file mode 100644 index 000000000..f936a722c --- /dev/null +++ b/client_sdk/api/commands/file/struct.FilesystemStatus.html @@ -0,0 +1,55 @@ +FilesystemStatus in client_sdk::api::commands::file - Rust

Struct client_sdk::api::commands::file::FilesystemStatus

source ·
pub struct FilesystemStatus {
+    pub quota_used: i64,
+    pub quota_total: i64,
+}

Fields§

§quota_used: i64§quota_total: i64

Trait Implementations§

source§

impl Archive for FilesystemStatus
where + i64: Archive,

source§

type Archived = ArchivedFilesystemStatus

The archived representation of this type. Read more
source§

type Resolver = FilesystemStatusResolver

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
source§

impl Clone for FilesystemStatus

source§

fn clone(&self) -> FilesystemStatus

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for FilesystemStatus

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for FilesystemStatus

source§

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<__D: Fallible + ?Sized> Deserialize<FilesystemStatus, __D> for Archived<FilesystemStatus>
where + i64: Archive, + <i64 as Archive>::Archived: Deserialize<i64, __D>,

source§

fn deserialize( + &self, + deserializer: &mut __D, +) -> Result<FilesystemStatus, <__D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl PartialEq for FilesystemStatus

source§

fn eq(&self, other: &FilesystemStatus) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl<__S: Fallible + ?Sized> Serialize<__S> for FilesystemStatus
where + i64: Serialize<__S>,

source§

fn serialize( + &self, + serializer: &mut __S, +) -> Result<<Self as Archive>::Resolver, <__S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.
source§

impl Serialize for FilesystemStatus

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Copy for FilesystemStatus

source§

impl StructuralPartialEq for FilesystemStatus

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where + T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T> ToOwned for T
where + T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
source§

impl<T> CommandBody for T
where + T: Send + Serialize + Archive,

source§

impl<T> CommandResult for T
where + T: Send + DeserializeOwned + Serialize + Archive,

source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/file/struct.FilesystemStatusResolver.html b/client_sdk/api/commands/file/struct.FilesystemStatusResolver.html new file mode 100644 index 000000000..7a5e7f3d7 --- /dev/null +++ b/client_sdk/api/commands/file/struct.FilesystemStatusResolver.html @@ -0,0 +1,22 @@ +FilesystemStatusResolver in client_sdk::api::commands::file - Rust

Struct client_sdk::api::commands::file::FilesystemStatusResolver

source ·
pub struct FilesystemStatusResolver
where + i64: Archive,
{ /* private fields */ }
Expand description

The resolver for an archived FilesystemStatus

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/file/struct.GetFileStatus.html b/client_sdk/api/commands/file/struct.GetFileStatus.html new file mode 100644 index 000000000..5820e94cc --- /dev/null +++ b/client_sdk/api/commands/file/struct.GetFileStatus.html @@ -0,0 +1,49 @@ +GetFileStatus in client_sdk::api::commands::file - Rust

Struct client_sdk::api::commands::file::GetFileStatus

source ·
pub struct GetFileStatus {
+    pub file_id: FileId,
+}

Fields§

§file_id: FileId

Implementations§

source§

impl GetFileStatus

source

pub const fn new(file_id: FileId) -> Self

Construct new instance from individual fields

+

Trait Implementations§

source§

impl Archive for GetFileStatus
where + FileId: Archive,

source§

type Archived = ArchivedGetFileStatus

The archived representation of this type. Read more
source§

type Resolver = GetFileStatusResolver

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
source§

impl Command for GetFileStatus

source§

const STREAM: bool = false

Whether the command returns one or many items
source§

const IS_QUERY: bool = true

Whether the command has a query string or sends a body
source§

async fn collect<S, E>(stream: S) -> Result<Self::Result, E>
where + S: Stream<Item = Result<Self::Item, E>> + Send, + E: From<MissingItemError>,

Used to collect the Result from an arbitrary Stream of items.
source§

type Item = FileStatus

The underlying type of each returned item, be it one or many.
source§

type Result = FileStatus

Item(s) returned from the server by a given command
source§

const HTTP_METHOD: Method = http::Method::HEAD

HTTP Method used to execute the command
source§

const FLAGS: CommandFlags = _

Flags for the command, defaults to empty.
source§

const RATE_LIMIT: RateLimit = _

Baseline rate-limiting parameters, defaults to RateLimit::DEFAULT. Read more
source§

const SERVER_TIMEOUT: Duration = _

On the server side, how long to wait before timing out the request.
source§

fn perms(&self) -> Permissions

Computes required permissions
source§

const ROUTE_PATTERN: &'static str = "/api/v1/file/{file_id}"

Path pattern for the command (without query) when used with matchit 0.8 or higher.
source§

fn format_path<W: Write>(&self, w: W) -> Result

Serialize/format the REST path (without query)
source§

type Body = ()

Body type for the command
source§

fn body(&self) -> &Self::Body

Body to be serialized as request body or query parameters (if GET)
source§

fn body_size_hint(&self) -> usize

Hint given to preallocate body size, only used for query strings
source§

fn add_headers(&self, _map: &mut HeaderMap)

Insert any additional headers required to perform this command
source§

impl Debug for GetFileStatus

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<__D: Fallible + ?Sized> Deserialize<GetFileStatus, __D> for Archived<GetFileStatus>
where + FileId: Archive, + <FileId as Archive>::Archived: Deserialize<FileId, __D>,

source§

fn deserialize( + &self, + deserializer: &mut __D, +) -> Result<GetFileStatus, <__D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<__S: Fallible + ?Sized> Serialize<__S> for GetFileStatus
where + FileId: Serialize<__S>,

source§

fn serialize( + &self, + serializer: &mut __S, +) -> Result<<Self as Archive>::Resolver, <__S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/file/struct.GetFileStatusResolver.html b/client_sdk/api/commands/file/struct.GetFileStatusResolver.html new file mode 100644 index 000000000..3e8a8cfaa --- /dev/null +++ b/client_sdk/api/commands/file/struct.GetFileStatusResolver.html @@ -0,0 +1,22 @@ +GetFileStatusResolver in client_sdk::api::commands::file - Rust

Struct client_sdk::api::commands::file::GetFileStatusResolver

source ·
pub struct GetFileStatusResolver
where + FileId: Archive,
{ /* private fields */ }
Expand description

The resolver for an archived GetFileStatus

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/file/struct.GetFilesystemStatus.html b/client_sdk/api/commands/file/struct.GetFilesystemStatus.html new file mode 100644 index 000000000..5d0a82fc0 --- /dev/null +++ b/client_sdk/api/commands/file/struct.GetFilesystemStatus.html @@ -0,0 +1,43 @@ +GetFilesystemStatus in client_sdk::api::commands::file - Rust

Struct client_sdk::api::commands::file::GetFilesystemStatus

source ·
pub struct GetFilesystemStatus {}

Implementations§

source§

impl GetFilesystemStatus

source

pub const fn new() -> Self

Construct new instance from individual fields

+

Trait Implementations§

source§

impl Archive for GetFilesystemStatus

source§

type Archived = ArchivedGetFilesystemStatus

The archived representation of this type. Read more
source§

type Resolver = GetFilesystemStatusResolver

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
source§

impl Command for GetFilesystemStatus

source§

const STREAM: bool = false

Whether the command returns one or many items
source§

const IS_QUERY: bool = true

Whether the command has a query string or sends a body
source§

async fn collect<S, E>(stream: S) -> Result<Self::Result, E>
where + S: Stream<Item = Result<Self::Item, E>> + Send, + E: From<MissingItemError>,

Used to collect the Result from an arbitrary Stream of items.
source§

type Item = FilesystemStatus

The underlying type of each returned item, be it one or many.
source§

type Result = FilesystemStatus

Item(s) returned from the server by a given command
source§

const HTTP_METHOD: Method = http::Method::OPTIONS

HTTP Method used to execute the command
source§

const FLAGS: CommandFlags = _

Flags for the command, defaults to empty.
source§

const RATE_LIMIT: RateLimit = _

Baseline rate-limiting parameters, defaults to RateLimit::DEFAULT. Read more
source§

const SERVER_TIMEOUT: Duration = _

On the server side, how long to wait before timing out the request.
source§

fn perms(&self) -> Permissions

Computes required permissions
source§

const ROUTE_PATTERN: &'static str = "/api/v1/file"

Path pattern for the command (without query) when used with matchit 0.8 or higher.
source§

fn format_path<W: Write>(&self, w: W) -> Result

Serialize/format the REST path (without query)
source§

type Body = ()

Body type for the command
source§

fn body(&self) -> &Self::Body

Body to be serialized as request body or query parameters (if GET)
source§

fn body_size_hint(&self) -> usize

Hint given to preallocate body size, only used for query strings
source§

fn add_headers(&self, _map: &mut HeaderMap)

Insert any additional headers required to perform this command
source§

impl Debug for GetFilesystemStatus

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<__D: Fallible + ?Sized> Deserialize<GetFilesystemStatus, __D> for Archived<GetFilesystemStatus>

source§

fn deserialize( + &self, + deserializer: &mut __D, +) -> Result<GetFilesystemStatus, <__D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<__S: Fallible + ?Sized> Serialize<__S> for GetFilesystemStatus

source§

fn serialize( + &self, + serializer: &mut __S, +) -> Result<<Self as Archive>::Resolver, <__S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/file/struct.GetFilesystemStatusResolver.html b/client_sdk/api/commands/file/struct.GetFilesystemStatusResolver.html new file mode 100644 index 000000000..3814815c7 --- /dev/null +++ b/client_sdk/api/commands/file/struct.GetFilesystemStatusResolver.html @@ -0,0 +1,21 @@ +GetFilesystemStatusResolver in client_sdk::api::commands::file - Rust
pub struct GetFilesystemStatusResolver {}
Expand description

The resolver for an archived GetFilesystemStatus

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/index.html b/client_sdk/api/commands/index.html new file mode 100644 index 000000000..4425dcd73 --- /dev/null +++ b/client_sdk/api/commands/index.html @@ -0,0 +1 @@ +client_sdk::api::commands - Rust

Module client_sdk::api::commands

source ·

Modules§

\ No newline at end of file diff --git a/client_sdk/api/commands/invite/index.html b/client_sdk/api/commands/invite/index.html new file mode 100644 index 000000000..eb18879e6 --- /dev/null +++ b/client_sdk/api/commands/invite/index.html @@ -0,0 +1 @@ +client_sdk::api::commands::invite - Rust

Module client_sdk::api::commands::invite

source ·

Structs§

\ No newline at end of file diff --git a/client_sdk/api/commands/invite/sidebar-items.js b/client_sdk/api/commands/invite/sidebar-items.js new file mode 100644 index 000000000..90d84bfa2 --- /dev/null +++ b/client_sdk/api/commands/invite/sidebar-items.js @@ -0,0 +1 @@ +window.SIDEBAR_ITEMS = {"struct":["ArchivedGetInvite","ArchivedRedeemInvite","ArchivedRedeemInviteBody","ArchivedRevokeInvite","GetInvite","GetInviteResolver","RedeemInvite","RedeemInviteBody","RedeemInviteBodyResolver","RedeemInviteResolver","RevokeInvite","RevokeInviteResolver"]}; \ No newline at end of file diff --git a/client_sdk/api/commands/invite/struct.ArchivedGetInvite.html b/client_sdk/api/commands/invite/struct.ArchivedGetInvite.html new file mode 100644 index 000000000..8ae04a501 --- /dev/null +++ b/client_sdk/api/commands/invite/struct.ArchivedGetInvite.html @@ -0,0 +1,33 @@ +ArchivedGetInvite in client_sdk::api::commands::invite - Rust

Struct client_sdk::api::commands::invite::ArchivedGetInvite

source ·
#[repr(C)]
pub struct ArchivedGetInvite
where + SmolStr: Archive,
{ + pub code: <SmolStr as Archive>::Archived, +}
Expand description

An archived GetInvite

+

Fields§

§code: <SmolStr as Archive>::Archived

Trait Implementations§

source§

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedGetInvite
where + SmolStr: Archive, + <__C as Fallible>::Error: Trace, + <SmolStr as Archive>::Archived: CheckBytes<__C>,

source§

unsafe fn check_bytes( + value: *const Self, + context: &mut __C, +) -> Result<(), <__C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Portable for ArchivedGetInvite
where + SmolStr: Archive, + <SmolStr as Archive>::Archived: Portable,

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/invite/struct.ArchivedRedeemInvite.html b/client_sdk/api/commands/invite/struct.ArchivedRedeemInvite.html new file mode 100644 index 000000000..760af16ae --- /dev/null +++ b/client_sdk/api/commands/invite/struct.ArchivedRedeemInvite.html @@ -0,0 +1,39 @@ +ArchivedRedeemInvite in client_sdk::api::commands::invite - Rust

Struct client_sdk::api::commands::invite::ArchivedRedeemInvite

source ·
#[repr(C)]
pub struct ArchivedRedeemInvite
where + SmolStr: Archive, + RedeemInviteBody: Archive,
{ + pub code: <SmolStr as Archive>::Archived, + pub body: <RedeemInviteBody as Archive>::Archived, +}
Expand description

An archived RedeemInvite

+

Fields§

§code: <SmolStr as Archive>::Archived§body: <RedeemInviteBody as Archive>::Archived

Trait Implementations§

source§

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedRedeemInvite
where + SmolStr: Archive, + RedeemInviteBody: Archive, + <__C as Fallible>::Error: Trace, + <SmolStr as Archive>::Archived: CheckBytes<__C>, + <RedeemInviteBody as Archive>::Archived: CheckBytes<__C>,

source§

unsafe fn check_bytes( + value: *const Self, + context: &mut __C, +) -> Result<(), <__C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Portable for ArchivedRedeemInvite
where + SmolStr: Archive, + RedeemInviteBody: Archive, + <SmolStr as Archive>::Archived: Portable, + <RedeemInviteBody as Archive>::Archived: Portable,

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/invite/struct.ArchivedRedeemInviteBody.html b/client_sdk/api/commands/invite/struct.ArchivedRedeemInviteBody.html new file mode 100644 index 000000000..41ff416aa --- /dev/null +++ b/client_sdk/api/commands/invite/struct.ArchivedRedeemInviteBody.html @@ -0,0 +1,33 @@ +ArchivedRedeemInviteBody in client_sdk::api::commands::invite - Rust

Struct client_sdk::api::commands::invite::ArchivedRedeemInviteBody

source ·
#[repr(C)]
pub struct ArchivedRedeemInviteBody
where + Option<SmolStr>: Archive,
{ + pub nickname: <Option<SmolStr> as Archive>::Archived, +}
Expand description

An archived RedeemInviteBody

+

Fields§

§nickname: <Option<SmolStr> as Archive>::Archived

Trait Implementations§

source§

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedRedeemInviteBody
where + Option<SmolStr>: Archive, + <__C as Fallible>::Error: Trace, + <Option<SmolStr> as Archive>::Archived: CheckBytes<__C>,

source§

unsafe fn check_bytes( + value: *const Self, + context: &mut __C, +) -> Result<(), <__C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Portable for ArchivedRedeemInviteBody
where + Option<SmolStr>: Archive, + <Option<SmolStr> as Archive>::Archived: Portable,

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/invite/struct.ArchivedRevokeInvite.html b/client_sdk/api/commands/invite/struct.ArchivedRevokeInvite.html new file mode 100644 index 000000000..0986a1a35 --- /dev/null +++ b/client_sdk/api/commands/invite/struct.ArchivedRevokeInvite.html @@ -0,0 +1,33 @@ +ArchivedRevokeInvite in client_sdk::api::commands::invite - Rust

Struct client_sdk::api::commands::invite::ArchivedRevokeInvite

source ·
#[repr(C)]
pub struct ArchivedRevokeInvite
where + SmolStr: Archive,
{ + pub code: <SmolStr as Archive>::Archived, +}
Expand description

An archived RevokeInvite

+

Fields§

§code: <SmolStr as Archive>::Archived

Trait Implementations§

source§

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedRevokeInvite
where + SmolStr: Archive, + <__C as Fallible>::Error: Trace, + <SmolStr as Archive>::Archived: CheckBytes<__C>,

source§

unsafe fn check_bytes( + value: *const Self, + context: &mut __C, +) -> Result<(), <__C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Portable for ArchivedRevokeInvite
where + SmolStr: Archive, + <SmolStr as Archive>::Archived: Portable,

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/invite/struct.GetInvite.html b/client_sdk/api/commands/invite/struct.GetInvite.html new file mode 100644 index 000000000..abf8baffa --- /dev/null +++ b/client_sdk/api/commands/invite/struct.GetInvite.html @@ -0,0 +1,49 @@ +GetInvite in client_sdk::api::commands::invite - Rust

Struct client_sdk::api::commands::invite::GetInvite

source ·
pub struct GetInvite {
+    pub code: SmolStr,
+}

Fields§

§code: SmolStr

Implementations§

source§

impl GetInvite

source

pub const fn new(code: SmolStr) -> Self

Construct new instance from individual fields

+

Trait Implementations§

source§

impl Archive for GetInvite
where + SmolStr: Archive,

source§

type Archived = ArchivedGetInvite

The archived representation of this type. Read more
source§

type Resolver = GetInviteResolver

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
source§

impl Command for GetInvite

source§

const STREAM: bool = false

Whether the command returns one or many items
source§

const IS_QUERY: bool = true

Whether the command has a query string or sends a body
source§

async fn collect<S, E>(stream: S) -> Result<Self::Result, E>
where + S: Stream<Item = Result<Self::Item, E>> + Send, + E: From<MissingItemError>,

Used to collect the Result from an arbitrary Stream of items.
source§

type Item = Invite

The underlying type of each returned item, be it one or many.
source§

type Result = Invite

Item(s) returned from the server by a given command
source§

const HTTP_METHOD: Method = http::Method::GET

HTTP Method used to execute the command
source§

const FLAGS: CommandFlags = _

Flags for the command, defaults to empty.
source§

const RATE_LIMIT: RateLimit = _

Baseline rate-limiting parameters, defaults to RateLimit::DEFAULT. Read more
source§

const SERVER_TIMEOUT: Duration = _

On the server side, how long to wait before timing out the request.
source§

fn perms(&self) -> Permissions

Computes required permissions
source§

const ROUTE_PATTERN: &'static str = "/api/v1/invite/{code}"

Path pattern for the command (without query) when used with matchit 0.8 or higher.
source§

fn format_path<W: Write>(&self, w: W) -> Result

Serialize/format the REST path (without query)
source§

type Body = ()

Body type for the command
source§

fn body(&self) -> &Self::Body

Body to be serialized as request body or query parameters (if GET)
source§

fn body_size_hint(&self) -> usize

Hint given to preallocate body size, only used for query strings
source§

fn add_headers(&self, _map: &mut HeaderMap)

Insert any additional headers required to perform this command
source§

impl Debug for GetInvite

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<__D: Fallible + ?Sized> Deserialize<GetInvite, __D> for Archived<GetInvite>
where + SmolStr: Archive, + <SmolStr as Archive>::Archived: Deserialize<SmolStr, __D>,

source§

fn deserialize( + &self, + deserializer: &mut __D, +) -> Result<GetInvite, <__D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<__S: Fallible + ?Sized> Serialize<__S> for GetInvite
where + SmolStr: Serialize<__S>,

source§

fn serialize( + &self, + serializer: &mut __S, +) -> Result<<Self as Archive>::Resolver, <__S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/invite/struct.GetInviteResolver.html b/client_sdk/api/commands/invite/struct.GetInviteResolver.html new file mode 100644 index 000000000..91b0d0c3f --- /dev/null +++ b/client_sdk/api/commands/invite/struct.GetInviteResolver.html @@ -0,0 +1,22 @@ +GetInviteResolver in client_sdk::api::commands::invite - Rust

Struct client_sdk::api::commands::invite::GetInviteResolver

source ·
pub struct GetInviteResolver
where + SmolStr: Archive,
{ /* private fields */ }
Expand description

The resolver for an archived GetInvite

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/invite/struct.RedeemInvite.html b/client_sdk/api/commands/invite/struct.RedeemInvite.html new file mode 100644 index 000000000..1e8141818 --- /dev/null +++ b/client_sdk/api/commands/invite/struct.RedeemInvite.html @@ -0,0 +1,55 @@ +RedeemInvite in client_sdk::api::commands::invite - Rust

Struct client_sdk::api::commands::invite::RedeemInvite

source ·
pub struct RedeemInvite {
+    pub code: SmolStr,
+    pub body: RedeemInviteBody,
+}

Fields§

§code: SmolStr§body: RedeemInviteBody

Body to be serialized as request body or query parameters (if GET)

+

Implementations§

source§

impl RedeemInvite

source

pub const fn new(code: SmolStr, nickname: Option<SmolStr>) -> Self

Construct new instance from individual fields

+

Trait Implementations§

source§

impl Archive for RedeemInvite
where + SmolStr: Archive, + RedeemInviteBody: Archive,

source§

type Archived = ArchivedRedeemInvite

The archived representation of this type. Read more
source§

type Resolver = RedeemInviteResolver

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
source§

impl Command for RedeemInvite

source§

const STREAM: bool = false

Whether the command returns one or many items
source§

const IS_QUERY: bool = false

Whether the command has a query string or sends a body
source§

async fn collect<S, E>(stream: S) -> Result<Self::Result, E>
where + S: Stream<Item = Result<Self::Item, E>> + Send, + E: From<MissingItemError>,

Used to collect the Result from an arbitrary Stream of items.
source§

type Item = ()

The underlying type of each returned item, be it one or many.
source§

type Result = ()

Item(s) returned from the server by a given command
source§

const HTTP_METHOD: Method = http::Method::POST

HTTP Method used to execute the command
source§

const FLAGS: CommandFlags = _

Flags for the command, defaults to empty.
source§

const RATE_LIMIT: RateLimit = _

Baseline rate-limiting parameters, defaults to RateLimit::DEFAULT. Read more
source§

const SERVER_TIMEOUT: Duration = _

On the server side, how long to wait before timing out the request.
source§

fn perms(&self) -> Permissions

Computes required permissions
source§

const ROUTE_PATTERN: &'static str = "/api/v1/invite/{code}/redeem"

Path pattern for the command (without query) when used with matchit 0.8 or higher.
source§

fn format_path<W: Write>(&self, w: W) -> Result

Serialize/format the REST path (without query)
source§

type Body = RedeemInviteBody

Body type for the command
source§

fn body(&self) -> &Self::Body

Body to be serialized as request body or query parameters (if GET)
source§

fn body_size_hint(&self) -> usize

Hint given to preallocate body size, only used for query strings
source§

fn add_headers(&self, _map: &mut HeaderMap)

Insert any additional headers required to perform this command
source§

impl Debug for RedeemInvite

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Deref for RedeemInvite

source§

type Target = RedeemInviteBody

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl DerefMut for RedeemInvite

source§

fn deref_mut(&mut self) -> &mut Self::Target

Mutably dereferences the value.
source§

impl<__D: Fallible + ?Sized> Deserialize<RedeemInvite, __D> for Archived<RedeemInvite>
where + SmolStr: Archive, + <SmolStr as Archive>::Archived: Deserialize<SmolStr, __D>, + RedeemInviteBody: Archive, + <RedeemInviteBody as Archive>::Archived: Deserialize<RedeemInviteBody, __D>,

source§

fn deserialize( + &self, + deserializer: &mut __D, +) -> Result<RedeemInvite, <__D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<__S: Fallible + ?Sized> Serialize<__S> for RedeemInvite
where + SmolStr: Serialize<__S>, + RedeemInviteBody: Serialize<__S>,

source§

fn serialize( + &self, + serializer: &mut __S, +) -> Result<<Self as Archive>::Resolver, <__S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/invite/struct.RedeemInviteBody.html b/client_sdk/api/commands/invite/struct.RedeemInviteBody.html new file mode 100644 index 000000000..6656aec38 --- /dev/null +++ b/client_sdk/api/commands/invite/struct.RedeemInviteBody.html @@ -0,0 +1,51 @@ +RedeemInviteBody in client_sdk::api::commands::invite - Rust

Struct client_sdk::api::commands::invite::RedeemInviteBody

source ·
pub struct RedeemInviteBody {
+    pub nickname: Option<SmolStr>,
+}

Fields§

§nickname: Option<SmolStr>

Trait Implementations§

source§

impl Archive for RedeemInviteBody
where + Option<SmolStr>: Archive,

source§

type Archived = ArchivedRedeemInviteBody

The archived representation of this type. Read more
source§

type Resolver = RedeemInviteBodyResolver

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
source§

impl Debug for RedeemInviteBody

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for RedeemInviteBody

source§

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<__D: Fallible + ?Sized> Deserialize<RedeemInviteBody, __D> for Archived<RedeemInviteBody>
where + Option<SmolStr>: Archive, + <Option<SmolStr> as Archive>::Archived: Deserialize<Option<SmolStr>, __D>,

source§

fn deserialize( + &self, + deserializer: &mut __D, +) -> Result<RedeemInviteBody, <__D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<__S: Fallible + ?Sized> Serialize<__S> for RedeemInviteBody
where + Option<SmolStr>: Serialize<__S>,

source§

fn serialize( + &self, + serializer: &mut __S, +) -> Result<<Self as Archive>::Resolver, <__S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.
source§

impl Serialize for RedeemInviteBody

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
source§

impl<T> CommandBody for T
where + T: Send + Serialize + Archive,

source§

impl<T> CommandResult for T
where + T: Send + DeserializeOwned + Serialize + Archive,

source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/invite/struct.RedeemInviteBodyResolver.html b/client_sdk/api/commands/invite/struct.RedeemInviteBodyResolver.html new file mode 100644 index 000000000..3b72524af --- /dev/null +++ b/client_sdk/api/commands/invite/struct.RedeemInviteBodyResolver.html @@ -0,0 +1,22 @@ +RedeemInviteBodyResolver in client_sdk::api::commands::invite - Rust

Struct client_sdk::api::commands::invite::RedeemInviteBodyResolver

source ·
pub struct RedeemInviteBodyResolver
where + Option<SmolStr>: Archive,
{ /* private fields */ }
Expand description

The resolver for an archived RedeemInviteBody

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/invite/struct.RedeemInviteResolver.html b/client_sdk/api/commands/invite/struct.RedeemInviteResolver.html new file mode 100644 index 000000000..c683b35b4 --- /dev/null +++ b/client_sdk/api/commands/invite/struct.RedeemInviteResolver.html @@ -0,0 +1,23 @@ +RedeemInviteResolver in client_sdk::api::commands::invite - Rust

Struct client_sdk::api::commands::invite::RedeemInviteResolver

source ·
pub struct RedeemInviteResolver
where + SmolStr: Archive, + RedeemInviteBody: Archive,
{ /* private fields */ }
Expand description

The resolver for an archived RedeemInvite

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/invite/struct.RevokeInvite.html b/client_sdk/api/commands/invite/struct.RevokeInvite.html new file mode 100644 index 000000000..30c7015f8 --- /dev/null +++ b/client_sdk/api/commands/invite/struct.RevokeInvite.html @@ -0,0 +1,49 @@ +RevokeInvite in client_sdk::api::commands::invite - Rust

Struct client_sdk::api::commands::invite::RevokeInvite

source ·
pub struct RevokeInvite {
+    pub code: SmolStr,
+}

Fields§

§code: SmolStr

Implementations§

source§

impl RevokeInvite

source

pub const fn new(code: SmolStr) -> Self

Construct new instance from individual fields

+

Trait Implementations§

source§

impl Archive for RevokeInvite
where + SmolStr: Archive,

source§

type Archived = ArchivedRevokeInvite

The archived representation of this type. Read more
source§

type Resolver = RevokeInviteResolver

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
source§

impl Command for RevokeInvite

source§

const STREAM: bool = false

Whether the command returns one or many items
source§

const IS_QUERY: bool = false

Whether the command has a query string or sends a body
source§

async fn collect<S, E>(stream: S) -> Result<Self::Result, E>
where + S: Stream<Item = Result<Self::Item, E>> + Send, + E: From<MissingItemError>,

Used to collect the Result from an arbitrary Stream of items.
source§

type Item = ()

The underlying type of each returned item, be it one or many.
source§

type Result = ()

Item(s) returned from the server by a given command
source§

const HTTP_METHOD: Method = http::Method::DELETE

HTTP Method used to execute the command
source§

const FLAGS: CommandFlags = _

Flags for the command, defaults to empty.
source§

const RATE_LIMIT: RateLimit = _

Baseline rate-limiting parameters, defaults to RateLimit::DEFAULT. Read more
source§

const SERVER_TIMEOUT: Duration = _

On the server side, how long to wait before timing out the request.
source§

fn perms(&self) -> Permissions

Computes required permissions
source§

const ROUTE_PATTERN: &'static str = "/api/v1/invite/{code}"

Path pattern for the command (without query) when used with matchit 0.8 or higher.
source§

fn format_path<W: Write>(&self, w: W) -> Result

Serialize/format the REST path (without query)
source§

type Body = ()

Body type for the command
source§

fn body(&self) -> &Self::Body

Body to be serialized as request body or query parameters (if GET)
source§

fn body_size_hint(&self) -> usize

Hint given to preallocate body size, only used for query strings
source§

fn add_headers(&self, _map: &mut HeaderMap)

Insert any additional headers required to perform this command
source§

impl Debug for RevokeInvite

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<__D: Fallible + ?Sized> Deserialize<RevokeInvite, __D> for Archived<RevokeInvite>
where + SmolStr: Archive, + <SmolStr as Archive>::Archived: Deserialize<SmolStr, __D>,

source§

fn deserialize( + &self, + deserializer: &mut __D, +) -> Result<RevokeInvite, <__D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<__S: Fallible + ?Sized> Serialize<__S> for RevokeInvite
where + SmolStr: Serialize<__S>,

source§

fn serialize( + &self, + serializer: &mut __S, +) -> Result<<Self as Archive>::Resolver, <__S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/invite/struct.RevokeInviteResolver.html b/client_sdk/api/commands/invite/struct.RevokeInviteResolver.html new file mode 100644 index 000000000..297dfc8f5 --- /dev/null +++ b/client_sdk/api/commands/invite/struct.RevokeInviteResolver.html @@ -0,0 +1,22 @@ +RevokeInviteResolver in client_sdk::api::commands::invite - Rust

Struct client_sdk::api::commands::invite::RevokeInviteResolver

source ·
pub struct RevokeInviteResolver
where + SmolStr: Archive,
{ /* private fields */ }
Expand description

The resolver for an archived RevokeInvite

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/party/enum.CreateRoomKind.html b/client_sdk/api/commands/party/enum.CreateRoomKind.html new file mode 100644 index 000000000..44c6e2e1d --- /dev/null +++ b/client_sdk/api/commands/party/enum.CreateRoomKind.html @@ -0,0 +1,60 @@ +CreateRoomKind in client_sdk::api::commands::party - Rust

Enum client_sdk::api::commands::party::CreateRoomKind

source ·
#[repr(align(1), u8)]
pub enum CreateRoomKind { + Text = 0, + Voice = 3, + UserForum = 4, +}

Variants§

§

Text = 0

§

Voice = 3

§

UserForum = 4

Trait Implementations§

source§

impl Archive for CreateRoomKind

source§

type Archived = CreateRoomKind

The archived representation of this type. Read more
source§

type Resolver = ()

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

fn resolve(&self, _: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
source§

impl<C> CheckBytes<C> for CreateRoomKind
where + C: Fallible + ?Sized, + <C as Fallible>::Error: Source,

source§

unsafe fn check_bytes( + value: *const Self, + _: &mut C, +) -> Result<(), <C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Clone for CreateRoomKind

source§

fn clone(&self) -> CreateRoomKind

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for CreateRoomKind

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for CreateRoomKind

source§

fn default() -> CreateRoomKind

Returns the “default value” for a type. Read more
source§

impl<'de> Deserialize<'de> for CreateRoomKind

source§

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<D: Fallible + ?Sized> Deserialize<CreateRoomKind, D> for CreateRoomKind

source§

fn deserialize(&self, _: &mut D) -> Result<CreateRoomKind, D::Error>

Deserializes using the given deserializer
source§

impl Hash for CreateRoomKind

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where + H: Hasher, + Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl PartialEq for CreateRoomKind

source§

fn eq(&self, other: &CreateRoomKind) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl<S: Fallible + ?Sized> Serialize<S> for CreateRoomKind

source§

fn serialize(&self, _: &mut S) -> Result<(), S::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.
source§

impl Serialize for CreateRoomKind

source§

fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
where + S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Copy for CreateRoomKind

source§

impl Eq for CreateRoomKind

source§

impl NoUndef for CreateRoomKind

source§

impl Portable for CreateRoomKind

source§

impl StructuralPartialEq for CreateRoomKind

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where + T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T> ToOwned for T
where + T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
source§

impl<T> CommandBody for T
where + T: Send + Serialize + Archive,

source§

impl<T> CommandResult for T
where + T: Send + DeserializeOwned + Serialize + Archive,

source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/party/index.html b/client_sdk/api/commands/party/index.html new file mode 100644 index 000000000..32099f7fd --- /dev/null +++ b/client_sdk/api/commands/party/index.html @@ -0,0 +1 @@ +client_sdk::api::commands::party - Rust

Module client_sdk::api::commands::party

source ·

Structs§

Enums§

\ No newline at end of file diff --git a/client_sdk/api/commands/party/sidebar-items.js b/client_sdk/api/commands/party/sidebar-items.js new file mode 100644 index 000000000..0d740e774 --- /dev/null +++ b/client_sdk/api/commands/party/sidebar-items.js @@ -0,0 +1 @@ +window.SIDEBAR_ITEMS = {"enum":["CreateRoomKind"],"struct":["ArchivedCreateParty","ArchivedCreatePartyForm","ArchivedCreatePartyInvite","ArchivedCreatePartyInviteBody","ArchivedCreatePinFolder","ArchivedCreatePinFolderForm","ArchivedCreateRole","ArchivedCreateRoleForm","ArchivedCreateRoom","ArchivedCreateRoomForm","ArchivedDeleteParty","ArchivedDeleteRole","ArchivedGetMemberProfile","ArchivedGetParty","ArchivedGetPartyInvites","ArchivedGetPartyMember","ArchivedGetPartyMembers","ArchivedGetPartyRooms","ArchivedPartySettings","ArchivedPatchParty","ArchivedPatchPartyForm","ArchivedPatchRole","ArchivedPatchRoleForm","ArchivedSearchParty","ArchivedSearchQuery","ArchivedTransferOwnership","ArchivedUpdateMemberProfile","ArchivedUpdateMemberProfileBody","CreateParty","CreatePartyForm","CreatePartyFormResolver","CreatePartyInvite","CreatePartyInviteBody","CreatePartyInviteBodyResolver","CreatePartyInviteResolver","CreatePartyResolver","CreatePinFolder","CreatePinFolderForm","CreatePinFolderFormResolver","CreatePinFolderResolver","CreateRole","CreateRoleForm","CreateRoleFormResolver","CreateRoleResolver","CreateRoom","CreateRoomForm","CreateRoomFormResolver","CreateRoomResolver","DeleteParty","DeletePartyResolver","DeleteRole","DeleteRoleResolver","GetMemberProfile","GetMemberProfileResolver","GetParty","GetPartyInvites","GetPartyInvitesResolver","GetPartyMember","GetPartyMemberResolver","GetPartyMembers","GetPartyMembersResolver","GetPartyResolver","GetPartyRooms","GetPartyRoomsResolver","PartySettings","PartySettingsResolver","PatchParty","PatchPartyForm","PatchPartyFormResolver","PatchPartyResolver","PatchRole","PatchRoleForm","PatchRoleFormResolver","PatchRoleResolver","SearchParty","SearchPartyResolver","SearchQuery","SearchQueryResolver","TransferOwnership","TransferOwnershipResolver","UpdateMemberProfile","UpdateMemberProfileBody","UpdateMemberProfileBodyResolver","UpdateMemberProfileResolver"]}; \ No newline at end of file diff --git a/client_sdk/api/commands/party/struct.ArchivedCreateParty.html b/client_sdk/api/commands/party/struct.ArchivedCreateParty.html new file mode 100644 index 000000000..23814af66 --- /dev/null +++ b/client_sdk/api/commands/party/struct.ArchivedCreateParty.html @@ -0,0 +1,33 @@ +ArchivedCreateParty in client_sdk::api::commands::party - Rust

Struct client_sdk::api::commands::party::ArchivedCreateParty

source ·
#[repr(C)]
pub struct ArchivedCreateParty
where + CreatePartyForm: Archive,
{ + pub body: <CreatePartyForm as Archive>::Archived, +}
Expand description

An archived CreateParty

+

Fields§

§body: <CreatePartyForm as Archive>::Archived

Trait Implementations§

source§

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedCreateParty
where + CreatePartyForm: Archive, + <__C as Fallible>::Error: Trace, + <CreatePartyForm as Archive>::Archived: CheckBytes<__C>,

source§

unsafe fn check_bytes( + value: *const Self, + context: &mut __C, +) -> Result<(), <__C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Portable for ArchivedCreateParty
where + CreatePartyForm: Archive, + <CreatePartyForm as Archive>::Archived: Portable,

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/party/struct.ArchivedCreatePartyForm.html b/client_sdk/api/commands/party/struct.ArchivedCreatePartyForm.html new file mode 100644 index 000000000..7667592d7 --- /dev/null +++ b/client_sdk/api/commands/party/struct.ArchivedCreatePartyForm.html @@ -0,0 +1,45 @@ +ArchivedCreatePartyForm in client_sdk::api::commands::party - Rust

Struct client_sdk::api::commands::party::ArchivedCreatePartyForm

source ·
#[repr(C)]
pub struct ArchivedCreatePartyForm
where + SmolStr: Archive, + Option<ThinString>: Archive, + PartyFlags: Archive,
{ + pub name: <SmolStr as Archive>::Archived, + pub description: <Option<ThinString> as Archive>::Archived, + pub flags: <PartyFlags as Archive>::Archived, +}
Expand description

An archived CreatePartyForm

+

Fields§

§name: <SmolStr as Archive>::Archived§description: <Option<ThinString> as Archive>::Archived§flags: <PartyFlags as Archive>::Archived

Trait Implementations§

source§

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedCreatePartyForm
where + SmolStr: Archive, + Option<ThinString>: Archive, + PartyFlags: Archive, + <__C as Fallible>::Error: Trace, + <SmolStr as Archive>::Archived: CheckBytes<__C>, + <Option<ThinString> as Archive>::Archived: CheckBytes<__C>, + <PartyFlags as Archive>::Archived: CheckBytes<__C>,

source§

unsafe fn check_bytes( + value: *const Self, + context: &mut __C, +) -> Result<(), <__C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Portable for ArchivedCreatePartyForm
where + SmolStr: Archive, + Option<ThinString>: Archive, + PartyFlags: Archive, + <SmolStr as Archive>::Archived: Portable, + <Option<ThinString> as Archive>::Archived: Portable, + <PartyFlags as Archive>::Archived: Portable,

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/party/struct.ArchivedCreatePartyInvite.html b/client_sdk/api/commands/party/struct.ArchivedCreatePartyInvite.html new file mode 100644 index 000000000..97edb91b5 --- /dev/null +++ b/client_sdk/api/commands/party/struct.ArchivedCreatePartyInvite.html @@ -0,0 +1,39 @@ +ArchivedCreatePartyInvite in client_sdk::api::commands::party - Rust

Struct client_sdk::api::commands::party::ArchivedCreatePartyInvite

source ·
#[repr(C)]
pub struct ArchivedCreatePartyInvite
where + PartyId: Archive, + CreatePartyInviteBody: Archive,
{ + pub party_id: <PartyId as Archive>::Archived, + pub body: <CreatePartyInviteBody as Archive>::Archived, +}
Expand description

An archived CreatePartyInvite

+

Fields§

§party_id: <PartyId as Archive>::Archived§body: <CreatePartyInviteBody as Archive>::Archived

Trait Implementations§

source§

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedCreatePartyInvite
where + PartyId: Archive, + CreatePartyInviteBody: Archive, + <__C as Fallible>::Error: Trace, + <PartyId as Archive>::Archived: CheckBytes<__C>, + <CreatePartyInviteBody as Archive>::Archived: CheckBytes<__C>,

source§

unsafe fn check_bytes( + value: *const Self, + context: &mut __C, +) -> Result<(), <__C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Portable for ArchivedCreatePartyInvite
where + PartyId: Archive, + CreatePartyInviteBody: Archive, + <PartyId as Archive>::Archived: Portable, + <CreatePartyInviteBody as Archive>::Archived: Portable,

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/party/struct.ArchivedCreatePartyInviteBody.html b/client_sdk/api/commands/party/struct.ArchivedCreatePartyInviteBody.html new file mode 100644 index 000000000..eb5722c0e --- /dev/null +++ b/client_sdk/api/commands/party/struct.ArchivedCreatePartyInviteBody.html @@ -0,0 +1,45 @@ +ArchivedCreatePartyInviteBody in client_sdk::api::commands::party - Rust
#[repr(C)]
pub struct ArchivedCreatePartyInviteBody
where + Option<u16>: Archive, + Option<u64>: Archive, + Option<SmolStr>: Archive,
{ + pub max_uses: <Option<u16> as Archive>::Archived, + pub duration: <Option<u64> as Archive>::Archived, + pub description: <Option<SmolStr> as Archive>::Archived, +}
Expand description

An archived CreatePartyInviteBody

+

Fields§

§max_uses: <Option<u16> as Archive>::Archived§duration: <Option<u64> as Archive>::Archived§description: <Option<SmolStr> as Archive>::Archived

Trait Implementations§

source§

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedCreatePartyInviteBody
where + Option<u16>: Archive, + Option<u64>: Archive, + Option<SmolStr>: Archive, + <__C as Fallible>::Error: Trace, + <Option<u16> as Archive>::Archived: CheckBytes<__C>, + <Option<u64> as Archive>::Archived: CheckBytes<__C>, + <Option<SmolStr> as Archive>::Archived: CheckBytes<__C>,

source§

unsafe fn check_bytes( + value: *const Self, + context: &mut __C, +) -> Result<(), <__C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Portable for ArchivedCreatePartyInviteBody
where + Option<u16>: Archive, + Option<u64>: Archive, + Option<SmolStr>: Archive, + <Option<u16> as Archive>::Archived: Portable, + <Option<u64> as Archive>::Archived: Portable, + <Option<SmolStr> as Archive>::Archived: Portable,

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/party/struct.ArchivedCreatePinFolder.html b/client_sdk/api/commands/party/struct.ArchivedCreatePinFolder.html new file mode 100644 index 000000000..518a82022 --- /dev/null +++ b/client_sdk/api/commands/party/struct.ArchivedCreatePinFolder.html @@ -0,0 +1,39 @@ +ArchivedCreatePinFolder in client_sdk::api::commands::party - Rust

Struct client_sdk::api::commands::party::ArchivedCreatePinFolder

source ·
#[repr(C)]
pub struct ArchivedCreatePinFolder
where + PartyId: Archive, + CreatePinFolderForm: Archive,
{ + pub party_id: <PartyId as Archive>::Archived, + pub body: <CreatePinFolderForm as Archive>::Archived, +}
Expand description

An archived CreatePinFolder

+

Fields§

§party_id: <PartyId as Archive>::Archived§body: <CreatePinFolderForm as Archive>::Archived

Trait Implementations§

source§

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedCreatePinFolder
where + PartyId: Archive, + CreatePinFolderForm: Archive, + <__C as Fallible>::Error: Trace, + <PartyId as Archive>::Archived: CheckBytes<__C>, + <CreatePinFolderForm as Archive>::Archived: CheckBytes<__C>,

source§

unsafe fn check_bytes( + value: *const Self, + context: &mut __C, +) -> Result<(), <__C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Portable for ArchivedCreatePinFolder
where + PartyId: Archive, + CreatePinFolderForm: Archive, + <PartyId as Archive>::Archived: Portable, + <CreatePinFolderForm as Archive>::Archived: Portable,

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/party/struct.ArchivedCreatePinFolderForm.html b/client_sdk/api/commands/party/struct.ArchivedCreatePinFolderForm.html new file mode 100644 index 000000000..300cc52d6 --- /dev/null +++ b/client_sdk/api/commands/party/struct.ArchivedCreatePinFolderForm.html @@ -0,0 +1,39 @@ +ArchivedCreatePinFolderForm in client_sdk::api::commands::party - Rust
#[repr(C)]
pub struct ArchivedCreatePinFolderForm
where + SmolStr: Archive, + Option<SmolStr>: Archive,
{ + pub name: <SmolStr as Archive>::Archived, + pub description: <Option<SmolStr> as Archive>::Archived, +}
Expand description

An archived CreatePinFolderForm

+

Fields§

§name: <SmolStr as Archive>::Archived§description: <Option<SmolStr> as Archive>::Archived

Trait Implementations§

source§

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedCreatePinFolderForm
where + SmolStr: Archive, + Option<SmolStr>: Archive, + <__C as Fallible>::Error: Trace, + <SmolStr as Archive>::Archived: CheckBytes<__C>, + <Option<SmolStr> as Archive>::Archived: CheckBytes<__C>,

source§

unsafe fn check_bytes( + value: *const Self, + context: &mut __C, +) -> Result<(), <__C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Portable for ArchivedCreatePinFolderForm
where + SmolStr: Archive, + Option<SmolStr>: Archive, + <SmolStr as Archive>::Archived: Portable, + <Option<SmolStr> as Archive>::Archived: Portable,

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/party/struct.ArchivedCreateRole.html b/client_sdk/api/commands/party/struct.ArchivedCreateRole.html new file mode 100644 index 000000000..9187c5247 --- /dev/null +++ b/client_sdk/api/commands/party/struct.ArchivedCreateRole.html @@ -0,0 +1,39 @@ +ArchivedCreateRole in client_sdk::api::commands::party - Rust

Struct client_sdk::api::commands::party::ArchivedCreateRole

source ·
#[repr(C)]
pub struct ArchivedCreateRole
where + PartyId: Archive, + CreateRoleForm: Archive,
{ + pub party_id: <PartyId as Archive>::Archived, + pub body: <CreateRoleForm as Archive>::Archived, +}
Expand description

An archived CreateRole

+

Fields§

§party_id: <PartyId as Archive>::Archived§body: <CreateRoleForm as Archive>::Archived

Trait Implementations§

source§

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedCreateRole
where + PartyId: Archive, + CreateRoleForm: Archive, + <__C as Fallible>::Error: Trace, + <PartyId as Archive>::Archived: CheckBytes<__C>, + <CreateRoleForm as Archive>::Archived: CheckBytes<__C>,

source§

unsafe fn check_bytes( + value: *const Self, + context: &mut __C, +) -> Result<(), <__C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Portable for ArchivedCreateRole
where + PartyId: Archive, + CreateRoleForm: Archive, + <PartyId as Archive>::Archived: Portable, + <CreateRoleForm as Archive>::Archived: Portable,

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/party/struct.ArchivedCreateRoleForm.html b/client_sdk/api/commands/party/struct.ArchivedCreateRoleForm.html new file mode 100644 index 000000000..8ed759085 --- /dev/null +++ b/client_sdk/api/commands/party/struct.ArchivedCreateRoleForm.html @@ -0,0 +1,33 @@ +ArchivedCreateRoleForm in client_sdk::api::commands::party - Rust

Struct client_sdk::api::commands::party::ArchivedCreateRoleForm

source ·
#[repr(C)]
pub struct ArchivedCreateRoleForm
where + SmolStr: Archive,
{ + pub name: <SmolStr as Archive>::Archived, +}
Expand description

An archived CreateRoleForm

+

Fields§

§name: <SmolStr as Archive>::Archived

Trait Implementations§

source§

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedCreateRoleForm
where + SmolStr: Archive, + <__C as Fallible>::Error: Trace, + <SmolStr as Archive>::Archived: CheckBytes<__C>,

source§

unsafe fn check_bytes( + value: *const Self, + context: &mut __C, +) -> Result<(), <__C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Portable for ArchivedCreateRoleForm
where + SmolStr: Archive, + <SmolStr as Archive>::Archived: Portable,

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/party/struct.ArchivedCreateRoom.html b/client_sdk/api/commands/party/struct.ArchivedCreateRoom.html new file mode 100644 index 000000000..52febf2b3 --- /dev/null +++ b/client_sdk/api/commands/party/struct.ArchivedCreateRoom.html @@ -0,0 +1,39 @@ +ArchivedCreateRoom in client_sdk::api::commands::party - Rust

Struct client_sdk::api::commands::party::ArchivedCreateRoom

source ·
#[repr(C)]
pub struct ArchivedCreateRoom
where + PartyId: Archive, + CreateRoomForm: Archive,
{ + pub party_id: <PartyId as Archive>::Archived, + pub body: <CreateRoomForm as Archive>::Archived, +}
Expand description

An archived CreateRoom

+

Fields§

§party_id: <PartyId as Archive>::Archived§body: <CreateRoomForm as Archive>::Archived

Trait Implementations§

source§

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedCreateRoom
where + PartyId: Archive, + CreateRoomForm: Archive, + <__C as Fallible>::Error: Trace, + <PartyId as Archive>::Archived: CheckBytes<__C>, + <CreateRoomForm as Archive>::Archived: CheckBytes<__C>,

source§

unsafe fn check_bytes( + value: *const Self, + context: &mut __C, +) -> Result<(), <__C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Portable for ArchivedCreateRoom
where + PartyId: Archive, + CreateRoomForm: Archive, + <PartyId as Archive>::Archived: Portable, + <CreateRoomForm as Archive>::Archived: Portable,

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/party/struct.ArchivedCreateRoomForm.html b/client_sdk/api/commands/party/struct.ArchivedCreateRoomForm.html new file mode 100644 index 000000000..60d71bea7 --- /dev/null +++ b/client_sdk/api/commands/party/struct.ArchivedCreateRoomForm.html @@ -0,0 +1,57 @@ +ArchivedCreateRoomForm in client_sdk::api::commands::party - Rust

Struct client_sdk::api::commands::party::ArchivedCreateRoomForm

source ·
#[repr(C)]
pub struct ArchivedCreateRoomForm
where + SmolStr: Archive, + Option<SmolStr>: Archive, + CreateRoomKind: Archive, + ThinVec<Overwrite>: Archive, + i16: Archive,
{ + pub name: <SmolStr as Archive>::Archived, + pub topic: <Option<SmolStr> as Archive>::Archived, + pub kind: <CreateRoomKind as Archive>::Archived, + pub overwrites: <ThinVec<Overwrite> as Archive>::Archived, + pub position: <i16 as Archive>::Archived, +}
Expand description

An archived CreateRoomForm

+

Fields§

§name: <SmolStr as Archive>::Archived§topic: <Option<SmolStr> as Archive>::Archived§kind: <CreateRoomKind as Archive>::Archived§overwrites: <ThinVec<Overwrite> as Archive>::Archived§position: <i16 as Archive>::Archived

Trait Implementations§

source§

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedCreateRoomForm
where + SmolStr: Archive, + Option<SmolStr>: Archive, + CreateRoomKind: Archive, + ThinVec<Overwrite>: Archive, + i16: Archive, + <__C as Fallible>::Error: Trace, + <SmolStr as Archive>::Archived: CheckBytes<__C>, + <Option<SmolStr> as Archive>::Archived: CheckBytes<__C>, + <CreateRoomKind as Archive>::Archived: CheckBytes<__C>, + <ThinVec<Overwrite> as Archive>::Archived: CheckBytes<__C>, + <i16 as Archive>::Archived: CheckBytes<__C>,

source§

unsafe fn check_bytes( + value: *const Self, + context: &mut __C, +) -> Result<(), <__C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Portable for ArchivedCreateRoomForm
where + SmolStr: Archive, + Option<SmolStr>: Archive, + CreateRoomKind: Archive, + ThinVec<Overwrite>: Archive, + i16: Archive, + <SmolStr as Archive>::Archived: Portable, + <Option<SmolStr> as Archive>::Archived: Portable, + <CreateRoomKind as Archive>::Archived: Portable, + <ThinVec<Overwrite> as Archive>::Archived: Portable, + <i16 as Archive>::Archived: Portable,

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/party/struct.ArchivedDeleteParty.html b/client_sdk/api/commands/party/struct.ArchivedDeleteParty.html new file mode 100644 index 000000000..48bb875b6 --- /dev/null +++ b/client_sdk/api/commands/party/struct.ArchivedDeleteParty.html @@ -0,0 +1,33 @@ +ArchivedDeleteParty in client_sdk::api::commands::party - Rust

Struct client_sdk::api::commands::party::ArchivedDeleteParty

source ·
#[repr(C)]
pub struct ArchivedDeleteParty
where + PartyId: Archive,
{ + pub party_id: <PartyId as Archive>::Archived, +}
Expand description

An archived DeleteParty

+

Fields§

§party_id: <PartyId as Archive>::Archived

Trait Implementations§

source§

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedDeleteParty
where + PartyId: Archive, + <__C as Fallible>::Error: Trace, + <PartyId as Archive>::Archived: CheckBytes<__C>,

source§

unsafe fn check_bytes( + value: *const Self, + context: &mut __C, +) -> Result<(), <__C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Portable for ArchivedDeleteParty
where + PartyId: Archive, + <PartyId as Archive>::Archived: Portable,

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/party/struct.ArchivedDeleteRole.html b/client_sdk/api/commands/party/struct.ArchivedDeleteRole.html new file mode 100644 index 000000000..f14e56302 --- /dev/null +++ b/client_sdk/api/commands/party/struct.ArchivedDeleteRole.html @@ -0,0 +1,39 @@ +ArchivedDeleteRole in client_sdk::api::commands::party - Rust

Struct client_sdk::api::commands::party::ArchivedDeleteRole

source ·
#[repr(C)]
pub struct ArchivedDeleteRole
where + PartyId: Archive, + RoleId: Archive,
{ + pub party_id: <PartyId as Archive>::Archived, + pub role_id: <RoleId as Archive>::Archived, +}
Expand description

An archived DeleteRole

+

Fields§

§party_id: <PartyId as Archive>::Archived§role_id: <RoleId as Archive>::Archived

Trait Implementations§

source§

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedDeleteRole
where + PartyId: Archive, + RoleId: Archive, + <__C as Fallible>::Error: Trace, + <PartyId as Archive>::Archived: CheckBytes<__C>, + <RoleId as Archive>::Archived: CheckBytes<__C>,

source§

unsafe fn check_bytes( + value: *const Self, + context: &mut __C, +) -> Result<(), <__C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Portable for ArchivedDeleteRole
where + PartyId: Archive, + RoleId: Archive, + <PartyId as Archive>::Archived: Portable, + <RoleId as Archive>::Archived: Portable,

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/party/struct.ArchivedGetMemberProfile.html b/client_sdk/api/commands/party/struct.ArchivedGetMemberProfile.html new file mode 100644 index 000000000..7f5d5e0ef --- /dev/null +++ b/client_sdk/api/commands/party/struct.ArchivedGetMemberProfile.html @@ -0,0 +1,39 @@ +ArchivedGetMemberProfile in client_sdk::api::commands::party - Rust

Struct client_sdk::api::commands::party::ArchivedGetMemberProfile

source ·
#[repr(C)]
pub struct ArchivedGetMemberProfile
where + PartyId: Archive, + UserId: Archive,
{ + pub party_id: <PartyId as Archive>::Archived, + pub user_id: <UserId as Archive>::Archived, +}
Expand description

An archived GetMemberProfile

+

Fields§

§party_id: <PartyId as Archive>::Archived§user_id: <UserId as Archive>::Archived

Trait Implementations§

source§

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedGetMemberProfile
where + PartyId: Archive, + UserId: Archive, + <__C as Fallible>::Error: Trace, + <PartyId as Archive>::Archived: CheckBytes<__C>, + <UserId as Archive>::Archived: CheckBytes<__C>,

source§

unsafe fn check_bytes( + value: *const Self, + context: &mut __C, +) -> Result<(), <__C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Portable for ArchivedGetMemberProfile
where + PartyId: Archive, + UserId: Archive, + <PartyId as Archive>::Archived: Portable, + <UserId as Archive>::Archived: Portable,

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/party/struct.ArchivedGetParty.html b/client_sdk/api/commands/party/struct.ArchivedGetParty.html new file mode 100644 index 000000000..841e0b408 --- /dev/null +++ b/client_sdk/api/commands/party/struct.ArchivedGetParty.html @@ -0,0 +1,33 @@ +ArchivedGetParty in client_sdk::api::commands::party - Rust

Struct client_sdk::api::commands::party::ArchivedGetParty

source ·
#[repr(C)]
pub struct ArchivedGetParty
where + PartyId: Archive,
{ + pub party_id: <PartyId as Archive>::Archived, +}
Expand description

An archived GetParty

+

Fields§

§party_id: <PartyId as Archive>::Archived

Trait Implementations§

source§

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedGetParty
where + PartyId: Archive, + <__C as Fallible>::Error: Trace, + <PartyId as Archive>::Archived: CheckBytes<__C>,

source§

unsafe fn check_bytes( + value: *const Self, + context: &mut __C, +) -> Result<(), <__C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Portable for ArchivedGetParty
where + PartyId: Archive, + <PartyId as Archive>::Archived: Portable,

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/party/struct.ArchivedGetPartyInvites.html b/client_sdk/api/commands/party/struct.ArchivedGetPartyInvites.html new file mode 100644 index 000000000..02ac756c1 --- /dev/null +++ b/client_sdk/api/commands/party/struct.ArchivedGetPartyInvites.html @@ -0,0 +1,33 @@ +ArchivedGetPartyInvites in client_sdk::api::commands::party - Rust

Struct client_sdk::api::commands::party::ArchivedGetPartyInvites

source ·
#[repr(C)]
pub struct ArchivedGetPartyInvites
where + PartyId: Archive,
{ + pub party_id: <PartyId as Archive>::Archived, +}
Expand description

An archived GetPartyInvites

+

Fields§

§party_id: <PartyId as Archive>::Archived

Trait Implementations§

source§

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedGetPartyInvites
where + PartyId: Archive, + <__C as Fallible>::Error: Trace, + <PartyId as Archive>::Archived: CheckBytes<__C>,

source§

unsafe fn check_bytes( + value: *const Self, + context: &mut __C, +) -> Result<(), <__C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Portable for ArchivedGetPartyInvites
where + PartyId: Archive, + <PartyId as Archive>::Archived: Portable,

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/party/struct.ArchivedGetPartyMember.html b/client_sdk/api/commands/party/struct.ArchivedGetPartyMember.html new file mode 100644 index 000000000..f3a1724b6 --- /dev/null +++ b/client_sdk/api/commands/party/struct.ArchivedGetPartyMember.html @@ -0,0 +1,39 @@ +ArchivedGetPartyMember in client_sdk::api::commands::party - Rust

Struct client_sdk::api::commands::party::ArchivedGetPartyMember

source ·
#[repr(C)]
pub struct ArchivedGetPartyMember
where + PartyId: Archive, + UserId: Archive,
{ + pub party_id: <PartyId as Archive>::Archived, + pub member_id: <UserId as Archive>::Archived, +}
Expand description

An archived GetPartyMember

+

Fields§

§party_id: <PartyId as Archive>::Archived§member_id: <UserId as Archive>::Archived

Trait Implementations§

source§

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedGetPartyMember
where + PartyId: Archive, + UserId: Archive, + <__C as Fallible>::Error: Trace, + <PartyId as Archive>::Archived: CheckBytes<__C>, + <UserId as Archive>::Archived: CheckBytes<__C>,

source§

unsafe fn check_bytes( + value: *const Self, + context: &mut __C, +) -> Result<(), <__C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Portable for ArchivedGetPartyMember
where + PartyId: Archive, + UserId: Archive, + <PartyId as Archive>::Archived: Portable, + <UserId as Archive>::Archived: Portable,

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/party/struct.ArchivedGetPartyMembers.html b/client_sdk/api/commands/party/struct.ArchivedGetPartyMembers.html new file mode 100644 index 000000000..f7924c299 --- /dev/null +++ b/client_sdk/api/commands/party/struct.ArchivedGetPartyMembers.html @@ -0,0 +1,33 @@ +ArchivedGetPartyMembers in client_sdk::api::commands::party - Rust

Struct client_sdk::api::commands::party::ArchivedGetPartyMembers

source ·
#[repr(C)]
pub struct ArchivedGetPartyMembers
where + PartyId: Archive,
{ + pub party_id: <PartyId as Archive>::Archived, +}
Expand description

An archived GetPartyMembers

+

Fields§

§party_id: <PartyId as Archive>::Archived

Trait Implementations§

source§

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedGetPartyMembers
where + PartyId: Archive, + <__C as Fallible>::Error: Trace, + <PartyId as Archive>::Archived: CheckBytes<__C>,

source§

unsafe fn check_bytes( + value: *const Self, + context: &mut __C, +) -> Result<(), <__C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Portable for ArchivedGetPartyMembers
where + PartyId: Archive, + <PartyId as Archive>::Archived: Portable,

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/party/struct.ArchivedGetPartyRooms.html b/client_sdk/api/commands/party/struct.ArchivedGetPartyRooms.html new file mode 100644 index 000000000..5701cfc11 --- /dev/null +++ b/client_sdk/api/commands/party/struct.ArchivedGetPartyRooms.html @@ -0,0 +1,33 @@ +ArchivedGetPartyRooms in client_sdk::api::commands::party - Rust

Struct client_sdk::api::commands::party::ArchivedGetPartyRooms

source ·
#[repr(C)]
pub struct ArchivedGetPartyRooms
where + PartyId: Archive,
{ + pub party_id: <PartyId as Archive>::Archived, +}
Expand description

An archived GetPartyRooms

+

Fields§

§party_id: <PartyId as Archive>::Archived

Trait Implementations§

source§

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedGetPartyRooms
where + PartyId: Archive, + <__C as Fallible>::Error: Trace, + <PartyId as Archive>::Archived: CheckBytes<__C>,

source§

unsafe fn check_bytes( + value: *const Self, + context: &mut __C, +) -> Result<(), <__C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Portable for ArchivedGetPartyRooms
where + PartyId: Archive, + <PartyId as Archive>::Archived: Portable,

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/party/struct.ArchivedPartySettings.html b/client_sdk/api/commands/party/struct.ArchivedPartySettings.html new file mode 100644 index 000000000..b1ac73680 --- /dev/null +++ b/client_sdk/api/commands/party/struct.ArchivedPartySettings.html @@ -0,0 +1,39 @@ +ArchivedPartySettings in client_sdk::api::commands::party - Rust

Struct client_sdk::api::commands::party::ArchivedPartySettings

source ·
#[repr(C)]
pub struct ArchivedPartySettings
where + PartyFlags: Archive, + PartyPreferences: Archive,
{ + pub flags: <PartyFlags as Archive>::Archived, + pub prefs: <PartyPreferences as Archive>::Archived, +}
Expand description

An archived PartySettings

+

Fields§

§flags: <PartyFlags as Archive>::Archived§prefs: <PartyPreferences as Archive>::Archived

Trait Implementations§

source§

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedPartySettings
where + PartyFlags: Archive, + PartyPreferences: Archive, + <__C as Fallible>::Error: Trace, + <PartyFlags as Archive>::Archived: CheckBytes<__C>, + <PartyPreferences as Archive>::Archived: CheckBytes<__C>,

source§

unsafe fn check_bytes( + value: *const Self, + context: &mut __C, +) -> Result<(), <__C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Portable for ArchivedPartySettings
where + PartyFlags: Archive, + PartyPreferences: Archive, + <PartyFlags as Archive>::Archived: Portable, + <PartyPreferences as Archive>::Archived: Portable,

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/party/struct.ArchivedPatchParty.html b/client_sdk/api/commands/party/struct.ArchivedPatchParty.html new file mode 100644 index 000000000..217a1dcc3 --- /dev/null +++ b/client_sdk/api/commands/party/struct.ArchivedPatchParty.html @@ -0,0 +1,39 @@ +ArchivedPatchParty in client_sdk::api::commands::party - Rust

Struct client_sdk::api::commands::party::ArchivedPatchParty

source ·
#[repr(C)]
pub struct ArchivedPatchParty
where + PartyId: Archive, + PatchPartyForm: Archive,
{ + pub party_id: <PartyId as Archive>::Archived, + pub body: <PatchPartyForm as Archive>::Archived, +}
Expand description

An archived PatchParty

+

Fields§

§party_id: <PartyId as Archive>::Archived§body: <PatchPartyForm as Archive>::Archived

Trait Implementations§

source§

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedPatchParty
where + PartyId: Archive, + PatchPartyForm: Archive, + <__C as Fallible>::Error: Trace, + <PartyId as Archive>::Archived: CheckBytes<__C>, + <PatchPartyForm as Archive>::Archived: CheckBytes<__C>,

source§

unsafe fn check_bytes( + value: *const Self, + context: &mut __C, +) -> Result<(), <__C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Portable for ArchivedPatchParty
where + PartyId: Archive, + PatchPartyForm: Archive, + <PartyId as Archive>::Archived: Portable, + <PatchPartyForm as Archive>::Archived: Portable,

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/party/struct.ArchivedPatchPartyForm.html b/client_sdk/api/commands/party/struct.ArchivedPatchPartyForm.html new file mode 100644 index 000000000..0a5b8404d --- /dev/null +++ b/client_sdk/api/commands/party/struct.ArchivedPatchPartyForm.html @@ -0,0 +1,90 @@ +ArchivedPatchPartyForm in client_sdk::api::commands::party - Rust

Struct client_sdk::api::commands::party::ArchivedPatchPartyForm

source ·
#[repr(C)]
pub struct ArchivedPatchPartyForm
where + Option<SmolStr>: Archive, + Nullable<SmolStr>: Archive, + Option<PartyFlags>: Archive, + Option<RoomId>: Archive, + Nullable<FileId>: Archive, + BannerAlign: Archive,
{ + pub name: <Option<SmolStr> as Archive>::Archived, + pub description: <Nullable<SmolStr> as Archive>::Archived, + pub flags: <Option<PartyFlags> as Archive>::Archived, + pub default_room: <Option<RoomId> as Archive>::Archived, + pub avatar: <Nullable<FileId> as Archive>::Archived, + pub banner: <Nullable<FileId> as Archive>::Archived, + pub banner_align: <BannerAlign as Archive>::Archived, +}
Expand description

An archived PatchPartyForm

+

Fields§

§name: <Option<SmolStr> as Archive>::Archived§description: <Nullable<SmolStr> as Archive>::Archived§flags: <Option<PartyFlags> as Archive>::Archived§default_room: <Option<RoomId> as Archive>::Archived§avatar: <Nullable<FileId> as Archive>::Archived§banner: <Nullable<FileId> as Archive>::Archived§banner_align: <BannerAlign as Archive>::Archived

Trait Implementations§

source§

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedPatchPartyForm
where + Option<SmolStr>: Archive, + Nullable<SmolStr>: Archive, + Option<PartyFlags>: Archive, + Option<RoomId>: Archive, + Nullable<FileId>: Archive, + BannerAlign: Archive, + <__C as Fallible>::Error: Trace, + <Option<SmolStr> as Archive>::Archived: CheckBytes<__C>, + <Nullable<SmolStr> as Archive>::Archived: CheckBytes<__C>, + <Option<PartyFlags> as Archive>::Archived: CheckBytes<__C>, + <Option<RoomId> as Archive>::Archived: CheckBytes<__C>, + <Nullable<FileId> as Archive>::Archived: CheckBytes<__C>, + <BannerAlign as Archive>::Archived: CheckBytes<__C>,

source§

unsafe fn check_bytes( + value: *const Self, + context: &mut __C, +) -> Result<(), <__C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl PartialEq<ArchivedPatchPartyForm> for PatchPartyForm
where + Option<SmolStr>: Archive, + Nullable<SmolStr>: Archive, + Option<PartyFlags>: Archive, + Option<RoomId>: Archive, + Nullable<FileId>: Archive, + BannerAlign: Archive, + <Option<SmolStr> as Archive>::Archived: PartialEq<Option<SmolStr>>, + <Nullable<SmolStr> as Archive>::Archived: PartialEq<Nullable<SmolStr>>, + <Option<PartyFlags> as Archive>::Archived: PartialEq<Option<PartyFlags>>, + <Option<RoomId> as Archive>::Archived: PartialEq<Option<RoomId>>, + <Nullable<FileId> as Archive>::Archived: PartialEq<Nullable<FileId>>, + <BannerAlign as Archive>::Archived: PartialEq<BannerAlign>,

source§

fn eq(&self, other: &ArchivedPatchPartyForm) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl PartialEq<PatchPartyForm> for ArchivedPatchPartyForm
where + Option<SmolStr>: Archive, + Nullable<SmolStr>: Archive, + Option<PartyFlags>: Archive, + Option<RoomId>: Archive, + Nullable<FileId>: Archive, + BannerAlign: Archive, + <Option<SmolStr> as Archive>::Archived: PartialEq<Option<SmolStr>>, + <Nullable<SmolStr> as Archive>::Archived: PartialEq<Nullable<SmolStr>>, + <Option<PartyFlags> as Archive>::Archived: PartialEq<Option<PartyFlags>>, + <Option<RoomId> as Archive>::Archived: PartialEq<Option<RoomId>>, + <Nullable<FileId> as Archive>::Archived: PartialEq<Nullable<FileId>>, + <BannerAlign as Archive>::Archived: PartialEq<BannerAlign>,

source§

fn eq(&self, other: &PatchPartyForm) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl Portable for ArchivedPatchPartyForm
where + Option<SmolStr>: Archive, + Nullable<SmolStr>: Archive, + Option<PartyFlags>: Archive, + Option<RoomId>: Archive, + Nullable<FileId>: Archive, + BannerAlign: Archive, + <Option<SmolStr> as Archive>::Archived: Portable, + <Nullable<SmolStr> as Archive>::Archived: Portable, + <Option<PartyFlags> as Archive>::Archived: Portable, + <Option<RoomId> as Archive>::Archived: Portable, + <Nullable<FileId> as Archive>::Archived: Portable, + <BannerAlign as Archive>::Archived: Portable,

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/party/struct.ArchivedPatchRole.html b/client_sdk/api/commands/party/struct.ArchivedPatchRole.html new file mode 100644 index 000000000..ecb6a7488 --- /dev/null +++ b/client_sdk/api/commands/party/struct.ArchivedPatchRole.html @@ -0,0 +1,45 @@ +ArchivedPatchRole in client_sdk::api::commands::party - Rust

Struct client_sdk::api::commands::party::ArchivedPatchRole

source ·
#[repr(C)]
pub struct ArchivedPatchRole
where + PartyId: Archive, + RoleId: Archive, + PatchRoleForm: Archive,
{ + pub party_id: <PartyId as Archive>::Archived, + pub role_id: <RoleId as Archive>::Archived, + pub body: <PatchRoleForm as Archive>::Archived, +}
Expand description

An archived PatchRole

+

Fields§

§party_id: <PartyId as Archive>::Archived§role_id: <RoleId as Archive>::Archived§body: <PatchRoleForm as Archive>::Archived

Trait Implementations§

source§

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedPatchRole
where + PartyId: Archive, + RoleId: Archive, + PatchRoleForm: Archive, + <__C as Fallible>::Error: Trace, + <PartyId as Archive>::Archived: CheckBytes<__C>, + <RoleId as Archive>::Archived: CheckBytes<__C>, + <PatchRoleForm as Archive>::Archived: CheckBytes<__C>,

source§

unsafe fn check_bytes( + value: *const Self, + context: &mut __C, +) -> Result<(), <__C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Portable for ArchivedPatchRole
where + PartyId: Archive, + RoleId: Archive, + PatchRoleForm: Archive, + <PartyId as Archive>::Archived: Portable, + <RoleId as Archive>::Archived: Portable, + <PatchRoleForm as Archive>::Archived: Portable,

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/party/struct.ArchivedPatchRoleForm.html b/client_sdk/api/commands/party/struct.ArchivedPatchRoleForm.html new file mode 100644 index 000000000..024e27f05 --- /dev/null +++ b/client_sdk/api/commands/party/struct.ArchivedPatchRoleForm.html @@ -0,0 +1,89 @@ +ArchivedPatchRoleForm in client_sdk::api::commands::party - Rust

Struct client_sdk::api::commands::party::ArchivedPatchRoleForm

source ·
#[repr(C)]
pub struct ArchivedPatchRoleForm
where + Option<RoleFlags>: Archive, + Option<SmolStr>: Archive, + Option<u32>: Archive, + Option<Permissions>: Archive, + Nullable<FileId>: Archive, + Option<u8>: Archive,
{ + pub flags: <Option<RoleFlags> as Archive>::Archived, + pub name: <Option<SmolStr> as Archive>::Archived, + pub color: <Option<u32> as Archive>::Archived, + pub permissions: <Option<Permissions> as Archive>::Archived, + pub avatar: <Nullable<FileId> as Archive>::Archived, + pub position: <Option<u8> as Archive>::Archived, +}
Expand description

An archived PatchRoleForm

+

Fields§

§flags: <Option<RoleFlags> as Archive>::Archived§name: <Option<SmolStr> as Archive>::Archived§color: <Option<u32> as Archive>::Archived§permissions: <Option<Permissions> as Archive>::Archived§avatar: <Nullable<FileId> as Archive>::Archived§position: <Option<u8> as Archive>::Archived

Trait Implementations§

source§

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedPatchRoleForm
where + Option<RoleFlags>: Archive, + Option<SmolStr>: Archive, + Option<u32>: Archive, + Option<Permissions>: Archive, + Nullable<FileId>: Archive, + Option<u8>: Archive, + <__C as Fallible>::Error: Trace, + <Option<RoleFlags> as Archive>::Archived: CheckBytes<__C>, + <Option<SmolStr> as Archive>::Archived: CheckBytes<__C>, + <Option<u32> as Archive>::Archived: CheckBytes<__C>, + <Option<Permissions> as Archive>::Archived: CheckBytes<__C>, + <Nullable<FileId> as Archive>::Archived: CheckBytes<__C>, + <Option<u8> as Archive>::Archived: CheckBytes<__C>,

source§

unsafe fn check_bytes( + value: *const Self, + context: &mut __C, +) -> Result<(), <__C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl PartialEq<ArchivedPatchRoleForm> for PatchRoleForm
where + Option<RoleFlags>: Archive, + Option<SmolStr>: Archive, + Option<u32>: Archive, + Option<Permissions>: Archive, + Nullable<FileId>: Archive, + Option<u8>: Archive, + <Option<RoleFlags> as Archive>::Archived: PartialEq<Option<RoleFlags>>, + <Option<SmolStr> as Archive>::Archived: PartialEq<Option<SmolStr>>, + <Option<u32> as Archive>::Archived: PartialEq<Option<u32>>, + <Option<Permissions> as Archive>::Archived: PartialEq<Option<Permissions>>, + <Nullable<FileId> as Archive>::Archived: PartialEq<Nullable<FileId>>, + <Option<u8> as Archive>::Archived: PartialEq<Option<u8>>,

source§

fn eq(&self, other: &ArchivedPatchRoleForm) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl PartialEq<PatchRoleForm> for ArchivedPatchRoleForm
where + Option<RoleFlags>: Archive, + Option<SmolStr>: Archive, + Option<u32>: Archive, + Option<Permissions>: Archive, + Nullable<FileId>: Archive, + Option<u8>: Archive, + <Option<RoleFlags> as Archive>::Archived: PartialEq<Option<RoleFlags>>, + <Option<SmolStr> as Archive>::Archived: PartialEq<Option<SmolStr>>, + <Option<u32> as Archive>::Archived: PartialEq<Option<u32>>, + <Option<Permissions> as Archive>::Archived: PartialEq<Option<Permissions>>, + <Nullable<FileId> as Archive>::Archived: PartialEq<Nullable<FileId>>, + <Option<u8> as Archive>::Archived: PartialEq<Option<u8>>,

source§

fn eq(&self, other: &PatchRoleForm) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl Portable for ArchivedPatchRoleForm
where + Option<RoleFlags>: Archive, + Option<SmolStr>: Archive, + Option<u32>: Archive, + Option<Permissions>: Archive, + Nullable<FileId>: Archive, + Option<u8>: Archive, + <Option<RoleFlags> as Archive>::Archived: Portable, + <Option<SmolStr> as Archive>::Archived: Portable, + <Option<u32> as Archive>::Archived: Portable, + <Option<Permissions> as Archive>::Archived: Portable, + <Nullable<FileId> as Archive>::Archived: Portable, + <Option<u8> as Archive>::Archived: Portable,

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/party/struct.ArchivedSearchParty.html b/client_sdk/api/commands/party/struct.ArchivedSearchParty.html new file mode 100644 index 000000000..31b752659 --- /dev/null +++ b/client_sdk/api/commands/party/struct.ArchivedSearchParty.html @@ -0,0 +1,39 @@ +ArchivedSearchParty in client_sdk::api::commands::party - Rust

Struct client_sdk::api::commands::party::ArchivedSearchParty

source ·
#[repr(C)]
pub struct ArchivedSearchParty
where + PartyId: Archive, + SearchQuery: Archive,
{ + pub party_id: <PartyId as Archive>::Archived, + pub body: <SearchQuery as Archive>::Archived, +}
Expand description

An archived SearchParty

+

Fields§

§party_id: <PartyId as Archive>::Archived§body: <SearchQuery as Archive>::Archived

Trait Implementations§

source§

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedSearchParty
where + PartyId: Archive, + SearchQuery: Archive, + <__C as Fallible>::Error: Trace, + <PartyId as Archive>::Archived: CheckBytes<__C>, + <SearchQuery as Archive>::Archived: CheckBytes<__C>,

source§

unsafe fn check_bytes( + value: *const Self, + context: &mut __C, +) -> Result<(), <__C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Portable for ArchivedSearchParty
where + PartyId: Archive, + SearchQuery: Archive, + <PartyId as Archive>::Archived: Portable, + <SearchQuery as Archive>::Archived: Portable,

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/party/struct.ArchivedSearchQuery.html b/client_sdk/api/commands/party/struct.ArchivedSearchQuery.html new file mode 100644 index 000000000..e41bb0f82 --- /dev/null +++ b/client_sdk/api/commands/party/struct.ArchivedSearchQuery.html @@ -0,0 +1,33 @@ +ArchivedSearchQuery in client_sdk::api::commands::party - Rust

Struct client_sdk::api::commands::party::ArchivedSearchQuery

source ·
#[repr(C)]
pub struct ArchivedSearchQuery
where + ThinString: Archive,
{ + pub query: <ThinString as Archive>::Archived, +}
Expand description

An archived SearchQuery

+

Fields§

§query: <ThinString as Archive>::Archived

Trait Implementations§

source§

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedSearchQuery
where + ThinString: Archive, + <__C as Fallible>::Error: Trace, + <ThinString as Archive>::Archived: CheckBytes<__C>,

source§

unsafe fn check_bytes( + value: *const Self, + context: &mut __C, +) -> Result<(), <__C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Portable for ArchivedSearchQuery
where + ThinString: Archive, + <ThinString as Archive>::Archived: Portable,

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/party/struct.ArchivedTransferOwnership.html b/client_sdk/api/commands/party/struct.ArchivedTransferOwnership.html new file mode 100644 index 000000000..3590b8e4d --- /dev/null +++ b/client_sdk/api/commands/party/struct.ArchivedTransferOwnership.html @@ -0,0 +1,39 @@ +ArchivedTransferOwnership in client_sdk::api::commands::party - Rust

Struct client_sdk::api::commands::party::ArchivedTransferOwnership

source ·
#[repr(C)]
pub struct ArchivedTransferOwnership
where + PartyId: Archive, + UserId: Archive,
{ + pub party_id: <PartyId as Archive>::Archived, + pub user_id: <UserId as Archive>::Archived, +}
Expand description

An archived TransferOwnership

+

Fields§

§party_id: <PartyId as Archive>::Archived§user_id: <UserId as Archive>::Archived

Trait Implementations§

source§

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedTransferOwnership
where + PartyId: Archive, + UserId: Archive, + <__C as Fallible>::Error: Trace, + <PartyId as Archive>::Archived: CheckBytes<__C>, + <UserId as Archive>::Archived: CheckBytes<__C>,

source§

unsafe fn check_bytes( + value: *const Self, + context: &mut __C, +) -> Result<(), <__C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Portable for ArchivedTransferOwnership
where + PartyId: Archive, + UserId: Archive, + <PartyId as Archive>::Archived: Portable, + <UserId as Archive>::Archived: Portable,

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/party/struct.ArchivedUpdateMemberProfile.html b/client_sdk/api/commands/party/struct.ArchivedUpdateMemberProfile.html new file mode 100644 index 000000000..45f56faae --- /dev/null +++ b/client_sdk/api/commands/party/struct.ArchivedUpdateMemberProfile.html @@ -0,0 +1,39 @@ +ArchivedUpdateMemberProfile in client_sdk::api::commands::party - Rust
#[repr(C)]
pub struct ArchivedUpdateMemberProfile
where + PartyId: Archive, + UpdateMemberProfileBody: Archive,
{ + pub party_id: <PartyId as Archive>::Archived, + pub body: <UpdateMemberProfileBody as Archive>::Archived, +}
Expand description

An archived UpdateMemberProfile

+

Fields§

§party_id: <PartyId as Archive>::Archived§body: <UpdateMemberProfileBody as Archive>::Archived

Trait Implementations§

source§

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedUpdateMemberProfile
where + PartyId: Archive, + UpdateMemberProfileBody: Archive, + <__C as Fallible>::Error: Trace, + <PartyId as Archive>::Archived: CheckBytes<__C>, + <UpdateMemberProfileBody as Archive>::Archived: CheckBytes<__C>,

source§

unsafe fn check_bytes( + value: *const Self, + context: &mut __C, +) -> Result<(), <__C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Portable for ArchivedUpdateMemberProfile
where + PartyId: Archive, + UpdateMemberProfileBody: Archive, + <PartyId as Archive>::Archived: Portable, + <UpdateMemberProfileBody as Archive>::Archived: Portable,

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/party/struct.ArchivedUpdateMemberProfileBody.html b/client_sdk/api/commands/party/struct.ArchivedUpdateMemberProfileBody.html new file mode 100644 index 000000000..2db09a13b --- /dev/null +++ b/client_sdk/api/commands/party/struct.ArchivedUpdateMemberProfileBody.html @@ -0,0 +1,33 @@ +ArchivedUpdateMemberProfileBody in client_sdk::api::commands::party - Rust
#[repr(C)]
pub struct ArchivedUpdateMemberProfileBody
where + UpdateUserProfileBody: Archive,
{ + pub profile: <UpdateUserProfileBody as Archive>::Archived, +}
Expand description

Fields§

§profile: <UpdateUserProfileBody as Archive>::Archived

Trait Implementations§

source§

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedUpdateMemberProfileBody
where + UpdateUserProfileBody: Archive, + <__C as Fallible>::Error: Trace, + <UpdateUserProfileBody as Archive>::Archived: CheckBytes<__C>,

source§

unsafe fn check_bytes( + value: *const Self, + context: &mut __C, +) -> Result<(), <__C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Portable for ArchivedUpdateMemberProfileBody
where + UpdateUserProfileBody: Archive, + <UpdateUserProfileBody as Archive>::Archived: Portable,

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/party/struct.CreateParty.html b/client_sdk/api/commands/party/struct.CreateParty.html new file mode 100644 index 000000000..965820d99 --- /dev/null +++ b/client_sdk/api/commands/party/struct.CreateParty.html @@ -0,0 +1,60 @@ +CreateParty in client_sdk::api::commands::party - Rust

Struct client_sdk::api::commands::party::CreateParty

source ·
pub struct CreateParty {
+    pub body: CreatePartyForm,
+}

Fields§

§body: CreatePartyForm

Body to be serialized as request body or query parameters (if GET)

+

Implementations§

source§

impl CreateParty

source

pub const fn new( + name: SmolStr, + description: Option<ThinString>, + flags: PartyFlags, +) -> Self

Construct new instance from individual fields

+

Trait Implementations§

source§

impl Archive for CreateParty
where + CreatePartyForm: Archive,

source§

type Archived = ArchivedCreateParty

The archived representation of this type. Read more
source§

type Resolver = CreatePartyResolver

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
source§

impl Command for CreateParty

source§

const RATE_LIMIT: RateLimit = _

+
RateLimit {
+    emission_interval: 5000ms,
+    burst_size: 1,
+}
+

If not specified, the burst_size will be from RateLimit::DEFAULT.

+
source§

const STREAM: bool = false

Whether the command returns one or many items
source§

const IS_QUERY: bool = false

Whether the command has a query string or sends a body
source§

async fn collect<S, E>(stream: S) -> Result<Self::Result, E>
where + S: Stream<Item = Result<Self::Item, E>> + Send, + E: From<MissingItemError>,

Used to collect the Result from an arbitrary Stream of items.
source§

type Item = Party

The underlying type of each returned item, be it one or many.
source§

type Result = Party

Item(s) returned from the server by a given command
source§

const HTTP_METHOD: Method = http::Method::POST

HTTP Method used to execute the command
source§

const FLAGS: CommandFlags = _

Flags for the command, defaults to empty.
source§

const SERVER_TIMEOUT: Duration = _

On the server side, how long to wait before timing out the request.
source§

fn perms(&self) -> Permissions

Computes required permissions
source§

const ROUTE_PATTERN: &'static str = "/api/v1/party"

Path pattern for the command (without query) when used with matchit 0.8 or higher.
source§

fn format_path<W: Write>(&self, w: W) -> Result

Serialize/format the REST path (without query)
source§

type Body = CreatePartyForm

Body type for the command
source§

fn body(&self) -> &Self::Body

Body to be serialized as request body or query parameters (if GET)
source§

fn body_size_hint(&self) -> usize

Hint given to preallocate body size, only used for query strings
source§

fn add_headers(&self, _map: &mut HeaderMap)

Insert any additional headers required to perform this command
source§

impl Debug for CreateParty

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Deref for CreateParty

source§

type Target = CreatePartyForm

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl DerefMut for CreateParty

source§

fn deref_mut(&mut self) -> &mut Self::Target

Mutably dereferences the value.
source§

impl<__D: Fallible + ?Sized> Deserialize<CreateParty, __D> for Archived<CreateParty>
where + CreatePartyForm: Archive, + <CreatePartyForm as Archive>::Archived: Deserialize<CreatePartyForm, __D>,

source§

fn deserialize( + &self, + deserializer: &mut __D, +) -> Result<CreateParty, <__D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<__S: Fallible + ?Sized> Serialize<__S> for CreateParty
where + CreatePartyForm: Serialize<__S>,

source§

fn serialize( + &self, + serializer: &mut __S, +) -> Result<<Self as Archive>::Resolver, <__S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/party/struct.CreatePartyForm.html b/client_sdk/api/commands/party/struct.CreatePartyForm.html new file mode 100644 index 000000000..b70a929fc --- /dev/null +++ b/client_sdk/api/commands/party/struct.CreatePartyForm.html @@ -0,0 +1,61 @@ +CreatePartyForm in client_sdk::api::commands::party - Rust

Struct client_sdk::api::commands::party::CreatePartyForm

source ·
pub struct CreatePartyForm {
+    pub name: SmolStr,
+    pub description: Option<ThinString>,
+    pub flags: PartyFlags,
+}

Fields§

§name: SmolStr§description: Option<ThinString>§flags: PartyFlags

Trait Implementations§

source§

impl Archive for CreatePartyForm
where + SmolStr: Archive, + Option<ThinString>: Archive, + PartyFlags: Archive,

source§

type Archived = ArchivedCreatePartyForm

The archived representation of this type. Read more
source§

type Resolver = CreatePartyFormResolver

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
source§

impl Debug for CreatePartyForm

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for CreatePartyForm

source§

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<__D: Fallible + ?Sized> Deserialize<CreatePartyForm, __D> for Archived<CreatePartyForm>
where + SmolStr: Archive, + <SmolStr as Archive>::Archived: Deserialize<SmolStr, __D>, + Option<ThinString>: Archive, + <Option<ThinString> as Archive>::Archived: Deserialize<Option<ThinString>, __D>, + PartyFlags: Archive, + <PartyFlags as Archive>::Archived: Deserialize<PartyFlags, __D>,

source§

fn deserialize( + &self, + deserializer: &mut __D, +) -> Result<CreatePartyForm, <__D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<__S: Fallible + ?Sized> Serialize<__S> for CreatePartyForm
where + SmolStr: Serialize<__S>, + Option<ThinString>: Serialize<__S>, + PartyFlags: Serialize<__S>,

source§

fn serialize( + &self, + serializer: &mut __S, +) -> Result<<Self as Archive>::Resolver, <__S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.
source§

impl Serialize for CreatePartyForm

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
source§

impl<T> CommandBody for T
where + T: Send + Serialize + Archive,

source§

impl<T> CommandResult for T
where + T: Send + DeserializeOwned + Serialize + Archive,

source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/party/struct.CreatePartyFormResolver.html b/client_sdk/api/commands/party/struct.CreatePartyFormResolver.html new file mode 100644 index 000000000..21466afaa --- /dev/null +++ b/client_sdk/api/commands/party/struct.CreatePartyFormResolver.html @@ -0,0 +1,24 @@ +CreatePartyFormResolver in client_sdk::api::commands::party - Rust

Struct client_sdk::api::commands::party::CreatePartyFormResolver

source ·
pub struct CreatePartyFormResolver
where + SmolStr: Archive, + Option<ThinString>: Archive, + PartyFlags: Archive,
{ /* private fields */ }
Expand description

The resolver for an archived CreatePartyForm

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/party/struct.CreatePartyInvite.html b/client_sdk/api/commands/party/struct.CreatePartyInvite.html new file mode 100644 index 000000000..9d0b821ef --- /dev/null +++ b/client_sdk/api/commands/party/struct.CreatePartyInvite.html @@ -0,0 +1,66 @@ +CreatePartyInvite in client_sdk::api::commands::party - Rust

Struct client_sdk::api::commands::party::CreatePartyInvite

source ·
pub struct CreatePartyInvite {
+    pub party_id: PartyId,
+    pub body: CreatePartyInviteBody,
+}

Fields§

§party_id: PartyId§body: CreatePartyInviteBody

Body to be serialized as request body or query parameters (if GET)

+

Implementations§

source§

impl CreatePartyInvite

source

pub const fn new( + party_id: PartyId, + max_uses: Option<u16>, + duration: Option<u64>, + description: Option<SmolStr>, +) -> Self

Construct new instance from individual fields

+

Trait Implementations§

source§

impl Archive for CreatePartyInvite
where + PartyId: Archive, + CreatePartyInviteBody: Archive,

source§

type Archived = ArchivedCreatePartyInvite

The archived representation of this type. Read more
source§

type Resolver = CreatePartyInviteResolver

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
source§

impl Command for CreatePartyInvite

source§

const RATE_LIMIT: RateLimit = _

+
RateLimit {
+    emission_interval: 2000ms,
+    burst_size: 1,
+}
+

If not specified, the burst_size will be from RateLimit::DEFAULT.

+
source§

const STREAM: bool = false

Whether the command returns one or many items
source§

const IS_QUERY: bool = false

Whether the command has a query string or sends a body
source§

async fn collect<S, E>(stream: S) -> Result<Self::Result, E>
where + S: Stream<Item = Result<Self::Item, E>> + Send, + E: From<MissingItemError>,

Used to collect the Result from an arbitrary Stream of items.
source§

type Item = Invite

The underlying type of each returned item, be it one or many.
source§

type Result = Invite

Item(s) returned from the server by a given command
source§

const HTTP_METHOD: Method = http::Method::POST

HTTP Method used to execute the command
source§

const FLAGS: CommandFlags = _

Flags for the command, defaults to empty.
source§

const SERVER_TIMEOUT: Duration = _

On the server side, how long to wait before timing out the request.
source§

fn perms(&self) -> Permissions

Computes required permissions
source§

const ROUTE_PATTERN: &'static str = "/api/v1/party/{party_id}/invites"

Path pattern for the command (without query) when used with matchit 0.8 or higher.
source§

fn format_path<W: Write>(&self, w: W) -> Result

Serialize/format the REST path (without query)
source§

type Body = CreatePartyInviteBody

Body type for the command
source§

fn body(&self) -> &Self::Body

Body to be serialized as request body or query parameters (if GET)
source§

fn body_size_hint(&self) -> usize

Hint given to preallocate body size, only used for query strings
source§

fn add_headers(&self, _map: &mut HeaderMap)

Insert any additional headers required to perform this command
source§

impl Debug for CreatePartyInvite

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Deref for CreatePartyInvite

source§

type Target = CreatePartyInviteBody

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl DerefMut for CreatePartyInvite

source§

fn deref_mut(&mut self) -> &mut Self::Target

Mutably dereferences the value.
source§

impl<__D: Fallible + ?Sized> Deserialize<CreatePartyInvite, __D> for Archived<CreatePartyInvite>
where + PartyId: Archive, + <PartyId as Archive>::Archived: Deserialize<PartyId, __D>, + CreatePartyInviteBody: Archive, + <CreatePartyInviteBody as Archive>::Archived: Deserialize<CreatePartyInviteBody, __D>,

source§

fn deserialize( + &self, + deserializer: &mut __D, +) -> Result<CreatePartyInvite, <__D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<__S: Fallible + ?Sized> Serialize<__S> for CreatePartyInvite
where + PartyId: Serialize<__S>, + CreatePartyInviteBody: Serialize<__S>,

source§

fn serialize( + &self, + serializer: &mut __S, +) -> Result<<Self as Archive>::Resolver, <__S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/party/struct.CreatePartyInviteBody.html b/client_sdk/api/commands/party/struct.CreatePartyInviteBody.html new file mode 100644 index 000000000..c4274e84e --- /dev/null +++ b/client_sdk/api/commands/party/struct.CreatePartyInviteBody.html @@ -0,0 +1,64 @@ +CreatePartyInviteBody in client_sdk::api::commands::party - Rust

Struct client_sdk::api::commands::party::CreatePartyInviteBody

source ·
pub struct CreatePartyInviteBody {
+    pub max_uses: Option<u16>,
+    pub duration: Option<u64>,
+    pub description: Option<SmolStr>,
+}
Expand description

Infinite parameters may only be used with appropriate permissions

+

Fields§

§max_uses: Option<u16>

If None, invite has infinite uses

+
§duration: Option<u64>

If None, invite has infinite duration

+
§description: Option<SmolStr>

Trait Implementations§

source§

impl Archive for CreatePartyInviteBody
where + Option<u16>: Archive, + Option<u64>: Archive, + Option<SmolStr>: Archive,

source§

type Archived = ArchivedCreatePartyInviteBody

The archived representation of this type. Read more
source§

type Resolver = CreatePartyInviteBodyResolver

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
source§

impl Debug for CreatePartyInviteBody

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for CreatePartyInviteBody

source§

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<__D: Fallible + ?Sized> Deserialize<CreatePartyInviteBody, __D> for Archived<CreatePartyInviteBody>
where + Option<u16>: Archive, + <Option<u16> as Archive>::Archived: Deserialize<Option<u16>, __D>, + Option<u64>: Archive, + <Option<u64> as Archive>::Archived: Deserialize<Option<u64>, __D>, + Option<SmolStr>: Archive, + <Option<SmolStr> as Archive>::Archived: Deserialize<Option<SmolStr>, __D>,

source§

fn deserialize( + &self, + deserializer: &mut __D, +) -> Result<CreatePartyInviteBody, <__D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<__S: Fallible + ?Sized> Serialize<__S> for CreatePartyInviteBody
where + Option<u16>: Serialize<__S>, + Option<u64>: Serialize<__S>, + Option<SmolStr>: Serialize<__S>,

source§

fn serialize( + &self, + serializer: &mut __S, +) -> Result<<Self as Archive>::Resolver, <__S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.
source§

impl Serialize for CreatePartyInviteBody

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
source§

impl<T> CommandBody for T
where + T: Send + Serialize + Archive,

source§

impl<T> CommandResult for T
where + T: Send + DeserializeOwned + Serialize + Archive,

source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/party/struct.CreatePartyInviteBodyResolver.html b/client_sdk/api/commands/party/struct.CreatePartyInviteBodyResolver.html new file mode 100644 index 000000000..d65a4640c --- /dev/null +++ b/client_sdk/api/commands/party/struct.CreatePartyInviteBodyResolver.html @@ -0,0 +1,24 @@ +CreatePartyInviteBodyResolver in client_sdk::api::commands::party - Rust
pub struct CreatePartyInviteBodyResolver
where + Option<u16>: Archive, + Option<u64>: Archive, + Option<SmolStr>: Archive,
{ /* private fields */ }
Expand description

The resolver for an archived CreatePartyInviteBody

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/party/struct.CreatePartyInviteResolver.html b/client_sdk/api/commands/party/struct.CreatePartyInviteResolver.html new file mode 100644 index 000000000..e9cc1e0d9 --- /dev/null +++ b/client_sdk/api/commands/party/struct.CreatePartyInviteResolver.html @@ -0,0 +1,23 @@ +CreatePartyInviteResolver in client_sdk::api::commands::party - Rust

Struct client_sdk::api::commands::party::CreatePartyInviteResolver

source ·
pub struct CreatePartyInviteResolver
where + PartyId: Archive, + CreatePartyInviteBody: Archive,
{ /* private fields */ }
Expand description

The resolver for an archived CreatePartyInvite

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/party/struct.CreatePartyResolver.html b/client_sdk/api/commands/party/struct.CreatePartyResolver.html new file mode 100644 index 000000000..40100fda0 --- /dev/null +++ b/client_sdk/api/commands/party/struct.CreatePartyResolver.html @@ -0,0 +1,22 @@ +CreatePartyResolver in client_sdk::api::commands::party - Rust

Struct client_sdk::api::commands::party::CreatePartyResolver

source ·
pub struct CreatePartyResolver
where + CreatePartyForm: Archive,
{ /* private fields */ }
Expand description

The resolver for an archived CreateParty

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/party/struct.CreatePinFolder.html b/client_sdk/api/commands/party/struct.CreatePinFolder.html new file mode 100644 index 000000000..c7454a62e --- /dev/null +++ b/client_sdk/api/commands/party/struct.CreatePinFolder.html @@ -0,0 +1,59 @@ +CreatePinFolder in client_sdk::api::commands::party - Rust

Struct client_sdk::api::commands::party::CreatePinFolder

source ·
pub struct CreatePinFolder {
+    pub party_id: PartyId,
+    pub body: CreatePinFolderForm,
+}

Fields§

§party_id: PartyId§body: CreatePinFolderForm

Body to be serialized as request body or query parameters (if GET)

+

Implementations§

source§

impl CreatePinFolder

source

pub const fn new( + party_id: PartyId, + name: SmolStr, + description: Option<SmolStr>, +) -> Self

Construct new instance from individual fields

+

Trait Implementations§

source§

impl Archive for CreatePinFolder
where + PartyId: Archive, + CreatePinFolderForm: Archive,

source§

type Archived = ArchivedCreatePinFolder

The archived representation of this type. Read more
source§

type Resolver = CreatePinFolderResolver

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
source§

impl Command for CreatePinFolder

source§

const STREAM: bool = false

Whether the command returns one or many items
source§

const IS_QUERY: bool = false

Whether the command has a query string or sends a body
source§

async fn collect<S, E>(stream: S) -> Result<Self::Result, E>
where + S: Stream<Item = Result<Self::Item, E>> + Send, + E: From<MissingItemError>,

Used to collect the Result from an arbitrary Stream of items.
source§

type Item = PinFolder

The underlying type of each returned item, be it one or many.
source§

type Result = PinFolder

Item(s) returned from the server by a given command
source§

const HTTP_METHOD: Method = http::Method::POST

HTTP Method used to execute the command
source§

const FLAGS: CommandFlags = _

Flags for the command, defaults to empty.
source§

const RATE_LIMIT: RateLimit = _

Baseline rate-limiting parameters, defaults to RateLimit::DEFAULT. Read more
source§

const SERVER_TIMEOUT: Duration = _

On the server side, how long to wait before timing out the request.
source§

fn perms(&self) -> Permissions

Computes required permissions
source§

const ROUTE_PATTERN: &'static str = "/api/v1/party/{party_id}/pins"

Path pattern for the command (without query) when used with matchit 0.8 or higher.
source§

fn format_path<W: Write>(&self, w: W) -> Result

Serialize/format the REST path (without query)
source§

type Body = CreatePinFolderForm

Body type for the command
source§

fn body(&self) -> &Self::Body

Body to be serialized as request body or query parameters (if GET)
source§

fn body_size_hint(&self) -> usize

Hint given to preallocate body size, only used for query strings
source§

fn add_headers(&self, _map: &mut HeaderMap)

Insert any additional headers required to perform this command
source§

impl Debug for CreatePinFolder

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Deref for CreatePinFolder

source§

type Target = CreatePinFolderForm

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl DerefMut for CreatePinFolder

source§

fn deref_mut(&mut self) -> &mut Self::Target

Mutably dereferences the value.
source§

impl<__D: Fallible + ?Sized> Deserialize<CreatePinFolder, __D> for Archived<CreatePinFolder>
where + PartyId: Archive, + <PartyId as Archive>::Archived: Deserialize<PartyId, __D>, + CreatePinFolderForm: Archive, + <CreatePinFolderForm as Archive>::Archived: Deserialize<CreatePinFolderForm, __D>,

source§

fn deserialize( + &self, + deserializer: &mut __D, +) -> Result<CreatePinFolder, <__D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<__S: Fallible + ?Sized> Serialize<__S> for CreatePinFolder
where + PartyId: Serialize<__S>, + CreatePinFolderForm: Serialize<__S>,

source§

fn serialize( + &self, + serializer: &mut __S, +) -> Result<<Self as Archive>::Resolver, <__S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/party/struct.CreatePinFolderForm.html b/client_sdk/api/commands/party/struct.CreatePinFolderForm.html new file mode 100644 index 000000000..f160a8201 --- /dev/null +++ b/client_sdk/api/commands/party/struct.CreatePinFolderForm.html @@ -0,0 +1,56 @@ +CreatePinFolderForm in client_sdk::api::commands::party - Rust

Struct client_sdk::api::commands::party::CreatePinFolderForm

source ·
pub struct CreatePinFolderForm {
+    pub name: SmolStr,
+    pub description: Option<SmolStr>,
+}

Fields§

§name: SmolStr§description: Option<SmolStr>

Trait Implementations§

source§

impl Archive for CreatePinFolderForm
where + SmolStr: Archive, + Option<SmolStr>: Archive,

source§

type Archived = ArchivedCreatePinFolderForm

The archived representation of this type. Read more
source§

type Resolver = CreatePinFolderFormResolver

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
source§

impl Debug for CreatePinFolderForm

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for CreatePinFolderForm

source§

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<__D: Fallible + ?Sized> Deserialize<CreatePinFolderForm, __D> for Archived<CreatePinFolderForm>
where + SmolStr: Archive, + <SmolStr as Archive>::Archived: Deserialize<SmolStr, __D>, + Option<SmolStr>: Archive, + <Option<SmolStr> as Archive>::Archived: Deserialize<Option<SmolStr>, __D>,

source§

fn deserialize( + &self, + deserializer: &mut __D, +) -> Result<CreatePinFolderForm, <__D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<__S: Fallible + ?Sized> Serialize<__S> for CreatePinFolderForm
where + SmolStr: Serialize<__S>, + Option<SmolStr>: Serialize<__S>,

source§

fn serialize( + &self, + serializer: &mut __S, +) -> Result<<Self as Archive>::Resolver, <__S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.
source§

impl Serialize for CreatePinFolderForm

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
source§

impl<T> CommandBody for T
where + T: Send + Serialize + Archive,

source§

impl<T> CommandResult for T
where + T: Send + DeserializeOwned + Serialize + Archive,

source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/party/struct.CreatePinFolderFormResolver.html b/client_sdk/api/commands/party/struct.CreatePinFolderFormResolver.html new file mode 100644 index 000000000..662398bc6 --- /dev/null +++ b/client_sdk/api/commands/party/struct.CreatePinFolderFormResolver.html @@ -0,0 +1,23 @@ +CreatePinFolderFormResolver in client_sdk::api::commands::party - Rust
pub struct CreatePinFolderFormResolver
where + SmolStr: Archive, + Option<SmolStr>: Archive,
{ /* private fields */ }
Expand description

The resolver for an archived CreatePinFolderForm

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/party/struct.CreatePinFolderResolver.html b/client_sdk/api/commands/party/struct.CreatePinFolderResolver.html new file mode 100644 index 000000000..0401b9934 --- /dev/null +++ b/client_sdk/api/commands/party/struct.CreatePinFolderResolver.html @@ -0,0 +1,23 @@ +CreatePinFolderResolver in client_sdk::api::commands::party - Rust

Struct client_sdk::api::commands::party::CreatePinFolderResolver

source ·
pub struct CreatePinFolderResolver
where + PartyId: Archive, + CreatePinFolderForm: Archive,
{ /* private fields */ }
Expand description

The resolver for an archived CreatePinFolder

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/party/struct.CreateRole.html b/client_sdk/api/commands/party/struct.CreateRole.html new file mode 100644 index 000000000..af6b4a4bb --- /dev/null +++ b/client_sdk/api/commands/party/struct.CreateRole.html @@ -0,0 +1,61 @@ +CreateRole in client_sdk::api::commands::party - Rust

Struct client_sdk::api::commands::party::CreateRole

source ·
pub struct CreateRole {
+    pub party_id: PartyId,
+    pub body: CreateRoleForm,
+}

Fields§

§party_id: PartyId§body: CreateRoleForm

Body to be serialized as request body or query parameters (if GET)

+

Implementations§

source§

impl CreateRole

source

pub const fn new(party_id: PartyId, name: SmolStr) -> Self

Construct new instance from individual fields

+

Trait Implementations§

source§

impl Archive for CreateRole
where + PartyId: Archive, + CreateRoleForm: Archive,

source§

type Archived = ArchivedCreateRole

The archived representation of this type. Read more
source§

type Resolver = CreateRoleResolver

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
source§

impl Command for CreateRole

source§

const RATE_LIMIT: RateLimit = _

+
RateLimit {
+    emission_interval: 1000ms,
+    burst_size: 1,
+}
+

If not specified, the burst_size will be from RateLimit::DEFAULT.

+
source§

const STREAM: bool = false

Whether the command returns one or many items
source§

const IS_QUERY: bool = false

Whether the command has a query string or sends a body
source§

async fn collect<S, E>(stream: S) -> Result<Self::Result, E>
where + S: Stream<Item = Result<Self::Item, E>> + Send, + E: From<MissingItemError>,

Used to collect the Result from an arbitrary Stream of items.
source§

type Item = Role

The underlying type of each returned item, be it one or many.
source§

type Result = Role

Item(s) returned from the server by a given command
source§

const HTTP_METHOD: Method = http::Method::POST

HTTP Method used to execute the command
source§

const FLAGS: CommandFlags = _

Flags for the command, defaults to empty.
source§

const SERVER_TIMEOUT: Duration = _

On the server side, how long to wait before timing out the request.
source§

fn perms(&self) -> Permissions

Computes required permissions
source§

const ROUTE_PATTERN: &'static str = "/api/v1/party/{party_id}/roles"

Path pattern for the command (without query) when used with matchit 0.8 or higher.
source§

fn format_path<W: Write>(&self, w: W) -> Result

Serialize/format the REST path (without query)
source§

type Body = CreateRoleForm

Body type for the command
source§

fn body(&self) -> &Self::Body

Body to be serialized as request body or query parameters (if GET)
source§

fn body_size_hint(&self) -> usize

Hint given to preallocate body size, only used for query strings
source§

fn add_headers(&self, _map: &mut HeaderMap)

Insert any additional headers required to perform this command
source§

impl Debug for CreateRole

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Deref for CreateRole

source§

type Target = CreateRoleForm

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl DerefMut for CreateRole

source§

fn deref_mut(&mut self) -> &mut Self::Target

Mutably dereferences the value.
source§

impl<__D: Fallible + ?Sized> Deserialize<CreateRole, __D> for Archived<CreateRole>
where + PartyId: Archive, + <PartyId as Archive>::Archived: Deserialize<PartyId, __D>, + CreateRoleForm: Archive, + <CreateRoleForm as Archive>::Archived: Deserialize<CreateRoleForm, __D>,

source§

fn deserialize( + &self, + deserializer: &mut __D, +) -> Result<CreateRole, <__D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<__S: Fallible + ?Sized> Serialize<__S> for CreateRole
where + PartyId: Serialize<__S>, + CreateRoleForm: Serialize<__S>,

source§

fn serialize( + &self, + serializer: &mut __S, +) -> Result<<Self as Archive>::Resolver, <__S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/party/struct.CreateRoleForm.html b/client_sdk/api/commands/party/struct.CreateRoleForm.html new file mode 100644 index 000000000..f3fe6b000 --- /dev/null +++ b/client_sdk/api/commands/party/struct.CreateRoleForm.html @@ -0,0 +1,51 @@ +CreateRoleForm in client_sdk::api::commands::party - Rust

Struct client_sdk::api::commands::party::CreateRoleForm

source ·
pub struct CreateRoleForm {
+    pub name: SmolStr,
+}

Fields§

§name: SmolStr

Trait Implementations§

source§

impl Archive for CreateRoleForm
where + SmolStr: Archive,

source§

type Archived = ArchivedCreateRoleForm

The archived representation of this type. Read more
source§

type Resolver = CreateRoleFormResolver

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
source§

impl Debug for CreateRoleForm

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for CreateRoleForm

source§

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<__D: Fallible + ?Sized> Deserialize<CreateRoleForm, __D> for Archived<CreateRoleForm>
where + SmolStr: Archive, + <SmolStr as Archive>::Archived: Deserialize<SmolStr, __D>,

source§

fn deserialize( + &self, + deserializer: &mut __D, +) -> Result<CreateRoleForm, <__D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<__S: Fallible + ?Sized> Serialize<__S> for CreateRoleForm
where + SmolStr: Serialize<__S>,

source§

fn serialize( + &self, + serializer: &mut __S, +) -> Result<<Self as Archive>::Resolver, <__S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.
source§

impl Serialize for CreateRoleForm

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
source§

impl<T> CommandBody for T
where + T: Send + Serialize + Archive,

source§

impl<T> CommandResult for T
where + T: Send + DeserializeOwned + Serialize + Archive,

source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/party/struct.CreateRoleFormResolver.html b/client_sdk/api/commands/party/struct.CreateRoleFormResolver.html new file mode 100644 index 000000000..8e17923b6 --- /dev/null +++ b/client_sdk/api/commands/party/struct.CreateRoleFormResolver.html @@ -0,0 +1,22 @@ +CreateRoleFormResolver in client_sdk::api::commands::party - Rust

Struct client_sdk::api::commands::party::CreateRoleFormResolver

source ·
pub struct CreateRoleFormResolver
where + SmolStr: Archive,
{ /* private fields */ }
Expand description

The resolver for an archived CreateRoleForm

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/party/struct.CreateRoleResolver.html b/client_sdk/api/commands/party/struct.CreateRoleResolver.html new file mode 100644 index 000000000..ef0f55a8f --- /dev/null +++ b/client_sdk/api/commands/party/struct.CreateRoleResolver.html @@ -0,0 +1,23 @@ +CreateRoleResolver in client_sdk::api::commands::party - Rust

Struct client_sdk::api::commands::party::CreateRoleResolver

source ·
pub struct CreateRoleResolver
where + PartyId: Archive, + CreateRoleForm: Archive,
{ /* private fields */ }
Expand description

The resolver for an archived CreateRole

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/party/struct.CreateRoom.html b/client_sdk/api/commands/party/struct.CreateRoom.html new file mode 100644 index 000000000..90474f5f0 --- /dev/null +++ b/client_sdk/api/commands/party/struct.CreateRoom.html @@ -0,0 +1,68 @@ +CreateRoom in client_sdk::api::commands::party - Rust

Struct client_sdk::api::commands::party::CreateRoom

source ·
pub struct CreateRoom {
+    pub party_id: PartyId,
+    pub body: CreateRoomForm,
+}

Fields§

§party_id: PartyId§body: CreateRoomForm

Body to be serialized as request body or query parameters (if GET)

+

Implementations§

source§

impl CreateRoom

source

pub const fn new( + party_id: PartyId, + name: SmolStr, + topic: Option<SmolStr>, + kind: CreateRoomKind, + overwrites: ThinVec<Overwrite>, + position: i16, +) -> Self

Construct new instance from individual fields

+

Trait Implementations§

source§

impl Archive for CreateRoom
where + PartyId: Archive, + CreateRoomForm: Archive,

source§

type Archived = ArchivedCreateRoom

The archived representation of this type. Read more
source§

type Resolver = CreateRoomResolver

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
source§

impl Command for CreateRoom

source§

const RATE_LIMIT: RateLimit = _

+
RateLimit {
+    emission_interval: 5000ms,
+    burst_size: 1,
+}
+

If not specified, the burst_size will be from RateLimit::DEFAULT.

+
source§

const STREAM: bool = false

Whether the command returns one or many items
source§

const IS_QUERY: bool = false

Whether the command has a query string or sends a body
source§

async fn collect<S, E>(stream: S) -> Result<Self::Result, E>
where + S: Stream<Item = Result<Self::Item, E>> + Send, + E: From<MissingItemError>,

Used to collect the Result from an arbitrary Stream of items.
source§

type Item = Room

The underlying type of each returned item, be it one or many.
source§

type Result = Room

Item(s) returned from the server by a given command
source§

const HTTP_METHOD: Method = http::Method::POST

HTTP Method used to execute the command
source§

const FLAGS: CommandFlags = _

Flags for the command, defaults to empty.
source§

const SERVER_TIMEOUT: Duration = _

On the server side, how long to wait before timing out the request.
source§

fn perms(&self) -> Permissions

Computes required permissions
source§

const ROUTE_PATTERN: &'static str = "/api/v1/party/{party_id}/rooms"

Path pattern for the command (without query) when used with matchit 0.8 or higher.
source§

fn format_path<W: Write>(&self, w: W) -> Result

Serialize/format the REST path (without query)
source§

type Body = CreateRoomForm

Body type for the command
source§

fn body(&self) -> &Self::Body

Body to be serialized as request body or query parameters (if GET)
source§

fn body_size_hint(&self) -> usize

Hint given to preallocate body size, only used for query strings
source§

fn add_headers(&self, _map: &mut HeaderMap)

Insert any additional headers required to perform this command
source§

impl Debug for CreateRoom

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Deref for CreateRoom

source§

type Target = CreateRoomForm

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl DerefMut for CreateRoom

source§

fn deref_mut(&mut self) -> &mut Self::Target

Mutably dereferences the value.
source§

impl<__D: Fallible + ?Sized> Deserialize<CreateRoom, __D> for Archived<CreateRoom>
where + PartyId: Archive, + <PartyId as Archive>::Archived: Deserialize<PartyId, __D>, + CreateRoomForm: Archive, + <CreateRoomForm as Archive>::Archived: Deserialize<CreateRoomForm, __D>,

source§

fn deserialize( + &self, + deserializer: &mut __D, +) -> Result<CreateRoom, <__D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<__S: Fallible + ?Sized> Serialize<__S> for CreateRoom
where + PartyId: Serialize<__S>, + CreateRoomForm: Serialize<__S>,

source§

fn serialize( + &self, + serializer: &mut __S, +) -> Result<<Self as Archive>::Resolver, <__S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/party/struct.CreateRoomForm.html b/client_sdk/api/commands/party/struct.CreateRoomForm.html new file mode 100644 index 000000000..cb20d1a2d --- /dev/null +++ b/client_sdk/api/commands/party/struct.CreateRoomForm.html @@ -0,0 +1,71 @@ +CreateRoomForm in client_sdk::api::commands::party - Rust

Struct client_sdk::api::commands::party::CreateRoomForm

source ·
pub struct CreateRoomForm {
+    pub name: SmolStr,
+    pub topic: Option<SmolStr>,
+    pub kind: CreateRoomKind,
+    pub overwrites: ThinVec<Overwrite>,
+    pub position: i16,
+}

Fields§

§name: SmolStr§topic: Option<SmolStr>§kind: CreateRoomKind§overwrites: ThinVec<Overwrite>§position: i16

Trait Implementations§

source§

impl Archive for CreateRoomForm
where + SmolStr: Archive, + Option<SmolStr>: Archive, + CreateRoomKind: Archive, + ThinVec<Overwrite>: Archive, + i16: Archive,

source§

type Archived = ArchivedCreateRoomForm

The archived representation of this type. Read more
source§

type Resolver = CreateRoomFormResolver

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
source§

impl Debug for CreateRoomForm

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for CreateRoomForm

source§

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<__D: Fallible + ?Sized> Deserialize<CreateRoomForm, __D> for Archived<CreateRoomForm>
where + SmolStr: Archive, + <SmolStr as Archive>::Archived: Deserialize<SmolStr, __D>, + Option<SmolStr>: Archive, + <Option<SmolStr> as Archive>::Archived: Deserialize<Option<SmolStr>, __D>, + CreateRoomKind: Archive, + <CreateRoomKind as Archive>::Archived: Deserialize<CreateRoomKind, __D>, + ThinVec<Overwrite>: Archive, + <ThinVec<Overwrite> as Archive>::Archived: Deserialize<ThinVec<Overwrite>, __D>, + i16: Archive, + <i16 as Archive>::Archived: Deserialize<i16, __D>,

source§

fn deserialize( + &self, + deserializer: &mut __D, +) -> Result<CreateRoomForm, <__D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<__S: Fallible + ?Sized> Serialize<__S> for CreateRoomForm
where + SmolStr: Serialize<__S>, + Option<SmolStr>: Serialize<__S>, + CreateRoomKind: Serialize<__S>, + ThinVec<Overwrite>: Serialize<__S>, + i16: Serialize<__S>,

source§

fn serialize( + &self, + serializer: &mut __S, +) -> Result<<Self as Archive>::Resolver, <__S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.
source§

impl Serialize for CreateRoomForm

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
source§

impl<T> CommandBody for T
where + T: Send + Serialize + Archive,

source§

impl<T> CommandResult for T
where + T: Send + DeserializeOwned + Serialize + Archive,

source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/party/struct.CreateRoomFormResolver.html b/client_sdk/api/commands/party/struct.CreateRoomFormResolver.html new file mode 100644 index 000000000..92e407fda --- /dev/null +++ b/client_sdk/api/commands/party/struct.CreateRoomFormResolver.html @@ -0,0 +1,26 @@ +CreateRoomFormResolver in client_sdk::api::commands::party - Rust

Struct client_sdk::api::commands::party::CreateRoomFormResolver

source ·
pub struct CreateRoomFormResolver
where + SmolStr: Archive, + Option<SmolStr>: Archive, + CreateRoomKind: Archive, + ThinVec<Overwrite>: Archive, + i16: Archive,
{ /* private fields */ }
Expand description

The resolver for an archived CreateRoomForm

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/party/struct.CreateRoomResolver.html b/client_sdk/api/commands/party/struct.CreateRoomResolver.html new file mode 100644 index 000000000..992d491e9 --- /dev/null +++ b/client_sdk/api/commands/party/struct.CreateRoomResolver.html @@ -0,0 +1,23 @@ +CreateRoomResolver in client_sdk::api::commands::party - Rust

Struct client_sdk::api::commands::party::CreateRoomResolver

source ·
pub struct CreateRoomResolver
where + PartyId: Archive, + CreateRoomForm: Archive,
{ /* private fields */ }
Expand description

The resolver for an archived CreateRoom

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/party/struct.DeleteParty.html b/client_sdk/api/commands/party/struct.DeleteParty.html new file mode 100644 index 000000000..ccfeec35f --- /dev/null +++ b/client_sdk/api/commands/party/struct.DeleteParty.html @@ -0,0 +1,49 @@ +DeleteParty in client_sdk::api::commands::party - Rust

Struct client_sdk::api::commands::party::DeleteParty

source ·
pub struct DeleteParty {
+    pub party_id: PartyId,
+}

Fields§

§party_id: PartyId

Implementations§

source§

impl DeleteParty

source

pub const fn new(party_id: PartyId) -> Self

Construct new instance from individual fields

+

Trait Implementations§

source§

impl Archive for DeleteParty
where + PartyId: Archive,

source§

type Archived = ArchivedDeleteParty

The archived representation of this type. Read more
source§

type Resolver = DeletePartyResolver

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
source§

impl Command for DeleteParty

source§

const STREAM: bool = false

Whether the command returns one or many items
source§

const IS_QUERY: bool = false

Whether the command has a query string or sends a body
source§

async fn collect<S, E>(stream: S) -> Result<Self::Result, E>
where + S: Stream<Item = Result<Self::Item, E>> + Send, + E: From<MissingItemError>,

Used to collect the Result from an arbitrary Stream of items.
source§

type Item = ()

The underlying type of each returned item, be it one or many.
source§

type Result = ()

Item(s) returned from the server by a given command
source§

const HTTP_METHOD: Method = http::Method::DELETE

HTTP Method used to execute the command
source§

const FLAGS: CommandFlags = _

Flags for the command, defaults to empty.
source§

const RATE_LIMIT: RateLimit = _

Baseline rate-limiting parameters, defaults to RateLimit::DEFAULT. Read more
source§

const SERVER_TIMEOUT: Duration = _

On the server side, how long to wait before timing out the request.
source§

fn perms(&self) -> Permissions

Computes required permissions
source§

const ROUTE_PATTERN: &'static str = "/api/v1/party/{party_id}"

Path pattern for the command (without query) when used with matchit 0.8 or higher.
source§

fn format_path<W: Write>(&self, w: W) -> Result

Serialize/format the REST path (without query)
source§

type Body = ()

Body type for the command
source§

fn body(&self) -> &Self::Body

Body to be serialized as request body or query parameters (if GET)
source§

fn body_size_hint(&self) -> usize

Hint given to preallocate body size, only used for query strings
source§

fn add_headers(&self, _map: &mut HeaderMap)

Insert any additional headers required to perform this command
source§

impl Debug for DeleteParty

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<__D: Fallible + ?Sized> Deserialize<DeleteParty, __D> for Archived<DeleteParty>
where + PartyId: Archive, + <PartyId as Archive>::Archived: Deserialize<PartyId, __D>,

source§

fn deserialize( + &self, + deserializer: &mut __D, +) -> Result<DeleteParty, <__D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<__S: Fallible + ?Sized> Serialize<__S> for DeleteParty
where + PartyId: Serialize<__S>,

source§

fn serialize( + &self, + serializer: &mut __S, +) -> Result<<Self as Archive>::Resolver, <__S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/party/struct.DeletePartyResolver.html b/client_sdk/api/commands/party/struct.DeletePartyResolver.html new file mode 100644 index 000000000..799c7f7a3 --- /dev/null +++ b/client_sdk/api/commands/party/struct.DeletePartyResolver.html @@ -0,0 +1,22 @@ +DeletePartyResolver in client_sdk::api::commands::party - Rust

Struct client_sdk::api::commands::party::DeletePartyResolver

source ·
pub struct DeletePartyResolver
where + PartyId: Archive,
{ /* private fields */ }
Expand description

The resolver for an archived DeleteParty

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/party/struct.DeleteRole.html b/client_sdk/api/commands/party/struct.DeleteRole.html new file mode 100644 index 000000000..011c9cfa5 --- /dev/null +++ b/client_sdk/api/commands/party/struct.DeleteRole.html @@ -0,0 +1,54 @@ +DeleteRole in client_sdk::api::commands::party - Rust

Struct client_sdk::api::commands::party::DeleteRole

source ·
pub struct DeleteRole {
+    pub party_id: PartyId,
+    pub role_id: RoleId,
+}

Fields§

§party_id: PartyId§role_id: RoleId

Implementations§

source§

impl DeleteRole

source

pub const fn new(party_id: PartyId, role_id: RoleId) -> Self

Construct new instance from individual fields

+

Trait Implementations§

source§

impl Archive for DeleteRole
where + PartyId: Archive, + RoleId: Archive,

source§

type Archived = ArchivedDeleteRole

The archived representation of this type. Read more
source§

type Resolver = DeleteRoleResolver

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
source§

impl Command for DeleteRole

source§

const STREAM: bool = false

Whether the command returns one or many items
source§

const IS_QUERY: bool = false

Whether the command has a query string or sends a body
source§

async fn collect<S, E>(stream: S) -> Result<Self::Result, E>
where + S: Stream<Item = Result<Self::Item, E>> + Send, + E: From<MissingItemError>,

Used to collect the Result from an arbitrary Stream of items.
source§

type Item = ()

The underlying type of each returned item, be it one or many.
source§

type Result = ()

Item(s) returned from the server by a given command
source§

const HTTP_METHOD: Method = http::Method::DELETE

HTTP Method used to execute the command
source§

const FLAGS: CommandFlags = _

Flags for the command, defaults to empty.
source§

const RATE_LIMIT: RateLimit = _

Baseline rate-limiting parameters, defaults to RateLimit::DEFAULT. Read more
source§

const SERVER_TIMEOUT: Duration = _

On the server side, how long to wait before timing out the request.
source§

fn perms(&self) -> Permissions

Computes required permissions
source§

const ROUTE_PATTERN: &'static str = "/api/v1/party/{party_id}/roles/{role_id}"

Path pattern for the command (without query) when used with matchit 0.8 or higher.
source§

fn format_path<W: Write>(&self, w: W) -> Result

Serialize/format the REST path (without query)
source§

type Body = ()

Body type for the command
source§

fn body(&self) -> &Self::Body

Body to be serialized as request body or query parameters (if GET)
source§

fn body_size_hint(&self) -> usize

Hint given to preallocate body size, only used for query strings
source§

fn add_headers(&self, _map: &mut HeaderMap)

Insert any additional headers required to perform this command
source§

impl Debug for DeleteRole

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<__D: Fallible + ?Sized> Deserialize<DeleteRole, __D> for Archived<DeleteRole>
where + PartyId: Archive, + <PartyId as Archive>::Archived: Deserialize<PartyId, __D>, + RoleId: Archive, + <RoleId as Archive>::Archived: Deserialize<RoleId, __D>,

source§

fn deserialize( + &self, + deserializer: &mut __D, +) -> Result<DeleteRole, <__D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<__S: Fallible + ?Sized> Serialize<__S> for DeleteRole
where + PartyId: Serialize<__S>, + RoleId: Serialize<__S>,

source§

fn serialize( + &self, + serializer: &mut __S, +) -> Result<<Self as Archive>::Resolver, <__S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/party/struct.DeleteRoleResolver.html b/client_sdk/api/commands/party/struct.DeleteRoleResolver.html new file mode 100644 index 000000000..0ed5f4dff --- /dev/null +++ b/client_sdk/api/commands/party/struct.DeleteRoleResolver.html @@ -0,0 +1,23 @@ +DeleteRoleResolver in client_sdk::api::commands::party - Rust

Struct client_sdk::api::commands::party::DeleteRoleResolver

source ·
pub struct DeleteRoleResolver
where + PartyId: Archive, + RoleId: Archive,
{ /* private fields */ }
Expand description

The resolver for an archived DeleteRole

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/party/struct.GetMemberProfile.html b/client_sdk/api/commands/party/struct.GetMemberProfile.html new file mode 100644 index 000000000..8bad92435 --- /dev/null +++ b/client_sdk/api/commands/party/struct.GetMemberProfile.html @@ -0,0 +1,54 @@ +GetMemberProfile in client_sdk::api::commands::party - Rust

Struct client_sdk::api::commands::party::GetMemberProfile

source ·
pub struct GetMemberProfile {
+    pub party_id: PartyId,
+    pub user_id: UserId,
+}

Fields§

§party_id: PartyId§user_id: UserId

Implementations§

source§

impl GetMemberProfile

source

pub const fn new(party_id: PartyId, user_id: UserId) -> Self

Construct new instance from individual fields

+

Trait Implementations§

source§

impl Archive for GetMemberProfile
where + PartyId: Archive, + UserId: Archive,

source§

type Archived = ArchivedGetMemberProfile

The archived representation of this type. Read more
source§

type Resolver = GetMemberProfileResolver

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
source§

impl Command for GetMemberProfile

source§

const STREAM: bool = false

Whether the command returns one or many items
source§

const IS_QUERY: bool = true

Whether the command has a query string or sends a body
source§

async fn collect<S, E>(stream: S) -> Result<Self::Result, E>
where + S: Stream<Item = Result<Self::Item, E>> + Send, + E: From<MissingItemError>,

Used to collect the Result from an arbitrary Stream of items.
source§

type Item = UserProfile

The underlying type of each returned item, be it one or many.
source§

type Result = UserProfile

Item(s) returned from the server by a given command
source§

const HTTP_METHOD: Method = http::Method::GET

HTTP Method used to execute the command
source§

const FLAGS: CommandFlags = _

Flags for the command, defaults to empty.
source§

const RATE_LIMIT: RateLimit = _

Baseline rate-limiting parameters, defaults to RateLimit::DEFAULT. Read more
source§

const SERVER_TIMEOUT: Duration = _

On the server side, how long to wait before timing out the request.
source§

fn perms(&self) -> Permissions

Computes required permissions
source§

const ROUTE_PATTERN: &'static str = "/api/v1/party/{party_id}/members/{user_id}/profile"

Path pattern for the command (without query) when used with matchit 0.8 or higher.
source§

fn format_path<W: Write>(&self, w: W) -> Result

Serialize/format the REST path (without query)
source§

type Body = ()

Body type for the command
source§

fn body(&self) -> &Self::Body

Body to be serialized as request body or query parameters (if GET)
source§

fn body_size_hint(&self) -> usize

Hint given to preallocate body size, only used for query strings
source§

fn add_headers(&self, _map: &mut HeaderMap)

Insert any additional headers required to perform this command
source§

impl Debug for GetMemberProfile

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<__D: Fallible + ?Sized> Deserialize<GetMemberProfile, __D> for Archived<GetMemberProfile>
where + PartyId: Archive, + <PartyId as Archive>::Archived: Deserialize<PartyId, __D>, + UserId: Archive, + <UserId as Archive>::Archived: Deserialize<UserId, __D>,

source§

fn deserialize( + &self, + deserializer: &mut __D, +) -> Result<GetMemberProfile, <__D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<__S: Fallible + ?Sized> Serialize<__S> for GetMemberProfile
where + PartyId: Serialize<__S>, + UserId: Serialize<__S>,

source§

fn serialize( + &self, + serializer: &mut __S, +) -> Result<<Self as Archive>::Resolver, <__S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/party/struct.GetMemberProfileResolver.html b/client_sdk/api/commands/party/struct.GetMemberProfileResolver.html new file mode 100644 index 000000000..4a1c8c772 --- /dev/null +++ b/client_sdk/api/commands/party/struct.GetMemberProfileResolver.html @@ -0,0 +1,23 @@ +GetMemberProfileResolver in client_sdk::api::commands::party - Rust

Struct client_sdk::api::commands::party::GetMemberProfileResolver

source ·
pub struct GetMemberProfileResolver
where + PartyId: Archive, + UserId: Archive,
{ /* private fields */ }
Expand description

The resolver for an archived GetMemberProfile

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/party/struct.GetParty.html b/client_sdk/api/commands/party/struct.GetParty.html new file mode 100644 index 000000000..e8c53edc0 --- /dev/null +++ b/client_sdk/api/commands/party/struct.GetParty.html @@ -0,0 +1,49 @@ +GetParty in client_sdk::api::commands::party - Rust

Struct client_sdk::api::commands::party::GetParty

source ·
pub struct GetParty {
+    pub party_id: PartyId,
+}

Fields§

§party_id: PartyId

Implementations§

source§

impl GetParty

source

pub const fn new(party_id: PartyId) -> Self

Construct new instance from individual fields

+

Trait Implementations§

source§

impl Archive for GetParty
where + PartyId: Archive,

source§

type Archived = ArchivedGetParty

The archived representation of this type. Read more
source§

type Resolver = GetPartyResolver

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
source§

impl Command for GetParty

source§

const STREAM: bool = false

Whether the command returns one or many items
source§

const IS_QUERY: bool = true

Whether the command has a query string or sends a body
source§

async fn collect<S, E>(stream: S) -> Result<Self::Result, E>
where + S: Stream<Item = Result<Self::Item, E>> + Send, + E: From<MissingItemError>,

Used to collect the Result from an arbitrary Stream of items.
source§

type Item = Party

The underlying type of each returned item, be it one or many.
source§

type Result = Party

Item(s) returned from the server by a given command
source§

const HTTP_METHOD: Method = http::Method::GET

HTTP Method used to execute the command
source§

const FLAGS: CommandFlags = _

Flags for the command, defaults to empty.
source§

const RATE_LIMIT: RateLimit = _

Baseline rate-limiting parameters, defaults to RateLimit::DEFAULT. Read more
source§

const SERVER_TIMEOUT: Duration = _

On the server side, how long to wait before timing out the request.
source§

fn perms(&self) -> Permissions

Computes required permissions
source§

const ROUTE_PATTERN: &'static str = "/api/v1/party/{party_id}"

Path pattern for the command (without query) when used with matchit 0.8 or higher.
source§

fn format_path<W: Write>(&self, w: W) -> Result

Serialize/format the REST path (without query)
source§

type Body = ()

Body type for the command
source§

fn body(&self) -> &Self::Body

Body to be serialized as request body or query parameters (if GET)
source§

fn body_size_hint(&self) -> usize

Hint given to preallocate body size, only used for query strings
source§

fn add_headers(&self, _map: &mut HeaderMap)

Insert any additional headers required to perform this command
source§

impl Debug for GetParty

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<__D: Fallible + ?Sized> Deserialize<GetParty, __D> for Archived<GetParty>
where + PartyId: Archive, + <PartyId as Archive>::Archived: Deserialize<PartyId, __D>,

source§

fn deserialize( + &self, + deserializer: &mut __D, +) -> Result<GetParty, <__D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<__S: Fallible + ?Sized> Serialize<__S> for GetParty
where + PartyId: Serialize<__S>,

source§

fn serialize( + &self, + serializer: &mut __S, +) -> Result<<Self as Archive>::Resolver, <__S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/party/struct.GetPartyInvites.html b/client_sdk/api/commands/party/struct.GetPartyInvites.html new file mode 100644 index 000000000..88d720156 --- /dev/null +++ b/client_sdk/api/commands/party/struct.GetPartyInvites.html @@ -0,0 +1,49 @@ +GetPartyInvites in client_sdk::api::commands::party - Rust

Struct client_sdk::api::commands::party::GetPartyInvites

source ·
pub struct GetPartyInvites {
+    pub party_id: PartyId,
+}

Fields§

§party_id: PartyId

Implementations§

source§

impl GetPartyInvites

source

pub const fn new(party_id: PartyId) -> Self

Construct new instance from individual fields

+

Trait Implementations§

source§

impl Archive for GetPartyInvites
where + PartyId: Archive,

source§

type Archived = ArchivedGetPartyInvites

The archived representation of this type. Read more
source§

type Resolver = GetPartyInvitesResolver

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
source§

impl Command for GetPartyInvites

source§

const STREAM: bool = true

Whether the command returns one or many items
source§

const IS_QUERY: bool = true

Whether the command has a query string or sends a body
source§

async fn collect<S, E>(stream: S) -> Result<Self::Result, E>
where + S: Stream<Item = Result<Self::Item, E>> + Send, + E: From<MissingItemError>,

Used to collect the Result from an arbitrary Stream of items.
source§

type Item = Invite

The underlying type of each returned item, be it one or many.
source§

type Result = Vec<Invite>

Item(s) returned from the server by a given command
source§

const HTTP_METHOD: Method = http::Method::GET

HTTP Method used to execute the command
source§

const FLAGS: CommandFlags = _

Flags for the command, defaults to empty.
source§

const RATE_LIMIT: RateLimit = _

Baseline rate-limiting parameters, defaults to RateLimit::DEFAULT. Read more
source§

const SERVER_TIMEOUT: Duration = _

On the server side, how long to wait before timing out the request.
source§

fn perms(&self) -> Permissions

Computes required permissions
source§

const ROUTE_PATTERN: &'static str = "/api/v1/party/{party_id}/invites"

Path pattern for the command (without query) when used with matchit 0.8 or higher.
source§

fn format_path<W: Write>(&self, w: W) -> Result

Serialize/format the REST path (without query)
source§

type Body = ()

Body type for the command
source§

fn body(&self) -> &Self::Body

Body to be serialized as request body or query parameters (if GET)
source§

fn body_size_hint(&self) -> usize

Hint given to preallocate body size, only used for query strings
source§

fn add_headers(&self, _map: &mut HeaderMap)

Insert any additional headers required to perform this command
source§

impl Debug for GetPartyInvites

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<__D: Fallible + ?Sized> Deserialize<GetPartyInvites, __D> for Archived<GetPartyInvites>
where + PartyId: Archive, + <PartyId as Archive>::Archived: Deserialize<PartyId, __D>,

source§

fn deserialize( + &self, + deserializer: &mut __D, +) -> Result<GetPartyInvites, <__D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<__S: Fallible + ?Sized> Serialize<__S> for GetPartyInvites
where + PartyId: Serialize<__S>,

source§

fn serialize( + &self, + serializer: &mut __S, +) -> Result<<Self as Archive>::Resolver, <__S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/party/struct.GetPartyInvitesResolver.html b/client_sdk/api/commands/party/struct.GetPartyInvitesResolver.html new file mode 100644 index 000000000..5cb3db7a1 --- /dev/null +++ b/client_sdk/api/commands/party/struct.GetPartyInvitesResolver.html @@ -0,0 +1,22 @@ +GetPartyInvitesResolver in client_sdk::api::commands::party - Rust

Struct client_sdk::api::commands::party::GetPartyInvitesResolver

source ·
pub struct GetPartyInvitesResolver
where + PartyId: Archive,
{ /* private fields */ }
Expand description

The resolver for an archived GetPartyInvites

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/party/struct.GetPartyMember.html b/client_sdk/api/commands/party/struct.GetPartyMember.html new file mode 100644 index 000000000..1a703e26e --- /dev/null +++ b/client_sdk/api/commands/party/struct.GetPartyMember.html @@ -0,0 +1,54 @@ +GetPartyMember in client_sdk::api::commands::party - Rust

Struct client_sdk::api::commands::party::GetPartyMember

source ·
pub struct GetPartyMember {
+    pub party_id: PartyId,
+    pub member_id: UserId,
+}

Fields§

§party_id: PartyId§member_id: UserId

Implementations§

source§

impl GetPartyMember

source

pub const fn new(party_id: PartyId, member_id: UserId) -> Self

Construct new instance from individual fields

+

Trait Implementations§

source§

impl Archive for GetPartyMember
where + PartyId: Archive, + UserId: Archive,

source§

type Archived = ArchivedGetPartyMember

The archived representation of this type. Read more
source§

type Resolver = GetPartyMemberResolver

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
source§

impl Command for GetPartyMember

source§

const STREAM: bool = false

Whether the command returns one or many items
source§

const IS_QUERY: bool = true

Whether the command has a query string or sends a body
source§

async fn collect<S, E>(stream: S) -> Result<Self::Result, E>
where + S: Stream<Item = Result<Self::Item, E>> + Send, + E: From<MissingItemError>,

Used to collect the Result from an arbitrary Stream of items.
source§

type Item = PartyMember

The underlying type of each returned item, be it one or many.
source§

type Result = PartyMember

Item(s) returned from the server by a given command
source§

const HTTP_METHOD: Method = http::Method::GET

HTTP Method used to execute the command
source§

const FLAGS: CommandFlags = _

Flags for the command, defaults to empty.
source§

const RATE_LIMIT: RateLimit = _

Baseline rate-limiting parameters, defaults to RateLimit::DEFAULT. Read more
source§

const SERVER_TIMEOUT: Duration = _

On the server side, how long to wait before timing out the request.
source§

fn perms(&self) -> Permissions

Computes required permissions
source§

const ROUTE_PATTERN: &'static str = "/api/v1/party/{party_id}/member/{member_id}"

Path pattern for the command (without query) when used with matchit 0.8 or higher.
source§

fn format_path<W: Write>(&self, w: W) -> Result

Serialize/format the REST path (without query)
source§

type Body = ()

Body type for the command
source§

fn body(&self) -> &Self::Body

Body to be serialized as request body or query parameters (if GET)
source§

fn body_size_hint(&self) -> usize

Hint given to preallocate body size, only used for query strings
source§

fn add_headers(&self, _map: &mut HeaderMap)

Insert any additional headers required to perform this command
source§

impl Debug for GetPartyMember

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<__D: Fallible + ?Sized> Deserialize<GetPartyMember, __D> for Archived<GetPartyMember>
where + PartyId: Archive, + <PartyId as Archive>::Archived: Deserialize<PartyId, __D>, + UserId: Archive, + <UserId as Archive>::Archived: Deserialize<UserId, __D>,

source§

fn deserialize( + &self, + deserializer: &mut __D, +) -> Result<GetPartyMember, <__D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<__S: Fallible + ?Sized> Serialize<__S> for GetPartyMember
where + PartyId: Serialize<__S>, + UserId: Serialize<__S>,

source§

fn serialize( + &self, + serializer: &mut __S, +) -> Result<<Self as Archive>::Resolver, <__S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/party/struct.GetPartyMemberResolver.html b/client_sdk/api/commands/party/struct.GetPartyMemberResolver.html new file mode 100644 index 000000000..5666e8520 --- /dev/null +++ b/client_sdk/api/commands/party/struct.GetPartyMemberResolver.html @@ -0,0 +1,23 @@ +GetPartyMemberResolver in client_sdk::api::commands::party - Rust

Struct client_sdk::api::commands::party::GetPartyMemberResolver

source ·
pub struct GetPartyMemberResolver
where + PartyId: Archive, + UserId: Archive,
{ /* private fields */ }
Expand description

The resolver for an archived GetPartyMember

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/party/struct.GetPartyMembers.html b/client_sdk/api/commands/party/struct.GetPartyMembers.html new file mode 100644 index 000000000..702787c01 --- /dev/null +++ b/client_sdk/api/commands/party/struct.GetPartyMembers.html @@ -0,0 +1,49 @@ +GetPartyMembers in client_sdk::api::commands::party - Rust

Struct client_sdk::api::commands::party::GetPartyMembers

source ·
pub struct GetPartyMembers {
+    pub party_id: PartyId,
+}

Fields§

§party_id: PartyId

Implementations§

source§

impl GetPartyMembers

source

pub const fn new(party_id: PartyId) -> Self

Construct new instance from individual fields

+

Trait Implementations§

source§

impl Archive for GetPartyMembers
where + PartyId: Archive,

source§

type Archived = ArchivedGetPartyMembers

The archived representation of this type. Read more
source§

type Resolver = GetPartyMembersResolver

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
source§

impl Command for GetPartyMembers

source§

const STREAM: bool = true

Whether the command returns one or many items
source§

const IS_QUERY: bool = true

Whether the command has a query string or sends a body
source§

async fn collect<S, E>(stream: S) -> Result<Self::Result, E>
where + S: Stream<Item = Result<Self::Item, E>> + Send, + E: From<MissingItemError>,

Used to collect the Result from an arbitrary Stream of items.
source§

type Item = PartyMember

The underlying type of each returned item, be it one or many.
source§

type Result = Vec<PartyMember>

Item(s) returned from the server by a given command
source§

const HTTP_METHOD: Method = http::Method::GET

HTTP Method used to execute the command
source§

const FLAGS: CommandFlags = _

Flags for the command, defaults to empty.
source§

const RATE_LIMIT: RateLimit = _

Baseline rate-limiting parameters, defaults to RateLimit::DEFAULT. Read more
source§

const SERVER_TIMEOUT: Duration = _

On the server side, how long to wait before timing out the request.
source§

fn perms(&self) -> Permissions

Computes required permissions
source§

const ROUTE_PATTERN: &'static str = "/api/v1/party/{party_id}/members"

Path pattern for the command (without query) when used with matchit 0.8 or higher.
source§

fn format_path<W: Write>(&self, w: W) -> Result

Serialize/format the REST path (without query)
source§

type Body = ()

Body type for the command
source§

fn body(&self) -> &Self::Body

Body to be serialized as request body or query parameters (if GET)
source§

fn body_size_hint(&self) -> usize

Hint given to preallocate body size, only used for query strings
source§

fn add_headers(&self, _map: &mut HeaderMap)

Insert any additional headers required to perform this command
source§

impl Debug for GetPartyMembers

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<__D: Fallible + ?Sized> Deserialize<GetPartyMembers, __D> for Archived<GetPartyMembers>
where + PartyId: Archive, + <PartyId as Archive>::Archived: Deserialize<PartyId, __D>,

source§

fn deserialize( + &self, + deserializer: &mut __D, +) -> Result<GetPartyMembers, <__D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<__S: Fallible + ?Sized> Serialize<__S> for GetPartyMembers
where + PartyId: Serialize<__S>,

source§

fn serialize( + &self, + serializer: &mut __S, +) -> Result<<Self as Archive>::Resolver, <__S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/party/struct.GetPartyMembersResolver.html b/client_sdk/api/commands/party/struct.GetPartyMembersResolver.html new file mode 100644 index 000000000..f60961205 --- /dev/null +++ b/client_sdk/api/commands/party/struct.GetPartyMembersResolver.html @@ -0,0 +1,22 @@ +GetPartyMembersResolver in client_sdk::api::commands::party - Rust

Struct client_sdk::api::commands::party::GetPartyMembersResolver

source ·
pub struct GetPartyMembersResolver
where + PartyId: Archive,
{ /* private fields */ }
Expand description

The resolver for an archived GetPartyMembers

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/party/struct.GetPartyResolver.html b/client_sdk/api/commands/party/struct.GetPartyResolver.html new file mode 100644 index 000000000..6afc1790e --- /dev/null +++ b/client_sdk/api/commands/party/struct.GetPartyResolver.html @@ -0,0 +1,22 @@ +GetPartyResolver in client_sdk::api::commands::party - Rust

Struct client_sdk::api::commands::party::GetPartyResolver

source ·
pub struct GetPartyResolver
where + PartyId: Archive,
{ /* private fields */ }
Expand description

The resolver for an archived GetParty

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/party/struct.GetPartyRooms.html b/client_sdk/api/commands/party/struct.GetPartyRooms.html new file mode 100644 index 000000000..93b900fd0 --- /dev/null +++ b/client_sdk/api/commands/party/struct.GetPartyRooms.html @@ -0,0 +1,49 @@ +GetPartyRooms in client_sdk::api::commands::party - Rust

Struct client_sdk::api::commands::party::GetPartyRooms

source ·
pub struct GetPartyRooms {
+    pub party_id: PartyId,
+}

Fields§

§party_id: PartyId

Implementations§

source§

impl GetPartyRooms

source

pub const fn new(party_id: PartyId) -> Self

Construct new instance from individual fields

+

Trait Implementations§

source§

impl Archive for GetPartyRooms
where + PartyId: Archive,

source§

type Archived = ArchivedGetPartyRooms

The archived representation of this type. Read more
source§

type Resolver = GetPartyRoomsResolver

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
source§

impl Command for GetPartyRooms

source§

const STREAM: bool = true

Whether the command returns one or many items
source§

const IS_QUERY: bool = true

Whether the command has a query string or sends a body
source§

async fn collect<S, E>(stream: S) -> Result<Self::Result, E>
where + S: Stream<Item = Result<Self::Item, E>> + Send, + E: From<MissingItemError>,

Used to collect the Result from an arbitrary Stream of items.
source§

type Item = Room

The underlying type of each returned item, be it one or many.
source§

type Result = Vec<Room>

Item(s) returned from the server by a given command
source§

const HTTP_METHOD: Method = http::Method::GET

HTTP Method used to execute the command
source§

const FLAGS: CommandFlags = _

Flags for the command, defaults to empty.
source§

const RATE_LIMIT: RateLimit = _

Baseline rate-limiting parameters, defaults to RateLimit::DEFAULT. Read more
source§

const SERVER_TIMEOUT: Duration = _

On the server side, how long to wait before timing out the request.
source§

fn perms(&self) -> Permissions

Computes required permissions
source§

const ROUTE_PATTERN: &'static str = "/api/v1/party/{party_id}/rooms"

Path pattern for the command (without query) when used with matchit 0.8 or higher.
source§

fn format_path<W: Write>(&self, w: W) -> Result

Serialize/format the REST path (without query)
source§

type Body = ()

Body type for the command
source§

fn body(&self) -> &Self::Body

Body to be serialized as request body or query parameters (if GET)
source§

fn body_size_hint(&self) -> usize

Hint given to preallocate body size, only used for query strings
source§

fn add_headers(&self, _map: &mut HeaderMap)

Insert any additional headers required to perform this command
source§

impl Debug for GetPartyRooms

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<__D: Fallible + ?Sized> Deserialize<GetPartyRooms, __D> for Archived<GetPartyRooms>
where + PartyId: Archive, + <PartyId as Archive>::Archived: Deserialize<PartyId, __D>,

source§

fn deserialize( + &self, + deserializer: &mut __D, +) -> Result<GetPartyRooms, <__D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<__S: Fallible + ?Sized> Serialize<__S> for GetPartyRooms
where + PartyId: Serialize<__S>,

source§

fn serialize( + &self, + serializer: &mut __S, +) -> Result<<Self as Archive>::Resolver, <__S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/party/struct.GetPartyRoomsResolver.html b/client_sdk/api/commands/party/struct.GetPartyRoomsResolver.html new file mode 100644 index 000000000..f4c28acf2 --- /dev/null +++ b/client_sdk/api/commands/party/struct.GetPartyRoomsResolver.html @@ -0,0 +1,22 @@ +GetPartyRoomsResolver in client_sdk::api::commands::party - Rust

Struct client_sdk::api::commands::party::GetPartyRoomsResolver

source ·
pub struct GetPartyRoomsResolver
where + PartyId: Archive,
{ /* private fields */ }
Expand description

The resolver for an archived GetPartyRooms

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/party/struct.PartySettings.html b/client_sdk/api/commands/party/struct.PartySettings.html new file mode 100644 index 000000000..ed1948c36 --- /dev/null +++ b/client_sdk/api/commands/party/struct.PartySettings.html @@ -0,0 +1,53 @@ +PartySettings in client_sdk::api::commands::party - Rust

Struct client_sdk::api::commands::party::PartySettings

source ·
pub struct PartySettings {
+    pub flags: PartyFlags,
+    pub prefs: PartyPreferences,
+}

Fields§

§flags: PartyFlags§prefs: PartyPreferences

Trait Implementations§

source§

impl Archive for PartySettings
where + PartyFlags: Archive, + PartyPreferences: Archive,

source§

type Archived = ArchivedPartySettings

The archived representation of this type. Read more
source§

type Resolver = PartySettingsResolver

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
source§

impl Clone for PartySettings

source§

fn clone(&self) -> PartySettings

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for PartySettings

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<__D: Fallible + ?Sized> Deserialize<PartySettings, __D> for Archived<PartySettings>
where + PartyFlags: Archive, + <PartyFlags as Archive>::Archived: Deserialize<PartyFlags, __D>, + PartyPreferences: Archive, + <PartyPreferences as Archive>::Archived: Deserialize<PartyPreferences, __D>,

source§

fn deserialize( + &self, + deserializer: &mut __D, +) -> Result<PartySettings, <__D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<__S: Fallible + ?Sized> Serialize<__S> for PartySettings
where + PartyFlags: Serialize<__S>, + PartyPreferences: Serialize<__S>,

source§

fn serialize( + &self, + serializer: &mut __S, +) -> Result<<Self as Archive>::Resolver, <__S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where + T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T> ToOwned for T
where + T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/party/struct.PartySettingsResolver.html b/client_sdk/api/commands/party/struct.PartySettingsResolver.html new file mode 100644 index 000000000..75bb3dea3 --- /dev/null +++ b/client_sdk/api/commands/party/struct.PartySettingsResolver.html @@ -0,0 +1,23 @@ +PartySettingsResolver in client_sdk::api::commands::party - Rust

Struct client_sdk::api::commands::party::PartySettingsResolver

source ·
pub struct PartySettingsResolver
where + PartyFlags: Archive, + PartyPreferences: Archive,
{ /* private fields */ }
Expand description

The resolver for an archived PartySettings

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/party/struct.PatchParty.html b/client_sdk/api/commands/party/struct.PatchParty.html new file mode 100644 index 000000000..49f170315 --- /dev/null +++ b/client_sdk/api/commands/party/struct.PatchParty.html @@ -0,0 +1,70 @@ +PatchParty in client_sdk::api::commands::party - Rust

Struct client_sdk::api::commands::party::PatchParty

source ·
pub struct PatchParty {
+    pub party_id: PartyId,
+    pub body: PatchPartyForm,
+}

Fields§

§party_id: PartyId§body: PatchPartyForm

Body to be serialized as request body or query parameters (if GET)

+

Implementations§

source§

impl PatchParty

source

pub const fn new( + party_id: PartyId, + name: Option<SmolStr>, + description: Nullable<SmolStr>, + flags: Option<PartyFlags>, + default_room: Option<RoomId>, + avatar: Nullable<FileId>, + banner: Nullable<FileId>, + banner_align: BannerAlign, +) -> Self

Construct new instance from individual fields

+

Trait Implementations§

source§

impl Archive for PatchParty
where + PartyId: Archive, + PatchPartyForm: Archive,

source§

type Archived = ArchivedPatchParty

The archived representation of this type. Read more
source§

type Resolver = PatchPartyResolver

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
source§

impl Command for PatchParty

source§

const RATE_LIMIT: RateLimit = _

+
RateLimit {
+    emission_interval: 500ms,
+    burst_size: 1,
+}
+

If not specified, the burst_size will be from RateLimit::DEFAULT.

+
source§

const STREAM: bool = false

Whether the command returns one or many items
source§

const IS_QUERY: bool = false

Whether the command has a query string or sends a body
source§

async fn collect<S, E>(stream: S) -> Result<Self::Result, E>
where + S: Stream<Item = Result<Self::Item, E>> + Send, + E: From<MissingItemError>,

Used to collect the Result from an arbitrary Stream of items.
source§

type Item = Party

The underlying type of each returned item, be it one or many.
source§

type Result = Party

Item(s) returned from the server by a given command
source§

const HTTP_METHOD: Method = http::Method::PATCH

HTTP Method used to execute the command
source§

const FLAGS: CommandFlags = _

Flags for the command, defaults to empty.
source§

const SERVER_TIMEOUT: Duration = _

On the server side, how long to wait before timing out the request.
source§

fn perms(&self) -> Permissions

Computes required permissions
source§

const ROUTE_PATTERN: &'static str = "/api/v1/party/{party_id}"

Path pattern for the command (without query) when used with matchit 0.8 or higher.
source§

fn format_path<W: Write>(&self, w: W) -> Result

Serialize/format the REST path (without query)
source§

type Body = PatchPartyForm

Body type for the command
source§

fn body(&self) -> &Self::Body

Body to be serialized as request body or query parameters (if GET)
source§

fn body_size_hint(&self) -> usize

Hint given to preallocate body size, only used for query strings
source§

fn add_headers(&self, _map: &mut HeaderMap)

Insert any additional headers required to perform this command
source§

impl Debug for PatchParty

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Deref for PatchParty

source§

type Target = PatchPartyForm

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl DerefMut for PatchParty

source§

fn deref_mut(&mut self) -> &mut Self::Target

Mutably dereferences the value.
source§

impl<__D: Fallible + ?Sized> Deserialize<PatchParty, __D> for Archived<PatchParty>
where + PartyId: Archive, + <PartyId as Archive>::Archived: Deserialize<PartyId, __D>, + PatchPartyForm: Archive, + <PatchPartyForm as Archive>::Archived: Deserialize<PatchPartyForm, __D>,

source§

fn deserialize( + &self, + deserializer: &mut __D, +) -> Result<PatchParty, <__D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<__S: Fallible + ?Sized> Serialize<__S> for PatchParty
where + PartyId: Serialize<__S>, + PatchPartyForm: Serialize<__S>,

source§

fn serialize( + &self, + serializer: &mut __S, +) -> Result<<Self as Archive>::Resolver, <__S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/party/struct.PatchPartyForm.html b/client_sdk/api/commands/party/struct.PatchPartyForm.html new file mode 100644 index 000000000..12c9c6ac8 --- /dev/null +++ b/client_sdk/api/commands/party/struct.PatchPartyForm.html @@ -0,0 +1,104 @@ +PatchPartyForm in client_sdk::api::commands::party - Rust

Struct client_sdk::api::commands::party::PatchPartyForm

source ·
pub struct PatchPartyForm {
+    pub name: Option<SmolStr>,
+    pub description: Nullable<SmolStr>,
+    pub flags: Option<PartyFlags>,
+    pub default_room: Option<RoomId>,
+    pub avatar: Nullable<FileId>,
+    pub banner: Nullable<FileId>,
+    pub banner_align: BannerAlign,
+}

Fields§

§name: Option<SmolStr>§description: Nullable<SmolStr>§flags: Option<PartyFlags>§default_room: Option<RoomId>§avatar: Nullable<FileId>§banner: Nullable<FileId>§banner_align: BannerAlign

Trait Implementations§

source§

impl Archive for PatchPartyForm
where + Option<SmolStr>: Archive, + Nullable<SmolStr>: Archive, + Option<PartyFlags>: Archive, + Option<RoomId>: Archive, + Nullable<FileId>: Archive, + BannerAlign: Archive,

source§

type Archived = ArchivedPatchPartyForm

The archived representation of this type. Read more
source§

type Resolver = PatchPartyFormResolver

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
source§

impl Debug for PatchPartyForm

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for PatchPartyForm

source§

fn default() -> PatchPartyForm

Returns the “default value” for a type. Read more
source§

impl<'de> Deserialize<'de> for PatchPartyForm

source§

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<__D: Fallible + ?Sized> Deserialize<PatchPartyForm, __D> for Archived<PatchPartyForm>
where + Option<SmolStr>: Archive, + <Option<SmolStr> as Archive>::Archived: Deserialize<Option<SmolStr>, __D>, + Nullable<SmolStr>: Archive, + <Nullable<SmolStr> as Archive>::Archived: Deserialize<Nullable<SmolStr>, __D>, + Option<PartyFlags>: Archive, + <Option<PartyFlags> as Archive>::Archived: Deserialize<Option<PartyFlags>, __D>, + Option<RoomId>: Archive, + <Option<RoomId> as Archive>::Archived: Deserialize<Option<RoomId>, __D>, + Nullable<FileId>: Archive, + <Nullable<FileId> as Archive>::Archived: Deserialize<Nullable<FileId>, __D>, + BannerAlign: Archive, + <BannerAlign as Archive>::Archived: Deserialize<BannerAlign, __D>,

source§

fn deserialize( + &self, + deserializer: &mut __D, +) -> Result<PatchPartyForm, <__D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl PartialEq<ArchivedPatchPartyForm> for PatchPartyForm
where + Option<SmolStr>: Archive, + Nullable<SmolStr>: Archive, + Option<PartyFlags>: Archive, + Option<RoomId>: Archive, + Nullable<FileId>: Archive, + BannerAlign: Archive, + <Option<SmolStr> as Archive>::Archived: PartialEq<Option<SmolStr>>, + <Nullable<SmolStr> as Archive>::Archived: PartialEq<Nullable<SmolStr>>, + <Option<PartyFlags> as Archive>::Archived: PartialEq<Option<PartyFlags>>, + <Option<RoomId> as Archive>::Archived: PartialEq<Option<RoomId>>, + <Nullable<FileId> as Archive>::Archived: PartialEq<Nullable<FileId>>, + <BannerAlign as Archive>::Archived: PartialEq<BannerAlign>,

source§

fn eq(&self, other: &ArchivedPatchPartyForm) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl PartialEq<PatchPartyForm> for ArchivedPatchPartyForm
where + Option<SmolStr>: Archive, + Nullable<SmolStr>: Archive, + Option<PartyFlags>: Archive, + Option<RoomId>: Archive, + Nullable<FileId>: Archive, + BannerAlign: Archive, + <Option<SmolStr> as Archive>::Archived: PartialEq<Option<SmolStr>>, + <Nullable<SmolStr> as Archive>::Archived: PartialEq<Nullable<SmolStr>>, + <Option<PartyFlags> as Archive>::Archived: PartialEq<Option<PartyFlags>>, + <Option<RoomId> as Archive>::Archived: PartialEq<Option<RoomId>>, + <Nullable<FileId> as Archive>::Archived: PartialEq<Nullable<FileId>>, + <BannerAlign as Archive>::Archived: PartialEq<BannerAlign>,

source§

fn eq(&self, other: &PatchPartyForm) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl PartialEq for PatchPartyForm

source§

fn eq(&self, other: &PatchPartyForm) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl<__S: Fallible + ?Sized> Serialize<__S> for PatchPartyForm
where + Option<SmolStr>: Serialize<__S>, + Nullable<SmolStr>: Serialize<__S>, + Option<PartyFlags>: Serialize<__S>, + Option<RoomId>: Serialize<__S>, + Nullable<FileId>: Serialize<__S>, + BannerAlign: Serialize<__S>,

source§

fn serialize( + &self, + serializer: &mut __S, +) -> Result<<Self as Archive>::Resolver, <__S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.
source§

impl Serialize for PatchPartyForm

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl StructuralPartialEq for PatchPartyForm

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
source§

impl<T> CommandBody for T
where + T: Send + Serialize + Archive,

source§

impl<T> CommandResult for T
where + T: Send + DeserializeOwned + Serialize + Archive,

source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/party/struct.PatchPartyFormResolver.html b/client_sdk/api/commands/party/struct.PatchPartyFormResolver.html new file mode 100644 index 000000000..8a7445845 --- /dev/null +++ b/client_sdk/api/commands/party/struct.PatchPartyFormResolver.html @@ -0,0 +1,27 @@ +PatchPartyFormResolver in client_sdk::api::commands::party - Rust

Struct client_sdk::api::commands::party::PatchPartyFormResolver

source ·
pub struct PatchPartyFormResolver
where + Option<SmolStr>: Archive, + Nullable<SmolStr>: Archive, + Option<PartyFlags>: Archive, + Option<RoomId>: Archive, + Nullable<FileId>: Archive, + BannerAlign: Archive,
{ /* private fields */ }
Expand description

The resolver for an archived PatchPartyForm

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/party/struct.PatchPartyResolver.html b/client_sdk/api/commands/party/struct.PatchPartyResolver.html new file mode 100644 index 000000000..4dee26118 --- /dev/null +++ b/client_sdk/api/commands/party/struct.PatchPartyResolver.html @@ -0,0 +1,23 @@ +PatchPartyResolver in client_sdk::api::commands::party - Rust

Struct client_sdk::api::commands::party::PatchPartyResolver

source ·
pub struct PatchPartyResolver
where + PartyId: Archive, + PatchPartyForm: Archive,
{ /* private fields */ }
Expand description

The resolver for an archived PatchParty

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/party/struct.PatchRole.html b/client_sdk/api/commands/party/struct.PatchRole.html new file mode 100644 index 000000000..63c2eca99 --- /dev/null +++ b/client_sdk/api/commands/party/struct.PatchRole.html @@ -0,0 +1,69 @@ +PatchRole in client_sdk::api::commands::party - Rust

Struct client_sdk::api::commands::party::PatchRole

source ·
pub struct PatchRole {
+    pub party_id: PartyId,
+    pub role_id: RoleId,
+    pub body: PatchRoleForm,
+}

Fields§

§party_id: PartyId§role_id: RoleId§body: PatchRoleForm

Body to be serialized as request body or query parameters (if GET)

+

Implementations§

source§

impl PatchRole

source

pub const fn new( + party_id: PartyId, + role_id: RoleId, + flags: Option<RoleFlags>, + name: Option<SmolStr>, + color: Option<u32>, + permissions: Option<Permissions>, + avatar: Nullable<FileId>, + position: Option<u8>, +) -> Self

Construct new instance from individual fields

+

Trait Implementations§

source§

impl Archive for PatchRole
where + PartyId: Archive, + RoleId: Archive, + PatchRoleForm: Archive,

source§

type Archived = ArchivedPatchRole

The archived representation of this type. Read more
source§

type Resolver = PatchRoleResolver

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
source§

impl Command for PatchRole

source§

const STREAM: bool = false

Whether the command returns one or many items
source§

const IS_QUERY: bool = false

Whether the command has a query string or sends a body
source§

async fn collect<S, E>(stream: S) -> Result<Self::Result, E>
where + S: Stream<Item = Result<Self::Item, E>> + Send, + E: From<MissingItemError>,

Used to collect the Result from an arbitrary Stream of items.
source§

type Item = Role

The underlying type of each returned item, be it one or many.
source§

type Result = Role

Item(s) returned from the server by a given command
source§

const HTTP_METHOD: Method = http::Method::PATCH

HTTP Method used to execute the command
source§

const FLAGS: CommandFlags = _

Flags for the command, defaults to empty.
source§

const RATE_LIMIT: RateLimit = _

Baseline rate-limiting parameters, defaults to RateLimit::DEFAULT. Read more
source§

const SERVER_TIMEOUT: Duration = _

On the server side, how long to wait before timing out the request.
source§

fn perms(&self) -> Permissions

Computes required permissions
source§

const ROUTE_PATTERN: &'static str = "/api/v1/party/{party_id}/roles/{role_id}"

Path pattern for the command (without query) when used with matchit 0.8 or higher.
source§

fn format_path<W: Write>(&self, w: W) -> Result

Serialize/format the REST path (without query)
source§

type Body = PatchRoleForm

Body type for the command
source§

fn body(&self) -> &Self::Body

Body to be serialized as request body or query parameters (if GET)
source§

fn body_size_hint(&self) -> usize

Hint given to preallocate body size, only used for query strings
source§

fn add_headers(&self, _map: &mut HeaderMap)

Insert any additional headers required to perform this command
source§

impl Debug for PatchRole

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Deref for PatchRole

source§

type Target = PatchRoleForm

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl DerefMut for PatchRole

source§

fn deref_mut(&mut self) -> &mut Self::Target

Mutably dereferences the value.
source§

impl<__D: Fallible + ?Sized> Deserialize<PatchRole, __D> for Archived<PatchRole>
where + PartyId: Archive, + <PartyId as Archive>::Archived: Deserialize<PartyId, __D>, + RoleId: Archive, + <RoleId as Archive>::Archived: Deserialize<RoleId, __D>, + PatchRoleForm: Archive, + <PatchRoleForm as Archive>::Archived: Deserialize<PatchRoleForm, __D>,

source§

fn deserialize( + &self, + deserializer: &mut __D, +) -> Result<PatchRole, <__D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<__S: Fallible + ?Sized> Serialize<__S> for PatchRole
where + PartyId: Serialize<__S>, + RoleId: Serialize<__S>, + PatchRoleForm: Serialize<__S>,

source§

fn serialize( + &self, + serializer: &mut __S, +) -> Result<<Self as Archive>::Resolver, <__S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/party/struct.PatchRoleForm.html b/client_sdk/api/commands/party/struct.PatchRoleForm.html new file mode 100644 index 000000000..d316f9454 --- /dev/null +++ b/client_sdk/api/commands/party/struct.PatchRoleForm.html @@ -0,0 +1,103 @@ +PatchRoleForm in client_sdk::api::commands::party - Rust

Struct client_sdk::api::commands::party::PatchRoleForm

source ·
pub struct PatchRoleForm {
+    pub flags: Option<RoleFlags>,
+    pub name: Option<SmolStr>,
+    pub color: Option<u32>,
+    pub permissions: Option<Permissions>,
+    pub avatar: Nullable<FileId>,
+    pub position: Option<u8>,
+}

Fields§

§flags: Option<RoleFlags>§name: Option<SmolStr>§color: Option<u32>§permissions: Option<Permissions>§avatar: Nullable<FileId>§position: Option<u8>

Trait Implementations§

source§

impl Archive for PatchRoleForm
where + Option<RoleFlags>: Archive, + Option<SmolStr>: Archive, + Option<u32>: Archive, + Option<Permissions>: Archive, + Nullable<FileId>: Archive, + Option<u8>: Archive,

source§

type Archived = ArchivedPatchRoleForm

The archived representation of this type. Read more
source§

type Resolver = PatchRoleFormResolver

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
source§

impl Debug for PatchRoleForm

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for PatchRoleForm

source§

fn default() -> PatchRoleForm

Returns the “default value” for a type. Read more
source§

impl<'de> Deserialize<'de> for PatchRoleForm

source§

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<__D: Fallible + ?Sized> Deserialize<PatchRoleForm, __D> for Archived<PatchRoleForm>
where + Option<RoleFlags>: Archive, + <Option<RoleFlags> as Archive>::Archived: Deserialize<Option<RoleFlags>, __D>, + Option<SmolStr>: Archive, + <Option<SmolStr> as Archive>::Archived: Deserialize<Option<SmolStr>, __D>, + Option<u32>: Archive, + <Option<u32> as Archive>::Archived: Deserialize<Option<u32>, __D>, + Option<Permissions>: Archive, + <Option<Permissions> as Archive>::Archived: Deserialize<Option<Permissions>, __D>, + Nullable<FileId>: Archive, + <Nullable<FileId> as Archive>::Archived: Deserialize<Nullable<FileId>, __D>, + Option<u8>: Archive, + <Option<u8> as Archive>::Archived: Deserialize<Option<u8>, __D>,

source§

fn deserialize( + &self, + deserializer: &mut __D, +) -> Result<PatchRoleForm, <__D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl PartialEq<ArchivedPatchRoleForm> for PatchRoleForm
where + Option<RoleFlags>: Archive, + Option<SmolStr>: Archive, + Option<u32>: Archive, + Option<Permissions>: Archive, + Nullable<FileId>: Archive, + Option<u8>: Archive, + <Option<RoleFlags> as Archive>::Archived: PartialEq<Option<RoleFlags>>, + <Option<SmolStr> as Archive>::Archived: PartialEq<Option<SmolStr>>, + <Option<u32> as Archive>::Archived: PartialEq<Option<u32>>, + <Option<Permissions> as Archive>::Archived: PartialEq<Option<Permissions>>, + <Nullable<FileId> as Archive>::Archived: PartialEq<Nullable<FileId>>, + <Option<u8> as Archive>::Archived: PartialEq<Option<u8>>,

source§

fn eq(&self, other: &ArchivedPatchRoleForm) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl PartialEq<PatchRoleForm> for ArchivedPatchRoleForm
where + Option<RoleFlags>: Archive, + Option<SmolStr>: Archive, + Option<u32>: Archive, + Option<Permissions>: Archive, + Nullable<FileId>: Archive, + Option<u8>: Archive, + <Option<RoleFlags> as Archive>::Archived: PartialEq<Option<RoleFlags>>, + <Option<SmolStr> as Archive>::Archived: PartialEq<Option<SmolStr>>, + <Option<u32> as Archive>::Archived: PartialEq<Option<u32>>, + <Option<Permissions> as Archive>::Archived: PartialEq<Option<Permissions>>, + <Nullable<FileId> as Archive>::Archived: PartialEq<Nullable<FileId>>, + <Option<u8> as Archive>::Archived: PartialEq<Option<u8>>,

source§

fn eq(&self, other: &PatchRoleForm) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl PartialEq for PatchRoleForm

source§

fn eq(&self, other: &PatchRoleForm) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl<__S: Fallible + ?Sized> Serialize<__S> for PatchRoleForm
where + Option<RoleFlags>: Serialize<__S>, + Option<SmolStr>: Serialize<__S>, + Option<u32>: Serialize<__S>, + Option<Permissions>: Serialize<__S>, + Nullable<FileId>: Serialize<__S>, + Option<u8>: Serialize<__S>,

source§

fn serialize( + &self, + serializer: &mut __S, +) -> Result<<Self as Archive>::Resolver, <__S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.
source§

impl Serialize for PatchRoleForm

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl StructuralPartialEq for PatchRoleForm

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
source§

impl<T> CommandBody for T
where + T: Send + Serialize + Archive,

source§

impl<T> CommandResult for T
where + T: Send + DeserializeOwned + Serialize + Archive,

source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/party/struct.PatchRoleFormResolver.html b/client_sdk/api/commands/party/struct.PatchRoleFormResolver.html new file mode 100644 index 000000000..3b4a66e9d --- /dev/null +++ b/client_sdk/api/commands/party/struct.PatchRoleFormResolver.html @@ -0,0 +1,27 @@ +PatchRoleFormResolver in client_sdk::api::commands::party - Rust

Struct client_sdk::api::commands::party::PatchRoleFormResolver

source ·
pub struct PatchRoleFormResolver
where + Option<RoleFlags>: Archive, + Option<SmolStr>: Archive, + Option<u32>: Archive, + Option<Permissions>: Archive, + Nullable<FileId>: Archive, + Option<u8>: Archive,
{ /* private fields */ }
Expand description

The resolver for an archived PatchRoleForm

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/party/struct.PatchRoleResolver.html b/client_sdk/api/commands/party/struct.PatchRoleResolver.html new file mode 100644 index 000000000..c3369e1d3 --- /dev/null +++ b/client_sdk/api/commands/party/struct.PatchRoleResolver.html @@ -0,0 +1,24 @@ +PatchRoleResolver in client_sdk::api::commands::party - Rust

Struct client_sdk::api::commands::party::PatchRoleResolver

source ·
pub struct PatchRoleResolver
where + PartyId: Archive, + RoleId: Archive, + PatchRoleForm: Archive,
{ /* private fields */ }
Expand description

The resolver for an archived PatchRole

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/party/struct.SearchParty.html b/client_sdk/api/commands/party/struct.SearchParty.html new file mode 100644 index 000000000..0bf7207f3 --- /dev/null +++ b/client_sdk/api/commands/party/struct.SearchParty.html @@ -0,0 +1,55 @@ +SearchParty in client_sdk::api::commands::party - Rust

Struct client_sdk::api::commands::party::SearchParty

source ·
pub struct SearchParty {
+    pub party_id: PartyId,
+    pub body: SearchQuery,
+}

Fields§

§party_id: PartyId§body: SearchQuery

Body to be serialized as request body or query parameters (if GET)

+

Implementations§

source§

impl SearchParty

source

pub const fn new(party_id: PartyId, query: ThinString) -> Self

Construct new instance from individual fields

+

Trait Implementations§

source§

impl Archive for SearchParty
where + PartyId: Archive, + SearchQuery: Archive,

source§

type Archived = ArchivedSearchParty

The archived representation of this type. Read more
source§

type Resolver = SearchPartyResolver

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
source§

impl Command for SearchParty

source§

const STREAM: bool = false

Whether the command returns one or many items
source§

const IS_QUERY: bool = false

Whether the command has a query string or sends a body
source§

async fn collect<S, E>(stream: S) -> Result<Self::Result, E>
where + S: Stream<Item = Result<Self::Item, E>> + Send, + E: From<MissingItemError>,

Used to collect the Result from an arbitrary Stream of items.
source§

type Item = ()

The underlying type of each returned item, be it one or many.
source§

type Result = ()

Item(s) returned from the server by a given command
source§

const HTTP_METHOD: Method = http::Method::POST

HTTP Method used to execute the command
source§

const FLAGS: CommandFlags = _

Flags for the command, defaults to empty.
source§

const RATE_LIMIT: RateLimit = _

Baseline rate-limiting parameters, defaults to RateLimit::DEFAULT. Read more
source§

const SERVER_TIMEOUT: Duration = _

On the server side, how long to wait before timing out the request.
source§

fn perms(&self) -> Permissions

Computes required permissions
source§

const ROUTE_PATTERN: &'static str = "/api/v1/party/{party_id}/search"

Path pattern for the command (without query) when used with matchit 0.8 or higher.
source§

fn format_path<W: Write>(&self, w: W) -> Result

Serialize/format the REST path (without query)
source§

type Body = SearchQuery

Body type for the command
source§

fn body(&self) -> &Self::Body

Body to be serialized as request body or query parameters (if GET)
source§

fn body_size_hint(&self) -> usize

Hint given to preallocate body size, only used for query strings
source§

fn add_headers(&self, _map: &mut HeaderMap)

Insert any additional headers required to perform this command
source§

impl Debug for SearchParty

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Deref for SearchParty

source§

type Target = SearchQuery

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl DerefMut for SearchParty

source§

fn deref_mut(&mut self) -> &mut Self::Target

Mutably dereferences the value.
source§

impl<__D: Fallible + ?Sized> Deserialize<SearchParty, __D> for Archived<SearchParty>
where + PartyId: Archive, + <PartyId as Archive>::Archived: Deserialize<PartyId, __D>, + SearchQuery: Archive, + <SearchQuery as Archive>::Archived: Deserialize<SearchQuery, __D>,

source§

fn deserialize( + &self, + deserializer: &mut __D, +) -> Result<SearchParty, <__D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<__S: Fallible + ?Sized> Serialize<__S> for SearchParty
where + PartyId: Serialize<__S>, + SearchQuery: Serialize<__S>,

source§

fn serialize( + &self, + serializer: &mut __S, +) -> Result<<Self as Archive>::Resolver, <__S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/party/struct.SearchPartyResolver.html b/client_sdk/api/commands/party/struct.SearchPartyResolver.html new file mode 100644 index 000000000..d8d0409d2 --- /dev/null +++ b/client_sdk/api/commands/party/struct.SearchPartyResolver.html @@ -0,0 +1,23 @@ +SearchPartyResolver in client_sdk::api::commands::party - Rust

Struct client_sdk::api::commands::party::SearchPartyResolver

source ·
pub struct SearchPartyResolver
where + PartyId: Archive, + SearchQuery: Archive,
{ /* private fields */ }
Expand description

The resolver for an archived SearchParty

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/party/struct.SearchQuery.html b/client_sdk/api/commands/party/struct.SearchQuery.html new file mode 100644 index 000000000..3ebe6c0fc --- /dev/null +++ b/client_sdk/api/commands/party/struct.SearchQuery.html @@ -0,0 +1,51 @@ +SearchQuery in client_sdk::api::commands::party - Rust

Struct client_sdk::api::commands::party::SearchQuery

source ·
pub struct SearchQuery {
+    pub query: ThinString,
+}

Fields§

§query: ThinString

Trait Implementations§

source§

impl Archive for SearchQuery
where + ThinString: Archive,

source§

type Archived = ArchivedSearchQuery

The archived representation of this type. Read more
source§

type Resolver = SearchQueryResolver

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
source§

impl Debug for SearchQuery

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for SearchQuery

source§

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<__D: Fallible + ?Sized> Deserialize<SearchQuery, __D> for Archived<SearchQuery>
where + ThinString: Archive, + <ThinString as Archive>::Archived: Deserialize<ThinString, __D>,

source§

fn deserialize( + &self, + deserializer: &mut __D, +) -> Result<SearchQuery, <__D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<__S: Fallible + ?Sized> Serialize<__S> for SearchQuery
where + ThinString: Serialize<__S>,

source§

fn serialize( + &self, + serializer: &mut __S, +) -> Result<<Self as Archive>::Resolver, <__S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.
source§

impl Serialize for SearchQuery

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
source§

impl<T> CommandBody for T
where + T: Send + Serialize + Archive,

source§

impl<T> CommandResult for T
where + T: Send + DeserializeOwned + Serialize + Archive,

source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/party/struct.SearchQueryResolver.html b/client_sdk/api/commands/party/struct.SearchQueryResolver.html new file mode 100644 index 000000000..34923817c --- /dev/null +++ b/client_sdk/api/commands/party/struct.SearchQueryResolver.html @@ -0,0 +1,22 @@ +SearchQueryResolver in client_sdk::api::commands::party - Rust

Struct client_sdk::api::commands::party::SearchQueryResolver

source ·
pub struct SearchQueryResolver
where + ThinString: Archive,
{ /* private fields */ }
Expand description

The resolver for an archived SearchQuery

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/party/struct.TransferOwnership.html b/client_sdk/api/commands/party/struct.TransferOwnership.html new file mode 100644 index 000000000..663e5d4fe --- /dev/null +++ b/client_sdk/api/commands/party/struct.TransferOwnership.html @@ -0,0 +1,54 @@ +TransferOwnership in client_sdk::api::commands::party - Rust

Struct client_sdk::api::commands::party::TransferOwnership

source ·
pub struct TransferOwnership {
+    pub party_id: PartyId,
+    pub user_id: UserId,
+}

Fields§

§party_id: PartyId§user_id: UserId

Implementations§

source§

impl TransferOwnership

source

pub const fn new(party_id: PartyId, user_id: UserId) -> Self

Construct new instance from individual fields

+

Trait Implementations§

source§

impl Archive for TransferOwnership
where + PartyId: Archive, + UserId: Archive,

source§

type Archived = ArchivedTransferOwnership

The archived representation of this type. Read more
source§

type Resolver = TransferOwnershipResolver

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
source§

impl Command for TransferOwnership

source§

const STREAM: bool = false

Whether the command returns one or many items
source§

const IS_QUERY: bool = false

Whether the command has a query string or sends a body
source§

async fn collect<S, E>(stream: S) -> Result<Self::Result, E>
where + S: Stream<Item = Result<Self::Item, E>> + Send, + E: From<MissingItemError>,

Used to collect the Result from an arbitrary Stream of items.
source§

type Item = ()

The underlying type of each returned item, be it one or many.
source§

type Result = ()

Item(s) returned from the server by a given command
source§

const HTTP_METHOD: Method = http::Method::PUT

HTTP Method used to execute the command
source§

const FLAGS: CommandFlags = _

Flags for the command, defaults to empty.
source§

const RATE_LIMIT: RateLimit = _

Baseline rate-limiting parameters, defaults to RateLimit::DEFAULT. Read more
source§

const SERVER_TIMEOUT: Duration = _

On the server side, how long to wait before timing out the request.
source§

fn perms(&self) -> Permissions

Computes required permissions
source§

const ROUTE_PATTERN: &'static str = "/api/v1/party/{party_id}/owner/{user_id}"

Path pattern for the command (without query) when used with matchit 0.8 or higher.
source§

fn format_path<W: Write>(&self, w: W) -> Result

Serialize/format the REST path (without query)
source§

type Body = ()

Body type for the command
source§

fn body(&self) -> &Self::Body

Body to be serialized as request body or query parameters (if GET)
source§

fn body_size_hint(&self) -> usize

Hint given to preallocate body size, only used for query strings
source§

fn add_headers(&self, _map: &mut HeaderMap)

Insert any additional headers required to perform this command
source§

impl Debug for TransferOwnership

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<__D: Fallible + ?Sized> Deserialize<TransferOwnership, __D> for Archived<TransferOwnership>
where + PartyId: Archive, + <PartyId as Archive>::Archived: Deserialize<PartyId, __D>, + UserId: Archive, + <UserId as Archive>::Archived: Deserialize<UserId, __D>,

source§

fn deserialize( + &self, + deserializer: &mut __D, +) -> Result<TransferOwnership, <__D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<__S: Fallible + ?Sized> Serialize<__S> for TransferOwnership
where + PartyId: Serialize<__S>, + UserId: Serialize<__S>,

source§

fn serialize( + &self, + serializer: &mut __S, +) -> Result<<Self as Archive>::Resolver, <__S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/party/struct.TransferOwnershipResolver.html b/client_sdk/api/commands/party/struct.TransferOwnershipResolver.html new file mode 100644 index 000000000..cf717c08a --- /dev/null +++ b/client_sdk/api/commands/party/struct.TransferOwnershipResolver.html @@ -0,0 +1,23 @@ +TransferOwnershipResolver in client_sdk::api::commands::party - Rust

Struct client_sdk::api::commands::party::TransferOwnershipResolver

source ·
pub struct TransferOwnershipResolver
where + PartyId: Archive, + UserId: Archive,
{ /* private fields */ }
Expand description

The resolver for an archived TransferOwnership

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/party/struct.UpdateMemberProfile.html b/client_sdk/api/commands/party/struct.UpdateMemberProfile.html new file mode 100644 index 000000000..4ebbc5cbe --- /dev/null +++ b/client_sdk/api/commands/party/struct.UpdateMemberProfile.html @@ -0,0 +1,55 @@ +UpdateMemberProfile in client_sdk::api::commands::party - Rust

Struct client_sdk::api::commands::party::UpdateMemberProfile

source ·
pub struct UpdateMemberProfile {
+    pub party_id: PartyId,
+    pub body: UpdateMemberProfileBody,
+}

Fields§

§party_id: PartyId§body: UpdateMemberProfileBody

Body to be serialized as request body or query parameters (if GET)

+

Implementations§

source§

impl UpdateMemberProfile

source

pub const fn new(party_id: PartyId, profile: UpdateUserProfileBody) -> Self

Construct new instance from individual fields

+

Trait Implementations§

source§

impl Archive for UpdateMemberProfile
where + PartyId: Archive, + UpdateMemberProfileBody: Archive,

source§

type Archived = ArchivedUpdateMemberProfile

The archived representation of this type. Read more
source§

type Resolver = UpdateMemberProfileResolver

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
source§

impl Command for UpdateMemberProfile

source§

const STREAM: bool = false

Whether the command returns one or many items
source§

const IS_QUERY: bool = false

Whether the command has a query string or sends a body
source§

async fn collect<S, E>(stream: S) -> Result<Self::Result, E>
where + S: Stream<Item = Result<Self::Item, E>> + Send, + E: From<MissingItemError>,

Used to collect the Result from an arbitrary Stream of items.
source§

type Item = UserProfile

The underlying type of each returned item, be it one or many.
source§

type Result = UserProfile

Item(s) returned from the server by a given command
source§

const HTTP_METHOD: Method = http::Method::PATCH

HTTP Method used to execute the command
source§

const FLAGS: CommandFlags = _

Flags for the command, defaults to empty.
source§

const RATE_LIMIT: RateLimit = _

Baseline rate-limiting parameters, defaults to RateLimit::DEFAULT. Read more
source§

const SERVER_TIMEOUT: Duration = _

On the server side, how long to wait before timing out the request.
source§

fn perms(&self) -> Permissions

Computes required permissions
source§

const ROUTE_PATTERN: &'static str = "/api/v1/party/{party_id}/members/profile"

Path pattern for the command (without query) when used with matchit 0.8 or higher.
source§

fn format_path<W: Write>(&self, w: W) -> Result

Serialize/format the REST path (without query)
source§

type Body = UpdateMemberProfileBody

Body type for the command
source§

fn body(&self) -> &Self::Body

Body to be serialized as request body or query parameters (if GET)
source§

fn body_size_hint(&self) -> usize

Hint given to preallocate body size, only used for query strings
source§

fn add_headers(&self, _map: &mut HeaderMap)

Insert any additional headers required to perform this command
source§

impl Debug for UpdateMemberProfile

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Deref for UpdateMemberProfile

source§

type Target = UpdateMemberProfileBody

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl DerefMut for UpdateMemberProfile

source§

fn deref_mut(&mut self) -> &mut Self::Target

Mutably dereferences the value.
source§

impl<__D: Fallible + ?Sized> Deserialize<UpdateMemberProfile, __D> for Archived<UpdateMemberProfile>
where + PartyId: Archive, + <PartyId as Archive>::Archived: Deserialize<PartyId, __D>, + UpdateMemberProfileBody: Archive, + <UpdateMemberProfileBody as Archive>::Archived: Deserialize<UpdateMemberProfileBody, __D>,

source§

fn deserialize( + &self, + deserializer: &mut __D, +) -> Result<UpdateMemberProfile, <__D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<__S: Fallible + ?Sized> Serialize<__S> for UpdateMemberProfile
where + PartyId: Serialize<__S>, + UpdateMemberProfileBody: Serialize<__S>,

source§

fn serialize( + &self, + serializer: &mut __S, +) -> Result<<Self as Archive>::Resolver, <__S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/party/struct.UpdateMemberProfileBody.html b/client_sdk/api/commands/party/struct.UpdateMemberProfileBody.html new file mode 100644 index 000000000..a41415e3e --- /dev/null +++ b/client_sdk/api/commands/party/struct.UpdateMemberProfileBody.html @@ -0,0 +1,51 @@ +UpdateMemberProfileBody in client_sdk::api::commands::party - Rust

Struct client_sdk::api::commands::party::UpdateMemberProfileBody

source ·
pub struct UpdateMemberProfileBody {
+    pub profile: UpdateUserProfileBody,
+}

Fields§

§profile: UpdateUserProfileBody

Trait Implementations§

source§

impl Archive for UpdateMemberProfileBody
where + UpdateUserProfileBody: Archive,

source§

type Archived = ArchivedUpdateMemberProfileBody

The archived representation of this type. Read more
source§

type Resolver = UpdateMemberProfileBodyResolver

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
source§

impl Debug for UpdateMemberProfileBody

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for UpdateMemberProfileBody

source§

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<__D: Fallible + ?Sized> Deserialize<UpdateMemberProfileBody, __D> for Archived<UpdateMemberProfileBody>
where + UpdateUserProfileBody: Archive, + <UpdateUserProfileBody as Archive>::Archived: Deserialize<UpdateUserProfileBody, __D>,

source§

fn deserialize( + &self, + deserializer: &mut __D, +) -> Result<UpdateMemberProfileBody, <__D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<__S: Fallible + ?Sized> Serialize<__S> for UpdateMemberProfileBody
where + UpdateUserProfileBody: Serialize<__S>,

source§

fn serialize( + &self, + serializer: &mut __S, +) -> Result<<Self as Archive>::Resolver, <__S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.
source§

impl Serialize for UpdateMemberProfileBody

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
source§

impl<T> CommandBody for T
where + T: Send + Serialize + Archive,

source§

impl<T> CommandResult for T
where + T: Send + DeserializeOwned + Serialize + Archive,

source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/party/struct.UpdateMemberProfileBodyResolver.html b/client_sdk/api/commands/party/struct.UpdateMemberProfileBodyResolver.html new file mode 100644 index 000000000..9f7762353 --- /dev/null +++ b/client_sdk/api/commands/party/struct.UpdateMemberProfileBodyResolver.html @@ -0,0 +1,22 @@ +UpdateMemberProfileBodyResolver in client_sdk::api::commands::party - Rust
pub struct UpdateMemberProfileBodyResolver
where + UpdateUserProfileBody: Archive,
{ /* private fields */ }
Expand description

The resolver for an archived UpdateMemberProfileBody

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/party/struct.UpdateMemberProfileResolver.html b/client_sdk/api/commands/party/struct.UpdateMemberProfileResolver.html new file mode 100644 index 000000000..6286f9dbe --- /dev/null +++ b/client_sdk/api/commands/party/struct.UpdateMemberProfileResolver.html @@ -0,0 +1,23 @@ +UpdateMemberProfileResolver in client_sdk::api::commands::party - Rust
pub struct UpdateMemberProfileResolver
where + PartyId: Archive, + UpdateMemberProfileBody: Archive,
{ /* private fields */ }
Expand description

The resolver for an archived UpdateMemberProfile

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/room/index.html b/client_sdk/api/commands/room/index.html new file mode 100644 index 000000000..9d17fa3f6 --- /dev/null +++ b/client_sdk/api/commands/room/index.html @@ -0,0 +1 @@ +client_sdk::api::commands::room - Rust

Module client_sdk::api::commands::room

source ·

Structs§

\ No newline at end of file diff --git a/client_sdk/api/commands/room/sidebar-items.js b/client_sdk/api/commands/room/sidebar-items.js new file mode 100644 index 000000000..722a3d5d0 --- /dev/null +++ b/client_sdk/api/commands/room/sidebar-items.js @@ -0,0 +1 @@ +window.SIDEBAR_ITEMS = {"struct":["ArchivedCreateMessage","ArchivedCreateMessageBody","ArchivedDeleteAllReactions","ArchivedDeleteMessage","ArchivedDeleteOwnReaction","ArchivedDeleteRoom","ArchivedDeleteUserReaction","ArchivedEditMessage","ArchivedEditMessageBody","ArchivedGetMessage","ArchivedGetMessages","ArchivedGetMessagesQuery","ArchivedGetReactions","ArchivedGetReactionsForm","ArchivedGetRoom","ArchivedPatchRoom","ArchivedPatchRoomForm","ArchivedPinMessage","ArchivedPutReaction","ArchivedStarMessage","ArchivedStartTyping","ArchivedStartTypingBody","ArchivedUnpinMessage","ArchivedUnstarMessage","CreateMessage","CreateMessageBody","CreateMessageBodyResolver","CreateMessageResolver","DeleteAllReactions","DeleteAllReactionsResolver","DeleteMessage","DeleteMessageResolver","DeleteOwnReaction","DeleteOwnReactionResolver","DeleteRoom","DeleteRoomResolver","DeleteUserReaction","DeleteUserReactionResolver","EditMessage","EditMessageBody","EditMessageBodyResolver","EditMessageResolver","GetMessage","GetMessageResolver","GetMessages","GetMessagesQuery","GetMessagesQueryResolver","GetMessagesResolver","GetReactions","GetReactionsForm","GetReactionsFormResolver","GetReactionsResolver","GetRoom","GetRoomResolver","PatchRoom","PatchRoomForm","PatchRoomFormResolver","PatchRoomResolver","PinMessage","PinMessageResolver","PutReaction","PutReactionResolver","StarMessage","StarMessageResolver","StartTyping","StartTypingBody","StartTypingBodyResolver","StartTypingResolver","UnpinMessage","UnpinMessageResolver","UnstarMessage","UnstarMessageResolver"]}; \ No newline at end of file diff --git a/client_sdk/api/commands/room/struct.ArchivedCreateMessage.html b/client_sdk/api/commands/room/struct.ArchivedCreateMessage.html new file mode 100644 index 000000000..49cba36ea --- /dev/null +++ b/client_sdk/api/commands/room/struct.ArchivedCreateMessage.html @@ -0,0 +1,39 @@ +ArchivedCreateMessage in client_sdk::api::commands::room - Rust

Struct client_sdk::api::commands::room::ArchivedCreateMessage

source ·
#[repr(C)]
pub struct ArchivedCreateMessage
where + RoomId: Archive, + CreateMessageBody: Archive,
{ + pub room_id: <RoomId as Archive>::Archived, + pub body: <CreateMessageBody as Archive>::Archived, +}
Expand description

An archived CreateMessage

+

Fields§

§room_id: <RoomId as Archive>::Archived§body: <CreateMessageBody as Archive>::Archived

Trait Implementations§

source§

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedCreateMessage
where + RoomId: Archive, + CreateMessageBody: Archive, + <__C as Fallible>::Error: Trace, + <RoomId as Archive>::Archived: CheckBytes<__C>, + <CreateMessageBody as Archive>::Archived: CheckBytes<__C>,

source§

unsafe fn check_bytes( + value: *const Self, + context: &mut __C, +) -> Result<(), <__C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Portable for ArchivedCreateMessage
where + RoomId: Archive, + CreateMessageBody: Archive, + <RoomId as Archive>::Archived: Portable, + <CreateMessageBody as Archive>::Archived: Portable,

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/room/struct.ArchivedCreateMessageBody.html b/client_sdk/api/commands/room/struct.ArchivedCreateMessageBody.html new file mode 100644 index 000000000..5dbbd8ea8 --- /dev/null +++ b/client_sdk/api/commands/room/struct.ArchivedCreateMessageBody.html @@ -0,0 +1,58 @@ +ArchivedCreateMessageBody in client_sdk::api::commands::room - Rust

Struct client_sdk::api::commands::room::ArchivedCreateMessageBody

source ·
#[repr(C)]
pub struct ArchivedCreateMessageBody
where + SmolStr: Archive, + Option<RoomId>: Archive, + ThinVec<FileId>: Archive, + ThinVec<Embed>: Archive, + bool: Archive,
{ + pub content: <SmolStr as Archive>::Archived, + pub parent: <Option<RoomId> as Archive>::Archived, + pub attachments: <ThinVec<FileId> as Archive>::Archived, + pub embeds: <ThinVec<Embed> as Archive>::Archived, + pub ephemeral: <bool as Archive>::Archived, + pub tts: <bool as Archive>::Archived, +}
Expand description

An archived CreateMessageBody

+

Fields§

§content: <SmolStr as Archive>::Archived§parent: <Option<RoomId> as Archive>::Archived§attachments: <ThinVec<FileId> as Archive>::Archived§embeds: <ThinVec<Embed> as Archive>::Archived§ephemeral: <bool as Archive>::Archived§tts: <bool as Archive>::Archived

Trait Implementations§

source§

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedCreateMessageBody
where + SmolStr: Archive, + Option<RoomId>: Archive, + ThinVec<FileId>: Archive, + ThinVec<Embed>: Archive, + bool: Archive, + <__C as Fallible>::Error: Trace, + <SmolStr as Archive>::Archived: CheckBytes<__C>, + <Option<RoomId> as Archive>::Archived: CheckBytes<__C>, + <ThinVec<FileId> as Archive>::Archived: CheckBytes<__C>, + <ThinVec<Embed> as Archive>::Archived: CheckBytes<__C>, + <bool as Archive>::Archived: CheckBytes<__C>,

source§

unsafe fn check_bytes( + value: *const Self, + context: &mut __C, +) -> Result<(), <__C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Portable for ArchivedCreateMessageBody
where + SmolStr: Archive, + Option<RoomId>: Archive, + ThinVec<FileId>: Archive, + ThinVec<Embed>: Archive, + bool: Archive, + <SmolStr as Archive>::Archived: Portable, + <Option<RoomId> as Archive>::Archived: Portable, + <ThinVec<FileId> as Archive>::Archived: Portable, + <ThinVec<Embed> as Archive>::Archived: Portable, + <bool as Archive>::Archived: Portable,

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/room/struct.ArchivedDeleteAllReactions.html b/client_sdk/api/commands/room/struct.ArchivedDeleteAllReactions.html new file mode 100644 index 000000000..3a596c787 --- /dev/null +++ b/client_sdk/api/commands/room/struct.ArchivedDeleteAllReactions.html @@ -0,0 +1,39 @@ +ArchivedDeleteAllReactions in client_sdk::api::commands::room - Rust

Struct client_sdk::api::commands::room::ArchivedDeleteAllReactions

source ·
#[repr(C)]
pub struct ArchivedDeleteAllReactions
where + RoomId: Archive, + MessageId: Archive,
{ + pub room_id: <RoomId as Archive>::Archived, + pub msg_id: <MessageId as Archive>::Archived, +}
Expand description

An archived DeleteAllReactions

+

Fields§

§room_id: <RoomId as Archive>::Archived§msg_id: <MessageId as Archive>::Archived

Trait Implementations§

source§

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedDeleteAllReactions
where + RoomId: Archive, + MessageId: Archive, + <__C as Fallible>::Error: Trace, + <RoomId as Archive>::Archived: CheckBytes<__C>, + <MessageId as Archive>::Archived: CheckBytes<__C>,

source§

unsafe fn check_bytes( + value: *const Self, + context: &mut __C, +) -> Result<(), <__C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Portable for ArchivedDeleteAllReactions
where + RoomId: Archive, + MessageId: Archive, + <RoomId as Archive>::Archived: Portable, + <MessageId as Archive>::Archived: Portable,

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/room/struct.ArchivedDeleteMessage.html b/client_sdk/api/commands/room/struct.ArchivedDeleteMessage.html new file mode 100644 index 000000000..c4fd6f868 --- /dev/null +++ b/client_sdk/api/commands/room/struct.ArchivedDeleteMessage.html @@ -0,0 +1,39 @@ +ArchivedDeleteMessage in client_sdk::api::commands::room - Rust

Struct client_sdk::api::commands::room::ArchivedDeleteMessage

source ·
#[repr(C)]
pub struct ArchivedDeleteMessage
where + RoomId: Archive, + MessageId: Archive,
{ + pub room_id: <RoomId as Archive>::Archived, + pub msg_id: <MessageId as Archive>::Archived, +}
Expand description

An archived DeleteMessage

+

Fields§

§room_id: <RoomId as Archive>::Archived§msg_id: <MessageId as Archive>::Archived

Trait Implementations§

source§

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedDeleteMessage
where + RoomId: Archive, + MessageId: Archive, + <__C as Fallible>::Error: Trace, + <RoomId as Archive>::Archived: CheckBytes<__C>, + <MessageId as Archive>::Archived: CheckBytes<__C>,

source§

unsafe fn check_bytes( + value: *const Self, + context: &mut __C, +) -> Result<(), <__C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Portable for ArchivedDeleteMessage
where + RoomId: Archive, + MessageId: Archive, + <RoomId as Archive>::Archived: Portable, + <MessageId as Archive>::Archived: Portable,

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/room/struct.ArchivedDeleteOwnReaction.html b/client_sdk/api/commands/room/struct.ArchivedDeleteOwnReaction.html new file mode 100644 index 000000000..d3f085306 --- /dev/null +++ b/client_sdk/api/commands/room/struct.ArchivedDeleteOwnReaction.html @@ -0,0 +1,45 @@ +ArchivedDeleteOwnReaction in client_sdk::api::commands::room - Rust

Struct client_sdk::api::commands::room::ArchivedDeleteOwnReaction

source ·
#[repr(C)]
pub struct ArchivedDeleteOwnReaction
where + RoomId: Archive, + MessageId: Archive, + EmoteOrEmoji: Archive,
{ + pub room_id: <RoomId as Archive>::Archived, + pub msg_id: <MessageId as Archive>::Archived, + pub emote_id: <EmoteOrEmoji as Archive>::Archived, +}
Expand description

An archived DeleteOwnReaction

+

Fields§

§room_id: <RoomId as Archive>::Archived§msg_id: <MessageId as Archive>::Archived§emote_id: <EmoteOrEmoji as Archive>::Archived

Trait Implementations§

source§

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedDeleteOwnReaction
where + RoomId: Archive, + MessageId: Archive, + EmoteOrEmoji: Archive, + <__C as Fallible>::Error: Trace, + <RoomId as Archive>::Archived: CheckBytes<__C>, + <MessageId as Archive>::Archived: CheckBytes<__C>, + <EmoteOrEmoji as Archive>::Archived: CheckBytes<__C>,

source§

unsafe fn check_bytes( + value: *const Self, + context: &mut __C, +) -> Result<(), <__C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Portable for ArchivedDeleteOwnReaction
where + RoomId: Archive, + MessageId: Archive, + EmoteOrEmoji: Archive, + <RoomId as Archive>::Archived: Portable, + <MessageId as Archive>::Archived: Portable, + <EmoteOrEmoji as Archive>::Archived: Portable,

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/room/struct.ArchivedDeleteRoom.html b/client_sdk/api/commands/room/struct.ArchivedDeleteRoom.html new file mode 100644 index 000000000..3ab8cf222 --- /dev/null +++ b/client_sdk/api/commands/room/struct.ArchivedDeleteRoom.html @@ -0,0 +1,33 @@ +ArchivedDeleteRoom in client_sdk::api::commands::room - Rust

Struct client_sdk::api::commands::room::ArchivedDeleteRoom

source ·
#[repr(C)]
pub struct ArchivedDeleteRoom
where + RoomId: Archive,
{ + pub room_id: <RoomId as Archive>::Archived, +}
Expand description

An archived DeleteRoom

+

Fields§

§room_id: <RoomId as Archive>::Archived

Trait Implementations§

source§

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedDeleteRoom
where + RoomId: Archive, + <__C as Fallible>::Error: Trace, + <RoomId as Archive>::Archived: CheckBytes<__C>,

source§

unsafe fn check_bytes( + value: *const Self, + context: &mut __C, +) -> Result<(), <__C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Portable for ArchivedDeleteRoom
where + RoomId: Archive, + <RoomId as Archive>::Archived: Portable,

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/room/struct.ArchivedDeleteUserReaction.html b/client_sdk/api/commands/room/struct.ArchivedDeleteUserReaction.html new file mode 100644 index 000000000..adbd603f2 --- /dev/null +++ b/client_sdk/api/commands/room/struct.ArchivedDeleteUserReaction.html @@ -0,0 +1,51 @@ +ArchivedDeleteUserReaction in client_sdk::api::commands::room - Rust

Struct client_sdk::api::commands::room::ArchivedDeleteUserReaction

source ·
#[repr(C)]
pub struct ArchivedDeleteUserReaction
where + RoomId: Archive, + MessageId: Archive, + EmoteOrEmoji: Archive, + UserId: Archive,
{ + pub room_id: <RoomId as Archive>::Archived, + pub msg_id: <MessageId as Archive>::Archived, + pub emote_id: <EmoteOrEmoji as Archive>::Archived, + pub user_id: <UserId as Archive>::Archived, +}
Expand description

An archived DeleteUserReaction

+

Fields§

§room_id: <RoomId as Archive>::Archived§msg_id: <MessageId as Archive>::Archived§emote_id: <EmoteOrEmoji as Archive>::Archived§user_id: <UserId as Archive>::Archived

Trait Implementations§

source§

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedDeleteUserReaction
where + RoomId: Archive, + MessageId: Archive, + EmoteOrEmoji: Archive, + UserId: Archive, + <__C as Fallible>::Error: Trace, + <RoomId as Archive>::Archived: CheckBytes<__C>, + <MessageId as Archive>::Archived: CheckBytes<__C>, + <EmoteOrEmoji as Archive>::Archived: CheckBytes<__C>, + <UserId as Archive>::Archived: CheckBytes<__C>,

source§

unsafe fn check_bytes( + value: *const Self, + context: &mut __C, +) -> Result<(), <__C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Portable for ArchivedDeleteUserReaction
where + RoomId: Archive, + MessageId: Archive, + EmoteOrEmoji: Archive, + UserId: Archive, + <RoomId as Archive>::Archived: Portable, + <MessageId as Archive>::Archived: Portable, + <EmoteOrEmoji as Archive>::Archived: Portable, + <UserId as Archive>::Archived: Portable,

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/room/struct.ArchivedEditMessage.html b/client_sdk/api/commands/room/struct.ArchivedEditMessage.html new file mode 100644 index 000000000..557be8d66 --- /dev/null +++ b/client_sdk/api/commands/room/struct.ArchivedEditMessage.html @@ -0,0 +1,45 @@ +ArchivedEditMessage in client_sdk::api::commands::room - Rust

Struct client_sdk::api::commands::room::ArchivedEditMessage

source ·
#[repr(C)]
pub struct ArchivedEditMessage
where + RoomId: Archive, + MessageId: Archive, + EditMessageBody: Archive,
{ + pub room_id: <RoomId as Archive>::Archived, + pub msg_id: <MessageId as Archive>::Archived, + pub body: <EditMessageBody as Archive>::Archived, +}
Expand description

An archived EditMessage

+

Fields§

§room_id: <RoomId as Archive>::Archived§msg_id: <MessageId as Archive>::Archived§body: <EditMessageBody as Archive>::Archived

Trait Implementations§

source§

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedEditMessage
where + RoomId: Archive, + MessageId: Archive, + EditMessageBody: Archive, + <__C as Fallible>::Error: Trace, + <RoomId as Archive>::Archived: CheckBytes<__C>, + <MessageId as Archive>::Archived: CheckBytes<__C>, + <EditMessageBody as Archive>::Archived: CheckBytes<__C>,

source§

unsafe fn check_bytes( + value: *const Self, + context: &mut __C, +) -> Result<(), <__C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Portable for ArchivedEditMessage
where + RoomId: Archive, + MessageId: Archive, + EditMessageBody: Archive, + <RoomId as Archive>::Archived: Portable, + <MessageId as Archive>::Archived: Portable, + <EditMessageBody as Archive>::Archived: Portable,

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/room/struct.ArchivedEditMessageBody.html b/client_sdk/api/commands/room/struct.ArchivedEditMessageBody.html new file mode 100644 index 000000000..126a0b9b9 --- /dev/null +++ b/client_sdk/api/commands/room/struct.ArchivedEditMessageBody.html @@ -0,0 +1,39 @@ +ArchivedEditMessageBody in client_sdk::api::commands::room - Rust

Struct client_sdk::api::commands::room::ArchivedEditMessageBody

source ·
#[repr(C)]
pub struct ArchivedEditMessageBody
where + SmolStr: Archive, + ThinVec<FileId>: Archive,
{ + pub content: <SmolStr as Archive>::Archived, + pub attachments: <ThinVec<FileId> as Archive>::Archived, +}
Expand description

An archived EditMessageBody

+

Fields§

§content: <SmolStr as Archive>::Archived§attachments: <ThinVec<FileId> as Archive>::Archived

Trait Implementations§

source§

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedEditMessageBody
where + SmolStr: Archive, + ThinVec<FileId>: Archive, + <__C as Fallible>::Error: Trace, + <SmolStr as Archive>::Archived: CheckBytes<__C>, + <ThinVec<FileId> as Archive>::Archived: CheckBytes<__C>,

source§

unsafe fn check_bytes( + value: *const Self, + context: &mut __C, +) -> Result<(), <__C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Portable for ArchivedEditMessageBody
where + SmolStr: Archive, + ThinVec<FileId>: Archive, + <SmolStr as Archive>::Archived: Portable, + <ThinVec<FileId> as Archive>::Archived: Portable,

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/room/struct.ArchivedGetMessage.html b/client_sdk/api/commands/room/struct.ArchivedGetMessage.html new file mode 100644 index 000000000..6b54fce87 --- /dev/null +++ b/client_sdk/api/commands/room/struct.ArchivedGetMessage.html @@ -0,0 +1,39 @@ +ArchivedGetMessage in client_sdk::api::commands::room - Rust

Struct client_sdk::api::commands::room::ArchivedGetMessage

source ·
#[repr(C)]
pub struct ArchivedGetMessage
where + RoomId: Archive, + MessageId: Archive,
{ + pub room_id: <RoomId as Archive>::Archived, + pub msg_id: <MessageId as Archive>::Archived, +}
Expand description

An archived GetMessage

+

Fields§

§room_id: <RoomId as Archive>::Archived§msg_id: <MessageId as Archive>::Archived

Trait Implementations§

source§

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedGetMessage
where + RoomId: Archive, + MessageId: Archive, + <__C as Fallible>::Error: Trace, + <RoomId as Archive>::Archived: CheckBytes<__C>, + <MessageId as Archive>::Archived: CheckBytes<__C>,

source§

unsafe fn check_bytes( + value: *const Self, + context: &mut __C, +) -> Result<(), <__C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Portable for ArchivedGetMessage
where + RoomId: Archive, + MessageId: Archive, + <RoomId as Archive>::Archived: Portable, + <MessageId as Archive>::Archived: Portable,

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/room/struct.ArchivedGetMessages.html b/client_sdk/api/commands/room/struct.ArchivedGetMessages.html new file mode 100644 index 000000000..b376eff8e --- /dev/null +++ b/client_sdk/api/commands/room/struct.ArchivedGetMessages.html @@ -0,0 +1,39 @@ +ArchivedGetMessages in client_sdk::api::commands::room - Rust

Struct client_sdk::api::commands::room::ArchivedGetMessages

source ·
#[repr(C)]
pub struct ArchivedGetMessages
where + RoomId: Archive, + GetMessagesQuery: Archive,
{ + pub room_id: <RoomId as Archive>::Archived, + pub body: <GetMessagesQuery as Archive>::Archived, +}
Expand description

An archived GetMessages

+

Fields§

§room_id: <RoomId as Archive>::Archived§body: <GetMessagesQuery as Archive>::Archived

Trait Implementations§

source§

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedGetMessages
where + RoomId: Archive, + GetMessagesQuery: Archive, + <__C as Fallible>::Error: Trace, + <RoomId as Archive>::Archived: CheckBytes<__C>, + <GetMessagesQuery as Archive>::Archived: CheckBytes<__C>,

source§

unsafe fn check_bytes( + value: *const Self, + context: &mut __C, +) -> Result<(), <__C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Portable for ArchivedGetMessages
where + RoomId: Archive, + GetMessagesQuery: Archive, + <RoomId as Archive>::Archived: Portable, + <GetMessagesQuery as Archive>::Archived: Portable,

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/room/struct.ArchivedGetMessagesQuery.html b/client_sdk/api/commands/room/struct.ArchivedGetMessagesQuery.html new file mode 100644 index 000000000..db2411dac --- /dev/null +++ b/client_sdk/api/commands/room/struct.ArchivedGetMessagesQuery.html @@ -0,0 +1,63 @@ +ArchivedGetMessagesQuery in client_sdk::api::commands::room - Rust

Struct client_sdk::api::commands::room::ArchivedGetMessagesQuery

source ·
#[repr(C)]
pub struct ArchivedGetMessagesQuery
where + Option<Cursor>: Archive, + Option<MessageId>: Archive, + Option<u8>: Archive, + ThinVec<FolderId>: Archive, + bool: Archive, + u8: Archive,
{ + pub query: <Option<Cursor> as Archive>::Archived, + pub parent: <Option<MessageId> as Archive>::Archived, + pub limit: <Option<u8> as Archive>::Archived, + pub pinned: <ThinVec<FolderId> as Archive>::Archived, + pub starred: <bool as Archive>::Archived, + pub recurse: <u8 as Archive>::Archived, +}
Expand description

An archived GetMessagesQuery

+

Fields§

§query: <Option<Cursor> as Archive>::Archived§parent: <Option<MessageId> as Archive>::Archived§limit: <Option<u8> as Archive>::Archived§pinned: <ThinVec<FolderId> as Archive>::Archived§starred: <bool as Archive>::Archived§recurse: <u8 as Archive>::Archived

Trait Implementations§

source§

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedGetMessagesQuery
where + Option<Cursor>: Archive, + Option<MessageId>: Archive, + Option<u8>: Archive, + ThinVec<FolderId>: Archive, + bool: Archive, + u8: Archive, + <__C as Fallible>::Error: Trace, + <Option<Cursor> as Archive>::Archived: CheckBytes<__C>, + <Option<MessageId> as Archive>::Archived: CheckBytes<__C>, + <Option<u8> as Archive>::Archived: CheckBytes<__C>, + <ThinVec<FolderId> as Archive>::Archived: CheckBytes<__C>, + <bool as Archive>::Archived: CheckBytes<__C>, + <u8 as Archive>::Archived: CheckBytes<__C>,

source§

unsafe fn check_bytes( + value: *const Self, + context: &mut __C, +) -> Result<(), <__C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Portable for ArchivedGetMessagesQuery
where + Option<Cursor>: Archive, + Option<MessageId>: Archive, + Option<u8>: Archive, + ThinVec<FolderId>: Archive, + bool: Archive, + u8: Archive, + <Option<Cursor> as Archive>::Archived: Portable, + <Option<MessageId> as Archive>::Archived: Portable, + <Option<u8> as Archive>::Archived: Portable, + <ThinVec<FolderId> as Archive>::Archived: Portable, + <bool as Archive>::Archived: Portable, + <u8 as Archive>::Archived: Portable,

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/room/struct.ArchivedGetReactions.html b/client_sdk/api/commands/room/struct.ArchivedGetReactions.html new file mode 100644 index 000000000..2ffb56eee --- /dev/null +++ b/client_sdk/api/commands/room/struct.ArchivedGetReactions.html @@ -0,0 +1,51 @@ +ArchivedGetReactions in client_sdk::api::commands::room - Rust

Struct client_sdk::api::commands::room::ArchivedGetReactions

source ·
#[repr(C)]
pub struct ArchivedGetReactions
where + RoomId: Archive, + MessageId: Archive, + EmoteOrEmoji: Archive, + GetReactionsForm: Archive,
{ + pub room_id: <RoomId as Archive>::Archived, + pub msg_id: <MessageId as Archive>::Archived, + pub emote_id: <EmoteOrEmoji as Archive>::Archived, + pub body: <GetReactionsForm as Archive>::Archived, +}
Expand description

An archived GetReactions

+

Fields§

§room_id: <RoomId as Archive>::Archived§msg_id: <MessageId as Archive>::Archived§emote_id: <EmoteOrEmoji as Archive>::Archived§body: <GetReactionsForm as Archive>::Archived

Trait Implementations§

source§

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedGetReactions
where + RoomId: Archive, + MessageId: Archive, + EmoteOrEmoji: Archive, + GetReactionsForm: Archive, + <__C as Fallible>::Error: Trace, + <RoomId as Archive>::Archived: CheckBytes<__C>, + <MessageId as Archive>::Archived: CheckBytes<__C>, + <EmoteOrEmoji as Archive>::Archived: CheckBytes<__C>, + <GetReactionsForm as Archive>::Archived: CheckBytes<__C>,

source§

unsafe fn check_bytes( + value: *const Self, + context: &mut __C, +) -> Result<(), <__C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Portable for ArchivedGetReactions
where + RoomId: Archive, + MessageId: Archive, + EmoteOrEmoji: Archive, + GetReactionsForm: Archive, + <RoomId as Archive>::Archived: Portable, + <MessageId as Archive>::Archived: Portable, + <EmoteOrEmoji as Archive>::Archived: Portable, + <GetReactionsForm as Archive>::Archived: Portable,

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/room/struct.ArchivedGetReactionsForm.html b/client_sdk/api/commands/room/struct.ArchivedGetReactionsForm.html new file mode 100644 index 000000000..9c6f2cbf7 --- /dev/null +++ b/client_sdk/api/commands/room/struct.ArchivedGetReactionsForm.html @@ -0,0 +1,36 @@ +ArchivedGetReactionsForm in client_sdk::api::commands::room - Rust

Struct client_sdk::api::commands::room::ArchivedGetReactionsForm

source ·
#[repr(C)]
pub struct ArchivedGetReactionsForm
where + Option<Snowflake>: Archive, + Option<i8>: Archive,
{ /* private fields */ }
Expand description

An archived GetReactionsForm

+

Trait Implementations§

source§

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedGetReactionsForm
where + Option<Snowflake>: Archive, + Option<i8>: Archive, + <__C as Fallible>::Error: Trace, + <Option<Snowflake> as Archive>::Archived: CheckBytes<__C>, + <Option<i8> as Archive>::Archived: CheckBytes<__C>,

source§

unsafe fn check_bytes( + value: *const Self, + context: &mut __C, +) -> Result<(), <__C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Portable for ArchivedGetReactionsForm
where + Option<Snowflake>: Archive, + Option<i8>: Archive, + <Option<Snowflake> as Archive>::Archived: Portable, + <Option<i8> as Archive>::Archived: Portable,

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/room/struct.ArchivedGetRoom.html b/client_sdk/api/commands/room/struct.ArchivedGetRoom.html new file mode 100644 index 000000000..f5c9071bf --- /dev/null +++ b/client_sdk/api/commands/room/struct.ArchivedGetRoom.html @@ -0,0 +1,33 @@ +ArchivedGetRoom in client_sdk::api::commands::room - Rust

Struct client_sdk::api::commands::room::ArchivedGetRoom

source ·
#[repr(C)]
pub struct ArchivedGetRoom
where + RoomId: Archive,
{ + pub room_id: <RoomId as Archive>::Archived, +}
Expand description

An archived GetRoom

+

Fields§

§room_id: <RoomId as Archive>::Archived

Trait Implementations§

source§

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedGetRoom
where + RoomId: Archive, + <__C as Fallible>::Error: Trace, + <RoomId as Archive>::Archived: CheckBytes<__C>,

source§

unsafe fn check_bytes( + value: *const Self, + context: &mut __C, +) -> Result<(), <__C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Portable for ArchivedGetRoom
where + RoomId: Archive, + <RoomId as Archive>::Archived: Portable,

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/room/struct.ArchivedPatchRoom.html b/client_sdk/api/commands/room/struct.ArchivedPatchRoom.html new file mode 100644 index 000000000..5e2d7089b --- /dev/null +++ b/client_sdk/api/commands/room/struct.ArchivedPatchRoom.html @@ -0,0 +1,39 @@ +ArchivedPatchRoom in client_sdk::api::commands::room - Rust

Struct client_sdk::api::commands::room::ArchivedPatchRoom

source ·
#[repr(C)]
pub struct ArchivedPatchRoom
where + RoomId: Archive, + PatchRoomForm: Archive,
{ + pub room_id: <RoomId as Archive>::Archived, + pub body: <PatchRoomForm as Archive>::Archived, +}
Expand description

An archived PatchRoom

+

Fields§

§room_id: <RoomId as Archive>::Archived§body: <PatchRoomForm as Archive>::Archived

Trait Implementations§

source§

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedPatchRoom
where + RoomId: Archive, + PatchRoomForm: Archive, + <__C as Fallible>::Error: Trace, + <RoomId as Archive>::Archived: CheckBytes<__C>, + <PatchRoomForm as Archive>::Archived: CheckBytes<__C>,

source§

unsafe fn check_bytes( + value: *const Self, + context: &mut __C, +) -> Result<(), <__C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Portable for ArchivedPatchRoom
where + RoomId: Archive, + PatchRoomForm: Archive, + <RoomId as Archive>::Archived: Portable, + <PatchRoomForm as Archive>::Archived: Portable,

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/room/struct.ArchivedPatchRoomForm.html b/client_sdk/api/commands/room/struct.ArchivedPatchRoomForm.html new file mode 100644 index 000000000..be5e72960 --- /dev/null +++ b/client_sdk/api/commands/room/struct.ArchivedPatchRoomForm.html @@ -0,0 +1,99 @@ +ArchivedPatchRoomForm in client_sdk::api::commands::room - Rust

Struct client_sdk::api::commands::room::ArchivedPatchRoomForm

source ·
#[repr(C)]
pub struct ArchivedPatchRoomForm
where + Option<SmolStr>: Archive, + Nullable<SmolStr>: Archive, + Nullable<FileId>: Archive, + Option<u8>: Archive, + ThinVec<Snowflake>: Archive, + ThinVec<Overwrite>: Archive, + Option<bool>: Archive,
{ + pub name: <Option<SmolStr> as Archive>::Archived, + pub topic: <Nullable<SmolStr> as Archive>::Archived, + pub avatar: <Nullable<FileId> as Archive>::Archived, + pub position: <Option<u8> as Archive>::Archived, + pub remove_overwrites: <ThinVec<Snowflake> as Archive>::Archived, + pub overwrites: <ThinVec<Overwrite> as Archive>::Archived, + pub nsfw: <Option<bool> as Archive>::Archived, +}
Expand description

An archived PatchRoomForm

+

Fields§

§name: <Option<SmolStr> as Archive>::Archived§topic: <Nullable<SmolStr> as Archive>::Archived§avatar: <Nullable<FileId> as Archive>::Archived§position: <Option<u8> as Archive>::Archived§remove_overwrites: <ThinVec<Snowflake> as Archive>::Archived§overwrites: <ThinVec<Overwrite> as Archive>::Archived§nsfw: <Option<bool> as Archive>::Archived

Trait Implementations§

source§

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedPatchRoomForm
where + Option<SmolStr>: Archive, + Nullable<SmolStr>: Archive, + Nullable<FileId>: Archive, + Option<u8>: Archive, + ThinVec<Snowflake>: Archive, + ThinVec<Overwrite>: Archive, + Option<bool>: Archive, + <__C as Fallible>::Error: Trace, + <Option<SmolStr> as Archive>::Archived: CheckBytes<__C>, + <Nullable<SmolStr> as Archive>::Archived: CheckBytes<__C>, + <Nullable<FileId> as Archive>::Archived: CheckBytes<__C>, + <Option<u8> as Archive>::Archived: CheckBytes<__C>, + <ThinVec<Snowflake> as Archive>::Archived: CheckBytes<__C>, + <ThinVec<Overwrite> as Archive>::Archived: CheckBytes<__C>, + <Option<bool> as Archive>::Archived: CheckBytes<__C>,

source§

unsafe fn check_bytes( + value: *const Self, + context: &mut __C, +) -> Result<(), <__C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl PartialEq<ArchivedPatchRoomForm> for PatchRoomForm
where + Option<SmolStr>: Archive, + Nullable<SmolStr>: Archive, + Nullable<FileId>: Archive, + Option<u8>: Archive, + ThinVec<Snowflake>: Archive, + ThinVec<Overwrite>: Archive, + Option<bool>: Archive, + <Option<SmolStr> as Archive>::Archived: PartialEq<Option<SmolStr>>, + <Nullable<SmolStr> as Archive>::Archived: PartialEq<Nullable<SmolStr>>, + <Nullable<FileId> as Archive>::Archived: PartialEq<Nullable<FileId>>, + <Option<u8> as Archive>::Archived: PartialEq<Option<u8>>, + <ThinVec<Snowflake> as Archive>::Archived: PartialEq<ThinVec<Snowflake>>, + <ThinVec<Overwrite> as Archive>::Archived: PartialEq<ThinVec<Overwrite>>, + <Option<bool> as Archive>::Archived: PartialEq<Option<bool>>,

source§

fn eq(&self, other: &ArchivedPatchRoomForm) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl PartialEq<PatchRoomForm> for ArchivedPatchRoomForm
where + Option<SmolStr>: Archive, + Nullable<SmolStr>: Archive, + Nullable<FileId>: Archive, + Option<u8>: Archive, + ThinVec<Snowflake>: Archive, + ThinVec<Overwrite>: Archive, + Option<bool>: Archive, + <Option<SmolStr> as Archive>::Archived: PartialEq<Option<SmolStr>>, + <Nullable<SmolStr> as Archive>::Archived: PartialEq<Nullable<SmolStr>>, + <Nullable<FileId> as Archive>::Archived: PartialEq<Nullable<FileId>>, + <Option<u8> as Archive>::Archived: PartialEq<Option<u8>>, + <ThinVec<Snowflake> as Archive>::Archived: PartialEq<ThinVec<Snowflake>>, + <ThinVec<Overwrite> as Archive>::Archived: PartialEq<ThinVec<Overwrite>>, + <Option<bool> as Archive>::Archived: PartialEq<Option<bool>>,

source§

fn eq(&self, other: &PatchRoomForm) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl Portable for ArchivedPatchRoomForm
where + Option<SmolStr>: Archive, + Nullable<SmolStr>: Archive, + Nullable<FileId>: Archive, + Option<u8>: Archive, + ThinVec<Snowflake>: Archive, + ThinVec<Overwrite>: Archive, + Option<bool>: Archive, + <Option<SmolStr> as Archive>::Archived: Portable, + <Nullable<SmolStr> as Archive>::Archived: Portable, + <Nullable<FileId> as Archive>::Archived: Portable, + <Option<u8> as Archive>::Archived: Portable, + <ThinVec<Snowflake> as Archive>::Archived: Portable, + <ThinVec<Overwrite> as Archive>::Archived: Portable, + <Option<bool> as Archive>::Archived: Portable,

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/room/struct.ArchivedPinMessage.html b/client_sdk/api/commands/room/struct.ArchivedPinMessage.html new file mode 100644 index 000000000..0620c1239 --- /dev/null +++ b/client_sdk/api/commands/room/struct.ArchivedPinMessage.html @@ -0,0 +1,45 @@ +ArchivedPinMessage in client_sdk::api::commands::room - Rust

Struct client_sdk::api::commands::room::ArchivedPinMessage

source ·
#[repr(C)]
pub struct ArchivedPinMessage
where + RoomId: Archive, + MessageId: Archive, + FolderId: Archive,
{ + pub room_id: <RoomId as Archive>::Archived, + pub msg_id: <MessageId as Archive>::Archived, + pub pin_tag: <FolderId as Archive>::Archived, +}
Expand description

An archived PinMessage

+

Fields§

§room_id: <RoomId as Archive>::Archived§msg_id: <MessageId as Archive>::Archived§pin_tag: <FolderId as Archive>::Archived

Trait Implementations§

source§

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedPinMessage
where + RoomId: Archive, + MessageId: Archive, + FolderId: Archive, + <__C as Fallible>::Error: Trace, + <RoomId as Archive>::Archived: CheckBytes<__C>, + <MessageId as Archive>::Archived: CheckBytes<__C>, + <FolderId as Archive>::Archived: CheckBytes<__C>,

source§

unsafe fn check_bytes( + value: *const Self, + context: &mut __C, +) -> Result<(), <__C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Portable for ArchivedPinMessage
where + RoomId: Archive, + MessageId: Archive, + FolderId: Archive, + <RoomId as Archive>::Archived: Portable, + <MessageId as Archive>::Archived: Portable, + <FolderId as Archive>::Archived: Portable,

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/room/struct.ArchivedPutReaction.html b/client_sdk/api/commands/room/struct.ArchivedPutReaction.html new file mode 100644 index 000000000..4cdd94611 --- /dev/null +++ b/client_sdk/api/commands/room/struct.ArchivedPutReaction.html @@ -0,0 +1,45 @@ +ArchivedPutReaction in client_sdk::api::commands::room - Rust

Struct client_sdk::api::commands::room::ArchivedPutReaction

source ·
#[repr(C)]
pub struct ArchivedPutReaction
where + RoomId: Archive, + MessageId: Archive, + EmoteOrEmoji: Archive,
{ + pub room_id: <RoomId as Archive>::Archived, + pub msg_id: <MessageId as Archive>::Archived, + pub emote_id: <EmoteOrEmoji as Archive>::Archived, +}
Expand description

An archived PutReaction

+

Fields§

§room_id: <RoomId as Archive>::Archived§msg_id: <MessageId as Archive>::Archived§emote_id: <EmoteOrEmoji as Archive>::Archived

Trait Implementations§

source§

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedPutReaction
where + RoomId: Archive, + MessageId: Archive, + EmoteOrEmoji: Archive, + <__C as Fallible>::Error: Trace, + <RoomId as Archive>::Archived: CheckBytes<__C>, + <MessageId as Archive>::Archived: CheckBytes<__C>, + <EmoteOrEmoji as Archive>::Archived: CheckBytes<__C>,

source§

unsafe fn check_bytes( + value: *const Self, + context: &mut __C, +) -> Result<(), <__C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Portable for ArchivedPutReaction
where + RoomId: Archive, + MessageId: Archive, + EmoteOrEmoji: Archive, + <RoomId as Archive>::Archived: Portable, + <MessageId as Archive>::Archived: Portable, + <EmoteOrEmoji as Archive>::Archived: Portable,

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/room/struct.ArchivedStarMessage.html b/client_sdk/api/commands/room/struct.ArchivedStarMessage.html new file mode 100644 index 000000000..a3a5d31de --- /dev/null +++ b/client_sdk/api/commands/room/struct.ArchivedStarMessage.html @@ -0,0 +1,39 @@ +ArchivedStarMessage in client_sdk::api::commands::room - Rust

Struct client_sdk::api::commands::room::ArchivedStarMessage

source ·
#[repr(C)]
pub struct ArchivedStarMessage
where + RoomId: Archive, + MessageId: Archive,
{ + pub room_id: <RoomId as Archive>::Archived, + pub msg_id: <MessageId as Archive>::Archived, +}
Expand description

An archived StarMessage

+

Fields§

§room_id: <RoomId as Archive>::Archived§msg_id: <MessageId as Archive>::Archived

Trait Implementations§

source§

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedStarMessage
where + RoomId: Archive, + MessageId: Archive, + <__C as Fallible>::Error: Trace, + <RoomId as Archive>::Archived: CheckBytes<__C>, + <MessageId as Archive>::Archived: CheckBytes<__C>,

source§

unsafe fn check_bytes( + value: *const Self, + context: &mut __C, +) -> Result<(), <__C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Portable for ArchivedStarMessage
where + RoomId: Archive, + MessageId: Archive, + <RoomId as Archive>::Archived: Portable, + <MessageId as Archive>::Archived: Portable,

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/room/struct.ArchivedStartTyping.html b/client_sdk/api/commands/room/struct.ArchivedStartTyping.html new file mode 100644 index 000000000..f06d90267 --- /dev/null +++ b/client_sdk/api/commands/room/struct.ArchivedStartTyping.html @@ -0,0 +1,39 @@ +ArchivedStartTyping in client_sdk::api::commands::room - Rust

Struct client_sdk::api::commands::room::ArchivedStartTyping

source ·
#[repr(C)]
pub struct ArchivedStartTyping
where + RoomId: Archive, + StartTypingBody: Archive,
{ + pub room_id: <RoomId as Archive>::Archived, + pub body: <StartTypingBody as Archive>::Archived, +}
Expand description

An archived StartTyping

+

Fields§

§room_id: <RoomId as Archive>::Archived§body: <StartTypingBody as Archive>::Archived

Trait Implementations§

source§

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedStartTyping
where + RoomId: Archive, + StartTypingBody: Archive, + <__C as Fallible>::Error: Trace, + <RoomId as Archive>::Archived: CheckBytes<__C>, + <StartTypingBody as Archive>::Archived: CheckBytes<__C>,

source§

unsafe fn check_bytes( + value: *const Self, + context: &mut __C, +) -> Result<(), <__C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Portable for ArchivedStartTyping
where + RoomId: Archive, + StartTypingBody: Archive, + <RoomId as Archive>::Archived: Portable, + <StartTypingBody as Archive>::Archived: Portable,

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/room/struct.ArchivedStartTypingBody.html b/client_sdk/api/commands/room/struct.ArchivedStartTypingBody.html new file mode 100644 index 000000000..8922605d5 --- /dev/null +++ b/client_sdk/api/commands/room/struct.ArchivedStartTypingBody.html @@ -0,0 +1,33 @@ +ArchivedStartTypingBody in client_sdk::api::commands::room - Rust

Struct client_sdk::api::commands::room::ArchivedStartTypingBody

source ·
#[repr(C)]
pub struct ArchivedStartTypingBody
where + Option<MessageId>: Archive,
{ + pub parent: <Option<MessageId> as Archive>::Archived, +}
Expand description

An archived StartTypingBody

+

Fields§

§parent: <Option<MessageId> as Archive>::Archived

Trait Implementations§

source§

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedStartTypingBody
where + Option<MessageId>: Archive, + <__C as Fallible>::Error: Trace, + <Option<MessageId> as Archive>::Archived: CheckBytes<__C>,

source§

unsafe fn check_bytes( + value: *const Self, + context: &mut __C, +) -> Result<(), <__C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Portable for ArchivedStartTypingBody
where + Option<MessageId>: Archive, + <Option<MessageId> as Archive>::Archived: Portable,

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/room/struct.ArchivedUnpinMessage.html b/client_sdk/api/commands/room/struct.ArchivedUnpinMessage.html new file mode 100644 index 000000000..653a09e2c --- /dev/null +++ b/client_sdk/api/commands/room/struct.ArchivedUnpinMessage.html @@ -0,0 +1,45 @@ +ArchivedUnpinMessage in client_sdk::api::commands::room - Rust

Struct client_sdk::api::commands::room::ArchivedUnpinMessage

source ·
#[repr(C)]
pub struct ArchivedUnpinMessage
where + RoomId: Archive, + MessageId: Archive, + FolderId: Archive,
{ + pub room_id: <RoomId as Archive>::Archived, + pub msg_id: <MessageId as Archive>::Archived, + pub pin_tag: <FolderId as Archive>::Archived, +}
Expand description

An archived UnpinMessage

+

Fields§

§room_id: <RoomId as Archive>::Archived§msg_id: <MessageId as Archive>::Archived§pin_tag: <FolderId as Archive>::Archived

Trait Implementations§

source§

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedUnpinMessage
where + RoomId: Archive, + MessageId: Archive, + FolderId: Archive, + <__C as Fallible>::Error: Trace, + <RoomId as Archive>::Archived: CheckBytes<__C>, + <MessageId as Archive>::Archived: CheckBytes<__C>, + <FolderId as Archive>::Archived: CheckBytes<__C>,

source§

unsafe fn check_bytes( + value: *const Self, + context: &mut __C, +) -> Result<(), <__C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Portable for ArchivedUnpinMessage
where + RoomId: Archive, + MessageId: Archive, + FolderId: Archive, + <RoomId as Archive>::Archived: Portable, + <MessageId as Archive>::Archived: Portable, + <FolderId as Archive>::Archived: Portable,

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/room/struct.ArchivedUnstarMessage.html b/client_sdk/api/commands/room/struct.ArchivedUnstarMessage.html new file mode 100644 index 000000000..91e4bceae --- /dev/null +++ b/client_sdk/api/commands/room/struct.ArchivedUnstarMessage.html @@ -0,0 +1,39 @@ +ArchivedUnstarMessage in client_sdk::api::commands::room - Rust

Struct client_sdk::api::commands::room::ArchivedUnstarMessage

source ·
#[repr(C)]
pub struct ArchivedUnstarMessage
where + RoomId: Archive, + MessageId: Archive,
{ + pub room_id: <RoomId as Archive>::Archived, + pub msg_id: <MessageId as Archive>::Archived, +}
Expand description

An archived UnstarMessage

+

Fields§

§room_id: <RoomId as Archive>::Archived§msg_id: <MessageId as Archive>::Archived

Trait Implementations§

source§

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedUnstarMessage
where + RoomId: Archive, + MessageId: Archive, + <__C as Fallible>::Error: Trace, + <RoomId as Archive>::Archived: CheckBytes<__C>, + <MessageId as Archive>::Archived: CheckBytes<__C>,

source§

unsafe fn check_bytes( + value: *const Self, + context: &mut __C, +) -> Result<(), <__C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Portable for ArchivedUnstarMessage
where + RoomId: Archive, + MessageId: Archive, + <RoomId as Archive>::Archived: Portable, + <MessageId as Archive>::Archived: Portable,

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/room/struct.CreateMessage.html b/client_sdk/api/commands/room/struct.CreateMessage.html new file mode 100644 index 000000000..e45f5a6c7 --- /dev/null +++ b/client_sdk/api/commands/room/struct.CreateMessage.html @@ -0,0 +1,70 @@ +CreateMessage in client_sdk::api::commands::room - Rust

Struct client_sdk::api::commands::room::CreateMessage

source ·
pub struct CreateMessage {
+    pub room_id: RoomId,
+    pub body: CreateMessageBody,
+}
Expand description

Create message command

+

Fields§

§room_id: RoomId§body: CreateMessageBody

Body to be serialized as request body or query parameters (if GET)

+

Implementations§

source§

impl CreateMessage

source

pub const fn new( + room_id: RoomId, + content: SmolStr, + parent: Option<RoomId>, + attachments: ThinVec<FileId>, + embeds: ThinVec<Embed>, + ephemeral: bool, + tts: bool, +) -> Self

Construct new instance from individual fields

+

Trait Implementations§

source§

impl Archive for CreateMessage
where + RoomId: Archive, + CreateMessageBody: Archive,

source§

type Archived = ArchivedCreateMessage

The archived representation of this type. Read more
source§

type Resolver = CreateMessageResolver

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
source§

impl Command for CreateMessage

source§

const RATE_LIMIT: RateLimit = _

+
RateLimit {
+    emission_interval: 100ms,
+    burst_size: 2,
+}
+

If not specified, the burst_size will be from RateLimit::DEFAULT.

+
source§

const STREAM: bool = false

Whether the command returns one or many items
source§

const IS_QUERY: bool = false

Whether the command has a query string or sends a body
source§

async fn collect<S, E>(stream: S) -> Result<Self::Result, E>
where + S: Stream<Item = Result<Self::Item, E>> + Send, + E: From<MissingItemError>,

Used to collect the Result from an arbitrary Stream of items.
source§

type Item = Message

The underlying type of each returned item, be it one or many.
source§

type Result = Message

Item(s) returned from the server by a given command
source§

const HTTP_METHOD: Method = http::Method::POST

HTTP Method used to execute the command
source§

const FLAGS: CommandFlags = _

Flags for the command, defaults to empty.
source§

const SERVER_TIMEOUT: Duration = _

On the server side, how long to wait before timing out the request.
source§

fn perms(&self) -> Permissions

Computes required permissions
source§

const ROUTE_PATTERN: &'static str = "/api/v1/room/{room_id}/messages"

Path pattern for the command (without query) when used with matchit 0.8 or higher.
source§

fn format_path<W: Write>(&self, w: W) -> Result

Serialize/format the REST path (without query)
source§

type Body = CreateMessageBody

Body type for the command
source§

fn body(&self) -> &Self::Body

Body to be serialized as request body or query parameters (if GET)
source§

fn body_size_hint(&self) -> usize

Hint given to preallocate body size, only used for query strings
source§

fn add_headers(&self, _map: &mut HeaderMap)

Insert any additional headers required to perform this command
source§

impl Debug for CreateMessage

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Deref for CreateMessage

source§

type Target = CreateMessageBody

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl DerefMut for CreateMessage

source§

fn deref_mut(&mut self) -> &mut Self::Target

Mutably dereferences the value.
source§

impl<__D: Fallible + ?Sized> Deserialize<CreateMessage, __D> for Archived<CreateMessage>
where + RoomId: Archive, + <RoomId as Archive>::Archived: Deserialize<RoomId, __D>, + CreateMessageBody: Archive, + <CreateMessageBody as Archive>::Archived: Deserialize<CreateMessageBody, __D>,

source§

fn deserialize( + &self, + deserializer: &mut __D, +) -> Result<CreateMessage, <__D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<__S: Fallible + ?Sized> Serialize<__S> for CreateMessage
where + RoomId: Serialize<__S>, + CreateMessageBody: Serialize<__S>,

source§

fn serialize( + &self, + serializer: &mut __S, +) -> Result<<Self as Archive>::Resolver, <__S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/room/struct.CreateMessageBody.html b/client_sdk/api/commands/room/struct.CreateMessageBody.html new file mode 100644 index 000000000..4b4a1549b --- /dev/null +++ b/client_sdk/api/commands/room/struct.CreateMessageBody.html @@ -0,0 +1,72 @@ +CreateMessageBody in client_sdk::api::commands::room - Rust

Struct client_sdk::api::commands::room::CreateMessageBody

source ·
pub struct CreateMessageBody {
+    pub content: SmolStr,
+    pub parent: Option<RoomId>,
+    pub attachments: ThinVec<FileId>,
+    pub embeds: ThinVec<Embed>,
+    pub ephemeral: bool,
+    pub tts: bool,
+}

Fields§

§content: SmolStr§parent: Option<RoomId>§attachments: ThinVec<FileId>§embeds: ThinVec<Embed>§ephemeral: bool§tts: bool

Trait Implementations§

source§

impl Archive for CreateMessageBody
where + SmolStr: Archive, + Option<RoomId>: Archive, + ThinVec<FileId>: Archive, + ThinVec<Embed>: Archive, + bool: Archive,

source§

type Archived = ArchivedCreateMessageBody

The archived representation of this type. Read more
source§

type Resolver = CreateMessageBodyResolver

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
source§

impl Debug for CreateMessageBody

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for CreateMessageBody

source§

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<__D: Fallible + ?Sized> Deserialize<CreateMessageBody, __D> for Archived<CreateMessageBody>
where + SmolStr: Archive, + <SmolStr as Archive>::Archived: Deserialize<SmolStr, __D>, + Option<RoomId>: Archive, + <Option<RoomId> as Archive>::Archived: Deserialize<Option<RoomId>, __D>, + ThinVec<FileId>: Archive, + <ThinVec<FileId> as Archive>::Archived: Deserialize<ThinVec<FileId>, __D>, + ThinVec<Embed>: Archive, + <ThinVec<Embed> as Archive>::Archived: Deserialize<ThinVec<Embed>, __D>, + bool: Archive, + <bool as Archive>::Archived: Deserialize<bool, __D>,

source§

fn deserialize( + &self, + deserializer: &mut __D, +) -> Result<CreateMessageBody, <__D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<__S: Fallible + ?Sized> Serialize<__S> for CreateMessageBody
where + SmolStr: Serialize<__S>, + Option<RoomId>: Serialize<__S>, + ThinVec<FileId>: Serialize<__S>, + ThinVec<Embed>: Serialize<__S>, + bool: Serialize<__S>,

source§

fn serialize( + &self, + serializer: &mut __S, +) -> Result<<Self as Archive>::Resolver, <__S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.
source§

impl Serialize for CreateMessageBody

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
source§

impl<T> CommandBody for T
where + T: Send + Serialize + Archive,

source§

impl<T> CommandResult for T
where + T: Send + DeserializeOwned + Serialize + Archive,

source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/room/struct.CreateMessageBodyResolver.html b/client_sdk/api/commands/room/struct.CreateMessageBodyResolver.html new file mode 100644 index 000000000..a9ce7396e --- /dev/null +++ b/client_sdk/api/commands/room/struct.CreateMessageBodyResolver.html @@ -0,0 +1,26 @@ +CreateMessageBodyResolver in client_sdk::api::commands::room - Rust

Struct client_sdk::api::commands::room::CreateMessageBodyResolver

source ·
pub struct CreateMessageBodyResolver
where + SmolStr: Archive, + Option<RoomId>: Archive, + ThinVec<FileId>: Archive, + ThinVec<Embed>: Archive, + bool: Archive,
{ /* private fields */ }
Expand description

The resolver for an archived CreateMessageBody

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/room/struct.CreateMessageResolver.html b/client_sdk/api/commands/room/struct.CreateMessageResolver.html new file mode 100644 index 000000000..cf0bc10b0 --- /dev/null +++ b/client_sdk/api/commands/room/struct.CreateMessageResolver.html @@ -0,0 +1,23 @@ +CreateMessageResolver in client_sdk::api::commands::room - Rust

Struct client_sdk::api::commands::room::CreateMessageResolver

source ·
pub struct CreateMessageResolver
where + RoomId: Archive, + CreateMessageBody: Archive,
{ /* private fields */ }
Expand description

The resolver for an archived CreateMessage

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/room/struct.DeleteAllReactions.html b/client_sdk/api/commands/room/struct.DeleteAllReactions.html new file mode 100644 index 000000000..91e15e5f0 --- /dev/null +++ b/client_sdk/api/commands/room/struct.DeleteAllReactions.html @@ -0,0 +1,54 @@ +DeleteAllReactions in client_sdk::api::commands::room - Rust

Struct client_sdk::api::commands::room::DeleteAllReactions

source ·
pub struct DeleteAllReactions {
+    pub room_id: RoomId,
+    pub msg_id: MessageId,
+}

Fields§

§room_id: RoomId§msg_id: MessageId

Implementations§

source§

impl DeleteAllReactions

source

pub const fn new(room_id: RoomId, msg_id: MessageId) -> Self

Construct new instance from individual fields

+

Trait Implementations§

source§

impl Archive for DeleteAllReactions
where + RoomId: Archive, + MessageId: Archive,

source§

type Archived = ArchivedDeleteAllReactions

The archived representation of this type. Read more
source§

type Resolver = DeleteAllReactionsResolver

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
source§

impl Command for DeleteAllReactions

source§

const STREAM: bool = false

Whether the command returns one or many items
source§

const IS_QUERY: bool = false

Whether the command has a query string or sends a body
source§

async fn collect<S, E>(stream: S) -> Result<Self::Result, E>
where + S: Stream<Item = Result<Self::Item, E>> + Send, + E: From<MissingItemError>,

Used to collect the Result from an arbitrary Stream of items.
source§

type Item = ()

The underlying type of each returned item, be it one or many.
source§

type Result = ()

Item(s) returned from the server by a given command
source§

const HTTP_METHOD: Method = http::Method::DELETE

HTTP Method used to execute the command
source§

const FLAGS: CommandFlags = _

Flags for the command, defaults to empty.
source§

const RATE_LIMIT: RateLimit = _

Baseline rate-limiting parameters, defaults to RateLimit::DEFAULT. Read more
source§

const SERVER_TIMEOUT: Duration = _

On the server side, how long to wait before timing out the request.
source§

fn perms(&self) -> Permissions

Computes required permissions
source§

const ROUTE_PATTERN: &'static str = "/api/v1/room/{room_id}/messages/{msg_id}/reactions"

Path pattern for the command (without query) when used with matchit 0.8 or higher.
source§

fn format_path<W: Write>(&self, w: W) -> Result

Serialize/format the REST path (without query)
source§

type Body = ()

Body type for the command
source§

fn body(&self) -> &Self::Body

Body to be serialized as request body or query parameters (if GET)
source§

fn body_size_hint(&self) -> usize

Hint given to preallocate body size, only used for query strings
source§

fn add_headers(&self, _map: &mut HeaderMap)

Insert any additional headers required to perform this command
source§

impl Debug for DeleteAllReactions

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<__D: Fallible + ?Sized> Deserialize<DeleteAllReactions, __D> for Archived<DeleteAllReactions>
where + RoomId: Archive, + <RoomId as Archive>::Archived: Deserialize<RoomId, __D>, + MessageId: Archive, + <MessageId as Archive>::Archived: Deserialize<MessageId, __D>,

source§

fn deserialize( + &self, + deserializer: &mut __D, +) -> Result<DeleteAllReactions, <__D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<__S: Fallible + ?Sized> Serialize<__S> for DeleteAllReactions
where + RoomId: Serialize<__S>, + MessageId: Serialize<__S>,

source§

fn serialize( + &self, + serializer: &mut __S, +) -> Result<<Self as Archive>::Resolver, <__S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/room/struct.DeleteAllReactionsResolver.html b/client_sdk/api/commands/room/struct.DeleteAllReactionsResolver.html new file mode 100644 index 000000000..91d8fc0cc --- /dev/null +++ b/client_sdk/api/commands/room/struct.DeleteAllReactionsResolver.html @@ -0,0 +1,23 @@ +DeleteAllReactionsResolver in client_sdk::api::commands::room - Rust

Struct client_sdk::api::commands::room::DeleteAllReactionsResolver

source ·
pub struct DeleteAllReactionsResolver
where + RoomId: Archive, + MessageId: Archive,
{ /* private fields */ }
Expand description

The resolver for an archived DeleteAllReactions

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/room/struct.DeleteMessage.html b/client_sdk/api/commands/room/struct.DeleteMessage.html new file mode 100644 index 000000000..8f1d98044 --- /dev/null +++ b/client_sdk/api/commands/room/struct.DeleteMessage.html @@ -0,0 +1,54 @@ +DeleteMessage in client_sdk::api::commands::room - Rust

Struct client_sdk::api::commands::room::DeleteMessage

source ·
pub struct DeleteMessage {
+    pub room_id: RoomId,
+    pub msg_id: MessageId,
+}

Fields§

§room_id: RoomId§msg_id: MessageId

Implementations§

source§

impl DeleteMessage

source

pub const fn new(room_id: RoomId, msg_id: MessageId) -> Self

Construct new instance from individual fields

+

Trait Implementations§

source§

impl Archive for DeleteMessage
where + RoomId: Archive, + MessageId: Archive,

source§

type Archived = ArchivedDeleteMessage

The archived representation of this type. Read more
source§

type Resolver = DeleteMessageResolver

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
source§

impl Command for DeleteMessage

source§

const STREAM: bool = false

Whether the command returns one or many items
source§

const IS_QUERY: bool = false

Whether the command has a query string or sends a body
source§

async fn collect<S, E>(stream: S) -> Result<Self::Result, E>
where + S: Stream<Item = Result<Self::Item, E>> + Send, + E: From<MissingItemError>,

Used to collect the Result from an arbitrary Stream of items.
source§

type Item = ()

The underlying type of each returned item, be it one or many.
source§

type Result = ()

Item(s) returned from the server by a given command
source§

const HTTP_METHOD: Method = http::Method::DELETE

HTTP Method used to execute the command
source§

const FLAGS: CommandFlags = _

Flags for the command, defaults to empty.
source§

const RATE_LIMIT: RateLimit = _

Baseline rate-limiting parameters, defaults to RateLimit::DEFAULT. Read more
source§

const SERVER_TIMEOUT: Duration = _

On the server side, how long to wait before timing out the request.
source§

fn perms(&self) -> Permissions

Computes required permissions
source§

const ROUTE_PATTERN: &'static str = "/api/v1/room/{room_id}/messages/{msg_id}"

Path pattern for the command (without query) when used with matchit 0.8 or higher.
source§

fn format_path<W: Write>(&self, w: W) -> Result

Serialize/format the REST path (without query)
source§

type Body = ()

Body type for the command
source§

fn body(&self) -> &Self::Body

Body to be serialized as request body or query parameters (if GET)
source§

fn body_size_hint(&self) -> usize

Hint given to preallocate body size, only used for query strings
source§

fn add_headers(&self, _map: &mut HeaderMap)

Insert any additional headers required to perform this command
source§

impl Debug for DeleteMessage

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<__D: Fallible + ?Sized> Deserialize<DeleteMessage, __D> for Archived<DeleteMessage>
where + RoomId: Archive, + <RoomId as Archive>::Archived: Deserialize<RoomId, __D>, + MessageId: Archive, + <MessageId as Archive>::Archived: Deserialize<MessageId, __D>,

source§

fn deserialize( + &self, + deserializer: &mut __D, +) -> Result<DeleteMessage, <__D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<__S: Fallible + ?Sized> Serialize<__S> for DeleteMessage
where + RoomId: Serialize<__S>, + MessageId: Serialize<__S>,

source§

fn serialize( + &self, + serializer: &mut __S, +) -> Result<<Self as Archive>::Resolver, <__S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/room/struct.DeleteMessageResolver.html b/client_sdk/api/commands/room/struct.DeleteMessageResolver.html new file mode 100644 index 000000000..01f265d13 --- /dev/null +++ b/client_sdk/api/commands/room/struct.DeleteMessageResolver.html @@ -0,0 +1,23 @@ +DeleteMessageResolver in client_sdk::api::commands::room - Rust

Struct client_sdk::api::commands::room::DeleteMessageResolver

source ·
pub struct DeleteMessageResolver
where + RoomId: Archive, + MessageId: Archive,
{ /* private fields */ }
Expand description

The resolver for an archived DeleteMessage

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/room/struct.DeleteOwnReaction.html b/client_sdk/api/commands/room/struct.DeleteOwnReaction.html new file mode 100644 index 000000000..0f75e4c08 --- /dev/null +++ b/client_sdk/api/commands/room/struct.DeleteOwnReaction.html @@ -0,0 +1,63 @@ +DeleteOwnReaction in client_sdk::api::commands::room - Rust

Struct client_sdk::api::commands::room::DeleteOwnReaction

source ·
pub struct DeleteOwnReaction {
+    pub room_id: RoomId,
+    pub msg_id: MessageId,
+    pub emote_id: EmoteOrEmoji,
+}

Fields§

§room_id: RoomId§msg_id: MessageId§emote_id: EmoteOrEmoji

Implementations§

source§

impl DeleteOwnReaction

source

pub const fn new( + room_id: RoomId, + msg_id: MessageId, + emote_id: EmoteOrEmoji, +) -> Self

Construct new instance from individual fields

+

Trait Implementations§

source§

impl Archive for DeleteOwnReaction
where + RoomId: Archive, + MessageId: Archive, + EmoteOrEmoji: Archive,

source§

type Archived = ArchivedDeleteOwnReaction

The archived representation of this type. Read more
source§

type Resolver = DeleteOwnReactionResolver

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
source§

impl Command for DeleteOwnReaction

source§

const STREAM: bool = false

Whether the command returns one or many items
source§

const IS_QUERY: bool = false

Whether the command has a query string or sends a body
source§

async fn collect<S, E>(stream: S) -> Result<Self::Result, E>
where + S: Stream<Item = Result<Self::Item, E>> + Send, + E: From<MissingItemError>,

Used to collect the Result from an arbitrary Stream of items.
source§

type Item = ()

The underlying type of each returned item, be it one or many.
source§

type Result = ()

Item(s) returned from the server by a given command
source§

const HTTP_METHOD: Method = http::Method::DELETE

HTTP Method used to execute the command
source§

const FLAGS: CommandFlags = _

Flags for the command, defaults to empty.
source§

const RATE_LIMIT: RateLimit = _

Baseline rate-limiting parameters, defaults to RateLimit::DEFAULT. Read more
source§

const SERVER_TIMEOUT: Duration = _

On the server side, how long to wait before timing out the request.
source§

fn perms(&self) -> Permissions

Computes required permissions
source§

const ROUTE_PATTERN: &'static str = "/api/v1/room/{room_id}/messages/{msg_id}/reactions/{emote_id}/@me"

Path pattern for the command (without query) when used with matchit 0.8 or higher.
source§

fn format_path<W: Write>(&self, w: W) -> Result

Serialize/format the REST path (without query)
source§

type Body = ()

Body type for the command
source§

fn body(&self) -> &Self::Body

Body to be serialized as request body or query parameters (if GET)
source§

fn body_size_hint(&self) -> usize

Hint given to preallocate body size, only used for query strings
source§

fn add_headers(&self, _map: &mut HeaderMap)

Insert any additional headers required to perform this command
source§

impl Debug for DeleteOwnReaction

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<__D: Fallible + ?Sized> Deserialize<DeleteOwnReaction, __D> for Archived<DeleteOwnReaction>
where + RoomId: Archive, + <RoomId as Archive>::Archived: Deserialize<RoomId, __D>, + MessageId: Archive, + <MessageId as Archive>::Archived: Deserialize<MessageId, __D>, + EmoteOrEmoji: Archive, + <EmoteOrEmoji as Archive>::Archived: Deserialize<EmoteOrEmoji, __D>,

source§

fn deserialize( + &self, + deserializer: &mut __D, +) -> Result<DeleteOwnReaction, <__D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<__S: Fallible + ?Sized> Serialize<__S> for DeleteOwnReaction
where + RoomId: Serialize<__S>, + MessageId: Serialize<__S>, + EmoteOrEmoji: Serialize<__S>,

source§

fn serialize( + &self, + serializer: &mut __S, +) -> Result<<Self as Archive>::Resolver, <__S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/room/struct.DeleteOwnReactionResolver.html b/client_sdk/api/commands/room/struct.DeleteOwnReactionResolver.html new file mode 100644 index 000000000..02a4de6f4 --- /dev/null +++ b/client_sdk/api/commands/room/struct.DeleteOwnReactionResolver.html @@ -0,0 +1,24 @@ +DeleteOwnReactionResolver in client_sdk::api::commands::room - Rust

Struct client_sdk::api::commands::room::DeleteOwnReactionResolver

source ·
pub struct DeleteOwnReactionResolver
where + RoomId: Archive, + MessageId: Archive, + EmoteOrEmoji: Archive,
{ /* private fields */ }
Expand description

The resolver for an archived DeleteOwnReaction

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/room/struct.DeleteRoom.html b/client_sdk/api/commands/room/struct.DeleteRoom.html new file mode 100644 index 000000000..e5de0a283 --- /dev/null +++ b/client_sdk/api/commands/room/struct.DeleteRoom.html @@ -0,0 +1,55 @@ +DeleteRoom in client_sdk::api::commands::room - Rust

Struct client_sdk::api::commands::room::DeleteRoom

source ·
pub struct DeleteRoom {
+    pub room_id: RoomId,
+}

Fields§

§room_id: RoomId

Implementations§

source§

impl DeleteRoom

source

pub const fn new(room_id: RoomId) -> Self

Construct new instance from individual fields

+

Trait Implementations§

source§

impl Archive for DeleteRoom
where + RoomId: Archive,

source§

type Archived = ArchivedDeleteRoom

The archived representation of this type. Read more
source§

type Resolver = DeleteRoomResolver

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
source§

impl Command for DeleteRoom

source§

const RATE_LIMIT: RateLimit = _

+
RateLimit {
+    emission_interval: 500ms,
+    burst_size: 1,
+}
+

If not specified, the burst_size will be from RateLimit::DEFAULT.

+
source§

const STREAM: bool = false

Whether the command returns one or many items
source§

const IS_QUERY: bool = false

Whether the command has a query string or sends a body
source§

async fn collect<S, E>(stream: S) -> Result<Self::Result, E>
where + S: Stream<Item = Result<Self::Item, E>> + Send, + E: From<MissingItemError>,

Used to collect the Result from an arbitrary Stream of items.
source§

type Item = ()

The underlying type of each returned item, be it one or many.
source§

type Result = ()

Item(s) returned from the server by a given command
source§

const HTTP_METHOD: Method = http::Method::DELETE

HTTP Method used to execute the command
source§

const FLAGS: CommandFlags = _

Flags for the command, defaults to empty.
source§

const SERVER_TIMEOUT: Duration = _

On the server side, how long to wait before timing out the request.
source§

fn perms(&self) -> Permissions

Computes required permissions
source§

const ROUTE_PATTERN: &'static str = "/api/v1/room/{room_id}"

Path pattern for the command (without query) when used with matchit 0.8 or higher.
source§

fn format_path<W: Write>(&self, w: W) -> Result

Serialize/format the REST path (without query)
source§

type Body = ()

Body type for the command
source§

fn body(&self) -> &Self::Body

Body to be serialized as request body or query parameters (if GET)
source§

fn body_size_hint(&self) -> usize

Hint given to preallocate body size, only used for query strings
source§

fn add_headers(&self, _map: &mut HeaderMap)

Insert any additional headers required to perform this command
source§

impl Debug for DeleteRoom

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<__D: Fallible + ?Sized> Deserialize<DeleteRoom, __D> for Archived<DeleteRoom>
where + RoomId: Archive, + <RoomId as Archive>::Archived: Deserialize<RoomId, __D>,

source§

fn deserialize( + &self, + deserializer: &mut __D, +) -> Result<DeleteRoom, <__D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<__S: Fallible + ?Sized> Serialize<__S> for DeleteRoom
where + RoomId: Serialize<__S>,

source§

fn serialize( + &self, + serializer: &mut __S, +) -> Result<<Self as Archive>::Resolver, <__S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/room/struct.DeleteRoomResolver.html b/client_sdk/api/commands/room/struct.DeleteRoomResolver.html new file mode 100644 index 000000000..935d2c90a --- /dev/null +++ b/client_sdk/api/commands/room/struct.DeleteRoomResolver.html @@ -0,0 +1,22 @@ +DeleteRoomResolver in client_sdk::api::commands::room - Rust

Struct client_sdk::api::commands::room::DeleteRoomResolver

source ·
pub struct DeleteRoomResolver
where + RoomId: Archive,
{ /* private fields */ }
Expand description

The resolver for an archived DeleteRoom

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/room/struct.DeleteUserReaction.html b/client_sdk/api/commands/room/struct.DeleteUserReaction.html new file mode 100644 index 000000000..5c435a9ab --- /dev/null +++ b/client_sdk/api/commands/room/struct.DeleteUserReaction.html @@ -0,0 +1,69 @@ +DeleteUserReaction in client_sdk::api::commands::room - Rust

Struct client_sdk::api::commands::room::DeleteUserReaction

source ·
pub struct DeleteUserReaction {
+    pub room_id: RoomId,
+    pub msg_id: MessageId,
+    pub emote_id: EmoteOrEmoji,
+    pub user_id: UserId,
+}

Fields§

§room_id: RoomId§msg_id: MessageId§emote_id: EmoteOrEmoji§user_id: UserId

Implementations§

source§

impl DeleteUserReaction

source

pub const fn new( + room_id: RoomId, + msg_id: MessageId, + emote_id: EmoteOrEmoji, + user_id: UserId, +) -> Self

Construct new instance from individual fields

+

Trait Implementations§

source§

impl Archive for DeleteUserReaction
where + RoomId: Archive, + MessageId: Archive, + EmoteOrEmoji: Archive, + UserId: Archive,

source§

type Archived = ArchivedDeleteUserReaction

The archived representation of this type. Read more
source§

type Resolver = DeleteUserReactionResolver

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
source§

impl Command for DeleteUserReaction

source§

const STREAM: bool = false

Whether the command returns one or many items
source§

const IS_QUERY: bool = false

Whether the command has a query string or sends a body
source§

async fn collect<S, E>(stream: S) -> Result<Self::Result, E>
where + S: Stream<Item = Result<Self::Item, E>> + Send, + E: From<MissingItemError>,

Used to collect the Result from an arbitrary Stream of items.
source§

type Item = ()

The underlying type of each returned item, be it one or many.
source§

type Result = ()

Item(s) returned from the server by a given command
source§

const HTTP_METHOD: Method = http::Method::DELETE

HTTP Method used to execute the command
source§

const FLAGS: CommandFlags = _

Flags for the command, defaults to empty.
source§

const RATE_LIMIT: RateLimit = _

Baseline rate-limiting parameters, defaults to RateLimit::DEFAULT. Read more
source§

const SERVER_TIMEOUT: Duration = _

On the server side, how long to wait before timing out the request.
source§

fn perms(&self) -> Permissions

Computes required permissions
source§

const ROUTE_PATTERN: &'static str = "/api/v1/room/{room_id}/messages/{msg_id}/reactions/{emote_id}/{user_id}"

Path pattern for the command (without query) when used with matchit 0.8 or higher.
source§

fn format_path<W: Write>(&self, w: W) -> Result

Serialize/format the REST path (without query)
source§

type Body = ()

Body type for the command
source§

fn body(&self) -> &Self::Body

Body to be serialized as request body or query parameters (if GET)
source§

fn body_size_hint(&self) -> usize

Hint given to preallocate body size, only used for query strings
source§

fn add_headers(&self, _map: &mut HeaderMap)

Insert any additional headers required to perform this command
source§

impl Debug for DeleteUserReaction

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<__D: Fallible + ?Sized> Deserialize<DeleteUserReaction, __D> for Archived<DeleteUserReaction>
where + RoomId: Archive, + <RoomId as Archive>::Archived: Deserialize<RoomId, __D>, + MessageId: Archive, + <MessageId as Archive>::Archived: Deserialize<MessageId, __D>, + EmoteOrEmoji: Archive, + <EmoteOrEmoji as Archive>::Archived: Deserialize<EmoteOrEmoji, __D>, + UserId: Archive, + <UserId as Archive>::Archived: Deserialize<UserId, __D>,

source§

fn deserialize( + &self, + deserializer: &mut __D, +) -> Result<DeleteUserReaction, <__D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<__S: Fallible + ?Sized> Serialize<__S> for DeleteUserReaction
where + RoomId: Serialize<__S>, + MessageId: Serialize<__S>, + EmoteOrEmoji: Serialize<__S>, + UserId: Serialize<__S>,

source§

fn serialize( + &self, + serializer: &mut __S, +) -> Result<<Self as Archive>::Resolver, <__S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/room/struct.DeleteUserReactionResolver.html b/client_sdk/api/commands/room/struct.DeleteUserReactionResolver.html new file mode 100644 index 000000000..803c43bd4 --- /dev/null +++ b/client_sdk/api/commands/room/struct.DeleteUserReactionResolver.html @@ -0,0 +1,25 @@ +DeleteUserReactionResolver in client_sdk::api::commands::room - Rust

Struct client_sdk::api::commands::room::DeleteUserReactionResolver

source ·
pub struct DeleteUserReactionResolver
where + RoomId: Archive, + MessageId: Archive, + EmoteOrEmoji: Archive, + UserId: Archive,
{ /* private fields */ }
Expand description

The resolver for an archived DeleteUserReaction

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/room/struct.EditMessage.html b/client_sdk/api/commands/room/struct.EditMessage.html new file mode 100644 index 000000000..a9be08a4c --- /dev/null +++ b/client_sdk/api/commands/room/struct.EditMessage.html @@ -0,0 +1,71 @@ +EditMessage in client_sdk::api::commands::room - Rust

Struct client_sdk::api::commands::room::EditMessage

source ·
pub struct EditMessage {
+    pub room_id: RoomId,
+    pub msg_id: MessageId,
+    pub body: EditMessageBody,
+}

Fields§

§room_id: RoomId§msg_id: MessageId§body: EditMessageBody

Body to be serialized as request body or query parameters (if GET)

+

Implementations§

source§

impl EditMessage

source

pub const fn new( + room_id: RoomId, + msg_id: MessageId, + content: SmolStr, + attachments: ThinVec<FileId>, +) -> Self

Construct new instance from individual fields

+

Trait Implementations§

source§

impl Archive for EditMessage
where + RoomId: Archive, + MessageId: Archive, + EditMessageBody: Archive,

source§

type Archived = ArchivedEditMessage

The archived representation of this type. Read more
source§

type Resolver = EditMessageResolver

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
source§

impl Command for EditMessage

source§

const RATE_LIMIT: RateLimit = _

+
RateLimit {
+    emission_interval: 500ms,
+    burst_size: 2,
+}
+

If not specified, the burst_size will be from RateLimit::DEFAULT.

+
source§

const STREAM: bool = false

Whether the command returns one or many items
source§

const IS_QUERY: bool = false

Whether the command has a query string or sends a body
source§

async fn collect<S, E>(stream: S) -> Result<Self::Result, E>
where + S: Stream<Item = Result<Self::Item, E>> + Send, + E: From<MissingItemError>,

Used to collect the Result from an arbitrary Stream of items.
source§

type Item = Message

The underlying type of each returned item, be it one or many.
source§

type Result = Message

Item(s) returned from the server by a given command
source§

const HTTP_METHOD: Method = http::Method::PATCH

HTTP Method used to execute the command
source§

const FLAGS: CommandFlags = _

Flags for the command, defaults to empty.
source§

const SERVER_TIMEOUT: Duration = _

On the server side, how long to wait before timing out the request.
source§

fn perms(&self) -> Permissions

Computes required permissions
source§

const ROUTE_PATTERN: &'static str = "/api/v1/room/{room_id}/messages/{msg_id}"

Path pattern for the command (without query) when used with matchit 0.8 or higher.
source§

fn format_path<W: Write>(&self, w: W) -> Result

Serialize/format the REST path (without query)
source§

type Body = EditMessageBody

Body type for the command
source§

fn body(&self) -> &Self::Body

Body to be serialized as request body or query parameters (if GET)
source§

fn body_size_hint(&self) -> usize

Hint given to preallocate body size, only used for query strings
source§

fn add_headers(&self, _map: &mut HeaderMap)

Insert any additional headers required to perform this command
source§

impl Debug for EditMessage

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Deref for EditMessage

source§

type Target = EditMessageBody

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl DerefMut for EditMessage

source§

fn deref_mut(&mut self) -> &mut Self::Target

Mutably dereferences the value.
source§

impl<__D: Fallible + ?Sized> Deserialize<EditMessage, __D> for Archived<EditMessage>
where + RoomId: Archive, + <RoomId as Archive>::Archived: Deserialize<RoomId, __D>, + MessageId: Archive, + <MessageId as Archive>::Archived: Deserialize<MessageId, __D>, + EditMessageBody: Archive, + <EditMessageBody as Archive>::Archived: Deserialize<EditMessageBody, __D>,

source§

fn deserialize( + &self, + deserializer: &mut __D, +) -> Result<EditMessage, <__D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<__S: Fallible + ?Sized> Serialize<__S> for EditMessage
where + RoomId: Serialize<__S>, + MessageId: Serialize<__S>, + EditMessageBody: Serialize<__S>,

source§

fn serialize( + &self, + serializer: &mut __S, +) -> Result<<Self as Archive>::Resolver, <__S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/room/struct.EditMessageBody.html b/client_sdk/api/commands/room/struct.EditMessageBody.html new file mode 100644 index 000000000..e0a523858 --- /dev/null +++ b/client_sdk/api/commands/room/struct.EditMessageBody.html @@ -0,0 +1,56 @@ +EditMessageBody in client_sdk::api::commands::room - Rust

Struct client_sdk::api::commands::room::EditMessageBody

source ·
pub struct EditMessageBody {
+    pub content: SmolStr,
+    pub attachments: ThinVec<FileId>,
+}

Fields§

§content: SmolStr§attachments: ThinVec<FileId>

Trait Implementations§

source§

impl Archive for EditMessageBody
where + SmolStr: Archive, + ThinVec<FileId>: Archive,

source§

type Archived = ArchivedEditMessageBody

The archived representation of this type. Read more
source§

type Resolver = EditMessageBodyResolver

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
source§

impl Debug for EditMessageBody

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for EditMessageBody

source§

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<__D: Fallible + ?Sized> Deserialize<EditMessageBody, __D> for Archived<EditMessageBody>
where + SmolStr: Archive, + <SmolStr as Archive>::Archived: Deserialize<SmolStr, __D>, + ThinVec<FileId>: Archive, + <ThinVec<FileId> as Archive>::Archived: Deserialize<ThinVec<FileId>, __D>,

source§

fn deserialize( + &self, + deserializer: &mut __D, +) -> Result<EditMessageBody, <__D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<__S: Fallible + ?Sized> Serialize<__S> for EditMessageBody
where + SmolStr: Serialize<__S>, + ThinVec<FileId>: Serialize<__S>,

source§

fn serialize( + &self, + serializer: &mut __S, +) -> Result<<Self as Archive>::Resolver, <__S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.
source§

impl Serialize for EditMessageBody

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
source§

impl<T> CommandBody for T
where + T: Send + Serialize + Archive,

source§

impl<T> CommandResult for T
where + T: Send + DeserializeOwned + Serialize + Archive,

source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/room/struct.EditMessageBodyResolver.html b/client_sdk/api/commands/room/struct.EditMessageBodyResolver.html new file mode 100644 index 000000000..d0c9188ef --- /dev/null +++ b/client_sdk/api/commands/room/struct.EditMessageBodyResolver.html @@ -0,0 +1,23 @@ +EditMessageBodyResolver in client_sdk::api::commands::room - Rust

Struct client_sdk::api::commands::room::EditMessageBodyResolver

source ·
pub struct EditMessageBodyResolver
where + SmolStr: Archive, + ThinVec<FileId>: Archive,
{ /* private fields */ }
Expand description

The resolver for an archived EditMessageBody

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/room/struct.EditMessageResolver.html b/client_sdk/api/commands/room/struct.EditMessageResolver.html new file mode 100644 index 000000000..52368aab1 --- /dev/null +++ b/client_sdk/api/commands/room/struct.EditMessageResolver.html @@ -0,0 +1,24 @@ +EditMessageResolver in client_sdk::api::commands::room - Rust

Struct client_sdk::api::commands::room::EditMessageResolver

source ·
pub struct EditMessageResolver
where + RoomId: Archive, + MessageId: Archive, + EditMessageBody: Archive,
{ /* private fields */ }
Expand description

The resolver for an archived EditMessage

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/room/struct.GetMessage.html b/client_sdk/api/commands/room/struct.GetMessage.html new file mode 100644 index 000000000..bef2f70bf --- /dev/null +++ b/client_sdk/api/commands/room/struct.GetMessage.html @@ -0,0 +1,54 @@ +GetMessage in client_sdk::api::commands::room - Rust

Struct client_sdk::api::commands::room::GetMessage

source ·
pub struct GetMessage {
+    pub room_id: RoomId,
+    pub msg_id: MessageId,
+}

Fields§

§room_id: RoomId§msg_id: MessageId

Implementations§

source§

impl GetMessage

source

pub const fn new(room_id: RoomId, msg_id: MessageId) -> Self

Construct new instance from individual fields

+

Trait Implementations§

source§

impl Archive for GetMessage
where + RoomId: Archive, + MessageId: Archive,

source§

type Archived = ArchivedGetMessage

The archived representation of this type. Read more
source§

type Resolver = GetMessageResolver

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
source§

impl Command for GetMessage

source§

const STREAM: bool = false

Whether the command returns one or many items
source§

const IS_QUERY: bool = true

Whether the command has a query string or sends a body
source§

async fn collect<S, E>(stream: S) -> Result<Self::Result, E>
where + S: Stream<Item = Result<Self::Item, E>> + Send, + E: From<MissingItemError>,

Used to collect the Result from an arbitrary Stream of items.
source§

type Item = Message

The underlying type of each returned item, be it one or many.
source§

type Result = Message

Item(s) returned from the server by a given command
source§

const HTTP_METHOD: Method = http::Method::GET

HTTP Method used to execute the command
source§

const FLAGS: CommandFlags = _

Flags for the command, defaults to empty.
source§

const RATE_LIMIT: RateLimit = _

Baseline rate-limiting parameters, defaults to RateLimit::DEFAULT. Read more
source§

const SERVER_TIMEOUT: Duration = _

On the server side, how long to wait before timing out the request.
source§

fn perms(&self) -> Permissions

Computes required permissions
source§

const ROUTE_PATTERN: &'static str = "/api/v1/room/{room_id}/messages/{msg_id}"

Path pattern for the command (without query) when used with matchit 0.8 or higher.
source§

fn format_path<W: Write>(&self, w: W) -> Result

Serialize/format the REST path (without query)
source§

type Body = ()

Body type for the command
source§

fn body(&self) -> &Self::Body

Body to be serialized as request body or query parameters (if GET)
source§

fn body_size_hint(&self) -> usize

Hint given to preallocate body size, only used for query strings
source§

fn add_headers(&self, _map: &mut HeaderMap)

Insert any additional headers required to perform this command
source§

impl Debug for GetMessage

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<__D: Fallible + ?Sized> Deserialize<GetMessage, __D> for Archived<GetMessage>
where + RoomId: Archive, + <RoomId as Archive>::Archived: Deserialize<RoomId, __D>, + MessageId: Archive, + <MessageId as Archive>::Archived: Deserialize<MessageId, __D>,

source§

fn deserialize( + &self, + deserializer: &mut __D, +) -> Result<GetMessage, <__D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<__S: Fallible + ?Sized> Serialize<__S> for GetMessage
where + RoomId: Serialize<__S>, + MessageId: Serialize<__S>,

source§

fn serialize( + &self, + serializer: &mut __S, +) -> Result<<Self as Archive>::Resolver, <__S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/room/struct.GetMessageResolver.html b/client_sdk/api/commands/room/struct.GetMessageResolver.html new file mode 100644 index 000000000..5115ad3e4 --- /dev/null +++ b/client_sdk/api/commands/room/struct.GetMessageResolver.html @@ -0,0 +1,23 @@ +GetMessageResolver in client_sdk::api::commands::room - Rust

Struct client_sdk::api::commands::room::GetMessageResolver

source ·
pub struct GetMessageResolver
where + RoomId: Archive, + MessageId: Archive,
{ /* private fields */ }
Expand description

The resolver for an archived GetMessage

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/room/struct.GetMessages.html b/client_sdk/api/commands/room/struct.GetMessages.html new file mode 100644 index 000000000..180d00d60 --- /dev/null +++ b/client_sdk/api/commands/room/struct.GetMessages.html @@ -0,0 +1,63 @@ +GetMessages in client_sdk::api::commands::room - Rust

Struct client_sdk::api::commands::room::GetMessages

source ·
pub struct GetMessages {
+    pub room_id: RoomId,
+    pub body: GetMessagesQuery,
+}

Fields§

§room_id: RoomId§body: GetMessagesQuery

Body to be serialized as request body or query parameters (if GET)

+

Implementations§

source§

impl GetMessages

source

pub const fn new( + room_id: RoomId, + query: Option<Cursor>, + parent: Option<MessageId>, + limit: Option<u8>, + pinned: ThinVec<FolderId>, + starred: bool, + recurse: u8, +) -> Self

Construct new instance from individual fields

+

Trait Implementations§

source§

impl Archive for GetMessages
where + RoomId: Archive, + GetMessagesQuery: Archive,

source§

type Archived = ArchivedGetMessages

The archived representation of this type. Read more
source§

type Resolver = GetMessagesResolver

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
source§

impl Command for GetMessages

source§

const STREAM: bool = true

Whether the command returns one or many items
source§

const IS_QUERY: bool = true

Whether the command has a query string or sends a body
source§

async fn collect<S, E>(stream: S) -> Result<Self::Result, E>
where + S: Stream<Item = Result<Self::Item, E>> + Send, + E: From<MissingItemError>,

Used to collect the Result from an arbitrary Stream of items.
source§

type Item = Message

The underlying type of each returned item, be it one or many.
source§

type Result = Vec<Message>

Item(s) returned from the server by a given command
source§

const HTTP_METHOD: Method = http::Method::GET

HTTP Method used to execute the command
source§

const FLAGS: CommandFlags = _

Flags for the command, defaults to empty.
source§

const RATE_LIMIT: RateLimit = _

Baseline rate-limiting parameters, defaults to RateLimit::DEFAULT. Read more
source§

const SERVER_TIMEOUT: Duration = _

On the server side, how long to wait before timing out the request.
source§

fn perms(&self) -> Permissions

Computes required permissions
source§

const ROUTE_PATTERN: &'static str = "/api/v1/room/{room_id}/messages"

Path pattern for the command (without query) when used with matchit 0.8 or higher.
source§

fn format_path<W: Write>(&self, w: W) -> Result

Serialize/format the REST path (without query)
source§

type Body = GetMessagesQuery

Body type for the command
source§

fn body(&self) -> &Self::Body

Body to be serialized as request body or query parameters (if GET)
source§

fn body_size_hint(&self) -> usize

Hint given to preallocate body size, only used for query strings
source§

fn add_headers(&self, _map: &mut HeaderMap)

Insert any additional headers required to perform this command
source§

impl Debug for GetMessages

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Deref for GetMessages

source§

type Target = GetMessagesQuery

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl DerefMut for GetMessages

source§

fn deref_mut(&mut self) -> &mut Self::Target

Mutably dereferences the value.
source§

impl<__D: Fallible + ?Sized> Deserialize<GetMessages, __D> for Archived<GetMessages>
where + RoomId: Archive, + <RoomId as Archive>::Archived: Deserialize<RoomId, __D>, + GetMessagesQuery: Archive, + <GetMessagesQuery as Archive>::Archived: Deserialize<GetMessagesQuery, __D>,

source§

fn deserialize( + &self, + deserializer: &mut __D, +) -> Result<GetMessages, <__D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<__S: Fallible + ?Sized> Serialize<__S> for GetMessages
where + RoomId: Serialize<__S>, + GetMessagesQuery: Serialize<__S>,

source§

fn serialize( + &self, + serializer: &mut __S, +) -> Result<<Self as Archive>::Resolver, <__S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/room/struct.GetMessagesQuery.html b/client_sdk/api/commands/room/struct.GetMessagesQuery.html new file mode 100644 index 000000000..5853930c1 --- /dev/null +++ b/client_sdk/api/commands/room/struct.GetMessagesQuery.html @@ -0,0 +1,80 @@ +GetMessagesQuery in client_sdk::api::commands::room - Rust

Struct client_sdk::api::commands::room::GetMessagesQuery

source ·
pub struct GetMessagesQuery {
+    pub query: Option<Cursor>,
+    pub parent: Option<MessageId>,
+    pub limit: Option<u8>,
+    pub pinned: ThinVec<FolderId>,
+    pub starred: bool,
+    pub recurse: u8,
+}

Fields§

§query: Option<Cursor>§parent: Option<MessageId>§limit: Option<u8>§pinned: ThinVec<FolderId>§starred: bool

If true, return only messages in the channel which have been starred by us

+
§recurse: u8

If above zero, this will also fetch child messages of messages

+

Max level is 5

+

Child messages will not obey other filtering criteria.

+

Trait Implementations§

source§

impl Archive for GetMessagesQuery
where + Option<Cursor>: Archive, + Option<MessageId>: Archive, + Option<u8>: Archive, + ThinVec<FolderId>: Archive, + bool: Archive, + u8: Archive,

source§

type Archived = ArchivedGetMessagesQuery

The archived representation of this type. Read more
source§

type Resolver = GetMessagesQueryResolver

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
source§

impl Debug for GetMessagesQuery

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for GetMessagesQuery

source§

fn default() -> GetMessagesQuery

Returns the “default value” for a type. Read more
source§

impl<'de> Deserialize<'de> for GetMessagesQuery

source§

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<__D: Fallible + ?Sized> Deserialize<GetMessagesQuery, __D> for Archived<GetMessagesQuery>
where + Option<Cursor>: Archive, + <Option<Cursor> as Archive>::Archived: Deserialize<Option<Cursor>, __D>, + Option<MessageId>: Archive, + <Option<MessageId> as Archive>::Archived: Deserialize<Option<MessageId>, __D>, + Option<u8>: Archive, + <Option<u8> as Archive>::Archived: Deserialize<Option<u8>, __D>, + ThinVec<FolderId>: Archive, + <ThinVec<FolderId> as Archive>::Archived: Deserialize<ThinVec<FolderId>, __D>, + bool: Archive, + <bool as Archive>::Archived: Deserialize<bool, __D>, + u8: Archive, + <u8 as Archive>::Archived: Deserialize<u8, __D>,

source§

fn deserialize( + &self, + deserializer: &mut __D, +) -> Result<GetMessagesQuery, <__D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<__S: Fallible + ?Sized> Serialize<__S> for GetMessagesQuery
where + Option<Cursor>: Serialize<__S>, + Option<MessageId>: Serialize<__S>, + Option<u8>: Serialize<__S>, + ThinVec<FolderId>: Serialize<__S>, + bool: Serialize<__S>, + u8: Serialize<__S>,

source§

fn serialize( + &self, + serializer: &mut __S, +) -> Result<<Self as Archive>::Resolver, <__S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.
source§

impl Serialize for GetMessagesQuery

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
source§

impl<T> CommandBody for T
where + T: Send + Serialize + Archive,

source§

impl<T> CommandResult for T
where + T: Send + DeserializeOwned + Serialize + Archive,

source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/room/struct.GetMessagesQueryResolver.html b/client_sdk/api/commands/room/struct.GetMessagesQueryResolver.html new file mode 100644 index 000000000..68fcabdbc --- /dev/null +++ b/client_sdk/api/commands/room/struct.GetMessagesQueryResolver.html @@ -0,0 +1,27 @@ +GetMessagesQueryResolver in client_sdk::api::commands::room - Rust

Struct client_sdk::api::commands::room::GetMessagesQueryResolver

source ·
pub struct GetMessagesQueryResolver
where + Option<Cursor>: Archive, + Option<MessageId>: Archive, + Option<u8>: Archive, + ThinVec<FolderId>: Archive, + bool: Archive, + u8: Archive,
{ /* private fields */ }
Expand description

The resolver for an archived GetMessagesQuery

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/room/struct.GetMessagesResolver.html b/client_sdk/api/commands/room/struct.GetMessagesResolver.html new file mode 100644 index 000000000..d0cab4c00 --- /dev/null +++ b/client_sdk/api/commands/room/struct.GetMessagesResolver.html @@ -0,0 +1,23 @@ +GetMessagesResolver in client_sdk::api::commands::room - Rust

Struct client_sdk::api::commands::room::GetMessagesResolver

source ·
pub struct GetMessagesResolver
where + RoomId: Archive, + GetMessagesQuery: Archive,
{ /* private fields */ }
Expand description

The resolver for an archived GetMessages

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/room/struct.GetReactions.html b/client_sdk/api/commands/room/struct.GetReactions.html new file mode 100644 index 000000000..439eea64b --- /dev/null +++ b/client_sdk/api/commands/room/struct.GetReactions.html @@ -0,0 +1,71 @@ +GetReactions in client_sdk::api::commands::room - Rust

Struct client_sdk::api::commands::room::GetReactions

source ·
pub struct GetReactions {
+    pub room_id: RoomId,
+    pub msg_id: MessageId,
+    pub emote_id: EmoteOrEmoji,
+    pub body: GetReactionsForm,
+}

Fields§

§room_id: RoomId§msg_id: MessageId§emote_id: EmoteOrEmoji§body: GetReactionsForm

Body to be serialized as request body or query parameters (if GET)

+

Implementations§

source§

impl GetReactions

source

pub const fn new( + room_id: RoomId, + msg_id: MessageId, + emote_id: EmoteOrEmoji, + after: Option<Snowflake>, + limit: Option<i8>, +) -> Self

Construct new instance from individual fields

+

Trait Implementations§

source§

impl Archive for GetReactions
where + RoomId: Archive, + MessageId: Archive, + EmoteOrEmoji: Archive, + GetReactionsForm: Archive,

source§

type Archived = ArchivedGetReactions

The archived representation of this type. Read more
source§

type Resolver = GetReactionsResolver

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
source§

impl Command for GetReactions

source§

const STREAM: bool = true

Whether the command returns one or many items
source§

const IS_QUERY: bool = true

Whether the command has a query string or sends a body
source§

async fn collect<S, E>(stream: S) -> Result<Self::Result, E>
where + S: Stream<Item = Result<Self::Item, E>> + Send, + E: From<MissingItemError>,

Used to collect the Result from an arbitrary Stream of items.
source§

type Item = ()

The underlying type of each returned item, be it one or many.
source§

type Result = Vec<()>

Item(s) returned from the server by a given command
source§

const HTTP_METHOD: Method = http::Method::GET

HTTP Method used to execute the command
source§

const FLAGS: CommandFlags = _

Flags for the command, defaults to empty.
source§

const RATE_LIMIT: RateLimit = _

Baseline rate-limiting parameters, defaults to RateLimit::DEFAULT. Read more
source§

const SERVER_TIMEOUT: Duration = _

On the server side, how long to wait before timing out the request.
source§

fn perms(&self) -> Permissions

Computes required permissions
source§

const ROUTE_PATTERN: &'static str = "/api/v1/room/{room_id}/messages/{msg_id}/reactions/{emote_id}"

Path pattern for the command (without query) when used with matchit 0.8 or higher.
source§

fn format_path<W: Write>(&self, w: W) -> Result

Serialize/format the REST path (without query)
source§

type Body = GetReactionsForm

Body type for the command
source§

fn body(&self) -> &Self::Body

Body to be serialized as request body or query parameters (if GET)
source§

fn body_size_hint(&self) -> usize

Hint given to preallocate body size, only used for query strings
source§

fn add_headers(&self, _map: &mut HeaderMap)

Insert any additional headers required to perform this command
source§

impl Debug for GetReactions

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Deref for GetReactions

source§

type Target = GetReactionsForm

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl DerefMut for GetReactions

source§

fn deref_mut(&mut self) -> &mut Self::Target

Mutably dereferences the value.
source§

impl<__D: Fallible + ?Sized> Deserialize<GetReactions, __D> for Archived<GetReactions>
where + RoomId: Archive, + <RoomId as Archive>::Archived: Deserialize<RoomId, __D>, + MessageId: Archive, + <MessageId as Archive>::Archived: Deserialize<MessageId, __D>, + EmoteOrEmoji: Archive, + <EmoteOrEmoji as Archive>::Archived: Deserialize<EmoteOrEmoji, __D>, + GetReactionsForm: Archive, + <GetReactionsForm as Archive>::Archived: Deserialize<GetReactionsForm, __D>,

source§

fn deserialize( + &self, + deserializer: &mut __D, +) -> Result<GetReactions, <__D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<__S: Fallible + ?Sized> Serialize<__S> for GetReactions
where + RoomId: Serialize<__S>, + MessageId: Serialize<__S>, + EmoteOrEmoji: Serialize<__S>, + GetReactionsForm: Serialize<__S>,

source§

fn serialize( + &self, + serializer: &mut __S, +) -> Result<<Self as Archive>::Resolver, <__S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/room/struct.GetReactionsForm.html b/client_sdk/api/commands/room/struct.GetReactionsForm.html new file mode 100644 index 000000000..8a5041f0d --- /dev/null +++ b/client_sdk/api/commands/room/struct.GetReactionsForm.html @@ -0,0 +1,53 @@ +GetReactionsForm in client_sdk::api::commands::room - Rust

Struct client_sdk::api::commands::room::GetReactionsForm

source ·
pub struct GetReactionsForm { /* private fields */ }

Trait Implementations§

source§

impl Archive for GetReactionsForm
where + Option<Snowflake>: Archive, + Option<i8>: Archive,

source§

type Archived = ArchivedGetReactionsForm

The archived representation of this type. Read more
source§

type Resolver = GetReactionsFormResolver

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
source§

impl Debug for GetReactionsForm

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for GetReactionsForm

source§

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<__D: Fallible + ?Sized> Deserialize<GetReactionsForm, __D> for Archived<GetReactionsForm>
where + Option<Snowflake>: Archive, + <Option<Snowflake> as Archive>::Archived: Deserialize<Option<Snowflake>, __D>, + Option<i8>: Archive, + <Option<i8> as Archive>::Archived: Deserialize<Option<i8>, __D>,

source§

fn deserialize( + &self, + deserializer: &mut __D, +) -> Result<GetReactionsForm, <__D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<__S: Fallible + ?Sized> Serialize<__S> for GetReactionsForm
where + Option<Snowflake>: Serialize<__S>, + Option<i8>: Serialize<__S>,

source§

fn serialize( + &self, + serializer: &mut __S, +) -> Result<<Self as Archive>::Resolver, <__S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.
source§

impl Serialize for GetReactionsForm

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
source§

impl<T> CommandBody for T
where + T: Send + Serialize + Archive,

source§

impl<T> CommandResult for T
where + T: Send + DeserializeOwned + Serialize + Archive,

source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/room/struct.GetReactionsFormResolver.html b/client_sdk/api/commands/room/struct.GetReactionsFormResolver.html new file mode 100644 index 000000000..58933a766 --- /dev/null +++ b/client_sdk/api/commands/room/struct.GetReactionsFormResolver.html @@ -0,0 +1,23 @@ +GetReactionsFormResolver in client_sdk::api::commands::room - Rust

Struct client_sdk::api::commands::room::GetReactionsFormResolver

source ·
pub struct GetReactionsFormResolver
where + Option<Snowflake>: Archive, + Option<i8>: Archive,
{ /* private fields */ }
Expand description

The resolver for an archived GetReactionsForm

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/room/struct.GetReactionsResolver.html b/client_sdk/api/commands/room/struct.GetReactionsResolver.html new file mode 100644 index 000000000..2d90008b1 --- /dev/null +++ b/client_sdk/api/commands/room/struct.GetReactionsResolver.html @@ -0,0 +1,25 @@ +GetReactionsResolver in client_sdk::api::commands::room - Rust

Struct client_sdk::api::commands::room::GetReactionsResolver

source ·
pub struct GetReactionsResolver
where + RoomId: Archive, + MessageId: Archive, + EmoteOrEmoji: Archive, + GetReactionsForm: Archive,
{ /* private fields */ }
Expand description

The resolver for an archived GetReactions

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/room/struct.GetRoom.html b/client_sdk/api/commands/room/struct.GetRoom.html new file mode 100644 index 000000000..cefefd4db --- /dev/null +++ b/client_sdk/api/commands/room/struct.GetRoom.html @@ -0,0 +1,49 @@ +GetRoom in client_sdk::api::commands::room - Rust

Struct client_sdk::api::commands::room::GetRoom

source ·
pub struct GetRoom {
+    pub room_id: RoomId,
+}

Fields§

§room_id: RoomId

Implementations§

source§

impl GetRoom

source

pub const fn new(room_id: RoomId) -> Self

Construct new instance from individual fields

+

Trait Implementations§

source§

impl Archive for GetRoom
where + RoomId: Archive,

source§

type Archived = ArchivedGetRoom

The archived representation of this type. Read more
source§

type Resolver = GetRoomResolver

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
source§

impl Command for GetRoom

source§

const STREAM: bool = false

Whether the command returns one or many items
source§

const IS_QUERY: bool = true

Whether the command has a query string or sends a body
source§

async fn collect<S, E>(stream: S) -> Result<Self::Result, E>
where + S: Stream<Item = Result<Self::Item, E>> + Send, + E: From<MissingItemError>,

Used to collect the Result from an arbitrary Stream of items.
source§

type Item = FullRoom

The underlying type of each returned item, be it one or many.
source§

type Result = FullRoom

Item(s) returned from the server by a given command
source§

const HTTP_METHOD: Method = http::Method::GET

HTTP Method used to execute the command
source§

const FLAGS: CommandFlags = _

Flags for the command, defaults to empty.
source§

const RATE_LIMIT: RateLimit = _

Baseline rate-limiting parameters, defaults to RateLimit::DEFAULT. Read more
source§

const SERVER_TIMEOUT: Duration = _

On the server side, how long to wait before timing out the request.
source§

fn perms(&self) -> Permissions

Computes required permissions
source§

const ROUTE_PATTERN: &'static str = "/api/v1/room/{room_id}"

Path pattern for the command (without query) when used with matchit 0.8 or higher.
source§

fn format_path<W: Write>(&self, w: W) -> Result

Serialize/format the REST path (without query)
source§

type Body = ()

Body type for the command
source§

fn body(&self) -> &Self::Body

Body to be serialized as request body or query parameters (if GET)
source§

fn body_size_hint(&self) -> usize

Hint given to preallocate body size, only used for query strings
source§

fn add_headers(&self, _map: &mut HeaderMap)

Insert any additional headers required to perform this command
source§

impl Debug for GetRoom

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<__D: Fallible + ?Sized> Deserialize<GetRoom, __D> for Archived<GetRoom>
where + RoomId: Archive, + <RoomId as Archive>::Archived: Deserialize<RoomId, __D>,

source§

fn deserialize( + &self, + deserializer: &mut __D, +) -> Result<GetRoom, <__D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<__S: Fallible + ?Sized> Serialize<__S> for GetRoom
where + RoomId: Serialize<__S>,

source§

fn serialize( + &self, + serializer: &mut __S, +) -> Result<<Self as Archive>::Resolver, <__S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/room/struct.GetRoomResolver.html b/client_sdk/api/commands/room/struct.GetRoomResolver.html new file mode 100644 index 000000000..ee0b58910 --- /dev/null +++ b/client_sdk/api/commands/room/struct.GetRoomResolver.html @@ -0,0 +1,22 @@ +GetRoomResolver in client_sdk::api::commands::room - Rust

Struct client_sdk::api::commands::room::GetRoomResolver

source ·
pub struct GetRoomResolver
where + RoomId: Archive,
{ /* private fields */ }
Expand description

The resolver for an archived GetRoom

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/room/struct.PatchRoom.html b/client_sdk/api/commands/room/struct.PatchRoom.html new file mode 100644 index 000000000..d25d27e50 --- /dev/null +++ b/client_sdk/api/commands/room/struct.PatchRoom.html @@ -0,0 +1,70 @@ +PatchRoom in client_sdk::api::commands::room - Rust

Struct client_sdk::api::commands::room::PatchRoom

source ·
pub struct PatchRoom {
+    pub room_id: RoomId,
+    pub body: PatchRoomForm,
+}

Fields§

§room_id: RoomId§body: PatchRoomForm

Body to be serialized as request body or query parameters (if GET)

+

Implementations§

source§

impl PatchRoom

source

pub const fn new( + room_id: RoomId, + name: Option<SmolStr>, + topic: Nullable<SmolStr>, + avatar: Nullable<FileId>, + position: Option<u8>, + remove_overwrites: ThinVec<Snowflake>, + overwrites: ThinVec<Overwrite>, + nsfw: Option<bool>, +) -> Self

Construct new instance from individual fields

+

Trait Implementations§

source§

impl Archive for PatchRoom
where + RoomId: Archive, + PatchRoomForm: Archive,

source§

type Archived = ArchivedPatchRoom

The archived representation of this type. Read more
source§

type Resolver = PatchRoomResolver

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
source§

impl Command for PatchRoom

source§

const RATE_LIMIT: RateLimit = _

+
RateLimit {
+    emission_interval: 500ms,
+    burst_size: 1,
+}
+

If not specified, the burst_size will be from RateLimit::DEFAULT.

+
source§

const STREAM: bool = false

Whether the command returns one or many items
source§

const IS_QUERY: bool = false

Whether the command has a query string or sends a body
source§

async fn collect<S, E>(stream: S) -> Result<Self::Result, E>
where + S: Stream<Item = Result<Self::Item, E>> + Send, + E: From<MissingItemError>,

Used to collect the Result from an arbitrary Stream of items.
source§

type Item = FullRoom

The underlying type of each returned item, be it one or many.
source§

type Result = FullRoom

Item(s) returned from the server by a given command
source§

const HTTP_METHOD: Method = http::Method::PATCH

HTTP Method used to execute the command
source§

const FLAGS: CommandFlags = _

Flags for the command, defaults to empty.
source§

const SERVER_TIMEOUT: Duration = _

On the server side, how long to wait before timing out the request.
source§

fn perms(&self) -> Permissions

Computes required permissions
source§

const ROUTE_PATTERN: &'static str = "/api/v1/room/{room_id}"

Path pattern for the command (without query) when used with matchit 0.8 or higher.
source§

fn format_path<W: Write>(&self, w: W) -> Result

Serialize/format the REST path (without query)
source§

type Body = PatchRoomForm

Body type for the command
source§

fn body(&self) -> &Self::Body

Body to be serialized as request body or query parameters (if GET)
source§

fn body_size_hint(&self) -> usize

Hint given to preallocate body size, only used for query strings
source§

fn add_headers(&self, _map: &mut HeaderMap)

Insert any additional headers required to perform this command
source§

impl Debug for PatchRoom

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Deref for PatchRoom

source§

type Target = PatchRoomForm

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl DerefMut for PatchRoom

source§

fn deref_mut(&mut self) -> &mut Self::Target

Mutably dereferences the value.
source§

impl<__D: Fallible + ?Sized> Deserialize<PatchRoom, __D> for Archived<PatchRoom>
where + RoomId: Archive, + <RoomId as Archive>::Archived: Deserialize<RoomId, __D>, + PatchRoomForm: Archive, + <PatchRoomForm as Archive>::Archived: Deserialize<PatchRoomForm, __D>,

source§

fn deserialize( + &self, + deserializer: &mut __D, +) -> Result<PatchRoom, <__D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<__S: Fallible + ?Sized> Serialize<__S> for PatchRoom
where + RoomId: Serialize<__S>, + PatchRoomForm: Serialize<__S>,

source§

fn serialize( + &self, + serializer: &mut __S, +) -> Result<<Self as Archive>::Resolver, <__S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/room/struct.PatchRoomForm.html b/client_sdk/api/commands/room/struct.PatchRoomForm.html new file mode 100644 index 000000000..40e9bb892 --- /dev/null +++ b/client_sdk/api/commands/room/struct.PatchRoomForm.html @@ -0,0 +1,113 @@ +PatchRoomForm in client_sdk::api::commands::room - Rust

Struct client_sdk::api::commands::room::PatchRoomForm

source ·
pub struct PatchRoomForm {
+    pub name: Option<SmolStr>,
+    pub topic: Nullable<SmolStr>,
+    pub avatar: Nullable<FileId>,
+    pub position: Option<u8>,
+    pub remove_overwrites: ThinVec<Snowflake>,
+    pub overwrites: ThinVec<Overwrite>,
+    pub nsfw: Option<bool>,
+}
Expand description

Nullable::Undefined or Option::None fields indicate no change

+

Fields§

§name: Option<SmolStr>§topic: Nullable<SmolStr>§avatar: Nullable<FileId>§position: Option<u8>§remove_overwrites: ThinVec<Snowflake>§overwrites: ThinVec<Overwrite>§nsfw: Option<bool>

Trait Implementations§

source§

impl Archive for PatchRoomForm
where + Option<SmolStr>: Archive, + Nullable<SmolStr>: Archive, + Nullable<FileId>: Archive, + Option<u8>: Archive, + ThinVec<Snowflake>: Archive, + ThinVec<Overwrite>: Archive, + Option<bool>: Archive,

source§

type Archived = ArchivedPatchRoomForm

The archived representation of this type. Read more
source§

type Resolver = PatchRoomFormResolver

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
source§

impl Debug for PatchRoomForm

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for PatchRoomForm

source§

fn default() -> PatchRoomForm

Returns the “default value” for a type. Read more
source§

impl<'de> Deserialize<'de> for PatchRoomForm

source§

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<__D: Fallible + ?Sized> Deserialize<PatchRoomForm, __D> for Archived<PatchRoomForm>
where + Option<SmolStr>: Archive, + <Option<SmolStr> as Archive>::Archived: Deserialize<Option<SmolStr>, __D>, + Nullable<SmolStr>: Archive, + <Nullable<SmolStr> as Archive>::Archived: Deserialize<Nullable<SmolStr>, __D>, + Nullable<FileId>: Archive, + <Nullable<FileId> as Archive>::Archived: Deserialize<Nullable<FileId>, __D>, + Option<u8>: Archive, + <Option<u8> as Archive>::Archived: Deserialize<Option<u8>, __D>, + ThinVec<Snowflake>: Archive, + <ThinVec<Snowflake> as Archive>::Archived: Deserialize<ThinVec<Snowflake>, __D>, + ThinVec<Overwrite>: Archive, + <ThinVec<Overwrite> as Archive>::Archived: Deserialize<ThinVec<Overwrite>, __D>, + Option<bool>: Archive, + <Option<bool> as Archive>::Archived: Deserialize<Option<bool>, __D>,

source§

fn deserialize( + &self, + deserializer: &mut __D, +) -> Result<PatchRoomForm, <__D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl PartialEq<ArchivedPatchRoomForm> for PatchRoomForm
where + Option<SmolStr>: Archive, + Nullable<SmolStr>: Archive, + Nullable<FileId>: Archive, + Option<u8>: Archive, + ThinVec<Snowflake>: Archive, + ThinVec<Overwrite>: Archive, + Option<bool>: Archive, + <Option<SmolStr> as Archive>::Archived: PartialEq<Option<SmolStr>>, + <Nullable<SmolStr> as Archive>::Archived: PartialEq<Nullable<SmolStr>>, + <Nullable<FileId> as Archive>::Archived: PartialEq<Nullable<FileId>>, + <Option<u8> as Archive>::Archived: PartialEq<Option<u8>>, + <ThinVec<Snowflake> as Archive>::Archived: PartialEq<ThinVec<Snowflake>>, + <ThinVec<Overwrite> as Archive>::Archived: PartialEq<ThinVec<Overwrite>>, + <Option<bool> as Archive>::Archived: PartialEq<Option<bool>>,

source§

fn eq(&self, other: &ArchivedPatchRoomForm) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl PartialEq<PatchRoomForm> for ArchivedPatchRoomForm
where + Option<SmolStr>: Archive, + Nullable<SmolStr>: Archive, + Nullable<FileId>: Archive, + Option<u8>: Archive, + ThinVec<Snowflake>: Archive, + ThinVec<Overwrite>: Archive, + Option<bool>: Archive, + <Option<SmolStr> as Archive>::Archived: PartialEq<Option<SmolStr>>, + <Nullable<SmolStr> as Archive>::Archived: PartialEq<Nullable<SmolStr>>, + <Nullable<FileId> as Archive>::Archived: PartialEq<Nullable<FileId>>, + <Option<u8> as Archive>::Archived: PartialEq<Option<u8>>, + <ThinVec<Snowflake> as Archive>::Archived: PartialEq<ThinVec<Snowflake>>, + <ThinVec<Overwrite> as Archive>::Archived: PartialEq<ThinVec<Overwrite>>, + <Option<bool> as Archive>::Archived: PartialEq<Option<bool>>,

source§

fn eq(&self, other: &PatchRoomForm) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl PartialEq for PatchRoomForm

source§

fn eq(&self, other: &PatchRoomForm) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl<__S: Fallible + ?Sized> Serialize<__S> for PatchRoomForm
where + Option<SmolStr>: Serialize<__S>, + Nullable<SmolStr>: Serialize<__S>, + Nullable<FileId>: Serialize<__S>, + Option<u8>: Serialize<__S>, + ThinVec<Snowflake>: Serialize<__S>, + ThinVec<Overwrite>: Serialize<__S>, + Option<bool>: Serialize<__S>,

source§

fn serialize( + &self, + serializer: &mut __S, +) -> Result<<Self as Archive>::Resolver, <__S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.
source§

impl Serialize for PatchRoomForm

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl StructuralPartialEq for PatchRoomForm

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
source§

impl<T> CommandBody for T
where + T: Send + Serialize + Archive,

source§

impl<T> CommandResult for T
where + T: Send + DeserializeOwned + Serialize + Archive,

source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/room/struct.PatchRoomFormResolver.html b/client_sdk/api/commands/room/struct.PatchRoomFormResolver.html new file mode 100644 index 000000000..2a3aa3269 --- /dev/null +++ b/client_sdk/api/commands/room/struct.PatchRoomFormResolver.html @@ -0,0 +1,28 @@ +PatchRoomFormResolver in client_sdk::api::commands::room - Rust

Struct client_sdk::api::commands::room::PatchRoomFormResolver

source ·
pub struct PatchRoomFormResolver
where + Option<SmolStr>: Archive, + Nullable<SmolStr>: Archive, + Nullable<FileId>: Archive, + Option<u8>: Archive, + ThinVec<Snowflake>: Archive, + ThinVec<Overwrite>: Archive, + Option<bool>: Archive,
{ /* private fields */ }
Expand description

The resolver for an archived PatchRoomForm

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/room/struct.PatchRoomResolver.html b/client_sdk/api/commands/room/struct.PatchRoomResolver.html new file mode 100644 index 000000000..669de2e05 --- /dev/null +++ b/client_sdk/api/commands/room/struct.PatchRoomResolver.html @@ -0,0 +1,23 @@ +PatchRoomResolver in client_sdk::api::commands::room - Rust

Struct client_sdk::api::commands::room::PatchRoomResolver

source ·
pub struct PatchRoomResolver
where + RoomId: Archive, + PatchRoomForm: Archive,
{ /* private fields */ }
Expand description

The resolver for an archived PatchRoom

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/room/struct.PinMessage.html b/client_sdk/api/commands/room/struct.PinMessage.html new file mode 100644 index 000000000..c1688c69e --- /dev/null +++ b/client_sdk/api/commands/room/struct.PinMessage.html @@ -0,0 +1,59 @@ +PinMessage in client_sdk::api::commands::room - Rust

Struct client_sdk::api::commands::room::PinMessage

source ·
pub struct PinMessage {
+    pub room_id: RoomId,
+    pub msg_id: MessageId,
+    pub pin_tag: FolderId,
+}

Fields§

§room_id: RoomId§msg_id: MessageId§pin_tag: FolderId

Implementations§

source§

impl PinMessage

source

pub const fn new(room_id: RoomId, msg_id: MessageId, pin_tag: FolderId) -> Self

Construct new instance from individual fields

+

Trait Implementations§

source§

impl Archive for PinMessage
where + RoomId: Archive, + MessageId: Archive, + FolderId: Archive,

source§

type Archived = ArchivedPinMessage

The archived representation of this type. Read more
source§

type Resolver = PinMessageResolver

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
source§

impl Command for PinMessage

source§

const STREAM: bool = false

Whether the command returns one or many items
source§

const IS_QUERY: bool = false

Whether the command has a query string or sends a body
source§

async fn collect<S, E>(stream: S) -> Result<Self::Result, E>
where + S: Stream<Item = Result<Self::Item, E>> + Send, + E: From<MissingItemError>,

Used to collect the Result from an arbitrary Stream of items.
source§

type Item = ()

The underlying type of each returned item, be it one or many.
source§

type Result = ()

Item(s) returned from the server by a given command
source§

const HTTP_METHOD: Method = http::Method::PUT

HTTP Method used to execute the command
source§

const FLAGS: CommandFlags = _

Flags for the command, defaults to empty.
source§

const RATE_LIMIT: RateLimit = _

Baseline rate-limiting parameters, defaults to RateLimit::DEFAULT. Read more
source§

const SERVER_TIMEOUT: Duration = _

On the server side, how long to wait before timing out the request.
source§

fn perms(&self) -> Permissions

Computes required permissions
source§

const ROUTE_PATTERN: &'static str = "/api/v1/room/{room_id}/messages/{msg_id}/pins/{pin_tag}"

Path pattern for the command (without query) when used with matchit 0.8 or higher.
source§

fn format_path<W: Write>(&self, w: W) -> Result

Serialize/format the REST path (without query)
source§

type Body = ()

Body type for the command
source§

fn body(&self) -> &Self::Body

Body to be serialized as request body or query parameters (if GET)
source§

fn body_size_hint(&self) -> usize

Hint given to preallocate body size, only used for query strings
source§

fn add_headers(&self, _map: &mut HeaderMap)

Insert any additional headers required to perform this command
source§

impl Debug for PinMessage

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<__D: Fallible + ?Sized> Deserialize<PinMessage, __D> for Archived<PinMessage>
where + RoomId: Archive, + <RoomId as Archive>::Archived: Deserialize<RoomId, __D>, + MessageId: Archive, + <MessageId as Archive>::Archived: Deserialize<MessageId, __D>, + FolderId: Archive, + <FolderId as Archive>::Archived: Deserialize<FolderId, __D>,

source§

fn deserialize( + &self, + deserializer: &mut __D, +) -> Result<PinMessage, <__D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<__S: Fallible + ?Sized> Serialize<__S> for PinMessage
where + RoomId: Serialize<__S>, + MessageId: Serialize<__S>, + FolderId: Serialize<__S>,

source§

fn serialize( + &self, + serializer: &mut __S, +) -> Result<<Self as Archive>::Resolver, <__S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/room/struct.PinMessageResolver.html b/client_sdk/api/commands/room/struct.PinMessageResolver.html new file mode 100644 index 000000000..ac8741157 --- /dev/null +++ b/client_sdk/api/commands/room/struct.PinMessageResolver.html @@ -0,0 +1,24 @@ +PinMessageResolver in client_sdk::api::commands::room - Rust

Struct client_sdk::api::commands::room::PinMessageResolver

source ·
pub struct PinMessageResolver
where + RoomId: Archive, + MessageId: Archive, + FolderId: Archive,
{ /* private fields */ }
Expand description

The resolver for an archived PinMessage

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/room/struct.PutReaction.html b/client_sdk/api/commands/room/struct.PutReaction.html new file mode 100644 index 000000000..56eca897d --- /dev/null +++ b/client_sdk/api/commands/room/struct.PutReaction.html @@ -0,0 +1,63 @@ +PutReaction in client_sdk::api::commands::room - Rust

Struct client_sdk::api::commands::room::PutReaction

source ·
pub struct PutReaction {
+    pub room_id: RoomId,
+    pub msg_id: MessageId,
+    pub emote_id: EmoteOrEmoji,
+}

Fields§

§room_id: RoomId§msg_id: MessageId§emote_id: EmoteOrEmoji

Implementations§

source§

impl PutReaction

source

pub const fn new( + room_id: RoomId, + msg_id: MessageId, + emote_id: EmoteOrEmoji, +) -> Self

Construct new instance from individual fields

+

Trait Implementations§

source§

impl Archive for PutReaction
where + RoomId: Archive, + MessageId: Archive, + EmoteOrEmoji: Archive,

source§

type Archived = ArchivedPutReaction

The archived representation of this type. Read more
source§

type Resolver = PutReactionResolver

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
source§

impl Command for PutReaction

source§

const STREAM: bool = false

Whether the command returns one or many items
source§

const IS_QUERY: bool = false

Whether the command has a query string or sends a body
source§

async fn collect<S, E>(stream: S) -> Result<Self::Result, E>
where + S: Stream<Item = Result<Self::Item, E>> + Send, + E: From<MissingItemError>,

Used to collect the Result from an arbitrary Stream of items.
source§

type Item = ()

The underlying type of each returned item, be it one or many.
source§

type Result = ()

Item(s) returned from the server by a given command
source§

const HTTP_METHOD: Method = http::Method::PUT

HTTP Method used to execute the command
source§

const FLAGS: CommandFlags = _

Flags for the command, defaults to empty.
source§

const RATE_LIMIT: RateLimit = _

Baseline rate-limiting parameters, defaults to RateLimit::DEFAULT. Read more
source§

const SERVER_TIMEOUT: Duration = _

On the server side, how long to wait before timing out the request.
source§

fn perms(&self) -> Permissions

Computes required permissions
source§

const ROUTE_PATTERN: &'static str = "/api/v1/room/{room_id}/messages/{msg_id}/reactions/{emote_id}/@me"

Path pattern for the command (without query) when used with matchit 0.8 or higher.
source§

fn format_path<W: Write>(&self, w: W) -> Result

Serialize/format the REST path (without query)
source§

type Body = ()

Body type for the command
source§

fn body(&self) -> &Self::Body

Body to be serialized as request body or query parameters (if GET)
source§

fn body_size_hint(&self) -> usize

Hint given to preallocate body size, only used for query strings
source§

fn add_headers(&self, _map: &mut HeaderMap)

Insert any additional headers required to perform this command
source§

impl Debug for PutReaction

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<__D: Fallible + ?Sized> Deserialize<PutReaction, __D> for Archived<PutReaction>
where + RoomId: Archive, + <RoomId as Archive>::Archived: Deserialize<RoomId, __D>, + MessageId: Archive, + <MessageId as Archive>::Archived: Deserialize<MessageId, __D>, + EmoteOrEmoji: Archive, + <EmoteOrEmoji as Archive>::Archived: Deserialize<EmoteOrEmoji, __D>,

source§

fn deserialize( + &self, + deserializer: &mut __D, +) -> Result<PutReaction, <__D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<__S: Fallible + ?Sized> Serialize<__S> for PutReaction
where + RoomId: Serialize<__S>, + MessageId: Serialize<__S>, + EmoteOrEmoji: Serialize<__S>,

source§

fn serialize( + &self, + serializer: &mut __S, +) -> Result<<Self as Archive>::Resolver, <__S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/room/struct.PutReactionResolver.html b/client_sdk/api/commands/room/struct.PutReactionResolver.html new file mode 100644 index 000000000..6a8811af7 --- /dev/null +++ b/client_sdk/api/commands/room/struct.PutReactionResolver.html @@ -0,0 +1,24 @@ +PutReactionResolver in client_sdk::api::commands::room - Rust

Struct client_sdk::api::commands::room::PutReactionResolver

source ·
pub struct PutReactionResolver
where + RoomId: Archive, + MessageId: Archive, + EmoteOrEmoji: Archive,
{ /* private fields */ }
Expand description

The resolver for an archived PutReaction

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/room/struct.StarMessage.html b/client_sdk/api/commands/room/struct.StarMessage.html new file mode 100644 index 000000000..ac9f8e875 --- /dev/null +++ b/client_sdk/api/commands/room/struct.StarMessage.html @@ -0,0 +1,54 @@ +StarMessage in client_sdk::api::commands::room - Rust

Struct client_sdk::api::commands::room::StarMessage

source ·
pub struct StarMessage {
+    pub room_id: RoomId,
+    pub msg_id: MessageId,
+}

Fields§

§room_id: RoomId§msg_id: MessageId

Implementations§

source§

impl StarMessage

source

pub const fn new(room_id: RoomId, msg_id: MessageId) -> Self

Construct new instance from individual fields

+

Trait Implementations§

source§

impl Archive for StarMessage
where + RoomId: Archive, + MessageId: Archive,

source§

type Archived = ArchivedStarMessage

The archived representation of this type. Read more
source§

type Resolver = StarMessageResolver

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
source§

impl Command for StarMessage

source§

const STREAM: bool = false

Whether the command returns one or many items
source§

const IS_QUERY: bool = false

Whether the command has a query string or sends a body
source§

async fn collect<S, E>(stream: S) -> Result<Self::Result, E>
where + S: Stream<Item = Result<Self::Item, E>> + Send, + E: From<MissingItemError>,

Used to collect the Result from an arbitrary Stream of items.
source§

type Item = ()

The underlying type of each returned item, be it one or many.
source§

type Result = ()

Item(s) returned from the server by a given command
source§

const HTTP_METHOD: Method = http::Method::PUT

HTTP Method used to execute the command
source§

const FLAGS: CommandFlags = _

Flags for the command, defaults to empty.
source§

const RATE_LIMIT: RateLimit = _

Baseline rate-limiting parameters, defaults to RateLimit::DEFAULT. Read more
source§

const SERVER_TIMEOUT: Duration = _

On the server side, how long to wait before timing out the request.
source§

fn perms(&self) -> Permissions

Computes required permissions
source§

const ROUTE_PATTERN: &'static str = "/api/v1/room/{room_id}/messages/{msg_id}/star"

Path pattern for the command (without query) when used with matchit 0.8 or higher.
source§

fn format_path<W: Write>(&self, w: W) -> Result

Serialize/format the REST path (without query)
source§

type Body = ()

Body type for the command
source§

fn body(&self) -> &Self::Body

Body to be serialized as request body or query parameters (if GET)
source§

fn body_size_hint(&self) -> usize

Hint given to preallocate body size, only used for query strings
source§

fn add_headers(&self, _map: &mut HeaderMap)

Insert any additional headers required to perform this command
source§

impl Debug for StarMessage

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<__D: Fallible + ?Sized> Deserialize<StarMessage, __D> for Archived<StarMessage>
where + RoomId: Archive, + <RoomId as Archive>::Archived: Deserialize<RoomId, __D>, + MessageId: Archive, + <MessageId as Archive>::Archived: Deserialize<MessageId, __D>,

source§

fn deserialize( + &self, + deserializer: &mut __D, +) -> Result<StarMessage, <__D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<__S: Fallible + ?Sized> Serialize<__S> for StarMessage
where + RoomId: Serialize<__S>, + MessageId: Serialize<__S>,

source§

fn serialize( + &self, + serializer: &mut __S, +) -> Result<<Self as Archive>::Resolver, <__S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/room/struct.StarMessageResolver.html b/client_sdk/api/commands/room/struct.StarMessageResolver.html new file mode 100644 index 000000000..b7b8d458a --- /dev/null +++ b/client_sdk/api/commands/room/struct.StarMessageResolver.html @@ -0,0 +1,23 @@ +StarMessageResolver in client_sdk::api::commands::room - Rust

Struct client_sdk::api::commands::room::StarMessageResolver

source ·
pub struct StarMessageResolver
where + RoomId: Archive, + MessageId: Archive,
{ /* private fields */ }
Expand description

The resolver for an archived StarMessage

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/room/struct.StartTyping.html b/client_sdk/api/commands/room/struct.StartTyping.html new file mode 100644 index 000000000..2b4c52ca7 --- /dev/null +++ b/client_sdk/api/commands/room/struct.StartTyping.html @@ -0,0 +1,60 @@ +StartTyping in client_sdk::api::commands::room - Rust

Struct client_sdk::api::commands::room::StartTyping

source ·
pub struct StartTyping {
+    pub room_id: RoomId,
+    pub body: StartTypingBody,
+}

Fields§

§room_id: RoomId§body: StartTypingBody

Body to be serialized as request body or query parameters (if GET)

+

Implementations§

source§

impl StartTyping

source

pub const fn new(room_id: RoomId, parent: Option<MessageId>) -> Self

Construct new instance from individual fields

+

Trait Implementations§

source§

impl Archive for StartTyping
where + RoomId: Archive, + StartTypingBody: Archive,

source§

type Archived = ArchivedStartTyping

The archived representation of this type. Read more
source§

type Resolver = StartTypingResolver

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
source§

impl Command for StartTyping

source§

const RATE_LIMIT: RateLimit = _

+
RateLimit {
+    emission_interval: 100ms,
+}
+

If not specified, the burst_size will be from RateLimit::DEFAULT.

+
source§

const STREAM: bool = false

Whether the command returns one or many items
source§

const IS_QUERY: bool = false

Whether the command has a query string or sends a body
source§

async fn collect<S, E>(stream: S) -> Result<Self::Result, E>
where + S: Stream<Item = Result<Self::Item, E>> + Send, + E: From<MissingItemError>,

Used to collect the Result from an arbitrary Stream of items.
source§

type Item = ()

The underlying type of each returned item, be it one or many.
source§

type Result = ()

Item(s) returned from the server by a given command
source§

const HTTP_METHOD: Method = http::Method::POST

HTTP Method used to execute the command
source§

const FLAGS: CommandFlags = _

Flags for the command, defaults to empty.
source§

const SERVER_TIMEOUT: Duration = _

On the server side, how long to wait before timing out the request.
source§

fn perms(&self) -> Permissions

Computes required permissions
source§

const ROUTE_PATTERN: &'static str = "/api/v1/room/{room_id}/typing"

Path pattern for the command (without query) when used with matchit 0.8 or higher.
source§

fn format_path<W: Write>(&self, w: W) -> Result

Serialize/format the REST path (without query)
source§

type Body = StartTypingBody

Body type for the command
source§

fn body(&self) -> &Self::Body

Body to be serialized as request body or query parameters (if GET)
source§

fn body_size_hint(&self) -> usize

Hint given to preallocate body size, only used for query strings
source§

fn add_headers(&self, _map: &mut HeaderMap)

Insert any additional headers required to perform this command
source§

impl Debug for StartTyping

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Deref for StartTyping

source§

type Target = StartTypingBody

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl DerefMut for StartTyping

source§

fn deref_mut(&mut self) -> &mut Self::Target

Mutably dereferences the value.
source§

impl<__D: Fallible + ?Sized> Deserialize<StartTyping, __D> for Archived<StartTyping>
where + RoomId: Archive, + <RoomId as Archive>::Archived: Deserialize<RoomId, __D>, + StartTypingBody: Archive, + <StartTypingBody as Archive>::Archived: Deserialize<StartTypingBody, __D>,

source§

fn deserialize( + &self, + deserializer: &mut __D, +) -> Result<StartTyping, <__D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<__S: Fallible + ?Sized> Serialize<__S> for StartTyping
where + RoomId: Serialize<__S>, + StartTypingBody: Serialize<__S>,

source§

fn serialize( + &self, + serializer: &mut __S, +) -> Result<<Self as Archive>::Resolver, <__S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/room/struct.StartTypingBody.html b/client_sdk/api/commands/room/struct.StartTypingBody.html new file mode 100644 index 000000000..0fcbbe230 --- /dev/null +++ b/client_sdk/api/commands/room/struct.StartTypingBody.html @@ -0,0 +1,52 @@ +StartTypingBody in client_sdk::api::commands::room - Rust

Struct client_sdk::api::commands::room::StartTypingBody

source ·
pub struct StartTypingBody {
+    pub parent: Option<MessageId>,
+}

Fields§

§parent: Option<MessageId>

Will only show within the parent context if set

+

Trait Implementations§

source§

impl Archive for StartTypingBody
where + Option<MessageId>: Archive,

source§

type Archived = ArchivedStartTypingBody

The archived representation of this type. Read more
source§

type Resolver = StartTypingBodyResolver

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
source§

impl Debug for StartTypingBody

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for StartTypingBody

source§

fn default() -> StartTypingBody

Returns the “default value” for a type. Read more
source§

impl<'de> Deserialize<'de> for StartTypingBody

source§

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<__D: Fallible + ?Sized> Deserialize<StartTypingBody, __D> for Archived<StartTypingBody>
where + Option<MessageId>: Archive, + <Option<MessageId> as Archive>::Archived: Deserialize<Option<MessageId>, __D>,

source§

fn deserialize( + &self, + deserializer: &mut __D, +) -> Result<StartTypingBody, <__D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<__S: Fallible + ?Sized> Serialize<__S> for StartTypingBody
where + Option<MessageId>: Serialize<__S>,

source§

fn serialize( + &self, + serializer: &mut __S, +) -> Result<<Self as Archive>::Resolver, <__S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.
source§

impl Serialize for StartTypingBody

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
source§

impl<T> CommandBody for T
where + T: Send + Serialize + Archive,

source§

impl<T> CommandResult for T
where + T: Send + DeserializeOwned + Serialize + Archive,

source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/room/struct.StartTypingBodyResolver.html b/client_sdk/api/commands/room/struct.StartTypingBodyResolver.html new file mode 100644 index 000000000..f7c61c94c --- /dev/null +++ b/client_sdk/api/commands/room/struct.StartTypingBodyResolver.html @@ -0,0 +1,22 @@ +StartTypingBodyResolver in client_sdk::api::commands::room - Rust

Struct client_sdk::api::commands::room::StartTypingBodyResolver

source ·
pub struct StartTypingBodyResolver
where + Option<MessageId>: Archive,
{ /* private fields */ }
Expand description

The resolver for an archived StartTypingBody

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/room/struct.StartTypingResolver.html b/client_sdk/api/commands/room/struct.StartTypingResolver.html new file mode 100644 index 000000000..4a56a7871 --- /dev/null +++ b/client_sdk/api/commands/room/struct.StartTypingResolver.html @@ -0,0 +1,23 @@ +StartTypingResolver in client_sdk::api::commands::room - Rust

Struct client_sdk::api::commands::room::StartTypingResolver

source ·
pub struct StartTypingResolver
where + RoomId: Archive, + StartTypingBody: Archive,
{ /* private fields */ }
Expand description

The resolver for an archived StartTyping

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/room/struct.UnpinMessage.html b/client_sdk/api/commands/room/struct.UnpinMessage.html new file mode 100644 index 000000000..fdf5f1dbb --- /dev/null +++ b/client_sdk/api/commands/room/struct.UnpinMessage.html @@ -0,0 +1,59 @@ +UnpinMessage in client_sdk::api::commands::room - Rust

Struct client_sdk::api::commands::room::UnpinMessage

source ·
pub struct UnpinMessage {
+    pub room_id: RoomId,
+    pub msg_id: MessageId,
+    pub pin_tag: FolderId,
+}

Fields§

§room_id: RoomId§msg_id: MessageId§pin_tag: FolderId

Implementations§

source§

impl UnpinMessage

source

pub const fn new(room_id: RoomId, msg_id: MessageId, pin_tag: FolderId) -> Self

Construct new instance from individual fields

+

Trait Implementations§

source§

impl Archive for UnpinMessage
where + RoomId: Archive, + MessageId: Archive, + FolderId: Archive,

source§

type Archived = ArchivedUnpinMessage

The archived representation of this type. Read more
source§

type Resolver = UnpinMessageResolver

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
source§

impl Command for UnpinMessage

source§

const STREAM: bool = false

Whether the command returns one or many items
source§

const IS_QUERY: bool = false

Whether the command has a query string or sends a body
source§

async fn collect<S, E>(stream: S) -> Result<Self::Result, E>
where + S: Stream<Item = Result<Self::Item, E>> + Send, + E: From<MissingItemError>,

Used to collect the Result from an arbitrary Stream of items.
source§

type Item = ()

The underlying type of each returned item, be it one or many.
source§

type Result = ()

Item(s) returned from the server by a given command
source§

const HTTP_METHOD: Method = http::Method::DELETE

HTTP Method used to execute the command
source§

const FLAGS: CommandFlags = _

Flags for the command, defaults to empty.
source§

const RATE_LIMIT: RateLimit = _

Baseline rate-limiting parameters, defaults to RateLimit::DEFAULT. Read more
source§

const SERVER_TIMEOUT: Duration = _

On the server side, how long to wait before timing out the request.
source§

fn perms(&self) -> Permissions

Computes required permissions
source§

const ROUTE_PATTERN: &'static str = "/api/v1/room/{room_id}/messages/{msg_id}/pins/{pin_tag}"

Path pattern for the command (without query) when used with matchit 0.8 or higher.
source§

fn format_path<W: Write>(&self, w: W) -> Result

Serialize/format the REST path (without query)
source§

type Body = ()

Body type for the command
source§

fn body(&self) -> &Self::Body

Body to be serialized as request body or query parameters (if GET)
source§

fn body_size_hint(&self) -> usize

Hint given to preallocate body size, only used for query strings
source§

fn add_headers(&self, _map: &mut HeaderMap)

Insert any additional headers required to perform this command
source§

impl Debug for UnpinMessage

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<__D: Fallible + ?Sized> Deserialize<UnpinMessage, __D> for Archived<UnpinMessage>
where + RoomId: Archive, + <RoomId as Archive>::Archived: Deserialize<RoomId, __D>, + MessageId: Archive, + <MessageId as Archive>::Archived: Deserialize<MessageId, __D>, + FolderId: Archive, + <FolderId as Archive>::Archived: Deserialize<FolderId, __D>,

source§

fn deserialize( + &self, + deserializer: &mut __D, +) -> Result<UnpinMessage, <__D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<__S: Fallible + ?Sized> Serialize<__S> for UnpinMessage
where + RoomId: Serialize<__S>, + MessageId: Serialize<__S>, + FolderId: Serialize<__S>,

source§

fn serialize( + &self, + serializer: &mut __S, +) -> Result<<Self as Archive>::Resolver, <__S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/room/struct.UnpinMessageResolver.html b/client_sdk/api/commands/room/struct.UnpinMessageResolver.html new file mode 100644 index 000000000..f7a13d8d2 --- /dev/null +++ b/client_sdk/api/commands/room/struct.UnpinMessageResolver.html @@ -0,0 +1,24 @@ +UnpinMessageResolver in client_sdk::api::commands::room - Rust

Struct client_sdk::api::commands::room::UnpinMessageResolver

source ·
pub struct UnpinMessageResolver
where + RoomId: Archive, + MessageId: Archive, + FolderId: Archive,
{ /* private fields */ }
Expand description

The resolver for an archived UnpinMessage

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/room/struct.UnstarMessage.html b/client_sdk/api/commands/room/struct.UnstarMessage.html new file mode 100644 index 000000000..5b51cfccb --- /dev/null +++ b/client_sdk/api/commands/room/struct.UnstarMessage.html @@ -0,0 +1,54 @@ +UnstarMessage in client_sdk::api::commands::room - Rust

Struct client_sdk::api::commands::room::UnstarMessage

source ·
pub struct UnstarMessage {
+    pub room_id: RoomId,
+    pub msg_id: MessageId,
+}

Fields§

§room_id: RoomId§msg_id: MessageId

Implementations§

source§

impl UnstarMessage

source

pub const fn new(room_id: RoomId, msg_id: MessageId) -> Self

Construct new instance from individual fields

+

Trait Implementations§

source§

impl Archive for UnstarMessage
where + RoomId: Archive, + MessageId: Archive,

source§

type Archived = ArchivedUnstarMessage

The archived representation of this type. Read more
source§

type Resolver = UnstarMessageResolver

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
source§

impl Command for UnstarMessage

source§

const STREAM: bool = false

Whether the command returns one or many items
source§

const IS_QUERY: bool = false

Whether the command has a query string or sends a body
source§

async fn collect<S, E>(stream: S) -> Result<Self::Result, E>
where + S: Stream<Item = Result<Self::Item, E>> + Send, + E: From<MissingItemError>,

Used to collect the Result from an arbitrary Stream of items.
source§

type Item = ()

The underlying type of each returned item, be it one or many.
source§

type Result = ()

Item(s) returned from the server by a given command
source§

const HTTP_METHOD: Method = http::Method::DELETE

HTTP Method used to execute the command
source§

const FLAGS: CommandFlags = _

Flags for the command, defaults to empty.
source§

const RATE_LIMIT: RateLimit = _

Baseline rate-limiting parameters, defaults to RateLimit::DEFAULT. Read more
source§

const SERVER_TIMEOUT: Duration = _

On the server side, how long to wait before timing out the request.
source§

fn perms(&self) -> Permissions

Computes required permissions
source§

const ROUTE_PATTERN: &'static str = "/api/v1/room/{room_id}/messages/{msg_id}/star"

Path pattern for the command (without query) when used with matchit 0.8 or higher.
source§

fn format_path<W: Write>(&self, w: W) -> Result

Serialize/format the REST path (without query)
source§

type Body = ()

Body type for the command
source§

fn body(&self) -> &Self::Body

Body to be serialized as request body or query parameters (if GET)
source§

fn body_size_hint(&self) -> usize

Hint given to preallocate body size, only used for query strings
source§

fn add_headers(&self, _map: &mut HeaderMap)

Insert any additional headers required to perform this command
source§

impl Debug for UnstarMessage

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<__D: Fallible + ?Sized> Deserialize<UnstarMessage, __D> for Archived<UnstarMessage>
where + RoomId: Archive, + <RoomId as Archive>::Archived: Deserialize<RoomId, __D>, + MessageId: Archive, + <MessageId as Archive>::Archived: Deserialize<MessageId, __D>,

source§

fn deserialize( + &self, + deserializer: &mut __D, +) -> Result<UnstarMessage, <__D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<__S: Fallible + ?Sized> Serialize<__S> for UnstarMessage
where + RoomId: Serialize<__S>, + MessageId: Serialize<__S>,

source§

fn serialize( + &self, + serializer: &mut __S, +) -> Result<<Self as Archive>::Resolver, <__S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/room/struct.UnstarMessageResolver.html b/client_sdk/api/commands/room/struct.UnstarMessageResolver.html new file mode 100644 index 000000000..a1d6c0fbd --- /dev/null +++ b/client_sdk/api/commands/room/struct.UnstarMessageResolver.html @@ -0,0 +1,23 @@ +UnstarMessageResolver in client_sdk::api::commands::room - Rust

Struct client_sdk::api::commands::room::UnstarMessageResolver

source ·
pub struct UnstarMessageResolver
where + RoomId: Archive, + MessageId: Archive,
{ /* private fields */ }
Expand description

The resolver for an archived UnstarMessage

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/sidebar-items.js b/client_sdk/api/commands/sidebar-items.js new file mode 100644 index 000000000..9449ba295 --- /dev/null +++ b/client_sdk/api/commands/sidebar-items.js @@ -0,0 +1 @@ +window.SIDEBAR_ITEMS = {"mod":["all","config","file","invite","party","room","user"]}; \ No newline at end of file diff --git a/client_sdk/api/commands/user/enum.BannerAlign.html b/client_sdk/api/commands/user/enum.BannerAlign.html new file mode 100644 index 000000000..d9bfa35c8 --- /dev/null +++ b/client_sdk/api/commands/user/enum.BannerAlign.html @@ -0,0 +1,60 @@ +BannerAlign in client_sdk::api::commands::user - Rust

Enum client_sdk::api::commands::user::BannerAlign

source ·
#[repr(align(1), u8)]
pub enum BannerAlign { + Top = 0, + Middle = 1, + Bottom = 2, +}

Variants§

§

Top = 0

§

Middle = 1

§

Bottom = 2

Trait Implementations§

source§

impl Archive for BannerAlign

source§

type Archived = BannerAlign

The archived representation of this type. Read more
source§

type Resolver = ()

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

fn resolve(&self, _: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
source§

impl<C> CheckBytes<C> for BannerAlign
where + C: Fallible + ?Sized, + <C as Fallible>::Error: Source,

source§

unsafe fn check_bytes( + value: *const Self, + _: &mut C, +) -> Result<(), <C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Clone for BannerAlign

source§

fn clone(&self) -> BannerAlign

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for BannerAlign

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for BannerAlign

source§

fn default() -> BannerAlign

Returns the “default value” for a type. Read more
source§

impl<'de> Deserialize<'de> for BannerAlign

source§

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<D: Fallible + ?Sized> Deserialize<BannerAlign, D> for BannerAlign

source§

fn deserialize(&self, _: &mut D) -> Result<BannerAlign, D::Error>

Deserializes using the given deserializer
source§

impl Hash for BannerAlign

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where + H: Hasher, + Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl PartialEq for BannerAlign

source§

fn eq(&self, other: &BannerAlign) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl<S: Fallible + ?Sized> Serialize<S> for BannerAlign

source§

fn serialize(&self, _: &mut S) -> Result<(), S::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.
source§

impl Serialize for BannerAlign

source§

fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
where + S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Copy for BannerAlign

source§

impl Eq for BannerAlign

source§

impl NoUndef for BannerAlign

source§

impl Portable for BannerAlign

source§

impl StructuralPartialEq for BannerAlign

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where + T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T> ToOwned for T
where + T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
source§

impl<T> CommandBody for T
where + T: Send + Serialize + Archive,

source§

impl<T> CommandResult for T
where + T: Send + DeserializeOwned + Serialize + Archive,

source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/user/index.html b/client_sdk/api/commands/user/index.html new file mode 100644 index 000000000..c381628cd --- /dev/null +++ b/client_sdk/api/commands/user/index.html @@ -0,0 +1 @@ +client_sdk::api::commands::user - Rust

Module client_sdk::api::commands::user

source ·

Structs§

Enums§

\ No newline at end of file diff --git a/client_sdk/api/commands/user/sidebar-items.js b/client_sdk/api/commands/user/sidebar-items.js new file mode 100644 index 000000000..23ed06279 --- /dev/null +++ b/client_sdk/api/commands/user/sidebar-items.js @@ -0,0 +1 @@ +window.SIDEBAR_ITEMS = {"enum":["BannerAlign"],"struct":["Added2FA","Added2FAResolver","ArchivedAdded2FA","ArchivedChangePassword","ArchivedChangePasswordForm","ArchivedClearSessions","ArchivedClearSessionsForm","ArchivedConfirm2FA","ArchivedConfirm2FAForm","ArchivedEnable2FA","ArchivedEnable2FAForm","ArchivedGetRelationships","ArchivedGetSessions","ArchivedGetUser","ArchivedPatchRelationship","ArchivedPatchRelationshipBody","ArchivedRemove2FA","ArchivedRemove2FAForm","ArchivedUpdateUserPrefs","ArchivedUpdateUserPrefsBody","ArchivedUpdateUserProfile","ArchivedUpdateUserProfileBody","ArchivedUserLogin","ArchivedUserLoginForm","ArchivedUserLogout","ArchivedUserRegister","ArchivedUserRegisterForm","ChangePassword","ChangePasswordForm","ChangePasswordFormResolver","ChangePasswordResolver","ClearSessions","ClearSessionsForm","ClearSessionsFormResolver","ClearSessionsResolver","Confirm2FA","Confirm2FAForm","Confirm2FAFormResolver","Confirm2FAResolver","Enable2FA","Enable2FAForm","Enable2FAFormResolver","Enable2FAResolver","GetRelationships","GetRelationshipsResolver","GetSessions","GetSessionsResolver","GetUser","GetUserResolver","PatchRelationship","PatchRelationshipBody","PatchRelationshipBodyResolver","PatchRelationshipResolver","Remove2FA","Remove2FAForm","Remove2FAFormResolver","Remove2FAResolver","UpdateUserPrefs","UpdateUserPrefsBody","UpdateUserPrefsBodyResolver","UpdateUserPrefsResolver","UpdateUserProfile","UpdateUserProfileBody","UpdateUserProfileBodyResolver","UpdateUserProfileResolver","UserLogin","UserLoginForm","UserLoginFormResolver","UserLoginResolver","UserLogout","UserLogoutResolver","UserRegister","UserRegisterForm","UserRegisterFormResolver","UserRegisterResolver"]}; \ No newline at end of file diff --git a/client_sdk/api/commands/user/struct.Added2FA.html b/client_sdk/api/commands/user/struct.Added2FA.html new file mode 100644 index 000000000..d21a27f7a --- /dev/null +++ b/client_sdk/api/commands/user/struct.Added2FA.html @@ -0,0 +1,67 @@ +Added2FA in client_sdk::api::commands::user - Rust

Struct client_sdk::api::commands::user::Added2FA

source ·
pub struct Added2FA {
+    pub url: String,
+    pub backup: Vec<String>,
+}

Fields§

§url: String

URL to be display as a QR code and added to an authenticator app

+
§backup: Vec<String>

Backup codes to be stored in a safe place

+

Trait Implementations§

source§

impl Archive for Added2FA
where + String: Archive, + Vec<String>: Archive,

source§

type Archived = ArchivedAdded2FA

The archived representation of this type. Read more
source§

type Resolver = Added2FAResolver

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
source§

impl Clone for Added2FA

source§

fn clone(&self) -> Added2FA

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Added2FA

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for Added2FA

source§

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<__D: Fallible + ?Sized> Deserialize<Added2FA, __D> for Archived<Added2FA>
where + String: Archive, + <String as Archive>::Archived: Deserialize<String, __D>, + Vec<String>: Archive, + <Vec<String> as Archive>::Archived: Deserialize<Vec<String>, __D>,

source§

fn deserialize( + &self, + deserializer: &mut __D, +) -> Result<Added2FA, <__D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl PartialEq for Added2FA

source§

fn eq(&self, other: &Added2FA) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl<__S: Fallible + ?Sized> Serialize<__S> for Added2FA
where + String: Serialize<__S>, + Vec<String>: Serialize<__S>,

source§

fn serialize( + &self, + serializer: &mut __S, +) -> Result<<Self as Archive>::Resolver, <__S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.
source§

impl Serialize for Added2FA

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for Added2FA

source§

impl StructuralPartialEq for Added2FA

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where + T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T> ToOwned for T
where + T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
source§

impl<T> CommandBody for T
where + T: Send + Serialize + Archive,

source§

impl<T> CommandResult for T
where + T: Send + DeserializeOwned + Serialize + Archive,

source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/user/struct.Added2FAResolver.html b/client_sdk/api/commands/user/struct.Added2FAResolver.html new file mode 100644 index 000000000..75aaa06b7 --- /dev/null +++ b/client_sdk/api/commands/user/struct.Added2FAResolver.html @@ -0,0 +1,23 @@ +Added2FAResolver in client_sdk::api::commands::user - Rust

Struct client_sdk::api::commands::user::Added2FAResolver

source ·
pub struct Added2FAResolver
where + String: Archive, + Vec<String>: Archive,
{ /* private fields */ }
Expand description

The resolver for an archived Added2FA

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/user/struct.ArchivedAdded2FA.html b/client_sdk/api/commands/user/struct.ArchivedAdded2FA.html new file mode 100644 index 000000000..8e2df1e14 --- /dev/null +++ b/client_sdk/api/commands/user/struct.ArchivedAdded2FA.html @@ -0,0 +1,39 @@ +ArchivedAdded2FA in client_sdk::api::commands::user - Rust

Struct client_sdk::api::commands::user::ArchivedAdded2FA

source ·
#[repr(C)]
pub struct ArchivedAdded2FA
where + String: Archive, + Vec<String>: Archive,
{ + pub url: <String as Archive>::Archived, + pub backup: <Vec<String> as Archive>::Archived, +}
Expand description

An archived Added2FA

+

Fields§

§url: <String as Archive>::Archived§backup: <Vec<String> as Archive>::Archived

Trait Implementations§

source§

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedAdded2FA
where + String: Archive, + Vec<String>: Archive, + <__C as Fallible>::Error: Trace, + <String as Archive>::Archived: CheckBytes<__C>, + <Vec<String> as Archive>::Archived: CheckBytes<__C>,

source§

unsafe fn check_bytes( + value: *const Self, + context: &mut __C, +) -> Result<(), <__C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Portable for ArchivedAdded2FA
where + String: Archive, + Vec<String>: Archive, + <String as Archive>::Archived: Portable, + <Vec<String> as Archive>::Archived: Portable,

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/user/struct.ArchivedChangePassword.html b/client_sdk/api/commands/user/struct.ArchivedChangePassword.html new file mode 100644 index 000000000..e487ddf0e --- /dev/null +++ b/client_sdk/api/commands/user/struct.ArchivedChangePassword.html @@ -0,0 +1,33 @@ +ArchivedChangePassword in client_sdk::api::commands::user - Rust

Struct client_sdk::api::commands::user::ArchivedChangePassword

source ·
#[repr(C)]
pub struct ArchivedChangePassword
where + ChangePasswordForm: Archive,
{ + pub body: <ChangePasswordForm as Archive>::Archived, +}
Expand description

An archived ChangePassword

+

Fields§

§body: <ChangePasswordForm as Archive>::Archived

Trait Implementations§

source§

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedChangePassword
where + ChangePasswordForm: Archive, + <__C as Fallible>::Error: Trace, + <ChangePasswordForm as Archive>::Archived: CheckBytes<__C>,

source§

unsafe fn check_bytes( + value: *const Self, + context: &mut __C, +) -> Result<(), <__C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Portable for ArchivedChangePassword
where + ChangePasswordForm: Archive, + <ChangePasswordForm as Archive>::Archived: Portable,

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/user/struct.ArchivedChangePasswordForm.html b/client_sdk/api/commands/user/struct.ArchivedChangePasswordForm.html new file mode 100644 index 000000000..6d40a4052 --- /dev/null +++ b/client_sdk/api/commands/user/struct.ArchivedChangePasswordForm.html @@ -0,0 +1,40 @@ +ArchivedChangePasswordForm in client_sdk::api::commands::user - Rust

Struct client_sdk::api::commands::user::ArchivedChangePasswordForm

source ·
#[repr(C)]
pub struct ArchivedChangePasswordForm
where + SmolStr: Archive, + Option<SmolStr>: Archive,
{ + pub current: <SmolStr as Archive>::Archived, + pub new: <SmolStr as Archive>::Archived, + pub totp: <Option<SmolStr> as Archive>::Archived, +}
Expand description

An archived ChangePasswordForm

+

Fields§

§current: <SmolStr as Archive>::Archived§new: <SmolStr as Archive>::Archived§totp: <Option<SmolStr> as Archive>::Archived

Trait Implementations§

source§

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedChangePasswordForm
where + SmolStr: Archive, + Option<SmolStr>: Archive, + <__C as Fallible>::Error: Trace, + <SmolStr as Archive>::Archived: CheckBytes<__C>, + <Option<SmolStr> as Archive>::Archived: CheckBytes<__C>,

source§

unsafe fn check_bytes( + value: *const Self, + context: &mut __C, +) -> Result<(), <__C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Portable for ArchivedChangePasswordForm
where + SmolStr: Archive, + Option<SmolStr>: Archive, + <SmolStr as Archive>::Archived: Portable, + <Option<SmolStr> as Archive>::Archived: Portable,

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/user/struct.ArchivedClearSessions.html b/client_sdk/api/commands/user/struct.ArchivedClearSessions.html new file mode 100644 index 000000000..54319caa5 --- /dev/null +++ b/client_sdk/api/commands/user/struct.ArchivedClearSessions.html @@ -0,0 +1,33 @@ +ArchivedClearSessions in client_sdk::api::commands::user - Rust

Struct client_sdk::api::commands::user::ArchivedClearSessions

source ·
#[repr(C)]
pub struct ArchivedClearSessions
where + ClearSessionsForm: Archive,
{ + pub body: <ClearSessionsForm as Archive>::Archived, +}
Expand description

An archived ClearSessions

+

Fields§

§body: <ClearSessionsForm as Archive>::Archived

Trait Implementations§

source§

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedClearSessions
where + ClearSessionsForm: Archive, + <__C as Fallible>::Error: Trace, + <ClearSessionsForm as Archive>::Archived: CheckBytes<__C>,

source§

unsafe fn check_bytes( + value: *const Self, + context: &mut __C, +) -> Result<(), <__C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Portable for ArchivedClearSessions
where + ClearSessionsForm: Archive, + <ClearSessionsForm as Archive>::Archived: Portable,

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/user/struct.ArchivedClearSessionsForm.html b/client_sdk/api/commands/user/struct.ArchivedClearSessionsForm.html new file mode 100644 index 000000000..a23f03def --- /dev/null +++ b/client_sdk/api/commands/user/struct.ArchivedClearSessionsForm.html @@ -0,0 +1,33 @@ +ArchivedClearSessionsForm in client_sdk::api::commands::user - Rust

Struct client_sdk::api::commands::user::ArchivedClearSessionsForm

source ·
#[repr(C)]
pub struct ArchivedClearSessionsForm
where + Option<SmolStr>: Archive,
{ + pub totp: <Option<SmolStr> as Archive>::Archived, +}
Expand description

An archived ClearSessionsForm

+

Fields§

§totp: <Option<SmolStr> as Archive>::Archived

Trait Implementations§

source§

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedClearSessionsForm
where + Option<SmolStr>: Archive, + <__C as Fallible>::Error: Trace, + <Option<SmolStr> as Archive>::Archived: CheckBytes<__C>,

source§

unsafe fn check_bytes( + value: *const Self, + context: &mut __C, +) -> Result<(), <__C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Portable for ArchivedClearSessionsForm
where + Option<SmolStr>: Archive, + <Option<SmolStr> as Archive>::Archived: Portable,

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/user/struct.ArchivedConfirm2FA.html b/client_sdk/api/commands/user/struct.ArchivedConfirm2FA.html new file mode 100644 index 000000000..670b0bf2b --- /dev/null +++ b/client_sdk/api/commands/user/struct.ArchivedConfirm2FA.html @@ -0,0 +1,33 @@ +ArchivedConfirm2FA in client_sdk::api::commands::user - Rust

Struct client_sdk::api::commands::user::ArchivedConfirm2FA

source ·
#[repr(C)]
pub struct ArchivedConfirm2FA
where + Confirm2FAForm: Archive,
{ + pub body: <Confirm2FAForm as Archive>::Archived, +}
Expand description

An archived Confirm2FA

+

Fields§

§body: <Confirm2FAForm as Archive>::Archived

Trait Implementations§

source§

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedConfirm2FA
where + Confirm2FAForm: Archive, + <__C as Fallible>::Error: Trace, + <Confirm2FAForm as Archive>::Archived: CheckBytes<__C>,

source§

unsafe fn check_bytes( + value: *const Self, + context: &mut __C, +) -> Result<(), <__C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Portable for ArchivedConfirm2FA
where + Confirm2FAForm: Archive, + <Confirm2FAForm as Archive>::Archived: Portable,

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/user/struct.ArchivedConfirm2FAForm.html b/client_sdk/api/commands/user/struct.ArchivedConfirm2FAForm.html new file mode 100644 index 000000000..cda207b43 --- /dev/null +++ b/client_sdk/api/commands/user/struct.ArchivedConfirm2FAForm.html @@ -0,0 +1,34 @@ +ArchivedConfirm2FAForm in client_sdk::api::commands::user - Rust

Struct client_sdk::api::commands::user::ArchivedConfirm2FAForm

source ·
#[repr(C)]
pub struct ArchivedConfirm2FAForm
where + SmolStr: Archive,
{ + pub password: <SmolStr as Archive>::Archived, + pub totp: <SmolStr as Archive>::Archived, +}
Expand description

An archived Confirm2FAForm

+

Fields§

§password: <SmolStr as Archive>::Archived§totp: <SmolStr as Archive>::Archived

Trait Implementations§

source§

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedConfirm2FAForm
where + SmolStr: Archive, + <__C as Fallible>::Error: Trace, + <SmolStr as Archive>::Archived: CheckBytes<__C>,

source§

unsafe fn check_bytes( + value: *const Self, + context: &mut __C, +) -> Result<(), <__C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Portable for ArchivedConfirm2FAForm
where + SmolStr: Archive, + <SmolStr as Archive>::Archived: Portable,

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/user/struct.ArchivedEnable2FA.html b/client_sdk/api/commands/user/struct.ArchivedEnable2FA.html new file mode 100644 index 000000000..f040a89e2 --- /dev/null +++ b/client_sdk/api/commands/user/struct.ArchivedEnable2FA.html @@ -0,0 +1,33 @@ +ArchivedEnable2FA in client_sdk::api::commands::user - Rust

Struct client_sdk::api::commands::user::ArchivedEnable2FA

source ·
#[repr(C)]
pub struct ArchivedEnable2FA
where + Enable2FAForm: Archive,
{ + pub body: <Enable2FAForm as Archive>::Archived, +}
Expand description

An archived Enable2FA

+

Fields§

§body: <Enable2FAForm as Archive>::Archived

Trait Implementations§

source§

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedEnable2FA
where + Enable2FAForm: Archive, + <__C as Fallible>::Error: Trace, + <Enable2FAForm as Archive>::Archived: CheckBytes<__C>,

source§

unsafe fn check_bytes( + value: *const Self, + context: &mut __C, +) -> Result<(), <__C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Portable for ArchivedEnable2FA
where + Enable2FAForm: Archive, + <Enable2FAForm as Archive>::Archived: Portable,

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/user/struct.ArchivedEnable2FAForm.html b/client_sdk/api/commands/user/struct.ArchivedEnable2FAForm.html new file mode 100644 index 000000000..339b2cd0e --- /dev/null +++ b/client_sdk/api/commands/user/struct.ArchivedEnable2FAForm.html @@ -0,0 +1,39 @@ +ArchivedEnable2FAForm in client_sdk::api::commands::user - Rust

Struct client_sdk::api::commands::user::ArchivedEnable2FAForm

source ·
#[repr(C)]
pub struct ArchivedEnable2FAForm
where + SmolStr: Archive, + String: Archive,
{ + pub password: <SmolStr as Archive>::Archived, + pub token: <String as Archive>::Archived, +}
Expand description

An archived Enable2FAForm

+

Fields§

§password: <SmolStr as Archive>::Archived§token: <String as Archive>::Archived

Trait Implementations§

source§

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedEnable2FAForm
where + SmolStr: Archive, + String: Archive, + <__C as Fallible>::Error: Trace, + <SmolStr as Archive>::Archived: CheckBytes<__C>, + <String as Archive>::Archived: CheckBytes<__C>,

source§

unsafe fn check_bytes( + value: *const Self, + context: &mut __C, +) -> Result<(), <__C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Portable for ArchivedEnable2FAForm
where + SmolStr: Archive, + String: Archive, + <SmolStr as Archive>::Archived: Portable, + <String as Archive>::Archived: Portable,

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/user/struct.ArchivedGetRelationships.html b/client_sdk/api/commands/user/struct.ArchivedGetRelationships.html new file mode 100644 index 000000000..9561b9d01 --- /dev/null +++ b/client_sdk/api/commands/user/struct.ArchivedGetRelationships.html @@ -0,0 +1,26 @@ +ArchivedGetRelationships in client_sdk::api::commands::user - Rust

Struct client_sdk::api::commands::user::ArchivedGetRelationships

source ·
#[repr(C)]
pub struct ArchivedGetRelationships {}
Expand description

An archived GetRelationships

+

Trait Implementations§

source§

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedGetRelationships
where + <__C as Fallible>::Error: Trace,

source§

unsafe fn check_bytes( + value: *const Self, + context: &mut __C, +) -> Result<(), <__C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Portable for ArchivedGetRelationships

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/user/struct.ArchivedGetSessions.html b/client_sdk/api/commands/user/struct.ArchivedGetSessions.html new file mode 100644 index 000000000..67db7fb3e --- /dev/null +++ b/client_sdk/api/commands/user/struct.ArchivedGetSessions.html @@ -0,0 +1,26 @@ +ArchivedGetSessions in client_sdk::api::commands::user - Rust

Struct client_sdk::api::commands::user::ArchivedGetSessions

source ·
#[repr(C)]
pub struct ArchivedGetSessions {}
Expand description

An archived GetSessions

+

Trait Implementations§

source§

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedGetSessions
where + <__C as Fallible>::Error: Trace,

source§

unsafe fn check_bytes( + value: *const Self, + context: &mut __C, +) -> Result<(), <__C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Portable for ArchivedGetSessions

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/user/struct.ArchivedGetUser.html b/client_sdk/api/commands/user/struct.ArchivedGetUser.html new file mode 100644 index 000000000..50f7a6699 --- /dev/null +++ b/client_sdk/api/commands/user/struct.ArchivedGetUser.html @@ -0,0 +1,33 @@ +ArchivedGetUser in client_sdk::api::commands::user - Rust

Struct client_sdk::api::commands::user::ArchivedGetUser

source ·
#[repr(C)]
pub struct ArchivedGetUser
where + UserId: Archive,
{ + pub user_id: <UserId as Archive>::Archived, +}
Expand description

An archived GetUser

+

Fields§

§user_id: <UserId as Archive>::Archived

Trait Implementations§

source§

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedGetUser
where + UserId: Archive, + <__C as Fallible>::Error: Trace, + <UserId as Archive>::Archived: CheckBytes<__C>,

source§

unsafe fn check_bytes( + value: *const Self, + context: &mut __C, +) -> Result<(), <__C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Portable for ArchivedGetUser
where + UserId: Archive, + <UserId as Archive>::Archived: Portable,

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/user/struct.ArchivedPatchRelationship.html b/client_sdk/api/commands/user/struct.ArchivedPatchRelationship.html new file mode 100644 index 000000000..d2593da9b --- /dev/null +++ b/client_sdk/api/commands/user/struct.ArchivedPatchRelationship.html @@ -0,0 +1,39 @@ +ArchivedPatchRelationship in client_sdk::api::commands::user - Rust

Struct client_sdk::api::commands::user::ArchivedPatchRelationship

source ·
#[repr(C)]
pub struct ArchivedPatchRelationship
where + UserId: Archive, + PatchRelationshipBody: Archive,
{ + pub user_id: <UserId as Archive>::Archived, + pub body: <PatchRelationshipBody as Archive>::Archived, +}
Expand description

An archived PatchRelationship

+

Fields§

§user_id: <UserId as Archive>::Archived§body: <PatchRelationshipBody as Archive>::Archived

Trait Implementations§

source§

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedPatchRelationship
where + UserId: Archive, + PatchRelationshipBody: Archive, + <__C as Fallible>::Error: Trace, + <UserId as Archive>::Archived: CheckBytes<__C>, + <PatchRelationshipBody as Archive>::Archived: CheckBytes<__C>,

source§

unsafe fn check_bytes( + value: *const Self, + context: &mut __C, +) -> Result<(), <__C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Portable for ArchivedPatchRelationship
where + UserId: Archive, + PatchRelationshipBody: Archive, + <UserId as Archive>::Archived: Portable, + <PatchRelationshipBody as Archive>::Archived: Portable,

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/user/struct.ArchivedPatchRelationshipBody.html b/client_sdk/api/commands/user/struct.ArchivedPatchRelationshipBody.html new file mode 100644 index 000000000..547cf023e --- /dev/null +++ b/client_sdk/api/commands/user/struct.ArchivedPatchRelationshipBody.html @@ -0,0 +1,39 @@ +ArchivedPatchRelationshipBody in client_sdk::api::commands::user - Rust
#[repr(C)]
pub struct ArchivedPatchRelationshipBody
where + Nullable<UserRelationship>: Archive, + Nullable<SmolStr>: Archive,
{ + pub rel: <Nullable<UserRelationship> as Archive>::Archived, + pub note: <Nullable<SmolStr> as Archive>::Archived, +}
Expand description

An archived PatchRelationshipBody

+

Fields§

§rel: <Nullable<UserRelationship> as Archive>::Archived§note: <Nullable<SmolStr> as Archive>::Archived

Trait Implementations§

source§

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedPatchRelationshipBody
where + Nullable<UserRelationship>: Archive, + Nullable<SmolStr>: Archive, + <__C as Fallible>::Error: Trace, + <Nullable<UserRelationship> as Archive>::Archived: CheckBytes<__C>, + <Nullable<SmolStr> as Archive>::Archived: CheckBytes<__C>,

source§

unsafe fn check_bytes( + value: *const Self, + context: &mut __C, +) -> Result<(), <__C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Portable for ArchivedPatchRelationshipBody
where + Nullable<UserRelationship>: Archive, + Nullable<SmolStr>: Archive, + <Nullable<UserRelationship> as Archive>::Archived: Portable, + <Nullable<SmolStr> as Archive>::Archived: Portable,

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/user/struct.ArchivedRemove2FA.html b/client_sdk/api/commands/user/struct.ArchivedRemove2FA.html new file mode 100644 index 000000000..832e63dd8 --- /dev/null +++ b/client_sdk/api/commands/user/struct.ArchivedRemove2FA.html @@ -0,0 +1,33 @@ +ArchivedRemove2FA in client_sdk::api::commands::user - Rust

Struct client_sdk::api::commands::user::ArchivedRemove2FA

source ·
#[repr(C)]
pub struct ArchivedRemove2FA
where + Remove2FAForm: Archive,
{ + pub body: <Remove2FAForm as Archive>::Archived, +}
Expand description

An archived Remove2FA

+

Fields§

§body: <Remove2FAForm as Archive>::Archived

Trait Implementations§

source§

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedRemove2FA
where + Remove2FAForm: Archive, + <__C as Fallible>::Error: Trace, + <Remove2FAForm as Archive>::Archived: CheckBytes<__C>,

source§

unsafe fn check_bytes( + value: *const Self, + context: &mut __C, +) -> Result<(), <__C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Portable for ArchivedRemove2FA
where + Remove2FAForm: Archive, + <Remove2FAForm as Archive>::Archived: Portable,

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/user/struct.ArchivedRemove2FAForm.html b/client_sdk/api/commands/user/struct.ArchivedRemove2FAForm.html new file mode 100644 index 000000000..8d831428a --- /dev/null +++ b/client_sdk/api/commands/user/struct.ArchivedRemove2FAForm.html @@ -0,0 +1,34 @@ +ArchivedRemove2FAForm in client_sdk::api::commands::user - Rust

Struct client_sdk::api::commands::user::ArchivedRemove2FAForm

source ·
#[repr(C)]
pub struct ArchivedRemove2FAForm
where + SmolStr: Archive,
{ + pub password: <SmolStr as Archive>::Archived, + pub totp: <SmolStr as Archive>::Archived, +}
Expand description

An archived Remove2FAForm

+

Fields§

§password: <SmolStr as Archive>::Archived§totp: <SmolStr as Archive>::Archived

Trait Implementations§

source§

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedRemove2FAForm
where + SmolStr: Archive, + <__C as Fallible>::Error: Trace, + <SmolStr as Archive>::Archived: CheckBytes<__C>,

source§

unsafe fn check_bytes( + value: *const Self, + context: &mut __C, +) -> Result<(), <__C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Portable for ArchivedRemove2FAForm
where + SmolStr: Archive, + <SmolStr as Archive>::Archived: Portable,

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/user/struct.ArchivedUpdateUserPrefs.html b/client_sdk/api/commands/user/struct.ArchivedUpdateUserPrefs.html new file mode 100644 index 000000000..ba9aee9b6 --- /dev/null +++ b/client_sdk/api/commands/user/struct.ArchivedUpdateUserPrefs.html @@ -0,0 +1,33 @@ +ArchivedUpdateUserPrefs in client_sdk::api::commands::user - Rust

Struct client_sdk::api::commands::user::ArchivedUpdateUserPrefs

source ·
#[repr(C)]
pub struct ArchivedUpdateUserPrefs
where + UpdateUserPrefsBody: Archive,
{ + pub body: <UpdateUserPrefsBody as Archive>::Archived, +}
Expand description

An archived UpdateUserPrefs

+

Fields§

§body: <UpdateUserPrefsBody as Archive>::Archived

Trait Implementations§

source§

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedUpdateUserPrefs
where + UpdateUserPrefsBody: Archive, + <__C as Fallible>::Error: Trace, + <UpdateUserPrefsBody as Archive>::Archived: CheckBytes<__C>,

source§

unsafe fn check_bytes( + value: *const Self, + context: &mut __C, +) -> Result<(), <__C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Portable for ArchivedUpdateUserPrefs
where + UpdateUserPrefsBody: Archive, + <UpdateUserPrefsBody as Archive>::Archived: Portable,

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/user/struct.ArchivedUpdateUserPrefsBody.html b/client_sdk/api/commands/user/struct.ArchivedUpdateUserPrefsBody.html new file mode 100644 index 000000000..b464873d2 --- /dev/null +++ b/client_sdk/api/commands/user/struct.ArchivedUpdateUserPrefsBody.html @@ -0,0 +1,33 @@ +ArchivedUpdateUserPrefsBody in client_sdk::api::commands::user - Rust
#[repr(C)]
pub struct ArchivedUpdateUserPrefsBody
where + UserPreferences: Archive,
{ + pub inner: <UserPreferences as Archive>::Archived, +}
Expand description

An archived UpdateUserPrefsBody

+

Fields§

§inner: <UserPreferences as Archive>::Archived

Trait Implementations§

source§

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedUpdateUserPrefsBody
where + UserPreferences: Archive, + <__C as Fallible>::Error: Trace, + <UserPreferences as Archive>::Archived: CheckBytes<__C>,

source§

unsafe fn check_bytes( + value: *const Self, + context: &mut __C, +) -> Result<(), <__C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Portable for ArchivedUpdateUserPrefsBody
where + UserPreferences: Archive, + <UserPreferences as Archive>::Archived: Portable,

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/user/struct.ArchivedUpdateUserProfile.html b/client_sdk/api/commands/user/struct.ArchivedUpdateUserProfile.html new file mode 100644 index 000000000..d7ccf6a11 --- /dev/null +++ b/client_sdk/api/commands/user/struct.ArchivedUpdateUserProfile.html @@ -0,0 +1,33 @@ +ArchivedUpdateUserProfile in client_sdk::api::commands::user - Rust

Struct client_sdk::api::commands::user::ArchivedUpdateUserProfile

source ·
#[repr(C)]
pub struct ArchivedUpdateUserProfile
where + UpdateUserProfileBody: Archive,
{ + pub body: <UpdateUserProfileBody as Archive>::Archived, +}
Expand description

An archived UpdateUserProfile

+

Fields§

§body: <UpdateUserProfileBody as Archive>::Archived

Trait Implementations§

source§

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedUpdateUserProfile
where + UpdateUserProfileBody: Archive, + <__C as Fallible>::Error: Trace, + <UpdateUserProfileBody as Archive>::Archived: CheckBytes<__C>,

source§

unsafe fn check_bytes( + value: *const Self, + context: &mut __C, +) -> Result<(), <__C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Portable for ArchivedUpdateUserProfile
where + UpdateUserProfileBody: Archive, + <UpdateUserProfileBody as Archive>::Archived: Portable,

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/user/struct.ArchivedUpdateUserProfileBody.html b/client_sdk/api/commands/user/struct.ArchivedUpdateUserProfileBody.html new file mode 100644 index 000000000..dd0f993d7 --- /dev/null +++ b/client_sdk/api/commands/user/struct.ArchivedUpdateUserProfileBody.html @@ -0,0 +1,60 @@ +ArchivedUpdateUserProfileBody in client_sdk::api::commands::user - Rust
#[repr(C)]
pub struct ArchivedUpdateUserProfileBody
where + UserProfileBits: Archive, + ExtraUserProfileBits: Archive, + Nullable<SmolStr>: Archive, + Nullable<FileId>: Archive, + BannerAlign: Archive,
{ + pub bits: <UserProfileBits as Archive>::Archived, + pub extra: <ExtraUserProfileBits as Archive>::Archived, + pub nick: <Nullable<SmolStr> as Archive>::Archived, + pub avatar: <Nullable<FileId> as Archive>::Archived, + pub banner: <Nullable<FileId> as Archive>::Archived, + pub banner_align: <BannerAlign as Archive>::Archived, + pub status: <Nullable<SmolStr> as Archive>::Archived, + pub bio: <Nullable<SmolStr> as Archive>::Archived, +}
Expand description

An archived UpdateUserProfileBody

+

Fields§

§bits: <UserProfileBits as Archive>::Archived§extra: <ExtraUserProfileBits as Archive>::Archived§nick: <Nullable<SmolStr> as Archive>::Archived§avatar: <Nullable<FileId> as Archive>::Archived§banner: <Nullable<FileId> as Archive>::Archived§banner_align: <BannerAlign as Archive>::Archived§status: <Nullable<SmolStr> as Archive>::Archived§bio: <Nullable<SmolStr> as Archive>::Archived

Trait Implementations§

source§

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedUpdateUserProfileBody
where + UserProfileBits: Archive, + ExtraUserProfileBits: Archive, + Nullable<SmolStr>: Archive, + Nullable<FileId>: Archive, + BannerAlign: Archive, + <__C as Fallible>::Error: Trace, + <UserProfileBits as Archive>::Archived: CheckBytes<__C>, + <ExtraUserProfileBits as Archive>::Archived: CheckBytes<__C>, + <Nullable<SmolStr> as Archive>::Archived: CheckBytes<__C>, + <Nullable<FileId> as Archive>::Archived: CheckBytes<__C>, + <BannerAlign as Archive>::Archived: CheckBytes<__C>,

source§

unsafe fn check_bytes( + value: *const Self, + context: &mut __C, +) -> Result<(), <__C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Portable for ArchivedUpdateUserProfileBody
where + UserProfileBits: Archive, + ExtraUserProfileBits: Archive, + Nullable<SmolStr>: Archive, + Nullable<FileId>: Archive, + BannerAlign: Archive, + <UserProfileBits as Archive>::Archived: Portable, + <ExtraUserProfileBits as Archive>::Archived: Portable, + <Nullable<SmolStr> as Archive>::Archived: Portable, + <Nullable<FileId> as Archive>::Archived: Portable, + <BannerAlign as Archive>::Archived: Portable,

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/user/struct.ArchivedUserLogin.html b/client_sdk/api/commands/user/struct.ArchivedUserLogin.html new file mode 100644 index 000000000..7a57daf10 --- /dev/null +++ b/client_sdk/api/commands/user/struct.ArchivedUserLogin.html @@ -0,0 +1,33 @@ +ArchivedUserLogin in client_sdk::api::commands::user - Rust

Struct client_sdk::api::commands::user::ArchivedUserLogin

source ·
#[repr(C)]
pub struct ArchivedUserLogin
where + UserLoginForm: Archive,
{ + pub body: <UserLoginForm as Archive>::Archived, +}
Expand description

An archived UserLogin

+

Fields§

§body: <UserLoginForm as Archive>::Archived

Trait Implementations§

source§

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedUserLogin
where + UserLoginForm: Archive, + <__C as Fallible>::Error: Trace, + <UserLoginForm as Archive>::Archived: CheckBytes<__C>,

source§

unsafe fn check_bytes( + value: *const Self, + context: &mut __C, +) -> Result<(), <__C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Portable for ArchivedUserLogin
where + UserLoginForm: Archive, + <UserLoginForm as Archive>::Archived: Portable,

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/user/struct.ArchivedUserLoginForm.html b/client_sdk/api/commands/user/struct.ArchivedUserLoginForm.html new file mode 100644 index 000000000..ef7b7618f --- /dev/null +++ b/client_sdk/api/commands/user/struct.ArchivedUserLoginForm.html @@ -0,0 +1,40 @@ +ArchivedUserLoginForm in client_sdk::api::commands::user - Rust

Struct client_sdk::api::commands::user::ArchivedUserLoginForm

source ·
#[repr(C)]
pub struct ArchivedUserLoginForm
where + SmolStr: Archive, + Option<SmolStr>: Archive,
{ + pub email: <SmolStr as Archive>::Archived, + pub password: <SmolStr as Archive>::Archived, + pub totp: <Option<SmolStr> as Archive>::Archived, +}
Expand description

An archived UserLoginForm

+

Fields§

§email: <SmolStr as Archive>::Archived§password: <SmolStr as Archive>::Archived§totp: <Option<SmolStr> as Archive>::Archived

Trait Implementations§

source§

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedUserLoginForm
where + SmolStr: Archive, + Option<SmolStr>: Archive, + <__C as Fallible>::Error: Trace, + <SmolStr as Archive>::Archived: CheckBytes<__C>, + <Option<SmolStr> as Archive>::Archived: CheckBytes<__C>,

source§

unsafe fn check_bytes( + value: *const Self, + context: &mut __C, +) -> Result<(), <__C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Portable for ArchivedUserLoginForm
where + SmolStr: Archive, + Option<SmolStr>: Archive, + <SmolStr as Archive>::Archived: Portable, + <Option<SmolStr> as Archive>::Archived: Portable,

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/user/struct.ArchivedUserLogout.html b/client_sdk/api/commands/user/struct.ArchivedUserLogout.html new file mode 100644 index 000000000..021420891 --- /dev/null +++ b/client_sdk/api/commands/user/struct.ArchivedUserLogout.html @@ -0,0 +1,26 @@ +ArchivedUserLogout in client_sdk::api::commands::user - Rust

Struct client_sdk::api::commands::user::ArchivedUserLogout

source ·
#[repr(C)]
pub struct ArchivedUserLogout {}
Expand description

An archived UserLogout

+

Trait Implementations§

source§

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedUserLogout
where + <__C as Fallible>::Error: Trace,

source§

unsafe fn check_bytes( + value: *const Self, + context: &mut __C, +) -> Result<(), <__C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Portable for ArchivedUserLogout

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/user/struct.ArchivedUserRegister.html b/client_sdk/api/commands/user/struct.ArchivedUserRegister.html new file mode 100644 index 000000000..0183d088c --- /dev/null +++ b/client_sdk/api/commands/user/struct.ArchivedUserRegister.html @@ -0,0 +1,33 @@ +ArchivedUserRegister in client_sdk::api::commands::user - Rust

Struct client_sdk::api::commands::user::ArchivedUserRegister

source ·
#[repr(C)]
pub struct ArchivedUserRegister
where + UserRegisterForm: Archive,
{ + pub body: <UserRegisterForm as Archive>::Archived, +}
Expand description

An archived UserRegister

+

Fields§

§body: <UserRegisterForm as Archive>::Archived

Trait Implementations§

source§

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedUserRegister
where + UserRegisterForm: Archive, + <__C as Fallible>::Error: Trace, + <UserRegisterForm as Archive>::Archived: CheckBytes<__C>,

source§

unsafe fn check_bytes( + value: *const Self, + context: &mut __C, +) -> Result<(), <__C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Portable for ArchivedUserRegister
where + UserRegisterForm: Archive, + <UserRegisterForm as Archive>::Archived: Portable,

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/user/struct.ArchivedUserRegisterForm.html b/client_sdk/api/commands/user/struct.ArchivedUserRegisterForm.html new file mode 100644 index 000000000..f4f8e7a8d --- /dev/null +++ b/client_sdk/api/commands/user/struct.ArchivedUserRegisterForm.html @@ -0,0 +1,47 @@ +ArchivedUserRegisterForm in client_sdk::api::commands::user - Rust

Struct client_sdk::api::commands::user::ArchivedUserRegisterForm

source ·
#[repr(C)]
pub struct ArchivedUserRegisterForm
where + SmolStr: Archive, + Timestamp: Archive, + String: Archive,
{ + pub email: <SmolStr as Archive>::Archived, + pub username: <SmolStr as Archive>::Archived, + pub password: <SmolStr as Archive>::Archived, + pub dob: <Timestamp as Archive>::Archived, + pub token: <String as Archive>::Archived, +}
Expand description

An archived UserRegisterForm

+

Fields§

§email: <SmolStr as Archive>::Archived§username: <SmolStr as Archive>::Archived§password: <SmolStr as Archive>::Archived§dob: <Timestamp as Archive>::Archived§token: <String as Archive>::Archived

Trait Implementations§

source§

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedUserRegisterForm
where + SmolStr: Archive, + Timestamp: Archive, + String: Archive, + <__C as Fallible>::Error: Trace, + <SmolStr as Archive>::Archived: CheckBytes<__C>, + <Timestamp as Archive>::Archived: CheckBytes<__C>, + <String as Archive>::Archived: CheckBytes<__C>,

source§

unsafe fn check_bytes( + value: *const Self, + context: &mut __C, +) -> Result<(), <__C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Portable for ArchivedUserRegisterForm
where + SmolStr: Archive, + Timestamp: Archive, + String: Archive, + <SmolStr as Archive>::Archived: Portable, + <Timestamp as Archive>::Archived: Portable, + <String as Archive>::Archived: Portable,

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/user/struct.ChangePassword.html b/client_sdk/api/commands/user/struct.ChangePassword.html new file mode 100644 index 000000000..22cd97258 --- /dev/null +++ b/client_sdk/api/commands/user/struct.ChangePassword.html @@ -0,0 +1,56 @@ +ChangePassword in client_sdk::api::commands::user - Rust

Struct client_sdk::api::commands::user::ChangePassword

source ·
pub struct ChangePassword {
+    pub body: ChangePasswordForm,
+}

Fields§

§body: ChangePasswordForm

Body to be serialized as request body or query parameters (if GET)

+

Implementations§

source§

impl ChangePassword

source

pub const fn new(current: SmolStr, new: SmolStr, totp: Option<SmolStr>) -> Self

Construct new instance from individual fields

+

Trait Implementations§

source§

impl Archive for ChangePassword
where + ChangePasswordForm: Archive,

source§

type Archived = ArchivedChangePassword

The archived representation of this type. Read more
source§

type Resolver = ChangePasswordResolver

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
source§

impl Command for ChangePassword

source§

const RATE_LIMIT: RateLimit = _

+
RateLimit {
+    emission_interval: 2000ms,
+    burst_size: 1,
+}
+

If not specified, the burst_size will be from RateLimit::DEFAULT.

+
source§

const STREAM: bool = false

Whether the command returns one or many items
source§

const IS_QUERY: bool = false

Whether the command has a query string or sends a body
source§

async fn collect<S, E>(stream: S) -> Result<Self::Result, E>
where + S: Stream<Item = Result<Self::Item, E>> + Send, + E: From<MissingItemError>,

Used to collect the Result from an arbitrary Stream of items.
source§

type Item = ()

The underlying type of each returned item, be it one or many.
source§

type Result = ()

Item(s) returned from the server by a given command
source§

const HTTP_METHOD: Method = http::Method::PATCH

HTTP Method used to execute the command
source§

const FLAGS: CommandFlags = _

Flags for the command, defaults to empty.
source§

const SERVER_TIMEOUT: Duration = _

On the server side, how long to wait before timing out the request.
source§

fn perms(&self) -> Permissions

Computes required permissions
source§

const ROUTE_PATTERN: &'static str = "/api/v1/user/@me/password"

Path pattern for the command (without query) when used with matchit 0.8 or higher.
source§

fn format_path<W: Write>(&self, w: W) -> Result

Serialize/format the REST path (without query)
source§

type Body = ChangePasswordForm

Body type for the command
source§

fn body(&self) -> &Self::Body

Body to be serialized as request body or query parameters (if GET)
source§

fn body_size_hint(&self) -> usize

Hint given to preallocate body size, only used for query strings
source§

fn add_headers(&self, _map: &mut HeaderMap)

Insert any additional headers required to perform this command
source§

impl Debug for ChangePassword

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Deref for ChangePassword

source§

type Target = ChangePasswordForm

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl DerefMut for ChangePassword

source§

fn deref_mut(&mut self) -> &mut Self::Target

Mutably dereferences the value.
source§

impl<__D: Fallible + ?Sized> Deserialize<ChangePassword, __D> for Archived<ChangePassword>
where + ChangePasswordForm: Archive, + <ChangePasswordForm as Archive>::Archived: Deserialize<ChangePasswordForm, __D>,

source§

fn deserialize( + &self, + deserializer: &mut __D, +) -> Result<ChangePassword, <__D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<__S: Fallible + ?Sized> Serialize<__S> for ChangePassword
where + ChangePasswordForm: Serialize<__S>,

source§

fn serialize( + &self, + serializer: &mut __S, +) -> Result<<Self as Archive>::Resolver, <__S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/user/struct.ChangePasswordForm.html b/client_sdk/api/commands/user/struct.ChangePasswordForm.html new file mode 100644 index 000000000..5771c445e --- /dev/null +++ b/client_sdk/api/commands/user/struct.ChangePasswordForm.html @@ -0,0 +1,60 @@ +ChangePasswordForm in client_sdk::api::commands::user - Rust

Struct client_sdk::api::commands::user::ChangePasswordForm

source ·
pub struct ChangePasswordForm {
+    pub current: SmolStr,
+    pub new: SmolStr,
+    pub totp: Option<SmolStr>,
+}

Fields§

§current: SmolStr

Current password

+
§new: SmolStr

New password

+
§totp: Option<SmolStr>

2FA token, if enabled

+

Trait Implementations§

source§

impl Archive for ChangePasswordForm
where + SmolStr: Archive, + Option<SmolStr>: Archive,

source§

type Archived = ArchivedChangePasswordForm

The archived representation of this type. Read more
source§

type Resolver = ChangePasswordFormResolver

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
source§

impl Debug for ChangePasswordForm

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for ChangePasswordForm

source§

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<__D: Fallible + ?Sized> Deserialize<ChangePasswordForm, __D> for Archived<ChangePasswordForm>
where + SmolStr: Archive, + <SmolStr as Archive>::Archived: Deserialize<SmolStr, __D>, + Option<SmolStr>: Archive, + <Option<SmolStr> as Archive>::Archived: Deserialize<Option<SmolStr>, __D>,

source§

fn deserialize( + &self, + deserializer: &mut __D, +) -> Result<ChangePasswordForm, <__D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<__S: Fallible + ?Sized> Serialize<__S> for ChangePasswordForm
where + SmolStr: Serialize<__S>, + Option<SmolStr>: Serialize<__S>,

source§

fn serialize( + &self, + serializer: &mut __S, +) -> Result<<Self as Archive>::Resolver, <__S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.
source§

impl Serialize for ChangePasswordForm

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
source§

impl<T> CommandBody for T
where + T: Send + Serialize + Archive,

source§

impl<T> CommandResult for T
where + T: Send + DeserializeOwned + Serialize + Archive,

source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/user/struct.ChangePasswordFormResolver.html b/client_sdk/api/commands/user/struct.ChangePasswordFormResolver.html new file mode 100644 index 000000000..47e1afb29 --- /dev/null +++ b/client_sdk/api/commands/user/struct.ChangePasswordFormResolver.html @@ -0,0 +1,23 @@ +ChangePasswordFormResolver in client_sdk::api::commands::user - Rust

Struct client_sdk::api::commands::user::ChangePasswordFormResolver

source ·
pub struct ChangePasswordFormResolver
where + SmolStr: Archive, + Option<SmolStr>: Archive,
{ /* private fields */ }
Expand description

The resolver for an archived ChangePasswordForm

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/user/struct.ChangePasswordResolver.html b/client_sdk/api/commands/user/struct.ChangePasswordResolver.html new file mode 100644 index 000000000..dec7ba990 --- /dev/null +++ b/client_sdk/api/commands/user/struct.ChangePasswordResolver.html @@ -0,0 +1,22 @@ +ChangePasswordResolver in client_sdk::api::commands::user - Rust

Struct client_sdk::api::commands::user::ChangePasswordResolver

source ·
pub struct ChangePasswordResolver
where + ChangePasswordForm: Archive,
{ /* private fields */ }
Expand description

The resolver for an archived ChangePassword

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/user/struct.ClearSessions.html b/client_sdk/api/commands/user/struct.ClearSessions.html new file mode 100644 index 000000000..87ae66bed --- /dev/null +++ b/client_sdk/api/commands/user/struct.ClearSessions.html @@ -0,0 +1,57 @@ +ClearSessions in client_sdk::api::commands::user - Rust

Struct client_sdk::api::commands::user::ClearSessions

source ·
pub struct ClearSessions {
+    pub body: ClearSessionsForm,
+}
Expand description

Clears all other sessions

+

Fields§

§body: ClearSessionsForm

Body to be serialized as request body or query parameters (if GET)

+

Implementations§

source§

impl ClearSessions

source

pub const fn new(totp: Option<SmolStr>) -> Self

Construct new instance from individual fields

+

Trait Implementations§

source§

impl Archive for ClearSessions
where + ClearSessionsForm: Archive,

source§

type Archived = ArchivedClearSessions

The archived representation of this type. Read more
source§

type Resolver = ClearSessionsResolver

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
source§

impl Command for ClearSessions

source§

const RATE_LIMIT: RateLimit = _

+
RateLimit {
+    emission_interval: 5000ms,
+    burst_size: 1,
+}
+

If not specified, the burst_size will be from RateLimit::DEFAULT.

+
source§

const STREAM: bool = false

Whether the command returns one or many items
source§

const IS_QUERY: bool = false

Whether the command has a query string or sends a body
source§

async fn collect<S, E>(stream: S) -> Result<Self::Result, E>
where + S: Stream<Item = Result<Self::Item, E>> + Send, + E: From<MissingItemError>,

Used to collect the Result from an arbitrary Stream of items.
source§

type Item = ()

The underlying type of each returned item, be it one or many.
source§

type Result = ()

Item(s) returned from the server by a given command
source§

const HTTP_METHOD: Method = http::Method::DELETE

HTTP Method used to execute the command
source§

const FLAGS: CommandFlags = _

Flags for the command, defaults to empty.
source§

const SERVER_TIMEOUT: Duration = _

On the server side, how long to wait before timing out the request.
source§

fn perms(&self) -> Permissions

Computes required permissions
source§

const ROUTE_PATTERN: &'static str = "/api/v1/user/@me/sessions"

Path pattern for the command (without query) when used with matchit 0.8 or higher.
source§

fn format_path<W: Write>(&self, w: W) -> Result

Serialize/format the REST path (without query)
source§

type Body = ClearSessionsForm

Body type for the command
source§

fn body(&self) -> &Self::Body

Body to be serialized as request body or query parameters (if GET)
source§

fn body_size_hint(&self) -> usize

Hint given to preallocate body size, only used for query strings
source§

fn add_headers(&self, _map: &mut HeaderMap)

Insert any additional headers required to perform this command
source§

impl Debug for ClearSessions

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Deref for ClearSessions

source§

type Target = ClearSessionsForm

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl DerefMut for ClearSessions

source§

fn deref_mut(&mut self) -> &mut Self::Target

Mutably dereferences the value.
source§

impl<__D: Fallible + ?Sized> Deserialize<ClearSessions, __D> for Archived<ClearSessions>
where + ClearSessionsForm: Archive, + <ClearSessionsForm as Archive>::Archived: Deserialize<ClearSessionsForm, __D>,

source§

fn deserialize( + &self, + deserializer: &mut __D, +) -> Result<ClearSessions, <__D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<__S: Fallible + ?Sized> Serialize<__S> for ClearSessions
where + ClearSessionsForm: Serialize<__S>,

source§

fn serialize( + &self, + serializer: &mut __S, +) -> Result<<Self as Archive>::Resolver, <__S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/user/struct.ClearSessionsForm.html b/client_sdk/api/commands/user/struct.ClearSessionsForm.html new file mode 100644 index 000000000..65191fe36 --- /dev/null +++ b/client_sdk/api/commands/user/struct.ClearSessionsForm.html @@ -0,0 +1,51 @@ +ClearSessionsForm in client_sdk::api::commands::user - Rust

Struct client_sdk::api::commands::user::ClearSessionsForm

source ·
pub struct ClearSessionsForm {
+    pub totp: Option<SmolStr>,
+}

Fields§

§totp: Option<SmolStr>

Trait Implementations§

source§

impl Archive for ClearSessionsForm
where + Option<SmolStr>: Archive,

source§

type Archived = ArchivedClearSessionsForm

The archived representation of this type. Read more
source§

type Resolver = ClearSessionsFormResolver

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
source§

impl Debug for ClearSessionsForm

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for ClearSessionsForm

source§

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<__D: Fallible + ?Sized> Deserialize<ClearSessionsForm, __D> for Archived<ClearSessionsForm>
where + Option<SmolStr>: Archive, + <Option<SmolStr> as Archive>::Archived: Deserialize<Option<SmolStr>, __D>,

source§

fn deserialize( + &self, + deserializer: &mut __D, +) -> Result<ClearSessionsForm, <__D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<__S: Fallible + ?Sized> Serialize<__S> for ClearSessionsForm
where + Option<SmolStr>: Serialize<__S>,

source§

fn serialize( + &self, + serializer: &mut __S, +) -> Result<<Self as Archive>::Resolver, <__S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.
source§

impl Serialize for ClearSessionsForm

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
source§

impl<T> CommandBody for T
where + T: Send + Serialize + Archive,

source§

impl<T> CommandResult for T
where + T: Send + DeserializeOwned + Serialize + Archive,

source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/user/struct.ClearSessionsFormResolver.html b/client_sdk/api/commands/user/struct.ClearSessionsFormResolver.html new file mode 100644 index 000000000..e961ab731 --- /dev/null +++ b/client_sdk/api/commands/user/struct.ClearSessionsFormResolver.html @@ -0,0 +1,22 @@ +ClearSessionsFormResolver in client_sdk::api::commands::user - Rust

Struct client_sdk::api::commands::user::ClearSessionsFormResolver

source ·
pub struct ClearSessionsFormResolver
where + Option<SmolStr>: Archive,
{ /* private fields */ }
Expand description

The resolver for an archived ClearSessionsForm

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/user/struct.ClearSessionsResolver.html b/client_sdk/api/commands/user/struct.ClearSessionsResolver.html new file mode 100644 index 000000000..7c91e1141 --- /dev/null +++ b/client_sdk/api/commands/user/struct.ClearSessionsResolver.html @@ -0,0 +1,22 @@ +ClearSessionsResolver in client_sdk::api::commands::user - Rust

Struct client_sdk::api::commands::user::ClearSessionsResolver

source ·
pub struct ClearSessionsResolver
where + ClearSessionsForm: Archive,
{ /* private fields */ }
Expand description

The resolver for an archived ClearSessions

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/user/struct.Confirm2FA.html b/client_sdk/api/commands/user/struct.Confirm2FA.html new file mode 100644 index 000000000..18d7ba1da --- /dev/null +++ b/client_sdk/api/commands/user/struct.Confirm2FA.html @@ -0,0 +1,56 @@ +Confirm2FA in client_sdk::api::commands::user - Rust

Struct client_sdk::api::commands::user::Confirm2FA

source ·
pub struct Confirm2FA {
+    pub body: Confirm2FAForm,
+}

Fields§

§body: Confirm2FAForm

Body to be serialized as request body or query parameters (if GET)

+

Implementations§

source§

impl Confirm2FA

source

pub const fn new(password: SmolStr, totp: SmolStr) -> Self

Construct new instance from individual fields

+

Trait Implementations§

source§

impl Archive for Confirm2FA
where + Confirm2FAForm: Archive,

source§

type Archived = ArchivedConfirm2FA

The archived representation of this type. Read more
source§

type Resolver = Confirm2FAResolver

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
source§

impl Command for Confirm2FA

source§

const RATE_LIMIT: RateLimit = _

+
RateLimit {
+    emission_interval: 2000ms,
+    burst_size: 1,
+}
+

If not specified, the burst_size will be from RateLimit::DEFAULT.

+
source§

const STREAM: bool = false

Whether the command returns one or many items
source§

const IS_QUERY: bool = false

Whether the command has a query string or sends a body
source§

async fn collect<S, E>(stream: S) -> Result<Self::Result, E>
where + S: Stream<Item = Result<Self::Item, E>> + Send, + E: From<MissingItemError>,

Used to collect the Result from an arbitrary Stream of items.
source§

type Item = ()

The underlying type of each returned item, be it one or many.
source§

type Result = ()

Item(s) returned from the server by a given command
source§

const HTTP_METHOD: Method = http::Method::PATCH

HTTP Method used to execute the command
source§

const FLAGS: CommandFlags = _

Flags for the command, defaults to empty.
source§

const SERVER_TIMEOUT: Duration = _

On the server side, how long to wait before timing out the request.
source§

fn perms(&self) -> Permissions

Computes required permissions
source§

const ROUTE_PATTERN: &'static str = "/api/v1/user/@me/2fa"

Path pattern for the command (without query) when used with matchit 0.8 or higher.
source§

fn format_path<W: Write>(&self, w: W) -> Result

Serialize/format the REST path (without query)
source§

type Body = Confirm2FAForm

Body type for the command
source§

fn body(&self) -> &Self::Body

Body to be serialized as request body or query parameters (if GET)
source§

fn body_size_hint(&self) -> usize

Hint given to preallocate body size, only used for query strings
source§

fn add_headers(&self, _map: &mut HeaderMap)

Insert any additional headers required to perform this command
source§

impl Debug for Confirm2FA

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Deref for Confirm2FA

source§

type Target = Confirm2FAForm

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl DerefMut for Confirm2FA

source§

fn deref_mut(&mut self) -> &mut Self::Target

Mutably dereferences the value.
source§

impl<__D: Fallible + ?Sized> Deserialize<Confirm2FA, __D> for Archived<Confirm2FA>
where + Confirm2FAForm: Archive, + <Confirm2FAForm as Archive>::Archived: Deserialize<Confirm2FAForm, __D>,

source§

fn deserialize( + &self, + deserializer: &mut __D, +) -> Result<Confirm2FA, <__D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<__S: Fallible + ?Sized> Serialize<__S> for Confirm2FA
where + Confirm2FAForm: Serialize<__S>,

source§

fn serialize( + &self, + serializer: &mut __S, +) -> Result<<Self as Archive>::Resolver, <__S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/user/struct.Confirm2FAForm.html b/client_sdk/api/commands/user/struct.Confirm2FAForm.html new file mode 100644 index 000000000..d694dbf95 --- /dev/null +++ b/client_sdk/api/commands/user/struct.Confirm2FAForm.html @@ -0,0 +1,52 @@ +Confirm2FAForm in client_sdk::api::commands::user - Rust

Struct client_sdk::api::commands::user::Confirm2FAForm

source ·
pub struct Confirm2FAForm {
+    pub password: SmolStr,
+    pub totp: SmolStr,
+}

Fields§

§password: SmolStr§totp: SmolStr

Trait Implementations§

source§

impl Archive for Confirm2FAForm
where + SmolStr: Archive,

source§

type Archived = ArchivedConfirm2FAForm

The archived representation of this type. Read more
source§

type Resolver = Confirm2FAFormResolver

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
source§

impl Debug for Confirm2FAForm

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for Confirm2FAForm

source§

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<__D: Fallible + ?Sized> Deserialize<Confirm2FAForm, __D> for Archived<Confirm2FAForm>
where + SmolStr: Archive, + <SmolStr as Archive>::Archived: Deserialize<SmolStr, __D>,

source§

fn deserialize( + &self, + deserializer: &mut __D, +) -> Result<Confirm2FAForm, <__D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<__S: Fallible + ?Sized> Serialize<__S> for Confirm2FAForm
where + SmolStr: Serialize<__S>,

source§

fn serialize( + &self, + serializer: &mut __S, +) -> Result<<Self as Archive>::Resolver, <__S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.
source§

impl Serialize for Confirm2FAForm

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
source§

impl<T> CommandBody for T
where + T: Send + Serialize + Archive,

source§

impl<T> CommandResult for T
where + T: Send + DeserializeOwned + Serialize + Archive,

source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/user/struct.Confirm2FAFormResolver.html b/client_sdk/api/commands/user/struct.Confirm2FAFormResolver.html new file mode 100644 index 000000000..5fdac15a5 --- /dev/null +++ b/client_sdk/api/commands/user/struct.Confirm2FAFormResolver.html @@ -0,0 +1,22 @@ +Confirm2FAFormResolver in client_sdk::api::commands::user - Rust

Struct client_sdk::api::commands::user::Confirm2FAFormResolver

source ·
pub struct Confirm2FAFormResolver
where + SmolStr: Archive,
{ /* private fields */ }
Expand description

The resolver for an archived Confirm2FAForm

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/user/struct.Confirm2FAResolver.html b/client_sdk/api/commands/user/struct.Confirm2FAResolver.html new file mode 100644 index 000000000..bf8e0084f --- /dev/null +++ b/client_sdk/api/commands/user/struct.Confirm2FAResolver.html @@ -0,0 +1,22 @@ +Confirm2FAResolver in client_sdk::api::commands::user - Rust

Struct client_sdk::api::commands::user::Confirm2FAResolver

source ·
pub struct Confirm2FAResolver
where + Confirm2FAForm: Archive,
{ /* private fields */ }
Expand description

The resolver for an archived Confirm2FA

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/user/struct.Enable2FA.html b/client_sdk/api/commands/user/struct.Enable2FA.html new file mode 100644 index 000000000..569d85951 --- /dev/null +++ b/client_sdk/api/commands/user/struct.Enable2FA.html @@ -0,0 +1,56 @@ +Enable2FA in client_sdk::api::commands::user - Rust

Struct client_sdk::api::commands::user::Enable2FA

source ·
pub struct Enable2FA {
+    pub body: Enable2FAForm,
+}

Fields§

§body: Enable2FAForm

Body to be serialized as request body or query parameters (if GET)

+

Implementations§

source§

impl Enable2FA

source

pub const fn new(password: SmolStr, token: String) -> Self

Construct new instance from individual fields

+

Trait Implementations§

source§

impl Archive for Enable2FA
where + Enable2FAForm: Archive,

source§

type Archived = ArchivedEnable2FA

The archived representation of this type. Read more
source§

type Resolver = Enable2FAResolver

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
source§

impl Command for Enable2FA

source§

const RATE_LIMIT: RateLimit = _

+
RateLimit {
+    emission_interval: 2000ms,
+    burst_size: 1,
+}
+

If not specified, the burst_size will be from RateLimit::DEFAULT.

+
source§

const STREAM: bool = false

Whether the command returns one or many items
source§

const IS_QUERY: bool = false

Whether the command has a query string or sends a body
source§

async fn collect<S, E>(stream: S) -> Result<Self::Result, E>
where + S: Stream<Item = Result<Self::Item, E>> + Send, + E: From<MissingItemError>,

Used to collect the Result from an arbitrary Stream of items.
source§

type Item = Added2FA

The underlying type of each returned item, be it one or many.
source§

type Result = Added2FA

Item(s) returned from the server by a given command
source§

const HTTP_METHOD: Method = http::Method::POST

HTTP Method used to execute the command
source§

const FLAGS: CommandFlags = _

Flags for the command, defaults to empty.
source§

const SERVER_TIMEOUT: Duration = _

On the server side, how long to wait before timing out the request.
source§

fn perms(&self) -> Permissions

Computes required permissions
source§

const ROUTE_PATTERN: &'static str = "/api/v1/user/@me/2fa"

Path pattern for the command (without query) when used with matchit 0.8 or higher.
source§

fn format_path<W: Write>(&self, w: W) -> Result

Serialize/format the REST path (without query)
source§

type Body = Enable2FAForm

Body type for the command
source§

fn body(&self) -> &Self::Body

Body to be serialized as request body or query parameters (if GET)
source§

fn body_size_hint(&self) -> usize

Hint given to preallocate body size, only used for query strings
source§

fn add_headers(&self, _map: &mut HeaderMap)

Insert any additional headers required to perform this command
source§

impl Debug for Enable2FA

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Deref for Enable2FA

source§

type Target = Enable2FAForm

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl DerefMut for Enable2FA

source§

fn deref_mut(&mut self) -> &mut Self::Target

Mutably dereferences the value.
source§

impl<__D: Fallible + ?Sized> Deserialize<Enable2FA, __D> for Archived<Enable2FA>
where + Enable2FAForm: Archive, + <Enable2FAForm as Archive>::Archived: Deserialize<Enable2FAForm, __D>,

source§

fn deserialize( + &self, + deserializer: &mut __D, +) -> Result<Enable2FA, <__D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<__S: Fallible + ?Sized> Serialize<__S> for Enable2FA
where + Enable2FAForm: Serialize<__S>,

source§

fn serialize( + &self, + serializer: &mut __S, +) -> Result<<Self as Archive>::Resolver, <__S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/user/struct.Enable2FAForm.html b/client_sdk/api/commands/user/struct.Enable2FAForm.html new file mode 100644 index 000000000..64183167f --- /dev/null +++ b/client_sdk/api/commands/user/struct.Enable2FAForm.html @@ -0,0 +1,57 @@ +Enable2FAForm in client_sdk::api::commands::user - Rust

Struct client_sdk::api::commands::user::Enable2FAForm

source ·
pub struct Enable2FAForm {
+    pub password: SmolStr,
+    pub token: String,
+}

Fields§

§password: SmolStr

Password

+
§token: String

Trait Implementations§

source§

impl Archive for Enable2FAForm
where + SmolStr: Archive, + String: Archive,

source§

type Archived = ArchivedEnable2FAForm

The archived representation of this type. Read more
source§

type Resolver = Enable2FAFormResolver

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
source§

impl Debug for Enable2FAForm

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for Enable2FAForm

source§

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<__D: Fallible + ?Sized> Deserialize<Enable2FAForm, __D> for Archived<Enable2FAForm>
where + SmolStr: Archive, + <SmolStr as Archive>::Archived: Deserialize<SmolStr, __D>, + String: Archive, + <String as Archive>::Archived: Deserialize<String, __D>,

source§

fn deserialize( + &self, + deserializer: &mut __D, +) -> Result<Enable2FAForm, <__D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<__S: Fallible + ?Sized> Serialize<__S> for Enable2FAForm
where + SmolStr: Serialize<__S>, + String: Serialize<__S>,

source§

fn serialize( + &self, + serializer: &mut __S, +) -> Result<<Self as Archive>::Resolver, <__S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.
source§

impl Serialize for Enable2FAForm

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
source§

impl<T> CommandBody for T
where + T: Send + Serialize + Archive,

source§

impl<T> CommandResult for T
where + T: Send + DeserializeOwned + Serialize + Archive,

source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/user/struct.Enable2FAFormResolver.html b/client_sdk/api/commands/user/struct.Enable2FAFormResolver.html new file mode 100644 index 000000000..cd6edc0b8 --- /dev/null +++ b/client_sdk/api/commands/user/struct.Enable2FAFormResolver.html @@ -0,0 +1,23 @@ +Enable2FAFormResolver in client_sdk::api::commands::user - Rust

Struct client_sdk::api::commands::user::Enable2FAFormResolver

source ·
pub struct Enable2FAFormResolver
where + SmolStr: Archive, + String: Archive,
{ /* private fields */ }
Expand description

The resolver for an archived Enable2FAForm

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/user/struct.Enable2FAResolver.html b/client_sdk/api/commands/user/struct.Enable2FAResolver.html new file mode 100644 index 000000000..57cf6d267 --- /dev/null +++ b/client_sdk/api/commands/user/struct.Enable2FAResolver.html @@ -0,0 +1,22 @@ +Enable2FAResolver in client_sdk::api::commands::user - Rust

Struct client_sdk::api::commands::user::Enable2FAResolver

source ·
pub struct Enable2FAResolver
where + Enable2FAForm: Archive,
{ /* private fields */ }
Expand description

The resolver for an archived Enable2FA

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/user/struct.GetRelationships.html b/client_sdk/api/commands/user/struct.GetRelationships.html new file mode 100644 index 000000000..6c611e3fd --- /dev/null +++ b/client_sdk/api/commands/user/struct.GetRelationships.html @@ -0,0 +1,43 @@ +GetRelationships in client_sdk::api::commands::user - Rust

Struct client_sdk::api::commands::user::GetRelationships

source ·
pub struct GetRelationships {}

Implementations§

source§

impl GetRelationships

source

pub const fn new() -> Self

Construct new instance from individual fields

+

Trait Implementations§

source§

impl Archive for GetRelationships

source§

type Archived = ArchivedGetRelationships

The archived representation of this type. Read more
source§

type Resolver = GetRelationshipsResolver

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
source§

impl Command for GetRelationships

source§

const STREAM: bool = true

Whether the command returns one or many items
source§

const IS_QUERY: bool = true

Whether the command has a query string or sends a body
source§

async fn collect<S, E>(stream: S) -> Result<Self::Result, E>
where + S: Stream<Item = Result<Self::Item, E>> + Send, + E: From<MissingItemError>,

Used to collect the Result from an arbitrary Stream of items.
source§

type Item = Relationship

The underlying type of each returned item, be it one or many.
source§

type Result = Vec<Relationship>

Item(s) returned from the server by a given command
source§

const HTTP_METHOD: Method = http::Method::GET

HTTP Method used to execute the command
source§

const FLAGS: CommandFlags = _

Flags for the command, defaults to empty.
source§

const RATE_LIMIT: RateLimit = _

Baseline rate-limiting parameters, defaults to RateLimit::DEFAULT. Read more
source§

const SERVER_TIMEOUT: Duration = _

On the server side, how long to wait before timing out the request.
source§

fn perms(&self) -> Permissions

Computes required permissions
source§

const ROUTE_PATTERN: &'static str = "/api/v1/user/@me/relationships"

Path pattern for the command (without query) when used with matchit 0.8 or higher.
source§

fn format_path<W: Write>(&self, w: W) -> Result

Serialize/format the REST path (without query)
source§

type Body = ()

Body type for the command
source§

fn body(&self) -> &Self::Body

Body to be serialized as request body or query parameters (if GET)
source§

fn body_size_hint(&self) -> usize

Hint given to preallocate body size, only used for query strings
source§

fn add_headers(&self, _map: &mut HeaderMap)

Insert any additional headers required to perform this command
source§

impl Debug for GetRelationships

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<__D: Fallible + ?Sized> Deserialize<GetRelationships, __D> for Archived<GetRelationships>

source§

fn deserialize( + &self, + deserializer: &mut __D, +) -> Result<GetRelationships, <__D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<__S: Fallible + ?Sized> Serialize<__S> for GetRelationships

source§

fn serialize( + &self, + serializer: &mut __S, +) -> Result<<Self as Archive>::Resolver, <__S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/user/struct.GetRelationshipsResolver.html b/client_sdk/api/commands/user/struct.GetRelationshipsResolver.html new file mode 100644 index 000000000..fea6076e6 --- /dev/null +++ b/client_sdk/api/commands/user/struct.GetRelationshipsResolver.html @@ -0,0 +1,21 @@ +GetRelationshipsResolver in client_sdk::api::commands::user - Rust

Struct client_sdk::api::commands::user::GetRelationshipsResolver

source ·
pub struct GetRelationshipsResolver {}
Expand description

The resolver for an archived GetRelationships

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/user/struct.GetSessions.html b/client_sdk/api/commands/user/struct.GetSessions.html new file mode 100644 index 000000000..5e221f642 --- /dev/null +++ b/client_sdk/api/commands/user/struct.GetSessions.html @@ -0,0 +1,49 @@ +GetSessions in client_sdk::api::commands::user - Rust

Struct client_sdk::api::commands::user::GetSessions

source ·
pub struct GetSessions {}

Implementations§

source§

impl GetSessions

source

pub const fn new() -> Self

Construct new instance from individual fields

+

Trait Implementations§

source§

impl Archive for GetSessions

source§

type Archived = ArchivedGetSessions

The archived representation of this type. Read more
source§

type Resolver = GetSessionsResolver

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
source§

impl Command for GetSessions

source§

const RATE_LIMIT: RateLimit = _

+
RateLimit {
+    emission_interval: 500ms,
+    burst_size: 1,
+}
+

If not specified, the burst_size will be from RateLimit::DEFAULT.

+
source§

const STREAM: bool = true

Whether the command returns one or many items
source§

const IS_QUERY: bool = true

Whether the command has a query string or sends a body
source§

async fn collect<S, E>(stream: S) -> Result<Self::Result, E>
where + S: Stream<Item = Result<Self::Item, E>> + Send, + E: From<MissingItemError>,

Used to collect the Result from an arbitrary Stream of items.
source§

type Item = AnonymousSession

The underlying type of each returned item, be it one or many.
source§

type Result = Vec<AnonymousSession>

Item(s) returned from the server by a given command
source§

const HTTP_METHOD: Method = http::Method::GET

HTTP Method used to execute the command
source§

const FLAGS: CommandFlags = _

Flags for the command, defaults to empty.
source§

const SERVER_TIMEOUT: Duration = _

On the server side, how long to wait before timing out the request.
source§

fn perms(&self) -> Permissions

Computes required permissions
source§

const ROUTE_PATTERN: &'static str = "/api/v1/user/@me/sessions"

Path pattern for the command (without query) when used with matchit 0.8 or higher.
source§

fn format_path<W: Write>(&self, w: W) -> Result

Serialize/format the REST path (without query)
source§

type Body = ()

Body type for the command
source§

fn body(&self) -> &Self::Body

Body to be serialized as request body or query parameters (if GET)
source§

fn body_size_hint(&self) -> usize

Hint given to preallocate body size, only used for query strings
source§

fn add_headers(&self, _map: &mut HeaderMap)

Insert any additional headers required to perform this command
source§

impl Debug for GetSessions

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<__D: Fallible + ?Sized> Deserialize<GetSessions, __D> for Archived<GetSessions>

source§

fn deserialize( + &self, + deserializer: &mut __D, +) -> Result<GetSessions, <__D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<__S: Fallible + ?Sized> Serialize<__S> for GetSessions

source§

fn serialize( + &self, + serializer: &mut __S, +) -> Result<<Self as Archive>::Resolver, <__S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/user/struct.GetSessionsResolver.html b/client_sdk/api/commands/user/struct.GetSessionsResolver.html new file mode 100644 index 000000000..17668f67d --- /dev/null +++ b/client_sdk/api/commands/user/struct.GetSessionsResolver.html @@ -0,0 +1,21 @@ +GetSessionsResolver in client_sdk::api::commands::user - Rust

Struct client_sdk::api::commands::user::GetSessionsResolver

source ·
pub struct GetSessionsResolver {}
Expand description

The resolver for an archived GetSessions

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/user/struct.GetUser.html b/client_sdk/api/commands/user/struct.GetUser.html new file mode 100644 index 000000000..9a5af3da7 --- /dev/null +++ b/client_sdk/api/commands/user/struct.GetUser.html @@ -0,0 +1,50 @@ +GetUser in client_sdk::api::commands::user - Rust

Struct client_sdk::api::commands::user::GetUser

source ·
pub struct GetUser {
+    pub user_id: UserId,
+}
Expand description

Fetches full user information, including profile data

+

Fields§

§user_id: UserId

Implementations§

source§

impl GetUser

source

pub const fn new(user_id: UserId) -> Self

Construct new instance from individual fields

+

Trait Implementations§

source§

impl Archive for GetUser
where + UserId: Archive,

source§

type Archived = ArchivedGetUser

The archived representation of this type. Read more
source§

type Resolver = GetUserResolver

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
source§

impl Command for GetUser

source§

const STREAM: bool = false

Whether the command returns one or many items
source§

const IS_QUERY: bool = true

Whether the command has a query string or sends a body
source§

async fn collect<S, E>(stream: S) -> Result<Self::Result, E>
where + S: Stream<Item = Result<Self::Item, E>> + Send, + E: From<MissingItemError>,

Used to collect the Result from an arbitrary Stream of items.
source§

type Item = User

The underlying type of each returned item, be it one or many.
source§

type Result = User

Item(s) returned from the server by a given command
source§

const HTTP_METHOD: Method = http::Method::GET

HTTP Method used to execute the command
source§

const FLAGS: CommandFlags = _

Flags for the command, defaults to empty.
source§

const RATE_LIMIT: RateLimit = _

Baseline rate-limiting parameters, defaults to RateLimit::DEFAULT. Read more
source§

const SERVER_TIMEOUT: Duration = _

On the server side, how long to wait before timing out the request.
source§

fn perms(&self) -> Permissions

Computes required permissions
source§

const ROUTE_PATTERN: &'static str = "/api/v1/user/{user_id}"

Path pattern for the command (without query) when used with matchit 0.8 or higher.
source§

fn format_path<W: Write>(&self, w: W) -> Result

Serialize/format the REST path (without query)
source§

type Body = ()

Body type for the command
source§

fn body(&self) -> &Self::Body

Body to be serialized as request body or query parameters (if GET)
source§

fn body_size_hint(&self) -> usize

Hint given to preallocate body size, only used for query strings
source§

fn add_headers(&self, _map: &mut HeaderMap)

Insert any additional headers required to perform this command
source§

impl Debug for GetUser

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<__D: Fallible + ?Sized> Deserialize<GetUser, __D> for Archived<GetUser>
where + UserId: Archive, + <UserId as Archive>::Archived: Deserialize<UserId, __D>,

source§

fn deserialize( + &self, + deserializer: &mut __D, +) -> Result<GetUser, <__D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<__S: Fallible + ?Sized> Serialize<__S> for GetUser
where + UserId: Serialize<__S>,

source§

fn serialize( + &self, + serializer: &mut __S, +) -> Result<<Self as Archive>::Resolver, <__S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/user/struct.GetUserResolver.html b/client_sdk/api/commands/user/struct.GetUserResolver.html new file mode 100644 index 000000000..b93f0a6dd --- /dev/null +++ b/client_sdk/api/commands/user/struct.GetUserResolver.html @@ -0,0 +1,22 @@ +GetUserResolver in client_sdk::api::commands::user - Rust

Struct client_sdk::api::commands::user::GetUserResolver

source ·
pub struct GetUserResolver
where + UserId: Archive,
{ /* private fields */ }
Expand description

The resolver for an archived GetUser

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/user/struct.PatchRelationship.html b/client_sdk/api/commands/user/struct.PatchRelationship.html new file mode 100644 index 000000000..059c4a7aa --- /dev/null +++ b/client_sdk/api/commands/user/struct.PatchRelationship.html @@ -0,0 +1,65 @@ +PatchRelationship in client_sdk::api::commands::user - Rust

Struct client_sdk::api::commands::user::PatchRelationship

source ·
pub struct PatchRelationship {
+    pub user_id: UserId,
+    pub body: PatchRelationshipBody,
+}

Fields§

§user_id: UserId§body: PatchRelationshipBody

Body to be serialized as request body or query parameters (if GET)

+

Implementations§

source§

impl PatchRelationship

source

pub const fn new( + user_id: UserId, + rel: Nullable<UserRelationship>, + note: Nullable<SmolStr>, +) -> Self

Construct new instance from individual fields

+

Trait Implementations§

source§

impl Archive for PatchRelationship
where + UserId: Archive, + PatchRelationshipBody: Archive,

source§

type Archived = ArchivedPatchRelationship

The archived representation of this type. Read more
source§

type Resolver = PatchRelationshipResolver

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
source§

impl Command for PatchRelationship

source§

const RATE_LIMIT: RateLimit = _

+
RateLimit {
+    emission_interval: 1000ms,
+    burst_size: 1,
+}
+

If not specified, the burst_size will be from RateLimit::DEFAULT.

+
source§

const STREAM: bool = false

Whether the command returns one or many items
source§

const IS_QUERY: bool = false

Whether the command has a query string or sends a body
source§

async fn collect<S, E>(stream: S) -> Result<Self::Result, E>
where + S: Stream<Item = Result<Self::Item, E>> + Send, + E: From<MissingItemError>,

Used to collect the Result from an arbitrary Stream of items.
source§

type Item = Relationship

The underlying type of each returned item, be it one or many.
source§

type Result = Relationship

Item(s) returned from the server by a given command
source§

const HTTP_METHOD: Method = http::Method::PATCH

HTTP Method used to execute the command
source§

const FLAGS: CommandFlags = _

Flags for the command, defaults to empty.
source§

const SERVER_TIMEOUT: Duration = _

On the server side, how long to wait before timing out the request.
source§

fn perms(&self) -> Permissions

Computes required permissions
source§

const ROUTE_PATTERN: &'static str = "/api/v1/user/@me/relationships/{user_id}"

Path pattern for the command (without query) when used with matchit 0.8 or higher.
source§

fn format_path<W: Write>(&self, w: W) -> Result

Serialize/format the REST path (without query)
source§

type Body = PatchRelationshipBody

Body type for the command
source§

fn body(&self) -> &Self::Body

Body to be serialized as request body or query parameters (if GET)
source§

fn body_size_hint(&self) -> usize

Hint given to preallocate body size, only used for query strings
source§

fn add_headers(&self, _map: &mut HeaderMap)

Insert any additional headers required to perform this command
source§

impl Debug for PatchRelationship

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Deref for PatchRelationship

source§

type Target = PatchRelationshipBody

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl DerefMut for PatchRelationship

source§

fn deref_mut(&mut self) -> &mut Self::Target

Mutably dereferences the value.
source§

impl<__D: Fallible + ?Sized> Deserialize<PatchRelationship, __D> for Archived<PatchRelationship>
where + UserId: Archive, + <UserId as Archive>::Archived: Deserialize<UserId, __D>, + PatchRelationshipBody: Archive, + <PatchRelationshipBody as Archive>::Archived: Deserialize<PatchRelationshipBody, __D>,

source§

fn deserialize( + &self, + deserializer: &mut __D, +) -> Result<PatchRelationship, <__D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<__S: Fallible + ?Sized> Serialize<__S> for PatchRelationship
where + UserId: Serialize<__S>, + PatchRelationshipBody: Serialize<__S>,

source§

fn serialize( + &self, + serializer: &mut __S, +) -> Result<<Self as Archive>::Resolver, <__S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/user/struct.PatchRelationshipBody.html b/client_sdk/api/commands/user/struct.PatchRelationshipBody.html new file mode 100644 index 000000000..e1b37cfb5 --- /dev/null +++ b/client_sdk/api/commands/user/struct.PatchRelationshipBody.html @@ -0,0 +1,58 @@ +PatchRelationshipBody in client_sdk::api::commands::user - Rust

Struct client_sdk::api::commands::user::PatchRelationshipBody

source ·
pub struct PatchRelationshipBody {
+    pub rel: Nullable<UserRelationship>,
+    pub note: Nullable<SmolStr>,
+}

Fields§

§rel: Nullable<UserRelationship>

Your desired relationship with the other user

+
§note: Nullable<SmolStr>

Optional note to give the user

+

Trait Implementations§

source§

impl Archive for PatchRelationshipBody
where + Nullable<UserRelationship>: Archive, + Nullable<SmolStr>: Archive,

source§

type Archived = ArchivedPatchRelationshipBody

The archived representation of this type. Read more
source§

type Resolver = PatchRelationshipBodyResolver

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
source§

impl Debug for PatchRelationshipBody

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for PatchRelationshipBody

source§

fn default() -> PatchRelationshipBody

Returns the “default value” for a type. Read more
source§

impl<'de> Deserialize<'de> for PatchRelationshipBody

source§

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<__D: Fallible + ?Sized> Deserialize<PatchRelationshipBody, __D> for Archived<PatchRelationshipBody>
where + Nullable<UserRelationship>: Archive, + <Nullable<UserRelationship> as Archive>::Archived: Deserialize<Nullable<UserRelationship>, __D>, + Nullable<SmolStr>: Archive, + <Nullable<SmolStr> as Archive>::Archived: Deserialize<Nullable<SmolStr>, __D>,

source§

fn deserialize( + &self, + deserializer: &mut __D, +) -> Result<PatchRelationshipBody, <__D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<__S: Fallible + ?Sized> Serialize<__S> for PatchRelationshipBody
where + Nullable<UserRelationship>: Serialize<__S>, + Nullable<SmolStr>: Serialize<__S>,

source§

fn serialize( + &self, + serializer: &mut __S, +) -> Result<<Self as Archive>::Resolver, <__S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.
source§

impl Serialize for PatchRelationshipBody

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
source§

impl<T> CommandBody for T
where + T: Send + Serialize + Archive,

source§

impl<T> CommandResult for T
where + T: Send + DeserializeOwned + Serialize + Archive,

source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/user/struct.PatchRelationshipBodyResolver.html b/client_sdk/api/commands/user/struct.PatchRelationshipBodyResolver.html new file mode 100644 index 000000000..1e997c608 --- /dev/null +++ b/client_sdk/api/commands/user/struct.PatchRelationshipBodyResolver.html @@ -0,0 +1,23 @@ +PatchRelationshipBodyResolver in client_sdk::api::commands::user - Rust
pub struct PatchRelationshipBodyResolver
where + Nullable<UserRelationship>: Archive, + Nullable<SmolStr>: Archive,
{ /* private fields */ }
Expand description

The resolver for an archived PatchRelationshipBody

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/user/struct.PatchRelationshipResolver.html b/client_sdk/api/commands/user/struct.PatchRelationshipResolver.html new file mode 100644 index 000000000..c5138ad3f --- /dev/null +++ b/client_sdk/api/commands/user/struct.PatchRelationshipResolver.html @@ -0,0 +1,23 @@ +PatchRelationshipResolver in client_sdk::api::commands::user - Rust

Struct client_sdk::api::commands::user::PatchRelationshipResolver

source ·
pub struct PatchRelationshipResolver
where + UserId: Archive, + PatchRelationshipBody: Archive,
{ /* private fields */ }
Expand description

The resolver for an archived PatchRelationship

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/user/struct.Remove2FA.html b/client_sdk/api/commands/user/struct.Remove2FA.html new file mode 100644 index 000000000..be6b6ef31 --- /dev/null +++ b/client_sdk/api/commands/user/struct.Remove2FA.html @@ -0,0 +1,56 @@ +Remove2FA in client_sdk::api::commands::user - Rust

Struct client_sdk::api::commands::user::Remove2FA

source ·
pub struct Remove2FA {
+    pub body: Remove2FAForm,
+}

Fields§

§body: Remove2FAForm

Body to be serialized as request body or query parameters (if GET)

+

Implementations§

source§

impl Remove2FA

source

pub const fn new(password: SmolStr, totp: SmolStr) -> Self

Construct new instance from individual fields

+

Trait Implementations§

source§

impl Archive for Remove2FA
where + Remove2FAForm: Archive,

source§

type Archived = ArchivedRemove2FA

The archived representation of this type. Read more
source§

type Resolver = Remove2FAResolver

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
source§

impl Command for Remove2FA

source§

const RATE_LIMIT: RateLimit = _

+
RateLimit {
+    emission_interval: 2000ms,
+    burst_size: 1,
+}
+

If not specified, the burst_size will be from RateLimit::DEFAULT.

+
source§

const STREAM: bool = false

Whether the command returns one or many items
source§

const IS_QUERY: bool = false

Whether the command has a query string or sends a body
source§

async fn collect<S, E>(stream: S) -> Result<Self::Result, E>
where + S: Stream<Item = Result<Self::Item, E>> + Send, + E: From<MissingItemError>,

Used to collect the Result from an arbitrary Stream of items.
source§

type Item = ()

The underlying type of each returned item, be it one or many.
source§

type Result = ()

Item(s) returned from the server by a given command
source§

const HTTP_METHOD: Method = http::Method::DELETE

HTTP Method used to execute the command
source§

const FLAGS: CommandFlags = _

Flags for the command, defaults to empty.
source§

const SERVER_TIMEOUT: Duration = _

On the server side, how long to wait before timing out the request.
source§

fn perms(&self) -> Permissions

Computes required permissions
source§

const ROUTE_PATTERN: &'static str = "/api/v1/user/@me/2fa"

Path pattern for the command (without query) when used with matchit 0.8 or higher.
source§

fn format_path<W: Write>(&self, w: W) -> Result

Serialize/format the REST path (without query)
source§

type Body = Remove2FAForm

Body type for the command
source§

fn body(&self) -> &Self::Body

Body to be serialized as request body or query parameters (if GET)
source§

fn body_size_hint(&self) -> usize

Hint given to preallocate body size, only used for query strings
source§

fn add_headers(&self, _map: &mut HeaderMap)

Insert any additional headers required to perform this command
source§

impl Debug for Remove2FA

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Deref for Remove2FA

source§

type Target = Remove2FAForm

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl DerefMut for Remove2FA

source§

fn deref_mut(&mut self) -> &mut Self::Target

Mutably dereferences the value.
source§

impl<__D: Fallible + ?Sized> Deserialize<Remove2FA, __D> for Archived<Remove2FA>
where + Remove2FAForm: Archive, + <Remove2FAForm as Archive>::Archived: Deserialize<Remove2FAForm, __D>,

source§

fn deserialize( + &self, + deserializer: &mut __D, +) -> Result<Remove2FA, <__D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<__S: Fallible + ?Sized> Serialize<__S> for Remove2FA
where + Remove2FAForm: Serialize<__S>,

source§

fn serialize( + &self, + serializer: &mut __S, +) -> Result<<Self as Archive>::Resolver, <__S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/user/struct.Remove2FAForm.html b/client_sdk/api/commands/user/struct.Remove2FAForm.html new file mode 100644 index 000000000..c5585b9bb --- /dev/null +++ b/client_sdk/api/commands/user/struct.Remove2FAForm.html @@ -0,0 +1,52 @@ +Remove2FAForm in client_sdk::api::commands::user - Rust

Struct client_sdk::api::commands::user::Remove2FAForm

source ·
pub struct Remove2FAForm {
+    pub password: SmolStr,
+    pub totp: SmolStr,
+}

Fields§

§password: SmolStr§totp: SmolStr

Trait Implementations§

source§

impl Archive for Remove2FAForm
where + SmolStr: Archive,

source§

type Archived = ArchivedRemove2FAForm

The archived representation of this type. Read more
source§

type Resolver = Remove2FAFormResolver

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
source§

impl Debug for Remove2FAForm

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for Remove2FAForm

source§

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<__D: Fallible + ?Sized> Deserialize<Remove2FAForm, __D> for Archived<Remove2FAForm>
where + SmolStr: Archive, + <SmolStr as Archive>::Archived: Deserialize<SmolStr, __D>,

source§

fn deserialize( + &self, + deserializer: &mut __D, +) -> Result<Remove2FAForm, <__D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<__S: Fallible + ?Sized> Serialize<__S> for Remove2FAForm
where + SmolStr: Serialize<__S>,

source§

fn serialize( + &self, + serializer: &mut __S, +) -> Result<<Self as Archive>::Resolver, <__S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.
source§

impl Serialize for Remove2FAForm

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
source§

impl<T> CommandBody for T
where + T: Send + Serialize + Archive,

source§

impl<T> CommandResult for T
where + T: Send + DeserializeOwned + Serialize + Archive,

source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/user/struct.Remove2FAFormResolver.html b/client_sdk/api/commands/user/struct.Remove2FAFormResolver.html new file mode 100644 index 000000000..579dc8f39 --- /dev/null +++ b/client_sdk/api/commands/user/struct.Remove2FAFormResolver.html @@ -0,0 +1,22 @@ +Remove2FAFormResolver in client_sdk::api::commands::user - Rust

Struct client_sdk::api::commands::user::Remove2FAFormResolver

source ·
pub struct Remove2FAFormResolver
where + SmolStr: Archive,
{ /* private fields */ }
Expand description

The resolver for an archived Remove2FAForm

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/user/struct.Remove2FAResolver.html b/client_sdk/api/commands/user/struct.Remove2FAResolver.html new file mode 100644 index 000000000..49639356a --- /dev/null +++ b/client_sdk/api/commands/user/struct.Remove2FAResolver.html @@ -0,0 +1,22 @@ +Remove2FAResolver in client_sdk::api::commands::user - Rust

Struct client_sdk::api::commands::user::Remove2FAResolver

source ·
pub struct Remove2FAResolver
where + Remove2FAForm: Archive,
{ /* private fields */ }
Expand description

The resolver for an archived Remove2FA

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/user/struct.UpdateUserPrefs.html b/client_sdk/api/commands/user/struct.UpdateUserPrefs.html new file mode 100644 index 000000000..904cd504d --- /dev/null +++ b/client_sdk/api/commands/user/struct.UpdateUserPrefs.html @@ -0,0 +1,55 @@ +UpdateUserPrefs in client_sdk::api::commands::user - Rust

Struct client_sdk::api::commands::user::UpdateUserPrefs

source ·
pub struct UpdateUserPrefs {
+    pub body: UpdateUserPrefsBody,
+}

Fields§

§body: UpdateUserPrefsBody

Body to be serialized as request body or query parameters (if GET)

+

Implementations§

source§

impl UpdateUserPrefs

source

pub const fn new(inner: UserPreferences) -> Self

Construct new instance from individual fields

+

Trait Implementations§

source§

impl Archive for UpdateUserPrefs
where + UpdateUserPrefsBody: Archive,

source§

type Archived = ArchivedUpdateUserPrefs

The archived representation of this type. Read more
source§

type Resolver = UpdateUserPrefsResolver

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
source§

impl Command for UpdateUserPrefs

source§

const RATE_LIMIT: RateLimit = _

+
RateLimit {
+    emission_interval: 200ms,
+}
+

If not specified, the burst_size will be from RateLimit::DEFAULT.

+
source§

const STREAM: bool = false

Whether the command returns one or many items
source§

const IS_QUERY: bool = false

Whether the command has a query string or sends a body
source§

async fn collect<S, E>(stream: S) -> Result<Self::Result, E>
where + S: Stream<Item = Result<Self::Item, E>> + Send, + E: From<MissingItemError>,

Used to collect the Result from an arbitrary Stream of items.
source§

type Item = ()

The underlying type of each returned item, be it one or many.
source§

type Result = ()

Item(s) returned from the server by a given command
source§

const HTTP_METHOD: Method = http::Method::PATCH

HTTP Method used to execute the command
source§

const FLAGS: CommandFlags = _

Flags for the command, defaults to empty.
source§

const SERVER_TIMEOUT: Duration = _

On the server side, how long to wait before timing out the request.
source§

fn perms(&self) -> Permissions

Computes required permissions
source§

const ROUTE_PATTERN: &'static str = "/api/v1/user/@me/prefs"

Path pattern for the command (without query) when used with matchit 0.8 or higher.
source§

fn format_path<W: Write>(&self, w: W) -> Result

Serialize/format the REST path (without query)
source§

type Body = UpdateUserPrefsBody

Body type for the command
source§

fn body(&self) -> &Self::Body

Body to be serialized as request body or query parameters (if GET)
source§

fn body_size_hint(&self) -> usize

Hint given to preallocate body size, only used for query strings
source§

fn add_headers(&self, _map: &mut HeaderMap)

Insert any additional headers required to perform this command
source§

impl Debug for UpdateUserPrefs

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Deref for UpdateUserPrefs

source§

type Target = UpdateUserPrefsBody

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl DerefMut for UpdateUserPrefs

source§

fn deref_mut(&mut self) -> &mut Self::Target

Mutably dereferences the value.
source§

impl<__D: Fallible + ?Sized> Deserialize<UpdateUserPrefs, __D> for Archived<UpdateUserPrefs>
where + UpdateUserPrefsBody: Archive, + <UpdateUserPrefsBody as Archive>::Archived: Deserialize<UpdateUserPrefsBody, __D>,

source§

fn deserialize( + &self, + deserializer: &mut __D, +) -> Result<UpdateUserPrefs, <__D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<__S: Fallible + ?Sized> Serialize<__S> for UpdateUserPrefs
where + UpdateUserPrefsBody: Serialize<__S>,

source§

fn serialize( + &self, + serializer: &mut __S, +) -> Result<<Self as Archive>::Resolver, <__S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/user/struct.UpdateUserPrefsBody.html b/client_sdk/api/commands/user/struct.UpdateUserPrefsBody.html new file mode 100644 index 000000000..43db22646 --- /dev/null +++ b/client_sdk/api/commands/user/struct.UpdateUserPrefsBody.html @@ -0,0 +1,51 @@ +UpdateUserPrefsBody in client_sdk::api::commands::user - Rust

Struct client_sdk::api::commands::user::UpdateUserPrefsBody

source ·
pub struct UpdateUserPrefsBody {
+    pub inner: UserPreferences,
+}

Fields§

§inner: UserPreferences

Trait Implementations§

source§

impl Archive for UpdateUserPrefsBody
where + UserPreferences: Archive,

source§

type Archived = ArchivedUpdateUserPrefsBody

The archived representation of this type. Read more
source§

type Resolver = UpdateUserPrefsBodyResolver

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
source§

impl Debug for UpdateUserPrefsBody

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for UpdateUserPrefsBody

source§

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<__D: Fallible + ?Sized> Deserialize<UpdateUserPrefsBody, __D> for Archived<UpdateUserPrefsBody>
where + UserPreferences: Archive, + <UserPreferences as Archive>::Archived: Deserialize<UserPreferences, __D>,

source§

fn deserialize( + &self, + deserializer: &mut __D, +) -> Result<UpdateUserPrefsBody, <__D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl From<UserPreferences> for UpdateUserPrefsBody

source§

fn from(inner: UserPreferences) -> UpdateUserPrefsBody

Converts to this type from the input type.
source§

impl<__S: Fallible + ?Sized> Serialize<__S> for UpdateUserPrefsBody
where + UserPreferences: Serialize<__S>,

source§

fn serialize( + &self, + serializer: &mut __S, +) -> Result<<Self as Archive>::Resolver, <__S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.
source§

impl Serialize for UpdateUserPrefsBody

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
source§

impl<T> CommandBody for T
where + T: Send + Serialize + Archive,

source§

impl<T> CommandResult for T
where + T: Send + DeserializeOwned + Serialize + Archive,

source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/user/struct.UpdateUserPrefsBodyResolver.html b/client_sdk/api/commands/user/struct.UpdateUserPrefsBodyResolver.html new file mode 100644 index 000000000..bf3142401 --- /dev/null +++ b/client_sdk/api/commands/user/struct.UpdateUserPrefsBodyResolver.html @@ -0,0 +1,22 @@ +UpdateUserPrefsBodyResolver in client_sdk::api::commands::user - Rust
pub struct UpdateUserPrefsBodyResolver
where + UserPreferences: Archive,
{ /* private fields */ }
Expand description

The resolver for an archived UpdateUserPrefsBody

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/user/struct.UpdateUserPrefsResolver.html b/client_sdk/api/commands/user/struct.UpdateUserPrefsResolver.html new file mode 100644 index 000000000..77e146e1a --- /dev/null +++ b/client_sdk/api/commands/user/struct.UpdateUserPrefsResolver.html @@ -0,0 +1,22 @@ +UpdateUserPrefsResolver in client_sdk::api::commands::user - Rust

Struct client_sdk::api::commands::user::UpdateUserPrefsResolver

source ·
pub struct UpdateUserPrefsResolver
where + UpdateUserPrefsBody: Archive,
{ /* private fields */ }
Expand description

The resolver for an archived UpdateUserPrefs

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/user/struct.UpdateUserProfile.html b/client_sdk/api/commands/user/struct.UpdateUserProfile.html new file mode 100644 index 000000000..6714ac862 --- /dev/null +++ b/client_sdk/api/commands/user/struct.UpdateUserProfile.html @@ -0,0 +1,65 @@ +UpdateUserProfile in client_sdk::api::commands::user - Rust

Struct client_sdk::api::commands::user::UpdateUserProfile

source ·
pub struct UpdateUserProfile {
+    pub body: UpdateUserProfileBody,
+}

Fields§

§body: UpdateUserProfileBody

Body to be serialized as request body or query parameters (if GET)

+

Implementations§

source§

impl UpdateUserProfile

source

pub const fn new( + bits: UserProfileBits, + extra: ExtraUserProfileBits, + nick: Nullable<SmolStr>, + avatar: Nullable<FileId>, + banner: Nullable<FileId>, + banner_align: BannerAlign, + status: Nullable<SmolStr>, + bio: Nullable<SmolStr>, +) -> Self

Construct new instance from individual fields

+

Trait Implementations§

source§

impl Archive for UpdateUserProfile
where + UpdateUserProfileBody: Archive,

source§

type Archived = ArchivedUpdateUserProfile

The archived representation of this type. Read more
source§

type Resolver = UpdateUserProfileResolver

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
source§

impl Command for UpdateUserProfile

source§

const RATE_LIMIT: RateLimit = _

+
RateLimit {
+    emission_interval: 500ms,
+    burst_size: 1,
+}
+

If not specified, the burst_size will be from RateLimit::DEFAULT.

+
source§

const STREAM: bool = false

Whether the command returns one or many items
source§

const IS_QUERY: bool = false

Whether the command has a query string or sends a body
source§

async fn collect<S, E>(stream: S) -> Result<Self::Result, E>
where + S: Stream<Item = Result<Self::Item, E>> + Send, + E: From<MissingItemError>,

Used to collect the Result from an arbitrary Stream of items.
source§

type Item = UserProfile

The underlying type of each returned item, be it one or many.
source§

type Result = UserProfile

Item(s) returned from the server by a given command
source§

const HTTP_METHOD: Method = http::Method::PATCH

HTTP Method used to execute the command
source§

const FLAGS: CommandFlags = _

Flags for the command, defaults to empty.
source§

const SERVER_TIMEOUT: Duration = _

On the server side, how long to wait before timing out the request.
source§

fn perms(&self) -> Permissions

Computes required permissions
source§

const ROUTE_PATTERN: &'static str = "/api/v1/user/@me/profile"

Path pattern for the command (without query) when used with matchit 0.8 or higher.
source§

fn format_path<W: Write>(&self, w: W) -> Result

Serialize/format the REST path (without query)
source§

type Body = UpdateUserProfileBody

Body type for the command
source§

fn body(&self) -> &Self::Body

Body to be serialized as request body or query parameters (if GET)
source§

fn body_size_hint(&self) -> usize

Hint given to preallocate body size, only used for query strings
source§

fn add_headers(&self, _map: &mut HeaderMap)

Insert any additional headers required to perform this command
source§

impl Debug for UpdateUserProfile

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Deref for UpdateUserProfile

source§

type Target = UpdateUserProfileBody

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl DerefMut for UpdateUserProfile

source§

fn deref_mut(&mut self) -> &mut Self::Target

Mutably dereferences the value.
source§

impl<__D: Fallible + ?Sized> Deserialize<UpdateUserProfile, __D> for Archived<UpdateUserProfile>
where + UpdateUserProfileBody: Archive, + <UpdateUserProfileBody as Archive>::Archived: Deserialize<UpdateUserProfileBody, __D>,

source§

fn deserialize( + &self, + deserializer: &mut __D, +) -> Result<UpdateUserProfile, <__D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<__S: Fallible + ?Sized> Serialize<__S> for UpdateUserProfile
where + UpdateUserProfileBody: Serialize<__S>,

source§

fn serialize( + &self, + serializer: &mut __S, +) -> Result<<Self as Archive>::Resolver, <__S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/user/struct.UpdateUserProfileBody.html b/client_sdk/api/commands/user/struct.UpdateUserProfileBody.html new file mode 100644 index 000000000..4b036f8be --- /dev/null +++ b/client_sdk/api/commands/user/struct.UpdateUserProfileBody.html @@ -0,0 +1,74 @@ +UpdateUserProfileBody in client_sdk::api::commands::user - Rust

Struct client_sdk::api::commands::user::UpdateUserProfileBody

source ·
pub struct UpdateUserProfileBody {
+    pub bits: UserProfileBits,
+    pub extra: ExtraUserProfileBits,
+    pub nick: Nullable<SmolStr>,
+    pub avatar: Nullable<FileId>,
+    pub banner: Nullable<FileId>,
+    pub banner_align: BannerAlign,
+    pub status: Nullable<SmolStr>,
+    pub bio: Nullable<SmolStr>,
+}

Fields§

§bits: UserProfileBits§extra: ExtraUserProfileBits§nick: Nullable<SmolStr>§avatar: Nullable<FileId>§banner: Nullable<FileId>§banner_align: BannerAlign§status: Nullable<SmolStr>§bio: Nullable<SmolStr>

Trait Implementations§

source§

impl Archive for UpdateUserProfileBody
where + UserProfileBits: Archive, + ExtraUserProfileBits: Archive, + Nullable<SmolStr>: Archive, + Nullable<FileId>: Archive, + BannerAlign: Archive,

source§

type Archived = ArchivedUpdateUserProfileBody

The archived representation of this type. Read more
source§

type Resolver = UpdateUserProfileBodyResolver

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
source§

impl Debug for UpdateUserProfileBody

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for UpdateUserProfileBody

source§

fn default() -> UpdateUserProfileBody

Returns the “default value” for a type. Read more
source§

impl<'de> Deserialize<'de> for UpdateUserProfileBody

source§

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<__D: Fallible + ?Sized> Deserialize<UpdateUserProfileBody, __D> for Archived<UpdateUserProfileBody>
where + UserProfileBits: Archive, + <UserProfileBits as Archive>::Archived: Deserialize<UserProfileBits, __D>, + ExtraUserProfileBits: Archive, + <ExtraUserProfileBits as Archive>::Archived: Deserialize<ExtraUserProfileBits, __D>, + Nullable<SmolStr>: Archive, + <Nullable<SmolStr> as Archive>::Archived: Deserialize<Nullable<SmolStr>, __D>, + Nullable<FileId>: Archive, + <Nullable<FileId> as Archive>::Archived: Deserialize<Nullable<FileId>, __D>, + BannerAlign: Archive, + <BannerAlign as Archive>::Archived: Deserialize<BannerAlign, __D>,

source§

fn deserialize( + &self, + deserializer: &mut __D, +) -> Result<UpdateUserProfileBody, <__D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<__S: Fallible + ?Sized> Serialize<__S> for UpdateUserProfileBody
where + UserProfileBits: Serialize<__S>, + ExtraUserProfileBits: Serialize<__S>, + Nullable<SmolStr>: Serialize<__S>, + Nullable<FileId>: Serialize<__S>, + BannerAlign: Serialize<__S>,

source§

fn serialize( + &self, + serializer: &mut __S, +) -> Result<<Self as Archive>::Resolver, <__S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.
source§

impl Serialize for UpdateUserProfileBody

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
source§

impl<T> CommandBody for T
where + T: Send + Serialize + Archive,

source§

impl<T> CommandResult for T
where + T: Send + DeserializeOwned + Serialize + Archive,

source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/user/struct.UpdateUserProfileBodyResolver.html b/client_sdk/api/commands/user/struct.UpdateUserProfileBodyResolver.html new file mode 100644 index 000000000..ef4de197e --- /dev/null +++ b/client_sdk/api/commands/user/struct.UpdateUserProfileBodyResolver.html @@ -0,0 +1,26 @@ +UpdateUserProfileBodyResolver in client_sdk::api::commands::user - Rust
pub struct UpdateUserProfileBodyResolver
where + UserProfileBits: Archive, + ExtraUserProfileBits: Archive, + Nullable<SmolStr>: Archive, + Nullable<FileId>: Archive, + BannerAlign: Archive,
{ /* private fields */ }
Expand description

The resolver for an archived UpdateUserProfileBody

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/user/struct.UpdateUserProfileResolver.html b/client_sdk/api/commands/user/struct.UpdateUserProfileResolver.html new file mode 100644 index 000000000..1122bb362 --- /dev/null +++ b/client_sdk/api/commands/user/struct.UpdateUserProfileResolver.html @@ -0,0 +1,22 @@ +UpdateUserProfileResolver in client_sdk::api::commands::user - Rust

Struct client_sdk::api::commands::user::UpdateUserProfileResolver

source ·
pub struct UpdateUserProfileResolver
where + UpdateUserProfileBody: Archive,
{ /* private fields */ }
Expand description

The resolver for an archived UpdateUserProfile

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/user/struct.UserLogin.html b/client_sdk/api/commands/user/struct.UserLogin.html new file mode 100644 index 000000000..70b73371e --- /dev/null +++ b/client_sdk/api/commands/user/struct.UserLogin.html @@ -0,0 +1,60 @@ +UserLogin in client_sdk::api::commands::user - Rust

Struct client_sdk::api::commands::user::UserLogin

source ·
pub struct UserLogin {
+    pub body: UserLoginForm,
+}

Fields§

§body: UserLoginForm

Body to be serialized as request body or query parameters (if GET)

+

Implementations§

source§

impl UserLogin

source

pub const fn new( + email: SmolStr, + password: SmolStr, + totp: Option<SmolStr>, +) -> Self

Construct new instance from individual fields

+

Trait Implementations§

source§

impl Archive for UserLogin
where + UserLoginForm: Archive,

source§

type Archived = ArchivedUserLogin

The archived representation of this type. Read more
source§

type Resolver = UserLoginResolver

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
source§

impl Command for UserLogin

source§

const RATE_LIMIT: RateLimit = _

+
RateLimit {
+    emission_interval: 1000ms,
+    burst_size: 1,
+}
+

If not specified, the burst_size will be from RateLimit::DEFAULT.

+
source§

const STREAM: bool = false

Whether the command returns one or many items
source§

const IS_QUERY: bool = false

Whether the command has a query string or sends a body
source§

async fn collect<S, E>(stream: S) -> Result<Self::Result, E>
where + S: Stream<Item = Result<Self::Item, E>> + Send, + E: From<MissingItemError>,

Used to collect the Result from an arbitrary Stream of items.
source§

type Item = Session

The underlying type of each returned item, be it one or many.
source§

type Result = Session

Item(s) returned from the server by a given command
source§

const HTTP_METHOD: Method = http::Method::POST

HTTP Method used to execute the command
source§

const FLAGS: CommandFlags = _

Flags for the command, defaults to empty.
source§

const SERVER_TIMEOUT: Duration = _

On the server side, how long to wait before timing out the request.
source§

fn perms(&self) -> Permissions

Computes required permissions
source§

const ROUTE_PATTERN: &'static str = "/api/v1/user/@me"

Path pattern for the command (without query) when used with matchit 0.8 or higher.
source§

fn format_path<W: Write>(&self, w: W) -> Result

Serialize/format the REST path (without query)
source§

type Body = UserLoginForm

Body type for the command
source§

fn body(&self) -> &Self::Body

Body to be serialized as request body or query parameters (if GET)
source§

fn body_size_hint(&self) -> usize

Hint given to preallocate body size, only used for query strings
source§

fn add_headers(&self, _map: &mut HeaderMap)

Insert any additional headers required to perform this command
source§

impl Debug for UserLogin

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Deref for UserLogin

source§

type Target = UserLoginForm

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl DerefMut for UserLogin

source§

fn deref_mut(&mut self) -> &mut Self::Target

Mutably dereferences the value.
source§

impl<__D: Fallible + ?Sized> Deserialize<UserLogin, __D> for Archived<UserLogin>
where + UserLoginForm: Archive, + <UserLoginForm as Archive>::Archived: Deserialize<UserLoginForm, __D>,

source§

fn deserialize( + &self, + deserializer: &mut __D, +) -> Result<UserLogin, <__D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<__S: Fallible + ?Sized> Serialize<__S> for UserLogin
where + UserLoginForm: Serialize<__S>,

source§

fn serialize( + &self, + serializer: &mut __S, +) -> Result<<Self as Archive>::Resolver, <__S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/user/struct.UserLoginForm.html b/client_sdk/api/commands/user/struct.UserLoginForm.html new file mode 100644 index 000000000..ad2106e77 --- /dev/null +++ b/client_sdk/api/commands/user/struct.UserLoginForm.html @@ -0,0 +1,60 @@ +UserLoginForm in client_sdk::api::commands::user - Rust

Struct client_sdk::api::commands::user::UserLoginForm

source ·
pub struct UserLoginForm {
+    pub email: SmolStr,
+    pub password: SmolStr,
+    pub totp: Option<SmolStr>,
+}

Fields§

§email: SmolStr

Email address

+
§password: SmolStr

Password (Plaintext, will be hashed on the server)

+
§totp: Option<SmolStr>

2FA token, if enabled

+

Trait Implementations§

source§

impl Archive for UserLoginForm
where + SmolStr: Archive, + Option<SmolStr>: Archive,

source§

type Archived = ArchivedUserLoginForm

The archived representation of this type. Read more
source§

type Resolver = UserLoginFormResolver

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
source§

impl Debug for UserLoginForm

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for UserLoginForm

source§

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<__D: Fallible + ?Sized> Deserialize<UserLoginForm, __D> for Archived<UserLoginForm>
where + SmolStr: Archive, + <SmolStr as Archive>::Archived: Deserialize<SmolStr, __D>, + Option<SmolStr>: Archive, + <Option<SmolStr> as Archive>::Archived: Deserialize<Option<SmolStr>, __D>,

source§

fn deserialize( + &self, + deserializer: &mut __D, +) -> Result<UserLoginForm, <__D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<__S: Fallible + ?Sized> Serialize<__S> for UserLoginForm
where + SmolStr: Serialize<__S>, + Option<SmolStr>: Serialize<__S>,

source§

fn serialize( + &self, + serializer: &mut __S, +) -> Result<<Self as Archive>::Resolver, <__S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.
source§

impl Serialize for UserLoginForm

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
source§

impl<T> CommandBody for T
where + T: Send + Serialize + Archive,

source§

impl<T> CommandResult for T
where + T: Send + DeserializeOwned + Serialize + Archive,

source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/user/struct.UserLoginFormResolver.html b/client_sdk/api/commands/user/struct.UserLoginFormResolver.html new file mode 100644 index 000000000..be0fec8b6 --- /dev/null +++ b/client_sdk/api/commands/user/struct.UserLoginFormResolver.html @@ -0,0 +1,23 @@ +UserLoginFormResolver in client_sdk::api::commands::user - Rust

Struct client_sdk::api::commands::user::UserLoginFormResolver

source ·
pub struct UserLoginFormResolver
where + SmolStr: Archive, + Option<SmolStr>: Archive,
{ /* private fields */ }
Expand description

The resolver for an archived UserLoginForm

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/user/struct.UserLoginResolver.html b/client_sdk/api/commands/user/struct.UserLoginResolver.html new file mode 100644 index 000000000..a0321b96c --- /dev/null +++ b/client_sdk/api/commands/user/struct.UserLoginResolver.html @@ -0,0 +1,22 @@ +UserLoginResolver in client_sdk::api::commands::user - Rust

Struct client_sdk::api::commands::user::UserLoginResolver

source ·
pub struct UserLoginResolver
where + UserLoginForm: Archive,
{ /* private fields */ }
Expand description

The resolver for an archived UserLogin

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/user/struct.UserLogout.html b/client_sdk/api/commands/user/struct.UserLogout.html new file mode 100644 index 000000000..4558c1d9c --- /dev/null +++ b/client_sdk/api/commands/user/struct.UserLogout.html @@ -0,0 +1,49 @@ +UserLogout in client_sdk::api::commands::user - Rust

Struct client_sdk::api::commands::user::UserLogout

source ·
pub struct UserLogout {}

Implementations§

source§

impl UserLogout

source

pub const fn new() -> Self

Construct new instance from individual fields

+

Trait Implementations§

source§

impl Archive for UserLogout

source§

type Archived = ArchivedUserLogout

The archived representation of this type. Read more
source§

type Resolver = UserLogoutResolver

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
source§

impl Command for UserLogout

source§

const RATE_LIMIT: RateLimit = _

+
RateLimit {
+    emission_interval: 1000ms,
+    burst_size: 1,
+}
+

If not specified, the burst_size will be from RateLimit::DEFAULT.

+
source§

const STREAM: bool = false

Whether the command returns one or many items
source§

const IS_QUERY: bool = false

Whether the command has a query string or sends a body
source§

async fn collect<S, E>(stream: S) -> Result<Self::Result, E>
where + S: Stream<Item = Result<Self::Item, E>> + Send, + E: From<MissingItemError>,

Used to collect the Result from an arbitrary Stream of items.
source§

type Item = ()

The underlying type of each returned item, be it one or many.
source§

type Result = ()

Item(s) returned from the server by a given command
source§

const HTTP_METHOD: Method = http::Method::DELETE

HTTP Method used to execute the command
source§

const FLAGS: CommandFlags = _

Flags for the command, defaults to empty.
source§

const SERVER_TIMEOUT: Duration = _

On the server side, how long to wait before timing out the request.
source§

fn perms(&self) -> Permissions

Computes required permissions
source§

const ROUTE_PATTERN: &'static str = "/api/v1/user/@me"

Path pattern for the command (without query) when used with matchit 0.8 or higher.
source§

fn format_path<W: Write>(&self, w: W) -> Result

Serialize/format the REST path (without query)
source§

type Body = ()

Body type for the command
source§

fn body(&self) -> &Self::Body

Body to be serialized as request body or query parameters (if GET)
source§

fn body_size_hint(&self) -> usize

Hint given to preallocate body size, only used for query strings
source§

fn add_headers(&self, _map: &mut HeaderMap)

Insert any additional headers required to perform this command
source§

impl Debug for UserLogout

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<__D: Fallible + ?Sized> Deserialize<UserLogout, __D> for Archived<UserLogout>

source§

fn deserialize( + &self, + deserializer: &mut __D, +) -> Result<UserLogout, <__D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<__S: Fallible + ?Sized> Serialize<__S> for UserLogout

source§

fn serialize( + &self, + serializer: &mut __S, +) -> Result<<Self as Archive>::Resolver, <__S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/user/struct.UserLogoutResolver.html b/client_sdk/api/commands/user/struct.UserLogoutResolver.html new file mode 100644 index 000000000..30b983219 --- /dev/null +++ b/client_sdk/api/commands/user/struct.UserLogoutResolver.html @@ -0,0 +1,21 @@ +UserLogoutResolver in client_sdk::api::commands::user - Rust

Struct client_sdk::api::commands::user::UserLogoutResolver

source ·
pub struct UserLogoutResolver {}
Expand description

The resolver for an archived UserLogout

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/user/struct.UserRegister.html b/client_sdk/api/commands/user/struct.UserRegister.html new file mode 100644 index 000000000..6fc237f19 --- /dev/null +++ b/client_sdk/api/commands/user/struct.UserRegister.html @@ -0,0 +1,62 @@ +UserRegister in client_sdk::api::commands::user - Rust

Struct client_sdk::api::commands::user::UserRegister

source ·
pub struct UserRegister {
+    pub body: UserRegisterForm,
+}

Fields§

§body: UserRegisterForm

Body to be serialized as request body or query parameters (if GET)

+

Implementations§

source§

impl UserRegister

source

pub const fn new( + email: SmolStr, + username: SmolStr, + password: SmolStr, + dob: Timestamp, + token: String, +) -> Self

Construct new instance from individual fields

+

Trait Implementations§

source§

impl Archive for UserRegister
where + UserRegisterForm: Archive,

source§

type Archived = ArchivedUserRegister

The archived representation of this type. Read more
source§

type Resolver = UserRegisterResolver

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
source§

impl Command for UserRegister

source§

const RATE_LIMIT: RateLimit = _

+
RateLimit {
+    emission_interval: 1000ms,
+    burst_size: 1,
+}
+

If not specified, the burst_size will be from RateLimit::DEFAULT.

+
source§

const STREAM: bool = false

Whether the command returns one or many items
source§

const IS_QUERY: bool = false

Whether the command has a query string or sends a body
source§

async fn collect<S, E>(stream: S) -> Result<Self::Result, E>
where + S: Stream<Item = Result<Self::Item, E>> + Send, + E: From<MissingItemError>,

Used to collect the Result from an arbitrary Stream of items.
source§

type Item = Session

The underlying type of each returned item, be it one or many.
source§

type Result = Session

Item(s) returned from the server by a given command
source§

const HTTP_METHOD: Method = http::Method::POST

HTTP Method used to execute the command
source§

const FLAGS: CommandFlags = _

Flags for the command, defaults to empty.
source§

const SERVER_TIMEOUT: Duration = _

On the server side, how long to wait before timing out the request.
source§

fn perms(&self) -> Permissions

Computes required permissions
source§

const ROUTE_PATTERN: &'static str = "/api/v1/user"

Path pattern for the command (without query) when used with matchit 0.8 or higher.
source§

fn format_path<W: Write>(&self, w: W) -> Result

Serialize/format the REST path (without query)
source§

type Body = UserRegisterForm

Body type for the command
source§

fn body(&self) -> &Self::Body

Body to be serialized as request body or query parameters (if GET)
source§

fn body_size_hint(&self) -> usize

Hint given to preallocate body size, only used for query strings
source§

fn add_headers(&self, _map: &mut HeaderMap)

Insert any additional headers required to perform this command
source§

impl Debug for UserRegister

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Deref for UserRegister

source§

type Target = UserRegisterForm

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl DerefMut for UserRegister

source§

fn deref_mut(&mut self) -> &mut Self::Target

Mutably dereferences the value.
source§

impl<__D: Fallible + ?Sized> Deserialize<UserRegister, __D> for Archived<UserRegister>
where + UserRegisterForm: Archive, + <UserRegisterForm as Archive>::Archived: Deserialize<UserRegisterForm, __D>,

source§

fn deserialize( + &self, + deserializer: &mut __D, +) -> Result<UserRegister, <__D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<__S: Fallible + ?Sized> Serialize<__S> for UserRegister
where + UserRegisterForm: Serialize<__S>,

source§

fn serialize( + &self, + serializer: &mut __S, +) -> Result<<Self as Archive>::Resolver, <__S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/user/struct.UserRegisterForm.html b/client_sdk/api/commands/user/struct.UserRegisterForm.html new file mode 100644 index 000000000..c4b399aca --- /dev/null +++ b/client_sdk/api/commands/user/struct.UserRegisterForm.html @@ -0,0 +1,68 @@ +UserRegisterForm in client_sdk::api::commands::user - Rust

Struct client_sdk::api::commands::user::UserRegisterForm

source ·
pub struct UserRegisterForm {
+    pub email: SmolStr,
+    pub username: SmolStr,
+    pub password: SmolStr,
+    pub dob: Timestamp,
+    pub token: String,
+}

Fields§

§email: SmolStr

Email address

+
§username: SmolStr

Username

+
§password: SmolStr

Password (Plaintext, will be hashed on the server)

+
§dob: Timestamp

Date of birth

+
§token: String

hCaptcha token

+

Trait Implementations§

source§

impl Archive for UserRegisterForm
where + SmolStr: Archive, + Timestamp: Archive, + String: Archive,

source§

type Archived = ArchivedUserRegisterForm

The archived representation of this type. Read more
source§

type Resolver = UserRegisterFormResolver

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
source§

impl Debug for UserRegisterForm

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for UserRegisterForm

source§

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<__D: Fallible + ?Sized> Deserialize<UserRegisterForm, __D> for Archived<UserRegisterForm>
where + SmolStr: Archive, + <SmolStr as Archive>::Archived: Deserialize<SmolStr, __D>, + Timestamp: Archive, + <Timestamp as Archive>::Archived: Deserialize<Timestamp, __D>, + String: Archive, + <String as Archive>::Archived: Deserialize<String, __D>,

source§

fn deserialize( + &self, + deserializer: &mut __D, +) -> Result<UserRegisterForm, <__D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<__S: Fallible + ?Sized> Serialize<__S> for UserRegisterForm
where + SmolStr: Serialize<__S>, + Timestamp: Serialize<__S>, + String: Serialize<__S>,

source§

fn serialize( + &self, + serializer: &mut __S, +) -> Result<<Self as Archive>::Resolver, <__S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.
source§

impl Serialize for UserRegisterForm

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
source§

impl<T> CommandBody for T
where + T: Send + Serialize + Archive,

source§

impl<T> CommandResult for T
where + T: Send + DeserializeOwned + Serialize + Archive,

source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/user/struct.UserRegisterFormResolver.html b/client_sdk/api/commands/user/struct.UserRegisterFormResolver.html new file mode 100644 index 000000000..7b2e94a25 --- /dev/null +++ b/client_sdk/api/commands/user/struct.UserRegisterFormResolver.html @@ -0,0 +1,24 @@ +UserRegisterFormResolver in client_sdk::api::commands::user - Rust

Struct client_sdk::api::commands::user::UserRegisterFormResolver

source ·
pub struct UserRegisterFormResolver
where + SmolStr: Archive, + Timestamp: Archive, + String: Archive,
{ /* private fields */ }
Expand description

The resolver for an archived UserRegisterForm

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/commands/user/struct.UserRegisterResolver.html b/client_sdk/api/commands/user/struct.UserRegisterResolver.html new file mode 100644 index 000000000..3c4963987 --- /dev/null +++ b/client_sdk/api/commands/user/struct.UserRegisterResolver.html @@ -0,0 +1,22 @@ +UserRegisterResolver in client_sdk::api::commands::user - Rust

Struct client_sdk::api::commands::user::UserRegisterResolver

source ·
pub struct UserRegisterResolver
where + UserRegisterForm: Archive,
{ /* private fields */ }
Expand description

The resolver for an archived UserRegister

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/error/api_error_code_impl/enum.ApiErrorCode.html b/client_sdk/api/error/api_error_code_impl/enum.ApiErrorCode.html new file mode 100644 index 000000000..2737bf6be --- /dev/null +++ b/client_sdk/api/error/api_error_code_impl/enum.ApiErrorCode.html @@ -0,0 +1,11 @@ + + + + + Redirection + + +

Redirecting to ../../../../client_sdk/api/error/enum.ApiErrorCode.html...

+ + + \ No newline at end of file diff --git a/client_sdk/api/error/api_error_code_impl/struct.ArchivedApiErrorCode.html b/client_sdk/api/error/api_error_code_impl/struct.ArchivedApiErrorCode.html new file mode 100644 index 000000000..9bede744b --- /dev/null +++ b/client_sdk/api/error/api_error_code_impl/struct.ArchivedApiErrorCode.html @@ -0,0 +1,11 @@ + + + + + Redirection + + +

Redirecting to ../../../../client_sdk/api/error/struct.ArchivedApiErrorCode.html...

+ + + \ No newline at end of file diff --git a/client_sdk/api/error/enum.ApiErrorCode.html b/client_sdk/api/error/enum.ApiErrorCode.html new file mode 100644 index 000000000..46aabe918 --- /dev/null +++ b/client_sdk/api/error/enum.ApiErrorCode.html @@ -0,0 +1,148 @@ +ApiErrorCode in client_sdk::api::error - Rust

Enum client_sdk::api::error::ApiErrorCode

source ·
#[repr(u16)]
pub enum ApiErrorCode { +
Show 63 variants DbError = 50_001, + JoinError = 50_002, + SemaphoreError = 50_003, + HashError = 50_004, + JsonError = 50_005, + EventEncodingError = 50_006, + InternalError = 50_007, + Utf8ParseError = 50_008, + IOError = 50_009, + InvalidHeaderValue = 50_010, + XMLError = 50_011, + RequestError = 50_012, + Unimplemented = 50_013, + BincodeError = 50_014, + CborError = 50_015, + RkyvEncodingError = 50_016, + AlreadyExists = 40_001, + UsernameUnavailable = 40_002, + InvalidEmail = 40_003, + InvalidUsername = 40_004, + InvalidPassword = 40_005, + InvalidCredentials = 40_006, + InsufficientAge = 40_007, + InvalidDate = 40_008, + InvalidContent = 40_009, + InvalidName = 40_010, + InvalidTopic = 40_011, + MissingUploadMetadataHeader = 40_012, + MissingAuthorizationHeader = 40_013, + NoSession = 40_014, + InvalidAuthFormat = 40_015, + HeaderParseError = 40_016, + MissingFilename = 40_017, + MissingMime = 40_018, + AuthTokenError = 40_019, + Base64DecodeError = 40_020, + BodyDeserializeError = 40_021, + QueryParseError = 40_022, + UploadError = 40_023, + InvalidPreview = 40_024, + MimeParseError = 40_025, + InvalidImageFormat = 40_026, + TOTPRequired = 40_027, + InvalidPreferences = 40_028, + TemporarilyDisabled = 40_029, + InvalidCaptcha = 40_030, + Base85DecodeError = 40_031, + WebsocketError = 40_032, + MissingContentTypeHeader = 40_033, + Blocked = 40_034, + Banned = 40_035, + SearchError = 40_036, + IncorrectRpcEndpoint = 40_047, + BadRequest = 40_400, + Unauthorized = 40_401, + NotFound = 40_404, + MethodNotAllowed = 40_405, + RequestTimeout = 40_408, + Conflict = 40_409, + RequestEntityTooLarge = 40_413, + UnsupportedMediaType = 40_415, + ChecksumMismatch = 40_460, + Unknown = 1, +
}
Expand description

Standard API error codes.

+

Variants§

§

DbError = 50_001

§

JoinError = 50_002

§

SemaphoreError = 50_003

§

HashError = 50_004

§

JsonError = 50_005

§

EventEncodingError = 50_006

§

InternalError = 50_007

§

Utf8ParseError = 50_008

§

IOError = 50_009

§

InvalidHeaderValue = 50_010

§

XMLError = 50_011

§

RequestError = 50_012

§

Unimplemented = 50_013

§

BincodeError = 50_014

§

CborError = 50_015

§

RkyvEncodingError = 50_016

§

AlreadyExists = 40_001

§

UsernameUnavailable = 40_002

§

InvalidEmail = 40_003

§

InvalidUsername = 40_004

§

InvalidPassword = 40_005

§

InvalidCredentials = 40_006

§

InsufficientAge = 40_007

§

InvalidDate = 40_008

§

InvalidContent = 40_009

§

InvalidName = 40_010

§

InvalidTopic = 40_011

§

MissingUploadMetadataHeader = 40_012

§

MissingAuthorizationHeader = 40_013

§

NoSession = 40_014

§

InvalidAuthFormat = 40_015

§

HeaderParseError = 40_016

§

MissingFilename = 40_017

§

MissingMime = 40_018

§

AuthTokenError = 40_019

§

Base64DecodeError = 40_020

§

BodyDeserializeError = 40_021

§

QueryParseError = 40_022

§

UploadError = 40_023

§

InvalidPreview = 40_024

§

MimeParseError = 40_025

§

InvalidImageFormat = 40_026

§

TOTPRequired = 40_027

§

InvalidPreferences = 40_028

§

TemporarilyDisabled = 40_029

§

InvalidCaptcha = 40_030

§

Base85DecodeError = 40_031

§

WebsocketError = 40_032

§

MissingContentTypeHeader = 40_033

§

Blocked = 40_034

§

Banned = 40_035

§

SearchError = 40_036

§

IncorrectRpcEndpoint = 40_047

§

BadRequest = 40_400

§

Unauthorized = 40_401

§

NotFound = 40_404

§

MethodNotAllowed = 40_405

§

RequestTimeout = 40_408

§

Conflict = 40_409

§

RequestEntityTooLarge = 40_413

§

UnsupportedMediaType = 40_415

§

ChecksumMismatch = 40_460

§

Unknown = 1

Implementations§

source§

impl ApiErrorCode

source

pub fn http_status(self) -> StatusCode

Get the HTTP status code for this error code.

+

Trait Implementations§

source§

impl Archive for ApiErrorCode

source§

type Archived = ArchivedApiErrorCode

The archived representation of this type. Read more
source§

type Resolver = ()

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

fn resolve(&self, _: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
source§

impl Clone for ApiErrorCode

source§

fn clone(&self) -> ApiErrorCode

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ApiErrorCode

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for ApiErrorCode

source§

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<D: Fallible + ?Sized> Deserialize<ApiErrorCode, D> for ArchivedApiErrorCode

source§

fn deserialize(&self, _: &mut D) -> Result<ApiErrorCode, D::Error>

Deserializes using the given deserializer
source§

impl FromPrimitive for ApiErrorCode

source§

fn from_u64(val: u64) -> Option<Self>

Converts an u64 to return an optional value of this type. If the +value cannot be represented by this type, then None is returned.
source§

fn from_i64(val: i64) -> Option<Self>

Converts an i64 to return an optional value of this type. If the +value cannot be represented by this type, then None is returned.
source§

fn from_isize(n: isize) -> Option<Self>

Converts an isize to return an optional value of this type. If the +value cannot be represented by this type, then None is returned.
source§

fn from_i8(n: i8) -> Option<Self>

Converts an i8 to return an optional value of this type. If the +value cannot be represented by this type, then None is returned.
source§

fn from_i16(n: i16) -> Option<Self>

Converts an i16 to return an optional value of this type. If the +value cannot be represented by this type, then None is returned.
source§

fn from_i32(n: i32) -> Option<Self>

Converts an i32 to return an optional value of this type. If the +value cannot be represented by this type, then None is returned.
source§

fn from_i128(n: i128) -> Option<Self>

Converts an i128 to return an optional value of this type. If the +value cannot be represented by this type, then None is returned. Read more
source§

fn from_usize(n: usize) -> Option<Self>

Converts a usize to return an optional value of this type. If the +value cannot be represented by this type, then None is returned.
source§

fn from_u8(n: u8) -> Option<Self>

Converts an u8 to return an optional value of this type. If the +value cannot be represented by this type, then None is returned.
source§

fn from_u16(n: u16) -> Option<Self>

Converts an u16 to return an optional value of this type. If the +value cannot be represented by this type, then None is returned.
source§

fn from_u32(n: u32) -> Option<Self>

Converts an u32 to return an optional value of this type. If the +value cannot be represented by this type, then None is returned.
source§

fn from_u128(n: u128) -> Option<Self>

Converts an u128 to return an optional value of this type. If the +value cannot be represented by this type, then None is returned. Read more
source§

fn from_f32(n: f32) -> Option<Self>

Converts a f32 to return an optional value of this type. If the +value cannot be represented by this type, then None is returned.
source§

fn from_f64(n: f64) -> Option<Self>

Converts a f64 to return an optional value of this type. If the +value cannot be represented by this type, then None is returned. Read more
source§

impl Hash for ApiErrorCode

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where + H: Hasher, + Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl PartialEq for ApiErrorCode

source§

fn eq(&self, other: &ApiErrorCode) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl<S: Fallible + ?Sized> Serialize<S> for ApiErrorCode

source§

fn serialize(&self, _: &mut S) -> Result<(), S::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.
source§

impl Serialize for ApiErrorCode

source§

fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
where + S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl ToPrimitive for ApiErrorCode

source§

fn to_u64(&self) -> Option<u64>

Converts the value of self to a u64. If the value cannot be +represented by a u64, then None is returned.
source§

fn to_i64(&self) -> Option<i64>

Converts the value of self to an i64. If the value cannot be +represented by an i64, then None is returned.
source§

fn to_isize(&self) -> Option<isize>

Converts the value of self to an isize. If the value cannot be +represented by an isize, then None is returned.
source§

fn to_i8(&self) -> Option<i8>

Converts the value of self to an i8. If the value cannot be +represented by an i8, then None is returned.
source§

fn to_i16(&self) -> Option<i16>

Converts the value of self to an i16. If the value cannot be +represented by an i16, then None is returned.
source§

fn to_i32(&self) -> Option<i32>

Converts the value of self to an i32. If the value cannot be +represented by an i32, then None is returned.
source§

fn to_i128(&self) -> Option<i128>

Converts the value of self to an i128. If the value cannot be +represented by an i128 (i64 under the default implementation), then +None is returned. Read more
source§

fn to_usize(&self) -> Option<usize>

Converts the value of self to a usize. If the value cannot be +represented by a usize, then None is returned.
source§

fn to_u8(&self) -> Option<u8>

Converts the value of self to a u8. If the value cannot be +represented by a u8, then None is returned.
source§

fn to_u16(&self) -> Option<u16>

Converts the value of self to a u16. If the value cannot be +represented by a u16, then None is returned.
source§

fn to_u32(&self) -> Option<u32>

Converts the value of self to a u32. If the value cannot be +represented by a u32, then None is returned.
source§

fn to_u128(&self) -> Option<u128>

Converts the value of self to a u128. If the value cannot be +represented by a u128 (u64 under the default implementation), then +None is returned. Read more
source§

fn to_f32(&self) -> Option<f32>

Converts the value of self to an f32. Overflows may map to positive +or negative inifinity, otherwise None is returned if the value cannot +be represented by an f32.
source§

fn to_f64(&self) -> Option<f64>

Converts the value of self to an f64. Overflows may map to positive +or negative inifinity, otherwise None is returned if the value cannot +be represented by an f64. Read more
source§

impl TryFrom<i16> for ApiErrorCode

source§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_from(value: i16) -> Result<Self, <Self as TryFrom<i16>>::Error>

Performs the conversion.
source§

impl TryFrom<i32> for ApiErrorCode

source§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_from(value: i32) -> Result<Self, <Self as TryFrom<i32>>::Error>

Performs the conversion.
source§

impl TryFrom<i64> for ApiErrorCode

source§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_from(value: i64) -> Result<Self, <Self as TryFrom<i64>>::Error>

Performs the conversion.
source§

impl TryFrom<i8> for ApiErrorCode

source§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_from(value: i8) -> Result<Self, <Self as TryFrom<i8>>::Error>

Performs the conversion.
source§

impl TryFrom<u16> for ApiErrorCode

source§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_from(value: u16) -> Result<Self, <Self as TryFrom<u16>>::Error>

Performs the conversion.
source§

impl TryFrom<u32> for ApiErrorCode

source§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_from(value: u32) -> Result<Self, <Self as TryFrom<u32>>::Error>

Performs the conversion.
source§

impl TryFrom<u64> for ApiErrorCode

source§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_from(value: u64) -> Result<Self, <Self as TryFrom<u64>>::Error>

Performs the conversion.
source§

impl TryFrom<u8> for ApiErrorCode

source§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_from(value: u8) -> Result<Self, <Self as TryFrom<u8>>::Error>

Performs the conversion.
source§

impl Copy for ApiErrorCode

source§

impl Eq for ApiErrorCode

source§

impl StructuralPartialEq for ApiErrorCode

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where + T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T> ToOwned for T
where + T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
source§

impl<T> CommandBody for T
where + T: Send + Serialize + Archive,

source§

impl<T> CommandResult for T
where + T: Send + DeserializeOwned + Serialize + Archive,

source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/error/index.html b/client_sdk/api/error/index.html new file mode 100644 index 000000000..87b43b644 --- /dev/null +++ b/client_sdk/api/error/index.html @@ -0,0 +1,2 @@ +client_sdk::api::error - Rust

Module client_sdk::api::error

source ·
Expand description

Standard API error types and codes.

+

Structs§

Enums§

\ No newline at end of file diff --git a/client_sdk/api/error/sidebar-items.js b/client_sdk/api/error/sidebar-items.js new file mode 100644 index 000000000..7d94b8758 --- /dev/null +++ b/client_sdk/api/error/sidebar-items.js @@ -0,0 +1 @@ +window.SIDEBAR_ITEMS = {"enum":["ApiErrorCode"],"struct":["ApiError","ApiErrorResolver","ArchivedApiError","ArchivedApiErrorCode"]}; \ No newline at end of file diff --git a/client_sdk/api/error/struct.ApiError.html b/client_sdk/api/error/struct.ApiError.html new file mode 100644 index 000000000..8bdea2669 --- /dev/null +++ b/client_sdk/api/error/struct.ApiError.html @@ -0,0 +1,62 @@ +ApiError in client_sdk::api::error - Rust

Struct client_sdk::api::error::ApiError

source ·
pub struct ApiError {
+    pub code: ApiErrorCode,
+    pub message: Cow<'static, str>,
+}
Expand description

Standard API error response, containing an error code and message.

+

Fields§

§code: ApiErrorCode

Error code

+
§message: Cow<'static, str>

Human-readable error message

+

Trait Implementations§

source§

impl Archive for ApiError
where + ApiErrorCode: Archive, + AsOwned: ArchiveWith<Cow<'static, str>>,

source§

type Archived = ArchivedApiError

The archived representation of this type. Read more
source§

type Resolver = ApiErrorResolver

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

impl Clone for ApiError

source§

fn clone(&self) -> ApiError

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ApiError

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for ApiError

source§

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<__D: Fallible + ?Sized> Deserialize<ApiError, __D> for Archived<ApiError>
where + ApiErrorCode: Archive, + <ApiErrorCode as Archive>::Archived: Deserialize<ApiErrorCode, __D>, + AsOwned: ArchiveWith<Cow<'static, str>> + DeserializeWith<<AsOwned as ArchiveWith<Cow<'static, str>>>::Archived, Cow<'static, str>, __D>,

source§

fn deserialize( + &self, + deserializer: &mut __D, +) -> Result<ApiError, <__D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl Display for ApiError

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Error for ApiError

1.30.0 · source§

fn source(&self) -> Option<&(dyn Error + 'static)>

Returns the lower-level source of this error, if any. Read more
1.0.0 · source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.0.0 · source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
source§

fn provide<'a>(&'a self, request: &mut Request<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type-based access to context intended for error reports. Read more
source§

impl From<Error> for ApiError

source§

fn from(err: Error) -> Self

Converts to this type from the input type.
source§

impl<__S: Fallible + ?Sized> Serialize<__S> for ApiError
where + ApiErrorCode: Serialize<__S>, + AsOwned: SerializeWith<Cow<'static, str>, __S>,

source§

fn serialize( + &self, + serializer: &mut __S, +) -> Result<<Self as Archive>::Resolver, <__S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.
source§

impl Serialize for ApiError

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where + T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T> ToOwned for T
where + T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
§

impl<T> ToSmolStr for T
where + T: Display + ?Sized,

§

fn to_smolstr(&self) -> SmolStr

source§

impl<T> ToString for T
where + T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
source§

impl<T> CommandBody for T
where + T: Send + Serialize + Archive,

source§

impl<T> CommandResult for T
where + T: Send + DeserializeOwned + Serialize + Archive,

source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/error/struct.ApiErrorResolver.html b/client_sdk/api/error/struct.ApiErrorResolver.html new file mode 100644 index 000000000..188bc3680 --- /dev/null +++ b/client_sdk/api/error/struct.ApiErrorResolver.html @@ -0,0 +1,23 @@ +ApiErrorResolver in client_sdk::api::error - Rust

Struct client_sdk::api::error::ApiErrorResolver

source ·
pub struct ApiErrorResolver
where + ApiErrorCode: Archive, + AsOwned: ArchiveWith<Cow<'static, str>>,
{ /* private fields */ }
Expand description

The resolver for an archived ApiError

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/error/struct.ArchivedApiError.html b/client_sdk/api/error/struct.ArchivedApiError.html new file mode 100644 index 000000000..ee3268dac --- /dev/null +++ b/client_sdk/api/error/struct.ArchivedApiError.html @@ -0,0 +1,40 @@ +ArchivedApiError in client_sdk::api::error - Rust

Struct client_sdk::api::error::ArchivedApiError

source ·
#[repr(C)]
pub struct ArchivedApiError
where + ApiErrorCode: Archive, + AsOwned: ArchiveWith<Cow<'static, str>>,
{ + pub code: <ApiErrorCode as Archive>::Archived, + pub message: <AsOwned as ArchiveWith<Cow<'static, str>>>::Archived, +}
Expand description

An archived ApiError

+

Fields§

§code: <ApiErrorCode as Archive>::Archived§message: <AsOwned as ArchiveWith<Cow<'static, str>>>::Archived

Implementations§

source§

impl ArchivedApiError

source

pub const fn code(&self) -> ApiErrorCode

Get the error code for this error.

+

Trait Implementations§

source§

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedApiError
where + ApiErrorCode: Archive, + AsOwned: ArchiveWith<Cow<'static, str>>, + <__C as Fallible>::Error: Trace, + <ApiErrorCode as Archive>::Archived: CheckBytes<__C>, + <AsOwned as ArchiveWith<Cow<'static, str>>>::Archived: CheckBytes<__C>,

source§

unsafe fn check_bytes( + value: *const Self, + context: &mut __C, +) -> Result<(), <__C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Debug for ArchivedApiError

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Portable for ArchivedApiError
where + ApiErrorCode: Archive, + AsOwned: ArchiveWith<Cow<'static, str>>, + <ApiErrorCode as Archive>::Archived: Portable, + <AsOwned as ArchiveWith<Cow<'static, str>>>::Archived: Portable,

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/error/struct.ArchivedApiErrorCode.html b/client_sdk/api/error/struct.ArchivedApiErrorCode.html new file mode 100644 index 000000000..b1f06e447 --- /dev/null +++ b/client_sdk/api/error/struct.ArchivedApiErrorCode.html @@ -0,0 +1,45 @@ +ArchivedApiErrorCode in client_sdk::api::error - Rust

Struct client_sdk::api::error::ArchivedApiErrorCode

source ·
#[repr(transparent)]
pub struct ArchivedApiErrorCode(pub Archived<u16>);

Tuple Fields§

§0: Archived<u16>

Implementations§

Trait Implementations§

source§

impl<C> CheckBytes<C> for ArchivedApiErrorCode
where + C: Fallible + ?Sized, + <C as Fallible>::Error: Source,

source§

unsafe fn check_bytes( + value: *const Self, + _: &mut C, +) -> Result<(), <C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Clone for ArchivedApiErrorCode

source§

fn clone(&self) -> ArchivedApiErrorCode

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ArchivedApiErrorCode

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<D: Fallible + ?Sized> Deserialize<ApiErrorCode, D> for ArchivedApiErrorCode

source§

fn deserialize(&self, _: &mut D) -> Result<ApiErrorCode, D::Error>

Deserializes using the given deserializer
source§

impl Hash for ArchivedApiErrorCode

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where + H: Hasher, + Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl Ord for ArchivedApiErrorCode

source§

fn cmp(&self, other: &ArchivedApiErrorCode) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Self
where + Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Self
where + Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · source§

fn clamp(self, min: Self, max: Self) -> Self
where + Self: Sized + PartialOrd,

Restrict a value to a certain interval. Read more
source§

impl PartialEq for ArchivedApiErrorCode

source§

fn eq(&self, other: &ArchivedApiErrorCode) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl PartialOrd for ArchivedApiErrorCode

source§

fn partial_cmp(&self, other: &ArchivedApiErrorCode) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the +<= operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > +operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by +the >= operator. Read more
source§

impl Copy for ArchivedApiErrorCode

source§

impl Eq for ArchivedApiErrorCode

source§

impl NoUndef for ArchivedApiErrorCode

source§

impl Portable for ArchivedApiErrorCode

source§

impl StructuralPartialEq for ArchivedApiErrorCode

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where + T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
§

impl<Q, K> Comparable<K> for Q
where + Q: Ord + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn compare(&self, key: &K) -> Ordering

Compare self to key and return their ordering.
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where + T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/gateway/index.html b/client_sdk/api/gateway/index.html new file mode 100644 index 000000000..ad04b7d9a --- /dev/null +++ b/client_sdk/api/gateway/index.html @@ -0,0 +1 @@ +client_sdk::api::gateway - Rust

Module client_sdk::api::gateway

source ·

Re-exports§

Structs§

\ No newline at end of file diff --git a/client_sdk/api/gateway/sidebar-items.js b/client_sdk/api/gateway/sidebar-items.js new file mode 100644 index 000000000..11ebf75cc --- /dev/null +++ b/client_sdk/api/gateway/sidebar-items.js @@ -0,0 +1 @@ +window.SIDEBAR_ITEMS = {"struct":["GatewayQueryParams"]}; \ No newline at end of file diff --git a/client_sdk/api/gateway/struct.GatewayQueryParams.html b/client_sdk/api/gateway/struct.GatewayQueryParams.html new file mode 100644 index 000000000..38c2f134a --- /dev/null +++ b/client_sdk/api/gateway/struct.GatewayQueryParams.html @@ -0,0 +1,33 @@ +GatewayQueryParams in client_sdk::api::gateway - Rust

Struct client_sdk::api::gateway::GatewayQueryParams

source ·
pub struct GatewayQueryParams {
+    pub encoding: Encoding,
+    pub compress: bool,
+}
Expand description

Query parameters for the gateway, used to configure the connection.

+

Fields§

§encoding: Encoding

Encoding method for each individual websocket message

+
§compress: bool

Whether to compress individual messages

+

Trait Implementations§

source§

impl Clone for GatewayQueryParams

source§

fn clone(&self) -> GatewayQueryParams

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for GatewayQueryParams

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for GatewayQueryParams

source§

fn default() -> Self

Returns the “default value” for a type. Read more
source§

impl<'de> Deserialize<'de> for GatewayQueryParams

source§

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 PartialEq for GatewayQueryParams

source§

fn eq(&self, other: &GatewayQueryParams) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl Serialize for GatewayQueryParams

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Copy for GatewayQueryParams

source§

impl StructuralPartialEq for GatewayQueryParams

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where + T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where + T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/index.html b/client_sdk/api/index.html new file mode 100644 index 000000000..095775022 --- /dev/null +++ b/client_sdk/api/index.html @@ -0,0 +1,2 @@ +client_sdk::api - Rust

Module client_sdk::api

source ·
Expand description

API Definitions

+

Modules§

Structs§

  • Flags for command functionality.
  • Error returned when an item is missing from a stream or the stream is empty.
  • Rate-limiting configuration for a command

Traits§

  • Client Command, tells the client to perform specific requests
  • Combined trait for serde and rkyv functionality
  • Combined trait for serde and rkyv functionality
\ No newline at end of file diff --git a/client_sdk/api/sidebar-items.js b/client_sdk/api/sidebar-items.js new file mode 100644 index 000000000..cc3e89335 --- /dev/null +++ b/client_sdk/api/sidebar-items.js @@ -0,0 +1 @@ +window.SIDEBAR_ITEMS = {"mod":["asset","commands","error","gateway"],"struct":["CommandFlags","MissingItemError","RateLimit"],"trait":["Command","CommandBody","CommandResult"]}; \ No newline at end of file diff --git a/client_sdk/api/struct.CommandFlags.html b/client_sdk/api/struct.CommandFlags.html new file mode 100644 index 000000000..8139ed88b --- /dev/null +++ b/client_sdk/api/struct.CommandFlags.html @@ -0,0 +1,103 @@ +CommandFlags in client_sdk::api - Rust

Struct client_sdk::api::CommandFlags

source ·
pub struct CommandFlags(/* private fields */);
Expand description

Flags for command functionality.

+

Implementations§

source§

impl CommandFlags

source

pub const AUTHORIZED: Self = _

Command requires authorization to execute.

+
source

pub const HAS_BODY: Self = _

Command has a body.

+
source

pub const BOTS_ONLY: Self = _

source

pub const USERS_ONLY: Self = _

source

pub const ADMIN_ONLY: Self = _

source§

impl CommandFlags

source

pub const fn empty() -> Self

Get a flags value with all bits unset.

+
source

pub const fn all() -> Self

Get a flags value with all known bits set.

+
source

pub const fn bits(&self) -> u8

Get the underlying bits value.

+

The returned value is exactly the bits set in this flags value.

+
source

pub const fn from_bits(bits: u8) -> Option<Self>

Convert from a bits value.

+

This method will return None if any unknown bits are set.

+
source

pub const fn from_bits_truncate(bits: u8) -> Self

Convert from a bits value, unsetting any unknown bits.

+
source

pub const fn from_bits_retain(bits: u8) -> Self

Convert from a bits value exactly.

+
source

pub fn from_name(name: &str) -> Option<Self>

Get a flags value with the bits of a flag with the given name set.

+

This method will return None if name is empty or doesn’t +correspond to any named flag.

+
source

pub const fn is_empty(&self) -> bool

Whether all bits in this flags value are unset.

+
source

pub const fn is_all(&self) -> bool

Whether all known bits in this flags value are set.

+
source

pub const fn intersects(&self, other: Self) -> bool

Whether any set bits in a source flags value are also set in a target flags value.

+
source

pub const fn contains(&self, other: Self) -> bool

Whether all set bits in a source flags value are also set in a target flags value.

+
source

pub fn insert(&mut self, other: Self)

The bitwise or (|) of the bits in two flags values.

+
source

pub fn remove(&mut self, other: Self)

The intersection of a source flags value with the complement of a target flags value (&!).

+

This method is not equivalent to self & !other when other has unknown bits set. +remove won’t truncate other, but the ! operator will.

+
source

pub fn toggle(&mut self, other: Self)

The bitwise exclusive-or (^) of the bits in two flags values.

+
source

pub fn set(&mut self, other: Self, value: bool)

Call insert when value is true or remove when value is false.

+
source

pub const fn intersection(self, other: Self) -> Self

The bitwise and (&) of the bits in two flags values.

+
source

pub const fn union(self, other: Self) -> Self

The bitwise or (|) of the bits in two flags values.

+
source

pub const fn difference(self, other: Self) -> Self

The intersection of a source flags value with the complement of a target flags value (&!).

+

This method is not equivalent to self & !other when other has unknown bits set. +difference won’t truncate other, but the ! operator will.

+
source

pub const fn symmetric_difference(self, other: Self) -> Self

The bitwise exclusive-or (^) of the bits in two flags values.

+
source

pub const fn complement(self) -> Self

The bitwise negation (!) of the bits in a flags value, truncating the result.

+
source§

impl CommandFlags

source

pub const fn iter(&self) -> Iter<CommandFlags>

Yield a set of contained flags values.

+

Each yielded flags value will correspond to a defined named flag. Any unknown bits +will be yielded together as a final flags value.

+
source

pub const fn iter_names(&self) -> IterNames<CommandFlags>

Yield a set of contained named flags values.

+

This method is like iter, except only yields bits in contained named flags. +Any unknown bits, or bits not corresponding to a contained flag will not be yielded.

+

Trait Implementations§

source§

impl Archive for CommandFlags

source§

type Archived = ArchivedCommandFlags

The archived representation of this type. Read more
source§

type Resolver = ()

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

fn resolve(&self, _: (), out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
source§

impl Binary for CommandFlags

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl BitAnd for CommandFlags

source§

fn bitand(self, other: Self) -> Self

The bitwise and (&) of the bits in two flags values.

+
source§

type Output = CommandFlags

The resulting type after applying the & operator.
source§

impl BitAndAssign for CommandFlags

source§

fn bitand_assign(&mut self, other: Self)

The bitwise and (&) of the bits in two flags values.

+
source§

impl BitOr for CommandFlags

source§

fn bitor(self, other: CommandFlags) -> Self

The bitwise or (|) of the bits in two flags values.

+
source§

type Output = CommandFlags

The resulting type after applying the | operator.
source§

impl BitOrAssign for CommandFlags

source§

fn bitor_assign(&mut self, other: Self)

The bitwise or (|) of the bits in two flags values.

+
source§

impl BitXor for CommandFlags

source§

fn bitxor(self, other: Self) -> Self

The bitwise exclusive-or (^) of the bits in two flags values.

+
source§

type Output = CommandFlags

The resulting type after applying the ^ operator.
source§

impl BitXorAssign for CommandFlags

source§

fn bitxor_assign(&mut self, other: Self)

The bitwise exclusive-or (^) of the bits in two flags values.

+
source§

impl Clone for CommandFlags

source§

fn clone(&self) -> CommandFlags

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for CommandFlags

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Extend<CommandFlags> for CommandFlags

source§

fn extend<T: IntoIterator<Item = Self>>(&mut self, iterator: T)

The bitwise or (|) of the bits in each flags value.

+
source§

fn extend_one(&mut self, item: A)

🔬This is a nightly-only experimental API. (extend_one)
Extends a collection with exactly one element.
source§

fn extend_reserve(&mut self, additional: usize)

🔬This is a nightly-only experimental API. (extend_one)
Reserves capacity in a collection for the given number of additional elements. Read more
source§

impl Flags for CommandFlags

source§

const FLAGS: &'static [Flag<CommandFlags>] = _

The set of defined flags.
source§

type Bits = u8

The underlying bits type.
source§

fn bits(&self) -> u8

Get the underlying bits value. Read more
source§

fn from_bits_retain(bits: u8) -> CommandFlags

Convert from a bits value exactly.
§

fn empty() -> Self

Get a flags value with all bits unset.
§

fn all() -> Self

Get a flags value with all known bits set.
§

fn from_bits(bits: Self::Bits) -> Option<Self>

Convert from a bits value. Read more
§

fn from_bits_truncate(bits: Self::Bits) -> Self

Convert from a bits value, unsetting any unknown bits.
§

fn from_name(name: &str) -> Option<Self>

Get a flags value with the bits of a flag with the given name set. Read more
§

fn iter(&self) -> Iter<Self>

Yield a set of contained flags values. Read more
§

fn iter_names(&self) -> IterNames<Self>

Yield a set of contained named flags values. Read more
§

fn is_empty(&self) -> bool

Whether all bits in this flags value are unset.
§

fn is_all(&self) -> bool

Whether all known bits in this flags value are set.
§

fn intersects(&self, other: Self) -> bool
where + Self: Sized,

Whether any set bits in a source flags value are also set in a target flags value.
§

fn contains(&self, other: Self) -> bool
where + Self: Sized,

Whether all set bits in a source flags value are also set in a target flags value.
§

fn insert(&mut self, other: Self)
where + Self: Sized,

The bitwise or (|) of the bits in two flags values.
§

fn remove(&mut self, other: Self)
where + Self: Sized,

The intersection of a source flags value with the complement of a target flags value (&!). Read more
§

fn toggle(&mut self, other: Self)
where + Self: Sized,

The bitwise exclusive-or (^) of the bits in two flags values.
§

fn set(&mut self, other: Self, value: bool)
where + Self: Sized,

Call [Flags::insert] when value is true or [Flags::remove] when value is false.
§

fn intersection(self, other: Self) -> Self

The bitwise and (&) of the bits in two flags values.
§

fn union(self, other: Self) -> Self

The bitwise or (|) of the bits in two flags values.
§

fn difference(self, other: Self) -> Self

The intersection of a source flags value with the complement of a target flags value (&!). Read more
§

fn symmetric_difference(self, other: Self) -> Self

The bitwise exclusive-or (^) of the bits in two flags values.
§

fn complement(self) -> Self

The bitwise negation (!) of the bits in a flags value, truncating the result.
source§

impl FromIterator<CommandFlags> for CommandFlags

source§

fn from_iter<T: IntoIterator<Item = Self>>(iterator: T) -> Self

The bitwise or (|) of the bits in each flags value.

+
source§

impl Hash for CommandFlags

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where + H: Hasher, + Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl IntoIterator for CommandFlags

source§

type Item = CommandFlags

The type of the elements being iterated over.
source§

type IntoIter = Iter<CommandFlags>

Which kind of iterator are we turning this into?
source§

fn into_iter(self) -> Self::IntoIter

Creates an iterator from a value. Read more
source§

impl LowerHex for CommandFlags

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Not for CommandFlags

source§

fn not(self) -> Self

The bitwise negation (!) of the bits in a flags value, truncating the result.

+
source§

type Output = CommandFlags

The resulting type after applying the ! operator.
source§

impl Octal for CommandFlags

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl PartialEq for CommandFlags

source§

fn eq(&self, other: &CommandFlags) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl PublicFlags for CommandFlags

source§

type Primitive = u8

The type of the underlying storage.
source§

type Internal = InternalBitFlags

The type of the internal field on the generated flags type.
source§

impl<S: Fallible + ?Sized> Serialize<S> for CommandFlags

source§

fn serialize(&self, _: &mut S) -> Result<(), S::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.
source§

impl Sub for CommandFlags

source§

fn sub(self, other: Self) -> Self

The intersection of a source flags value with the complement of a target flags value (&!).

+

This method is not equivalent to self & !other when other has unknown bits set. +difference won’t truncate other, but the ! operator will.

+
source§

type Output = CommandFlags

The resulting type after applying the - operator.
source§

impl SubAssign for CommandFlags

source§

fn sub_assign(&mut self, other: Self)

The intersection of a source flags value with the complement of a target flags value (&!).

+

This method is not equivalent to self & !other when other has unknown bits set. +difference won’t truncate other, but the ! operator will.

+
source§

impl UpperHex for CommandFlags

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Copy for CommandFlags

source§

impl Eq for CommandFlags

source§

impl StructuralPartialEq for CommandFlags

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where + T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T> ToOwned for T
where + T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/struct.MissingItemError.html b/client_sdk/api/struct.MissingItemError.html new file mode 100644 index 000000000..12d4d12ad --- /dev/null +++ b/client_sdk/api/struct.MissingItemError.html @@ -0,0 +1,32 @@ +MissingItemError in client_sdk::api - Rust

Struct client_sdk::api::MissingItemError

source ·
pub struct MissingItemError;
Expand description

Error returned when an item is missing from a stream or the stream is empty.

+

Trait Implementations§

source§

impl Clone for MissingItemError

source§

fn clone(&self) -> MissingItemError

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for MissingItemError

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Display for MissingItemError

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Error for MissingItemError

1.30.0 · source§

fn source(&self) -> Option<&(dyn Error + 'static)>

Returns the lower-level source of this error, if any. Read more
1.0.0 · source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.0.0 · source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
source§

fn provide<'a>(&'a self, request: &mut Request<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type-based access to context intended for error reports. Read more
source§

impl PartialEq for MissingItemError

source§

fn eq(&self, other: &MissingItemError) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl Copy for MissingItemError

source§

impl Eq for MissingItemError

source§

impl StructuralPartialEq for MissingItemError

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where + T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where + T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
§

impl<T> ToSmolStr for T
where + T: Display + ?Sized,

§

fn to_smolstr(&self) -> SmolStr

source§

impl<T> ToString for T
where + T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/struct.RateLimit.html b/client_sdk/api/struct.RateLimit.html new file mode 100644 index 000000000..64e5aaf46 --- /dev/null +++ b/client_sdk/api/struct.RateLimit.html @@ -0,0 +1,43 @@ +RateLimit in client_sdk::api - Rust

Struct client_sdk::api::RateLimit

source ·
pub struct RateLimit {
+    pub emission_interval: Duration,
+    pub burst_size: NonZeroU64,
+}
Expand description

Rate-limiting configuration for a command

+

Fields§

§emission_interval: Duration

Ideal time between each request

+
§burst_size: NonZeroU64

Maximum number of requests that can be made in a burst, before rate-limiting kicks in.

+

Implementations§

source§

impl RateLimit

source

pub const DEFAULT: RateLimit = _

Default rate-limit config for commands when not otherwise specified.

+ +
RateLimit {
+    emission_interval: 50ms,
+    burst_size: 5,
+}
+

Or approximately 20 requests per second, with up to 5 requests burst within the emission_interval, +but the client must wait for them to replenish before another burst.

+

Trait Implementations§

source§

impl Clone for RateLimit

source§

fn clone(&self) -> RateLimit

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for RateLimit

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for RateLimit

source§

fn default() -> Self

Returns the “default value” for a type. Read more
source§

impl PartialEq for RateLimit

source§

fn eq(&self, other: &RateLimit) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl Copy for RateLimit

source§

impl Eq for RateLimit

source§

impl StructuralPartialEq for RateLimit

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where + T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where + T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/api/trait.Command.html b/client_sdk/api/trait.Command.html new file mode 100644 index 000000000..5ec477389 --- /dev/null +++ b/client_sdk/api/trait.Command.html @@ -0,0 +1,55 @@ +Command in client_sdk::api - Rust

Trait client_sdk::api::Command

source ·
pub trait Command: Sealed {
+    type Item: CommandResult;
+    type Result: CommandResult;
+    type Body: CommandBody;
+
+    const STREAM: bool;
+    const IS_QUERY: bool;
+    const HTTP_METHOD: Method;
+    const FLAGS: CommandFlags;
+    const RATE_LIMIT: RateLimit;
+    const SERVER_TIMEOUT: Duration;
+    const ROUTE_PATTERN: &'static str;
+
+    // Required methods
+    fn format_path<W: Write>(&self, w: W) -> Result;
+    fn body(&self) -> &Self::Body;
+    fn collect<S, E>(
+        stream: S,
+    ) -> impl Future<Output = Result<Self::Result, E>> + Send
+       where S: Stream<Item = Result<Self::Item, E>> + Send,
+             E: From<MissingItemError>;
+    fn perms(&self) -> Permissions;
+
+    // Provided methods
+    fn body_size_hint(&self) -> usize { ... }
+    fn add_headers(&self, _map: &mut HeaderMap) { ... }
+}
Expand description

Client Command, tells the client to perform specific requests

+

A “Command” is a mid-level abstraction around REST endpoints and their bodies. Not perfect, +but zero-cost and simple. Other abstractions can be built on top of it.

+

A command consists of three parts: the URL, the “body”, and headers.

+

For the case of GET/OPTIONS commands, the body becomes query parameters.

+

Required Associated Types§

source

type Item: CommandResult

The underlying type of each returned item, be it one or many.

+
source

type Result: CommandResult

Item(s) returned from the server by a given command

+
source

type Body: CommandBody

Body type for the command

+

Required Associated Constants§

source

const STREAM: bool

Whether the command returns one or many items

+
source

const IS_QUERY: bool

Whether the command has a query string or sends a body

+
source

const HTTP_METHOD: Method

HTTP Method used to execute the command

+
source

const FLAGS: CommandFlags

Flags for the command, defaults to empty.

+
source

const RATE_LIMIT: RateLimit

Baseline rate-limiting parameters, defaults to RateLimit::DEFAULT.

+

The server may choose to adapt this as needed, and +it may not be the only rate-limiting factor depending +on the request.

+
source

const SERVER_TIMEOUT: Duration

On the server side, how long to wait before timing out the request.

+
source

const ROUTE_PATTERN: &'static str

Path pattern for the command (without query) when used with matchit 0.8 or higher.

+

Required Methods§

source

fn format_path<W: Write>(&self, w: W) -> Result

Serialize/format the REST path (without query)

+
source

fn body(&self) -> &Self::Body

Body to be serialized as request body or query parameters (if GET)

+
source

fn collect<S, E>( + stream: S, +) -> impl Future<Output = Result<Self::Result, E>> + Send
where + S: Stream<Item = Result<Self::Item, E>> + Send, + E: From<MissingItemError>,

Used to collect the Result from an arbitrary Stream of items.

+
source

fn perms(&self) -> Permissions

Computes required permissions

+

Provided Methods§

source

fn body_size_hint(&self) -> usize

Hint given to preallocate body size, only used for query strings

+
source

fn add_headers(&self, _map: &mut HeaderMap)

Insert any additional headers required to perform this command

+

Object Safety§

This trait is not object safe.

Implementors§

source§

impl Command for GetServerConfig

source§

const STREAM: bool = false

source§

const IS_QUERY: bool = true

source§

type Item = ServerConfig

source§

type Result = ServerConfig

source§

const HTTP_METHOD: Method = http::Method::GET

source§

const FLAGS: CommandFlags = _

source§

const RATE_LIMIT: RateLimit = _

source§

const SERVER_TIMEOUT: Duration = _

source§

const ROUTE_PATTERN: &'static str = "/api/v1/config"

source§

type Body = ()

source§

impl Command for CreateFile

source§

const STREAM: bool = false

source§

const IS_QUERY: bool = false

source§

type Item = Snowflake

source§

type Result = Snowflake

source§

const HTTP_METHOD: Method = http::Method::POST

source§

const FLAGS: CommandFlags = _

source§

const RATE_LIMIT: RateLimit = _

source§

const SERVER_TIMEOUT: Duration = _

source§

const ROUTE_PATTERN: &'static str = "/api/v1/file"

source§

type Body = CreateFileBody

source§

impl Command for GetFileStatus

source§

const STREAM: bool = false

source§

const IS_QUERY: bool = true

source§

type Item = FileStatus

source§

type Result = FileStatus

source§

const HTTP_METHOD: Method = http::Method::HEAD

source§

const FLAGS: CommandFlags = _

source§

const RATE_LIMIT: RateLimit = _

source§

const SERVER_TIMEOUT: Duration = _

source§

const ROUTE_PATTERN: &'static str = "/api/v1/file/{file_id}"

source§

type Body = ()

source§

impl Command for GetFilesystemStatus

source§

const STREAM: bool = false

source§

const IS_QUERY: bool = true

source§

type Item = FilesystemStatus

source§

type Result = FilesystemStatus

source§

const HTTP_METHOD: Method = http::Method::OPTIONS

source§

const FLAGS: CommandFlags = _

source§

const RATE_LIMIT: RateLimit = _

source§

const SERVER_TIMEOUT: Duration = _

source§

const ROUTE_PATTERN: &'static str = "/api/v1/file"

source§

type Body = ()

source§

impl Command for GetInvite

source§

const STREAM: bool = false

source§

const IS_QUERY: bool = true

source§

type Item = Invite

source§

type Result = Invite

source§

const HTTP_METHOD: Method = http::Method::GET

source§

const FLAGS: CommandFlags = _

source§

const RATE_LIMIT: RateLimit = _

source§

const SERVER_TIMEOUT: Duration = _

source§

const ROUTE_PATTERN: &'static str = "/api/v1/invite/{code}"

source§

type Body = ()

source§

impl Command for RedeemInvite

source§

const STREAM: bool = false

source§

const IS_QUERY: bool = false

source§

type Item = ()

source§

type Result = ()

source§

const HTTP_METHOD: Method = http::Method::POST

source§

const FLAGS: CommandFlags = _

source§

const RATE_LIMIT: RateLimit = _

source§

const SERVER_TIMEOUT: Duration = _

source§

const ROUTE_PATTERN: &'static str = "/api/v1/invite/{code}/redeem"

source§

type Body = RedeemInviteBody

source§

impl Command for RevokeInvite

source§

const STREAM: bool = false

source§

const IS_QUERY: bool = false

source§

type Item = ()

source§

type Result = ()

source§

const HTTP_METHOD: Method = http::Method::DELETE

source§

const FLAGS: CommandFlags = _

source§

const RATE_LIMIT: RateLimit = _

source§

const SERVER_TIMEOUT: Duration = _

source§

const ROUTE_PATTERN: &'static str = "/api/v1/invite/{code}"

source§

type Body = ()

source§

impl Command for CreateParty

source§

const STREAM: bool = false

source§

const IS_QUERY: bool = false

source§

type Item = Party

source§

type Result = Party

source§

const HTTP_METHOD: Method = http::Method::POST

source§

const FLAGS: CommandFlags = _

source§

const RATE_LIMIT: RateLimit = _

source§

const SERVER_TIMEOUT: Duration = _

source§

const ROUTE_PATTERN: &'static str = "/api/v1/party"

source§

type Body = CreatePartyForm

source§

impl Command for CreatePartyInvite

source§

const STREAM: bool = false

source§

const IS_QUERY: bool = false

source§

type Item = Invite

source§

type Result = Invite

source§

const HTTP_METHOD: Method = http::Method::POST

source§

const FLAGS: CommandFlags = _

source§

const RATE_LIMIT: RateLimit = _

source§

const SERVER_TIMEOUT: Duration = _

source§

const ROUTE_PATTERN: &'static str = "/api/v1/party/{party_id}/invites"

source§

type Body = CreatePartyInviteBody

source§

impl Command for CreatePinFolder

source§

const STREAM: bool = false

source§

const IS_QUERY: bool = false

source§

type Item = PinFolder

source§

type Result = PinFolder

source§

const HTTP_METHOD: Method = http::Method::POST

source§

const FLAGS: CommandFlags = _

source§

const RATE_LIMIT: RateLimit = _

source§

const SERVER_TIMEOUT: Duration = _

source§

const ROUTE_PATTERN: &'static str = "/api/v1/party/{party_id}/pins"

source§

type Body = CreatePinFolderForm

source§

impl Command for CreateRole

source§

const STREAM: bool = false

source§

const IS_QUERY: bool = false

source§

type Item = Role

source§

type Result = Role

source§

const HTTP_METHOD: Method = http::Method::POST

source§

const FLAGS: CommandFlags = _

source§

const RATE_LIMIT: RateLimit = _

source§

const SERVER_TIMEOUT: Duration = _

source§

const ROUTE_PATTERN: &'static str = "/api/v1/party/{party_id}/roles"

source§

type Body = CreateRoleForm

source§

impl Command for CreateRoom

source§

const STREAM: bool = false

source§

const IS_QUERY: bool = false

source§

type Item = Room

source§

type Result = Room

source§

const HTTP_METHOD: Method = http::Method::POST

source§

const FLAGS: CommandFlags = _

source§

const RATE_LIMIT: RateLimit = _

source§

const SERVER_TIMEOUT: Duration = _

source§

const ROUTE_PATTERN: &'static str = "/api/v1/party/{party_id}/rooms"

source§

type Body = CreateRoomForm

source§

impl Command for DeleteParty

source§

const STREAM: bool = false

source§

const IS_QUERY: bool = false

source§

type Item = ()

source§

type Result = ()

source§

const HTTP_METHOD: Method = http::Method::DELETE

source§

const FLAGS: CommandFlags = _

source§

const RATE_LIMIT: RateLimit = _

source§

const SERVER_TIMEOUT: Duration = _

source§

const ROUTE_PATTERN: &'static str = "/api/v1/party/{party_id}"

source§

type Body = ()

source§

impl Command for DeleteRole

source§

const STREAM: bool = false

source§

const IS_QUERY: bool = false

source§

type Item = ()

source§

type Result = ()

source§

const HTTP_METHOD: Method = http::Method::DELETE

source§

const FLAGS: CommandFlags = _

source§

const RATE_LIMIT: RateLimit = _

source§

const SERVER_TIMEOUT: Duration = _

source§

const ROUTE_PATTERN: &'static str = "/api/v1/party/{party_id}/roles/{role_id}"

source§

type Body = ()

source§

impl Command for GetMemberProfile

source§

const STREAM: bool = false

source§

const IS_QUERY: bool = true

source§

type Item = UserProfile

source§

type Result = UserProfile

source§

const HTTP_METHOD: Method = http::Method::GET

source§

const FLAGS: CommandFlags = _

source§

const RATE_LIMIT: RateLimit = _

source§

const SERVER_TIMEOUT: Duration = _

source§

const ROUTE_PATTERN: &'static str = "/api/v1/party/{party_id}/members/{user_id}/profile"

source§

type Body = ()

source§

impl Command for GetParty

source§

const STREAM: bool = false

source§

const IS_QUERY: bool = true

source§

type Item = Party

source§

type Result = Party

source§

const HTTP_METHOD: Method = http::Method::GET

source§

const FLAGS: CommandFlags = _

source§

const RATE_LIMIT: RateLimit = _

source§

const SERVER_TIMEOUT: Duration = _

source§

const ROUTE_PATTERN: &'static str = "/api/v1/party/{party_id}"

source§

type Body = ()

source§

impl Command for GetPartyInvites

source§

const STREAM: bool = true

source§

const IS_QUERY: bool = true

source§

type Item = Invite

source§

type Result = Vec<Invite>

source§

const HTTP_METHOD: Method = http::Method::GET

source§

const FLAGS: CommandFlags = _

source§

const RATE_LIMIT: RateLimit = _

source§

const SERVER_TIMEOUT: Duration = _

source§

const ROUTE_PATTERN: &'static str = "/api/v1/party/{party_id}/invites"

source§

type Body = ()

source§

impl Command for GetPartyMember

source§

const STREAM: bool = false

source§

const IS_QUERY: bool = true

source§

type Item = PartyMember

source§

type Result = PartyMember

source§

const HTTP_METHOD: Method = http::Method::GET

source§

const FLAGS: CommandFlags = _

source§

const RATE_LIMIT: RateLimit = _

source§

const SERVER_TIMEOUT: Duration = _

source§

const ROUTE_PATTERN: &'static str = "/api/v1/party/{party_id}/member/{member_id}"

source§

type Body = ()

source§

impl Command for GetPartyMembers

source§

const STREAM: bool = true

source§

const IS_QUERY: bool = true

source§

type Item = PartyMember

source§

type Result = Vec<PartyMember>

source§

const HTTP_METHOD: Method = http::Method::GET

source§

const FLAGS: CommandFlags = _

source§

const RATE_LIMIT: RateLimit = _

source§

const SERVER_TIMEOUT: Duration = _

source§

const ROUTE_PATTERN: &'static str = "/api/v1/party/{party_id}/members"

source§

type Body = ()

source§

impl Command for GetPartyRooms

source§

const STREAM: bool = true

source§

const IS_QUERY: bool = true

source§

type Item = Room

source§

type Result = Vec<Room>

source§

const HTTP_METHOD: Method = http::Method::GET

source§

const FLAGS: CommandFlags = _

source§

const RATE_LIMIT: RateLimit = _

source§

const SERVER_TIMEOUT: Duration = _

source§

const ROUTE_PATTERN: &'static str = "/api/v1/party/{party_id}/rooms"

source§

type Body = ()

source§

impl Command for PatchParty

source§

const STREAM: bool = false

source§

const IS_QUERY: bool = false

source§

type Item = Party

source§

type Result = Party

source§

const HTTP_METHOD: Method = http::Method::PATCH

source§

const FLAGS: CommandFlags = _

source§

const RATE_LIMIT: RateLimit = _

source§

const SERVER_TIMEOUT: Duration = _

source§

const ROUTE_PATTERN: &'static str = "/api/v1/party/{party_id}"

source§

type Body = PatchPartyForm

source§

impl Command for PatchRole

source§

const STREAM: bool = false

source§

const IS_QUERY: bool = false

source§

type Item = Role

source§

type Result = Role

source§

const HTTP_METHOD: Method = http::Method::PATCH

source§

const FLAGS: CommandFlags = _

source§

const RATE_LIMIT: RateLimit = _

source§

const SERVER_TIMEOUT: Duration = _

source§

const ROUTE_PATTERN: &'static str = "/api/v1/party/{party_id}/roles/{role_id}"

source§

type Body = PatchRoleForm

source§

impl Command for SearchParty

source§

const STREAM: bool = false

source§

const IS_QUERY: bool = false

source§

type Item = ()

source§

type Result = ()

source§

const HTTP_METHOD: Method = http::Method::POST

source§

const FLAGS: CommandFlags = _

source§

const RATE_LIMIT: RateLimit = _

source§

const SERVER_TIMEOUT: Duration = _

source§

const ROUTE_PATTERN: &'static str = "/api/v1/party/{party_id}/search"

source§

type Body = SearchQuery

source§

impl Command for TransferOwnership

source§

const STREAM: bool = false

source§

const IS_QUERY: bool = false

source§

type Item = ()

source§

type Result = ()

source§

const HTTP_METHOD: Method = http::Method::PUT

source§

const FLAGS: CommandFlags = _

source§

const RATE_LIMIT: RateLimit = _

source§

const SERVER_TIMEOUT: Duration = _

source§

const ROUTE_PATTERN: &'static str = "/api/v1/party/{party_id}/owner/{user_id}"

source§

type Body = ()

source§

impl Command for UpdateMemberProfile

source§

const STREAM: bool = false

source§

const IS_QUERY: bool = false

source§

type Item = UserProfile

source§

type Result = UserProfile

source§

const HTTP_METHOD: Method = http::Method::PATCH

source§

const FLAGS: CommandFlags = _

source§

const RATE_LIMIT: RateLimit = _

source§

const SERVER_TIMEOUT: Duration = _

source§

const ROUTE_PATTERN: &'static str = "/api/v1/party/{party_id}/members/profile"

source§

type Body = UpdateMemberProfileBody

source§

impl Command for CreateMessage

source§

const STREAM: bool = false

source§

const IS_QUERY: bool = false

source§

type Item = Message

source§

type Result = Message

source§

const HTTP_METHOD: Method = http::Method::POST

source§

const FLAGS: CommandFlags = _

source§

const RATE_LIMIT: RateLimit = _

source§

const SERVER_TIMEOUT: Duration = _

source§

const ROUTE_PATTERN: &'static str = "/api/v1/room/{room_id}/messages"

source§

type Body = CreateMessageBody

source§

impl Command for DeleteAllReactions

source§

const STREAM: bool = false

source§

const IS_QUERY: bool = false

source§

type Item = ()

source§

type Result = ()

source§

const HTTP_METHOD: Method = http::Method::DELETE

source§

const FLAGS: CommandFlags = _

source§

const RATE_LIMIT: RateLimit = _

source§

const SERVER_TIMEOUT: Duration = _

source§

const ROUTE_PATTERN: &'static str = "/api/v1/room/{room_id}/messages/{msg_id}/reactions"

source§

type Body = ()

source§

impl Command for DeleteMessage

source§

const STREAM: bool = false

source§

const IS_QUERY: bool = false

source§

type Item = ()

source§

type Result = ()

source§

const HTTP_METHOD: Method = http::Method::DELETE

source§

const FLAGS: CommandFlags = _

source§

const RATE_LIMIT: RateLimit = _

source§

const SERVER_TIMEOUT: Duration = _

source§

const ROUTE_PATTERN: &'static str = "/api/v1/room/{room_id}/messages/{msg_id}"

source§

type Body = ()

source§

impl Command for DeleteOwnReaction

source§

const STREAM: bool = false

source§

const IS_QUERY: bool = false

source§

type Item = ()

source§

type Result = ()

source§

const HTTP_METHOD: Method = http::Method::DELETE

source§

const FLAGS: CommandFlags = _

source§

const RATE_LIMIT: RateLimit = _

source§

const SERVER_TIMEOUT: Duration = _

source§

const ROUTE_PATTERN: &'static str = "/api/v1/room/{room_id}/messages/{msg_id}/reactions/{emote_id}/@me"

source§

type Body = ()

source§

impl Command for DeleteRoom

source§

const STREAM: bool = false

source§

const IS_QUERY: bool = false

source§

type Item = ()

source§

type Result = ()

source§

const HTTP_METHOD: Method = http::Method::DELETE

source§

const FLAGS: CommandFlags = _

source§

const RATE_LIMIT: RateLimit = _

source§

const SERVER_TIMEOUT: Duration = _

source§

const ROUTE_PATTERN: &'static str = "/api/v1/room/{room_id}"

source§

type Body = ()

source§

impl Command for DeleteUserReaction

source§

const STREAM: bool = false

source§

const IS_QUERY: bool = false

source§

type Item = ()

source§

type Result = ()

source§

const HTTP_METHOD: Method = http::Method::DELETE

source§

const FLAGS: CommandFlags = _

source§

const RATE_LIMIT: RateLimit = _

source§

const SERVER_TIMEOUT: Duration = _

source§

const ROUTE_PATTERN: &'static str = "/api/v1/room/{room_id}/messages/{msg_id}/reactions/{emote_id}/{user_id}"

source§

type Body = ()

source§

impl Command for EditMessage

source§

const STREAM: bool = false

source§

const IS_QUERY: bool = false

source§

type Item = Message

source§

type Result = Message

source§

const HTTP_METHOD: Method = http::Method::PATCH

source§

const FLAGS: CommandFlags = _

source§

const RATE_LIMIT: RateLimit = _

source§

const SERVER_TIMEOUT: Duration = _

source§

const ROUTE_PATTERN: &'static str = "/api/v1/room/{room_id}/messages/{msg_id}"

source§

type Body = EditMessageBody

source§

impl Command for GetMessage

source§

const STREAM: bool = false

source§

const IS_QUERY: bool = true

source§

type Item = Message

source§

type Result = Message

source§

const HTTP_METHOD: Method = http::Method::GET

source§

const FLAGS: CommandFlags = _

source§

const RATE_LIMIT: RateLimit = _

source§

const SERVER_TIMEOUT: Duration = _

source§

const ROUTE_PATTERN: &'static str = "/api/v1/room/{room_id}/messages/{msg_id}"

source§

type Body = ()

source§

impl Command for GetMessages

source§

const STREAM: bool = true

source§

const IS_QUERY: bool = true

source§

type Item = Message

source§

type Result = Vec<Message>

source§

const HTTP_METHOD: Method = http::Method::GET

source§

const FLAGS: CommandFlags = _

source§

const RATE_LIMIT: RateLimit = _

source§

const SERVER_TIMEOUT: Duration = _

source§

const ROUTE_PATTERN: &'static str = "/api/v1/room/{room_id}/messages"

source§

type Body = GetMessagesQuery

source§

impl Command for GetReactions

source§

const STREAM: bool = true

source§

const IS_QUERY: bool = true

source§

type Item = ()

source§

type Result = Vec<()>

source§

const HTTP_METHOD: Method = http::Method::GET

source§

const FLAGS: CommandFlags = _

source§

const RATE_LIMIT: RateLimit = _

source§

const SERVER_TIMEOUT: Duration = _

source§

const ROUTE_PATTERN: &'static str = "/api/v1/room/{room_id}/messages/{msg_id}/reactions/{emote_id}"

source§

type Body = GetReactionsForm

source§

impl Command for GetRoom

source§

const STREAM: bool = false

source§

const IS_QUERY: bool = true

source§

type Item = FullRoom

source§

type Result = FullRoom

source§

const HTTP_METHOD: Method = http::Method::GET

source§

const FLAGS: CommandFlags = _

source§

const RATE_LIMIT: RateLimit = _

source§

const SERVER_TIMEOUT: Duration = _

source§

const ROUTE_PATTERN: &'static str = "/api/v1/room/{room_id}"

source§

type Body = ()

source§

impl Command for PatchRoom

source§

const STREAM: bool = false

source§

const IS_QUERY: bool = false

source§

type Item = FullRoom

source§

type Result = FullRoom

source§

const HTTP_METHOD: Method = http::Method::PATCH

source§

const FLAGS: CommandFlags = _

source§

const RATE_LIMIT: RateLimit = _

source§

const SERVER_TIMEOUT: Duration = _

source§

const ROUTE_PATTERN: &'static str = "/api/v1/room/{room_id}"

source§

type Body = PatchRoomForm

source§

impl Command for PinMessage

source§

const STREAM: bool = false

source§

const IS_QUERY: bool = false

source§

type Item = ()

source§

type Result = ()

source§

const HTTP_METHOD: Method = http::Method::PUT

source§

const FLAGS: CommandFlags = _

source§

const RATE_LIMIT: RateLimit = _

source§

const SERVER_TIMEOUT: Duration = _

source§

const ROUTE_PATTERN: &'static str = "/api/v1/room/{room_id}/messages/{msg_id}/pins/{pin_tag}"

source§

type Body = ()

source§

impl Command for PutReaction

source§

const STREAM: bool = false

source§

const IS_QUERY: bool = false

source§

type Item = ()

source§

type Result = ()

source§

const HTTP_METHOD: Method = http::Method::PUT

source§

const FLAGS: CommandFlags = _

source§

const RATE_LIMIT: RateLimit = _

source§

const SERVER_TIMEOUT: Duration = _

source§

const ROUTE_PATTERN: &'static str = "/api/v1/room/{room_id}/messages/{msg_id}/reactions/{emote_id}/@me"

source§

type Body = ()

source§

impl Command for StarMessage

source§

const STREAM: bool = false

source§

const IS_QUERY: bool = false

source§

type Item = ()

source§

type Result = ()

source§

const HTTP_METHOD: Method = http::Method::PUT

source§

const FLAGS: CommandFlags = _

source§

const RATE_LIMIT: RateLimit = _

source§

const SERVER_TIMEOUT: Duration = _

source§

const ROUTE_PATTERN: &'static str = "/api/v1/room/{room_id}/messages/{msg_id}/star"

source§

type Body = ()

source§

impl Command for StartTyping

source§

const STREAM: bool = false

source§

const IS_QUERY: bool = false

source§

type Item = ()

source§

type Result = ()

source§

const HTTP_METHOD: Method = http::Method::POST

source§

const FLAGS: CommandFlags = _

source§

const RATE_LIMIT: RateLimit = _

source§

const SERVER_TIMEOUT: Duration = _

source§

const ROUTE_PATTERN: &'static str = "/api/v1/room/{room_id}/typing"

source§

type Body = StartTypingBody

source§

impl Command for UnpinMessage

source§

const STREAM: bool = false

source§

const IS_QUERY: bool = false

source§

type Item = ()

source§

type Result = ()

source§

const HTTP_METHOD: Method = http::Method::DELETE

source§

const FLAGS: CommandFlags = _

source§

const RATE_LIMIT: RateLimit = _

source§

const SERVER_TIMEOUT: Duration = _

source§

const ROUTE_PATTERN: &'static str = "/api/v1/room/{room_id}/messages/{msg_id}/pins/{pin_tag}"

source§

type Body = ()

source§

impl Command for UnstarMessage

source§

const STREAM: bool = false

source§

const IS_QUERY: bool = false

source§

type Item = ()

source§

type Result = ()

source§

const HTTP_METHOD: Method = http::Method::DELETE

source§

const FLAGS: CommandFlags = _

source§

const RATE_LIMIT: RateLimit = _

source§

const SERVER_TIMEOUT: Duration = _

source§

const ROUTE_PATTERN: &'static str = "/api/v1/room/{room_id}/messages/{msg_id}/star"

source§

type Body = ()

source§

impl Command for ChangePassword

source§

const STREAM: bool = false

source§

const IS_QUERY: bool = false

source§

type Item = ()

source§

type Result = ()

source§

const HTTP_METHOD: Method = http::Method::PATCH

source§

const FLAGS: CommandFlags = _

source§

const RATE_LIMIT: RateLimit = _

source§

const SERVER_TIMEOUT: Duration = _

source§

const ROUTE_PATTERN: &'static str = "/api/v1/user/@me/password"

source§

type Body = ChangePasswordForm

source§

impl Command for ClearSessions

source§

const STREAM: bool = false

source§

const IS_QUERY: bool = false

source§

type Item = ()

source§

type Result = ()

source§

const HTTP_METHOD: Method = http::Method::DELETE

source§

const FLAGS: CommandFlags = _

source§

const RATE_LIMIT: RateLimit = _

source§

const SERVER_TIMEOUT: Duration = _

source§

const ROUTE_PATTERN: &'static str = "/api/v1/user/@me/sessions"

source§

type Body = ClearSessionsForm

source§

impl Command for Confirm2FA

source§

const STREAM: bool = false

source§

const IS_QUERY: bool = false

source§

type Item = ()

source§

type Result = ()

source§

const HTTP_METHOD: Method = http::Method::PATCH

source§

const FLAGS: CommandFlags = _

source§

const RATE_LIMIT: RateLimit = _

source§

const SERVER_TIMEOUT: Duration = _

source§

const ROUTE_PATTERN: &'static str = "/api/v1/user/@me/2fa"

source§

type Body = Confirm2FAForm

source§

impl Command for Enable2FA

source§

const STREAM: bool = false

source§

const IS_QUERY: bool = false

source§

type Item = Added2FA

source§

type Result = Added2FA

source§

const HTTP_METHOD: Method = http::Method::POST

source§

const FLAGS: CommandFlags = _

source§

const RATE_LIMIT: RateLimit = _

source§

const SERVER_TIMEOUT: Duration = _

source§

const ROUTE_PATTERN: &'static str = "/api/v1/user/@me/2fa"

source§

type Body = Enable2FAForm

source§

impl Command for GetRelationships

source§

const STREAM: bool = true

source§

const IS_QUERY: bool = true

source§

type Item = Relationship

source§

type Result = Vec<Relationship>

source§

const HTTP_METHOD: Method = http::Method::GET

source§

const FLAGS: CommandFlags = _

source§

const RATE_LIMIT: RateLimit = _

source§

const SERVER_TIMEOUT: Duration = _

source§

const ROUTE_PATTERN: &'static str = "/api/v1/user/@me/relationships"

source§

type Body = ()

source§

impl Command for GetSessions

source§

const STREAM: bool = true

source§

const IS_QUERY: bool = true

source§

type Item = AnonymousSession

source§

type Result = Vec<AnonymousSession>

source§

const HTTP_METHOD: Method = http::Method::GET

source§

const FLAGS: CommandFlags = _

source§

const RATE_LIMIT: RateLimit = _

source§

const SERVER_TIMEOUT: Duration = _

source§

const ROUTE_PATTERN: &'static str = "/api/v1/user/@me/sessions"

source§

type Body = ()

source§

impl Command for GetUser

source§

const STREAM: bool = false

source§

const IS_QUERY: bool = true

source§

type Item = User

source§

type Result = User

source§

const HTTP_METHOD: Method = http::Method::GET

source§

const FLAGS: CommandFlags = _

source§

const RATE_LIMIT: RateLimit = _

source§

const SERVER_TIMEOUT: Duration = _

source§

const ROUTE_PATTERN: &'static str = "/api/v1/user/{user_id}"

source§

type Body = ()

source§

impl Command for PatchRelationship

source§

const STREAM: bool = false

source§

const IS_QUERY: bool = false

source§

type Item = Relationship

source§

type Result = Relationship

source§

const HTTP_METHOD: Method = http::Method::PATCH

source§

const FLAGS: CommandFlags = _

source§

const RATE_LIMIT: RateLimit = _

source§

const SERVER_TIMEOUT: Duration = _

source§

const ROUTE_PATTERN: &'static str = "/api/v1/user/@me/relationships/{user_id}"

source§

type Body = PatchRelationshipBody

source§

impl Command for Remove2FA

source§

const STREAM: bool = false

source§

const IS_QUERY: bool = false

source§

type Item = ()

source§

type Result = ()

source§

const HTTP_METHOD: Method = http::Method::DELETE

source§

const FLAGS: CommandFlags = _

source§

const RATE_LIMIT: RateLimit = _

source§

const SERVER_TIMEOUT: Duration = _

source§

const ROUTE_PATTERN: &'static str = "/api/v1/user/@me/2fa"

source§

type Body = Remove2FAForm

source§

impl Command for UpdateUserPrefs

source§

const STREAM: bool = false

source§

const IS_QUERY: bool = false

source§

type Item = ()

source§

type Result = ()

source§

const HTTP_METHOD: Method = http::Method::PATCH

source§

const FLAGS: CommandFlags = _

source§

const RATE_LIMIT: RateLimit = _

source§

const SERVER_TIMEOUT: Duration = _

source§

const ROUTE_PATTERN: &'static str = "/api/v1/user/@me/prefs"

source§

type Body = UpdateUserPrefsBody

source§

impl Command for UpdateUserProfile

source§

const STREAM: bool = false

source§

const IS_QUERY: bool = false

source§

type Item = UserProfile

source§

type Result = UserProfile

source§

const HTTP_METHOD: Method = http::Method::PATCH

source§

const FLAGS: CommandFlags = _

source§

const RATE_LIMIT: RateLimit = _

source§

const SERVER_TIMEOUT: Duration = _

source§

const ROUTE_PATTERN: &'static str = "/api/v1/user/@me/profile"

source§

type Body = UpdateUserProfileBody

source§

impl Command for UserLogin

source§

const STREAM: bool = false

source§

const IS_QUERY: bool = false

source§

type Item = Session

source§

type Result = Session

source§

const HTTP_METHOD: Method = http::Method::POST

source§

const FLAGS: CommandFlags = _

source§

const RATE_LIMIT: RateLimit = _

source§

const SERVER_TIMEOUT: Duration = _

source§

const ROUTE_PATTERN: &'static str = "/api/v1/user/@me"

source§

type Body = UserLoginForm

source§

impl Command for UserLogout

source§

const STREAM: bool = false

source§

const IS_QUERY: bool = false

source§

type Item = ()

source§

type Result = ()

source§

const HTTP_METHOD: Method = http::Method::DELETE

source§

const FLAGS: CommandFlags = _

source§

const RATE_LIMIT: RateLimit = _

source§

const SERVER_TIMEOUT: Duration = _

source§

const ROUTE_PATTERN: &'static str = "/api/v1/user/@me"

source§

type Body = ()

source§

impl Command for UserRegister

source§

const STREAM: bool = false

source§

const IS_QUERY: bool = false

source§

type Item = Session

source§

type Result = Session

source§

const HTTP_METHOD: Method = http::Method::POST

source§

const FLAGS: CommandFlags = _

source§

const RATE_LIMIT: RateLimit = _

source§

const SERVER_TIMEOUT: Duration = _

source§

const ROUTE_PATTERN: &'static str = "/api/v1/user"

source§

type Body = UserRegisterForm

\ No newline at end of file diff --git a/client_sdk/api/trait.CommandBody.html b/client_sdk/api/trait.CommandBody.html new file mode 100644 index 000000000..d8eda7e96 --- /dev/null +++ b/client_sdk/api/trait.CommandBody.html @@ -0,0 +1,6 @@ +CommandBody in client_sdk::api - Rust

Trait client_sdk::api::CommandBody

source ·
pub trait CommandBody:
+    Send
+    + Serialize
+    + Archive { }
Expand description

Combined trait for serde and rkyv functionality

+

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<T> CommandBody for T
where + T: Send + Serialize + Archive,

\ No newline at end of file diff --git a/client_sdk/api/trait.CommandResult.html b/client_sdk/api/trait.CommandResult.html new file mode 100644 index 000000000..683815822 --- /dev/null +++ b/client_sdk/api/trait.CommandResult.html @@ -0,0 +1,7 @@ +CommandResult in client_sdk::api - Rust

Trait client_sdk::api::CommandResult

source ·
pub trait CommandResult:
+    Send
+    + DeserializeOwned
+    + Serialize
+    + Archive { }
Expand description

Combined trait for serde and rkyv functionality

+

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<T> CommandResult for T
where + T: Send + DeserializeOwned + Serialize + Archive,

\ No newline at end of file diff --git a/client_sdk/client/enum.ClientError.html b/client_sdk/client/enum.ClientError.html new file mode 100644 index 000000000..57386bb47 --- /dev/null +++ b/client_sdk/client/enum.ClientError.html @@ -0,0 +1,29 @@ +ClientError in client_sdk::client - Rust

Enum client_sdk::client::ClientError

source ·
pub enum ClientError {
+    IOError(Error),
+    DriverError(DriverError),
+    InvalidBearerToken,
+    ApiError(ApiError),
+    FileTooLarge,
+    NotAFile,
+}

Variants§

§

IOError(Error)

§

DriverError(DriverError)

§

InvalidBearerToken

§

ApiError(ApiError)

§

FileTooLarge

§

NotAFile

Trait Implementations§

source§

impl Debug for ClientError

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Display for ClientError

source§

fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Error for ClientError

source§

fn source(&self) -> Option<&(dyn Error + 'static)>

Returns the lower-level source of this error, if any. Read more
1.0.0 · source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.0.0 · source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
source§

fn provide<'a>(&'a self, request: &mut Request<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type-based access to context intended for error reports. Read more
source§

impl From<ClientError> for StandardError

source§

fn from(source: ClientError) -> Self

Converts to this type from the input type.
source§

impl From<DriverError> for ClientError

source§

fn from(err: DriverError) -> ClientError

Converts to this type from the input type.
source§

impl From<Error> for ClientError

source§

fn from(source: Error) -> Self

Converts to this type from the input type.
source§

impl From<Error> for ClientError

source§

fn from(err: Error) -> ClientError

Converts to this type from the input type.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T> ToSmolStr for T
where + T: Display + ?Sized,

§

fn to_smolstr(&self) -> SmolStr

source§

impl<T> ToString for T
where + T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/client/error/enum.ClientError.html b/client_sdk/client/error/enum.ClientError.html new file mode 100644 index 000000000..42f98b989 --- /dev/null +++ b/client_sdk/client/error/enum.ClientError.html @@ -0,0 +1,11 @@ + + + + + Redirection + + +

Redirecting to ../../../client_sdk/client/enum.ClientError.html...

+ + + \ No newline at end of file diff --git a/client_sdk/client/index.html b/client_sdk/client/index.html new file mode 100644 index 000000000..c1f5e6a48 --- /dev/null +++ b/client_sdk/client/index.html @@ -0,0 +1 @@ +client_sdk::client - Rust

Module client_sdk::client

source ·

Structs§

Enums§

\ No newline at end of file diff --git a/client_sdk/client/sidebar-items.js b/client_sdk/client/sidebar-items.js new file mode 100644 index 000000000..7d7d589ce --- /dev/null +++ b/client_sdk/client/sidebar-items.js @@ -0,0 +1 @@ +window.SIDEBAR_ITEMS = {"enum":["ClientError"],"struct":["Client"]}; \ No newline at end of file diff --git a/client_sdk/client/struct.Client.html b/client_sdk/client/struct.Client.html new file mode 100644 index 000000000..7545d2caf --- /dev/null +++ b/client_sdk/client/struct.Client.html @@ -0,0 +1,40 @@ +Client in client_sdk::client - Rust

Struct client_sdk::client::Client

source ·
pub struct Client(/* private fields */);

Implementations§

source§

impl Client

source

pub async fn upload_plain_file( + &self, + filename: impl Into<SmolStr>, + mime: Option<Mime>, + file: &mut File, + progress: impl FnMut(u64, u64), +) -> Result<Snowflake, ClientError>

Upload a plain file from its handle

+

This does not do any extra handling for media files, +such as finding dimensions or generating previews.

+
source

pub async fn upload_stream( + &self, + meta: CreateFileBody, + stream: impl AsyncRead, + progress: impl FnMut(u64, u64), +) -> Result<Snowflake, ClientError>

Uploads a file stream in chunks

+
source§

impl Client

source

pub fn new(uri: &str) -> Result<Self, ClientError>

source

pub fn from_client(client: Client, uri: &str) -> Self

source

pub fn set_auth(&self, token: Option<AuthToken>) -> Result<(), ClientError>

source

pub fn auth(&self) -> Option<AuthToken>

source

pub fn set_preferred_encoding(&self, encoding: Encoding)

source

pub fn driver(&self) -> Driver

Constructs a Driver instance with the current configuration. Changes to the Client configuration +will not be reflected in the created Driver, and a new one must be constructed.

+

This operation is decently cheap. (A few atomic loads)

+

Trait Implementations§

source§

impl Clone for Client

source§

fn clone(&self) -> Client

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more

Auto Trait Implementations§

§

impl Freeze for Client

§

impl !RefUnwindSafe for Client

§

impl Send for Client

§

impl Sync for Client

§

impl Unpin for Client

§

impl !UnwindSafe for Client

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where + T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where + T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/driver/enum.DriverError.html b/client_sdk/driver/enum.DriverError.html new file mode 100644 index 000000000..91318409a --- /dev/null +++ b/client_sdk/driver/enum.DriverError.html @@ -0,0 +1,36 @@ +DriverError in client_sdk::driver - Rust

Enum client_sdk::driver::DriverError

source ·
pub enum DriverError {
+
Show 13 variants ReqwestError(Error), + FormatError(Error), + UrlParseError(ParseError), + UrlEncodingError(Error), + JsonError(Error), + CborEncodeError(Error<Error>), + CborDecodeError(Error<Error>), + ApiError(ApiError), + GenericDriverError(StatusCode), + MissingAuthorization, + InvalidHeaderValue(InvalidHeaderValue), + ParseIntError(ParseIntError), + HeaderParseError(ToStrError), +
}

Variants§

§

ReqwestError(Error)

§

FormatError(Error)

§

UrlParseError(ParseError)

§

UrlEncodingError(Error)

§

JsonError(Error)

§

CborEncodeError(Error<Error>)

§

CborDecodeError(Error<Error>)

§

ApiError(ApiError)

§

GenericDriverError(StatusCode)

§

MissingAuthorization

§

InvalidHeaderValue(InvalidHeaderValue)

§

ParseIntError(ParseIntError)

§

HeaderParseError(ToStrError)

Implementations§

Trait Implementations§

source§

impl Debug for DriverError

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Display for DriverError

source§

fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Error for DriverError

source§

fn source(&self) -> Option<&(dyn Error + 'static)>

Returns the lower-level source of this error, if any. Read more
1.0.0 · source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.0.0 · source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
source§

fn provide<'a>(&'a self, request: &mut Request<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type-based access to context intended for error reports. Read more
source§

impl From<DriverError> for ClientError

source§

fn from(err: DriverError) -> ClientError

Converts to this type from the input type.
source§

impl From<DriverError> for StandardError

source§

fn from(source: DriverError) -> Self

Converts to this type from the input type.
source§

impl From<Error<Error>> for DriverError

source§

fn from(source: Error<Error>) -> Self

Converts to this type from the input type.
source§

impl From<Error<Error>> for DriverError

source§

fn from(source: Error<Error>) -> Self

Converts to this type from the input type.
source§

impl From<Error> for DriverError

source§

fn from(source: Error) -> Self

Converts to this type from the input type.
source§

impl From<Error> for DriverError

source§

fn from(source: Error) -> Self

Converts to this type from the input type.
source§

impl From<Error> for DriverError

source§

fn from(source: Error) -> Self

Converts to this type from the input type.
source§

impl From<Error> for DriverError

source§

fn from(source: Error) -> Self

Converts to this type from the input type.
source§

impl From<InvalidHeaderValue> for DriverError

source§

fn from(source: InvalidHeaderValue) -> Self

Converts to this type from the input type.
source§

impl From<ParseError> for DriverError

source§

fn from(source: ParseError) -> Self

Converts to this type from the input type.
source§

impl From<ParseIntError> for DriverError

source§

fn from(source: ParseIntError) -> Self

Converts to this type from the input type.
source§

impl From<ToStrError> for DriverError

source§

fn from(source: ToStrError) -> Self

Converts to this type from the input type.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T> ToSmolStr for T
where + T: Display + ?Sized,

§

fn to_smolstr(&self) -> SmolStr

source§

impl<T> ToString for T
where + T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/driver/enum.Encoding.html b/client_sdk/driver/enum.Encoding.html new file mode 100644 index 000000000..9058c010a --- /dev/null +++ b/client_sdk/driver/enum.Encoding.html @@ -0,0 +1,37 @@ +Encoding in client_sdk::driver - Rust

Enum client_sdk::driver::Encoding

source ·
pub enum Encoding {
+    JSON,
+    CBOR,
+}

Variants§

§

JSON

§

CBOR

Trait Implementations§

source§

impl Clone for Encoding

source§

fn clone(&self) -> Encoding

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Encoding

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for Encoding

source§

fn default() -> Encoding

Returns the “default value” for a type. Read more
source§

impl<'de> Deserialize<'de> for Encoding

source§

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 Hash for Encoding

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where + H: Hasher, + Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl PartialEq for Encoding

source§

fn eq(&self, other: &Encoding) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl Serialize for Encoding

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Copy for Encoding

source§

impl Eq for Encoding

source§

impl StructuralPartialEq for Encoding

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where + T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where + T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/driver/error/enum.DriverError.html b/client_sdk/driver/error/enum.DriverError.html new file mode 100644 index 000000000..273007646 --- /dev/null +++ b/client_sdk/driver/error/enum.DriverError.html @@ -0,0 +1,11 @@ + + + + + Redirection + + +

Redirecting to ../../../client_sdk/driver/enum.DriverError.html...

+ + + \ No newline at end of file diff --git a/client_sdk/driver/index.html b/client_sdk/driver/index.html new file mode 100644 index 000000000..57486cae4 --- /dev/null +++ b/client_sdk/driver/index.html @@ -0,0 +1 @@ +client_sdk::driver - Rust

Module client_sdk::driver

source ·

Structs§

Enums§

\ No newline at end of file diff --git a/client_sdk/driver/sidebar-items.js b/client_sdk/driver/sidebar-items.js new file mode 100644 index 000000000..a2dfa604a --- /dev/null +++ b/client_sdk/driver/sidebar-items.js @@ -0,0 +1 @@ +window.SIDEBAR_ITEMS = {"enum":["DriverError","Encoding"],"struct":["Driver"]}; \ No newline at end of file diff --git a/client_sdk/driver/struct.Driver.html b/client_sdk/driver/struct.Driver.html new file mode 100644 index 000000000..d032bfcfe --- /dev/null +++ b/client_sdk/driver/struct.Driver.html @@ -0,0 +1,36 @@ +Driver in client_sdk::driver - Rust

Struct client_sdk::driver::Driver

source ·
pub struct Driver { /* private fields */ }

Implementations§

source§

impl Driver

source

pub fn new(uri: &str) -> Result<Self, DriverError>

source

pub fn new_shared(uri: Arc<str>) -> Result<Self, DriverError>

source

pub fn new_from_raw(uri: Arc<str>, client: Client) -> Self

source

pub fn set_token(&mut self, token: Option<AuthToken>) -> Result<(), DriverError>

source

pub async fn execute_opt<CMD: Command>( + &self, + cmd: CMD, +) -> Result<Option<CMD::Result>, DriverError>

Same as execute, but will return an Option if the API returned 404 Not Found.

+
source

pub async fn execute<CMD: Command>( + &self, + cmd: CMD, +) -> Result<CMD::Result, DriverError>

Execute the given command, taking care of all body and query parameters automatically.

+

If you would like an Option for not-found values, use execute_opt instead.

+
source§

impl Driver

source

pub async fn patch_file( + &self, + file_id: FileId, + offset: u64, + chunk: Bytes, +) -> Result<u64, DriverError>

Trait Implementations§

source§

impl Clone for Driver

source§

fn clone(&self) -> Driver

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more

Auto Trait Implementations§

§

impl Freeze for Driver

§

impl !RefUnwindSafe for Driver

§

impl Send for Driver

§

impl Sync for Driver

§

impl Unpin for Driver

§

impl !UnwindSafe for Driver

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where + T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where + T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/framework/index.html b/client_sdk/framework/index.html new file mode 100644 index 000000000..21ae1180b --- /dev/null +++ b/client_sdk/framework/index.html @@ -0,0 +1 @@ +client_sdk::framework - Rust

Module client_sdk::framework

source ·

Re-exports§

Modules§

\ No newline at end of file diff --git a/client_sdk/framework/md/index.html b/client_sdk/framework/md/index.html new file mode 100644 index 000000000..5e119a04d --- /dev/null +++ b/client_sdk/framework/md/index.html @@ -0,0 +1 @@ +client_sdk::framework::md - Rust

Module client_sdk::framework::md

source ·
\ No newline at end of file diff --git a/client_sdk/framework/md/sidebar-items.js b/client_sdk/framework/md/sidebar-items.js new file mode 100644 index 000000000..5244ce01c --- /dev/null +++ b/client_sdk/framework/md/sidebar-items.js @@ -0,0 +1 @@ +window.SIDEBAR_ITEMS = {}; \ No newline at end of file diff --git a/client_sdk/framework/sidebar-items.js b/client_sdk/framework/sidebar-items.js new file mode 100644 index 000000000..19dde33a5 --- /dev/null +++ b/client_sdk/framework/sidebar-items.js @@ -0,0 +1 @@ +window.SIDEBAR_ITEMS = {"mod":["md","standard"]}; \ No newline at end of file diff --git a/client_sdk/framework/standard/cmd/index.html b/client_sdk/framework/standard/cmd/index.html new file mode 100644 index 000000000..e17f318f7 --- /dev/null +++ b/client_sdk/framework/standard/cmd/index.html @@ -0,0 +1 @@ +client_sdk::framework::standard::cmd - Rust

Module client_sdk::framework::standard::cmd

source ·
\ No newline at end of file diff --git a/client_sdk/framework/standard/cmd/sidebar-items.js b/client_sdk/framework/standard/cmd/sidebar-items.js new file mode 100644 index 000000000..5244ce01c --- /dev/null +++ b/client_sdk/framework/standard/cmd/sidebar-items.js @@ -0,0 +1 @@ +window.SIDEBAR_ITEMS = {}; \ No newline at end of file diff --git a/client_sdk/framework/standard/ctx/struct.StandardContext.html b/client_sdk/framework/standard/ctx/struct.StandardContext.html new file mode 100644 index 000000000..13e1e8398 --- /dev/null +++ b/client_sdk/framework/standard/ctx/struct.StandardContext.html @@ -0,0 +1,11 @@ + + + + + Redirection + + +

Redirecting to ../../../../client_sdk/framework/standard/struct.StandardContext.html...

+ + + \ No newline at end of file diff --git a/client_sdk/framework/standard/enum.StandardError.html b/client_sdk/framework/standard/enum.StandardError.html new file mode 100644 index 000000000..4ffdbaa9b --- /dev/null +++ b/client_sdk/framework/standard/enum.StandardError.html @@ -0,0 +1,27 @@ +StandardError in client_sdk::framework::standard - Rust

Enum client_sdk::framework::standard::StandardError

source ·
pub enum StandardError {
+    ClientError(ClientError),
+    DriverError(DriverError),
+    GatewayError(GatewayError),
+}

Variants§

§

ClientError(ClientError)

§

DriverError(DriverError)

§

GatewayError(GatewayError)

Trait Implementations§

source§

impl Debug for StandardError

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Display for StandardError

source§

fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Error for StandardError

source§

fn source(&self) -> Option<&(dyn Error + 'static)>

Returns the lower-level source of this error, if any. Read more
1.0.0 · source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.0.0 · source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
source§

fn provide<'a>(&'a self, request: &mut Request<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type-based access to context intended for error reports. Read more
source§

impl From<ClientError> for StandardError

source§

fn from(source: ClientError) -> Self

Converts to this type from the input type.
source§

impl From<DriverError> for StandardError

source§

fn from(source: DriverError) -> Self

Converts to this type from the input type.
source§

impl From<GatewayError> for StandardError

source§

fn from(source: GatewayError) -> Self

Converts to this type from the input type.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T> ToSmolStr for T
where + T: Display + ?Sized,

§

fn to_smolstr(&self) -> SmolStr

source§

impl<T> ToString for T
where + T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

source§

impl<T> StandardErrorExt for T
where + T: 'static + Error + From<ClientError> + From<DriverError> + From<GatewayError>,

\ No newline at end of file diff --git a/client_sdk/framework/standard/error/enum.StandardError.html b/client_sdk/framework/standard/error/enum.StandardError.html new file mode 100644 index 000000000..48d3404c1 --- /dev/null +++ b/client_sdk/framework/standard/error/enum.StandardError.html @@ -0,0 +1,11 @@ + + + + + Redirection + + +

Redirecting to ../../../../client_sdk/framework/standard/enum.StandardError.html...

+ + + \ No newline at end of file diff --git a/client_sdk/framework/standard/error/trait.StandardErrorExt.html b/client_sdk/framework/standard/error/trait.StandardErrorExt.html new file mode 100644 index 000000000..cb5773fae --- /dev/null +++ b/client_sdk/framework/standard/error/trait.StandardErrorExt.html @@ -0,0 +1,11 @@ + + + + + Redirection + + +

Redirecting to ../../../../client_sdk/framework/standard/trait.StandardErrorExt.html...

+ + + \ No newline at end of file diff --git a/client_sdk/framework/standard/index.html b/client_sdk/framework/standard/index.html new file mode 100644 index 000000000..57f4f3e21 --- /dev/null +++ b/client_sdk/framework/standard/index.html @@ -0,0 +1,2 @@ +client_sdk::framework::standard - Rust

Module client_sdk::framework::standard

source ·

Modules§

Structs§

Enums§

Traits§

Type Aliases§

\ No newline at end of file diff --git a/client_sdk/framework/standard/sidebar-items.js b/client_sdk/framework/standard/sidebar-items.js new file mode 100644 index 000000000..b877eeea2 --- /dev/null +++ b/client_sdk/framework/standard/sidebar-items.js @@ -0,0 +1 @@ +window.SIDEBAR_ITEMS = {"enum":["StandardError"],"mod":["cmd"],"struct":["Standard","StandardContext"],"trait":["StandardErrorExt"],"type":["SimpleStandard","StandardDynamicHandler"]}; \ No newline at end of file diff --git a/client_sdk/framework/standard/struct.Standard.html b/client_sdk/framework/standard/struct.Standard.html new file mode 100644 index 000000000..c8449cb97 --- /dev/null +++ b/client_sdk/framework/standard/struct.Standard.html @@ -0,0 +1,29 @@ +Standard in client_sdk::framework::standard - Rust

Struct client_sdk::framework::standard::Standard

source ·
pub struct Standard<H, E: StandardErrorExt = StandardError> { /* private fields */ }

Implementations§

source§

impl<E: StandardErrorExt> Standard<StandardDynamicHandler<(), E>, E>

source

pub fn new(client: Client) -> Self

source§

impl<S, E: StandardErrorExt> Standard<StandardDynamicHandler<S, E>, E>
where + S: Send + Sync + 'static,

source

pub fn new_with_state(client: Client, state: S) -> Self

source§

impl<H, E: StandardErrorExt> Standard<H, E>
where + H: ServerMsgHandlers<StandardContext, Result<(), E>> + 'static,

source

pub fn new_with_handlers(client: Client, state: H) -> Self

source

pub fn on_error<F>(&mut self, cb: F) -> &mut Self
where + F: Fn(E, StandardContext, &H) + Send + Sync + 'static,

Setup a callback for any errors that occur during the connection lifetime

+
source

pub fn on_start<F>(&mut self, cb: F) -> &mut Self
where + F: FnOnce(StandardContext, &mut H) -> Result<(), E> + 'static,

Setup a callback to run once after the first gateway connection is established, +but before any kind of authentication is made.

+

If the gateway reconnects, this will not be rerun.

+
source

pub fn handlers(&mut self) -> &mut H

source

pub fn ctx(&self) -> &StandardContext

source

pub fn gateway_control(&self) -> Arc<GatewayConnectionControl>

source

pub async fn run(self) -> Result<(), E>

Auto Trait Implementations§

§

impl<H, E = StandardError> !Freeze for Standard<H, E>

§

impl<H, E = StandardError> !RefUnwindSafe for Standard<H, E>

§

impl<H, E = StandardError> !Send for Standard<H, E>

§

impl<H, E = StandardError> !Sync for Standard<H, E>

§

impl<H, E> Unpin for Standard<H, E>
where + H: Unpin,

§

impl<H, E = StandardError> !UnwindSafe for Standard<H, E>

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/framework/standard/struct.StandardContext.html b/client_sdk/framework/standard/struct.StandardContext.html new file mode 100644 index 000000000..0458681fd --- /dev/null +++ b/client_sdk/framework/standard/struct.StandardContext.html @@ -0,0 +1,25 @@ +StandardContext in client_sdk::framework::standard - Rust

Struct client_sdk::framework::standard::StandardContext

source ·
pub struct StandardContext(/* private fields */);

Implementations§

source§

impl StandardContext

source

pub fn client(&self) -> &Client

source

pub fn driver(&self) -> Driver

source

pub fn close(&self) -> bool

source

pub fn send(&self, msg: ClientMsg) -> Result<(), SendError<ClientMsg>>

source

pub fn set_presence( + &self, + presence: UserPresence, +) -> Result<(), SendError<UserPresence>>

Trait Implementations§

source§

impl Clone for StandardContext

source§

fn clone(&self) -> StandardContext

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where + T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where + T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/framework/standard/trait.StandardErrorExt.html b/client_sdk/framework/standard/trait.StandardErrorExt.html new file mode 100644 index 000000000..5cf6de982 --- /dev/null +++ b/client_sdk/framework/standard/trait.StandardErrorExt.html @@ -0,0 +1,9 @@ +StandardErrorExt in client_sdk::framework::standard - Rust

Trait client_sdk::framework::standard::StandardErrorExt

source ·
pub trait StandardErrorExt:
+    'static
+    + Error
+    + From<ClientError>
+    + From<DriverError>
+    + From<GatewayError> { }
Expand description

Required properties for custom error types, +must be able to handle ClientError, DriverError, and GatewayError errors

+

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<T> StandardErrorExt for T
where + T: 'static + Error + From<ClientError> + From<DriverError> + From<GatewayError>,

\ No newline at end of file diff --git a/client_sdk/framework/standard/type.SimpleStandard.html b/client_sdk/framework/standard/type.SimpleStandard.html new file mode 100644 index 000000000..1311537b4 --- /dev/null +++ b/client_sdk/framework/standard/type.SimpleStandard.html @@ -0,0 +1,2 @@ +SimpleStandard in client_sdk::framework::standard - Rust

Type Alias client_sdk::framework::standard::SimpleStandard

source ·
pub type SimpleStandard<H> = Standard<H, StandardError>;
Expand description

Simple Standard with a StandardError

+

Aliased Type§

struct SimpleStandard<H> { /* private fields */ }
\ No newline at end of file diff --git a/client_sdk/framework/standard/type.StandardDynamicHandler.html b/client_sdk/framework/standard/type.StandardDynamicHandler.html new file mode 100644 index 000000000..b23db6b12 --- /dev/null +++ b/client_sdk/framework/standard/type.StandardDynamicHandler.html @@ -0,0 +1,2 @@ +StandardDynamicHandler in client_sdk::framework::standard - Rust

Type Alias client_sdk::framework::standard::StandardDynamicHandler

source ·
pub type StandardDynamicHandler<S, E> = DynamicServerMsgHandlers<StandardContext, Result<(), E>, S>;
Expand description

Dynamic ServerMsgHandlers suitable for simpler bot applications

+

Aliased Type§

struct StandardDynamicHandler<S, E> { /* private fields */ }
\ No newline at end of file diff --git a/client_sdk/framework_utils/args/index.html b/client_sdk/framework_utils/args/index.html new file mode 100644 index 000000000..f1c83a153 --- /dev/null +++ b/client_sdk/framework_utils/args/index.html @@ -0,0 +1 @@ +client_sdk::framework_utils::args - Rust

Module client_sdk::framework_utils::args

source ·

Structs§

  • Utility to split a string into segments delimited by whitespace and grouped by double quotation marks

Type Aliases§

\ No newline at end of file diff --git a/client_sdk/framework_utils/args/sidebar-items.js b/client_sdk/framework_utils/args/sidebar-items.js new file mode 100644 index 000000000..bc6da2713 --- /dev/null +++ b/client_sdk/framework_utils/args/sidebar-items.js @@ -0,0 +1 @@ +window.SIDEBAR_ITEMS = {"struct":["Argument","ArgumentSplitter"],"type":["ArgumentSplitterOwned"]}; \ No newline at end of file diff --git a/client_sdk/framework_utils/args/struct.Argument.html b/client_sdk/framework_utils/args/struct.Argument.html new file mode 100644 index 000000000..5c33ffc57 --- /dev/null +++ b/client_sdk/framework_utils/args/struct.Argument.html @@ -0,0 +1,31 @@ +Argument in client_sdk::framework_utils::args - Rust

Struct client_sdk::framework_utils::args::Argument

source ·
pub struct Argument<'a> { /* private fields */ }

Implementations§

source§

impl<'a> Argument<'a>

source

pub fn orig(&self) -> &'a str

source

pub fn inner_str(&self) -> &'a str

source

pub fn outer_str(&self) -> &'a str

source

pub fn inner(&self) -> Range<usize>

source

pub fn outer(&self) -> Range<usize>

source

pub fn is_quoted(&self) -> bool

source

pub fn is_quoted_with(&self, (start, end): (char, char)) -> bool

Trait Implementations§

source§

impl<'a> Clone for Argument<'a>

source§

fn clone(&self) -> Argument<'a>

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Argument<'_>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'a> Hash for Argument<'a>

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where + H: Hasher, + Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl<'a> PartialEq for Argument<'a>

source§

fn eq(&self, other: &Argument<'a>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl<'a> Copy for Argument<'a>

source§

impl<'a> Eq for Argument<'a>

source§

impl<'a> StructuralPartialEq for Argument<'a>

Auto Trait Implementations§

§

impl<'a> Freeze for Argument<'a>

§

impl<'a> RefUnwindSafe for Argument<'a>

§

impl<'a> Send for Argument<'a>

§

impl<'a> Sync for Argument<'a>

§

impl<'a> Unpin for Argument<'a>

§

impl<'a> UnwindSafe for Argument<'a>

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where + T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where + T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/framework_utils/args/struct.ArgumentSplitter.html b/client_sdk/framework_utils/args/struct.ArgumentSplitter.html new file mode 100644 index 000000000..348c817db --- /dev/null +++ b/client_sdk/framework_utils/args/struct.ArgumentSplitter.html @@ -0,0 +1,23 @@ +ArgumentSplitter in client_sdk::framework_utils::args - Rust

Struct client_sdk::framework_utils::args::ArgumentSplitter

source ·
pub struct ArgumentSplitter<'a> { /* private fields */ }
Expand description

Utility to split a string into segments delimited by whitespace and grouped by double quotation marks

+

Whitespace is removed except in quoted groups, and empty quoted groups are included.

+

Implementations§

source§

impl<'a> ArgumentSplitter<'a>

source

pub fn orig(&self) -> &'a str

source

pub fn arguments(&self) -> &[Argument<'a>]

source

pub fn iter<'b>(&'b self) -> impl Iterator<Item = &'a str> + 'b
where + 'a: 'b,

source

pub fn split(args: &'a str) -> Self

source

pub fn split_delimiters(args: &'a str, delmiters: &[(char, char)]) -> Self

Auto Trait Implementations§

§

impl<'a> Freeze for ArgumentSplitter<'a>

§

impl<'a> RefUnwindSafe for ArgumentSplitter<'a>

§

impl<'a> Send for ArgumentSplitter<'a>

§

impl<'a> Sync for ArgumentSplitter<'a>

§

impl<'a> Unpin for ArgumentSplitter<'a>

§

impl<'a> UnwindSafe for ArgumentSplitter<'a>

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/framework_utils/args/type.ArgumentSplitterOwned.html b/client_sdk/framework_utils/args/type.ArgumentSplitterOwned.html new file mode 100644 index 000000000..e6a4051b1 --- /dev/null +++ b/client_sdk/framework_utils/args/type.ArgumentSplitterOwned.html @@ -0,0 +1 @@ +ArgumentSplitterOwned in client_sdk::framework_utils::args - Rust

Type Alias client_sdk::framework_utils::args::ArgumentSplitterOwned

source ·
pub type ArgumentSplitterOwned = ArgumentSplitter<'static>;

Aliased Type§

struct ArgumentSplitterOwned { /* private fields */ }
\ No newline at end of file diff --git a/client_sdk/framework_utils/index.html b/client_sdk/framework_utils/index.html new file mode 100644 index 000000000..9e8b26d9c --- /dev/null +++ b/client_sdk/framework_utils/index.html @@ -0,0 +1 @@ +client_sdk::framework_utils - Rust

Module client_sdk::framework_utils

source ·

Modules§

\ No newline at end of file diff --git a/client_sdk/framework_utils/sidebar-items.js b/client_sdk/framework_utils/sidebar-items.js new file mode 100644 index 000000000..9df8debeb --- /dev/null +++ b/client_sdk/framework_utils/sidebar-items.js @@ -0,0 +1 @@ +window.SIDEBAR_ITEMS = {"mod":["args"]}; \ No newline at end of file diff --git a/client_sdk/gateway/conn/struct.GatewayConnection.html b/client_sdk/gateway/conn/struct.GatewayConnection.html new file mode 100644 index 000000000..b91b8106f --- /dev/null +++ b/client_sdk/gateway/conn/struct.GatewayConnection.html @@ -0,0 +1,11 @@ + + + + + Redirection + + +

Redirecting to ../../../client_sdk/gateway/struct.GatewayConnection.html...

+ + + \ No newline at end of file diff --git a/client_sdk/gateway/conn/struct.GatewayConnectionControl.html b/client_sdk/gateway/conn/struct.GatewayConnectionControl.html new file mode 100644 index 000000000..a46d2172d --- /dev/null +++ b/client_sdk/gateway/conn/struct.GatewayConnectionControl.html @@ -0,0 +1,11 @@ + + + + + Redirection + + +

Redirecting to ../../../client_sdk/gateway/struct.GatewayConnectionControl.html...

+ + + \ No newline at end of file diff --git a/client_sdk/gateway/enum.GatewayError.html b/client_sdk/gateway/enum.GatewayError.html new file mode 100644 index 000000000..a0dfc251a --- /dev/null +++ b/client_sdk/gateway/enum.GatewayError.html @@ -0,0 +1,31 @@ +GatewayError in client_sdk::gateway - Rust

Enum client_sdk::gateway::GatewayError

source ·
pub enum GatewayError {
+    WSError(Error),
+    Disconnected,
+    ReconnectLimitExceeded(usize),
+    JsonError(Error),
+    CborEncodeError(Error<Error>),
+    CborDecodeError(Error<Error>),
+    CompressionError,
+    CloseError(GatewayErrorCode),
+}

Variants§

§

WSError(Error)

§

Disconnected

§

ReconnectLimitExceeded(usize)

§

JsonError(Error)

§

CborEncodeError(Error<Error>)

§

CborDecodeError(Error<Error>)

§

CompressionError

§

CloseError(GatewayErrorCode)

Trait Implementations§

source§

impl Debug for GatewayError

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Display for GatewayError

source§

fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Error for GatewayError

source§

fn source(&self) -> Option<&(dyn Error + 'static)>

Returns the lower-level source of this error, if any. Read more
1.0.0 · source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.0.0 · source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
source§

fn provide<'a>(&'a self, request: &mut Request<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type-based access to context intended for error reports. Read more
source§

impl From<Error<Error>> for GatewayError

source§

fn from(source: Error<Error>) -> Self

Converts to this type from the input type.
source§

impl From<Error<Error>> for GatewayError

source§

fn from(source: Error<Error>) -> Self

Converts to this type from the input type.
source§

impl From<Error> for GatewayError

source§

fn from(source: WSError) -> Self

Converts to this type from the input type.
source§

impl From<Error> for GatewayError

source§

fn from(source: Error) -> Self

Converts to this type from the input type.
source§

impl From<GatewayError> for StandardError

source§

fn from(source: GatewayError) -> Self

Converts to this type from the input type.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T> ToSmolStr for T
where + T: Display + ?Sized,

§

fn to_smolstr(&self) -> SmolStr

source§

impl<T> ToString for T
where + T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/gateway/enum.GatewayErrorCode.html b/client_sdk/gateway/enum.GatewayErrorCode.html new file mode 100644 index 000000000..c6984450f --- /dev/null +++ b/client_sdk/gateway/enum.GatewayErrorCode.html @@ -0,0 +1,72 @@ +GatewayErrorCode in client_sdk::gateway - Rust

Enum client_sdk::gateway::GatewayErrorCode

source ·
#[repr(u16)]
pub enum GatewayErrorCode { + UnknownError = 4_000, + UnknownOpcode = 4_001, + DecodeError = 4_002, + NotAuthenticated = 4_003, + AuthFailed = 4_004, +}

Variants§

§

UnknownError = 4_000

§

UnknownOpcode = 4_001

§

DecodeError = 4_002

§

NotAuthenticated = 4_003

§

AuthFailed = 4_004

Trait Implementations§

source§

impl Clone for GatewayErrorCode

source§

fn clone(&self) -> GatewayErrorCode

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for GatewayErrorCode

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for GatewayErrorCode

source§

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 FromPrimitive for GatewayErrorCode

source§

fn from_u64(val: u64) -> Option<Self>

Converts an u64 to return an optional value of this type. If the +value cannot be represented by this type, then None is returned.
source§

fn from_i64(val: i64) -> Option<Self>

Converts an i64 to return an optional value of this type. If the +value cannot be represented by this type, then None is returned.
source§

fn from_isize(n: isize) -> Option<Self>

Converts an isize to return an optional value of this type. If the +value cannot be represented by this type, then None is returned.
source§

fn from_i8(n: i8) -> Option<Self>

Converts an i8 to return an optional value of this type. If the +value cannot be represented by this type, then None is returned.
source§

fn from_i16(n: i16) -> Option<Self>

Converts an i16 to return an optional value of this type. If the +value cannot be represented by this type, then None is returned.
source§

fn from_i32(n: i32) -> Option<Self>

Converts an i32 to return an optional value of this type. If the +value cannot be represented by this type, then None is returned.
source§

fn from_i128(n: i128) -> Option<Self>

Converts an i128 to return an optional value of this type. If the +value cannot be represented by this type, then None is returned. Read more
source§

fn from_usize(n: usize) -> Option<Self>

Converts a usize to return an optional value of this type. If the +value cannot be represented by this type, then None is returned.
source§

fn from_u8(n: u8) -> Option<Self>

Converts an u8 to return an optional value of this type. If the +value cannot be represented by this type, then None is returned.
source§

fn from_u16(n: u16) -> Option<Self>

Converts an u16 to return an optional value of this type. If the +value cannot be represented by this type, then None is returned.
source§

fn from_u32(n: u32) -> Option<Self>

Converts an u32 to return an optional value of this type. If the +value cannot be represented by this type, then None is returned.
source§

fn from_u128(n: u128) -> Option<Self>

Converts an u128 to return an optional value of this type. If the +value cannot be represented by this type, then None is returned. Read more
source§

fn from_f32(n: f32) -> Option<Self>

Converts a f32 to return an optional value of this type. If the +value cannot be represented by this type, then None is returned.
source§

fn from_f64(n: f64) -> Option<Self>

Converts a f64 to return an optional value of this type. If the +value cannot be represented by this type, then None is returned. Read more
source§

impl Hash for GatewayErrorCode

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where + H: Hasher, + Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl PartialEq for GatewayErrorCode

source§

fn eq(&self, other: &GatewayErrorCode) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl Serialize for GatewayErrorCode

source§

fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
where + S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl ToPrimitive for GatewayErrorCode

source§

fn to_u64(&self) -> Option<u64>

Converts the value of self to a u64. If the value cannot be +represented by a u64, then None is returned.
source§

fn to_i64(&self) -> Option<i64>

Converts the value of self to an i64. If the value cannot be +represented by an i64, then None is returned.
source§

fn to_isize(&self) -> Option<isize>

Converts the value of self to an isize. If the value cannot be +represented by an isize, then None is returned.
source§

fn to_i8(&self) -> Option<i8>

Converts the value of self to an i8. If the value cannot be +represented by an i8, then None is returned.
source§

fn to_i16(&self) -> Option<i16>

Converts the value of self to an i16. If the value cannot be +represented by an i16, then None is returned.
source§

fn to_i32(&self) -> Option<i32>

Converts the value of self to an i32. If the value cannot be +represented by an i32, then None is returned.
source§

fn to_i128(&self) -> Option<i128>

Converts the value of self to an i128. If the value cannot be +represented by an i128 (i64 under the default implementation), then +None is returned. Read more
source§

fn to_usize(&self) -> Option<usize>

Converts the value of self to a usize. If the value cannot be +represented by a usize, then None is returned.
source§

fn to_u8(&self) -> Option<u8>

Converts the value of self to a u8. If the value cannot be +represented by a u8, then None is returned.
source§

fn to_u16(&self) -> Option<u16>

Converts the value of self to a u16. If the value cannot be +represented by a u16, then None is returned.
source§

fn to_u32(&self) -> Option<u32>

Converts the value of self to a u32. If the value cannot be +represented by a u32, then None is returned.
source§

fn to_u128(&self) -> Option<u128>

Converts the value of self to a u128. If the value cannot be +represented by a u128 (u64 under the default implementation), then +None is returned. Read more
source§

fn to_f32(&self) -> Option<f32>

Converts the value of self to an f32. Overflows may map to positive +or negative inifinity, otherwise None is returned if the value cannot +be represented by an f32.
source§

fn to_f64(&self) -> Option<f64>

Converts the value of self to an f64. Overflows may map to positive +or negative inifinity, otherwise None is returned if the value cannot +be represented by an f64. Read more
source§

impl TryFrom<i16> for GatewayErrorCode

source§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_from(value: i16) -> Result<Self, <Self as TryFrom<i16>>::Error>

Performs the conversion.
source§

impl TryFrom<i32> for GatewayErrorCode

source§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_from(value: i32) -> Result<Self, <Self as TryFrom<i32>>::Error>

Performs the conversion.
source§

impl TryFrom<i64> for GatewayErrorCode

source§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_from(value: i64) -> Result<Self, <Self as TryFrom<i64>>::Error>

Performs the conversion.
source§

impl TryFrom<i8> for GatewayErrorCode

source§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_from(value: i8) -> Result<Self, <Self as TryFrom<i8>>::Error>

Performs the conversion.
source§

impl TryFrom<u16> for GatewayErrorCode

source§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_from(value: u16) -> Result<Self, <Self as TryFrom<u16>>::Error>

Performs the conversion.
source§

impl TryFrom<u32> for GatewayErrorCode

source§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_from(value: u32) -> Result<Self, <Self as TryFrom<u32>>::Error>

Performs the conversion.
source§

impl TryFrom<u64> for GatewayErrorCode

source§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_from(value: u64) -> Result<Self, <Self as TryFrom<u64>>::Error>

Performs the conversion.
source§

impl TryFrom<u8> for GatewayErrorCode

source§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_from(value: u8) -> Result<Self, <Self as TryFrom<u8>>::Error>

Performs the conversion.
source§

impl Copy for GatewayErrorCode

source§

impl Eq for GatewayErrorCode

source§

impl StructuralPartialEq for GatewayErrorCode

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where + T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where + T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/gateway/error/enum.GatewayError.html b/client_sdk/gateway/error/enum.GatewayError.html new file mode 100644 index 000000000..6715292d9 --- /dev/null +++ b/client_sdk/gateway/error/enum.GatewayError.html @@ -0,0 +1,11 @@ + + + + + Redirection + + +

Redirecting to ../../../client_sdk/gateway/enum.GatewayError.html...

+ + + \ No newline at end of file diff --git a/client_sdk/gateway/error/enum.GatewayErrorCode.html b/client_sdk/gateway/error/enum.GatewayErrorCode.html new file mode 100644 index 000000000..fb1a7786a --- /dev/null +++ b/client_sdk/gateway/error/enum.GatewayErrorCode.html @@ -0,0 +1,11 @@ + + + + + Redirection + + +

Redirecting to ../../../client_sdk/gateway/enum.GatewayErrorCode.html...

+ + + \ No newline at end of file diff --git a/client_sdk/gateway/index.html b/client_sdk/gateway/index.html new file mode 100644 index 000000000..9b6c8ac52 --- /dev/null +++ b/client_sdk/gateway/index.html @@ -0,0 +1,2 @@ +client_sdk::gateway - Rust

Module client_sdk::gateway

source ·

Structs§

Enums§

\ No newline at end of file diff --git a/client_sdk/gateway/sidebar-items.js b/client_sdk/gateway/sidebar-items.js new file mode 100644 index 000000000..d3ea1c822 --- /dev/null +++ b/client_sdk/gateway/sidebar-items.js @@ -0,0 +1 @@ +window.SIDEBAR_ITEMS = {"enum":["GatewayError","GatewayErrorCode"],"struct":["GatewayConnection","GatewayConnectionControl","GatewaySocket"]}; \ No newline at end of file diff --git a/client_sdk/gateway/socket/struct.GatewaySocket.html b/client_sdk/gateway/socket/struct.GatewaySocket.html new file mode 100644 index 000000000..06b33b148 --- /dev/null +++ b/client_sdk/gateway/socket/struct.GatewaySocket.html @@ -0,0 +1,11 @@ + + + + + Redirection + + +

Redirecting to ../../../client_sdk/gateway/struct.GatewaySocket.html...

+ + + \ No newline at end of file diff --git a/client_sdk/gateway/struct.GatewayConnection.html b/client_sdk/gateway/struct.GatewayConnection.html new file mode 100644 index 000000000..6f281906e --- /dev/null +++ b/client_sdk/gateway/struct.GatewayConnection.html @@ -0,0 +1,326 @@ +GatewayConnection in client_sdk::gateway - Rust

Struct client_sdk::gateway::GatewayConnection

source ·
pub struct GatewayConnection { /* private fields */ }
Expand description

Gateway connection that provides automatic reconnect +functionality as part of the [Sink]/[Stream] APIs.

+

However, it does not automatically perform the Hello/Identify handshake.

+

Upon reconnecting the underlying websocket, the server will send +a Hello event to initiate the handshake.

+

Any errors that occur will still be passed through, and must be handled appropriately. Spamming +servers will reconnections will lead to rate-limiting and possibly automated bans.

+

Implementations§

source§

impl GatewayConnection

source

pub fn new(client: Client) -> GatewayConnection

source

pub async fn connect(&mut self) -> Result<(), GatewayError>

Manually initiate a new connection of the gateway websocket

+

This does not handle any responses to server events.

+
source

pub fn control(&self) -> Arc<GatewayConnectionControl>

Get a reference to the control structure

+

Trait Implementations§

source§

impl Sink<ClientMsg> for GatewayConnection

source§

type Error = GatewayError

The type of value produced by the sink when an error occurs.
source§

fn poll_ready( + self: Pin<&mut Self>, + cx: &mut Context<'_>, +) -> Poll<Result<(), GatewayError>>

Attempts to prepare the Sink to receive a value. Read more
source§

fn start_send(self: Pin<&mut Self>, item: ClientMsg) -> Result<(), GatewayError>

Begin the process of sending a value to the sink. +Each call to this function must be preceded by a successful call to +poll_ready which returned Poll::Ready(Ok(())). Read more
source§

fn poll_flush( + self: Pin<&mut Self>, + cx: &mut Context<'_>, +) -> Poll<Result<(), GatewayError>>

Flush any remaining output from this sink. Read more
source§

fn poll_close( + self: Pin<&mut Self>, + cx: &mut Context<'_>, +) -> Poll<Result<(), GatewayError>>

Flush any remaining output and close this sink, if necessary. Read more
source§

impl Stream for GatewayConnection

source§

type Item = Result<ServerMsg, GatewayError>

Values yielded by the stream.
source§

fn poll_next( + self: Pin<&mut Self>, + cx: &mut Context<'_>, +) -> Poll<Option<Self::Item>>

Attempt to pull out the next value of this stream, registering the +current task for wakeup if the value is not yet available, and returning +None if the stream is exhausted. Read more
§

fn size_hint(&self) -> (usize, Option<usize>)

Returns the bounds on the remaining length of the stream. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, Item> SinkExt<Item> for T
where + T: Sink<Item> + ?Sized,

§

fn with<U, Fut, F, E>(self, f: F) -> With<Self, Item, U, Fut, F>
where + F: FnMut(U) -> Fut, + Fut: Future<Output = Result<Item, E>>, + E: From<Self::Error>, + Self: Sized,

Composes a function in front of the sink. Read more
§

fn with_flat_map<U, St, F>(self, f: F) -> WithFlatMap<Self, Item, U, St, F>
where + F: FnMut(U) -> St, + St: Stream<Item = Result<Item, Self::Error>>, + Self: Sized,

Composes a function in front of the sink. Read more
§

fn sink_map_err<E, F>(self, f: F) -> SinkMapErr<Self, F>
where + F: FnOnce(Self::Error) -> E, + Self: Sized,

Transforms the error returned by the sink.
§

fn sink_err_into<E>(self) -> SinkErrInto<Self, Item, E>
where + Self: Sized, + Self::Error: Into<E>,

Map this sink’s error to a different error type using the Into trait. Read more
§

fn buffer(self, capacity: usize) -> Buffer<Self, Item>
where + Self: Sized,

Adds a fixed-size buffer to the current sink. Read more
§

fn close(&mut self) -> Close<'_, Self, Item>
where + Self: Unpin,

Close the sink.
§

fn fanout<Si>(self, other: Si) -> Fanout<Self, Si>
where + Self: Sized, + Item: Clone, + Si: Sink<Item, Error = Self::Error>,

Fanout items to multiple sinks. Read more
§

fn flush(&mut self) -> Flush<'_, Self, Item>
where + Self: Unpin,

Flush the sink, processing all pending items. Read more
§

fn send(&mut self, item: Item) -> Send<'_, Self, Item>
where + Self: Unpin,

A future that completes after the given item has been fully processed +into the sink, including flushing. Read more
§

fn feed(&mut self, item: Item) -> Feed<'_, Self, Item>
where + Self: Unpin,

A future that completes after the given item has been received +by the sink. Read more
§

fn send_all<'a, St>(&'a mut self, stream: &'a mut St) -> SendAll<'a, Self, St>
where + St: TryStream<Ok = Item, Error = Self::Error> + Stream + Unpin + ?Sized, + Self: Unpin,

A future that completes after the given stream has been fully processed +into the sink, including flushing. Read more
§

fn left_sink<Si2>(self) -> Either<Self, Si2>
where + Si2: Sink<Item, Error = Self::Error>, + Self: Sized,

Wrap this sink in an Either sink, making it the left-hand variant +of that Either. Read more
§

fn right_sink<Si1>(self) -> Either<Si1, Self>
where + Si1: Sink<Item, Error = Self::Error>, + Self: Sized,

Wrap this stream in an Either stream, making it the right-hand variant +of that Either. Read more
§

fn poll_ready_unpin( + &mut self, + cx: &mut Context<'_>, +) -> Poll<Result<(), Self::Error>>
where + Self: Unpin,

A convenience method for calling [Sink::poll_ready] on Unpin +sink types.
§

fn start_send_unpin(&mut self, item: Item) -> Result<(), Self::Error>
where + Self: Unpin,

A convenience method for calling [Sink::start_send] on Unpin +sink types.
§

fn poll_flush_unpin( + &mut self, + cx: &mut Context<'_>, +) -> Poll<Result<(), Self::Error>>
where + Self: Unpin,

A convenience method for calling [Sink::poll_flush] on Unpin +sink types.
§

fn poll_close_unpin( + &mut self, + cx: &mut Context<'_>, +) -> Poll<Result<(), Self::Error>>
where + Self: Unpin,

A convenience method for calling [Sink::poll_close] on Unpin +sink types.
§

impl<T> StreamExt for T
where + T: Stream + ?Sized,

§

fn next(&mut self) -> Next<'_, Self>
where + Self: Unpin,

Creates a future that resolves to the next item in the stream. Read more
§

fn into_future(self) -> StreamFuture<Self>
where + Self: Sized + Unpin,

Converts this stream into a future of (next_item, tail_of_stream). +If the stream terminates, then the next item is None. Read more
§

fn map<T, F>(self, f: F) -> Map<Self, F>
where + F: FnMut(Self::Item) -> T, + Self: Sized,

Maps this stream’s items to a different type, returning a new stream of +the resulting type. Read more
§

fn enumerate(self) -> Enumerate<Self>
where + Self: Sized,

Creates a stream which gives the current iteration count as well as +the next value. Read more
§

fn filter<Fut, F>(self, f: F) -> Filter<Self, Fut, F>
where + F: FnMut(&Self::Item) -> Fut, + Fut: Future<Output = bool>, + Self: Sized,

Filters the values produced by this stream according to the provided +asynchronous predicate. Read more
§

fn filter_map<Fut, T, F>(self, f: F) -> FilterMap<Self, Fut, F>
where + F: FnMut(Self::Item) -> Fut, + Fut: Future<Output = Option<T>>, + Self: Sized,

Filters the values produced by this stream while simultaneously mapping +them to a different type according to the provided asynchronous closure. Read more
§

fn then<Fut, F>(self, f: F) -> Then<Self, Fut, F>
where + F: FnMut(Self::Item) -> Fut, + Fut: Future, + Self: Sized,

Computes from this stream’s items new items of a different type using +an asynchronous closure. Read more
§

fn collect<C>(self) -> Collect<Self, C>
where + C: Default + Extend<Self::Item>, + Self: Sized,

Transforms a stream into a collection, returning a +future representing the result of that computation. Read more
§

fn unzip<A, B, FromA, FromB>(self) -> Unzip<Self, FromA, FromB>
where + FromA: Default + Extend<A>, + FromB: Default + Extend<B>, + Self: Sized + Stream<Item = (A, B)>,

Converts a stream of pairs into a future, which +resolves to pair of containers. Read more
§

fn concat(self) -> Concat<Self>
where + Self: Sized, + Self::Item: Extend<<Self::Item as IntoIterator>::Item> + IntoIterator + Default,

Concatenate all items of a stream into a single extendable +destination, returning a future representing the end result. Read more
§

fn count(self) -> Count<Self>
where + Self: Sized,

Drives the stream to completion, counting the number of items. Read more
§

fn cycle(self) -> Cycle<Self>
where + Self: Sized + Clone,

Repeats a stream endlessly. Read more
§

fn fold<T, Fut, F>(self, init: T, f: F) -> Fold<Self, Fut, T, F>
where + F: FnMut(T, Self::Item) -> Fut, + Fut: Future<Output = T>, + Self: Sized,

Execute an accumulating asynchronous computation over a stream, +collecting all the values into one final result. Read more
§

fn any<Fut, F>(self, f: F) -> Any<Self, Fut, F>
where + F: FnMut(Self::Item) -> Fut, + Fut: Future<Output = bool>, + Self: Sized,

Execute predicate over asynchronous stream, and return true if any element in stream satisfied a predicate. Read more
§

fn all<Fut, F>(self, f: F) -> All<Self, Fut, F>
where + F: FnMut(Self::Item) -> Fut, + Fut: Future<Output = bool>, + Self: Sized,

Execute predicate over asynchronous stream, and return true if all element in stream satisfied a predicate. Read more
§

fn flatten(self) -> Flatten<Self>
where + Self::Item: Stream, + Self: Sized,

Flattens a stream of streams into just one continuous stream. Read more
§

fn flatten_unordered( + self, + limit: impl Into<Option<usize>>, +) -> FlattenUnorderedWithFlowController<Self, ()>
where + Self::Item: Stream + Unpin, + Self: Sized,

Flattens a stream of streams into just one continuous stream. Polls +inner streams produced by the base stream concurrently. Read more
§

fn flat_map<U, F>(self, f: F) -> FlatMap<Self, U, F>
where + F: FnMut(Self::Item) -> U, + U: Stream, + Self: Sized,

Maps a stream like [StreamExt::map] but flattens nested Streams. Read more
§

fn flat_map_unordered<U, F>( + self, + limit: impl Into<Option<usize>>, + f: F, +) -> FlatMapUnordered<Self, U, F>
where + U: Stream + Unpin, + F: FnMut(Self::Item) -> U, + Self: Sized,

Maps a stream like [StreamExt::map] but flattens nested Streams +and polls them concurrently, yielding items in any order, as they made +available. Read more
§

fn scan<S, B, Fut, F>(self, initial_state: S, f: F) -> Scan<Self, S, Fut, F>
where + F: FnMut(&mut S, Self::Item) -> Fut, + Fut: Future<Output = Option<B>>, + Self: Sized,

Combinator similar to [StreamExt::fold] that holds internal state +and produces a new stream. Read more
§

fn skip_while<Fut, F>(self, f: F) -> SkipWhile<Self, Fut, F>
where + F: FnMut(&Self::Item) -> Fut, + Fut: Future<Output = bool>, + Self: Sized,

Skip elements on this stream while the provided asynchronous predicate +resolves to true. Read more
§

fn take_while<Fut, F>(self, f: F) -> TakeWhile<Self, Fut, F>
where + F: FnMut(&Self::Item) -> Fut, + Fut: Future<Output = bool>, + Self: Sized,

Take elements from this stream while the provided asynchronous predicate +resolves to true. Read more
§

fn take_until<Fut>(self, fut: Fut) -> TakeUntil<Self, Fut>
where + Fut: Future, + Self: Sized,

Take elements from this stream until the provided future resolves. Read more
§

fn for_each<Fut, F>(self, f: F) -> ForEach<Self, Fut, F>
where + F: FnMut(Self::Item) -> Fut, + Fut: Future<Output = ()>, + Self: Sized,

Runs this stream to completion, executing the provided asynchronous +closure for each element on the stream. Read more
§

fn for_each_concurrent<Fut, F>( + self, + limit: impl Into<Option<usize>>, + f: F, +) -> ForEachConcurrent<Self, Fut, F>
where + F: FnMut(Self::Item) -> Fut, + Fut: Future<Output = ()>, + Self: Sized,

Runs this stream to completion, executing the provided asynchronous +closure for each element on the stream concurrently as elements become +available. Read more
§

fn take(self, n: usize) -> Take<Self>
where + Self: Sized,

Creates a new stream of at most n items of the underlying stream. Read more
§

fn skip(self, n: usize) -> Skip<Self>
where + Self: Sized,

Creates a new stream which skips n items of the underlying stream. Read more
§

fn fuse(self) -> Fuse<Self>
where + Self: Sized,

Fuse a stream such that poll_next will never +again be called once it has finished. This method can be used to turn +any Stream into a FusedStream. Read more
§

fn by_ref(&mut self) -> &mut Self

Borrows a stream, rather than consuming it. Read more
§

fn catch_unwind(self) -> CatchUnwind<Self>
where + Self: Sized + UnwindSafe,

Catches unwinding panics while polling the stream. Read more
§

fn boxed<'a>(self) -> Pin<Box<dyn Stream<Item = Self::Item> + Send + 'a>>
where + Self: Sized + Send + 'a,

Wrap the stream in a Box, pinning it. Read more
§

fn boxed_local<'a>(self) -> Pin<Box<dyn Stream<Item = Self::Item> + 'a>>
where + Self: Sized + 'a,

Wrap the stream in a Box, pinning it. Read more
§

fn buffered(self, n: usize) -> Buffered<Self>
where + Self::Item: Future, + Self: Sized,

An adaptor for creating a buffered list of pending futures. Read more
§

fn buffer_unordered(self, n: usize) -> BufferUnordered<Self>
where + Self::Item: Future, + Self: Sized,

An adaptor for creating a buffered list of pending futures (unordered). Read more
§

fn zip<St>(self, other: St) -> Zip<Self, St>
where + St: Stream, + Self: Sized,

An adapter for zipping two streams together. Read more
§

fn chain<St>(self, other: St) -> Chain<Self, St>
where + St: Stream<Item = Self::Item>, + Self: Sized,

Adapter for chaining two streams. Read more
§

fn peekable(self) -> Peekable<Self>
where + Self: Sized,

Creates a new stream which exposes a peek method. Read more
§

fn chunks(self, capacity: usize) -> Chunks<Self>
where + Self: Sized,

An adaptor for chunking up items of the stream inside a vector. Read more
§

fn ready_chunks(self, capacity: usize) -> ReadyChunks<Self>
where + Self: Sized,

An adaptor for chunking up ready items of the stream inside a vector. Read more
§

fn forward<S>(self, sink: S) -> Forward<Self, S>
where + S: Sink<Self::Ok, Error = Self::Error>, + Self: Sized + TryStream,

A future that completes after the given stream has been fully processed +into the sink and the sink has been flushed and closed. Read more
§

fn split<Item>(self) -> (SplitSink<Self, Item>, SplitStream<Self>)
where + Self: Sized + Sink<Item>,

Splits this Stream + Sink object into separate Sink and Stream +objects. Read more
§

fn inspect<F>(self, f: F) -> Inspect<Self, F>
where + F: FnMut(&Self::Item), + Self: Sized,

Do something with each item of this stream, afterwards passing it on. Read more
§

fn left_stream<B>(self) -> Either<Self, B>
where + B: Stream<Item = Self::Item>, + Self: Sized,

Wrap this stream in an Either stream, making it the left-hand variant +of that Either. Read more
§

fn right_stream<B>(self) -> Either<B, Self>
where + B: Stream<Item = Self::Item>, + Self: Sized,

Wrap this stream in an Either stream, making it the right-hand variant +of that Either. Read more
§

fn poll_next_unpin(&mut self, cx: &mut Context<'_>) -> Poll<Option<Self::Item>>
where + Self: Unpin,

A convenience method for calling [Stream::poll_next] on Unpin +stream types.
§

fn select_next_some(&mut self) -> SelectNextSome<'_, Self>
where + Self: Unpin + FusedStream,

Returns a Future that resolves when the next item in this stream is +ready. Read more
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<S, T, E> TryStream for S
where + S: Stream<Item = Result<T, E>> + ?Sized,

§

type Ok = T

The type of successful values yielded by this future
§

type Error = E

The type of failures yielded by this future
§

fn try_poll_next( + self: Pin<&mut S>, + cx: &mut Context<'_>, +) -> Poll<Option<Result<<S as TryStream>::Ok, <S as TryStream>::Error>>>

Poll this TryStream as if it were a Stream. Read more
§

impl<S> TryStreamExt for S
where + S: TryStream + ?Sized,

§

fn err_into<E>(self) -> ErrInto<Self, E>
where + Self: Sized, + Self::Error: Into<E>,

Wraps the current stream in a new stream which converts the error type +into the one provided. Read more
§

fn map_ok<T, F>(self, f: F) -> MapOk<Self, F>
where + Self: Sized, + F: FnMut(Self::Ok) -> T,

Wraps the current stream in a new stream which maps the success value +using the provided closure. Read more
§

fn map_err<E, F>(self, f: F) -> MapErr<Self, F>
where + Self: Sized, + F: FnMut(Self::Error) -> E,

Wraps the current stream in a new stream which maps the error value +using the provided closure. Read more
§

fn and_then<Fut, F>(self, f: F) -> AndThen<Self, Fut, F>
where + F: FnMut(Self::Ok) -> Fut, + Fut: TryFuture<Error = Self::Error>, + Self: Sized,

Chain on a computation for when a value is ready, passing the successful +results to the provided closure f. Read more
§

fn or_else<Fut, F>(self, f: F) -> OrElse<Self, Fut, F>
where + F: FnMut(Self::Error) -> Fut, + Fut: TryFuture<Ok = Self::Ok>, + Self: Sized,

Chain on a computation for when an error happens, passing the +erroneous result to the provided closure f. Read more
§

fn inspect_ok<F>(self, f: F) -> InspectOk<Self, F>
where + F: FnMut(&Self::Ok), + Self: Sized,

Do something with the success value of this stream, afterwards passing +it on. Read more
§

fn inspect_err<F>(self, f: F) -> InspectErr<Self, F>
where + F: FnMut(&Self::Error), + Self: Sized,

Do something with the error value of this stream, afterwards passing it on. Read more
§

fn into_stream(self) -> IntoStream<Self>
where + Self: Sized,

Wraps a [TryStream] into a type that implements +Stream Read more
§

fn try_next(&mut self) -> TryNext<'_, Self>
where + Self: Unpin,

Creates a future that attempts to resolve the next item in the stream. +If an error is encountered before the next item, the error is returned +instead. Read more
§

fn try_for_each<Fut, F>(self, f: F) -> TryForEach<Self, Fut, F>
where + F: FnMut(Self::Ok) -> Fut, + Fut: TryFuture<Ok = (), Error = Self::Error>, + Self: Sized,

Attempts to run this stream to completion, executing the provided +asynchronous closure for each element on the stream. Read more
§

fn try_skip_while<Fut, F>(self, f: F) -> TrySkipWhile<Self, Fut, F>
where + F: FnMut(&Self::Ok) -> Fut, + Fut: TryFuture<Ok = bool, Error = Self::Error>, + Self: Sized,

Skip elements on this stream while the provided asynchronous predicate +resolves to true. Read more
§

fn try_take_while<Fut, F>(self, f: F) -> TryTakeWhile<Self, Fut, F>
where + F: FnMut(&Self::Ok) -> Fut, + Fut: TryFuture<Ok = bool, Error = Self::Error>, + Self: Sized,

Take elements on this stream while the provided asynchronous predicate +resolves to true. Read more
§

fn try_for_each_concurrent<Fut, F>( + self, + limit: impl Into<Option<usize>>, + f: F, +) -> TryForEachConcurrent<Self, Fut, F>
where + F: FnMut(Self::Ok) -> Fut, + Fut: Future<Output = Result<(), Self::Error>>, + Self: Sized,

Attempts to run this stream to completion, executing the provided asynchronous +closure for each element on the stream concurrently as elements become +available, exiting as soon as an error occurs. Read more
§

fn try_collect<C>(self) -> TryCollect<Self, C>
where + C: Default + Extend<Self::Ok>, + Self: Sized,

Attempt to transform a stream into a collection, +returning a future representing the result of that computation. Read more
§

fn try_chunks(self, capacity: usize) -> TryChunks<Self>
where + Self: Sized,

An adaptor for chunking up successful items of the stream inside a vector. Read more
§

fn try_ready_chunks(self, capacity: usize) -> TryReadyChunks<Self>
where + Self: Sized,

An adaptor for chunking up successful, ready items of the stream inside a vector. Read more
§

fn try_filter<Fut, F>(self, f: F) -> TryFilter<Self, Fut, F>
where + Fut: Future<Output = bool>, + F: FnMut(&Self::Ok) -> Fut, + Self: Sized,

Attempt to filter the values produced by this stream according to the +provided asynchronous closure. Read more
§

fn try_filter_map<Fut, F, T>(self, f: F) -> TryFilterMap<Self, Fut, F>
where + Fut: TryFuture<Ok = Option<T>, Error = Self::Error>, + F: FnMut(Self::Ok) -> Fut, + Self: Sized,

Attempt to filter the values produced by this stream while +simultaneously mapping them to a different type according to the +provided asynchronous closure. Read more
§

fn try_flatten_unordered( + self, + limit: impl Into<Option<usize>>, +) -> TryFlattenUnordered<Self>
where + Self::Ok: TryStream + Unpin, + <Self::Ok as TryStream>::Error: From<Self::Error>, + Self: Sized,

Flattens a stream of streams into just one continuous stream. Produced streams +will be polled concurrently and any errors will be passed through without looking at them. +If the underlying base stream returns an error, it will be immediately propagated. Read more
§

fn try_flatten(self) -> TryFlatten<Self>
where + Self::Ok: TryStream, + <Self::Ok as TryStream>::Error: From<Self::Error>, + Self: Sized,

Flattens a stream of streams into just one continuous stream. Read more
§

fn try_fold<T, Fut, F>(self, init: T, f: F) -> TryFold<Self, Fut, T, F>
where + F: FnMut(T, Self::Ok) -> Fut, + Fut: TryFuture<Ok = T, Error = Self::Error>, + Self: Sized,

Attempt to execute an accumulating asynchronous computation over a +stream, collecting all the values into one final result. Read more
§

fn try_concat(self) -> TryConcat<Self>
where + Self: Sized, + Self::Ok: Extend<<Self::Ok as IntoIterator>::Item> + IntoIterator + Default,

Attempt to concatenate all items of a stream into a single +extendable destination, returning a future representing the end result. Read more
§

fn try_buffer_unordered(self, n: usize) -> TryBufferUnordered<Self>
where + Self::Ok: TryFuture<Error = Self::Error>, + Self: Sized,

Attempt to execute several futures from a stream concurrently (unordered). Read more
§

fn try_buffered(self, n: usize) -> TryBuffered<Self>
where + Self::Ok: TryFuture<Error = Self::Error>, + Self: Sized,

Attempt to execute several futures from a stream concurrently. Read more
§

fn try_poll_next_unpin( + &mut self, + cx: &mut Context<'_>, +) -> Poll<Option<Result<Self::Ok, Self::Error>>>
where + Self: Unpin,

A convenience method for calling [TryStream::try_poll_next] on Unpin +stream types.
§

fn into_async_read(self) -> IntoAsyncRead<Self>
where + Self: Sized + TryStreamExt<Error = Error>, + Self::Ok: AsRef<[u8]>,

Adapter that converts this stream into an AsyncBufRead. Read more
§

fn try_all<Fut, F>(self, f: F) -> TryAll<Self, Fut, F>
where + Self: Sized, + F: FnMut(Self::Ok) -> Fut, + Fut: Future<Output = bool>,

Attempt to execute a predicate over an asynchronous stream and evaluate if all items +satisfy the predicate. Exits early if an Err is encountered or if an Ok item is found +that does not satisfy the predicate. Read more
§

fn try_any<Fut, F>(self, f: F) -> TryAny<Self, Fut, F>
where + Self: Sized, + F: FnMut(Self::Ok) -> Fut, + Fut: Future<Output = bool>,

Attempt to execute a predicate over an asynchronous stream and evaluate if any items +satisfy the predicate. Exits early if an Err is encountered or if an Ok item is found +that satisfies the predicate. Read more
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/gateway/struct.GatewayConnectionControl.html b/client_sdk/gateway/struct.GatewayConnectionControl.html new file mode 100644 index 000000000..9a63a2740 --- /dev/null +++ b/client_sdk/gateway/struct.GatewayConnectionControl.html @@ -0,0 +1,24 @@ +GatewayConnectionControl in client_sdk::gateway - Rust

Struct client_sdk::gateway::GatewayConnectionControl

source ·
pub struct GatewayConnectionControl { /* private fields */ }

Implementations§

source§

impl GatewayConnectionControl

source

pub fn reset(&self)

Resets the connection attempt counter and opens up for new connections.

+
source

pub fn set_reconnect_limit(&self, limit: NonZeroUsize)

Sets the reconnect limit to a non-zero value. Does not immediately disconnect if +the current reconnection counter is above this.

+
source

pub fn noreconnect(&self)

Prevent reconnecting

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/gateway/struct.GatewaySocket.html b/client_sdk/gateway/struct.GatewaySocket.html new file mode 100644 index 000000000..eff54968d --- /dev/null +++ b/client_sdk/gateway/struct.GatewaySocket.html @@ -0,0 +1,318 @@ +GatewaySocket in client_sdk::gateway - Rust

Struct client_sdk::gateway::GatewaySocket

source ·
pub struct GatewaySocket { /* private fields */ }
Expand description

Raw WebSocket adapter that handles encoding and decoding of messages

+

Implementations§

source§

impl GatewaySocket

source

pub async fn connect(driver: Driver) -> Result<Self, GatewayError>

Trait Implementations§

source§

impl Sink<ClientMsg> for GatewaySocket

source§

type Error = GatewayError

The type of value produced by the sink when an error occurs.
source§

fn poll_ready( + self: Pin<&mut Self>, + cx: &mut Context<'_>, +) -> Poll<Result<(), GatewayError>>

Attempts to prepare the Sink to receive a value. Read more
source§

fn start_send(self: Pin<&mut Self>, msg: ClientMsg) -> Result<(), GatewayError>

Begin the process of sending a value to the sink. +Each call to this function must be preceded by a successful call to +poll_ready which returned Poll::Ready(Ok(())). Read more
source§

fn poll_flush( + self: Pin<&mut Self>, + cx: &mut Context<'_>, +) -> Poll<Result<(), GatewayError>>

Flush any remaining output from this sink. Read more
source§

fn poll_close( + self: Pin<&mut Self>, + cx: &mut Context<'_>, +) -> Poll<Result<(), GatewayError>>

Flush any remaining output and close this sink, if necessary. Read more
source§

impl Stream for GatewaySocket

source§

type Item = Result<ServerMsg, GatewayError>

Values yielded by the stream.
source§

fn poll_next( + self: Pin<&mut Self>, + cx: &mut Context<'_>, +) -> Poll<Option<Self::Item>>

Attempt to pull out the next value of this stream, registering the +current task for wakeup if the value is not yet available, and returning +None if the stream is exhausted. Read more
§

fn size_hint(&self) -> (usize, Option<usize>)

Returns the bounds on the remaining length of the stream. Read more
source§

impl<'__pin> Unpin for GatewaySocket
where + PinnedFieldsOf<__Origin<'__pin>>: Unpin,

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, Item> SinkExt<Item> for T
where + T: Sink<Item> + ?Sized,

§

fn with<U, Fut, F, E>(self, f: F) -> With<Self, Item, U, Fut, F>
where + F: FnMut(U) -> Fut, + Fut: Future<Output = Result<Item, E>>, + E: From<Self::Error>, + Self: Sized,

Composes a function in front of the sink. Read more
§

fn with_flat_map<U, St, F>(self, f: F) -> WithFlatMap<Self, Item, U, St, F>
where + F: FnMut(U) -> St, + St: Stream<Item = Result<Item, Self::Error>>, + Self: Sized,

Composes a function in front of the sink. Read more
§

fn sink_map_err<E, F>(self, f: F) -> SinkMapErr<Self, F>
where + F: FnOnce(Self::Error) -> E, + Self: Sized,

Transforms the error returned by the sink.
§

fn sink_err_into<E>(self) -> SinkErrInto<Self, Item, E>
where + Self: Sized, + Self::Error: Into<E>,

Map this sink’s error to a different error type using the Into trait. Read more
§

fn buffer(self, capacity: usize) -> Buffer<Self, Item>
where + Self: Sized,

Adds a fixed-size buffer to the current sink. Read more
§

fn close(&mut self) -> Close<'_, Self, Item>
where + Self: Unpin,

Close the sink.
§

fn fanout<Si>(self, other: Si) -> Fanout<Self, Si>
where + Self: Sized, + Item: Clone, + Si: Sink<Item, Error = Self::Error>,

Fanout items to multiple sinks. Read more
§

fn flush(&mut self) -> Flush<'_, Self, Item>
where + Self: Unpin,

Flush the sink, processing all pending items. Read more
§

fn send(&mut self, item: Item) -> Send<'_, Self, Item>
where + Self: Unpin,

A future that completes after the given item has been fully processed +into the sink, including flushing. Read more
§

fn feed(&mut self, item: Item) -> Feed<'_, Self, Item>
where + Self: Unpin,

A future that completes after the given item has been received +by the sink. Read more
§

fn send_all<'a, St>(&'a mut self, stream: &'a mut St) -> SendAll<'a, Self, St>
where + St: TryStream<Ok = Item, Error = Self::Error> + Stream + Unpin + ?Sized, + Self: Unpin,

A future that completes after the given stream has been fully processed +into the sink, including flushing. Read more
§

fn left_sink<Si2>(self) -> Either<Self, Si2>
where + Si2: Sink<Item, Error = Self::Error>, + Self: Sized,

Wrap this sink in an Either sink, making it the left-hand variant +of that Either. Read more
§

fn right_sink<Si1>(self) -> Either<Si1, Self>
where + Si1: Sink<Item, Error = Self::Error>, + Self: Sized,

Wrap this stream in an Either stream, making it the right-hand variant +of that Either. Read more
§

fn poll_ready_unpin( + &mut self, + cx: &mut Context<'_>, +) -> Poll<Result<(), Self::Error>>
where + Self: Unpin,

A convenience method for calling [Sink::poll_ready] on Unpin +sink types.
§

fn start_send_unpin(&mut self, item: Item) -> Result<(), Self::Error>
where + Self: Unpin,

A convenience method for calling [Sink::start_send] on Unpin +sink types.
§

fn poll_flush_unpin( + &mut self, + cx: &mut Context<'_>, +) -> Poll<Result<(), Self::Error>>
where + Self: Unpin,

A convenience method for calling [Sink::poll_flush] on Unpin +sink types.
§

fn poll_close_unpin( + &mut self, + cx: &mut Context<'_>, +) -> Poll<Result<(), Self::Error>>
where + Self: Unpin,

A convenience method for calling [Sink::poll_close] on Unpin +sink types.
§

impl<T> StreamExt for T
where + T: Stream + ?Sized,

§

fn next(&mut self) -> Next<'_, Self>
where + Self: Unpin,

Creates a future that resolves to the next item in the stream. Read more
§

fn into_future(self) -> StreamFuture<Self>
where + Self: Sized + Unpin,

Converts this stream into a future of (next_item, tail_of_stream). +If the stream terminates, then the next item is None. Read more
§

fn map<T, F>(self, f: F) -> Map<Self, F>
where + F: FnMut(Self::Item) -> T, + Self: Sized,

Maps this stream’s items to a different type, returning a new stream of +the resulting type. Read more
§

fn enumerate(self) -> Enumerate<Self>
where + Self: Sized,

Creates a stream which gives the current iteration count as well as +the next value. Read more
§

fn filter<Fut, F>(self, f: F) -> Filter<Self, Fut, F>
where + F: FnMut(&Self::Item) -> Fut, + Fut: Future<Output = bool>, + Self: Sized,

Filters the values produced by this stream according to the provided +asynchronous predicate. Read more
§

fn filter_map<Fut, T, F>(self, f: F) -> FilterMap<Self, Fut, F>
where + F: FnMut(Self::Item) -> Fut, + Fut: Future<Output = Option<T>>, + Self: Sized,

Filters the values produced by this stream while simultaneously mapping +them to a different type according to the provided asynchronous closure. Read more
§

fn then<Fut, F>(self, f: F) -> Then<Self, Fut, F>
where + F: FnMut(Self::Item) -> Fut, + Fut: Future, + Self: Sized,

Computes from this stream’s items new items of a different type using +an asynchronous closure. Read more
§

fn collect<C>(self) -> Collect<Self, C>
where + C: Default + Extend<Self::Item>, + Self: Sized,

Transforms a stream into a collection, returning a +future representing the result of that computation. Read more
§

fn unzip<A, B, FromA, FromB>(self) -> Unzip<Self, FromA, FromB>
where + FromA: Default + Extend<A>, + FromB: Default + Extend<B>, + Self: Sized + Stream<Item = (A, B)>,

Converts a stream of pairs into a future, which +resolves to pair of containers. Read more
§

fn concat(self) -> Concat<Self>
where + Self: Sized, + Self::Item: Extend<<Self::Item as IntoIterator>::Item> + IntoIterator + Default,

Concatenate all items of a stream into a single extendable +destination, returning a future representing the end result. Read more
§

fn count(self) -> Count<Self>
where + Self: Sized,

Drives the stream to completion, counting the number of items. Read more
§

fn cycle(self) -> Cycle<Self>
where + Self: Sized + Clone,

Repeats a stream endlessly. Read more
§

fn fold<T, Fut, F>(self, init: T, f: F) -> Fold<Self, Fut, T, F>
where + F: FnMut(T, Self::Item) -> Fut, + Fut: Future<Output = T>, + Self: Sized,

Execute an accumulating asynchronous computation over a stream, +collecting all the values into one final result. Read more
§

fn any<Fut, F>(self, f: F) -> Any<Self, Fut, F>
where + F: FnMut(Self::Item) -> Fut, + Fut: Future<Output = bool>, + Self: Sized,

Execute predicate over asynchronous stream, and return true if any element in stream satisfied a predicate. Read more
§

fn all<Fut, F>(self, f: F) -> All<Self, Fut, F>
where + F: FnMut(Self::Item) -> Fut, + Fut: Future<Output = bool>, + Self: Sized,

Execute predicate over asynchronous stream, and return true if all element in stream satisfied a predicate. Read more
§

fn flatten(self) -> Flatten<Self>
where + Self::Item: Stream, + Self: Sized,

Flattens a stream of streams into just one continuous stream. Read more
§

fn flatten_unordered( + self, + limit: impl Into<Option<usize>>, +) -> FlattenUnorderedWithFlowController<Self, ()>
where + Self::Item: Stream + Unpin, + Self: Sized,

Flattens a stream of streams into just one continuous stream. Polls +inner streams produced by the base stream concurrently. Read more
§

fn flat_map<U, F>(self, f: F) -> FlatMap<Self, U, F>
where + F: FnMut(Self::Item) -> U, + U: Stream, + Self: Sized,

Maps a stream like [StreamExt::map] but flattens nested Streams. Read more
§

fn flat_map_unordered<U, F>( + self, + limit: impl Into<Option<usize>>, + f: F, +) -> FlatMapUnordered<Self, U, F>
where + U: Stream + Unpin, + F: FnMut(Self::Item) -> U, + Self: Sized,

Maps a stream like [StreamExt::map] but flattens nested Streams +and polls them concurrently, yielding items in any order, as they made +available. Read more
§

fn scan<S, B, Fut, F>(self, initial_state: S, f: F) -> Scan<Self, S, Fut, F>
where + F: FnMut(&mut S, Self::Item) -> Fut, + Fut: Future<Output = Option<B>>, + Self: Sized,

Combinator similar to [StreamExt::fold] that holds internal state +and produces a new stream. Read more
§

fn skip_while<Fut, F>(self, f: F) -> SkipWhile<Self, Fut, F>
where + F: FnMut(&Self::Item) -> Fut, + Fut: Future<Output = bool>, + Self: Sized,

Skip elements on this stream while the provided asynchronous predicate +resolves to true. Read more
§

fn take_while<Fut, F>(self, f: F) -> TakeWhile<Self, Fut, F>
where + F: FnMut(&Self::Item) -> Fut, + Fut: Future<Output = bool>, + Self: Sized,

Take elements from this stream while the provided asynchronous predicate +resolves to true. Read more
§

fn take_until<Fut>(self, fut: Fut) -> TakeUntil<Self, Fut>
where + Fut: Future, + Self: Sized,

Take elements from this stream until the provided future resolves. Read more
§

fn for_each<Fut, F>(self, f: F) -> ForEach<Self, Fut, F>
where + F: FnMut(Self::Item) -> Fut, + Fut: Future<Output = ()>, + Self: Sized,

Runs this stream to completion, executing the provided asynchronous +closure for each element on the stream. Read more
§

fn for_each_concurrent<Fut, F>( + self, + limit: impl Into<Option<usize>>, + f: F, +) -> ForEachConcurrent<Self, Fut, F>
where + F: FnMut(Self::Item) -> Fut, + Fut: Future<Output = ()>, + Self: Sized,

Runs this stream to completion, executing the provided asynchronous +closure for each element on the stream concurrently as elements become +available. Read more
§

fn take(self, n: usize) -> Take<Self>
where + Self: Sized,

Creates a new stream of at most n items of the underlying stream. Read more
§

fn skip(self, n: usize) -> Skip<Self>
where + Self: Sized,

Creates a new stream which skips n items of the underlying stream. Read more
§

fn fuse(self) -> Fuse<Self>
where + Self: Sized,

Fuse a stream such that poll_next will never +again be called once it has finished. This method can be used to turn +any Stream into a FusedStream. Read more
§

fn by_ref(&mut self) -> &mut Self

Borrows a stream, rather than consuming it. Read more
§

fn catch_unwind(self) -> CatchUnwind<Self>
where + Self: Sized + UnwindSafe,

Catches unwinding panics while polling the stream. Read more
§

fn boxed<'a>(self) -> Pin<Box<dyn Stream<Item = Self::Item> + Send + 'a>>
where + Self: Sized + Send + 'a,

Wrap the stream in a Box, pinning it. Read more
§

fn boxed_local<'a>(self) -> Pin<Box<dyn Stream<Item = Self::Item> + 'a>>
where + Self: Sized + 'a,

Wrap the stream in a Box, pinning it. Read more
§

fn buffered(self, n: usize) -> Buffered<Self>
where + Self::Item: Future, + Self: Sized,

An adaptor for creating a buffered list of pending futures. Read more
§

fn buffer_unordered(self, n: usize) -> BufferUnordered<Self>
where + Self::Item: Future, + Self: Sized,

An adaptor for creating a buffered list of pending futures (unordered). Read more
§

fn zip<St>(self, other: St) -> Zip<Self, St>
where + St: Stream, + Self: Sized,

An adapter for zipping two streams together. Read more
§

fn chain<St>(self, other: St) -> Chain<Self, St>
where + St: Stream<Item = Self::Item>, + Self: Sized,

Adapter for chaining two streams. Read more
§

fn peekable(self) -> Peekable<Self>
where + Self: Sized,

Creates a new stream which exposes a peek method. Read more
§

fn chunks(self, capacity: usize) -> Chunks<Self>
where + Self: Sized,

An adaptor for chunking up items of the stream inside a vector. Read more
§

fn ready_chunks(self, capacity: usize) -> ReadyChunks<Self>
where + Self: Sized,

An adaptor for chunking up ready items of the stream inside a vector. Read more
§

fn forward<S>(self, sink: S) -> Forward<Self, S>
where + S: Sink<Self::Ok, Error = Self::Error>, + Self: Sized + TryStream,

A future that completes after the given stream has been fully processed +into the sink and the sink has been flushed and closed. Read more
§

fn split<Item>(self) -> (SplitSink<Self, Item>, SplitStream<Self>)
where + Self: Sized + Sink<Item>,

Splits this Stream + Sink object into separate Sink and Stream +objects. Read more
§

fn inspect<F>(self, f: F) -> Inspect<Self, F>
where + F: FnMut(&Self::Item), + Self: Sized,

Do something with each item of this stream, afterwards passing it on. Read more
§

fn left_stream<B>(self) -> Either<Self, B>
where + B: Stream<Item = Self::Item>, + Self: Sized,

Wrap this stream in an Either stream, making it the left-hand variant +of that Either. Read more
§

fn right_stream<B>(self) -> Either<B, Self>
where + B: Stream<Item = Self::Item>, + Self: Sized,

Wrap this stream in an Either stream, making it the right-hand variant +of that Either. Read more
§

fn poll_next_unpin(&mut self, cx: &mut Context<'_>) -> Poll<Option<Self::Item>>
where + Self: Unpin,

A convenience method for calling [Stream::poll_next] on Unpin +stream types.
§

fn select_next_some(&mut self) -> SelectNextSome<'_, Self>
where + Self: Unpin + FusedStream,

Returns a Future that resolves when the next item in this stream is +ready. Read more
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<S, T, E> TryStream for S
where + S: Stream<Item = Result<T, E>> + ?Sized,

§

type Ok = T

The type of successful values yielded by this future
§

type Error = E

The type of failures yielded by this future
§

fn try_poll_next( + self: Pin<&mut S>, + cx: &mut Context<'_>, +) -> Poll<Option<Result<<S as TryStream>::Ok, <S as TryStream>::Error>>>

Poll this TryStream as if it were a Stream. Read more
§

impl<S> TryStreamExt for S
where + S: TryStream + ?Sized,

§

fn err_into<E>(self) -> ErrInto<Self, E>
where + Self: Sized, + Self::Error: Into<E>,

Wraps the current stream in a new stream which converts the error type +into the one provided. Read more
§

fn map_ok<T, F>(self, f: F) -> MapOk<Self, F>
where + Self: Sized, + F: FnMut(Self::Ok) -> T,

Wraps the current stream in a new stream which maps the success value +using the provided closure. Read more
§

fn map_err<E, F>(self, f: F) -> MapErr<Self, F>
where + Self: Sized, + F: FnMut(Self::Error) -> E,

Wraps the current stream in a new stream which maps the error value +using the provided closure. Read more
§

fn and_then<Fut, F>(self, f: F) -> AndThen<Self, Fut, F>
where + F: FnMut(Self::Ok) -> Fut, + Fut: TryFuture<Error = Self::Error>, + Self: Sized,

Chain on a computation for when a value is ready, passing the successful +results to the provided closure f. Read more
§

fn or_else<Fut, F>(self, f: F) -> OrElse<Self, Fut, F>
where + F: FnMut(Self::Error) -> Fut, + Fut: TryFuture<Ok = Self::Ok>, + Self: Sized,

Chain on a computation for when an error happens, passing the +erroneous result to the provided closure f. Read more
§

fn inspect_ok<F>(self, f: F) -> InspectOk<Self, F>
where + F: FnMut(&Self::Ok), + Self: Sized,

Do something with the success value of this stream, afterwards passing +it on. Read more
§

fn inspect_err<F>(self, f: F) -> InspectErr<Self, F>
where + F: FnMut(&Self::Error), + Self: Sized,

Do something with the error value of this stream, afterwards passing it on. Read more
§

fn into_stream(self) -> IntoStream<Self>
where + Self: Sized,

Wraps a [TryStream] into a type that implements +Stream Read more
§

fn try_next(&mut self) -> TryNext<'_, Self>
where + Self: Unpin,

Creates a future that attempts to resolve the next item in the stream. +If an error is encountered before the next item, the error is returned +instead. Read more
§

fn try_for_each<Fut, F>(self, f: F) -> TryForEach<Self, Fut, F>
where + F: FnMut(Self::Ok) -> Fut, + Fut: TryFuture<Ok = (), Error = Self::Error>, + Self: Sized,

Attempts to run this stream to completion, executing the provided +asynchronous closure for each element on the stream. Read more
§

fn try_skip_while<Fut, F>(self, f: F) -> TrySkipWhile<Self, Fut, F>
where + F: FnMut(&Self::Ok) -> Fut, + Fut: TryFuture<Ok = bool, Error = Self::Error>, + Self: Sized,

Skip elements on this stream while the provided asynchronous predicate +resolves to true. Read more
§

fn try_take_while<Fut, F>(self, f: F) -> TryTakeWhile<Self, Fut, F>
where + F: FnMut(&Self::Ok) -> Fut, + Fut: TryFuture<Ok = bool, Error = Self::Error>, + Self: Sized,

Take elements on this stream while the provided asynchronous predicate +resolves to true. Read more
§

fn try_for_each_concurrent<Fut, F>( + self, + limit: impl Into<Option<usize>>, + f: F, +) -> TryForEachConcurrent<Self, Fut, F>
where + F: FnMut(Self::Ok) -> Fut, + Fut: Future<Output = Result<(), Self::Error>>, + Self: Sized,

Attempts to run this stream to completion, executing the provided asynchronous +closure for each element on the stream concurrently as elements become +available, exiting as soon as an error occurs. Read more
§

fn try_collect<C>(self) -> TryCollect<Self, C>
where + C: Default + Extend<Self::Ok>, + Self: Sized,

Attempt to transform a stream into a collection, +returning a future representing the result of that computation. Read more
§

fn try_chunks(self, capacity: usize) -> TryChunks<Self>
where + Self: Sized,

An adaptor for chunking up successful items of the stream inside a vector. Read more
§

fn try_ready_chunks(self, capacity: usize) -> TryReadyChunks<Self>
where + Self: Sized,

An adaptor for chunking up successful, ready items of the stream inside a vector. Read more
§

fn try_filter<Fut, F>(self, f: F) -> TryFilter<Self, Fut, F>
where + Fut: Future<Output = bool>, + F: FnMut(&Self::Ok) -> Fut, + Self: Sized,

Attempt to filter the values produced by this stream according to the +provided asynchronous closure. Read more
§

fn try_filter_map<Fut, F, T>(self, f: F) -> TryFilterMap<Self, Fut, F>
where + Fut: TryFuture<Ok = Option<T>, Error = Self::Error>, + F: FnMut(Self::Ok) -> Fut, + Self: Sized,

Attempt to filter the values produced by this stream while +simultaneously mapping them to a different type according to the +provided asynchronous closure. Read more
§

fn try_flatten_unordered( + self, + limit: impl Into<Option<usize>>, +) -> TryFlattenUnordered<Self>
where + Self::Ok: TryStream + Unpin, + <Self::Ok as TryStream>::Error: From<Self::Error>, + Self: Sized,

Flattens a stream of streams into just one continuous stream. Produced streams +will be polled concurrently and any errors will be passed through without looking at them. +If the underlying base stream returns an error, it will be immediately propagated. Read more
§

fn try_flatten(self) -> TryFlatten<Self>
where + Self::Ok: TryStream, + <Self::Ok as TryStream>::Error: From<Self::Error>, + Self: Sized,

Flattens a stream of streams into just one continuous stream. Read more
§

fn try_fold<T, Fut, F>(self, init: T, f: F) -> TryFold<Self, Fut, T, F>
where + F: FnMut(T, Self::Ok) -> Fut, + Fut: TryFuture<Ok = T, Error = Self::Error>, + Self: Sized,

Attempt to execute an accumulating asynchronous computation over a +stream, collecting all the values into one final result. Read more
§

fn try_concat(self) -> TryConcat<Self>
where + Self: Sized, + Self::Ok: Extend<<Self::Ok as IntoIterator>::Item> + IntoIterator + Default,

Attempt to concatenate all items of a stream into a single +extendable destination, returning a future representing the end result. Read more
§

fn try_buffer_unordered(self, n: usize) -> TryBufferUnordered<Self>
where + Self::Ok: TryFuture<Error = Self::Error>, + Self: Sized,

Attempt to execute several futures from a stream concurrently (unordered). Read more
§

fn try_buffered(self, n: usize) -> TryBuffered<Self>
where + Self::Ok: TryFuture<Error = Self::Error>, + Self: Sized,

Attempt to execute several futures from a stream concurrently. Read more
§

fn try_poll_next_unpin( + &mut self, + cx: &mut Context<'_>, +) -> Poll<Option<Result<Self::Ok, Self::Error>>>
where + Self: Unpin,

A convenience method for calling [TryStream::try_poll_next] on Unpin +stream types.
§

fn into_async_read(self) -> IntoAsyncRead<Self>
where + Self: Sized + TryStreamExt<Error = Error>, + Self::Ok: AsRef<[u8]>,

Adapter that converts this stream into an AsyncBufRead. Read more
§

fn try_all<Fut, F>(self, f: F) -> TryAll<Self, Fut, F>
where + Self: Sized, + F: FnMut(Self::Ok) -> Fut, + Fut: Future<Output = bool>,

Attempt to execute a predicate over an asynchronous stream and evaluate if all items +satisfy the predicate. Exits early if an Err is encountered or if an Ok item is found +that does not satisfy the predicate. Read more
§

fn try_any<Fut, F>(self, f: F) -> TryAny<Self, Fut, F>
where + Self: Sized, + F: FnMut(Self::Ok) -> Fut, + Fut: Future<Output = bool>,

Attempt to execute a predicate over an asynchronous stream and evaluate if any items +satisfy the predicate. Exits early if an Err is encountered or if an Ok item is found +that satisfies the predicate. Read more
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/index.html b/client_sdk/index.html new file mode 100644 index 000000000..02ed20747 --- /dev/null +++ b/client_sdk/index.html @@ -0,0 +1,2 @@ +client_sdk - Rust

Crate client_sdk

source ·
Expand description

Lantern Chat Client SDK

+

Re-exports§

Modules§

Macros§

  • Constructs a Permissions set from a list of permissions by name.

Structs§

  • Snowflake Identifier as used in Lantern Chat.
\ No newline at end of file diff --git a/client_sdk/macro.perms!.html b/client_sdk/macro.perms!.html new file mode 100644 index 000000000..becedbc1c --- /dev/null +++ b/client_sdk/macro.perms!.html @@ -0,0 +1,11 @@ + + + + + Redirection + + +

Redirecting to macro.perms.html...

+ + + \ No newline at end of file diff --git a/client_sdk/macro.perms.html b/client_sdk/macro.perms.html new file mode 100644 index 000000000..11aeb8ed7 --- /dev/null +++ b/client_sdk/macro.perms.html @@ -0,0 +1,8 @@ +perms in client_sdk - Rust

Macro client_sdk::perms

source ·
macro_rules! perms {
+    () => { ... };
+    ($perm:ident $(| $rperm:ident)*) => { ... };
+}
Expand description

Constructs a Permissions set from a list of permissions by name.

+

Can be used in const contexts.

+

§Example

+
let perms = perms!(MANAGE_ROOMS | MANAGE_ROLES);
+
\ No newline at end of file diff --git a/client_sdk/models/aliases/index.html b/client_sdk/models/aliases/index.html new file mode 100644 index 000000000..d0095c3af --- /dev/null +++ b/client_sdk/models/aliases/index.html @@ -0,0 +1,2 @@ +client_sdk::models::aliases - Rust

Module client_sdk::models::aliases

source ·
Expand description

Defines Snowflake aliases to easier keep track of what ID is for what.

+

Type Aliases§

\ No newline at end of file diff --git a/client_sdk/models/aliases/sidebar-items.js b/client_sdk/models/aliases/sidebar-items.js new file mode 100644 index 000000000..528c084a2 --- /dev/null +++ b/client_sdk/models/aliases/sidebar-items.js @@ -0,0 +1 @@ +window.SIDEBAR_ITEMS = {"type":["ArchivedEmoteId","ArchivedFileId","ArchivedFolderId","ArchivedInviteId","ArchivedMessageId","ArchivedPartyId","ArchivedRoleId","ArchivedRoomId","ArchivedThreadId","ArchivedUserId","EmoteId","FileId","FolderId","InviteId","MessageId","PartyId","RoleId","RoomId","ThreadId","UserId"]}; \ No newline at end of file diff --git a/client_sdk/models/aliases/type.ArchivedEmoteId.html b/client_sdk/models/aliases/type.ArchivedEmoteId.html new file mode 100644 index 000000000..402fc7eb0 --- /dev/null +++ b/client_sdk/models/aliases/type.ArchivedEmoteId.html @@ -0,0 +1,2 @@ +ArchivedEmoteId in client_sdk::models::aliases - Rust

Type Alias client_sdk::models::aliases::ArchivedEmoteId

source ·
pub type ArchivedEmoteId = Archived<Snowflake>;
Expand description

Archived version of EmoteId

+
\ No newline at end of file diff --git a/client_sdk/models/aliases/type.ArchivedFileId.html b/client_sdk/models/aliases/type.ArchivedFileId.html new file mode 100644 index 000000000..fad9558e1 --- /dev/null +++ b/client_sdk/models/aliases/type.ArchivedFileId.html @@ -0,0 +1,2 @@ +ArchivedFileId in client_sdk::models::aliases - Rust

Type Alias client_sdk::models::aliases::ArchivedFileId

source ·
pub type ArchivedFileId = Archived<Snowflake>;
Expand description

Archived version of FileId

+
\ No newline at end of file diff --git a/client_sdk/models/aliases/type.ArchivedFolderId.html b/client_sdk/models/aliases/type.ArchivedFolderId.html new file mode 100644 index 000000000..a66817ef2 --- /dev/null +++ b/client_sdk/models/aliases/type.ArchivedFolderId.html @@ -0,0 +1,2 @@ +ArchivedFolderId in client_sdk::models::aliases - Rust

Type Alias client_sdk::models::aliases::ArchivedFolderId

source ·
pub type ArchivedFolderId = Archived<Snowflake>;
Expand description

Archived version of FolderId

+
\ No newline at end of file diff --git a/client_sdk/models/aliases/type.ArchivedInviteId.html b/client_sdk/models/aliases/type.ArchivedInviteId.html new file mode 100644 index 000000000..d6b90ae38 --- /dev/null +++ b/client_sdk/models/aliases/type.ArchivedInviteId.html @@ -0,0 +1,2 @@ +ArchivedInviteId in client_sdk::models::aliases - Rust

Type Alias client_sdk::models::aliases::ArchivedInviteId

source ·
pub type ArchivedInviteId = Archived<Snowflake>;
Expand description

Archived version of InviteId

+
\ No newline at end of file diff --git a/client_sdk/models/aliases/type.ArchivedMessageId.html b/client_sdk/models/aliases/type.ArchivedMessageId.html new file mode 100644 index 000000000..1b2ef5641 --- /dev/null +++ b/client_sdk/models/aliases/type.ArchivedMessageId.html @@ -0,0 +1,2 @@ +ArchivedMessageId in client_sdk::models::aliases - Rust

Type Alias client_sdk::models::aliases::ArchivedMessageId

source ·
pub type ArchivedMessageId = Archived<Snowflake>;
Expand description

Archived version of MessageId

+
\ No newline at end of file diff --git a/client_sdk/models/aliases/type.ArchivedPartyId.html b/client_sdk/models/aliases/type.ArchivedPartyId.html new file mode 100644 index 000000000..947b8546e --- /dev/null +++ b/client_sdk/models/aliases/type.ArchivedPartyId.html @@ -0,0 +1,2 @@ +ArchivedPartyId in client_sdk::models::aliases - Rust

Type Alias client_sdk::models::aliases::ArchivedPartyId

source ·
pub type ArchivedPartyId = Archived<Snowflake>;
Expand description

Archived version of PartyId

+
\ No newline at end of file diff --git a/client_sdk/models/aliases/type.ArchivedRoleId.html b/client_sdk/models/aliases/type.ArchivedRoleId.html new file mode 100644 index 000000000..3824ea80a --- /dev/null +++ b/client_sdk/models/aliases/type.ArchivedRoleId.html @@ -0,0 +1,2 @@ +ArchivedRoleId in client_sdk::models::aliases - Rust

Type Alias client_sdk::models::aliases::ArchivedRoleId

source ·
pub type ArchivedRoleId = Archived<Snowflake>;
Expand description

Archived version of RoleId

+
\ No newline at end of file diff --git a/client_sdk/models/aliases/type.ArchivedRoomId.html b/client_sdk/models/aliases/type.ArchivedRoomId.html new file mode 100644 index 000000000..492060d28 --- /dev/null +++ b/client_sdk/models/aliases/type.ArchivedRoomId.html @@ -0,0 +1,2 @@ +ArchivedRoomId in client_sdk::models::aliases - Rust

Type Alias client_sdk::models::aliases::ArchivedRoomId

source ·
pub type ArchivedRoomId = Archived<Snowflake>;
Expand description

Archived version of RoomId

+
\ No newline at end of file diff --git a/client_sdk/models/aliases/type.ArchivedThreadId.html b/client_sdk/models/aliases/type.ArchivedThreadId.html new file mode 100644 index 000000000..9083a3d2c --- /dev/null +++ b/client_sdk/models/aliases/type.ArchivedThreadId.html @@ -0,0 +1,2 @@ +ArchivedThreadId in client_sdk::models::aliases - Rust

Type Alias client_sdk::models::aliases::ArchivedThreadId

source ·
pub type ArchivedThreadId = Archived<Snowflake>;
Expand description

Archived version of ThreadId

+
\ No newline at end of file diff --git a/client_sdk/models/aliases/type.ArchivedUserId.html b/client_sdk/models/aliases/type.ArchivedUserId.html new file mode 100644 index 000000000..b2e3372c0 --- /dev/null +++ b/client_sdk/models/aliases/type.ArchivedUserId.html @@ -0,0 +1,2 @@ +ArchivedUserId in client_sdk::models::aliases - Rust

Type Alias client_sdk::models::aliases::ArchivedUserId

source ·
pub type ArchivedUserId = Archived<Snowflake>;
Expand description

Archived version of UserId

+
\ No newline at end of file diff --git a/client_sdk/models/aliases/type.EmoteId.html b/client_sdk/models/aliases/type.EmoteId.html new file mode 100644 index 000000000..e2563df16 --- /dev/null +++ b/client_sdk/models/aliases/type.EmoteId.html @@ -0,0 +1,2 @@ +EmoteId in client_sdk::models::aliases - Rust

Type Alias client_sdk::models::aliases::EmoteId

source ·
pub type EmoteId = Snowflake;
Expand description

Snowflake ID for a Custom Emote

+

Aliased Type§

struct EmoteId(pub NonZero<u64>);

Fields§

§0: NonZero<u64>
\ No newline at end of file diff --git a/client_sdk/models/aliases/type.FileId.html b/client_sdk/models/aliases/type.FileId.html new file mode 100644 index 000000000..cabce10a0 --- /dev/null +++ b/client_sdk/models/aliases/type.FileId.html @@ -0,0 +1,2 @@ +FileId in client_sdk::models::aliases - Rust

Type Alias client_sdk::models::aliases::FileId

source ·
pub type FileId = Snowflake;
Expand description

Snowflake ID for a File

+

Aliased Type§

struct FileId(pub NonZero<u64>);

Fields§

§0: NonZero<u64>
\ No newline at end of file diff --git a/client_sdk/models/aliases/type.FolderId.html b/client_sdk/models/aliases/type.FolderId.html new file mode 100644 index 000000000..9b679a74c --- /dev/null +++ b/client_sdk/models/aliases/type.FolderId.html @@ -0,0 +1,2 @@ +FolderId in client_sdk::models::aliases - Rust

Type Alias client_sdk::models::aliases::FolderId

source ·
pub type FolderId = Snowflake;
Expand description

Snowflake ID for a Pin Folder

+

Aliased Type§

struct FolderId(pub NonZero<u64>);

Fields§

§0: NonZero<u64>
\ No newline at end of file diff --git a/client_sdk/models/aliases/type.InviteId.html b/client_sdk/models/aliases/type.InviteId.html new file mode 100644 index 000000000..3310421bb --- /dev/null +++ b/client_sdk/models/aliases/type.InviteId.html @@ -0,0 +1,2 @@ +InviteId in client_sdk::models::aliases - Rust

Type Alias client_sdk::models::aliases::InviteId

source ·
pub type InviteId = Snowflake;
Expand description

Snowflake ID for an party Invite

+

Aliased Type§

struct InviteId(pub NonZero<u64>);

Fields§

§0: NonZero<u64>
\ No newline at end of file diff --git a/client_sdk/models/aliases/type.MessageId.html b/client_sdk/models/aliases/type.MessageId.html new file mode 100644 index 000000000..814af28e6 --- /dev/null +++ b/client_sdk/models/aliases/type.MessageId.html @@ -0,0 +1,2 @@ +MessageId in client_sdk::models::aliases - Rust

Type Alias client_sdk::models::aliases::MessageId

source ·
pub type MessageId = Snowflake;
Expand description

Snowflake ID for a Message

+

Aliased Type§

struct MessageId(pub NonZero<u64>);

Fields§

§0: NonZero<u64>
\ No newline at end of file diff --git a/client_sdk/models/aliases/type.PartyId.html b/client_sdk/models/aliases/type.PartyId.html new file mode 100644 index 000000000..1784e8d01 --- /dev/null +++ b/client_sdk/models/aliases/type.PartyId.html @@ -0,0 +1,2 @@ +PartyId in client_sdk::models::aliases - Rust

Type Alias client_sdk::models::aliases::PartyId

source ·
pub type PartyId = Snowflake;
Expand description

Snowflake ID for a Party

+

Aliased Type§

struct PartyId(pub NonZero<u64>);

Fields§

§0: NonZero<u64>
\ No newline at end of file diff --git a/client_sdk/models/aliases/type.RoleId.html b/client_sdk/models/aliases/type.RoleId.html new file mode 100644 index 000000000..197fcf8d7 --- /dev/null +++ b/client_sdk/models/aliases/type.RoleId.html @@ -0,0 +1,2 @@ +RoleId in client_sdk::models::aliases - Rust

Type Alias client_sdk::models::aliases::RoleId

source ·
pub type RoleId = Snowflake;
Expand description

Snowflake ID for a Role

+

Aliased Type§

struct RoleId(pub NonZero<u64>);

Fields§

§0: NonZero<u64>
\ No newline at end of file diff --git a/client_sdk/models/aliases/type.RoomId.html b/client_sdk/models/aliases/type.RoomId.html new file mode 100644 index 000000000..a223c95c8 --- /dev/null +++ b/client_sdk/models/aliases/type.RoomId.html @@ -0,0 +1,2 @@ +RoomId in client_sdk::models::aliases - Rust

Type Alias client_sdk::models::aliases::RoomId

source ·
pub type RoomId = Snowflake;
Expand description

Snowflake ID for a Room

+

Aliased Type§

struct RoomId(pub NonZero<u64>);

Fields§

§0: NonZero<u64>
\ No newline at end of file diff --git a/client_sdk/models/aliases/type.ThreadId.html b/client_sdk/models/aliases/type.ThreadId.html new file mode 100644 index 000000000..f5efb1a74 --- /dev/null +++ b/client_sdk/models/aliases/type.ThreadId.html @@ -0,0 +1,2 @@ +ThreadId in client_sdk::models::aliases - Rust

Type Alias client_sdk::models::aliases::ThreadId

source ·
pub type ThreadId = Snowflake;
Expand description

Snowflake ID for a message Thread

+

Aliased Type§

struct ThreadId(pub NonZero<u64>);

Fields§

§0: NonZero<u64>
\ No newline at end of file diff --git a/client_sdk/models/aliases/type.UserId.html b/client_sdk/models/aliases/type.UserId.html new file mode 100644 index 000000000..713d421f7 --- /dev/null +++ b/client_sdk/models/aliases/type.UserId.html @@ -0,0 +1,2 @@ +UserId in client_sdk::models::aliases - Rust

Type Alias client_sdk::models::aliases::UserId

source ·
pub type UserId = Snowflake;
Expand description

Snowflake ID for a User

+

Aliased Type§

struct UserId(pub NonZero<u64>);

Fields§

§0: NonZero<u64>
\ No newline at end of file diff --git a/client_sdk/models/asset/index.html b/client_sdk/models/asset/index.html new file mode 100644 index 000000000..db234dd59 --- /dev/null +++ b/client_sdk/models/asset/index.html @@ -0,0 +1,4 @@ +client_sdk::models::asset - Rust

Module client_sdk::models::asset

source ·

Structs§

  • Archived version of AssetFlags, automatically made endian-agnostic. +When comparing with the native bitflags, the archived bitflags will truncate any extra bits.
  • NOTE: Formats are as individual bitflags (rather than some integer value) so we can do +simpler queries when matching valid formats. A user can select formats A, B and C, and testing for a match +can be done with a single bitwise-AND operation, rather than many comparisons or an IN ARRAY operation.
\ No newline at end of file diff --git a/client_sdk/models/asset/sidebar-items.js b/client_sdk/models/asset/sidebar-items.js new file mode 100644 index 000000000..2704bdc11 --- /dev/null +++ b/client_sdk/models/asset/sidebar-items.js @@ -0,0 +1 @@ +window.SIDEBAR_ITEMS = {"struct":["ArchivedAssetFlags","AssetFlags"]}; \ No newline at end of file diff --git a/client_sdk/models/asset/struct.ArchivedAssetFlags.html b/client_sdk/models/asset/struct.ArchivedAssetFlags.html new file mode 100644 index 000000000..4ec6ac01c --- /dev/null +++ b/client_sdk/models/asset/struct.ArchivedAssetFlags.html @@ -0,0 +1,71 @@ +ArchivedAssetFlags in client_sdk::models::asset - Rust

Struct client_sdk::models::asset::ArchivedAssetFlags

source ·
#[repr(transparent)]
pub struct ArchivedAssetFlags(pub Archived<i16>);
Expand description

Archived version of AssetFlags, automatically made endian-agnostic. +When comparing with the native bitflags, the archived bitflags will truncate any extra bits.

+

Tuple Fields§

§0: Archived<i16>

Implementations§

source§

impl ArchivedAssetFlags

source

pub const fn to_native(&self) -> Option<AssetFlags>

Converts this archived bitflags to the native bitflags type, returning None if any +bits are set that are not part of the bitflags.

+

See AssetFlags::from_bits for more information.

+
source

pub const fn to_native_truncate(&self) -> AssetFlags

Converts this archived bitflags to the native bitflags type, truncating any extra bits.

+

See AssetFlags::from_bits_truncate for more information.

+
source

pub const fn to_native_retain(&self) -> AssetFlags

Converts this archived bitflags to the native bitflags type, retaining all bits, even +if they are not part of the bitflags.

+

See AssetFlags::from_bits_retain for more information.

+
source

pub const fn from_native(native: AssetFlags) -> Self

Converts the native bitflags type to an archived bitflags.

+
source

pub const fn contains(&self, other: AssetFlags) -> bool

Check if the archived bitflags contains all the given bitflags.

+

See AssetFlags::contains for more information.

+
source

pub const fn intersects(&self, other: AssetFlags) -> bool

Check if the archived bitflags intersect with any of the given bitflags.

+

See AssetFlags::intersects for more information.

+
source

pub const fn is_empty(&self) -> bool

Whether all bits in this flags value are unset.

+
source

pub const fn is_all(&self) -> bool

Whether all known bits in this flags value are set.

+
source

pub const fn bits(&self) -> i16

Get the underlying raw bits value.

+

Note that this may contain bits that are not part of the original bitflags, +if serialized with a different version of the bitflags. Use to_native or +to_native_truncate to convert to the native bitflags type +without extra bits.

+

Trait Implementations§

source§

impl<C> CheckBytes<C> for ArchivedAssetFlags
where + C: Fallible + ?Sized, + <C as Fallible>::Error: Source,

source§

unsafe fn check_bytes( + value: *const Self, + ctx: &mut C, +) -> Result<(), <C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Clone for ArchivedAssetFlags

source§

fn clone(&self) -> ArchivedAssetFlags

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ArchivedAssetFlags

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<D: Fallible + ?Sized> Deserialize<AssetFlags, D> for ArchivedAssetFlags

source§

fn deserialize(&self, _: &mut D) -> Result<AssetFlags, D::Error>

Deserializes using the given deserializer
source§

impl From<ArchivedAssetFlags> for AssetFlags

source§

fn from(archived: ArchivedAssetFlags) -> Self

Converts to this type from the input type.
source§

impl PartialEq<ArchivedAssetFlags> for AssetFlags

source§

fn eq(&self, other: &ArchivedAssetFlags) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl PartialEq<AssetFlags> for ArchivedAssetFlags

source§

fn eq(&self, other: &AssetFlags) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl PartialEq for ArchivedAssetFlags

source§

fn eq(&self, other: &ArchivedAssetFlags) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl ToSql for ArchivedAssetFlags

source§

fn to_sql( + &self, + ty: &Type, + out: &mut BytesMut, +) -> Result<IsNull, Box<dyn Error + Sync + Send>>
where + Self: Sized,

Converts the value of self into the binary format of the specified +Postgres Type, appending it to out. Read more
source§

fn accepts(ty: &Type) -> bool

Determines if a value of this type can be converted to the specified +Postgres Type.
source§

fn to_sql_checked( + &self, + ty: &Type, + out: &mut BytesMut, +) -> Result<IsNull, Box<dyn Error + Sync + Send>>

An adaptor method used internally by Rust-Postgres. Read more
§

fn encode_format(&self, _ty: &Type) -> Format

Specify the encode format
source§

impl Copy for ArchivedAssetFlags

source§

impl Eq for ArchivedAssetFlags

source§

impl NoUndef for ArchivedAssetFlags

source§

impl Portable for ArchivedAssetFlags

source§

impl StructuralPartialEq for ArchivedAssetFlags

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> BorrowToSql for T
where + T: ToSql,

§

fn borrow_to_sql(&self) -> &dyn ToSql

Returns a reference to self as a ToSql trait object.
source§

impl<T> CloneToUninit for T
where + T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where + T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/asset/struct.AssetFlags.html b/client_sdk/models/asset/struct.AssetFlags.html new file mode 100644 index 000000000..749cf9670 --- /dev/null +++ b/client_sdk/models/asset/struct.AssetFlags.html @@ -0,0 +1,150 @@ +AssetFlags in client_sdk::models::asset - Rust

Struct client_sdk::models::asset::AssetFlags

source ·
pub struct AssetFlags(/* private fields */);
Expand description

NOTE: Formats are as individual bitflags (rather than some integer value) so we can do +simpler queries when matching valid formats. A user can select formats A, B and C, and testing for a match +can be done with a single bitwise-AND operation, rather than many comparisons or an IN ARRAY operation.

+

Implementations§

source§

impl AssetFlags

source

pub const QUALITY: Self = _

7-bit unsigned integer for quality from [0-128)

+

A quality value greater then 100 indicates some lossless encoding

+
source

pub const HAS_ALPHA: Self = _

Indicates if the encoded image has an alpha channel

+
source

pub const ANIMATED: Self = _

Indicates if the encoded image is animated

+
source

pub const FORMAT_PNG: Self = _

PNG format

+
source

pub const FORMAT_JPEG: Self = _

JPEG format

+
source

pub const FORMAT_GIF: Self = _

GIF format

+
source

pub const FORMAT_AVIF: Self = _

AVIF format

+
source

pub const FORMAT_WEBM: Self = _

WebM format

+
source

pub const FORMAT_JXL: Self = _

Jpeg XL format

+
source

pub const FORMATS: Self = _

All supported formats

+
source

pub const MAYBE_UNSUPPORTED_FORMATS: Self = _

These formats don’t have widespread support yet, so don’t include them by default

+
source

pub const FLAGS: Self = _

All qualifier flags

+
source

pub const FORMATS_AND_FLAGS: Self = _

All formats and flags

+
source§

impl AssetFlags

source

pub const fn empty() -> Self

Get a flags value with all bits unset.

+
source

pub const fn all() -> Self

Get a flags value with all known bits set.

+
source

pub const fn bits(&self) -> i16

Get the underlying bits value.

+

The returned value is exactly the bits set in this flags value.

+
source

pub const fn from_bits(bits: i16) -> Option<Self>

Convert from a bits value.

+

This method will return None if any unknown bits are set.

+
source

pub const fn from_bits_truncate(bits: i16) -> Self

Convert from a bits value, unsetting any unknown bits.

+
source

pub const fn from_bits_retain(bits: i16) -> Self

Convert from a bits value exactly.

+
source

pub fn from_name(name: &str) -> Option<Self>

Get a flags value with the bits of a flag with the given name set.

+

This method will return None if name is empty or doesn’t +correspond to any named flag.

+
source

pub const fn is_empty(&self) -> bool

Whether all bits in this flags value are unset.

+
source

pub const fn is_all(&self) -> bool

Whether all known bits in this flags value are set.

+
source

pub const fn intersects(&self, other: Self) -> bool

Whether any set bits in a source flags value are also set in a target flags value.

+
source

pub const fn contains(&self, other: Self) -> bool

Whether all set bits in a source flags value are also set in a target flags value.

+
source

pub fn insert(&mut self, other: Self)

The bitwise or (|) of the bits in two flags values.

+
source

pub fn remove(&mut self, other: Self)

The intersection of a source flags value with the complement of a target flags value (&!).

+

This method is not equivalent to self & !other when other has unknown bits set. +remove won’t truncate other, but the ! operator will.

+
source

pub fn toggle(&mut self, other: Self)

The bitwise exclusive-or (^) of the bits in two flags values.

+
source

pub fn set(&mut self, other: Self, value: bool)

Call insert when value is true or remove when value is false.

+
source

pub const fn intersection(self, other: Self) -> Self

The bitwise and (&) of the bits in two flags values.

+
source

pub const fn union(self, other: Self) -> Self

The bitwise or (|) of the bits in two flags values.

+
source

pub const fn difference(self, other: Self) -> Self

The intersection of a source flags value with the complement of a target flags value (&!).

+

This method is not equivalent to self & !other when other has unknown bits set. +difference won’t truncate other, but the ! operator will.

+
source

pub const fn symmetric_difference(self, other: Self) -> Self

The bitwise exclusive-or (^) of the bits in two flags values.

+
source

pub const fn complement(self) -> Self

The bitwise negation (!) of the bits in a flags value, truncating the result.

+
source§

impl AssetFlags

source

pub const fn iter(&self) -> Iter<AssetFlags>

Yield a set of contained flags values.

+

Each yielded flags value will correspond to a defined named flag. Any unknown bits +will be yielded together as a final flags value.

+
source

pub const fn iter_names(&self) -> IterNames<AssetFlags>

Yield a set of contained named flags values.

+

This method is like iter, except only yields bits in contained named flags. +Any unknown bits, or bits not corresponding to a contained flag will not be yielded.

+
source§

impl AssetFlags

source

pub const fn with_quality(self, q: u8) -> Self

Sets the quality of the asset, clamping to [0-128)

+
source

pub const fn with_alpha(&self, has_alpha: bool) -> Self

Sets the alpha channel flag

+
source

pub const fn quality(&self) -> u8

Gets the quality value from the asset flags

+
source

pub fn from_ext(ext: &str) -> Self

Constructs a new AssetFlags from the given extension

+

Trait Implementations§

source§

impl Archive for AssetFlags

source§

type Archived = ArchivedAssetFlags

The archived representation of this type. Read more
source§

type Resolver = ()

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

fn resolve(&self, _: (), out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
source§

impl Binary for AssetFlags

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl BitAnd for AssetFlags

source§

fn bitand(self, other: Self) -> Self

The bitwise and (&) of the bits in two flags values.

+
source§

type Output = AssetFlags

The resulting type after applying the & operator.
source§

impl BitAndAssign for AssetFlags

source§

fn bitand_assign(&mut self, other: Self)

The bitwise and (&) of the bits in two flags values.

+
source§

impl BitOr for AssetFlags

source§

fn bitor(self, other: AssetFlags) -> Self

The bitwise or (|) of the bits in two flags values.

+
source§

type Output = AssetFlags

The resulting type after applying the | operator.
source§

impl BitOrAssign for AssetFlags

source§

fn bitor_assign(&mut self, other: Self)

The bitwise or (|) of the bits in two flags values.

+
source§

impl BitXor for AssetFlags

source§

fn bitxor(self, other: Self) -> Self

The bitwise exclusive-or (^) of the bits in two flags values.

+
source§

type Output = AssetFlags

The resulting type after applying the ^ operator.
source§

impl BitXorAssign for AssetFlags

source§

fn bitxor_assign(&mut self, other: Self)

The bitwise exclusive-or (^) of the bits in two flags values.

+
source§

impl Clone for AssetFlags

source§

fn clone(&self) -> AssetFlags

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for AssetFlags

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for AssetFlags

source§

fn deserialize<D>(deserializer: D) -> Result<AssetFlags, D::Error>
where + D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl<D: Fallible + ?Sized> Deserialize<AssetFlags, D> for ArchivedAssetFlags

source§

fn deserialize(&self, _: &mut D) -> Result<AssetFlags, D::Error>

Deserializes using the given deserializer
source§

impl Extend<AssetFlags> for AssetFlags

source§

fn extend<T: IntoIterator<Item = Self>>(&mut self, iterator: T)

The bitwise or (|) of the bits in each flags value.

+
source§

fn extend_one(&mut self, item: A)

🔬This is a nightly-only experimental API. (extend_one)
Extends a collection with exactly one element.
source§

fn extend_reserve(&mut self, additional: usize)

🔬This is a nightly-only experimental API. (extend_one)
Reserves capacity in a collection for the given number of additional elements. Read more
source§

impl Flags for AssetFlags

source§

const FLAGS: &'static [Flag<AssetFlags>] = _

The set of defined flags.
source§

type Bits = i16

The underlying bits type.
source§

fn bits(&self) -> i16

Get the underlying bits value. Read more
source§

fn from_bits_retain(bits: i16) -> AssetFlags

Convert from a bits value exactly.
§

fn empty() -> Self

Get a flags value with all bits unset.
§

fn all() -> Self

Get a flags value with all known bits set.
§

fn from_bits(bits: Self::Bits) -> Option<Self>

Convert from a bits value. Read more
§

fn from_bits_truncate(bits: Self::Bits) -> Self

Convert from a bits value, unsetting any unknown bits.
§

fn from_name(name: &str) -> Option<Self>

Get a flags value with the bits of a flag with the given name set. Read more
§

fn iter(&self) -> Iter<Self>

Yield a set of contained flags values. Read more
§

fn iter_names(&self) -> IterNames<Self>

Yield a set of contained named flags values. Read more
§

fn is_empty(&self) -> bool

Whether all bits in this flags value are unset.
§

fn is_all(&self) -> bool

Whether all known bits in this flags value are set.
§

fn intersects(&self, other: Self) -> bool
where + Self: Sized,

Whether any set bits in a source flags value are also set in a target flags value.
§

fn contains(&self, other: Self) -> bool
where + Self: Sized,

Whether all set bits in a source flags value are also set in a target flags value.
§

fn insert(&mut self, other: Self)
where + Self: Sized,

The bitwise or (|) of the bits in two flags values.
§

fn remove(&mut self, other: Self)
where + Self: Sized,

The intersection of a source flags value with the complement of a target flags value (&!). Read more
§

fn toggle(&mut self, other: Self)
where + Self: Sized,

The bitwise exclusive-or (^) of the bits in two flags values.
§

fn set(&mut self, other: Self, value: bool)
where + Self: Sized,

Call [Flags::insert] when value is true or [Flags::remove] when value is false.
§

fn intersection(self, other: Self) -> Self

The bitwise and (&) of the bits in two flags values.
§

fn union(self, other: Self) -> Self

The bitwise or (|) of the bits in two flags values.
§

fn difference(self, other: Self) -> Self

The intersection of a source flags value with the complement of a target flags value (&!). Read more
§

fn symmetric_difference(self, other: Self) -> Self

The bitwise exclusive-or (^) of the bits in two flags values.
§

fn complement(self) -> Self

The bitwise negation (!) of the bits in a flags value, truncating the result.
source§

impl From<ArchivedAssetFlags> for AssetFlags

source§

fn from(archived: ArchivedAssetFlags) -> Self

Converts to this type from the input type.
source§

impl From<AssetFlags> for AssetQuery

source§

fn from(flags: AssetFlags) -> Self

Converts to this type from the input type.
source§

impl From<AssetQuery> for AssetFlags

source§

fn from(query: AssetQuery) -> Self

Converts to this type from the input type.
source§

impl FromIterator<AssetFlags> for AssetFlags

source§

fn from_iter<T: IntoIterator<Item = Self>>(iterator: T) -> Self

The bitwise or (|) of the bits in each flags value.

+
source§

impl<'a> FromSql<'a> for AssetFlags

source§

fn from_sql( + ty: &Type, + raw: &'a [u8], +) -> Result<Self, Box<dyn Error + Sync + Send>>

Creates a new value of this type from a buffer of data of the specified +Postgres Type in its binary format. Read more
source§

fn accepts(ty: &Type) -> bool

Determines if a value of this type can be created from the specified +Postgres Type.
§

fn from_sql_null(ty: &Type) -> Result<Self, Box<dyn Error + Sync + Send>>

Creates a new value of this type from a NULL SQL value. Read more
§

fn from_sql_nullable( + ty: &Type, + raw: Option<&'a [u8]>, +) -> Result<Self, Box<dyn Error + Sync + Send>>

A convenience function that delegates to from_sql and from_sql_null depending on the +value of raw.
source§

impl FromSql for AssetFlags

source§

fn column_result(value: ValueRef<'_>) -> FromSqlResult<Self>

Converts SQLite value into Rust value.
source§

impl Hash for AssetFlags

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where + H: Hasher, + Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl IntoIterator for AssetFlags

source§

type Item = AssetFlags

The type of the elements being iterated over.
source§

type IntoIter = Iter<AssetFlags>

Which kind of iterator are we turning this into?
source§

fn into_iter(self) -> Self::IntoIter

Creates an iterator from a value. Read more
source§

impl LowerHex for AssetFlags

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Not for AssetFlags

source§

fn not(self) -> Self

The bitwise negation (!) of the bits in a flags value, truncating the result.

+
source§

type Output = AssetFlags

The resulting type after applying the ! operator.
source§

impl Octal for AssetFlags

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl PartialEq<ArchivedAssetFlags> for AssetFlags

source§

fn eq(&self, other: &ArchivedAssetFlags) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl PartialEq<AssetFlags> for ArchivedAssetFlags

source§

fn eq(&self, other: &AssetFlags) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl PartialEq for AssetFlags

source§

fn eq(&self, other: &AssetFlags) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl PublicFlags for AssetFlags

source§

type Primitive = i16

The type of the underlying storage.
source§

type Internal = InternalBitFlags

The type of the internal field on the generated flags type.
source§

impl<S: Fallible + ?Sized> Serialize<S> for AssetFlags

source§

fn serialize(&self, _: &mut S) -> Result<(), S::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.
source§

impl Serialize for AssetFlags

source§

fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
where + S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Sub for AssetFlags

source§

fn sub(self, other: Self) -> Self

The intersection of a source flags value with the complement of a target flags value (&!).

+

This method is not equivalent to self & !other when other has unknown bits set. +difference won’t truncate other, but the ! operator will.

+
source§

type Output = AssetFlags

The resulting type after applying the - operator.
source§

impl SubAssign for AssetFlags

source§

fn sub_assign(&mut self, other: Self)

The intersection of a source flags value with the complement of a target flags value (&!).

+

This method is not equivalent to self & !other when other has unknown bits set. +difference won’t truncate other, but the ! operator will.

+
source§

impl ToSql for AssetFlags

source§

fn to_sql(&self) -> Result<ToSqlOutput<'_>>

Converts Rust value to SQLite value
source§

impl ToSql for AssetFlags

source§

fn to_sql( + &self, + ty: &Type, + out: &mut BytesMut, +) -> Result<IsNull, Box<dyn Error + Sync + Send>>
where + Self: Sized,

Converts the value of self into the binary format of the specified +Postgres Type, appending it to out. Read more
source§

fn accepts(ty: &Type) -> bool

Determines if a value of this type can be converted to the specified +Postgres Type.
source§

fn to_sql_checked( + &self, + ty: &Type, + out: &mut BytesMut, +) -> Result<IsNull, Box<dyn Error + Sync + Send>>

An adaptor method used internally by Rust-Postgres. Read more
§

fn encode_format(&self, _ty: &Type) -> Format

Specify the encode format
source§

impl UpperHex for AssetFlags

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Copy for AssetFlags

source§

impl Eq for AssetFlags

source§

impl StructuralPartialEq for AssetFlags

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> BorrowToSql for T
where + T: ToSql,

§

fn borrow_to_sql(&self) -> &dyn ToSql

Returns a reference to self as a ToSql trait object.
source§

impl<T> CloneToUninit for T
where + T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T> ToOwned for T
where + T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
source§

impl<T> CommandBody for T
where + T: Send + Serialize + Archive,

source§

impl<T> CommandResult for T
where + T: Send + DeserializeOwned + Serialize + Archive,

source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> FromSqlOwned for T
where + T: for<'a> FromSql<'a>,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/auth/enum.ArchivedAuthToken.html b/client_sdk/models/auth/enum.ArchivedAuthToken.html new file mode 100644 index 000000000..654621202 --- /dev/null +++ b/client_sdk/models/auth/enum.ArchivedAuthToken.html @@ -0,0 +1,41 @@ +ArchivedAuthToken in client_sdk::models::auth - Rust

Enum client_sdk::models::auth::ArchivedAuthToken

source ·
#[repr(u8)]
pub enum ArchivedAuthToken
where + BearerToken: Archive, + BotToken: Archive,
{ + Bearer(<BearerToken as Archive>::Archived), + Bot(<BotToken as Archive>::Archived), +}
Expand description

An archived AuthToken

+

Variants§

§

Bearer(<BearerToken as Archive>::Archived)

The archived counterpart of AuthToken::Bearer

+
§

Bot(<BotToken as Archive>::Archived)

The archived counterpart of AuthToken::Bot

+

Trait Implementations§

source§

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedAuthToken
where + BearerToken: Archive, + BotToken: Archive, + <__C as Fallible>::Error: Source, + <BearerToken as Archive>::Archived: CheckBytes<__C>, + <BotToken as Archive>::Archived: CheckBytes<__C>,

source§

unsafe fn check_bytes( + value: *const Self, + context: &mut __C, +) -> Result<(), <__C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Portable for ArchivedAuthToken
where + BearerToken: Archive, + BotToken: Archive, + <BearerToken as Archive>::Archived: Portable, + <BotToken as Archive>::Archived: Portable,

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/auth/enum.AuthToken.html b/client_sdk/models/auth/enum.AuthToken.html new file mode 100644 index 000000000..2ad008ee9 --- /dev/null +++ b/client_sdk/models/auth/enum.AuthToken.html @@ -0,0 +1,1302 @@ +AuthToken in client_sdk::models::auth - Rust

Enum client_sdk::models::auth::AuthToken

source ·
pub enum AuthToken {
+    Bearer(BearerToken),
+    Bot(BotToken),
+}
Expand description

Raw base64-encoded auth tokens for users and bots.

+

Variants§

§

Bearer(BearerToken)

Bearer token for users

+
§

Bot(BotToken)

Bot token for bots

+

Implementations§

source§

impl AuthToken

source

pub fn raw_header(&self) -> ArrayString<{ MAX_LENGTH }>

source

pub fn headervalue(&self) -> Result<HeaderValue, InvalidHeaderValue>

source

pub fn from_header(value: &str) -> Result<Self, InvalidAuthToken>

Methods from Deref<Target = str>§

1.0.0 · source

pub fn len(&self) -> usize

Returns the length of self.

+

This length is in bytes, not chars or graphemes. In other words, +it might not be what a human considers the length of the string.

+
§Examples
+
let len = "foo".len();
+assert_eq!(3, len);
+
+assert_eq!("ƒoo".len(), 4); // fancy f!
+assert_eq!("ƒoo".chars().count(), 3);
+
1.0.0 · source

pub fn is_empty(&self) -> bool

Returns true if self has a length of zero bytes.

+
§Examples
+
let s = "";
+assert!(s.is_empty());
+
+let s = "not empty";
+assert!(!s.is_empty());
+
1.9.0 · source

pub fn is_char_boundary(&self, index: usize) -> bool

Checks that index-th byte is the first byte in a UTF-8 code point +sequence or the end of the string.

+

The start and end of the string (when index == self.len()) are +considered to be boundaries.

+

Returns false if index is greater than self.len().

+
§Examples
+
let s = "Löwe 老虎 Léopard";
+assert!(s.is_char_boundary(0));
+// start of `老`
+assert!(s.is_char_boundary(6));
+assert!(s.is_char_boundary(s.len()));
+
+// second byte of `ö`
+assert!(!s.is_char_boundary(2));
+
+// third byte of `老`
+assert!(!s.is_char_boundary(8));
+
source

pub fn floor_char_boundary(&self, index: usize) -> usize

🔬This is a nightly-only experimental API. (round_char_boundary)

Finds the closest x not exceeding index where is_char_boundary(x) is true.

+

This method can help you truncate a string so that it’s still valid UTF-8, but doesn’t +exceed a given number of bytes. Note that this is done purely at the character level +and can still visually split graphemes, even though the underlying characters aren’t +split. For example, the emoji 🧑‍🔬 (scientist) could be split so that the string only +includes 🧑 (person) instead.

+
§Examples
+
#![feature(round_char_boundary)]
+let s = "❤️🧡💛💚💙💜";
+assert_eq!(s.len(), 26);
+assert!(!s.is_char_boundary(13));
+
+let closest = s.floor_char_boundary(13);
+assert_eq!(closest, 10);
+assert_eq!(&s[..closest], "❤️🧡");
+
source

pub fn ceil_char_boundary(&self, index: usize) -> usize

🔬This is a nightly-only experimental API. (round_char_boundary)

Finds the closest x not below index where is_char_boundary(x) is true.

+

If index is greater than the length of the string, this returns the length of the string.

+

This method is the natural complement to floor_char_boundary. See that method +for more details.

+
§Examples
+
#![feature(round_char_boundary)]
+let s = "❤️🧡💛💚💙💜";
+assert_eq!(s.len(), 26);
+assert!(!s.is_char_boundary(13));
+
+let closest = s.ceil_char_boundary(13);
+assert_eq!(closest, 14);
+assert_eq!(&s[..closest], "❤️🧡💛");
+
1.0.0 · source

pub fn as_bytes(&self) -> &[u8]

Converts a string slice to a byte slice. To convert the byte slice back +into a string slice, use the from_utf8 function.

+
§Examples
+
let bytes = "bors".as_bytes();
+assert_eq!(b"bors", bytes);
+
1.0.0 · source

pub fn as_ptr(&self) -> *const u8

Converts a string slice to a raw pointer.

+

As string slices are a slice of bytes, the raw pointer points to a +u8. This pointer will be pointing to the first byte of the string +slice.

+

The caller must ensure that the returned pointer is never written to. +If you need to mutate the contents of the string slice, use as_mut_ptr.

+
§Examples
+
let s = "Hello";
+let ptr = s.as_ptr();
+
1.20.0 · source

pub fn get<I>(&self, i: I) -> Option<&<I as SliceIndex<str>>::Output>
where + I: SliceIndex<str>,

Returns a subslice of str.

+

This is the non-panicking alternative to indexing the str. Returns +None whenever equivalent indexing operation would panic.

+
§Examples
+
let v = String::from("🗻∈🌏");
+
+assert_eq!(Some("🗻"), v.get(0..4));
+
+// indices not on UTF-8 sequence boundaries
+assert!(v.get(1..).is_none());
+assert!(v.get(..8).is_none());
+
+// out of bounds
+assert!(v.get(..42).is_none());
+
1.20.0 · source

pub unsafe fn get_unchecked<I>(&self, i: I) -> &<I as SliceIndex<str>>::Output
where + I: SliceIndex<str>,

Returns an unchecked subslice of str.

+

This is the unchecked alternative to indexing the str.

+
§Safety
+

Callers of this function are responsible that these preconditions are +satisfied:

+
    +
  • The starting index must not exceed the ending index;
  • +
  • Indexes must be within bounds of the original slice;
  • +
  • Indexes must lie on UTF-8 sequence boundaries.
  • +
+

Failing that, the returned string slice may reference invalid memory or +violate the invariants communicated by the str type.

+
§Examples
+
let v = "🗻∈🌏";
+unsafe {
+    assert_eq!("🗻", v.get_unchecked(0..4));
+    assert_eq!("∈", v.get_unchecked(4..7));
+    assert_eq!("🌏", v.get_unchecked(7..11));
+}
+
1.0.0 · source

pub unsafe fn slice_unchecked(&self, begin: usize, end: usize) -> &str

👎Deprecated since 1.29.0: use get_unchecked(begin..end) instead

Creates a string slice from another string slice, bypassing safety +checks.

+

This is generally not recommended, use with caution! For a safe +alternative see str and Index.

+

This new slice goes from begin to end, including begin but +excluding end.

+

To get a mutable string slice instead, see the +slice_mut_unchecked method.

+
§Safety
+

Callers of this function are responsible that three preconditions are +satisfied:

+
    +
  • begin must not exceed end.
  • +
  • begin and end must be byte positions within the string slice.
  • +
  • begin and end must lie on UTF-8 sequence boundaries.
  • +
+
§Examples
+
let s = "Löwe 老虎 Léopard";
+
+unsafe {
+    assert_eq!("Löwe 老虎 Léopard", s.slice_unchecked(0, 21));
+}
+
+let s = "Hello, world!";
+
+unsafe {
+    assert_eq!("world", s.slice_unchecked(7, 12));
+}
+
1.4.0 · source

pub fn split_at(&self, mid: usize) -> (&str, &str)

Divides one string slice into two at an index.

+

The argument, mid, should be a byte offset from the start of the +string. It must also be on the boundary of a UTF-8 code point.

+

The two slices returned go from the start of the string slice to mid, +and from mid to the end of the string slice.

+

To get mutable string slices instead, see the split_at_mut +method.

+
§Panics
+

Panics if mid is not on a UTF-8 code point boundary, or if it is past +the end of the last code point of the string slice. For a non-panicking +alternative see split_at_checked.

+
§Examples
+
let s = "Per Martin-Löf";
+
+let (first, last) = s.split_at(3);
+
+assert_eq!("Per", first);
+assert_eq!(" Martin-Löf", last);
+
1.80.0 · source

pub fn split_at_checked(&self, mid: usize) -> Option<(&str, &str)>

Divides one string slice into two at an index.

+

The argument, mid, should be a valid byte offset from the start of the +string. It must also be on the boundary of a UTF-8 code point. The +method returns None if that’s not the case.

+

The two slices returned go from the start of the string slice to mid, +and from mid to the end of the string slice.

+

To get mutable string slices instead, see the split_at_mut_checked +method.

+
§Examples
+
let s = "Per Martin-Löf";
+
+let (first, last) = s.split_at_checked(3).unwrap();
+assert_eq!("Per", first);
+assert_eq!(" Martin-Löf", last);
+
+assert_eq!(None, s.split_at_checked(13));  // Inside “ö”
+assert_eq!(None, s.split_at_checked(16));  // Beyond the string length
+
1.0.0 · source

pub fn chars(&self) -> Chars<'_>

Returns an iterator over the chars of a string slice.

+

As a string slice consists of valid UTF-8, we can iterate through a +string slice by char. This method returns such an iterator.

+

It’s important to remember that char represents a Unicode Scalar +Value, and might not match your idea of what a ‘character’ is. Iteration +over grapheme clusters may be what you actually want. This functionality +is not provided by Rust’s standard library, check crates.io instead.

+
§Examples
+

Basic usage:

+ +
let word = "goodbye";
+
+let count = word.chars().count();
+assert_eq!(7, count);
+
+let mut chars = word.chars();
+
+assert_eq!(Some('g'), chars.next());
+assert_eq!(Some('o'), chars.next());
+assert_eq!(Some('o'), chars.next());
+assert_eq!(Some('d'), chars.next());
+assert_eq!(Some('b'), chars.next());
+assert_eq!(Some('y'), chars.next());
+assert_eq!(Some('e'), chars.next());
+
+assert_eq!(None, chars.next());
+

Remember, chars might not match your intuition about characters:

+ +
let y = "y̆";
+
+let mut chars = y.chars();
+
+assert_eq!(Some('y'), chars.next()); // not 'y̆'
+assert_eq!(Some('\u{0306}'), chars.next());
+
+assert_eq!(None, chars.next());
+
1.0.0 · source

pub fn char_indices(&self) -> CharIndices<'_>

Returns an iterator over the chars of a string slice, and their +positions.

+

As a string slice consists of valid UTF-8, we can iterate through a +string slice by char. This method returns an iterator of both +these chars, as well as their byte positions.

+

The iterator yields tuples. The position is first, the char is +second.

+
§Examples
+

Basic usage:

+ +
let word = "goodbye";
+
+let count = word.char_indices().count();
+assert_eq!(7, count);
+
+let mut char_indices = word.char_indices();
+
+assert_eq!(Some((0, 'g')), char_indices.next());
+assert_eq!(Some((1, 'o')), char_indices.next());
+assert_eq!(Some((2, 'o')), char_indices.next());
+assert_eq!(Some((3, 'd')), char_indices.next());
+assert_eq!(Some((4, 'b')), char_indices.next());
+assert_eq!(Some((5, 'y')), char_indices.next());
+assert_eq!(Some((6, 'e')), char_indices.next());
+
+assert_eq!(None, char_indices.next());
+

Remember, chars might not match your intuition about characters:

+ +
let yes = "y̆es";
+
+let mut char_indices = yes.char_indices();
+
+assert_eq!(Some((0, 'y')), char_indices.next()); // not (0, 'y̆')
+assert_eq!(Some((1, '\u{0306}')), char_indices.next());
+
+// note the 3 here - the previous character took up two bytes
+assert_eq!(Some((3, 'e')), char_indices.next());
+assert_eq!(Some((4, 's')), char_indices.next());
+
+assert_eq!(None, char_indices.next());
+
1.0.0 · source

pub fn bytes(&self) -> Bytes<'_>

Returns an iterator over the bytes of a string slice.

+

As a string slice consists of a sequence of bytes, we can iterate +through a string slice by byte. This method returns such an iterator.

+
§Examples
+
let mut bytes = "bors".bytes();
+
+assert_eq!(Some(b'b'), bytes.next());
+assert_eq!(Some(b'o'), bytes.next());
+assert_eq!(Some(b'r'), bytes.next());
+assert_eq!(Some(b's'), bytes.next());
+
+assert_eq!(None, bytes.next());
+
1.1.0 · source

pub fn split_whitespace(&self) -> SplitWhitespace<'_>

Splits a string slice by whitespace.

+

The iterator returned will return string slices that are sub-slices of +the original string slice, separated by any amount of whitespace.

+

‘Whitespace’ is defined according to the terms of the Unicode Derived +Core Property White_Space. If you only want to split on ASCII whitespace +instead, use split_ascii_whitespace.

+
§Examples
+

Basic usage:

+ +
let mut iter = "A few words".split_whitespace();
+
+assert_eq!(Some("A"), iter.next());
+assert_eq!(Some("few"), iter.next());
+assert_eq!(Some("words"), iter.next());
+
+assert_eq!(None, iter.next());
+

All kinds of whitespace are considered:

+ +
let mut iter = " Mary   had\ta\u{2009}little  \n\t lamb".split_whitespace();
+assert_eq!(Some("Mary"), iter.next());
+assert_eq!(Some("had"), iter.next());
+assert_eq!(Some("a"), iter.next());
+assert_eq!(Some("little"), iter.next());
+assert_eq!(Some("lamb"), iter.next());
+
+assert_eq!(None, iter.next());
+

If the string is empty or all whitespace, the iterator yields no string slices:

+ +
assert_eq!("".split_whitespace().next(), None);
+assert_eq!("   ".split_whitespace().next(), None);
+
1.34.0 · source

pub fn split_ascii_whitespace(&self) -> SplitAsciiWhitespace<'_>

Splits a string slice by ASCII whitespace.

+

The iterator returned will return string slices that are sub-slices of +the original string slice, separated by any amount of ASCII whitespace.

+

To split by Unicode Whitespace instead, use split_whitespace.

+
§Examples
+

Basic usage:

+ +
let mut iter = "A few words".split_ascii_whitespace();
+
+assert_eq!(Some("A"), iter.next());
+assert_eq!(Some("few"), iter.next());
+assert_eq!(Some("words"), iter.next());
+
+assert_eq!(None, iter.next());
+

All kinds of ASCII whitespace are considered:

+ +
let mut iter = " Mary   had\ta little  \n\t lamb".split_ascii_whitespace();
+assert_eq!(Some("Mary"), iter.next());
+assert_eq!(Some("had"), iter.next());
+assert_eq!(Some("a"), iter.next());
+assert_eq!(Some("little"), iter.next());
+assert_eq!(Some("lamb"), iter.next());
+
+assert_eq!(None, iter.next());
+

If the string is empty or all ASCII whitespace, the iterator yields no string slices:

+ +
assert_eq!("".split_ascii_whitespace().next(), None);
+assert_eq!("   ".split_ascii_whitespace().next(), None);
+
1.0.0 · source

pub fn lines(&self) -> Lines<'_>

Returns an iterator over the lines of a string, as string slices.

+

Lines are split at line endings that are either newlines (\n) or +sequences of a carriage return followed by a line feed (\r\n).

+

Line terminators are not included in the lines returned by the iterator.

+

Note that any carriage return (\r) not immediately followed by a +line feed (\n) does not split a line. These carriage returns are +thereby included in the produced lines.

+

The final line ending is optional. A string that ends with a final line +ending will return the same lines as an otherwise identical string +without a final line ending.

+
§Examples
+

Basic usage:

+ +
let text = "foo\r\nbar\n\nbaz\r";
+let mut lines = text.lines();
+
+assert_eq!(Some("foo"), lines.next());
+assert_eq!(Some("bar"), lines.next());
+assert_eq!(Some(""), lines.next());
+// Trailing carriage return is included in the last line
+assert_eq!(Some("baz\r"), lines.next());
+
+assert_eq!(None, lines.next());
+

The final line does not require any ending:

+ +
let text = "foo\nbar\n\r\nbaz";
+let mut lines = text.lines();
+
+assert_eq!(Some("foo"), lines.next());
+assert_eq!(Some("bar"), lines.next());
+assert_eq!(Some(""), lines.next());
+assert_eq!(Some("baz"), lines.next());
+
+assert_eq!(None, lines.next());
+
1.0.0 · source

pub fn lines_any(&self) -> LinesAny<'_>

👎Deprecated since 1.4.0: use lines() instead now

Returns an iterator over the lines of a string.

+
1.8.0 · source

pub fn encode_utf16(&self) -> EncodeUtf16<'_>

Returns an iterator of u16 over the string encoded as UTF-16.

+
§Examples
+
let text = "Zażółć gęślą jaźń";
+
+let utf8_len = text.len();
+let utf16_len = text.encode_utf16().count();
+
+assert!(utf16_len <= utf8_len);
+
1.0.0 · source

pub fn contains<P>(&self, pat: P) -> bool
where + P: Pattern,

Returns true if the given pattern matches a sub-slice of +this string slice.

+

Returns false if it does not.

+

The pattern can be a &str, char, a slice of chars, or a +function or closure that determines if a character matches.

+
§Examples
+
let bananas = "bananas";
+
+assert!(bananas.contains("nana"));
+assert!(!bananas.contains("apples"));
+
1.0.0 · source

pub fn starts_with<P>(&self, pat: P) -> bool
where + P: Pattern,

Returns true if the given pattern matches a prefix of this +string slice.

+

Returns false if it does not.

+

The pattern can be a &str, in which case this function will return true if +the &str is a prefix of this string slice.

+

The pattern can also be a char, a slice of chars, or a +function or closure that determines if a character matches. +These will only be checked against the first character of this string slice. +Look at the second example below regarding behavior for slices of chars.

+
§Examples
+
let bananas = "bananas";
+
+assert!(bananas.starts_with("bana"));
+assert!(!bananas.starts_with("nana"));
+ +
let bananas = "bananas";
+
+// Note that both of these assert successfully.
+assert!(bananas.starts_with(&['b', 'a', 'n', 'a']));
+assert!(bananas.starts_with(&['a', 'b', 'c', 'd']));
+
1.0.0 · source

pub fn ends_with<P>(&self, pat: P) -> bool
where + P: Pattern, + <P as Pattern>::Searcher<'a>: for<'a> ReverseSearcher<'a>,

Returns true if the given pattern matches a suffix of this +string slice.

+

Returns false if it does not.

+

The pattern can be a &str, char, a slice of chars, or a +function or closure that determines if a character matches.

+
§Examples
+
let bananas = "bananas";
+
+assert!(bananas.ends_with("anas"));
+assert!(!bananas.ends_with("nana"));
+
1.0.0 · source

pub fn find<P>(&self, pat: P) -> Option<usize>
where + P: Pattern,

Returns the byte index of the first character of this string slice that +matches the pattern.

+

Returns None if the pattern doesn’t match.

+

The pattern can be a &str, char, a slice of chars, or a +function or closure that determines if a character matches.

+
§Examples
+

Simple patterns:

+ +
let s = "Löwe 老虎 Léopard Gepardi";
+
+assert_eq!(s.find('L'), Some(0));
+assert_eq!(s.find('é'), Some(14));
+assert_eq!(s.find("pard"), Some(17));
+

More complex patterns using point-free style and closures:

+ +
let s = "Löwe 老虎 Léopard";
+
+assert_eq!(s.find(char::is_whitespace), Some(5));
+assert_eq!(s.find(char::is_lowercase), Some(1));
+assert_eq!(s.find(|c: char| c.is_whitespace() || c.is_lowercase()), Some(1));
+assert_eq!(s.find(|c: char| (c < 'o') && (c > 'a')), Some(4));
+

Not finding the pattern:

+ +
let s = "Löwe 老虎 Léopard";
+let x: &[_] = &['1', '2'];
+
+assert_eq!(s.find(x), None);
+
1.0.0 · source

pub fn rfind<P>(&self, pat: P) -> Option<usize>
where + P: Pattern, + <P as Pattern>::Searcher<'a>: for<'a> ReverseSearcher<'a>,

Returns the byte index for the first character of the last match of the pattern in +this string slice.

+

Returns None if the pattern doesn’t match.

+

The pattern can be a &str, char, a slice of chars, or a +function or closure that determines if a character matches.

+
§Examples
+

Simple patterns:

+ +
let s = "Löwe 老虎 Léopard Gepardi";
+
+assert_eq!(s.rfind('L'), Some(13));
+assert_eq!(s.rfind('é'), Some(14));
+assert_eq!(s.rfind("pard"), Some(24));
+

More complex patterns with closures:

+ +
let s = "Löwe 老虎 Léopard";
+
+assert_eq!(s.rfind(char::is_whitespace), Some(12));
+assert_eq!(s.rfind(char::is_lowercase), Some(20));
+

Not finding the pattern:

+ +
let s = "Löwe 老虎 Léopard";
+let x: &[_] = &['1', '2'];
+
+assert_eq!(s.rfind(x), None);
+
1.0.0 · source

pub fn split<P>(&self, pat: P) -> Split<'_, P>
where + P: Pattern,

Returns an iterator over substrings of this string slice, separated by +characters matched by a pattern.

+

The pattern can be a &str, char, a slice of chars, or a +function or closure that determines if a character matches.

+
§Iterator behavior
+

The returned iterator will be a DoubleEndedIterator if the pattern +allows a reverse search and forward/reverse search yields the same +elements. This is true for, e.g., char, but not for &str.

+

If the pattern allows a reverse search but its results might differ +from a forward search, the rsplit method can be used.

+
§Examples
+

Simple patterns:

+ +
let v: Vec<&str> = "Mary had a little lamb".split(' ').collect();
+assert_eq!(v, ["Mary", "had", "a", "little", "lamb"]);
+
+let v: Vec<&str> = "".split('X').collect();
+assert_eq!(v, [""]);
+
+let v: Vec<&str> = "lionXXtigerXleopard".split('X').collect();
+assert_eq!(v, ["lion", "", "tiger", "leopard"]);
+
+let v: Vec<&str> = "lion::tiger::leopard".split("::").collect();
+assert_eq!(v, ["lion", "tiger", "leopard"]);
+
+let v: Vec<&str> = "abc1def2ghi".split(char::is_numeric).collect();
+assert_eq!(v, ["abc", "def", "ghi"]);
+
+let v: Vec<&str> = "lionXtigerXleopard".split(char::is_uppercase).collect();
+assert_eq!(v, ["lion", "tiger", "leopard"]);
+

If the pattern is a slice of chars, split on each occurrence of any of the characters:

+ +
let v: Vec<&str> = "2020-11-03 23:59".split(&['-', ' ', ':', '@'][..]).collect();
+assert_eq!(v, ["2020", "11", "03", "23", "59"]);
+

A more complex pattern, using a closure:

+ +
let v: Vec<&str> = "abc1defXghi".split(|c| c == '1' || c == 'X').collect();
+assert_eq!(v, ["abc", "def", "ghi"]);
+

If a string contains multiple contiguous separators, you will end up +with empty strings in the output:

+ +
let x = "||||a||b|c".to_string();
+let d: Vec<_> = x.split('|').collect();
+
+assert_eq!(d, &["", "", "", "", "a", "", "b", "c"]);
+

Contiguous separators are separated by the empty string.

+ +
let x = "(///)".to_string();
+let d: Vec<_> = x.split('/').collect();
+
+assert_eq!(d, &["(", "", "", ")"]);
+

Separators at the start or end of a string are neighbored +by empty strings.

+ +
let d: Vec<_> = "010".split("0").collect();
+assert_eq!(d, &["", "1", ""]);
+

When the empty string is used as a separator, it separates +every character in the string, along with the beginning +and end of the string.

+ +
let f: Vec<_> = "rust".split("").collect();
+assert_eq!(f, &["", "r", "u", "s", "t", ""]);
+

Contiguous separators can lead to possibly surprising behavior +when whitespace is used as the separator. This code is correct:

+ +
let x = "    a  b c".to_string();
+let d: Vec<_> = x.split(' ').collect();
+
+assert_eq!(d, &["", "", "", "", "a", "", "b", "c"]);
+

It does not give you:

+ +
assert_eq!(d, &["a", "b", "c"]);
+

Use split_whitespace for this behavior.

+
1.51.0 · source

pub fn split_inclusive<P>(&self, pat: P) -> SplitInclusive<'_, P>
where + P: Pattern,

Returns an iterator over substrings of this string slice, separated by +characters matched by a pattern.

+

Differs from the iterator produced by split in that split_inclusive +leaves the matched part as the terminator of the substring.

+

The pattern can be a &str, char, a slice of chars, or a +function or closure that determines if a character matches.

+
§Examples
+
let v: Vec<&str> = "Mary had a little lamb\nlittle lamb\nlittle lamb."
+    .split_inclusive('\n').collect();
+assert_eq!(v, ["Mary had a little lamb\n", "little lamb\n", "little lamb."]);
+

If the last element of the string is matched, +that element will be considered the terminator of the preceding substring. +That substring will be the last item returned by the iterator.

+ +
let v: Vec<&str> = "Mary had a little lamb\nlittle lamb\nlittle lamb.\n"
+    .split_inclusive('\n').collect();
+assert_eq!(v, ["Mary had a little lamb\n", "little lamb\n", "little lamb.\n"]);
+
1.0.0 · source

pub fn rsplit<P>(&self, pat: P) -> RSplit<'_, P>
where + P: Pattern, + <P as Pattern>::Searcher<'a>: for<'a> ReverseSearcher<'a>,

Returns an iterator over substrings of the given string slice, separated +by characters matched by a pattern and yielded in reverse order.

+

The pattern can be a &str, char, a slice of chars, or a +function or closure that determines if a character matches.

+
§Iterator behavior
+

The returned iterator requires that the pattern supports a reverse +search, and it will be a DoubleEndedIterator if a forward/reverse +search yields the same elements.

+

For iterating from the front, the split method can be used.

+
§Examples
+

Simple patterns:

+ +
let v: Vec<&str> = "Mary had a little lamb".rsplit(' ').collect();
+assert_eq!(v, ["lamb", "little", "a", "had", "Mary"]);
+
+let v: Vec<&str> = "".rsplit('X').collect();
+assert_eq!(v, [""]);
+
+let v: Vec<&str> = "lionXXtigerXleopard".rsplit('X').collect();
+assert_eq!(v, ["leopard", "tiger", "", "lion"]);
+
+let v: Vec<&str> = "lion::tiger::leopard".rsplit("::").collect();
+assert_eq!(v, ["leopard", "tiger", "lion"]);
+

A more complex pattern, using a closure:

+ +
let v: Vec<&str> = "abc1defXghi".rsplit(|c| c == '1' || c == 'X').collect();
+assert_eq!(v, ["ghi", "def", "abc"]);
+
1.0.0 · source

pub fn split_terminator<P>(&self, pat: P) -> SplitTerminator<'_, P>
where + P: Pattern,

Returns an iterator over substrings of the given string slice, separated +by characters matched by a pattern.

+

The pattern can be a &str, char, a slice of chars, or a +function or closure that determines if a character matches.

+

Equivalent to split, except that the trailing substring +is skipped if empty.

+

This method can be used for string data that is terminated, +rather than separated by a pattern.

+
§Iterator behavior
+

The returned iterator will be a DoubleEndedIterator if the pattern +allows a reverse search and forward/reverse search yields the same +elements. This is true for, e.g., char, but not for &str.

+

If the pattern allows a reverse search but its results might differ +from a forward search, the rsplit_terminator method can be used.

+
§Examples
+
let v: Vec<&str> = "A.B.".split_terminator('.').collect();
+assert_eq!(v, ["A", "B"]);
+
+let v: Vec<&str> = "A..B..".split_terminator(".").collect();
+assert_eq!(v, ["A", "", "B", ""]);
+
+let v: Vec<&str> = "A.B:C.D".split_terminator(&['.', ':'][..]).collect();
+assert_eq!(v, ["A", "B", "C", "D"]);
+
1.0.0 · source

pub fn rsplit_terminator<P>(&self, pat: P) -> RSplitTerminator<'_, P>
where + P: Pattern, + <P as Pattern>::Searcher<'a>: for<'a> ReverseSearcher<'a>,

Returns an iterator over substrings of self, separated by characters +matched by a pattern and yielded in reverse order.

+

The pattern can be a &str, char, a slice of chars, or a +function or closure that determines if a character matches.

+

Equivalent to split, except that the trailing substring is +skipped if empty.

+

This method can be used for string data that is terminated, +rather than separated by a pattern.

+
§Iterator behavior
+

The returned iterator requires that the pattern supports a +reverse search, and it will be double ended if a forward/reverse +search yields the same elements.

+

For iterating from the front, the split_terminator method can be +used.

+
§Examples
+
let v: Vec<&str> = "A.B.".rsplit_terminator('.').collect();
+assert_eq!(v, ["B", "A"]);
+
+let v: Vec<&str> = "A..B..".rsplit_terminator(".").collect();
+assert_eq!(v, ["", "B", "", "A"]);
+
+let v: Vec<&str> = "A.B:C.D".rsplit_terminator(&['.', ':'][..]).collect();
+assert_eq!(v, ["D", "C", "B", "A"]);
+
1.0.0 · source

pub fn splitn<P>(&self, n: usize, pat: P) -> SplitN<'_, P>
where + P: Pattern,

Returns an iterator over substrings of the given string slice, separated +by a pattern, restricted to returning at most n items.

+

If n substrings are returned, the last substring (the nth substring) +will contain the remainder of the string.

+

The pattern can be a &str, char, a slice of chars, or a +function or closure that determines if a character matches.

+
§Iterator behavior
+

The returned iterator will not be double ended, because it is +not efficient to support.

+

If the pattern allows a reverse search, the rsplitn method can be +used.

+
§Examples
+

Simple patterns:

+ +
let v: Vec<&str> = "Mary had a little lambda".splitn(3, ' ').collect();
+assert_eq!(v, ["Mary", "had", "a little lambda"]);
+
+let v: Vec<&str> = "lionXXtigerXleopard".splitn(3, "X").collect();
+assert_eq!(v, ["lion", "", "tigerXleopard"]);
+
+let v: Vec<&str> = "abcXdef".splitn(1, 'X').collect();
+assert_eq!(v, ["abcXdef"]);
+
+let v: Vec<&str> = "".splitn(1, 'X').collect();
+assert_eq!(v, [""]);
+

A more complex pattern, using a closure:

+ +
let v: Vec<&str> = "abc1defXghi".splitn(2, |c| c == '1' || c == 'X').collect();
+assert_eq!(v, ["abc", "defXghi"]);
+
1.0.0 · source

pub fn rsplitn<P>(&self, n: usize, pat: P) -> RSplitN<'_, P>
where + P: Pattern, + <P as Pattern>::Searcher<'a>: for<'a> ReverseSearcher<'a>,

Returns an iterator over substrings of this string slice, separated by a +pattern, starting from the end of the string, restricted to returning at +most n items.

+

If n substrings are returned, the last substring (the nth substring) +will contain the remainder of the string.

+

The pattern can be a &str, char, a slice of chars, or a +function or closure that determines if a character matches.

+
§Iterator behavior
+

The returned iterator will not be double ended, because it is not +efficient to support.

+

For splitting from the front, the splitn method can be used.

+
§Examples
+

Simple patterns:

+ +
let v: Vec<&str> = "Mary had a little lamb".rsplitn(3, ' ').collect();
+assert_eq!(v, ["lamb", "little", "Mary had a"]);
+
+let v: Vec<&str> = "lionXXtigerXleopard".rsplitn(3, 'X').collect();
+assert_eq!(v, ["leopard", "tiger", "lionX"]);
+
+let v: Vec<&str> = "lion::tiger::leopard".rsplitn(2, "::").collect();
+assert_eq!(v, ["leopard", "lion::tiger"]);
+

A more complex pattern, using a closure:

+ +
let v: Vec<&str> = "abc1defXghi".rsplitn(2, |c| c == '1' || c == 'X').collect();
+assert_eq!(v, ["ghi", "abc1def"]);
+
1.52.0 · source

pub fn split_once<P>(&self, delimiter: P) -> Option<(&str, &str)>
where + P: Pattern,

Splits the string on the first occurrence of the specified delimiter and +returns prefix before delimiter and suffix after delimiter.

+
§Examples
+
assert_eq!("cfg".split_once('='), None);
+assert_eq!("cfg=".split_once('='), Some(("cfg", "")));
+assert_eq!("cfg=foo".split_once('='), Some(("cfg", "foo")));
+assert_eq!("cfg=foo=bar".split_once('='), Some(("cfg", "foo=bar")));
+
1.52.0 · source

pub fn rsplit_once<P>(&self, delimiter: P) -> Option<(&str, &str)>
where + P: Pattern, + <P as Pattern>::Searcher<'a>: for<'a> ReverseSearcher<'a>,

Splits the string on the last occurrence of the specified delimiter and +returns prefix before delimiter and suffix after delimiter.

+
§Examples
+
assert_eq!("cfg".rsplit_once('='), None);
+assert_eq!("cfg=foo".rsplit_once('='), Some(("cfg", "foo")));
+assert_eq!("cfg=foo=bar".rsplit_once('='), Some(("cfg=foo", "bar")));
+
1.2.0 · source

pub fn matches<P>(&self, pat: P) -> Matches<'_, P>
where + P: Pattern,

Returns an iterator over the disjoint matches of a pattern within the +given string slice.

+

The pattern can be a &str, char, a slice of chars, or a +function or closure that determines if a character matches.

+
§Iterator behavior
+

The returned iterator will be a DoubleEndedIterator if the pattern +allows a reverse search and forward/reverse search yields the same +elements. This is true for, e.g., char, but not for &str.

+

If the pattern allows a reverse search but its results might differ +from a forward search, the rmatches method can be used.

+
§Examples
+
let v: Vec<&str> = "abcXXXabcYYYabc".matches("abc").collect();
+assert_eq!(v, ["abc", "abc", "abc"]);
+
+let v: Vec<&str> = "1abc2abc3".matches(char::is_numeric).collect();
+assert_eq!(v, ["1", "2", "3"]);
+
1.2.0 · source

pub fn rmatches<P>(&self, pat: P) -> RMatches<'_, P>
where + P: Pattern, + <P as Pattern>::Searcher<'a>: for<'a> ReverseSearcher<'a>,

Returns an iterator over the disjoint matches of a pattern within this +string slice, yielded in reverse order.

+

The pattern can be a &str, char, a slice of chars, or a +function or closure that determines if a character matches.

+
§Iterator behavior
+

The returned iterator requires that the pattern supports a reverse +search, and it will be a DoubleEndedIterator if a forward/reverse +search yields the same elements.

+

For iterating from the front, the matches method can be used.

+
§Examples
+
let v: Vec<&str> = "abcXXXabcYYYabc".rmatches("abc").collect();
+assert_eq!(v, ["abc", "abc", "abc"]);
+
+let v: Vec<&str> = "1abc2abc3".rmatches(char::is_numeric).collect();
+assert_eq!(v, ["3", "2", "1"]);
+
1.5.0 · source

pub fn match_indices<P>(&self, pat: P) -> MatchIndices<'_, P>
where + P: Pattern,

Returns an iterator over the disjoint matches of a pattern within this string +slice as well as the index that the match starts at.

+

For matches of pat within self that overlap, only the indices +corresponding to the first match are returned.

+

The pattern can be a &str, char, a slice of chars, or a +function or closure that determines if a character matches.

+
§Iterator behavior
+

The returned iterator will be a DoubleEndedIterator if the pattern +allows a reverse search and forward/reverse search yields the same +elements. This is true for, e.g., char, but not for &str.

+

If the pattern allows a reverse search but its results might differ +from a forward search, the rmatch_indices method can be used.

+
§Examples
+
let v: Vec<_> = "abcXXXabcYYYabc".match_indices("abc").collect();
+assert_eq!(v, [(0, "abc"), (6, "abc"), (12, "abc")]);
+
+let v: Vec<_> = "1abcabc2".match_indices("abc").collect();
+assert_eq!(v, [(1, "abc"), (4, "abc")]);
+
+let v: Vec<_> = "ababa".match_indices("aba").collect();
+assert_eq!(v, [(0, "aba")]); // only the first `aba`
+
1.5.0 · source

pub fn rmatch_indices<P>(&self, pat: P) -> RMatchIndices<'_, P>
where + P: Pattern, + <P as Pattern>::Searcher<'a>: for<'a> ReverseSearcher<'a>,

Returns an iterator over the disjoint matches of a pattern within self, +yielded in reverse order along with the index of the match.

+

For matches of pat within self that overlap, only the indices +corresponding to the last match are returned.

+

The pattern can be a &str, char, a slice of chars, or a +function or closure that determines if a character matches.

+
§Iterator behavior
+

The returned iterator requires that the pattern supports a reverse +search, and it will be a DoubleEndedIterator if a forward/reverse +search yields the same elements.

+

For iterating from the front, the match_indices method can be used.

+
§Examples
+
let v: Vec<_> = "abcXXXabcYYYabc".rmatch_indices("abc").collect();
+assert_eq!(v, [(12, "abc"), (6, "abc"), (0, "abc")]);
+
+let v: Vec<_> = "1abcabc2".rmatch_indices("abc").collect();
+assert_eq!(v, [(4, "abc"), (1, "abc")]);
+
+let v: Vec<_> = "ababa".rmatch_indices("aba").collect();
+assert_eq!(v, [(2, "aba")]); // only the last `aba`
+
1.0.0 · source

pub fn trim(&self) -> &str

Returns a string slice with leading and trailing whitespace removed.

+

‘Whitespace’ is defined according to the terms of the Unicode Derived +Core Property White_Space, which includes newlines.

+
§Examples
+
let s = "\n Hello\tworld\t\n";
+
+assert_eq!("Hello\tworld", s.trim());
+
1.30.0 · source

pub fn trim_start(&self) -> &str

Returns a string slice with leading whitespace removed.

+

‘Whitespace’ is defined according to the terms of the Unicode Derived +Core Property White_Space, which includes newlines.

+
§Text directionality
+

A string is a sequence of bytes. start in this context means the first +position of that byte string; for a left-to-right language like English or +Russian, this will be left side, and for right-to-left languages like +Arabic or Hebrew, this will be the right side.

+
§Examples
+

Basic usage:

+ +
let s = "\n Hello\tworld\t\n";
+assert_eq!("Hello\tworld\t\n", s.trim_start());
+

Directionality:

+ +
let s = "  English  ";
+assert!(Some('E') == s.trim_start().chars().next());
+
+let s = "  עברית  ";
+assert!(Some('ע') == s.trim_start().chars().next());
+
1.30.0 · source

pub fn trim_end(&self) -> &str

Returns a string slice with trailing whitespace removed.

+

‘Whitespace’ is defined according to the terms of the Unicode Derived +Core Property White_Space, which includes newlines.

+
§Text directionality
+

A string is a sequence of bytes. end in this context means the last +position of that byte string; for a left-to-right language like English or +Russian, this will be right side, and for right-to-left languages like +Arabic or Hebrew, this will be the left side.

+
§Examples
+

Basic usage:

+ +
let s = "\n Hello\tworld\t\n";
+assert_eq!("\n Hello\tworld", s.trim_end());
+

Directionality:

+ +
let s = "  English  ";
+assert!(Some('h') == s.trim_end().chars().rev().next());
+
+let s = "  עברית  ";
+assert!(Some('ת') == s.trim_end().chars().rev().next());
+
1.0.0 · source

pub fn trim_left(&self) -> &str

👎Deprecated since 1.33.0: superseded by trim_start

Returns a string slice with leading whitespace removed.

+

‘Whitespace’ is defined according to the terms of the Unicode Derived +Core Property White_Space.

+
§Text directionality
+

A string is a sequence of bytes. ‘Left’ in this context means the first +position of that byte string; for a language like Arabic or Hebrew +which are ‘right to left’ rather than ‘left to right’, this will be +the right side, not the left.

+
§Examples
+

Basic usage:

+ +
let s = " Hello\tworld\t";
+
+assert_eq!("Hello\tworld\t", s.trim_left());
+

Directionality:

+ +
let s = "  English";
+assert!(Some('E') == s.trim_left().chars().next());
+
+let s = "  עברית";
+assert!(Some('ע') == s.trim_left().chars().next());
+
1.0.0 · source

pub fn trim_right(&self) -> &str

👎Deprecated since 1.33.0: superseded by trim_end

Returns a string slice with trailing whitespace removed.

+

‘Whitespace’ is defined according to the terms of the Unicode Derived +Core Property White_Space.

+
§Text directionality
+

A string is a sequence of bytes. ‘Right’ in this context means the last +position of that byte string; for a language like Arabic or Hebrew +which are ‘right to left’ rather than ‘left to right’, this will be +the left side, not the right.

+
§Examples
+

Basic usage:

+ +
let s = " Hello\tworld\t";
+
+assert_eq!(" Hello\tworld", s.trim_right());
+

Directionality:

+ +
let s = "English  ";
+assert!(Some('h') == s.trim_right().chars().rev().next());
+
+let s = "עברית  ";
+assert!(Some('ת') == s.trim_right().chars().rev().next());
+
1.0.0 · source

pub fn trim_matches<P>(&self, pat: P) -> &str
where + P: Pattern, + <P as Pattern>::Searcher<'a>: for<'a> DoubleEndedSearcher<'a>,

Returns a string slice with all prefixes and suffixes that match a +pattern repeatedly removed.

+

The pattern can be a char, a slice of chars, or a function +or closure that determines if a character matches.

+
§Examples
+

Simple patterns:

+ +
assert_eq!("11foo1bar11".trim_matches('1'), "foo1bar");
+assert_eq!("123foo1bar123".trim_matches(char::is_numeric), "foo1bar");
+
+let x: &[_] = &['1', '2'];
+assert_eq!("12foo1bar12".trim_matches(x), "foo1bar");
+

A more complex pattern, using a closure:

+ +
assert_eq!("1foo1barXX".trim_matches(|c| c == '1' || c == 'X'), "foo1bar");
+
1.30.0 · source

pub fn trim_start_matches<P>(&self, pat: P) -> &str
where + P: Pattern,

Returns a string slice with all prefixes that match a pattern +repeatedly removed.

+

The pattern can be a &str, char, a slice of chars, or a +function or closure that determines if a character matches.

+
§Text directionality
+

A string is a sequence of bytes. start in this context means the first +position of that byte string; for a left-to-right language like English or +Russian, this will be left side, and for right-to-left languages like +Arabic or Hebrew, this will be the right side.

+
§Examples
+
assert_eq!("11foo1bar11".trim_start_matches('1'), "foo1bar11");
+assert_eq!("123foo1bar123".trim_start_matches(char::is_numeric), "foo1bar123");
+
+let x: &[_] = &['1', '2'];
+assert_eq!("12foo1bar12".trim_start_matches(x), "foo1bar12");
+
1.45.0 · source

pub fn strip_prefix<P>(&self, prefix: P) -> Option<&str>
where + P: Pattern,

Returns a string slice with the prefix removed.

+

If the string starts with the pattern prefix, returns the substring after the prefix, +wrapped in Some. Unlike trim_start_matches, this method removes the prefix exactly once.

+

If the string does not start with prefix, returns None.

+

The pattern can be a &str, char, a slice of chars, or a +function or closure that determines if a character matches.

+
§Examples
+
assert_eq!("foo:bar".strip_prefix("foo:"), Some("bar"));
+assert_eq!("foo:bar".strip_prefix("bar"), None);
+assert_eq!("foofoo".strip_prefix("foo"), Some("foo"));
+
1.45.0 · source

pub fn strip_suffix<P>(&self, suffix: P) -> Option<&str>
where + P: Pattern, + <P as Pattern>::Searcher<'a>: for<'a> ReverseSearcher<'a>,

Returns a string slice with the suffix removed.

+

If the string ends with the pattern suffix, returns the substring before the suffix, +wrapped in Some. Unlike trim_end_matches, this method removes the suffix exactly once.

+

If the string does not end with suffix, returns None.

+

The pattern can be a &str, char, a slice of chars, or a +function or closure that determines if a character matches.

+
§Examples
+
assert_eq!("bar:foo".strip_suffix(":foo"), Some("bar"));
+assert_eq!("bar:foo".strip_suffix("bar"), None);
+assert_eq!("foofoo".strip_suffix("foo"), Some("foo"));
+
1.30.0 · source

pub fn trim_end_matches<P>(&self, pat: P) -> &str
where + P: Pattern, + <P as Pattern>::Searcher<'a>: for<'a> ReverseSearcher<'a>,

Returns a string slice with all suffixes that match a pattern +repeatedly removed.

+

The pattern can be a &str, char, a slice of chars, or a +function or closure that determines if a character matches.

+
§Text directionality
+

A string is a sequence of bytes. end in this context means the last +position of that byte string; for a left-to-right language like English or +Russian, this will be right side, and for right-to-left languages like +Arabic or Hebrew, this will be the left side.

+
§Examples
+

Simple patterns:

+ +
assert_eq!("11foo1bar11".trim_end_matches('1'), "11foo1bar");
+assert_eq!("123foo1bar123".trim_end_matches(char::is_numeric), "123foo1bar");
+
+let x: &[_] = &['1', '2'];
+assert_eq!("12foo1bar12".trim_end_matches(x), "12foo1bar");
+

A more complex pattern, using a closure:

+ +
assert_eq!("1fooX".trim_end_matches(|c| c == '1' || c == 'X'), "1foo");
+
1.0.0 · source

pub fn trim_left_matches<P>(&self, pat: P) -> &str
where + P: Pattern,

👎Deprecated since 1.33.0: superseded by trim_start_matches

Returns a string slice with all prefixes that match a pattern +repeatedly removed.

+

The pattern can be a &str, char, a slice of chars, or a +function or closure that determines if a character matches.

+
§Text directionality
+

A string is a sequence of bytes. ‘Left’ in this context means the first +position of that byte string; for a language like Arabic or Hebrew +which are ‘right to left’ rather than ‘left to right’, this will be +the right side, not the left.

+
§Examples
+
assert_eq!("11foo1bar11".trim_left_matches('1'), "foo1bar11");
+assert_eq!("123foo1bar123".trim_left_matches(char::is_numeric), "foo1bar123");
+
+let x: &[_] = &['1', '2'];
+assert_eq!("12foo1bar12".trim_left_matches(x), "foo1bar12");
+
1.0.0 · source

pub fn trim_right_matches<P>(&self, pat: P) -> &str
where + P: Pattern, + <P as Pattern>::Searcher<'a>: for<'a> ReverseSearcher<'a>,

👎Deprecated since 1.33.0: superseded by trim_end_matches

Returns a string slice with all suffixes that match a pattern +repeatedly removed.

+

The pattern can be a &str, char, a slice of chars, or a +function or closure that determines if a character matches.

+
§Text directionality
+

A string is a sequence of bytes. ‘Right’ in this context means the last +position of that byte string; for a language like Arabic or Hebrew +which are ‘right to left’ rather than ‘left to right’, this will be +the left side, not the right.

+
§Examples
+

Simple patterns:

+ +
assert_eq!("11foo1bar11".trim_right_matches('1'), "11foo1bar");
+assert_eq!("123foo1bar123".trim_right_matches(char::is_numeric), "123foo1bar");
+
+let x: &[_] = &['1', '2'];
+assert_eq!("12foo1bar12".trim_right_matches(x), "12foo1bar");
+

A more complex pattern, using a closure:

+ +
assert_eq!("1fooX".trim_right_matches(|c| c == '1' || c == 'X'), "1foo");
+
1.0.0 · source

pub fn parse<F>(&self) -> Result<F, <F as FromStr>::Err>
where + F: FromStr,

Parses this string slice into another type.

+

Because parse is so general, it can cause problems with type +inference. As such, parse is one of the few times you’ll see +the syntax affectionately known as the ‘turbofish’: ::<>. This +helps the inference algorithm understand specifically which type +you’re trying to parse into.

+

parse can parse into any type that implements the FromStr trait.

+
§Errors
+

Will return Err if it’s not possible to parse this string slice into +the desired type.

+
§Examples
+

Basic usage

+ +
let four: u32 = "4".parse().unwrap();
+
+assert_eq!(4, four);
+

Using the ‘turbofish’ instead of annotating four:

+ +
let four = "4".parse::<u32>();
+
+assert_eq!(Ok(4), four);
+

Failing to parse:

+ +
let nope = "j".parse::<u32>();
+
+assert!(nope.is_err());
+
1.23.0 · source

pub fn is_ascii(&self) -> bool

Checks if all characters in this string are within the ASCII range.

+
§Examples
+
let ascii = "hello!\n";
+let non_ascii = "Grüße, Jürgen ❤";
+
+assert!(ascii.is_ascii());
+assert!(!non_ascii.is_ascii());
+
source

pub fn as_ascii(&self) -> Option<&[AsciiChar]>

🔬This is a nightly-only experimental API. (ascii_char)

If this string slice is_ascii, returns it as a slice +of ASCII characters, otherwise returns None.

+
1.23.0 · source

pub fn eq_ignore_ascii_case(&self, other: &str) -> bool

Checks that two strings are an ASCII case-insensitive match.

+

Same as to_ascii_lowercase(a) == to_ascii_lowercase(b), +but without allocating and copying temporaries.

+
§Examples
+
assert!("Ferris".eq_ignore_ascii_case("FERRIS"));
+assert!("Ferrös".eq_ignore_ascii_case("FERRöS"));
+assert!(!"Ferrös".eq_ignore_ascii_case("FERRÖS"));
+
1.80.0 · source

pub fn trim_ascii_start(&self) -> &str

Returns a string slice with leading ASCII whitespace removed.

+

‘Whitespace’ refers to the definition used by +u8::is_ascii_whitespace.

+
§Examples
+
assert_eq!(" \t \u{3000}hello world\n".trim_ascii_start(), "\u{3000}hello world\n");
+assert_eq!("  ".trim_ascii_start(), "");
+assert_eq!("".trim_ascii_start(), "");
+
1.80.0 · source

pub fn trim_ascii_end(&self) -> &str

Returns a string slice with trailing ASCII whitespace removed.

+

‘Whitespace’ refers to the definition used by +u8::is_ascii_whitespace.

+
§Examples
+
assert_eq!("\r hello world\u{3000}\n ".trim_ascii_end(), "\r hello world\u{3000}");
+assert_eq!("  ".trim_ascii_end(), "");
+assert_eq!("".trim_ascii_end(), "");
+
1.80.0 · source

pub fn trim_ascii(&self) -> &str

Returns a string slice with leading and trailing ASCII whitespace +removed.

+

‘Whitespace’ refers to the definition used by +u8::is_ascii_whitespace.

+
§Examples
+
assert_eq!("\r hello world\n ".trim_ascii(), "hello world");
+assert_eq!("  ".trim_ascii(), "");
+assert_eq!("".trim_ascii(), "");
+
1.34.0 · source

pub fn escape_debug(&self) -> EscapeDebug<'_>

Returns an iterator that escapes each char in self with char::escape_debug.

+

Note: only extended grapheme codepoints that begin the string will be +escaped.

+
§Examples
+

As an iterator:

+ +
for c in "❤\n!".escape_debug() {
+    print!("{c}");
+}
+println!();
+

Using println! directly:

+ +
println!("{}", "❤\n!".escape_debug());
+

Both are equivalent to:

+ +
println!("❤\\n!");
+

Using to_string:

+ +
assert_eq!("❤\n!".escape_debug().to_string(), "❤\\n!");
+
1.34.0 · source

pub fn escape_default(&self) -> EscapeDefault<'_>

Returns an iterator that escapes each char in self with char::escape_default.

+
§Examples
+

As an iterator:

+ +
for c in "❤\n!".escape_default() {
+    print!("{c}");
+}
+println!();
+

Using println! directly:

+ +
println!("{}", "❤\n!".escape_default());
+

Both are equivalent to:

+ +
println!("\\u{{2764}}\\n!");
+

Using to_string:

+ +
assert_eq!("❤\n!".escape_default().to_string(), "\\u{2764}\\n!");
+
1.34.0 · source

pub fn escape_unicode(&self) -> EscapeUnicode<'_>

Returns an iterator that escapes each char in self with char::escape_unicode.

+
§Examples
+

As an iterator:

+ +
for c in "❤\n!".escape_unicode() {
+    print!("{c}");
+}
+println!();
+

Using println! directly:

+ +
println!("{}", "❤\n!".escape_unicode());
+

Both are equivalent to:

+ +
println!("\\u{{2764}}\\u{{a}}\\u{{21}}");
+

Using to_string:

+ +
assert_eq!("❤\n!".escape_unicode().to_string(), "\\u{2764}\\u{a}\\u{21}");
+
source

pub fn substr_range(&self, substr: &str) -> Option<Range<usize>>

🔬This is a nightly-only experimental API. (substr_range)

Returns the range that a substring points to.

+

Returns None if substr does not point within self.

+

Unlike str::find, this does not search through the string. +Instead, it uses pointer arithmetic to find where in the string +substr is derived from.

+

This is useful for extending str::split and similar methods.

+

Note that this method may return false positives (typically either +Some(0..0) or Some(self.len()..self.len())) if substr is a +zero-length str that points at the beginning or end of another, +independent, str.

+
§Examples
+
#![feature(substr_range)]
+
+let data = "a, b, b, a";
+let mut iter = data.split(", ").map(|s| data.substr_range(s).unwrap());
+
+assert_eq!(iter.next(), Some(0..1));
+assert_eq!(iter.next(), Some(3..4));
+assert_eq!(iter.next(), Some(6..7));
+assert_eq!(iter.next(), Some(9..10));
+
1.0.0 · source

pub fn replace<P>(&self, from: P, to: &str) -> String
where + P: Pattern,

Replaces all matches of a pattern with another string.

+

replace creates a new String, and copies the data from this string slice into it. +While doing so, it attempts to find matches of a pattern. If it finds any, it +replaces them with the replacement string slice.

+
§Examples
+

Basic usage:

+ +
let s = "this is old";
+
+assert_eq!("this is new", s.replace("old", "new"));
+assert_eq!("than an old", s.replace("is", "an"));
+

When the pattern doesn’t match, it returns this string slice as String:

+ +
let s = "this is old";
+assert_eq!(s, s.replace("cookie monster", "little lamb"));
+
1.16.0 · source

pub fn replacen<P>(&self, pat: P, to: &str, count: usize) -> String
where + P: Pattern,

Replaces first N matches of a pattern with another string.

+

replacen creates a new String, and copies the data from this string slice into it. +While doing so, it attempts to find matches of a pattern. If it finds any, it +replaces them with the replacement string slice at most count times.

+
§Examples
+

Basic usage:

+ +
let s = "foo foo 123 foo";
+assert_eq!("new new 123 foo", s.replacen("foo", "new", 2));
+assert_eq!("faa fao 123 foo", s.replacen('o', "a", 3));
+assert_eq!("foo foo new23 foo", s.replacen(char::is_numeric, "new", 1));
+

When the pattern doesn’t match, it returns this string slice as String:

+ +
let s = "this is old";
+assert_eq!(s, s.replacen("cookie monster", "little lamb", 10));
+
1.2.0 · source

pub fn to_lowercase(&self) -> String

Returns the lowercase equivalent of this string slice, as a new String.

+

‘Lowercase’ is defined according to the terms of the Unicode Derived Core Property +Lowercase.

+

Since some characters can expand into multiple characters when changing +the case, this function returns a String instead of modifying the +parameter in-place.

+
§Examples
+

Basic usage:

+ +
let s = "HELLO";
+
+assert_eq!("hello", s.to_lowercase());
+

A tricky example, with sigma:

+ +
let sigma = "Σ";
+
+assert_eq!("σ", sigma.to_lowercase());
+
+// but at the end of a word, it's ς, not σ:
+let odysseus = "ὈΔΥΣΣΕΎΣ";
+
+assert_eq!("ὀδυσσεύς", odysseus.to_lowercase());
+

Languages without case are not changed:

+ +
let new_year = "农历新年";
+
+assert_eq!(new_year, new_year.to_lowercase());
+
1.2.0 · source

pub fn to_uppercase(&self) -> String

Returns the uppercase equivalent of this string slice, as a new String.

+

‘Uppercase’ is defined according to the terms of the Unicode Derived Core Property +Uppercase.

+

Since some characters can expand into multiple characters when changing +the case, this function returns a String instead of modifying the +parameter in-place.

+
§Examples
+

Basic usage:

+ +
let s = "hello";
+
+assert_eq!("HELLO", s.to_uppercase());
+

Scripts without case are not changed:

+ +
let new_year = "农历新年";
+
+assert_eq!(new_year, new_year.to_uppercase());
+

One character can become multiple:

+ +
let s = "tschüß";
+
+assert_eq!("TSCHÜSS", s.to_uppercase());
+
1.16.0 · source

pub fn repeat(&self, n: usize) -> String

Creates a new String by repeating a string n times.

+
§Panics
+

This function will panic if the capacity would overflow.

+
§Examples
+

Basic usage:

+ +
assert_eq!("abc".repeat(4), String::from("abcabcabcabc"));
+

A panic upon overflow:

+ +
// this will panic at runtime
+let huge = "0123456789abcdef".repeat(usize::MAX);
+
1.23.0 · source

pub fn to_ascii_uppercase(&self) -> String

Returns a copy of this string where each character is mapped to its +ASCII upper case equivalent.

+

ASCII letters ‘a’ to ‘z’ are mapped to ‘A’ to ‘Z’, +but non-ASCII letters are unchanged.

+

To uppercase the value in-place, use make_ascii_uppercase.

+

To uppercase ASCII characters in addition to non-ASCII characters, use +to_uppercase.

+
§Examples
+
let s = "Grüße, Jürgen ❤";
+
+assert_eq!("GRüßE, JüRGEN ❤", s.to_ascii_uppercase());
+
1.23.0 · source

pub fn to_ascii_lowercase(&self) -> String

Returns a copy of this string where each character is mapped to its +ASCII lower case equivalent.

+

ASCII letters ‘A’ to ‘Z’ are mapped to ‘a’ to ‘z’, +but non-ASCII letters are unchanged.

+

To lowercase the value in-place, use make_ascii_lowercase.

+

To lowercase ASCII characters in addition to non-ASCII characters, use +to_lowercase.

+
§Examples
+
let s = "Grüße, Jürgen ❤";
+
+assert_eq!("grüße, jürgen ❤", s.to_ascii_lowercase());
+

Trait Implementations§

source§

impl Archive for AuthToken
where + BearerToken: Archive, + BotToken: Archive,

source§

type Archived = ArchivedAuthToken

The archived representation of this type. Read more
source§

type Resolver = AuthTokenResolver

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

impl Clone for AuthToken

source§

fn clone(&self) -> AuthToken

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for AuthToken

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Deref for AuthToken

source§

type Target = str

The resulting type after dereferencing.
source§

fn deref(&self) -> &str

Dereferences the value.
source§

impl<'de> Deserialize<'de> for AuthToken

source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
source§

impl<__D: Fallible + ?Sized> Deserialize<AuthToken, __D> for Archived<AuthToken>
where + BearerToken: Archive, + <BearerToken as Archive>::Archived: Deserialize<BearerToken, __D>, + BotToken: Archive, + <BotToken as Archive>::Archived: Deserialize<BotToken, __D>,

source§

fn deserialize( + &self, + deserializer: &mut __D, +) -> Result<AuthToken, <__D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl Display for AuthToken

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl FromStr for AuthToken

source§

type Err = InvalidAuthToken

The associated error which can be returned from parsing.
source§

fn from_str(value: &str) -> Result<Self, InvalidAuthToken>

Parses a string s to return a value of this type. Read more
source§

impl<__S: Fallible + ?Sized> Serialize<__S> for AuthToken
where + BearerToken: Serialize<__S>, + BotToken: Serialize<__S>,

source§

fn serialize( + &self, + serializer: &mut __S, +) -> Result<<Self as Archive>::Resolver, <__S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.
source§

impl Serialize for AuthToken

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Copy for AuthToken

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where + T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T> ToOwned for T
where + T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
§

impl<T> ToSmolStr for T
where + T: Display + ?Sized,

§

fn to_smolstr(&self) -> SmolStr

source§

impl<T> ToString for T
where + T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
source§

impl<T> CommandBody for T
where + T: Send + Serialize + Archive,

source§

impl<T> CommandResult for T
where + T: Send + DeserializeOwned + Serialize + Archive,

source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/auth/enum.AuthTokenResolver.html b/client_sdk/models/auth/enum.AuthTokenResolver.html new file mode 100644 index 000000000..8189fed07 --- /dev/null +++ b/client_sdk/models/auth/enum.AuthTokenResolver.html @@ -0,0 +1,28 @@ +AuthTokenResolver in client_sdk::models::auth - Rust

Enum client_sdk::models::auth::AuthTokenResolver

source ·
pub enum AuthTokenResolver
where + BearerToken: Archive, + BotToken: Archive,
{ + Bearer(<BearerToken as Archive>::Resolver), + Bot(<BotToken as Archive>::Resolver), +}
Expand description

The resolver for an archived AuthToken

+

Variants§

§

Bearer(<BearerToken as Archive>::Resolver)

The resolver for AuthToken::Bearer

+
§

Bot(<BotToken as Archive>::Resolver)

The resolver for AuthToken::Bot

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/auth/index.html b/client_sdk/models/auth/index.html new file mode 100644 index 000000000..5cda73bf4 --- /dev/null +++ b/client_sdk/models/auth/index.html @@ -0,0 +1 @@ +client_sdk::models::auth - Rust

Module client_sdk::models::auth

source ·

Structs§

Enums§

Type Aliases§

  • Fixed-length string with a maximum length of 28 bytes for bearer tokens.
  • Fixed-length string with a maximum length of 48 bytes for bot tokens.
\ No newline at end of file diff --git a/client_sdk/models/auth/sidebar-items.js b/client_sdk/models/auth/sidebar-items.js new file mode 100644 index 000000000..6924c16cf --- /dev/null +++ b/client_sdk/models/auth/sidebar-items.js @@ -0,0 +1 @@ +window.SIDEBAR_ITEMS = {"enum":["ArchivedAuthToken","AuthToken","AuthTokenResolver"],"struct":["InvalidAuthToken"],"type":["BearerToken","BotToken"]}; \ No newline at end of file diff --git a/client_sdk/models/auth/struct.InvalidAuthToken.html b/client_sdk/models/auth/struct.InvalidAuthToken.html new file mode 100644 index 000000000..99f9e2102 --- /dev/null +++ b/client_sdk/models/auth/struct.InvalidAuthToken.html @@ -0,0 +1,22 @@ +InvalidAuthToken in client_sdk::models::auth - Rust

Struct client_sdk::models::auth::InvalidAuthToken

source ·
pub struct InvalidAuthToken;

Trait Implementations§

source§

impl Debug for InvalidAuthToken

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Display for InvalidAuthToken

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Error for InvalidAuthToken

1.30.0 · source§

fn source(&self) -> Option<&(dyn Error + 'static)>

Returns the lower-level source of this error, if any. Read more
1.0.0 · source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.0.0 · source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
source§

fn provide<'a>(&'a self, request: &mut Request<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type-based access to context intended for error reports. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T> ToSmolStr for T
where + T: Display + ?Sized,

§

fn to_smolstr(&self) -> SmolStr

source§

impl<T> ToString for T
where + T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/auth/type.BearerToken.html b/client_sdk/models/auth/type.BearerToken.html new file mode 100644 index 000000000..7d16ebbdb --- /dev/null +++ b/client_sdk/models/auth/type.BearerToken.html @@ -0,0 +1,2 @@ +BearerToken in client_sdk::models::auth - Rust

Type Alias client_sdk::models::auth::BearerToken

source ·
pub type BearerToken = FixedStr<28>;
Expand description

Fixed-length string with a maximum length of 28 bytes for bearer tokens.

+

Aliased Type§

struct BearerToken { /* private fields */ }
\ No newline at end of file diff --git a/client_sdk/models/auth/type.BotToken.html b/client_sdk/models/auth/type.BotToken.html new file mode 100644 index 000000000..4bece87aa --- /dev/null +++ b/client_sdk/models/auth/type.BotToken.html @@ -0,0 +1,2 @@ +BotToken in client_sdk::models::auth - Rust

Type Alias client_sdk::models::auth::BotToken

source ·
pub type BotToken = FixedStr<48>;
Expand description

Fixed-length string with a maximum length of 48 bytes for bot tokens.

+

Aliased Type§

struct BotToken { /* private fields */ }
\ No newline at end of file diff --git a/client_sdk/models/config/index.html b/client_sdk/models/config/index.html new file mode 100644 index 000000000..e087a3ca3 --- /dev/null +++ b/client_sdk/models/config/index.html @@ -0,0 +1 @@ +client_sdk::models::config - Rust

Module client_sdk::models::config

source ·

Structs§

Type Aliases§

\ No newline at end of file diff --git a/client_sdk/models/config/sidebar-items.js b/client_sdk/models/config/sidebar-items.js new file mode 100644 index 000000000..2251af0bc --- /dev/null +++ b/client_sdk/models/config/sidebar-items.js @@ -0,0 +1 @@ +window.SIDEBAR_ITEMS = {"struct":["ArchivedServerConfig","ArchivedServerLimits","ServerConfig","ServerConfigResolver","ServerLimits","ServerLimitsResolver"],"type":["HCaptchaSiteKey"]}; \ No newline at end of file diff --git a/client_sdk/models/config/struct.ArchivedServerConfig.html b/client_sdk/models/config/struct.ArchivedServerConfig.html new file mode 100644 index 000000000..364acc371 --- /dev/null +++ b/client_sdk/models/config/struct.ArchivedServerConfig.html @@ -0,0 +1,58 @@ +ArchivedServerConfig in client_sdk::models::config - Rust

Struct client_sdk::models::config::ArchivedServerConfig

source ·
#[repr(C)]
pub struct ArchivedServerConfig
where + HCaptchaSiteKey: Archive, + SmolStr: Archive, + u8: Archive, + bool: Archive, + ServerLimits: Archive,
{ + pub hcaptcha_sitekey: <HCaptchaSiteKey as Archive>::Archived, + pub cdn: <SmolStr as Archive>::Archived, + pub min_age: <u8 as Archive>::Archived, + pub secure: <bool as Archive>::Archived, + pub limits: <ServerLimits as Archive>::Archived, + pub camo: <bool as Archive>::Archived, +}
Expand description

An archived ServerConfig

+

Fields§

§hcaptcha_sitekey: <HCaptchaSiteKey as Archive>::Archived§cdn: <SmolStr as Archive>::Archived§min_age: <u8 as Archive>::Archived§secure: <bool as Archive>::Archived§limits: <ServerLimits as Archive>::Archived§camo: <bool as Archive>::Archived

Trait Implementations§

source§

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedServerConfig
where + HCaptchaSiteKey: Archive, + SmolStr: Archive, + u8: Archive, + bool: Archive, + ServerLimits: Archive, + <__C as Fallible>::Error: Trace, + <HCaptchaSiteKey as Archive>::Archived: CheckBytes<__C>, + <SmolStr as Archive>::Archived: CheckBytes<__C>, + <u8 as Archive>::Archived: CheckBytes<__C>, + <bool as Archive>::Archived: CheckBytes<__C>, + <ServerLimits as Archive>::Archived: CheckBytes<__C>,

source§

unsafe fn check_bytes( + value: *const Self, + context: &mut __C, +) -> Result<(), <__C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Portable for ArchivedServerConfig
where + HCaptchaSiteKey: Archive, + SmolStr: Archive, + u8: Archive, + bool: Archive, + ServerLimits: Archive, + <HCaptchaSiteKey as Archive>::Archived: Portable, + <SmolStr as Archive>::Archived: Portable, + <u8 as Archive>::Archived: Portable, + <bool as Archive>::Archived: Portable, + <ServerLimits as Archive>::Archived: Portable,

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/config/struct.ArchivedServerLimits.html b/client_sdk/models/config/struct.ArchivedServerLimits.html new file mode 100644 index 000000000..ab963b14f --- /dev/null +++ b/client_sdk/models/config/struct.ArchivedServerLimits.html @@ -0,0 +1,45 @@ +ArchivedServerLimits in client_sdk::models::config - Rust

Struct client_sdk::models::config::ArchivedServerLimits

source ·
#[repr(C)]
pub struct ArchivedServerLimits
where + u64: Archive, + u32: Archive,
{ + pub max_upload_size: <u64 as Archive>::Archived, + pub max_avatar_size: <u32 as Archive>::Archived, + pub max_banner_size: <u32 as Archive>::Archived, + pub max_avatar_pixels: <u32 as Archive>::Archived, + pub max_banner_pixels: <u32 as Archive>::Archived, + pub avatar_width: <u32 as Archive>::Archived, + pub banner_width: <u32 as Archive>::Archived, + pub banner_height: <u32 as Archive>::Archived, +}
Expand description

An archived ServerLimits

+

Fields§

§max_upload_size: <u64 as Archive>::Archived§max_avatar_size: <u32 as Archive>::Archived§max_banner_size: <u32 as Archive>::Archived§max_avatar_pixels: <u32 as Archive>::Archived§max_banner_pixels: <u32 as Archive>::Archived§avatar_width: <u32 as Archive>::Archived§banner_width: <u32 as Archive>::Archived§banner_height: <u32 as Archive>::Archived

Trait Implementations§

source§

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedServerLimits
where + u64: Archive, + u32: Archive, + <__C as Fallible>::Error: Trace, + <u64 as Archive>::Archived: CheckBytes<__C>, + <u32 as Archive>::Archived: CheckBytes<__C>,

source§

unsafe fn check_bytes( + value: *const Self, + context: &mut __C, +) -> Result<(), <__C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Portable for ArchivedServerLimits
where + u64: Archive, + u32: Archive, + <u64 as Archive>::Archived: Portable, + <u32 as Archive>::Archived: Portable,

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/config/struct.ServerConfig.html b/client_sdk/models/config/struct.ServerConfig.html new file mode 100644 index 000000000..6ca17e551 --- /dev/null +++ b/client_sdk/models/config/struct.ServerConfig.html @@ -0,0 +1,79 @@ +ServerConfig in client_sdk::models::config - Rust

Struct client_sdk::models::config::ServerConfig

source ·
pub struct ServerConfig {
+    pub hcaptcha_sitekey: HCaptchaSiteKey,
+    pub cdn: SmolStr,
+    pub min_age: u8,
+    pub secure: bool,
+    pub limits: ServerLimits,
+    pub camo: bool,
+}

Fields§

§hcaptcha_sitekey: HCaptchaSiteKey§cdn: SmolStr

CDN Domain

+
§min_age: u8

Minimum user age (in years)

+
§secure: bool

If the serve should require HTTPS

+
§limits: ServerLimits§camo: bool

If true, use a “camo”/camouflage route provided at “{cdn}/camo/base64_url/url_signature”

+

Trait Implementations§

source§

impl Archive for ServerConfig
where + HCaptchaSiteKey: Archive, + SmolStr: Archive, + u8: Archive, + bool: Archive, + ServerLimits: Archive,

source§

type Archived = ArchivedServerConfig

The archived representation of this type. Read more
source§

type Resolver = ServerConfigResolver

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
source§

impl Clone for ServerConfig

source§

fn clone(&self) -> ServerConfig

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ServerConfig

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for ServerConfig

source§

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<__D: Fallible + ?Sized> Deserialize<ServerConfig, __D> for Archived<ServerConfig>
where + HCaptchaSiteKey: Archive, + <HCaptchaSiteKey as Archive>::Archived: Deserialize<HCaptchaSiteKey, __D>, + SmolStr: Archive, + <SmolStr as Archive>::Archived: Deserialize<SmolStr, __D>, + u8: Archive, + <u8 as Archive>::Archived: Deserialize<u8, __D>, + bool: Archive, + <bool as Archive>::Archived: Deserialize<bool, __D>, + ServerLimits: Archive, + <ServerLimits as Archive>::Archived: Deserialize<ServerLimits, __D>,

source§

fn deserialize( + &self, + deserializer: &mut __D, +) -> Result<ServerConfig, <__D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl PartialEq for ServerConfig

source§

fn eq(&self, other: &ServerConfig) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl<__S: Fallible + ?Sized> Serialize<__S> for ServerConfig
where + HCaptchaSiteKey: Serialize<__S>, + SmolStr: Serialize<__S>, + u8: Serialize<__S>, + bool: Serialize<__S>, + ServerLimits: Serialize<__S>,

source§

fn serialize( + &self, + serializer: &mut __S, +) -> Result<<Self as Archive>::Resolver, <__S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.
source§

impl Serialize for ServerConfig

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl StructuralPartialEq for ServerConfig

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where + T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T> ToOwned for T
where + T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
source§

impl<T> CommandBody for T
where + T: Send + Serialize + Archive,

source§

impl<T> CommandResult for T
where + T: Send + DeserializeOwned + Serialize + Archive,

source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/config/struct.ServerConfigResolver.html b/client_sdk/models/config/struct.ServerConfigResolver.html new file mode 100644 index 000000000..9ad28d67b --- /dev/null +++ b/client_sdk/models/config/struct.ServerConfigResolver.html @@ -0,0 +1,26 @@ +ServerConfigResolver in client_sdk::models::config - Rust

Struct client_sdk::models::config::ServerConfigResolver

source ·
pub struct ServerConfigResolver
where + HCaptchaSiteKey: Archive, + SmolStr: Archive, + u8: Archive, + bool: Archive, + ServerLimits: Archive,
{ /* private fields */ }
Expand description

The resolver for an archived ServerConfig

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/config/struct.ServerLimits.html b/client_sdk/models/config/struct.ServerLimits.html new file mode 100644 index 000000000..f6dbf8a11 --- /dev/null +++ b/client_sdk/models/config/struct.ServerLimits.html @@ -0,0 +1,65 @@ +ServerLimits in client_sdk::models::config - Rust

Struct client_sdk::models::config::ServerLimits

source ·
pub struct ServerLimits {
+    pub max_upload_size: u64,
+    pub max_avatar_size: u32,
+    pub max_banner_size: u32,
+    pub max_avatar_pixels: u32,
+    pub max_banner_pixels: u32,
+    pub avatar_width: u32,
+    pub banner_width: u32,
+    pub banner_height: u32,
+}

Fields§

§max_upload_size: u64§max_avatar_size: u32§max_banner_size: u32§max_avatar_pixels: u32§max_banner_pixels: u32§avatar_width: u32§banner_width: u32§banner_height: u32

Trait Implementations§

source§

impl Archive for ServerLimits
where + u64: Archive, + u32: Archive,

source§

type Archived = ArchivedServerLimits

The archived representation of this type. Read more
source§

type Resolver = ServerLimitsResolver

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
source§

impl Clone for ServerLimits

source§

fn clone(&self) -> ServerLimits

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ServerLimits

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for ServerLimits

source§

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<__D: Fallible + ?Sized> Deserialize<ServerLimits, __D> for Archived<ServerLimits>
where + u64: Archive, + <u64 as Archive>::Archived: Deserialize<u64, __D>, + u32: Archive, + <u32 as Archive>::Archived: Deserialize<u32, __D>,

source§

fn deserialize( + &self, + deserializer: &mut __D, +) -> Result<ServerLimits, <__D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl PartialEq for ServerLimits

source§

fn eq(&self, other: &ServerLimits) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl<__S: Fallible + ?Sized> Serialize<__S> for ServerLimits
where + u64: Serialize<__S>, + u32: Serialize<__S>,

source§

fn serialize( + &self, + serializer: &mut __S, +) -> Result<<Self as Archive>::Resolver, <__S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.
source§

impl Serialize for ServerLimits

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl StructuralPartialEq for ServerLimits

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where + T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T> ToOwned for T
where + T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
source§

impl<T> CommandBody for T
where + T: Send + Serialize + Archive,

source§

impl<T> CommandResult for T
where + T: Send + DeserializeOwned + Serialize + Archive,

source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/config/struct.ServerLimitsResolver.html b/client_sdk/models/config/struct.ServerLimitsResolver.html new file mode 100644 index 000000000..435d32321 --- /dev/null +++ b/client_sdk/models/config/struct.ServerLimitsResolver.html @@ -0,0 +1,23 @@ +ServerLimitsResolver in client_sdk::models::config - Rust

Struct client_sdk::models::config::ServerLimitsResolver

source ·
pub struct ServerLimitsResolver
where + u64: Archive, + u32: Archive,
{ /* private fields */ }
Expand description

The resolver for an archived ServerLimits

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/config/type.HCaptchaSiteKey.html b/client_sdk/models/config/type.HCaptchaSiteKey.html new file mode 100644 index 000000000..a3e37a4e3 --- /dev/null +++ b/client_sdk/models/config/type.HCaptchaSiteKey.html @@ -0,0 +1 @@ +HCaptchaSiteKey in client_sdk::models::config - Rust

Type Alias client_sdk::models::config::HCaptchaSiteKey

source ·
pub type HCaptchaSiteKey = FixedStr<36>;

Aliased Type§

struct HCaptchaSiteKey { /* private fields */ }
\ No newline at end of file diff --git a/client_sdk/models/embed/enum.ArchivedEmbed.html b/client_sdk/models/embed/enum.ArchivedEmbed.html new file mode 100644 index 000000000..cc29e508a --- /dev/null +++ b/client_sdk/models/embed/enum.ArchivedEmbed.html @@ -0,0 +1,34 @@ +ArchivedEmbed in client_sdk::models::embed - Rust

Enum client_sdk::models::embed::ArchivedEmbed

source ·
#[repr(u8)]
pub enum ArchivedEmbed
where + EmbedV1: Archive,
{ + V1(<EmbedV1 as Archive>::Archived), +}
Expand description

An archived Embed

+

Variants§

§

V1(<EmbedV1 as Archive>::Archived)

The archived counterpart of Embed::V1

+

Trait Implementations§

source§

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedEmbed
where + EmbedV1: Archive, + <__C as Fallible>::Error: Source, + <EmbedV1 as Archive>::Archived: CheckBytes<__C>,

source§

unsafe fn check_bytes( + value: *const Self, + context: &mut __C, +) -> Result<(), <__C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Portable for ArchivedEmbed
where + EmbedV1: Archive, + <EmbedV1 as Archive>::Archived: Portable,

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/embed/enum.Embed.html b/client_sdk/models/embed/enum.Embed.html new file mode 100644 index 000000000..411bd42f5 --- /dev/null +++ b/client_sdk/models/embed/enum.Embed.html @@ -0,0 +1,53 @@ +Embed in client_sdk::models::embed - Rust

Enum client_sdk::models::embed::Embed

source ·
#[non_exhaustive]
pub enum Embed { + V1(EmbedV1), +}

Variants (Non-exhaustive)§

This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.

Implementations§

source§

impl Embed

source

pub fn url(&self) -> Option<&str>

Trait Implementations§

source§

impl Archive for Embed
where + EmbedV1: Archive,

source§

type Archived = ArchivedEmbed

The archived representation of this type. Read more
source§

type Resolver = EmbedResolver

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

impl Clone for Embed

source§

fn clone(&self) -> Embed

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Embed

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for Embed

source§

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<__D: Fallible + ?Sized> Deserialize<Embed, __D> for Archived<Embed>
where + EmbedV1: Archive, + <EmbedV1 as Archive>::Archived: Deserialize<EmbedV1, __D>,

source§

fn deserialize( + &self, + deserializer: &mut __D, +) -> Result<Embed, <__D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<__S: Fallible + ?Sized> Serialize<__S> for Embed
where + EmbedV1: Serialize<__S>,

source§

fn serialize( + &self, + serializer: &mut __S, +) -> Result<<Self as Archive>::Resolver, <__S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.
source§

impl Serialize for Embed

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

§

impl Freeze for Embed

§

impl RefUnwindSafe for Embed

§

impl Send for Embed

§

impl Sync for Embed

§

impl Unpin for Embed

§

impl UnwindSafe for Embed

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where + T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T> ToOwned for T
where + T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
source§

impl<T> CommandBody for T
where + T: Send + Serialize + Archive,

source§

impl<T> CommandResult for T
where + T: Send + DeserializeOwned + Serialize + Archive,

source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/embed/enum.EmbedResolver.html b/client_sdk/models/embed/enum.EmbedResolver.html new file mode 100644 index 000000000..fcf79d5e9 --- /dev/null +++ b/client_sdk/models/embed/enum.EmbedResolver.html @@ -0,0 +1,25 @@ +EmbedResolver in client_sdk::models::embed - Rust

Enum client_sdk::models::embed::EmbedResolver

source ·
pub enum EmbedResolver
where + EmbedV1: Archive,
{ + V1(<EmbedV1 as Archive>::Resolver), +}
Expand description

The resolver for an archived Embed

+

Variants§

§

V1(<EmbedV1 as Archive>::Resolver)

The resolver for Embed::V1

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/embed/index.html b/client_sdk/models/embed/index.html new file mode 100644 index 000000000..5f786e35c --- /dev/null +++ b/client_sdk/models/embed/index.html @@ -0,0 +1 @@ +client_sdk::models::embed - Rust

Module client_sdk::models::embed

source ·

Re-exports§

  • pub use v1::*;

Modules§

Enums§

Type Aliases§

\ No newline at end of file diff --git a/client_sdk/models/embed/sidebar-items.js b/client_sdk/models/embed/sidebar-items.js new file mode 100644 index 000000000..512afb967 --- /dev/null +++ b/client_sdk/models/embed/sidebar-items.js @@ -0,0 +1 @@ +window.SIDEBAR_ITEMS = {"enum":["ArchivedEmbed","Embed","EmbedResolver"],"mod":["v1"],"type":["EmbedWithExpire"]}; \ No newline at end of file diff --git a/client_sdk/models/embed/type.EmbedWithExpire.html b/client_sdk/models/embed/type.EmbedWithExpire.html new file mode 100644 index 000000000..089879a5d --- /dev/null +++ b/client_sdk/models/embed/type.EmbedWithExpire.html @@ -0,0 +1,3 @@ +EmbedWithExpire in client_sdk::models::embed - Rust

Type Alias client_sdk::models::embed::EmbedWithExpire

source ·
pub type EmbedWithExpire = (Timestamp, Embed);
Expand description

Default type returned by the embed server

+

You probably want to deserialise the payloads with this type alias

+
\ No newline at end of file diff --git a/client_sdk/models/embed/v1/enum.ArchivedEmbedType.html b/client_sdk/models/embed/v1/enum.ArchivedEmbedType.html new file mode 100644 index 000000000..43a9f88ed --- /dev/null +++ b/client_sdk/models/embed/v1/enum.ArchivedEmbedType.html @@ -0,0 +1,39 @@ +ArchivedEmbedType in client_sdk::models::embed::v1 - Rust

Enum client_sdk::models::embed::v1::ArchivedEmbedType

source ·
#[repr(u8)]
pub enum ArchivedEmbedType { + Img = 0, + Audio = 1, + Vid = 2, + Html = 3, + Link = 4, + Article = 5, +}
Expand description

An archived EmbedType

+

Variants§

§

Img = 0

The archived counterpart of EmbedType::Img

+
§

Audio = 1

The archived counterpart of EmbedType::Audio

+
§

Vid = 2

The archived counterpart of EmbedType::Vid

+
§

Html = 3

The archived counterpart of EmbedType::Html

+

The archived counterpart of EmbedType::Link

+
§

Article = 5

The archived counterpart of EmbedType::Article

+

Trait Implementations§

source§

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedEmbedType
where + <__C as Fallible>::Error: Source,

source§

unsafe fn check_bytes( + value: *const Self, + context: &mut __C, +) -> Result<(), <__C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Portable for ArchivedEmbedType

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/embed/v1/enum.EmbedType.html b/client_sdk/models/embed/v1/enum.EmbedType.html new file mode 100644 index 000000000..4d029bedb --- /dev/null +++ b/client_sdk/models/embed/v1/enum.EmbedType.html @@ -0,0 +1,61 @@ +EmbedType in client_sdk::models::embed::v1 - Rust

Enum client_sdk::models::embed::v1::EmbedType

source ·
pub enum EmbedType {
+    Img,
+    Audio,
+    Vid,
+    Html,
+    Link,
+    Article,
+}

Variants§

§

Img

§

Audio

§

Vid

§

Html

§

Article

Trait Implementations§

source§

impl Archive for EmbedType

source§

type Archived = ArchivedEmbedType

The archived representation of this type. Read more
source§

type Resolver = EmbedTypeResolver

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

impl Clone for EmbedType

source§

fn clone(&self) -> EmbedType

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for EmbedType

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for EmbedType

source§

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<__D: Fallible + ?Sized> Deserialize<EmbedType, __D> for Archived<EmbedType>

source§

fn deserialize( + &self, + deserializer: &mut __D, +) -> Result<EmbedType, <__D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl PartialEq for EmbedType

source§

fn eq(&self, other: &EmbedType) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl<__S: Fallible + ?Sized> Serialize<__S> for EmbedType

source§

fn serialize( + &self, + serializer: &mut __S, +) -> Result<<Self as Archive>::Resolver, <__S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.
source§

impl Serialize for EmbedType

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Copy for EmbedType

source§

impl Eq for EmbedType

source§

impl StructuralPartialEq for EmbedType

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where + T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T> ToOwned for T
where + T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
source§

impl<T> CommandBody for T
where + T: Send + Serialize + Archive,

source§

impl<T> CommandResult for T
where + T: Send + DeserializeOwned + Serialize + Archive,

source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/embed/v1/enum.EmbedTypeResolver.html b/client_sdk/models/embed/v1/enum.EmbedTypeResolver.html new file mode 100644 index 000000000..164323572 --- /dev/null +++ b/client_sdk/models/embed/v1/enum.EmbedTypeResolver.html @@ -0,0 +1,34 @@ +EmbedTypeResolver in client_sdk::models::embed::v1 - Rust

Enum client_sdk::models::embed::v1::EmbedTypeResolver

source ·
pub enum EmbedTypeResolver {
+    Img,
+    Audio,
+    Vid,
+    Html,
+    Link,
+    Article,
+}
Expand description

The resolver for an archived EmbedType

+

Variants§

§

Img

The resolver for EmbedType::Img

+
§

Audio

The resolver for EmbedType::Audio

+
§

Vid

The resolver for EmbedType::Vid

+
§

Html

The resolver for EmbedType::Html

+

The resolver for EmbedType::Link

+
§

Article

The resolver for EmbedType::Article

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/embed/v1/index.html b/client_sdk/models/embed/v1/index.html new file mode 100644 index 000000000..18a9a39ee --- /dev/null +++ b/client_sdk/models/embed/v1/index.html @@ -0,0 +1,3 @@ +client_sdk::models::embed::v1 - Rust

Module client_sdk::models::embed::v1

source ·

Structs§

Enums§

Traits§

Type Aliases§

\ No newline at end of file diff --git a/client_sdk/models/embed/v1/sidebar-items.js b/client_sdk/models/embed/v1/sidebar-items.js new file mode 100644 index 000000000..7bc14a249 --- /dev/null +++ b/client_sdk/models/embed/v1/sidebar-items.js @@ -0,0 +1 @@ +window.SIDEBAR_ITEMS = {"enum":["ArchivedEmbedType","EmbedType","EmbedTypeResolver"],"struct":["ArchivedBasicEmbedMedia","ArchivedEmbedAuthor","ArchivedEmbedField","ArchivedEmbedFlags","ArchivedEmbedFooter","ArchivedEmbedMedia","ArchivedEmbedProvider","ArchivedEmbedV1","BasicEmbedMedia","BasicEmbedMediaResolver","EmbedAuthor","EmbedAuthorResolver","EmbedField","EmbedFieldResolver","EmbedFlags","EmbedFooter","EmbedFooterResolver","EmbedMedia","EmbedMediaResolver","EmbedProvider","EmbedProviderResolver","EmbedV1","EmbedV1Resolver"],"trait":["BoxedEmbedMediaExt","VisitMedia"],"type":["UrlSignature"]}; \ No newline at end of file diff --git a/client_sdk/models/embed/v1/struct.ArchivedBasicEmbedMedia.html b/client_sdk/models/embed/v1/struct.ArchivedBasicEmbedMedia.html new file mode 100644 index 000000000..11256135f --- /dev/null +++ b/client_sdk/models/embed/v1/struct.ArchivedBasicEmbedMedia.html @@ -0,0 +1,58 @@ +ArchivedBasicEmbedMedia in client_sdk::models::embed::v1 - Rust

Struct client_sdk::models::embed::v1::ArchivedBasicEmbedMedia

source ·
#[repr(C)]
pub struct ArchivedBasicEmbedMedia
where + ThinString: Archive, + Option<ThinString>: Archive, + Option<UrlSignature>: Archive, + Option<i32>: Archive, + Option<SmolStr>: Archive,
{ + pub url: <ThinString as Archive>::Archived, + pub description: <Option<ThinString> as Archive>::Archived, + pub signature: <Option<UrlSignature> as Archive>::Archived, + pub height: <Option<i32> as Archive>::Archived, + pub width: <Option<i32> as Archive>::Archived, + pub mime: <Option<SmolStr> as Archive>::Archived, +}
Expand description

An archived BasicEmbedMedia

+

Fields§

§url: <ThinString as Archive>::Archived§description: <Option<ThinString> as Archive>::Archived§signature: <Option<UrlSignature> as Archive>::Archived§height: <Option<i32> as Archive>::Archived§width: <Option<i32> as Archive>::Archived§mime: <Option<SmolStr> as Archive>::Archived

Trait Implementations§

source§

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedBasicEmbedMedia
where + ThinString: Archive, + Option<ThinString>: Archive, + Option<UrlSignature>: Archive, + Option<i32>: Archive, + Option<SmolStr>: Archive, + <__C as Fallible>::Error: Trace, + <ThinString as Archive>::Archived: CheckBytes<__C>, + <Option<ThinString> as Archive>::Archived: CheckBytes<__C>, + <Option<UrlSignature> as Archive>::Archived: CheckBytes<__C>, + <Option<i32> as Archive>::Archived: CheckBytes<__C>, + <Option<SmolStr> as Archive>::Archived: CheckBytes<__C>,

source§

unsafe fn check_bytes( + value: *const Self, + context: &mut __C, +) -> Result<(), <__C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Portable for ArchivedBasicEmbedMedia
where + ThinString: Archive, + Option<ThinString>: Archive, + Option<UrlSignature>: Archive, + Option<i32>: Archive, + Option<SmolStr>: Archive, + <ThinString as Archive>::Archived: Portable, + <Option<ThinString> as Archive>::Archived: Portable, + <Option<UrlSignature> as Archive>::Archived: Portable, + <Option<i32> as Archive>::Archived: Portable, + <Option<SmolStr> as Archive>::Archived: Portable,

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/embed/v1/struct.ArchivedEmbedAuthor.html b/client_sdk/models/embed/v1/struct.ArchivedEmbedAuthor.html new file mode 100644 index 000000000..468f33e39 --- /dev/null +++ b/client_sdk/models/embed/v1/struct.ArchivedEmbedAuthor.html @@ -0,0 +1,45 @@ +ArchivedEmbedAuthor in client_sdk::models::embed::v1 - Rust

Struct client_sdk::models::embed::v1::ArchivedEmbedAuthor

source ·
#[repr(C)]
pub struct ArchivedEmbedAuthor
where + SmolStr: Archive, + Option<ThinString>: Archive, + Niche: ArchiveWith<Option<Box<EmbedMedia>>>,
{ + pub name: <SmolStr as Archive>::Archived, + pub url: <Option<ThinString> as Archive>::Archived, + pub icon: <Niche as ArchiveWith<Option<Box<EmbedMedia>>>>::Archived, +}
Expand description

An archived EmbedAuthor

+

Fields§

§name: <SmolStr as Archive>::Archived§url: <Option<ThinString> as Archive>::Archived§icon: <Niche as ArchiveWith<Option<Box<EmbedMedia>>>>::Archived

Trait Implementations§

source§

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedEmbedAuthor
where + SmolStr: Archive, + Option<ThinString>: Archive, + Niche: ArchiveWith<Option<Box<EmbedMedia>>>, + <__C as Fallible>::Error: Trace, + <SmolStr as Archive>::Archived: CheckBytes<__C>, + <Option<ThinString> as Archive>::Archived: CheckBytes<__C>, + <Niche as ArchiveWith<Option<Box<EmbedMedia>>>>::Archived: CheckBytes<__C>,

source§

unsafe fn check_bytes( + value: *const Self, + context: &mut __C, +) -> Result<(), <__C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Portable for ArchivedEmbedAuthor
where + SmolStr: Archive, + Option<ThinString>: Archive, + Niche: ArchiveWith<Option<Box<EmbedMedia>>>, + <SmolStr as Archive>::Archived: Portable, + <Option<ThinString> as Archive>::Archived: Portable, + <Niche as ArchiveWith<Option<Box<EmbedMedia>>>>::Archived: Portable,

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/embed/v1/struct.ArchivedEmbedField.html b/client_sdk/models/embed/v1/struct.ArchivedEmbedField.html new file mode 100644 index 000000000..6ca4c70ad --- /dev/null +++ b/client_sdk/models/embed/v1/struct.ArchivedEmbedField.html @@ -0,0 +1,46 @@ +ArchivedEmbedField in client_sdk::models::embed::v1 - Rust

Struct client_sdk::models::embed::v1::ArchivedEmbedField

source ·
#[repr(C)]
pub struct ArchivedEmbedField
where + SmolStr: Archive, + Niche: ArchiveWith<Option<Box<EmbedMedia>>>, + bool: Archive,
{ + pub name: <SmolStr as Archive>::Archived, + pub value: <SmolStr as Archive>::Archived, + pub img: <Niche as ArchiveWith<Option<Box<EmbedMedia>>>>::Archived, + pub block: <bool as Archive>::Archived, +}
Expand description

An archived EmbedField

+

Fields§

§name: <SmolStr as Archive>::Archived§value: <SmolStr as Archive>::Archived§img: <Niche as ArchiveWith<Option<Box<EmbedMedia>>>>::Archived§block: <bool as Archive>::Archived

Trait Implementations§

source§

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedEmbedField
where + SmolStr: Archive, + Niche: ArchiveWith<Option<Box<EmbedMedia>>>, + bool: Archive, + <__C as Fallible>::Error: Trace, + <SmolStr as Archive>::Archived: CheckBytes<__C>, + <Niche as ArchiveWith<Option<Box<EmbedMedia>>>>::Archived: CheckBytes<__C>, + <bool as Archive>::Archived: CheckBytes<__C>,

source§

unsafe fn check_bytes( + value: *const Self, + context: &mut __C, +) -> Result<(), <__C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Portable for ArchivedEmbedField
where + SmolStr: Archive, + Niche: ArchiveWith<Option<Box<EmbedMedia>>>, + bool: Archive, + <SmolStr as Archive>::Archived: Portable, + <Niche as ArchiveWith<Option<Box<EmbedMedia>>>>::Archived: Portable, + <bool as Archive>::Archived: Portable,

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/embed/v1/struct.ArchivedEmbedFlags.html b/client_sdk/models/embed/v1/struct.ArchivedEmbedFlags.html new file mode 100644 index 000000000..0be39701a --- /dev/null +++ b/client_sdk/models/embed/v1/struct.ArchivedEmbedFlags.html @@ -0,0 +1,71 @@ +ArchivedEmbedFlags in client_sdk::models::embed::v1 - Rust

Struct client_sdk::models::embed::v1::ArchivedEmbedFlags

source ·
#[repr(transparent)]
pub struct ArchivedEmbedFlags(pub Archived<i16>);
Expand description

Archived version of EmbedFlags, automatically made endian-agnostic. +When comparing with the native bitflags, the archived bitflags will truncate any extra bits.

+

Tuple Fields§

§0: Archived<i16>

Implementations§

source§

impl ArchivedEmbedFlags

source

pub const fn to_native(&self) -> Option<EmbedFlags>

Converts this archived bitflags to the native bitflags type, returning None if any +bits are set that are not part of the bitflags.

+

See EmbedFlags::from_bits for more information.

+
source

pub const fn to_native_truncate(&self) -> EmbedFlags

Converts this archived bitflags to the native bitflags type, truncating any extra bits.

+

See EmbedFlags::from_bits_truncate for more information.

+
source

pub const fn to_native_retain(&self) -> EmbedFlags

Converts this archived bitflags to the native bitflags type, retaining all bits, even +if they are not part of the bitflags.

+

See EmbedFlags::from_bits_retain for more information.

+
source

pub const fn from_native(native: EmbedFlags) -> Self

Converts the native bitflags type to an archived bitflags.

+
source

pub const fn contains(&self, other: EmbedFlags) -> bool

Check if the archived bitflags contains all the given bitflags.

+

See EmbedFlags::contains for more information.

+
source

pub const fn intersects(&self, other: EmbedFlags) -> bool

Check if the archived bitflags intersect with any of the given bitflags.

+

See EmbedFlags::intersects for more information.

+
source

pub const fn is_empty(&self) -> bool

Whether all bits in this flags value are unset.

+
source

pub const fn is_all(&self) -> bool

Whether all known bits in this flags value are set.

+
source

pub const fn bits(&self) -> i16

Get the underlying raw bits value.

+

Note that this may contain bits that are not part of the original bitflags, +if serialized with a different version of the bitflags. Use to_native or +to_native_truncate to convert to the native bitflags type +without extra bits.

+

Trait Implementations§

source§

impl<C> CheckBytes<C> for ArchivedEmbedFlags
where + C: Fallible + ?Sized, + <C as Fallible>::Error: Source,

source§

unsafe fn check_bytes( + value: *const Self, + ctx: &mut C, +) -> Result<(), <C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Clone for ArchivedEmbedFlags

source§

fn clone(&self) -> ArchivedEmbedFlags

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ArchivedEmbedFlags

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<D: Fallible + ?Sized> Deserialize<EmbedFlags, D> for ArchivedEmbedFlags

source§

fn deserialize(&self, _: &mut D) -> Result<EmbedFlags, D::Error>

Deserializes using the given deserializer
source§

impl From<ArchivedEmbedFlags> for EmbedFlags

source§

fn from(archived: ArchivedEmbedFlags) -> Self

Converts to this type from the input type.
source§

impl PartialEq<ArchivedEmbedFlags> for EmbedFlags

source§

fn eq(&self, other: &ArchivedEmbedFlags) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl PartialEq<EmbedFlags> for ArchivedEmbedFlags

source§

fn eq(&self, other: &EmbedFlags) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl PartialEq for ArchivedEmbedFlags

source§

fn eq(&self, other: &ArchivedEmbedFlags) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl ToSql for ArchivedEmbedFlags

source§

fn to_sql( + &self, + ty: &Type, + out: &mut BytesMut, +) -> Result<IsNull, Box<dyn Error + Sync + Send>>
where + Self: Sized,

Converts the value of self into the binary format of the specified +Postgres Type, appending it to out. Read more
source§

fn accepts(ty: &Type) -> bool

Determines if a value of this type can be converted to the specified +Postgres Type.
source§

fn to_sql_checked( + &self, + ty: &Type, + out: &mut BytesMut, +) -> Result<IsNull, Box<dyn Error + Sync + Send>>

An adaptor method used internally by Rust-Postgres. Read more
§

fn encode_format(&self, _ty: &Type) -> Format

Specify the encode format
source§

impl Copy for ArchivedEmbedFlags

source§

impl Eq for ArchivedEmbedFlags

source§

impl NoUndef for ArchivedEmbedFlags

source§

impl Portable for ArchivedEmbedFlags

source§

impl StructuralPartialEq for ArchivedEmbedFlags

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> BorrowToSql for T
where + T: ToSql,

§

fn borrow_to_sql(&self) -> &dyn ToSql

Returns a reference to self as a ToSql trait object.
source§

impl<T> CloneToUninit for T
where + T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where + T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/embed/v1/struct.ArchivedEmbedFooter.html b/client_sdk/models/embed/v1/struct.ArchivedEmbedFooter.html new file mode 100644 index 000000000..dd3965822 --- /dev/null +++ b/client_sdk/models/embed/v1/struct.ArchivedEmbedFooter.html @@ -0,0 +1,39 @@ +ArchivedEmbedFooter in client_sdk::models::embed::v1 - Rust

Struct client_sdk::models::embed::v1::ArchivedEmbedFooter

source ·
#[repr(C)]
pub struct ArchivedEmbedFooter
where + ThinString: Archive, + Niche: ArchiveWith<Option<Box<EmbedMedia>>>,
{ + pub text: <ThinString as Archive>::Archived, + pub icon: <Niche as ArchiveWith<Option<Box<EmbedMedia>>>>::Archived, +}
Expand description

An archived EmbedFooter

+

Fields§

§text: <ThinString as Archive>::Archived§icon: <Niche as ArchiveWith<Option<Box<EmbedMedia>>>>::Archived

Trait Implementations§

source§

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedEmbedFooter
where + ThinString: Archive, + Niche: ArchiveWith<Option<Box<EmbedMedia>>>, + <__C as Fallible>::Error: Trace, + <ThinString as Archive>::Archived: CheckBytes<__C>, + <Niche as ArchiveWith<Option<Box<EmbedMedia>>>>::Archived: CheckBytes<__C>,

source§

unsafe fn check_bytes( + value: *const Self, + context: &mut __C, +) -> Result<(), <__C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Portable for ArchivedEmbedFooter
where + ThinString: Archive, + Niche: ArchiveWith<Option<Box<EmbedMedia>>>, + <ThinString as Archive>::Archived: Portable, + <Niche as ArchiveWith<Option<Box<EmbedMedia>>>>::Archived: Portable,

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/embed/v1/struct.ArchivedEmbedMedia.html b/client_sdk/models/embed/v1/struct.ArchivedEmbedMedia.html new file mode 100644 index 000000000..6c77de4a5 --- /dev/null +++ b/client_sdk/models/embed/v1/struct.ArchivedEmbedMedia.html @@ -0,0 +1,39 @@ +ArchivedEmbedMedia in client_sdk::models::embed::v1 - Rust

Struct client_sdk::models::embed::v1::ArchivedEmbedMedia

source ·
#[repr(C)]
pub struct ArchivedEmbedMedia
where + BasicEmbedMedia: Archive, + Vec<BasicEmbedMedia>: Archive,
{ + pub media: <BasicEmbedMedia as Archive>::Archived, + pub alts: <Vec<BasicEmbedMedia> as Archive>::Archived, +}
Expand description

An archived EmbedMedia

+

Fields§

§media: <BasicEmbedMedia as Archive>::Archived§alts: <Vec<BasicEmbedMedia> as Archive>::Archived

Trait Implementations§

source§

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedEmbedMedia
where + BasicEmbedMedia: Archive, + Vec<BasicEmbedMedia>: Archive, + <__C as Fallible>::Error: Trace, + <BasicEmbedMedia as Archive>::Archived: CheckBytes<__C>, + <Vec<BasicEmbedMedia> as Archive>::Archived: CheckBytes<__C>,

source§

unsafe fn check_bytes( + value: *const Self, + context: &mut __C, +) -> Result<(), <__C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Deref for ArchivedEmbedMedia

source§

type Target = ArchivedBasicEmbedMedia

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl Portable for ArchivedEmbedMedia
where + BasicEmbedMedia: Archive, + Vec<BasicEmbedMedia>: Archive, + <BasicEmbedMedia as Archive>::Archived: Portable, + <Vec<BasicEmbedMedia> as Archive>::Archived: Portable,

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/embed/v1/struct.ArchivedEmbedProvider.html b/client_sdk/models/embed/v1/struct.ArchivedEmbedProvider.html new file mode 100644 index 000000000..b851b90e5 --- /dev/null +++ b/client_sdk/models/embed/v1/struct.ArchivedEmbedProvider.html @@ -0,0 +1,45 @@ +ArchivedEmbedProvider in client_sdk::models::embed::v1 - Rust

Struct client_sdk::models::embed::v1::ArchivedEmbedProvider

source ·
#[repr(C)]
pub struct ArchivedEmbedProvider
where + Option<SmolStr>: Archive, + Option<ThinString>: Archive, + Niche: ArchiveWith<Option<Box<EmbedMedia>>>,
{ + pub name: <Option<SmolStr> as Archive>::Archived, + pub url: <Option<ThinString> as Archive>::Archived, + pub icon: <Niche as ArchiveWith<Option<Box<EmbedMedia>>>>::Archived, +}
Expand description

An archived EmbedProvider

+

Fields§

§name: <Option<SmolStr> as Archive>::Archived§url: <Option<ThinString> as Archive>::Archived§icon: <Niche as ArchiveWith<Option<Box<EmbedMedia>>>>::Archived

Trait Implementations§

source§

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedEmbedProvider
where + Option<SmolStr>: Archive, + Option<ThinString>: Archive, + Niche: ArchiveWith<Option<Box<EmbedMedia>>>, + <__C as Fallible>::Error: Trace, + <Option<SmolStr> as Archive>::Archived: CheckBytes<__C>, + <Option<ThinString> as Archive>::Archived: CheckBytes<__C>, + <Niche as ArchiveWith<Option<Box<EmbedMedia>>>>::Archived: CheckBytes<__C>,

source§

unsafe fn check_bytes( + value: *const Self, + context: &mut __C, +) -> Result<(), <__C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Portable for ArchivedEmbedProvider
where + Option<SmolStr>: Archive, + Option<ThinString>: Archive, + Niche: ArchiveWith<Option<Box<EmbedMedia>>>, + <Option<SmolStr> as Archive>::Archived: Portable, + <Option<ThinString> as Archive>::Archived: Portable, + <Niche as ArchiveWith<Option<Box<EmbedMedia>>>>::Archived: Portable,

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/embed/v1/struct.ArchivedEmbedV1.html b/client_sdk/models/embed/v1/struct.ArchivedEmbedV1.html new file mode 100644 index 000000000..5f573f159 --- /dev/null +++ b/client_sdk/models/embed/v1/struct.ArchivedEmbedV1.html @@ -0,0 +1,94 @@ +ArchivedEmbedV1 in client_sdk::models::embed::v1 - Rust

Struct client_sdk::models::embed::v1::ArchivedEmbedV1

source ·
#[repr(C)]
pub struct ArchivedEmbedV1
where + Timestamp: Archive, + EmbedType: Archive, + EmbedFlags: Archive, + Option<ThinString>: Archive, + Option<u32>: Archive, + Option<EmbedAuthor>: Archive, + EmbedProvider: Archive, + Niche: ArchiveWith<Option<Box<EmbedMedia>>>, + Vec<EmbedField>: Archive, + Option<EmbedFooter>: Archive,
{
Show 17 fields + pub ts: <Timestamp as Archive>::Archived, + pub ty: <EmbedType as Archive>::Archived, + pub flags: <EmbedFlags as Archive>::Archived, + pub url: <Option<ThinString> as Archive>::Archived, + pub canonical: <Option<ThinString> as Archive>::Archived, + pub title: <Option<ThinString> as Archive>::Archived, + pub description: <Option<ThinString> as Archive>::Archived, + pub color: <Option<u32> as Archive>::Archived, + pub author: <Option<EmbedAuthor> as Archive>::Archived, + pub provider: <EmbedProvider as Archive>::Archived, + pub obj: <Niche as ArchiveWith<Option<Box<EmbedMedia>>>>::Archived, + pub img: <Niche as ArchiveWith<Option<Box<EmbedMedia>>>>::Archived, + pub audio: <Niche as ArchiveWith<Option<Box<EmbedMedia>>>>::Archived, + pub video: <Niche as ArchiveWith<Option<Box<EmbedMedia>>>>::Archived, + pub thumb: <Niche as ArchiveWith<Option<Box<EmbedMedia>>>>::Archived, + pub fields: <Vec<EmbedField> as Archive>::Archived, + pub footer: <Option<EmbedFooter> as Archive>::Archived, +
}
Expand description

An archived EmbedV1

+

Fields§

§ts: <Timestamp as Archive>::Archived§ty: <EmbedType as Archive>::Archived§flags: <EmbedFlags as Archive>::Archived§url: <Option<ThinString> as Archive>::Archived§canonical: <Option<ThinString> as Archive>::Archived§title: <Option<ThinString> as Archive>::Archived§description: <Option<ThinString> as Archive>::Archived§color: <Option<u32> as Archive>::Archived§author: <Option<EmbedAuthor> as Archive>::Archived§provider: <EmbedProvider as Archive>::Archived§obj: <Niche as ArchiveWith<Option<Box<EmbedMedia>>>>::Archived§img: <Niche as ArchiveWith<Option<Box<EmbedMedia>>>>::Archived§audio: <Niche as ArchiveWith<Option<Box<EmbedMedia>>>>::Archived§video: <Niche as ArchiveWith<Option<Box<EmbedMedia>>>>::Archived§thumb: <Niche as ArchiveWith<Option<Box<EmbedMedia>>>>::Archived§fields: <Vec<EmbedField> as Archive>::Archived§footer: <Option<EmbedFooter> as Archive>::Archived

Trait Implementations§

source§

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedEmbedV1
where + Timestamp: Archive, + EmbedType: Archive, + EmbedFlags: Archive, + Option<ThinString>: Archive, + Option<u32>: Archive, + Option<EmbedAuthor>: Archive, + EmbedProvider: Archive, + Niche: ArchiveWith<Option<Box<EmbedMedia>>>, + Vec<EmbedField>: Archive, + Option<EmbedFooter>: Archive, + <__C as Fallible>::Error: Trace, + <Timestamp as Archive>::Archived: CheckBytes<__C>, + <EmbedType as Archive>::Archived: CheckBytes<__C>, + <EmbedFlags as Archive>::Archived: CheckBytes<__C>, + <Option<ThinString> as Archive>::Archived: CheckBytes<__C>, + <Option<u32> as Archive>::Archived: CheckBytes<__C>, + <Option<EmbedAuthor> as Archive>::Archived: CheckBytes<__C>, + <EmbedProvider as Archive>::Archived: CheckBytes<__C>, + <Niche as ArchiveWith<Option<Box<EmbedMedia>>>>::Archived: CheckBytes<__C>, + <Vec<EmbedField> as Archive>::Archived: CheckBytes<__C>, + <Option<EmbedFooter> as Archive>::Archived: CheckBytes<__C>,

source§

unsafe fn check_bytes( + value: *const Self, + context: &mut __C, +) -> Result<(), <__C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Portable for ArchivedEmbedV1
where + Timestamp: Archive, + EmbedType: Archive, + EmbedFlags: Archive, + Option<ThinString>: Archive, + Option<u32>: Archive, + Option<EmbedAuthor>: Archive, + EmbedProvider: Archive, + Niche: ArchiveWith<Option<Box<EmbedMedia>>>, + Vec<EmbedField>: Archive, + Option<EmbedFooter>: Archive, + <Timestamp as Archive>::Archived: Portable, + <EmbedType as Archive>::Archived: Portable, + <EmbedFlags as Archive>::Archived: Portable, + <Option<ThinString> as Archive>::Archived: Portable, + <Option<u32> as Archive>::Archived: Portable, + <Option<EmbedAuthor> as Archive>::Archived: Portable, + <EmbedProvider as Archive>::Archived: Portable, + <Niche as ArchiveWith<Option<Box<EmbedMedia>>>>::Archived: Portable, + <Vec<EmbedField> as Archive>::Archived: Portable, + <Option<EmbedFooter> as Archive>::Archived: Portable,

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/embed/v1/struct.BasicEmbedMedia.html b/client_sdk/models/embed/v1/struct.BasicEmbedMedia.html new file mode 100644 index 000000000..38821daa9 --- /dev/null +++ b/client_sdk/models/embed/v1/struct.BasicEmbedMedia.html @@ -0,0 +1,78 @@ +BasicEmbedMedia in client_sdk::models::embed::v1 - Rust

Struct client_sdk::models::embed::v1::BasicEmbedMedia

source ·
pub struct BasicEmbedMedia {
+    pub url: ThinString,
+    pub description: Option<ThinString>,
+    pub signature: Option<UrlSignature>,
+    pub height: Option<i32>,
+    pub width: Option<i32>,
+    pub mime: Option<SmolStr>,
+}

Fields§

§url: ThinString§description: Option<ThinString>

Non-visible description of the embedded media

+
§signature: Option<UrlSignature>

Cryptographic signature for use with the proxy server

+
§height: Option<i32>

height

+
§width: Option<i32>

width

+
§mime: Option<SmolStr>

Trait Implementations§

source§

impl Archive for BasicEmbedMedia
where + ThinString: Archive, + Option<ThinString>: Archive, + Option<UrlSignature>: Archive, + Option<i32>: Archive, + Option<SmolStr>: Archive,

source§

type Archived = ArchivedBasicEmbedMedia

The archived representation of this type. Read more
source§

type Resolver = BasicEmbedMediaResolver

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
source§

impl Clone for BasicEmbedMedia

source§

fn clone(&self) -> BasicEmbedMedia

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for BasicEmbedMedia

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for BasicEmbedMedia

source§

fn default() -> BasicEmbedMedia

Returns the “default value” for a type. Read more
source§

impl<'de> Deserialize<'de> for BasicEmbedMedia

source§

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<__D: Fallible + ?Sized> Deserialize<BasicEmbedMedia, __D> for Archived<BasicEmbedMedia>
where + ThinString: Archive, + <ThinString as Archive>::Archived: Deserialize<ThinString, __D>, + Option<ThinString>: Archive, + <Option<ThinString> as Archive>::Archived: Deserialize<Option<ThinString>, __D>, + Option<UrlSignature>: Archive, + <Option<UrlSignature> as Archive>::Archived: Deserialize<Option<UrlSignature>, __D>, + Option<i32>: Archive, + <Option<i32> as Archive>::Archived: Deserialize<Option<i32>, __D>, + Option<SmolStr>: Archive, + <Option<SmolStr> as Archive>::Archived: Deserialize<Option<SmolStr>, __D>,

source§

fn deserialize( + &self, + deserializer: &mut __D, +) -> Result<BasicEmbedMedia, <__D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<__S: Fallible + ?Sized> Serialize<__S> for BasicEmbedMedia
where + ThinString: Serialize<__S>, + Option<ThinString>: Serialize<__S>, + Option<UrlSignature>: Serialize<__S>, + Option<i32>: Serialize<__S>, + Option<SmolStr>: Serialize<__S>,

source§

fn serialize( + &self, + serializer: &mut __S, +) -> Result<<Self as Archive>::Resolver, <__S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.
source§

impl Serialize for BasicEmbedMedia

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where + T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T> ToOwned for T
where + T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
source§

impl<T> CommandBody for T
where + T: Send + Serialize + Archive,

source§

impl<T> CommandResult for T
where + T: Send + DeserializeOwned + Serialize + Archive,

source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/embed/v1/struct.BasicEmbedMediaResolver.html b/client_sdk/models/embed/v1/struct.BasicEmbedMediaResolver.html new file mode 100644 index 000000000..8413c65ff --- /dev/null +++ b/client_sdk/models/embed/v1/struct.BasicEmbedMediaResolver.html @@ -0,0 +1,26 @@ +BasicEmbedMediaResolver in client_sdk::models::embed::v1 - Rust

Struct client_sdk::models::embed::v1::BasicEmbedMediaResolver

source ·
pub struct BasicEmbedMediaResolver
where + ThinString: Archive, + Option<ThinString>: Archive, + Option<UrlSignature>: Archive, + Option<i32>: Archive, + Option<SmolStr>: Archive,
{ /* private fields */ }
Expand description

The resolver for an archived BasicEmbedMedia

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/embed/v1/struct.EmbedAuthor.html b/client_sdk/models/embed/v1/struct.EmbedAuthor.html new file mode 100644 index 000000000..d61eaaaf1 --- /dev/null +++ b/client_sdk/models/embed/v1/struct.EmbedAuthor.html @@ -0,0 +1,62 @@ +EmbedAuthor in client_sdk::models::embed::v1 - Rust

Struct client_sdk::models::embed::v1::EmbedAuthor

source ·
pub struct EmbedAuthor {
+    pub name: SmolStr,
+    pub url: Option<ThinString>,
+    pub icon: Option<Box<EmbedMedia>>,
+}

Fields§

§name: SmolStr§url: Option<ThinString>§icon: Option<Box<EmbedMedia>>

Implementations§

source§

impl EmbedAuthor

source

pub fn is_none(this: &Option<Self>) -> bool

Trait Implementations§

source§

impl Archive for EmbedAuthor
where + SmolStr: Archive, + Option<ThinString>: Archive, + Niche: ArchiveWith<Option<Box<EmbedMedia>>>,

source§

type Archived = ArchivedEmbedAuthor

The archived representation of this type. Read more
source§

type Resolver = EmbedAuthorResolver

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

impl Clone for EmbedAuthor

source§

fn clone(&self) -> EmbedAuthor

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for EmbedAuthor

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for EmbedAuthor

source§

fn default() -> EmbedAuthor

Returns the “default value” for a type. Read more
source§

impl<'de> Deserialize<'de> for EmbedAuthor

source§

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<__D: Fallible + ?Sized> Deserialize<EmbedAuthor, __D> for Archived<EmbedAuthor>
where + SmolStr: Archive, + <SmolStr as Archive>::Archived: Deserialize<SmolStr, __D>, + Option<ThinString>: Archive, + <Option<ThinString> as Archive>::Archived: Deserialize<Option<ThinString>, __D>, + Niche: ArchiveWith<Option<Box<EmbedMedia>>> + DeserializeWith<<Niche as ArchiveWith<Option<Box<EmbedMedia>>>>::Archived, Option<Box<EmbedMedia>>, __D>,

source§

fn deserialize( + &self, + deserializer: &mut __D, +) -> Result<EmbedAuthor, <__D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<__S: Fallible + ?Sized> Serialize<__S> for EmbedAuthor
where + SmolStr: Serialize<__S>, + Option<ThinString>: Serialize<__S>, + Niche: SerializeWith<Option<Box<EmbedMedia>>, __S>,

source§

fn serialize( + &self, + serializer: &mut __S, +) -> Result<<Self as Archive>::Resolver, <__S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.
source§

impl Serialize for EmbedAuthor

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where + T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T> ToOwned for T
where + T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
source§

impl<T> CommandBody for T
where + T: Send + Serialize + Archive,

source§

impl<T> CommandResult for T
where + T: Send + DeserializeOwned + Serialize + Archive,

source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/embed/v1/struct.EmbedAuthorResolver.html b/client_sdk/models/embed/v1/struct.EmbedAuthorResolver.html new file mode 100644 index 000000000..43ee8d93e --- /dev/null +++ b/client_sdk/models/embed/v1/struct.EmbedAuthorResolver.html @@ -0,0 +1,24 @@ +EmbedAuthorResolver in client_sdk::models::embed::v1 - Rust

Struct client_sdk::models::embed::v1::EmbedAuthorResolver

source ·
pub struct EmbedAuthorResolver
where + SmolStr: Archive, + Option<ThinString>: Archive, + Niche: ArchiveWith<Option<Box<EmbedMedia>>>,
{ /* private fields */ }
Expand description

The resolver for an archived EmbedAuthor

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/embed/v1/struct.EmbedField.html b/client_sdk/models/embed/v1/struct.EmbedField.html new file mode 100644 index 000000000..c4a4a07d3 --- /dev/null +++ b/client_sdk/models/embed/v1/struct.EmbedField.html @@ -0,0 +1,64 @@ +EmbedField in client_sdk::models::embed::v1 - Rust

Struct client_sdk::models::embed::v1::EmbedField

source ·
pub struct EmbedField {
+    pub name: SmolStr,
+    pub value: SmolStr,
+    pub img: Option<Box<EmbedMedia>>,
+    pub block: bool,
+}

Fields§

§name: SmolStr§value: SmolStr§img: Option<Box<EmbedMedia>>§block: bool

Should use block-formatting

+

Implementations§

Trait Implementations§

source§

impl Archive for EmbedField
where + SmolStr: Archive, + Niche: ArchiveWith<Option<Box<EmbedMedia>>>, + bool: Archive,

source§

type Archived = ArchivedEmbedField

The archived representation of this type. Read more
source§

type Resolver = EmbedFieldResolver

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

impl Clone for EmbedField

source§

fn clone(&self) -> EmbedField

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for EmbedField

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for EmbedField

source§

fn default() -> EmbedField

Returns the “default value” for a type. Read more
source§

impl<'de> Deserialize<'de> for EmbedField

source§

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<__D: Fallible + ?Sized> Deserialize<EmbedField, __D> for Archived<EmbedField>
where + SmolStr: Archive, + <SmolStr as Archive>::Archived: Deserialize<SmolStr, __D>, + Niche: ArchiveWith<Option<Box<EmbedMedia>>> + DeserializeWith<<Niche as ArchiveWith<Option<Box<EmbedMedia>>>>::Archived, Option<Box<EmbedMedia>>, __D>, + bool: Archive, + <bool as Archive>::Archived: Deserialize<bool, __D>,

source§

fn deserialize( + &self, + deserializer: &mut __D, +) -> Result<EmbedField, <__D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<__S: Fallible + ?Sized> Serialize<__S> for EmbedField
where + SmolStr: Serialize<__S>, + Niche: SerializeWith<Option<Box<EmbedMedia>>, __S>, + bool: Serialize<__S>,

source§

fn serialize( + &self, + serializer: &mut __S, +) -> Result<<Self as Archive>::Resolver, <__S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.
source§

impl Serialize for EmbedField

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where + T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T> ToOwned for T
where + T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
source§

impl<T> CommandBody for T
where + T: Send + Serialize + Archive,

source§

impl<T> CommandResult for T
where + T: Send + DeserializeOwned + Serialize + Archive,

source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/embed/v1/struct.EmbedFieldResolver.html b/client_sdk/models/embed/v1/struct.EmbedFieldResolver.html new file mode 100644 index 000000000..3872c74f1 --- /dev/null +++ b/client_sdk/models/embed/v1/struct.EmbedFieldResolver.html @@ -0,0 +1,24 @@ +EmbedFieldResolver in client_sdk::models::embed::v1 - Rust

Struct client_sdk::models::embed::v1::EmbedFieldResolver

source ·
pub struct EmbedFieldResolver
where + SmolStr: Archive, + Niche: ArchiveWith<Option<Box<EmbedMedia>>>, + bool: Archive,
{ /* private fields */ }
Expand description

The resolver for an archived EmbedField

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/embed/v1/struct.EmbedFlags.html b/client_sdk/models/embed/v1/struct.EmbedFlags.html new file mode 100644 index 000000000..5b481751e --- /dev/null +++ b/client_sdk/models/embed/v1/struct.EmbedFlags.html @@ -0,0 +1,132 @@ +EmbedFlags in client_sdk::models::embed::v1 - Rust

Struct client_sdk::models::embed::v1::EmbedFlags

source ·
pub struct EmbedFlags(/* private fields */);

Implementations§

source§

impl EmbedFlags

source

pub const SPOILER: Self = _

This embed contains spoilered content and should be displayed as such

+
source

pub const ADULT: Self = _

This embed may contain content marked as “adult”

+

NOTE: This is not always accurate, and is provided on a best-effort basis

+
source§

impl EmbedFlags

source

pub const fn empty() -> Self

Get a flags value with all bits unset.

+
source

pub const fn all() -> Self

Get a flags value with all known bits set.

+
source

pub const fn bits(&self) -> i16

Get the underlying bits value.

+

The returned value is exactly the bits set in this flags value.

+
source

pub const fn from_bits(bits: i16) -> Option<Self>

Convert from a bits value.

+

This method will return None if any unknown bits are set.

+
source

pub const fn from_bits_truncate(bits: i16) -> Self

Convert from a bits value, unsetting any unknown bits.

+
source

pub const fn from_bits_retain(bits: i16) -> Self

Convert from a bits value exactly.

+
source

pub fn from_name(name: &str) -> Option<Self>

Get a flags value with the bits of a flag with the given name set.

+

This method will return None if name is empty or doesn’t +correspond to any named flag.

+
source

pub const fn is_empty(&self) -> bool

Whether all bits in this flags value are unset.

+
source

pub const fn is_all(&self) -> bool

Whether all known bits in this flags value are set.

+
source

pub const fn intersects(&self, other: Self) -> bool

Whether any set bits in a source flags value are also set in a target flags value.

+
source

pub const fn contains(&self, other: Self) -> bool

Whether all set bits in a source flags value are also set in a target flags value.

+
source

pub fn insert(&mut self, other: Self)

The bitwise or (|) of the bits in two flags values.

+
source

pub fn remove(&mut self, other: Self)

The intersection of a source flags value with the complement of a target flags value (&!).

+

This method is not equivalent to self & !other when other has unknown bits set. +remove won’t truncate other, but the ! operator will.

+
source

pub fn toggle(&mut self, other: Self)

The bitwise exclusive-or (^) of the bits in two flags values.

+
source

pub fn set(&mut self, other: Self, value: bool)

Call insert when value is true or remove when value is false.

+
source

pub const fn intersection(self, other: Self) -> Self

The bitwise and (&) of the bits in two flags values.

+
source

pub const fn union(self, other: Self) -> Self

The bitwise or (|) of the bits in two flags values.

+
source

pub const fn difference(self, other: Self) -> Self

The intersection of a source flags value with the complement of a target flags value (&!).

+

This method is not equivalent to self & !other when other has unknown bits set. +difference won’t truncate other, but the ! operator will.

+
source

pub const fn symmetric_difference(self, other: Self) -> Self

The bitwise exclusive-or (^) of the bits in two flags values.

+
source

pub const fn complement(self) -> Self

The bitwise negation (!) of the bits in a flags value, truncating the result.

+
source§

impl EmbedFlags

source

pub const fn iter(&self) -> Iter<EmbedFlags>

Yield a set of contained flags values.

+

Each yielded flags value will correspond to a defined named flag. Any unknown bits +will be yielded together as a final flags value.

+
source

pub const fn iter_names(&self) -> IterNames<EmbedFlags>

Yield a set of contained named flags values.

+

This method is like iter, except only yields bits in contained named flags. +Any unknown bits, or bits not corresponding to a contained flag will not be yielded.

+

Trait Implementations§

source§

impl Archive for EmbedFlags

source§

type Archived = ArchivedEmbedFlags

The archived representation of this type. Read more
source§

type Resolver = ()

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

fn resolve(&self, _: (), out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
source§

impl Binary for EmbedFlags

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl BitAnd for EmbedFlags

source§

fn bitand(self, other: Self) -> Self

The bitwise and (&) of the bits in two flags values.

+
source§

type Output = EmbedFlags

The resulting type after applying the & operator.
source§

impl BitAndAssign for EmbedFlags

source§

fn bitand_assign(&mut self, other: Self)

The bitwise and (&) of the bits in two flags values.

+
source§

impl BitOr for EmbedFlags

source§

fn bitor(self, other: EmbedFlags) -> Self

The bitwise or (|) of the bits in two flags values.

+
source§

type Output = EmbedFlags

The resulting type after applying the | operator.
source§

impl BitOrAssign for EmbedFlags

source§

fn bitor_assign(&mut self, other: Self)

The bitwise or (|) of the bits in two flags values.

+
source§

impl BitXor for EmbedFlags

source§

fn bitxor(self, other: Self) -> Self

The bitwise exclusive-or (^) of the bits in two flags values.

+
source§

type Output = EmbedFlags

The resulting type after applying the ^ operator.
source§

impl BitXorAssign for EmbedFlags

source§

fn bitxor_assign(&mut self, other: Self)

The bitwise exclusive-or (^) of the bits in two flags values.

+
source§

impl Clone for EmbedFlags

source§

fn clone(&self) -> EmbedFlags

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for EmbedFlags

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for EmbedFlags

source§

fn deserialize<D>(deserializer: D) -> Result<EmbedFlags, D::Error>
where + D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl<D: Fallible + ?Sized> Deserialize<EmbedFlags, D> for ArchivedEmbedFlags

source§

fn deserialize(&self, _: &mut D) -> Result<EmbedFlags, D::Error>

Deserializes using the given deserializer
source§

impl Extend<EmbedFlags> for EmbedFlags

source§

fn extend<T: IntoIterator<Item = Self>>(&mut self, iterator: T)

The bitwise or (|) of the bits in each flags value.

+
source§

fn extend_one(&mut self, item: A)

🔬This is a nightly-only experimental API. (extend_one)
Extends a collection with exactly one element.
source§

fn extend_reserve(&mut self, additional: usize)

🔬This is a nightly-only experimental API. (extend_one)
Reserves capacity in a collection for the given number of additional elements. Read more
source§

impl Flags for EmbedFlags

source§

const FLAGS: &'static [Flag<EmbedFlags>] = _

The set of defined flags.
source§

type Bits = i16

The underlying bits type.
source§

fn bits(&self) -> i16

Get the underlying bits value. Read more
source§

fn from_bits_retain(bits: i16) -> EmbedFlags

Convert from a bits value exactly.
§

fn empty() -> Self

Get a flags value with all bits unset.
§

fn all() -> Self

Get a flags value with all known bits set.
§

fn from_bits(bits: Self::Bits) -> Option<Self>

Convert from a bits value. Read more
§

fn from_bits_truncate(bits: Self::Bits) -> Self

Convert from a bits value, unsetting any unknown bits.
§

fn from_name(name: &str) -> Option<Self>

Get a flags value with the bits of a flag with the given name set. Read more
§

fn iter(&self) -> Iter<Self>

Yield a set of contained flags values. Read more
§

fn iter_names(&self) -> IterNames<Self>

Yield a set of contained named flags values. Read more
§

fn is_empty(&self) -> bool

Whether all bits in this flags value are unset.
§

fn is_all(&self) -> bool

Whether all known bits in this flags value are set.
§

fn intersects(&self, other: Self) -> bool
where + Self: Sized,

Whether any set bits in a source flags value are also set in a target flags value.
§

fn contains(&self, other: Self) -> bool
where + Self: Sized,

Whether all set bits in a source flags value are also set in a target flags value.
§

fn insert(&mut self, other: Self)
where + Self: Sized,

The bitwise or (|) of the bits in two flags values.
§

fn remove(&mut self, other: Self)
where + Self: Sized,

The intersection of a source flags value with the complement of a target flags value (&!). Read more
§

fn toggle(&mut self, other: Self)
where + Self: Sized,

The bitwise exclusive-or (^) of the bits in two flags values.
§

fn set(&mut self, other: Self, value: bool)
where + Self: Sized,

Call [Flags::insert] when value is true or [Flags::remove] when value is false.
§

fn intersection(self, other: Self) -> Self

The bitwise and (&) of the bits in two flags values.
§

fn union(self, other: Self) -> Self

The bitwise or (|) of the bits in two flags values.
§

fn difference(self, other: Self) -> Self

The intersection of a source flags value with the complement of a target flags value (&!). Read more
§

fn symmetric_difference(self, other: Self) -> Self

The bitwise exclusive-or (^) of the bits in two flags values.
§

fn complement(self) -> Self

The bitwise negation (!) of the bits in a flags value, truncating the result.
source§

impl From<ArchivedEmbedFlags> for EmbedFlags

source§

fn from(archived: ArchivedEmbedFlags) -> Self

Converts to this type from the input type.
source§

impl FromIterator<EmbedFlags> for EmbedFlags

source§

fn from_iter<T: IntoIterator<Item = Self>>(iterator: T) -> Self

The bitwise or (|) of the bits in each flags value.

+
source§

impl<'a> FromSql<'a> for EmbedFlags

source§

fn from_sql( + ty: &Type, + raw: &'a [u8], +) -> Result<Self, Box<dyn Error + Sync + Send>>

Creates a new value of this type from a buffer of data of the specified +Postgres Type in its binary format. Read more
source§

fn accepts(ty: &Type) -> bool

Determines if a value of this type can be created from the specified +Postgres Type.
§

fn from_sql_null(ty: &Type) -> Result<Self, Box<dyn Error + Sync + Send>>

Creates a new value of this type from a NULL SQL value. Read more
§

fn from_sql_nullable( + ty: &Type, + raw: Option<&'a [u8]>, +) -> Result<Self, Box<dyn Error + Sync + Send>>

A convenience function that delegates to from_sql and from_sql_null depending on the +value of raw.
source§

impl FromSql for EmbedFlags

source§

fn column_result(value: ValueRef<'_>) -> FromSqlResult<Self>

Converts SQLite value into Rust value.
source§

impl Hash for EmbedFlags

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where + H: Hasher, + Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl IntoIterator for EmbedFlags

source§

type Item = EmbedFlags

The type of the elements being iterated over.
source§

type IntoIter = Iter<EmbedFlags>

Which kind of iterator are we turning this into?
source§

fn into_iter(self) -> Self::IntoIter

Creates an iterator from a value. Read more
source§

impl LowerHex for EmbedFlags

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Not for EmbedFlags

source§

fn not(self) -> Self

The bitwise negation (!) of the bits in a flags value, truncating the result.

+
source§

type Output = EmbedFlags

The resulting type after applying the ! operator.
source§

impl Octal for EmbedFlags

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl PartialEq<ArchivedEmbedFlags> for EmbedFlags

source§

fn eq(&self, other: &ArchivedEmbedFlags) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl PartialEq<EmbedFlags> for ArchivedEmbedFlags

source§

fn eq(&self, other: &EmbedFlags) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl PartialEq for EmbedFlags

source§

fn eq(&self, other: &EmbedFlags) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl PublicFlags for EmbedFlags

source§

type Primitive = i16

The type of the underlying storage.
source§

type Internal = InternalBitFlags

The type of the internal field on the generated flags type.
source§

impl<S: Fallible + ?Sized> Serialize<S> for EmbedFlags

source§

fn serialize(&self, _: &mut S) -> Result<(), S::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.
source§

impl Serialize for EmbedFlags

source§

fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
where + S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Sub for EmbedFlags

source§

fn sub(self, other: Self) -> Self

The intersection of a source flags value with the complement of a target flags value (&!).

+

This method is not equivalent to self & !other when other has unknown bits set. +difference won’t truncate other, but the ! operator will.

+
source§

type Output = EmbedFlags

The resulting type after applying the - operator.
source§

impl SubAssign for EmbedFlags

source§

fn sub_assign(&mut self, other: Self)

The intersection of a source flags value with the complement of a target flags value (&!).

+

This method is not equivalent to self & !other when other has unknown bits set. +difference won’t truncate other, but the ! operator will.

+
source§

impl ToSql for EmbedFlags

source§

fn to_sql(&self) -> Result<ToSqlOutput<'_>>

Converts Rust value to SQLite value
source§

impl ToSql for EmbedFlags

source§

fn to_sql( + &self, + ty: &Type, + out: &mut BytesMut, +) -> Result<IsNull, Box<dyn Error + Sync + Send>>
where + Self: Sized,

Converts the value of self into the binary format of the specified +Postgres Type, appending it to out. Read more
source§

fn accepts(ty: &Type) -> bool

Determines if a value of this type can be converted to the specified +Postgres Type.
source§

fn to_sql_checked( + &self, + ty: &Type, + out: &mut BytesMut, +) -> Result<IsNull, Box<dyn Error + Sync + Send>>

An adaptor method used internally by Rust-Postgres. Read more
§

fn encode_format(&self, _ty: &Type) -> Format

Specify the encode format
source§

impl UpperHex for EmbedFlags

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Copy for EmbedFlags

source§

impl Eq for EmbedFlags

source§

impl StructuralPartialEq for EmbedFlags

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> BorrowToSql for T
where + T: ToSql,

§

fn borrow_to_sql(&self) -> &dyn ToSql

Returns a reference to self as a ToSql trait object.
source§

impl<T> CloneToUninit for T
where + T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T> ToOwned for T
where + T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
source§

impl<T> CommandBody for T
where + T: Send + Serialize + Archive,

source§

impl<T> CommandResult for T
where + T: Send + DeserializeOwned + Serialize + Archive,

source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> FromSqlOwned for T
where + T: for<'a> FromSql<'a>,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/embed/v1/struct.EmbedFooter.html b/client_sdk/models/embed/v1/struct.EmbedFooter.html new file mode 100644 index 000000000..804353d6e --- /dev/null +++ b/client_sdk/models/embed/v1/struct.EmbedFooter.html @@ -0,0 +1,57 @@ +EmbedFooter in client_sdk::models::embed::v1 - Rust

Struct client_sdk::models::embed::v1::EmbedFooter

source ·
pub struct EmbedFooter {
+    pub text: ThinString,
+    pub icon: Option<Box<EmbedMedia>>,
+}

Fields§

§text: ThinString§icon: Option<Box<EmbedMedia>>

Trait Implementations§

source§

impl Archive for EmbedFooter
where + ThinString: Archive, + Niche: ArchiveWith<Option<Box<EmbedMedia>>>,

source§

type Archived = ArchivedEmbedFooter

The archived representation of this type. Read more
source§

type Resolver = EmbedFooterResolver

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

impl Clone for EmbedFooter

source§

fn clone(&self) -> EmbedFooter

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for EmbedFooter

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for EmbedFooter

source§

fn default() -> EmbedFooter

Returns the “default value” for a type. Read more
source§

impl<'de> Deserialize<'de> for EmbedFooter

source§

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<__D: Fallible + ?Sized> Deserialize<EmbedFooter, __D> for Archived<EmbedFooter>
where + ThinString: Archive, + <ThinString as Archive>::Archived: Deserialize<ThinString, __D>, + Niche: ArchiveWith<Option<Box<EmbedMedia>>> + DeserializeWith<<Niche as ArchiveWith<Option<Box<EmbedMedia>>>>::Archived, Option<Box<EmbedMedia>>, __D>,

source§

fn deserialize( + &self, + deserializer: &mut __D, +) -> Result<EmbedFooter, <__D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<__S: Fallible + ?Sized> Serialize<__S> for EmbedFooter
where + ThinString: Serialize<__S>, + Niche: SerializeWith<Option<Box<EmbedMedia>>, __S>,

source§

fn serialize( + &self, + serializer: &mut __S, +) -> Result<<Self as Archive>::Resolver, <__S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.
source§

impl Serialize for EmbedFooter

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where + T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T> ToOwned for T
where + T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
source§

impl<T> CommandBody for T
where + T: Send + Serialize + Archive,

source§

impl<T> CommandResult for T
where + T: Send + DeserializeOwned + Serialize + Archive,

source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/embed/v1/struct.EmbedFooterResolver.html b/client_sdk/models/embed/v1/struct.EmbedFooterResolver.html new file mode 100644 index 000000000..150bc4990 --- /dev/null +++ b/client_sdk/models/embed/v1/struct.EmbedFooterResolver.html @@ -0,0 +1,23 @@ +EmbedFooterResolver in client_sdk::models::embed::v1 - Rust

Struct client_sdk::models::embed::v1::EmbedFooterResolver

source ·
pub struct EmbedFooterResolver
where + ThinString: Archive, + Niche: ArchiveWith<Option<Box<EmbedMedia>>>,
{ /* private fields */ }
Expand description

The resolver for an archived EmbedFooter

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/embed/v1/struct.EmbedMedia.html b/client_sdk/models/embed/v1/struct.EmbedMedia.html new file mode 100644 index 000000000..b357db02d --- /dev/null +++ b/client_sdk/models/embed/v1/struct.EmbedMedia.html @@ -0,0 +1,61 @@ +EmbedMedia in client_sdk::models::embed::v1 - Rust

Struct client_sdk::models::embed::v1::EmbedMedia

source ·
pub struct EmbedMedia {
+    pub media: BasicEmbedMedia,
+    pub alts: Vec<BasicEmbedMedia>,
+}

Fields§

§media: BasicEmbedMedia§alts: Vec<BasicEmbedMedia>

Implementations§

source§

impl EmbedMedia

source

pub fn normalize(this: &mut EmbedMedia)

If this is is empty, but the alternate field is not empty, set this to the alternate

+
source

pub fn is_empty(this: &Option<Box<EmbedMedia>>) -> bool

Trait Implementations§

source§

impl Archive for EmbedMedia
where + BasicEmbedMedia: Archive, + Vec<BasicEmbedMedia>: Archive,

source§

type Archived = ArchivedEmbedMedia

The archived representation of this type. Read more
source§

type Resolver = EmbedMediaResolver

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
source§

impl BoxedEmbedMediaExt for Box<EmbedMedia>

source§

fn read(self) -> EmbedMedia

source§

fn with_url(self, url: impl Into<ThinString>) -> Self

source§

fn with_dims(self, width: i32, height: i32) -> Self

source§

fn with_mime(self, mime: impl Into<SmolStr>) -> Self

source§

fn with_description(self, description: impl Into<ThinString>) -> Self

source§

impl Clone for EmbedMedia

source§

fn clone(&self) -> EmbedMedia

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for EmbedMedia

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for EmbedMedia

source§

fn default() -> EmbedMedia

Returns the “default value” for a type. Read more
source§

impl Deref for EmbedMedia

source§

type Target = BasicEmbedMedia

The resulting type after dereferencing.
source§

fn deref(&self) -> &BasicEmbedMedia

Dereferences the value.
source§

impl DerefMut for EmbedMedia

source§

fn deref_mut(&mut self) -> &mut BasicEmbedMedia

Mutably dereferences the value.
source§

impl<'de> Deserialize<'de> for EmbedMedia

source§

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<__D: Fallible + ?Sized> Deserialize<EmbedMedia, __D> for Archived<EmbedMedia>
where + BasicEmbedMedia: Archive, + <BasicEmbedMedia as Archive>::Archived: Deserialize<BasicEmbedMedia, __D>, + Vec<BasicEmbedMedia>: Archive, + <Vec<BasicEmbedMedia> as Archive>::Archived: Deserialize<Vec<BasicEmbedMedia>, __D>,

source§

fn deserialize( + &self, + deserializer: &mut __D, +) -> Result<EmbedMedia, <__D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<__S: Fallible + ?Sized> Serialize<__S> for EmbedMedia
where + BasicEmbedMedia: Serialize<__S>, + Vec<BasicEmbedMedia>: Serialize<__S>,

source§

fn serialize( + &self, + serializer: &mut __S, +) -> Result<<Self as Archive>::Resolver, <__S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.
source§

impl Serialize for EmbedMedia

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl VisitMedia for Box<EmbedMedia>

source§

fn visit_media<F>(&mut self, f: F)
where + F: FnMut(&mut BasicEmbedMedia),

source§

impl VisitMedia for EmbedMedia

source§

fn visit_media<F>(&mut self, f: F)
where + F: FnMut(&mut BasicEmbedMedia),

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where + T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T> ToOwned for T
where + T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
source§

impl<T> CommandBody for T
where + T: Send + Serialize + Archive,

source§

impl<T> CommandResult for T
where + T: Send + DeserializeOwned + Serialize + Archive,

source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/embed/v1/struct.EmbedMediaResolver.html b/client_sdk/models/embed/v1/struct.EmbedMediaResolver.html new file mode 100644 index 000000000..86ed51891 --- /dev/null +++ b/client_sdk/models/embed/v1/struct.EmbedMediaResolver.html @@ -0,0 +1,23 @@ +EmbedMediaResolver in client_sdk::models::embed::v1 - Rust

Struct client_sdk::models::embed::v1::EmbedMediaResolver

source ·
pub struct EmbedMediaResolver
where + BasicEmbedMedia: Archive, + Vec<BasicEmbedMedia>: Archive,
{ /* private fields */ }
Expand description

The resolver for an archived EmbedMedia

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/embed/v1/struct.EmbedProvider.html b/client_sdk/models/embed/v1/struct.EmbedProvider.html new file mode 100644 index 000000000..2ff96a191 --- /dev/null +++ b/client_sdk/models/embed/v1/struct.EmbedProvider.html @@ -0,0 +1,62 @@ +EmbedProvider in client_sdk::models::embed::v1 - Rust

Struct client_sdk::models::embed::v1::EmbedProvider

source ·
pub struct EmbedProvider {
+    pub name: Option<SmolStr>,
+    pub url: Option<ThinString>,
+    pub icon: Option<Box<EmbedMedia>>,
+}

Fields§

§name: Option<SmolStr>§url: Option<ThinString>§icon: Option<Box<EmbedMedia>>

Implementations§

Trait Implementations§

source§

impl Archive for EmbedProvider
where + Option<SmolStr>: Archive, + Option<ThinString>: Archive, + Niche: ArchiveWith<Option<Box<EmbedMedia>>>,

source§

type Archived = ArchivedEmbedProvider

The archived representation of this type. Read more
source§

type Resolver = EmbedProviderResolver

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

impl Clone for EmbedProvider

source§

fn clone(&self) -> EmbedProvider

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for EmbedProvider

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for EmbedProvider

source§

fn default() -> EmbedProvider

Returns the “default value” for a type. Read more
source§

impl<'de> Deserialize<'de> for EmbedProvider

source§

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<__D: Fallible + ?Sized> Deserialize<EmbedProvider, __D> for Archived<EmbedProvider>
where + Option<SmolStr>: Archive, + <Option<SmolStr> as Archive>::Archived: Deserialize<Option<SmolStr>, __D>, + Option<ThinString>: Archive, + <Option<ThinString> as Archive>::Archived: Deserialize<Option<ThinString>, __D>, + Niche: ArchiveWith<Option<Box<EmbedMedia>>> + DeserializeWith<<Niche as ArchiveWith<Option<Box<EmbedMedia>>>>::Archived, Option<Box<EmbedMedia>>, __D>,

source§

fn deserialize( + &self, + deserializer: &mut __D, +) -> Result<EmbedProvider, <__D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<__S: Fallible + ?Sized> Serialize<__S> for EmbedProvider
where + Option<SmolStr>: Serialize<__S>, + Option<ThinString>: Serialize<__S>, + Niche: SerializeWith<Option<Box<EmbedMedia>>, __S>,

source§

fn serialize( + &self, + serializer: &mut __S, +) -> Result<<Self as Archive>::Resolver, <__S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.
source§

impl Serialize for EmbedProvider

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where + T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T> ToOwned for T
where + T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
source§

impl<T> CommandBody for T
where + T: Send + Serialize + Archive,

source§

impl<T> CommandResult for T
where + T: Send + DeserializeOwned + Serialize + Archive,

source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/embed/v1/struct.EmbedProviderResolver.html b/client_sdk/models/embed/v1/struct.EmbedProviderResolver.html new file mode 100644 index 000000000..e6faa851a --- /dev/null +++ b/client_sdk/models/embed/v1/struct.EmbedProviderResolver.html @@ -0,0 +1,24 @@ +EmbedProviderResolver in client_sdk::models::embed::v1 - Rust

Struct client_sdk::models::embed::v1::EmbedProviderResolver

source ·
pub struct EmbedProviderResolver
where + Option<SmolStr>: Archive, + Option<ThinString>: Archive, + Niche: ArchiveWith<Option<Box<EmbedMedia>>>,
{ /* private fields */ }
Expand description

The resolver for an archived EmbedProvider

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/embed/v1/struct.EmbedV1.html b/client_sdk/models/embed/v1/struct.EmbedV1.html new file mode 100644 index 000000000..70a11c5b9 --- /dev/null +++ b/client_sdk/models/embed/v1/struct.EmbedV1.html @@ -0,0 +1,118 @@ +EmbedV1 in client_sdk::models::embed::v1 - Rust

Struct client_sdk::models::embed::v1::EmbedV1

source ·
pub struct EmbedV1 {
Show 17 fields + pub ts: Timestamp, + pub ty: EmbedType, + pub flags: EmbedFlags, + pub url: Option<ThinString>, + pub canonical: Option<ThinString>, + pub title: Option<ThinString>, + pub description: Option<ThinString>, + pub color: Option<u32>, + pub author: Option<EmbedAuthor>, + pub provider: EmbedProvider, + pub obj: Option<Box<EmbedMedia>>, + pub img: Option<Box<EmbedMedia>>, + pub audio: Option<Box<EmbedMedia>>, + pub video: Option<Box<EmbedMedia>>, + pub thumb: Option<Box<EmbedMedia>>, + pub fields: Vec<EmbedField>, + pub footer: Option<EmbedFooter>, +
}
Expand description

An embed is metadata taken from a given URL by loading said URL, parsing any meta tags, and fetching +extra information from oEmbed sources.

+

Fields§

§ts: Timestamp

Timestamp when the embed was retreived

+
§ty: EmbedType

Embed type

+
§flags: EmbedFlags§url: Option<ThinString>

URL fetched

+
§canonical: Option<ThinString>

Canonical URL

+
§title: Option<ThinString>§description: Option<ThinString>

Description, usually from the Open-Graph API

+
§color: Option<u32>

Accent Color

+
§author: Option<EmbedAuthor>§provider: EmbedProvider

oEmbed Provider

+
§obj: Option<Box<EmbedMedia>>§img: Option<Box<EmbedMedia>>§audio: Option<Box<EmbedMedia>>§video: Option<Box<EmbedMedia>>§thumb: Option<Box<EmbedMedia>>§fields: Vec<EmbedField>§footer: Option<EmbedFooter>

Implementations§

source§

impl EmbedV1

source

pub fn has_fullsize_media(&self) -> bool

source

pub fn visit_full_media<F>(&mut self, f: F)
where + F: FnMut(&mut EmbedMedia),

Trait Implementations§

source§

impl Archive for EmbedV1
where + Timestamp: Archive, + EmbedType: Archive, + EmbedFlags: Archive, + Option<ThinString>: Archive, + Option<u32>: Archive, + Option<EmbedAuthor>: Archive, + EmbedProvider: Archive, + Niche: ArchiveWith<Option<Box<EmbedMedia>>>, + Vec<EmbedField>: Archive, + Option<EmbedFooter>: Archive,

source§

type Archived = ArchivedEmbedV1

The archived representation of this type. Read more
source§

type Resolver = EmbedV1Resolver

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

impl Clone for EmbedV1

source§

fn clone(&self) -> EmbedV1

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for EmbedV1

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for EmbedV1

source§

fn default() -> EmbedV1

Returns the “default value” for a type. Read more
source§

impl<'de> Deserialize<'de> for EmbedV1

source§

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<__D: Fallible + ?Sized> Deserialize<EmbedV1, __D> for Archived<EmbedV1>
where + Timestamp: Archive, + <Timestamp as Archive>::Archived: Deserialize<Timestamp, __D>, + EmbedType: Archive, + <EmbedType as Archive>::Archived: Deserialize<EmbedType, __D>, + EmbedFlags: Archive, + <EmbedFlags as Archive>::Archived: Deserialize<EmbedFlags, __D>, + Option<ThinString>: Archive, + <Option<ThinString> as Archive>::Archived: Deserialize<Option<ThinString>, __D>, + Option<u32>: Archive, + <Option<u32> as Archive>::Archived: Deserialize<Option<u32>, __D>, + Option<EmbedAuthor>: Archive, + <Option<EmbedAuthor> as Archive>::Archived: Deserialize<Option<EmbedAuthor>, __D>, + EmbedProvider: Archive, + <EmbedProvider as Archive>::Archived: Deserialize<EmbedProvider, __D>, + Niche: ArchiveWith<Option<Box<EmbedMedia>>> + DeserializeWith<<Niche as ArchiveWith<Option<Box<EmbedMedia>>>>::Archived, Option<Box<EmbedMedia>>, __D>, + Vec<EmbedField>: Archive, + <Vec<EmbedField> as Archive>::Archived: Deserialize<Vec<EmbedField>, __D>, + Option<EmbedFooter>: Archive, + <Option<EmbedFooter> as Archive>::Archived: Deserialize<Option<EmbedFooter>, __D>,

source§

fn deserialize( + &self, + deserializer: &mut __D, +) -> Result<EmbedV1, <__D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<__S: Fallible + ?Sized> Serialize<__S> for EmbedV1
where + Timestamp: Serialize<__S>, + EmbedType: Serialize<__S>, + EmbedFlags: Serialize<__S>, + Option<ThinString>: Serialize<__S>, + Option<u32>: Serialize<__S>, + Option<EmbedAuthor>: Serialize<__S>, + EmbedProvider: Serialize<__S>, + Niche: SerializeWith<Option<Box<EmbedMedia>>, __S>, + Vec<EmbedField>: Serialize<__S>, + Option<EmbedFooter>: Serialize<__S>,

source§

fn serialize( + &self, + serializer: &mut __S, +) -> Result<<Self as Archive>::Resolver, <__S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.
source§

impl Serialize for EmbedV1

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl VisitMedia for EmbedV1

source§

fn visit_media<F>(&mut self, f: F)
where + F: FnMut(&mut BasicEmbedMedia),

Visit each EmbedMedia to mutate them (such as to generate the proxy signature)

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where + T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T> ToOwned for T
where + T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
source§

impl<T> CommandBody for T
where + T: Send + Serialize + Archive,

source§

impl<T> CommandResult for T
where + T: Send + DeserializeOwned + Serialize + Archive,

source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/embed/v1/struct.EmbedV1Resolver.html b/client_sdk/models/embed/v1/struct.EmbedV1Resolver.html new file mode 100644 index 000000000..cb95a6e14 --- /dev/null +++ b/client_sdk/models/embed/v1/struct.EmbedV1Resolver.html @@ -0,0 +1,31 @@ +EmbedV1Resolver in client_sdk::models::embed::v1 - Rust

Struct client_sdk::models::embed::v1::EmbedV1Resolver

source ·
pub struct EmbedV1Resolver
where + Timestamp: Archive, + EmbedType: Archive, + EmbedFlags: Archive, + Option<ThinString>: Archive, + Option<u32>: Archive, + Option<EmbedAuthor>: Archive, + EmbedProvider: Archive, + Niche: ArchiveWith<Option<Box<EmbedMedia>>>, + Vec<EmbedField>: Archive, + Option<EmbedFooter>: Archive,
{ /* private fields */ }
Expand description

The resolver for an archived EmbedV1

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/embed/v1/trait.BoxedEmbedMediaExt.html b/client_sdk/models/embed/v1/trait.BoxedEmbedMediaExt.html new file mode 100644 index 000000000..b56b2304f --- /dev/null +++ b/client_sdk/models/embed/v1/trait.BoxedEmbedMediaExt.html @@ -0,0 +1,8 @@ +BoxedEmbedMediaExt in client_sdk::models::embed::v1 - Rust

Trait client_sdk::models::embed::v1::BoxedEmbedMediaExt

source ·
pub trait BoxedEmbedMediaExt {
+    // Required methods
+    fn read(self) -> EmbedMedia;
+    fn with_url(self, url: impl Into<ThinString>) -> Self;
+    fn with_dims(self, width: i32, height: i32) -> Self;
+    fn with_mime(self, mime: impl Into<SmolStr>) -> Self;
+    fn with_description(self, description: impl Into<ThinString>) -> Self;
+}

Required Methods§

source

fn read(self) -> EmbedMedia

source

fn with_url(self, url: impl Into<ThinString>) -> Self

source

fn with_dims(self, width: i32, height: i32) -> Self

source

fn with_mime(self, mime: impl Into<SmolStr>) -> Self

source

fn with_description(self, description: impl Into<ThinString>) -> Self

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl BoxedEmbedMediaExt for Box<EmbedMedia>

source§

fn read(self) -> EmbedMedia

source§

fn with_url(self, url: impl Into<ThinString>) -> Self

source§

fn with_dims(self, width: i32, height: i32) -> Self

source§

fn with_mime(self, mime: impl Into<SmolStr>) -> Self

source§

fn with_description(self, description: impl Into<ThinString>) -> Self

Implementors§

\ No newline at end of file diff --git a/client_sdk/models/embed/v1/trait.VisitMedia.html b/client_sdk/models/embed/v1/trait.VisitMedia.html new file mode 100644 index 000000000..d6637398b --- /dev/null +++ b/client_sdk/models/embed/v1/trait.VisitMedia.html @@ -0,0 +1,10 @@ +VisitMedia in client_sdk::models::embed::v1 - Rust

Trait client_sdk::models::embed::v1::VisitMedia

source ·
pub trait VisitMedia {
+    // Required method
+    fn visit_media<F>(&mut self, f: F)
+       where F: FnMut(&mut BasicEmbedMedia);
+}

Required Methods§

source

fn visit_media<F>(&mut self, f: F)
where + F: FnMut(&mut BasicEmbedMedia),

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl VisitMedia for Box<EmbedMedia>

source§

fn visit_media<F>(&mut self, f: F)
where + F: FnMut(&mut BasicEmbedMedia),

source§

impl VisitMedia for [BasicEmbedMedia]

source§

fn visit_media<F>(&mut self, f: F)
where + F: FnMut(&mut BasicEmbedMedia),

source§

impl<T> VisitMedia for Option<T>
where + T: VisitMedia,

source§

fn visit_media<F>(&mut self, f: F)
where + F: FnMut(&mut BasicEmbedMedia),

Implementors§

\ No newline at end of file diff --git a/client_sdk/models/embed/v1/type.UrlSignature.html b/client_sdk/models/embed/v1/type.UrlSignature.html new file mode 100644 index 000000000..262eb6914 --- /dev/null +++ b/client_sdk/models/embed/v1/type.UrlSignature.html @@ -0,0 +1 @@ +UrlSignature in client_sdk::models::embed::v1 - Rust

Type Alias client_sdk::models::embed::v1::UrlSignature

source ·
pub type UrlSignature = FixedStr<27>;

Aliased Type§

struct UrlSignature { /* private fields */ }
\ No newline at end of file diff --git a/client_sdk/models/emote/enum.ArchivedEmote.html b/client_sdk/models/emote/enum.ArchivedEmote.html new file mode 100644 index 000000000..c516e2657 --- /dev/null +++ b/client_sdk/models/emote/enum.ArchivedEmote.html @@ -0,0 +1,43 @@ +ArchivedEmote in client_sdk::models::emote - Rust

Enum client_sdk::models::emote::ArchivedEmote

source ·
#[repr(u8)]
pub enum ArchivedEmote
where + SmolStr: Archive, + CustomEmote: Archive,
{ + Emoji { + emoji: <SmolStr as Archive>::Archived, + }, + Custom(<CustomEmote as Archive>::Archived), +}
Expand description

An archived Emote

+

Variants§

§

Emoji

The archived counterpart of Emote::Emoji

+

Fields

§emoji: <SmolStr as Archive>::Archived
§

Custom(<CustomEmote as Archive>::Archived)

The archived counterpart of Emote::Custom

+

Trait Implementations§

source§

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedEmote
where + SmolStr: Archive, + CustomEmote: Archive, + <__C as Fallible>::Error: Source, + <SmolStr as Archive>::Archived: CheckBytes<__C>, + <CustomEmote as Archive>::Archived: CheckBytes<__C>,

source§

unsafe fn check_bytes( + value: *const Self, + context: &mut __C, +) -> Result<(), <__C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Portable for ArchivedEmote
where + SmolStr: Archive, + CustomEmote: Archive, + <SmolStr as Archive>::Archived: Portable, + <CustomEmote as Archive>::Archived: Portable,

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/emote/enum.Emote.html b/client_sdk/models/emote/enum.Emote.html new file mode 100644 index 000000000..4bf4b36ac --- /dev/null +++ b/client_sdk/models/emote/enum.Emote.html @@ -0,0 +1,60 @@ +Emote in client_sdk::models::emote - Rust

Enum client_sdk::models::emote::Emote

source ·
pub enum Emote {
+    Emoji {
+        emoji: SmolStr,
+    },
+    Custom(CustomEmote),
+}

Variants§

§

Emoji

Fields

§emoji: SmolStr
§

Custom(CustomEmote)

Trait Implementations§

source§

impl Archive for Emote
where + SmolStr: Archive, + CustomEmote: Archive,

source§

type Archived = ArchivedEmote

The archived representation of this type. Read more
source§

type Resolver = EmoteResolver

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

impl Clone for Emote

source§

fn clone(&self) -> Emote

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Emote

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for Emote

source§

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<__D: Fallible + ?Sized> Deserialize<Emote, __D> for Archived<Emote>
where + SmolStr: Archive, + <SmolStr as Archive>::Archived: Deserialize<SmolStr, __D>, + CustomEmote: Archive, + <CustomEmote as Archive>::Archived: Deserialize<CustomEmote, __D>,

source§

fn deserialize( + &self, + deserializer: &mut __D, +) -> Result<Emote, <__D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<__S: Fallible + ?Sized> Serialize<__S> for Emote
where + SmolStr: Serialize<__S>, + CustomEmote: Serialize<__S>,

source§

fn serialize( + &self, + serializer: &mut __S, +) -> Result<<Self as Archive>::Resolver, <__S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.
source§

impl Serialize for Emote

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

§

impl Freeze for Emote

§

impl RefUnwindSafe for Emote

§

impl Send for Emote

§

impl Sync for Emote

§

impl Unpin for Emote

§

impl UnwindSafe for Emote

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where + T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T> ToOwned for T
where + T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
source§

impl<T> CommandBody for T
where + T: Send + Serialize + Archive,

source§

impl<T> CommandResult for T
where + T: Send + DeserializeOwned + Serialize + Archive,

source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/emote/enum.EmoteResolver.html b/client_sdk/models/emote/enum.EmoteResolver.html new file mode 100644 index 000000000..fed77d82b --- /dev/null +++ b/client_sdk/models/emote/enum.EmoteResolver.html @@ -0,0 +1,30 @@ +EmoteResolver in client_sdk::models::emote - Rust

Enum client_sdk::models::emote::EmoteResolver

source ·
pub enum EmoteResolver
where + SmolStr: Archive, + CustomEmote: Archive,
{ + Emoji { + emoji: <SmolStr as Archive>::Resolver, + }, + Custom(<CustomEmote as Archive>::Resolver), +}
Expand description

The resolver for an archived Emote

+

Variants§

§

Emoji

The resolver for Emote::Emoji

+

Fields

§emoji: <SmolStr as Archive>::Resolver
§

Custom(<CustomEmote as Archive>::Resolver)

The resolver for Emote::Custom

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/emote/index.html b/client_sdk/models/emote/index.html new file mode 100644 index 000000000..0b9316760 --- /dev/null +++ b/client_sdk/models/emote/index.html @@ -0,0 +1,2 @@ +client_sdk::models::emote - Rust

Module client_sdk::models::emote

source ·

Structs§

Enums§

\ No newline at end of file diff --git a/client_sdk/models/emote/sidebar-items.js b/client_sdk/models/emote/sidebar-items.js new file mode 100644 index 000000000..6870d9718 --- /dev/null +++ b/client_sdk/models/emote/sidebar-items.js @@ -0,0 +1 @@ +window.SIDEBAR_ITEMS = {"enum":["ArchivedEmote","Emote","EmoteResolver"],"struct":["ArchivedCustomEmote","ArchivedEmoteFlags","CustomEmote","CustomEmoteResolver","EmoteFlags"]}; \ No newline at end of file diff --git a/client_sdk/models/emote/struct.ArchivedCustomEmote.html b/client_sdk/models/emote/struct.ArchivedCustomEmote.html new file mode 100644 index 000000000..451657e66 --- /dev/null +++ b/client_sdk/models/emote/struct.ArchivedCustomEmote.html @@ -0,0 +1,63 @@ +ArchivedCustomEmote in client_sdk::models::emote - Rust

Struct client_sdk::models::emote::ArchivedCustomEmote

source ·
#[repr(C)]
pub struct ArchivedCustomEmote
where + EmoteId: Archive, + PartyId: Archive, + FileId: Archive, + SmolStr: Archive, + EmoteFlags: Archive, + f32: Archive,
{ + pub id: <EmoteId as Archive>::Archived, + pub party_id: <PartyId as Archive>::Archived, + pub asset: <FileId as Archive>::Archived, + pub name: <SmolStr as Archive>::Archived, + pub flags: <EmoteFlags as Archive>::Archived, + pub aspect_ratio: <f32 as Archive>::Archived, +}
Expand description

An archived CustomEmote

+

Fields§

§id: <EmoteId as Archive>::Archived§party_id: <PartyId as Archive>::Archived§asset: <FileId as Archive>::Archived§name: <SmolStr as Archive>::Archived§flags: <EmoteFlags as Archive>::Archived§aspect_ratio: <f32 as Archive>::Archived

Trait Implementations§

source§

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedCustomEmote
where + EmoteId: Archive, + PartyId: Archive, + FileId: Archive, + SmolStr: Archive, + EmoteFlags: Archive, + f32: Archive, + <__C as Fallible>::Error: Trace, + <EmoteId as Archive>::Archived: CheckBytes<__C>, + <PartyId as Archive>::Archived: CheckBytes<__C>, + <FileId as Archive>::Archived: CheckBytes<__C>, + <SmolStr as Archive>::Archived: CheckBytes<__C>, + <EmoteFlags as Archive>::Archived: CheckBytes<__C>, + <f32 as Archive>::Archived: CheckBytes<__C>,

source§

unsafe fn check_bytes( + value: *const Self, + context: &mut __C, +) -> Result<(), <__C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Portable for ArchivedCustomEmote
where + EmoteId: Archive, + PartyId: Archive, + FileId: Archive, + SmolStr: Archive, + EmoteFlags: Archive, + f32: Archive, + <EmoteId as Archive>::Archived: Portable, + <PartyId as Archive>::Archived: Portable, + <FileId as Archive>::Archived: Portable, + <SmolStr as Archive>::Archived: Portable, + <EmoteFlags as Archive>::Archived: Portable, + <f32 as Archive>::Archived: Portable,

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/emote/struct.ArchivedEmoteFlags.html b/client_sdk/models/emote/struct.ArchivedEmoteFlags.html new file mode 100644 index 000000000..bb5596796 --- /dev/null +++ b/client_sdk/models/emote/struct.ArchivedEmoteFlags.html @@ -0,0 +1,71 @@ +ArchivedEmoteFlags in client_sdk::models::emote - Rust

Struct client_sdk::models::emote::ArchivedEmoteFlags

source ·
#[repr(transparent)]
pub struct ArchivedEmoteFlags(pub Archived<i16>);
Expand description

Archived version of EmoteFlags, automatically made endian-agnostic. +When comparing with the native bitflags, the archived bitflags will truncate any extra bits.

+

Tuple Fields§

§0: Archived<i16>

Implementations§

source§

impl ArchivedEmoteFlags

source

pub const fn to_native(&self) -> Option<EmoteFlags>

Converts this archived bitflags to the native bitflags type, returning None if any +bits are set that are not part of the bitflags.

+

See EmoteFlags::from_bits for more information.

+
source

pub const fn to_native_truncate(&self) -> EmoteFlags

Converts this archived bitflags to the native bitflags type, truncating any extra bits.

+

See EmoteFlags::from_bits_truncate for more information.

+
source

pub const fn to_native_retain(&self) -> EmoteFlags

Converts this archived bitflags to the native bitflags type, retaining all bits, even +if they are not part of the bitflags.

+

See EmoteFlags::from_bits_retain for more information.

+
source

pub const fn from_native(native: EmoteFlags) -> Self

Converts the native bitflags type to an archived bitflags.

+
source

pub const fn contains(&self, other: EmoteFlags) -> bool

Check if the archived bitflags contains all the given bitflags.

+

See EmoteFlags::contains for more information.

+
source

pub const fn intersects(&self, other: EmoteFlags) -> bool

Check if the archived bitflags intersect with any of the given bitflags.

+

See EmoteFlags::intersects for more information.

+
source

pub const fn is_empty(&self) -> bool

Whether all bits in this flags value are unset.

+
source

pub const fn is_all(&self) -> bool

Whether all known bits in this flags value are set.

+
source

pub const fn bits(&self) -> i16

Get the underlying raw bits value.

+

Note that this may contain bits that are not part of the original bitflags, +if serialized with a different version of the bitflags. Use to_native or +to_native_truncate to convert to the native bitflags type +without extra bits.

+

Trait Implementations§

source§

impl<C> CheckBytes<C> for ArchivedEmoteFlags
where + C: Fallible + ?Sized, + <C as Fallible>::Error: Source,

source§

unsafe fn check_bytes( + value: *const Self, + ctx: &mut C, +) -> Result<(), <C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Clone for ArchivedEmoteFlags

source§

fn clone(&self) -> ArchivedEmoteFlags

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ArchivedEmoteFlags

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<D: Fallible + ?Sized> Deserialize<EmoteFlags, D> for ArchivedEmoteFlags

source§

fn deserialize(&self, _: &mut D) -> Result<EmoteFlags, D::Error>

Deserializes using the given deserializer
source§

impl From<ArchivedEmoteFlags> for EmoteFlags

source§

fn from(archived: ArchivedEmoteFlags) -> Self

Converts to this type from the input type.
source§

impl PartialEq<ArchivedEmoteFlags> for EmoteFlags

source§

fn eq(&self, other: &ArchivedEmoteFlags) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl PartialEq<EmoteFlags> for ArchivedEmoteFlags

source§

fn eq(&self, other: &EmoteFlags) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl PartialEq for ArchivedEmoteFlags

source§

fn eq(&self, other: &ArchivedEmoteFlags) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl ToSql for ArchivedEmoteFlags

source§

fn to_sql( + &self, + ty: &Type, + out: &mut BytesMut, +) -> Result<IsNull, Box<dyn Error + Sync + Send>>
where + Self: Sized,

Converts the value of self into the binary format of the specified +Postgres Type, appending it to out. Read more
source§

fn accepts(ty: &Type) -> bool

Determines if a value of this type can be converted to the specified +Postgres Type.
source§

fn to_sql_checked( + &self, + ty: &Type, + out: &mut BytesMut, +) -> Result<IsNull, Box<dyn Error + Sync + Send>>

An adaptor method used internally by Rust-Postgres. Read more
§

fn encode_format(&self, _ty: &Type) -> Format

Specify the encode format
source§

impl Copy for ArchivedEmoteFlags

source§

impl Eq for ArchivedEmoteFlags

source§

impl NoUndef for ArchivedEmoteFlags

source§

impl Portable for ArchivedEmoteFlags

source§

impl StructuralPartialEq for ArchivedEmoteFlags

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> BorrowToSql for T
where + T: ToSql,

§

fn borrow_to_sql(&self) -> &dyn ToSql

Returns a reference to self as a ToSql trait object.
source§

impl<T> CloneToUninit for T
where + T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where + T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/emote/struct.CustomEmote.html b/client_sdk/models/emote/struct.CustomEmote.html new file mode 100644 index 000000000..777e1e40b --- /dev/null +++ b/client_sdk/models/emote/struct.CustomEmote.html @@ -0,0 +1,78 @@ +CustomEmote in client_sdk::models::emote - Rust

Struct client_sdk::models::emote::CustomEmote

source ·
pub struct CustomEmote {
+    pub id: EmoteId,
+    pub party_id: PartyId,
+    pub asset: FileId,
+    pub name: SmolStr,
+    pub flags: EmoteFlags,
+    pub aspect_ratio: f32,
+}

Fields§

§id: EmoteId§party_id: PartyId§asset: FileId§name: SmolStr§flags: EmoteFlags§aspect_ratio: f32

Trait Implementations§

source§

impl Archive for CustomEmote
where + EmoteId: Archive, + PartyId: Archive, + FileId: Archive, + SmolStr: Archive, + EmoteFlags: Archive, + f32: Archive,

source§

type Archived = ArchivedCustomEmote

The archived representation of this type. Read more
source§

type Resolver = CustomEmoteResolver

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
source§

impl Clone for CustomEmote

source§

fn clone(&self) -> CustomEmote

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for CustomEmote

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for CustomEmote

source§

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<__D: Fallible + ?Sized> Deserialize<CustomEmote, __D> for Archived<CustomEmote>
where + EmoteId: Archive, + <EmoteId as Archive>::Archived: Deserialize<EmoteId, __D>, + PartyId: Archive, + <PartyId as Archive>::Archived: Deserialize<PartyId, __D>, + FileId: Archive, + <FileId as Archive>::Archived: Deserialize<FileId, __D>, + SmolStr: Archive, + <SmolStr as Archive>::Archived: Deserialize<SmolStr, __D>, + EmoteFlags: Archive, + <EmoteFlags as Archive>::Archived: Deserialize<EmoteFlags, __D>, + f32: Archive, + <f32 as Archive>::Archived: Deserialize<f32, __D>,

source§

fn deserialize( + &self, + deserializer: &mut __D, +) -> Result<CustomEmote, <__D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<__S: Fallible + ?Sized> Serialize<__S> for CustomEmote
where + EmoteId: Serialize<__S>, + PartyId: Serialize<__S>, + FileId: Serialize<__S>, + SmolStr: Serialize<__S>, + EmoteFlags: Serialize<__S>, + f32: Serialize<__S>,

source§

fn serialize( + &self, + serializer: &mut __S, +) -> Result<<Self as Archive>::Resolver, <__S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.
source§

impl Serialize for CustomEmote

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where + T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T> ToOwned for T
where + T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
source§

impl<T> CommandBody for T
where + T: Send + Serialize + Archive,

source§

impl<T> CommandResult for T
where + T: Send + DeserializeOwned + Serialize + Archive,

source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/emote/struct.CustomEmoteResolver.html b/client_sdk/models/emote/struct.CustomEmoteResolver.html new file mode 100644 index 000000000..f07e022e6 --- /dev/null +++ b/client_sdk/models/emote/struct.CustomEmoteResolver.html @@ -0,0 +1,27 @@ +CustomEmoteResolver in client_sdk::models::emote - Rust

Struct client_sdk::models::emote::CustomEmoteResolver

source ·
pub struct CustomEmoteResolver
where + EmoteId: Archive, + PartyId: Archive, + FileId: Archive, + SmolStr: Archive, + EmoteFlags: Archive, + f32: Archive,
{ /* private fields */ }
Expand description

The resolver for an archived CustomEmote

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/emote/struct.EmoteFlags.html b/client_sdk/models/emote/struct.EmoteFlags.html new file mode 100644 index 000000000..e910ba45c --- /dev/null +++ b/client_sdk/models/emote/struct.EmoteFlags.html @@ -0,0 +1,129 @@ +EmoteFlags in client_sdk::models::emote - Rust

Struct client_sdk::models::emote::EmoteFlags

source ·
pub struct EmoteFlags(/* private fields */);

Implementations§

source§

impl EmoteFlags

source

pub const ANIMATED: Self = _

source

pub const STICKER: Self = _

source

pub const NSFW: Self = _

source§

impl EmoteFlags

source

pub const fn empty() -> Self

Get a flags value with all bits unset.

+
source

pub const fn all() -> Self

Get a flags value with all known bits set.

+
source

pub const fn bits(&self) -> i16

Get the underlying bits value.

+

The returned value is exactly the bits set in this flags value.

+
source

pub const fn from_bits(bits: i16) -> Option<Self>

Convert from a bits value.

+

This method will return None if any unknown bits are set.

+
source

pub const fn from_bits_truncate(bits: i16) -> Self

Convert from a bits value, unsetting any unknown bits.

+
source

pub const fn from_bits_retain(bits: i16) -> Self

Convert from a bits value exactly.

+
source

pub fn from_name(name: &str) -> Option<Self>

Get a flags value with the bits of a flag with the given name set.

+

This method will return None if name is empty or doesn’t +correspond to any named flag.

+
source

pub const fn is_empty(&self) -> bool

Whether all bits in this flags value are unset.

+
source

pub const fn is_all(&self) -> bool

Whether all known bits in this flags value are set.

+
source

pub const fn intersects(&self, other: Self) -> bool

Whether any set bits in a source flags value are also set in a target flags value.

+
source

pub const fn contains(&self, other: Self) -> bool

Whether all set bits in a source flags value are also set in a target flags value.

+
source

pub fn insert(&mut self, other: Self)

The bitwise or (|) of the bits in two flags values.

+
source

pub fn remove(&mut self, other: Self)

The intersection of a source flags value with the complement of a target flags value (&!).

+

This method is not equivalent to self & !other when other has unknown bits set. +remove won’t truncate other, but the ! operator will.

+
source

pub fn toggle(&mut self, other: Self)

The bitwise exclusive-or (^) of the bits in two flags values.

+
source

pub fn set(&mut self, other: Self, value: bool)

Call insert when value is true or remove when value is false.

+
source

pub const fn intersection(self, other: Self) -> Self

The bitwise and (&) of the bits in two flags values.

+
source

pub const fn union(self, other: Self) -> Self

The bitwise or (|) of the bits in two flags values.

+
source

pub const fn difference(self, other: Self) -> Self

The intersection of a source flags value with the complement of a target flags value (&!).

+

This method is not equivalent to self & !other when other has unknown bits set. +difference won’t truncate other, but the ! operator will.

+
source

pub const fn symmetric_difference(self, other: Self) -> Self

The bitwise exclusive-or (^) of the bits in two flags values.

+
source

pub const fn complement(self) -> Self

The bitwise negation (!) of the bits in a flags value, truncating the result.

+
source§

impl EmoteFlags

source

pub const fn iter(&self) -> Iter<EmoteFlags>

Yield a set of contained flags values.

+

Each yielded flags value will correspond to a defined named flag. Any unknown bits +will be yielded together as a final flags value.

+
source

pub const fn iter_names(&self) -> IterNames<EmoteFlags>

Yield a set of contained named flags values.

+

This method is like iter, except only yields bits in contained named flags. +Any unknown bits, or bits not corresponding to a contained flag will not be yielded.

+

Trait Implementations§

source§

impl Archive for EmoteFlags

source§

type Archived = ArchivedEmoteFlags

The archived representation of this type. Read more
source§

type Resolver = ()

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

fn resolve(&self, _: (), out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
source§

impl Binary for EmoteFlags

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl BitAnd for EmoteFlags

source§

fn bitand(self, other: Self) -> Self

The bitwise and (&) of the bits in two flags values.

+
source§

type Output = EmoteFlags

The resulting type after applying the & operator.
source§

impl BitAndAssign for EmoteFlags

source§

fn bitand_assign(&mut self, other: Self)

The bitwise and (&) of the bits in two flags values.

+
source§

impl BitOr for EmoteFlags

source§

fn bitor(self, other: EmoteFlags) -> Self

The bitwise or (|) of the bits in two flags values.

+
source§

type Output = EmoteFlags

The resulting type after applying the | operator.
source§

impl BitOrAssign for EmoteFlags

source§

fn bitor_assign(&mut self, other: Self)

The bitwise or (|) of the bits in two flags values.

+
source§

impl BitXor for EmoteFlags

source§

fn bitxor(self, other: Self) -> Self

The bitwise exclusive-or (^) of the bits in two flags values.

+
source§

type Output = EmoteFlags

The resulting type after applying the ^ operator.
source§

impl BitXorAssign for EmoteFlags

source§

fn bitxor_assign(&mut self, other: Self)

The bitwise exclusive-or (^) of the bits in two flags values.

+
source§

impl Clone for EmoteFlags

source§

fn clone(&self) -> EmoteFlags

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for EmoteFlags

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for EmoteFlags

source§

fn deserialize<D>(deserializer: D) -> Result<EmoteFlags, D::Error>
where + D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl<D: Fallible + ?Sized> Deserialize<EmoteFlags, D> for ArchivedEmoteFlags

source§

fn deserialize(&self, _: &mut D) -> Result<EmoteFlags, D::Error>

Deserializes using the given deserializer
source§

impl Extend<EmoteFlags> for EmoteFlags

source§

fn extend<T: IntoIterator<Item = Self>>(&mut self, iterator: T)

The bitwise or (|) of the bits in each flags value.

+
source§

fn extend_one(&mut self, item: A)

🔬This is a nightly-only experimental API. (extend_one)
Extends a collection with exactly one element.
source§

fn extend_reserve(&mut self, additional: usize)

🔬This is a nightly-only experimental API. (extend_one)
Reserves capacity in a collection for the given number of additional elements. Read more
source§

impl Flags for EmoteFlags

source§

const FLAGS: &'static [Flag<EmoteFlags>] = _

The set of defined flags.
source§

type Bits = i16

The underlying bits type.
source§

fn bits(&self) -> i16

Get the underlying bits value. Read more
source§

fn from_bits_retain(bits: i16) -> EmoteFlags

Convert from a bits value exactly.
§

fn empty() -> Self

Get a flags value with all bits unset.
§

fn all() -> Self

Get a flags value with all known bits set.
§

fn from_bits(bits: Self::Bits) -> Option<Self>

Convert from a bits value. Read more
§

fn from_bits_truncate(bits: Self::Bits) -> Self

Convert from a bits value, unsetting any unknown bits.
§

fn from_name(name: &str) -> Option<Self>

Get a flags value with the bits of a flag with the given name set. Read more
§

fn iter(&self) -> Iter<Self>

Yield a set of contained flags values. Read more
§

fn iter_names(&self) -> IterNames<Self>

Yield a set of contained named flags values. Read more
§

fn is_empty(&self) -> bool

Whether all bits in this flags value are unset.
§

fn is_all(&self) -> bool

Whether all known bits in this flags value are set.
§

fn intersects(&self, other: Self) -> bool
where + Self: Sized,

Whether any set bits in a source flags value are also set in a target flags value.
§

fn contains(&self, other: Self) -> bool
where + Self: Sized,

Whether all set bits in a source flags value are also set in a target flags value.
§

fn insert(&mut self, other: Self)
where + Self: Sized,

The bitwise or (|) of the bits in two flags values.
§

fn remove(&mut self, other: Self)
where + Self: Sized,

The intersection of a source flags value with the complement of a target flags value (&!). Read more
§

fn toggle(&mut self, other: Self)
where + Self: Sized,

The bitwise exclusive-or (^) of the bits in two flags values.
§

fn set(&mut self, other: Self, value: bool)
where + Self: Sized,

Call [Flags::insert] when value is true or [Flags::remove] when value is false.
§

fn intersection(self, other: Self) -> Self

The bitwise and (&) of the bits in two flags values.
§

fn union(self, other: Self) -> Self

The bitwise or (|) of the bits in two flags values.
§

fn difference(self, other: Self) -> Self

The intersection of a source flags value with the complement of a target flags value (&!). Read more
§

fn symmetric_difference(self, other: Self) -> Self

The bitwise exclusive-or (^) of the bits in two flags values.
§

fn complement(self) -> Self

The bitwise negation (!) of the bits in a flags value, truncating the result.
source§

impl From<ArchivedEmoteFlags> for EmoteFlags

source§

fn from(archived: ArchivedEmoteFlags) -> Self

Converts to this type from the input type.
source§

impl FromIterator<EmoteFlags> for EmoteFlags

source§

fn from_iter<T: IntoIterator<Item = Self>>(iterator: T) -> Self

The bitwise or (|) of the bits in each flags value.

+
source§

impl<'a> FromSql<'a> for EmoteFlags

source§

fn from_sql( + ty: &Type, + raw: &'a [u8], +) -> Result<Self, Box<dyn Error + Sync + Send>>

Creates a new value of this type from a buffer of data of the specified +Postgres Type in its binary format. Read more
source§

fn accepts(ty: &Type) -> bool

Determines if a value of this type can be created from the specified +Postgres Type.
§

fn from_sql_null(ty: &Type) -> Result<Self, Box<dyn Error + Sync + Send>>

Creates a new value of this type from a NULL SQL value. Read more
§

fn from_sql_nullable( + ty: &Type, + raw: Option<&'a [u8]>, +) -> Result<Self, Box<dyn Error + Sync + Send>>

A convenience function that delegates to from_sql and from_sql_null depending on the +value of raw.
source§

impl FromSql for EmoteFlags

source§

fn column_result(value: ValueRef<'_>) -> FromSqlResult<Self>

Converts SQLite value into Rust value.
source§

impl Hash for EmoteFlags

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where + H: Hasher, + Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl IntoIterator for EmoteFlags

source§

type Item = EmoteFlags

The type of the elements being iterated over.
source§

type IntoIter = Iter<EmoteFlags>

Which kind of iterator are we turning this into?
source§

fn into_iter(self) -> Self::IntoIter

Creates an iterator from a value. Read more
source§

impl LowerHex for EmoteFlags

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Not for EmoteFlags

source§

fn not(self) -> Self

The bitwise negation (!) of the bits in a flags value, truncating the result.

+
source§

type Output = EmoteFlags

The resulting type after applying the ! operator.
source§

impl Octal for EmoteFlags

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl PartialEq<ArchivedEmoteFlags> for EmoteFlags

source§

fn eq(&self, other: &ArchivedEmoteFlags) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl PartialEq<EmoteFlags> for ArchivedEmoteFlags

source§

fn eq(&self, other: &EmoteFlags) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl PartialEq for EmoteFlags

source§

fn eq(&self, other: &EmoteFlags) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl PublicFlags for EmoteFlags

source§

type Primitive = i16

The type of the underlying storage.
source§

type Internal = InternalBitFlags

The type of the internal field on the generated flags type.
source§

impl<S: Fallible + ?Sized> Serialize<S> for EmoteFlags

source§

fn serialize(&self, _: &mut S) -> Result<(), S::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.
source§

impl Serialize for EmoteFlags

source§

fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
where + S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Sub for EmoteFlags

source§

fn sub(self, other: Self) -> Self

The intersection of a source flags value with the complement of a target flags value (&!).

+

This method is not equivalent to self & !other when other has unknown bits set. +difference won’t truncate other, but the ! operator will.

+
source§

type Output = EmoteFlags

The resulting type after applying the - operator.
source§

impl SubAssign for EmoteFlags

source§

fn sub_assign(&mut self, other: Self)

The intersection of a source flags value with the complement of a target flags value (&!).

+

This method is not equivalent to self & !other when other has unknown bits set. +difference won’t truncate other, but the ! operator will.

+
source§

impl ToSql for EmoteFlags

source§

fn to_sql(&self) -> Result<ToSqlOutput<'_>>

Converts Rust value to SQLite value
source§

impl ToSql for EmoteFlags

source§

fn to_sql( + &self, + ty: &Type, + out: &mut BytesMut, +) -> Result<IsNull, Box<dyn Error + Sync + Send>>
where + Self: Sized,

Converts the value of self into the binary format of the specified +Postgres Type, appending it to out. Read more
source§

fn accepts(ty: &Type) -> bool

Determines if a value of this type can be converted to the specified +Postgres Type.
source§

fn to_sql_checked( + &self, + ty: &Type, + out: &mut BytesMut, +) -> Result<IsNull, Box<dyn Error + Sync + Send>>

An adaptor method used internally by Rust-Postgres. Read more
§

fn encode_format(&self, _ty: &Type) -> Format

Specify the encode format
source§

impl UpperHex for EmoteFlags

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Copy for EmoteFlags

source§

impl Eq for EmoteFlags

source§

impl StructuralPartialEq for EmoteFlags

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> BorrowToSql for T
where + T: ToSql,

§

fn borrow_to_sql(&self) -> &dyn ToSql

Returns a reference to self as a ToSql trait object.
source§

impl<T> CloneToUninit for T
where + T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T> ToOwned for T
where + T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
source§

impl<T> CommandBody for T
where + T: Send + Serialize + Archive,

source§

impl<T> CommandResult for T
where + T: Send + DeserializeOwned + Serialize + Archive,

source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> FromSqlOwned for T
where + T: for<'a> FromSql<'a>,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/enum.ArchivedCursor.html b/client_sdk/models/enum.ArchivedCursor.html new file mode 100644 index 000000000..8a5cad140 --- /dev/null +++ b/client_sdk/models/enum.ArchivedCursor.html @@ -0,0 +1,38 @@ +ArchivedCursor in client_sdk::models - Rust

Enum client_sdk::models::ArchivedCursor

source ·
#[repr(u8)]
pub enum ArchivedCursor
where + Snowflake: Archive,
{ + Exact(<Snowflake as Archive>::Archived), + After(<Snowflake as Archive>::Archived), + Before(<Snowflake as Archive>::Archived), +}
Expand description

An archived Cursor

+

Variants§

§

Exact(<Snowflake as Archive>::Archived)

The archived counterpart of Cursor::Exact

+
§

After(<Snowflake as Archive>::Archived)

The archived counterpart of Cursor::After

+
§

Before(<Snowflake as Archive>::Archived)

The archived counterpart of Cursor::Before

+

Trait Implementations§

source§

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedCursor
where + Snowflake: Archive, + <__C as Fallible>::Error: Source, + <Snowflake as Archive>::Archived: CheckBytes<__C>,

source§

unsafe fn check_bytes( + value: *const Self, + context: &mut __C, +) -> Result<(), <__C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Portable for ArchivedCursor
where + Snowflake: Archive, + <Snowflake as Archive>::Archived: Portable,

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/enum.Cursor.html b/client_sdk/models/enum.Cursor.html new file mode 100644 index 000000000..4be938813 --- /dev/null +++ b/client_sdk/models/enum.Cursor.html @@ -0,0 +1,65 @@ +Cursor in client_sdk::models - Rust

Enum client_sdk::models::Cursor

source ·
pub enum Cursor {
+    Exact(Snowflake),
+    After(Snowflake),
+    Before(Snowflake),
+}
Expand description

Directional search query

+

Variants§

§

Exact(Snowflake)

§

After(Snowflake)

§

Before(Snowflake)

Trait Implementations§

source§

impl Archive for Cursor
where + Snowflake: Archive,

source§

type Archived = ArchivedCursor

The archived representation of this type. Read more
source§

type Resolver = CursorResolver

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

impl Clone for Cursor

source§

fn clone(&self) -> Cursor

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Cursor

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for Cursor

source§

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<__D: Fallible + ?Sized> Deserialize<Cursor, __D> for Archived<Cursor>
where + Snowflake: Archive, + <Snowflake as Archive>::Archived: Deserialize<Snowflake, __D>,

source§

fn deserialize( + &self, + deserializer: &mut __D, +) -> Result<Cursor, <__D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl Hash for Cursor

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where + H: Hasher, + Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl PartialEq for Cursor

source§

fn eq(&self, other: &Cursor) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl<__S: Fallible + ?Sized> Serialize<__S> for Cursor
where + Snowflake: Serialize<__S>,

source§

fn serialize( + &self, + serializer: &mut __S, +) -> Result<<Self as Archive>::Resolver, <__S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.
source§

impl Serialize for Cursor

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Copy for Cursor

source§

impl Eq for Cursor

source§

impl StructuralPartialEq for Cursor

Auto Trait Implementations§

§

impl Freeze for Cursor

§

impl RefUnwindSafe for Cursor

§

impl Send for Cursor

§

impl Sync for Cursor

§

impl Unpin for Cursor

§

impl UnwindSafe for Cursor

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where + T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T> ToOwned for T
where + T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
source§

impl<T> CommandBody for T
where + T: Send + Serialize + Archive,

source§

impl<T> CommandResult for T
where + T: Send + DeserializeOwned + Serialize + Archive,

source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/enum.CursorResolver.html b/client_sdk/models/enum.CursorResolver.html new file mode 100644 index 000000000..821b3d263 --- /dev/null +++ b/client_sdk/models/enum.CursorResolver.html @@ -0,0 +1,29 @@ +CursorResolver in client_sdk::models - Rust

Enum client_sdk::models::CursorResolver

source ·
pub enum CursorResolver
where + Snowflake: Archive,
{ + Exact(<Snowflake as Archive>::Resolver), + After(<Snowflake as Archive>::Resolver), + Before(<Snowflake as Archive>::Resolver), +}
Expand description

The resolver for an archived Cursor

+

Variants§

§

Exact(<Snowflake as Archive>::Resolver)

The resolver for Cursor::Exact

+
§

After(<Snowflake as Archive>::Resolver)

The resolver for Cursor::After

+
§

Before(<Snowflake as Archive>::Resolver)

The resolver for Cursor::Before

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/file/index.html b/client_sdk/models/file/index.html new file mode 100644 index 000000000..caf98c68a --- /dev/null +++ b/client_sdk/models/file/index.html @@ -0,0 +1 @@ +client_sdk::models::file - Rust

Module client_sdk::models::file

source ·

Structs§

\ No newline at end of file diff --git a/client_sdk/models/file/sidebar-items.js b/client_sdk/models/file/sidebar-items.js new file mode 100644 index 000000000..24d873ad1 --- /dev/null +++ b/client_sdk/models/file/sidebar-items.js @@ -0,0 +1 @@ +window.SIDEBAR_ITEMS = {"struct":["ArchivedFile","File","FileResolver","FileUpload"]}; \ No newline at end of file diff --git a/client_sdk/models/file/struct.ArchivedFile.html b/client_sdk/models/file/struct.ArchivedFile.html new file mode 100644 index 000000000..05e6ed08d --- /dev/null +++ b/client_sdk/models/file/struct.ArchivedFile.html @@ -0,0 +1,64 @@ +ArchivedFile in client_sdk::models::file - Rust

Struct client_sdk::models::file::ArchivedFile

source ·
#[repr(C)]
pub struct ArchivedFile
where + FileId: Archive, + SmolStr: Archive, + i64: Archive, + Option<SmolStr>: Archive, + Option<i32>: Archive, + Option<ThinString>: Archive,
{ + pub id: <FileId as Archive>::Archived, + pub filename: <SmolStr as Archive>::Archived, + pub size: <i64 as Archive>::Archived, + pub mime: <Option<SmolStr> as Archive>::Archived, + pub width: <Option<i32> as Archive>::Archived, + pub height: <Option<i32> as Archive>::Archived, + pub preview: <Option<ThinString> as Archive>::Archived, +}
Expand description

An archived File

+

Fields§

§id: <FileId as Archive>::Archived§filename: <SmolStr as Archive>::Archived§size: <i64 as Archive>::Archived§mime: <Option<SmolStr> as Archive>::Archived§width: <Option<i32> as Archive>::Archived§height: <Option<i32> as Archive>::Archived§preview: <Option<ThinString> as Archive>::Archived

Trait Implementations§

source§

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedFile
where + FileId: Archive, + SmolStr: Archive, + i64: Archive, + Option<SmolStr>: Archive, + Option<i32>: Archive, + Option<ThinString>: Archive, + <__C as Fallible>::Error: Trace, + <FileId as Archive>::Archived: CheckBytes<__C>, + <SmolStr as Archive>::Archived: CheckBytes<__C>, + <i64 as Archive>::Archived: CheckBytes<__C>, + <Option<SmolStr> as Archive>::Archived: CheckBytes<__C>, + <Option<i32> as Archive>::Archived: CheckBytes<__C>, + <Option<ThinString> as Archive>::Archived: CheckBytes<__C>,

source§

unsafe fn check_bytes( + value: *const Self, + context: &mut __C, +) -> Result<(), <__C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Portable for ArchivedFile
where + FileId: Archive, + SmolStr: Archive, + i64: Archive, + Option<SmolStr>: Archive, + Option<i32>: Archive, + Option<ThinString>: Archive, + <FileId as Archive>::Archived: Portable, + <SmolStr as Archive>::Archived: Portable, + <i64 as Archive>::Archived: Portable, + <Option<SmolStr> as Archive>::Archived: Portable, + <Option<i32> as Archive>::Archived: Portable, + <Option<ThinString> as Archive>::Archived: Portable,

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/file/struct.File.html b/client_sdk/models/file/struct.File.html new file mode 100644 index 000000000..eb2b4a2f3 --- /dev/null +++ b/client_sdk/models/file/struct.File.html @@ -0,0 +1,80 @@ +File in client_sdk::models::file - Rust

Struct client_sdk::models::file::File

source ·
pub struct File {
+    pub id: FileId,
+    pub filename: SmolStr,
+    pub size: i64,
+    pub mime: Option<SmolStr>,
+    pub width: Option<i32>,
+    pub height: Option<i32>,
+    pub preview: Option<ThinString>,
+}

Fields§

§id: FileId§filename: SmolStr§size: i64§mime: Option<SmolStr>§width: Option<i32>§height: Option<i32>§preview: Option<ThinString>

Base-85 encoded blurhash, basically guaranteed to be larger than 22 bytes so we can’t use SmolStr

+

Trait Implementations§

source§

impl Archive for File
where + FileId: Archive, + SmolStr: Archive, + i64: Archive, + Option<SmolStr>: Archive, + Option<i32>: Archive, + Option<ThinString>: Archive,

source§

type Archived = ArchivedFile

The archived representation of this type. Read more
source§

type Resolver = FileResolver

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
source§

impl Clone for File

source§

fn clone(&self) -> File

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for File

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for File

source§

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<__D: Fallible + ?Sized> Deserialize<File, __D> for Archived<File>
where + FileId: Archive, + <FileId as Archive>::Archived: Deserialize<FileId, __D>, + SmolStr: Archive, + <SmolStr as Archive>::Archived: Deserialize<SmolStr, __D>, + i64: Archive, + <i64 as Archive>::Archived: Deserialize<i64, __D>, + Option<SmolStr>: Archive, + <Option<SmolStr> as Archive>::Archived: Deserialize<Option<SmolStr>, __D>, + Option<i32>: Archive, + <Option<i32> as Archive>::Archived: Deserialize<Option<i32>, __D>, + Option<ThinString>: Archive, + <Option<ThinString> as Archive>::Archived: Deserialize<Option<ThinString>, __D>,

source§

fn deserialize( + &self, + deserializer: &mut __D, +) -> Result<File, <__D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<__S: Fallible + ?Sized> Serialize<__S> for File
where + FileId: Serialize<__S>, + SmolStr: Serialize<__S>, + i64: Serialize<__S>, + Option<SmolStr>: Serialize<__S>, + Option<i32>: Serialize<__S>, + Option<ThinString>: Serialize<__S>,

source§

fn serialize( + &self, + serializer: &mut __S, +) -> Result<<Self as Archive>::Resolver, <__S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.
source§

impl Serialize for File

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

§

impl Freeze for File

§

impl RefUnwindSafe for File

§

impl Send for File

§

impl Sync for File

§

impl Unpin for File

§

impl UnwindSafe for File

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where + T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T> ToOwned for T
where + T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
source§

impl<T> CommandBody for T
where + T: Send + Serialize + Archive,

source§

impl<T> CommandResult for T
where + T: Send + DeserializeOwned + Serialize + Archive,

source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/file/struct.FileResolver.html b/client_sdk/models/file/struct.FileResolver.html new file mode 100644 index 000000000..b0e2bf835 --- /dev/null +++ b/client_sdk/models/file/struct.FileResolver.html @@ -0,0 +1,27 @@ +FileResolver in client_sdk::models::file - Rust

Struct client_sdk::models::file::FileResolver

source ·
pub struct FileResolver
where + FileId: Archive, + SmolStr: Archive, + i64: Archive, + Option<SmolStr>: Archive, + Option<i32>: Archive, + Option<ThinString>: Archive,
{ /* private fields */ }
Expand description

The resolver for an archived File

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/file/struct.FileUpload.html b/client_sdk/models/file/struct.FileUpload.html new file mode 100644 index 000000000..24e921fad --- /dev/null +++ b/client_sdk/models/file/struct.FileUpload.html @@ -0,0 +1,22 @@ +FileUpload in client_sdk::models::file - Rust

Struct client_sdk::models::file::FileUpload

source ·
pub struct FileUpload {
+    pub upload_url: ThinString,
+}

Fields§

§upload_url: ThinString

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/gateway/commands/index.html b/client_sdk/models/gateway/commands/index.html new file mode 100644 index 000000000..a5d986f00 --- /dev/null +++ b/client_sdk/models/gateway/commands/index.html @@ -0,0 +1 @@ +client_sdk::models::gateway::commands - Rust

Module client_sdk::models::gateway::commands

source ·

Structs§

\ No newline at end of file diff --git a/client_sdk/models/gateway/commands/sidebar-items.js b/client_sdk/models/gateway/commands/sidebar-items.js new file mode 100644 index 000000000..7f058a9dc --- /dev/null +++ b/client_sdk/models/gateway/commands/sidebar-items.js @@ -0,0 +1 @@ +window.SIDEBAR_ITEMS = {"struct":["ArchivedIdentify","ArchivedSetPresence","Identify","IdentifyResolver","SetPresence","SetPresenceResolver"]}; \ No newline at end of file diff --git a/client_sdk/models/gateway/commands/struct.ArchivedIdentify.html b/client_sdk/models/gateway/commands/struct.ArchivedIdentify.html new file mode 100644 index 000000000..469cf2d5e --- /dev/null +++ b/client_sdk/models/gateway/commands/struct.ArchivedIdentify.html @@ -0,0 +1,39 @@ +ArchivedIdentify in client_sdk::models::gateway::commands - Rust

Struct client_sdk::models::gateway::commands::ArchivedIdentify

source ·
#[repr(C)]
pub struct ArchivedIdentify
where + AuthToken: Archive, + Intent: Archive,
{ + pub auth: <AuthToken as Archive>::Archived, + pub intent: <Intent as Archive>::Archived, +}
Expand description

An archived Identify

+

Fields§

§auth: <AuthToken as Archive>::Archived§intent: <Intent as Archive>::Archived

Trait Implementations§

source§

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedIdentify
where + AuthToken: Archive, + Intent: Archive, + <__C as Fallible>::Error: Trace, + <AuthToken as Archive>::Archived: CheckBytes<__C>, + <Intent as Archive>::Archived: CheckBytes<__C>,

source§

unsafe fn check_bytes( + value: *const Self, + context: &mut __C, +) -> Result<(), <__C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Portable for ArchivedIdentify
where + AuthToken: Archive, + Intent: Archive, + <AuthToken as Archive>::Archived: Portable, + <Intent as Archive>::Archived: Portable,

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/gateway/commands/struct.ArchivedSetPresence.html b/client_sdk/models/gateway/commands/struct.ArchivedSetPresence.html new file mode 100644 index 000000000..ca57ace5b --- /dev/null +++ b/client_sdk/models/gateway/commands/struct.ArchivedSetPresence.html @@ -0,0 +1,33 @@ +ArchivedSetPresence in client_sdk::models::gateway::commands - Rust

Struct client_sdk::models::gateway::commands::ArchivedSetPresence

source ·
#[repr(C)]
pub struct ArchivedSetPresence
where + UserPresence: Archive,
{ + pub presence: <UserPresence as Archive>::Archived, +}
Expand description

An archived SetPresence

+

Fields§

§presence: <UserPresence as Archive>::Archived

Trait Implementations§

source§

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedSetPresence
where + UserPresence: Archive, + <__C as Fallible>::Error: Trace, + <UserPresence as Archive>::Archived: CheckBytes<__C>,

source§

unsafe fn check_bytes( + value: *const Self, + context: &mut __C, +) -> Result<(), <__C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Portable for ArchivedSetPresence
where + UserPresence: Archive, + <UserPresence as Archive>::Archived: Portable,

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/gateway/commands/struct.Identify.html b/client_sdk/models/gateway/commands/struct.Identify.html new file mode 100644 index 000000000..aa69ff1d4 --- /dev/null +++ b/client_sdk/models/gateway/commands/struct.Identify.html @@ -0,0 +1,58 @@ +Identify in client_sdk::models::gateway::commands - Rust

Struct client_sdk::models::gateway::commands::Identify

source ·
pub struct Identify {
+    pub auth: AuthToken,
+    pub intent: Intent,
+}

Fields§

§auth: AuthToken§intent: Intent

Trait Implementations§

source§

impl Archive for Identify
where + AuthToken: Archive, + Intent: Archive,

source§

type Archived = ArchivedIdentify

The archived representation of this type. Read more
source§

type Resolver = IdentifyResolver

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
source§

impl Clone for Identify

source§

fn clone(&self) -> Identify

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Identify

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for Identify

source§

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<__D: Fallible + ?Sized> Deserialize<Identify, __D> for Archived<Identify>
where + AuthToken: Archive, + <AuthToken as Archive>::Archived: Deserialize<AuthToken, __D>, + Intent: Archive, + <Intent as Archive>::Archived: Deserialize<Intent, __D>,

source§

fn deserialize( + &self, + deserializer: &mut __D, +) -> Result<Identify, <__D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<__S: Fallible + ?Sized> Serialize<__S> for Identify
where + AuthToken: Serialize<__S>, + Intent: Serialize<__S>,

source§

fn serialize( + &self, + serializer: &mut __S, +) -> Result<<Self as Archive>::Resolver, <__S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.
source§

impl Serialize for Identify

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where + T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T> ToOwned for T
where + T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
source§

impl<T> CommandBody for T
where + T: Send + Serialize + Archive,

source§

impl<T> CommandResult for T
where + T: Send + DeserializeOwned + Serialize + Archive,

source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/gateway/commands/struct.IdentifyResolver.html b/client_sdk/models/gateway/commands/struct.IdentifyResolver.html new file mode 100644 index 000000000..95c338691 --- /dev/null +++ b/client_sdk/models/gateway/commands/struct.IdentifyResolver.html @@ -0,0 +1,23 @@ +IdentifyResolver in client_sdk::models::gateway::commands - Rust

Struct client_sdk::models::gateway::commands::IdentifyResolver

source ·
pub struct IdentifyResolver
where + AuthToken: Archive, + Intent: Archive,
{ /* private fields */ }
Expand description

The resolver for an archived Identify

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/gateway/commands/struct.SetPresence.html b/client_sdk/models/gateway/commands/struct.SetPresence.html new file mode 100644 index 000000000..25c74d646 --- /dev/null +++ b/client_sdk/models/gateway/commands/struct.SetPresence.html @@ -0,0 +1,53 @@ +SetPresence in client_sdk::models::gateway::commands - Rust

Struct client_sdk::models::gateway::commands::SetPresence

source ·
pub struct SetPresence {
+    pub presence: UserPresence,
+}

Fields§

§presence: UserPresence

Trait Implementations§

source§

impl Archive for SetPresence
where + UserPresence: Archive,

source§

type Archived = ArchivedSetPresence

The archived representation of this type. Read more
source§

type Resolver = SetPresenceResolver

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
source§

impl Clone for SetPresence

source§

fn clone(&self) -> SetPresence

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for SetPresence

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for SetPresence

source§

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<__D: Fallible + ?Sized> Deserialize<SetPresence, __D> for Archived<SetPresence>
where + UserPresence: Archive, + <UserPresence as Archive>::Archived: Deserialize<UserPresence, __D>,

source§

fn deserialize( + &self, + deserializer: &mut __D, +) -> Result<SetPresence, <__D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<__S: Fallible + ?Sized> Serialize<__S> for SetPresence
where + UserPresence: Serialize<__S>,

source§

fn serialize( + &self, + serializer: &mut __S, +) -> Result<<Self as Archive>::Resolver, <__S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.
source§

impl Serialize for SetPresence

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where + T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T> ToOwned for T
where + T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
source§

impl<T> CommandBody for T
where + T: Send + Serialize + Archive,

source§

impl<T> CommandResult for T
where + T: Send + DeserializeOwned + Serialize + Archive,

source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/gateway/commands/struct.SetPresenceResolver.html b/client_sdk/models/gateway/commands/struct.SetPresenceResolver.html new file mode 100644 index 000000000..3c374860c --- /dev/null +++ b/client_sdk/models/gateway/commands/struct.SetPresenceResolver.html @@ -0,0 +1,22 @@ +SetPresenceResolver in client_sdk::models::gateway::commands - Rust

Struct client_sdk::models::gateway::commands::SetPresenceResolver

source ·
pub struct SetPresenceResolver
where + UserPresence: Archive,
{ /* private fields */ }
Expand description

The resolver for an archived SetPresence

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/gateway/events/enum.ArchivedPartyUpdateEvent.html b/client_sdk/models/gateway/events/enum.ArchivedPartyUpdateEvent.html new file mode 100644 index 000000000..a6804c115 --- /dev/null +++ b/client_sdk/models/gateway/events/enum.ArchivedPartyUpdateEvent.html @@ -0,0 +1,41 @@ +ArchivedPartyUpdateEvent in client_sdk::models::gateway::events - Rust
#[repr(u8)]
pub enum ArchivedPartyUpdateEvent
where + PartyPositionUpdate: Archive, + Party: Archive,
{ + Position(<PartyPositionUpdate as Archive>::Archived), + Full(<Party as Archive>::Archived), +}
Expand description

An archived PartyUpdateEvent

+

Variants§

§

Position(<PartyPositionUpdate as Archive>::Archived)

The archived counterpart of PartyUpdateEvent::Position

+
§

Full(<Party as Archive>::Archived)

The archived counterpart of PartyUpdateEvent::Full

+

Trait Implementations§

source§

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedPartyUpdateEvent
where + PartyPositionUpdate: Archive, + Party: Archive, + <__C as Fallible>::Error: Source, + <PartyPositionUpdate as Archive>::Archived: CheckBytes<__C>, + <Party as Archive>::Archived: CheckBytes<__C>,

source§

unsafe fn check_bytes( + value: *const Self, + context: &mut __C, +) -> Result<(), <__C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Portable for ArchivedPartyUpdateEvent
where + PartyPositionUpdate: Archive, + Party: Archive, + <PartyPositionUpdate as Archive>::Archived: Portable, + <Party as Archive>::Archived: Portable,

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/gateway/events/enum.PartyUpdateEvent.html b/client_sdk/models/gateway/events/enum.PartyUpdateEvent.html new file mode 100644 index 000000000..987d98a9e --- /dev/null +++ b/client_sdk/models/gateway/events/enum.PartyUpdateEvent.html @@ -0,0 +1,56 @@ +PartyUpdateEvent in client_sdk::models::gateway::events - Rust

Enum client_sdk::models::gateway::events::PartyUpdateEvent

source ·
pub enum PartyUpdateEvent {
+    Position(PartyPositionUpdate),
+    Full(Party),
+}

Variants§

Trait Implementations§

source§

impl Archive for PartyUpdateEvent
where + PartyPositionUpdate: Archive, + Party: Archive,

source§

type Archived = ArchivedPartyUpdateEvent

The archived representation of this type. Read more
source§

type Resolver = PartyUpdateEventResolver

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

impl Debug for PartyUpdateEvent

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for PartyUpdateEvent

source§

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<__D: Fallible + ?Sized> Deserialize<PartyUpdateEvent, __D> for Archived<PartyUpdateEvent>
where + PartyPositionUpdate: Archive, + <PartyPositionUpdate as Archive>::Archived: Deserialize<PartyPositionUpdate, __D>, + Party: Archive, + <Party as Archive>::Archived: Deserialize<Party, __D>,

source§

fn deserialize( + &self, + deserializer: &mut __D, +) -> Result<PartyUpdateEvent, <__D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<__S: Fallible + ?Sized> Serialize<__S> for PartyUpdateEvent
where + PartyPositionUpdate: Serialize<__S>, + Party: Serialize<__S>,

source§

fn serialize( + &self, + serializer: &mut __S, +) -> Result<<Self as Archive>::Resolver, <__S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.
source§

impl Serialize for PartyUpdateEvent

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
source§

impl<T> CommandBody for T
where + T: Send + Serialize + Archive,

source§

impl<T> CommandResult for T
where + T: Send + DeserializeOwned + Serialize + Archive,

source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/gateway/events/enum.PartyUpdateEventResolver.html b/client_sdk/models/gateway/events/enum.PartyUpdateEventResolver.html new file mode 100644 index 000000000..b364735e9 --- /dev/null +++ b/client_sdk/models/gateway/events/enum.PartyUpdateEventResolver.html @@ -0,0 +1,28 @@ +PartyUpdateEventResolver in client_sdk::models::gateway::events - Rust
pub enum PartyUpdateEventResolver
where + PartyPositionUpdate: Archive, + Party: Archive,
{ + Position(<PartyPositionUpdate as Archive>::Resolver), + Full(<Party as Archive>::Resolver), +}
Expand description

The resolver for an archived PartyUpdateEvent

+

Variants§

§

Position(<PartyPositionUpdate as Archive>::Resolver)

The resolver for PartyUpdateEvent::Position

+
§

Full(<Party as Archive>::Resolver)

The resolver for PartyUpdateEvent::Full

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/gateway/events/index.html b/client_sdk/models/gateway/events/index.html new file mode 100644 index 000000000..e09a6d2ca --- /dev/null +++ b/client_sdk/models/gateway/events/index.html @@ -0,0 +1 @@ +client_sdk::models::gateway::events - Rust

Module client_sdk::models::gateway::events

source ·

Structs§

Enums§

\ No newline at end of file diff --git a/client_sdk/models/gateway/events/sidebar-items.js b/client_sdk/models/gateway/events/sidebar-items.js new file mode 100644 index 000000000..7b9827c3d --- /dev/null +++ b/client_sdk/models/gateway/events/sidebar-items.js @@ -0,0 +1 @@ +window.SIDEBAR_ITEMS = {"enum":["ArchivedPartyUpdateEvent","PartyUpdateEvent","PartyUpdateEventResolver"],"struct":["ArchivedHello","ArchivedMessageDeleteEvent","ArchivedPartyMemberEvent","ArchivedPartyPositionUpdate","ArchivedProfileUpdateEvent","ArchivedReady","ArchivedReadyParty","ArchivedRoleDeleteEvent","ArchivedRoomDeleteEvent","ArchivedTypingStart","ArchivedUserPresenceEvent","ArchivedUserReactionEvent","Hello","HelloResolver","MessageDeleteEvent","MessageDeleteEventResolver","PartyMemberEvent","PartyMemberEventResolver","PartyPositionUpdate","PartyPositionUpdateResolver","ProfileUpdateEvent","ProfileUpdateEventResolver","Ready","ReadyParty","ReadyPartyResolver","ReadyResolver","RoleDeleteEvent","RoleDeleteEventResolver","RoomDeleteEvent","RoomDeleteEventResolver","TypingStart","TypingStartResolver","UserPresenceEvent","UserPresenceEventResolver","UserReactionEvent","UserReactionEventResolver"]}; \ No newline at end of file diff --git a/client_sdk/models/gateway/events/struct.ArchivedHello.html b/client_sdk/models/gateway/events/struct.ArchivedHello.html new file mode 100644 index 000000000..7925d97ec --- /dev/null +++ b/client_sdk/models/gateway/events/struct.ArchivedHello.html @@ -0,0 +1,33 @@ +ArchivedHello in client_sdk::models::gateway::events - Rust

Struct client_sdk::models::gateway::events::ArchivedHello

source ·
#[repr(C)]
pub struct ArchivedHello
where + u32: Archive,
{ + pub heartbeat_interval: <u32 as Archive>::Archived, +}
Expand description

An archived Hello

+

Fields§

§heartbeat_interval: <u32 as Archive>::Archived

Trait Implementations§

source§

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedHello
where + u32: Archive, + <__C as Fallible>::Error: Trace, + <u32 as Archive>::Archived: CheckBytes<__C>,

source§

unsafe fn check_bytes( + value: *const Self, + context: &mut __C, +) -> Result<(), <__C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Portable for ArchivedHello
where + u32: Archive, + <u32 as Archive>::Archived: Portable,

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/gateway/events/struct.ArchivedMessageDeleteEvent.html b/client_sdk/models/gateway/events/struct.ArchivedMessageDeleteEvent.html new file mode 100644 index 000000000..696ce5549 --- /dev/null +++ b/client_sdk/models/gateway/events/struct.ArchivedMessageDeleteEvent.html @@ -0,0 +1,45 @@ +ArchivedMessageDeleteEvent in client_sdk::models::gateway::events - Rust
#[repr(C)]
pub struct ArchivedMessageDeleteEvent
where + MessageId: Archive, + RoomId: Archive, + PartyId: Archive,
{ + pub id: <MessageId as Archive>::Archived, + pub room_id: <RoomId as Archive>::Archived, + pub party_id: <PartyId as Archive>::Archived, +}
Expand description

An archived MessageDeleteEvent

+

Fields§

§id: <MessageId as Archive>::Archived§room_id: <RoomId as Archive>::Archived§party_id: <PartyId as Archive>::Archived

Trait Implementations§

source§

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedMessageDeleteEvent
where + MessageId: Archive, + RoomId: Archive, + PartyId: Archive, + <__C as Fallible>::Error: Trace, + <MessageId as Archive>::Archived: CheckBytes<__C>, + <RoomId as Archive>::Archived: CheckBytes<__C>, + <PartyId as Archive>::Archived: CheckBytes<__C>,

source§

unsafe fn check_bytes( + value: *const Self, + context: &mut __C, +) -> Result<(), <__C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Portable for ArchivedMessageDeleteEvent
where + MessageId: Archive, + RoomId: Archive, + PartyId: Archive, + <MessageId as Archive>::Archived: Portable, + <RoomId as Archive>::Archived: Portable, + <PartyId as Archive>::Archived: Portable,

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/gateway/events/struct.ArchivedPartyMemberEvent.html b/client_sdk/models/gateway/events/struct.ArchivedPartyMemberEvent.html new file mode 100644 index 000000000..5cade0c8a --- /dev/null +++ b/client_sdk/models/gateway/events/struct.ArchivedPartyMemberEvent.html @@ -0,0 +1,39 @@ +ArchivedPartyMemberEvent in client_sdk::models::gateway::events - Rust
#[repr(C)]
pub struct ArchivedPartyMemberEvent
where + PartyId: Archive, + PartyMember: Archive,
{ + pub party_id: <PartyId as Archive>::Archived, + pub member: <PartyMember as Archive>::Archived, +}
Expand description

An archived PartyMemberEvent

+

Fields§

§party_id: <PartyId as Archive>::Archived§member: <PartyMember as Archive>::Archived

Trait Implementations§

source§

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedPartyMemberEvent
where + PartyId: Archive, + PartyMember: Archive, + <__C as Fallible>::Error: Trace, + <PartyId as Archive>::Archived: CheckBytes<__C>, + <PartyMember as Archive>::Archived: CheckBytes<__C>,

source§

unsafe fn check_bytes( + value: *const Self, + context: &mut __C, +) -> Result<(), <__C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Portable for ArchivedPartyMemberEvent
where + PartyId: Archive, + PartyMember: Archive, + <PartyId as Archive>::Archived: Portable, + <PartyMember as Archive>::Archived: Portable,

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/gateway/events/struct.ArchivedPartyPositionUpdate.html b/client_sdk/models/gateway/events/struct.ArchivedPartyPositionUpdate.html new file mode 100644 index 000000000..751b4cc9f --- /dev/null +++ b/client_sdk/models/gateway/events/struct.ArchivedPartyPositionUpdate.html @@ -0,0 +1,39 @@ +ArchivedPartyPositionUpdate in client_sdk::models::gateway::events - Rust
#[repr(C)]
pub struct ArchivedPartyPositionUpdate
where + PartyId: Archive, + i16: Archive,
{ + pub id: <PartyId as Archive>::Archived, + pub position: <i16 as Archive>::Archived, +}
Expand description

An archived PartyPositionUpdate

+

Fields§

§id: <PartyId as Archive>::Archived§position: <i16 as Archive>::Archived

Trait Implementations§

source§

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedPartyPositionUpdate
where + PartyId: Archive, + i16: Archive, + <__C as Fallible>::Error: Trace, + <PartyId as Archive>::Archived: CheckBytes<__C>, + <i16 as Archive>::Archived: CheckBytes<__C>,

source§

unsafe fn check_bytes( + value: *const Self, + context: &mut __C, +) -> Result<(), <__C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Portable for ArchivedPartyPositionUpdate
where + PartyId: Archive, + i16: Archive, + <PartyId as Archive>::Archived: Portable, + <i16 as Archive>::Archived: Portable,

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/gateway/events/struct.ArchivedProfileUpdateEvent.html b/client_sdk/models/gateway/events/struct.ArchivedProfileUpdateEvent.html new file mode 100644 index 000000000..d6a8f64ed --- /dev/null +++ b/client_sdk/models/gateway/events/struct.ArchivedProfileUpdateEvent.html @@ -0,0 +1,39 @@ +ArchivedProfileUpdateEvent in client_sdk::models::gateway::events - Rust
#[repr(C)]
pub struct ArchivedProfileUpdateEvent
where + Option<PartyId>: Archive, + User: Archive,
{ + pub party_id: <Option<PartyId> as Archive>::Archived, + pub user: <User as Archive>::Archived, +}
Expand description

An archived ProfileUpdateEvent

+

Fields§

§party_id: <Option<PartyId> as Archive>::Archived§user: <User as Archive>::Archived

Trait Implementations§

source§

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedProfileUpdateEvent
where + Option<PartyId>: Archive, + User: Archive, + <__C as Fallible>::Error: Trace, + <Option<PartyId> as Archive>::Archived: CheckBytes<__C>, + <User as Archive>::Archived: CheckBytes<__C>,

source§

unsafe fn check_bytes( + value: *const Self, + context: &mut __C, +) -> Result<(), <__C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Portable for ArchivedProfileUpdateEvent
where + Option<PartyId>: Archive, + User: Archive, + <Option<PartyId> as Archive>::Archived: Portable, + <User as Archive>::Archived: Portable,

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/gateway/events/struct.ArchivedReady.html b/client_sdk/models/gateway/events/struct.ArchivedReady.html new file mode 100644 index 000000000..9f7ff46ca --- /dev/null +++ b/client_sdk/models/gateway/events/struct.ArchivedReady.html @@ -0,0 +1,51 @@ +ArchivedReady in client_sdk::models::gateway::events - Rust

Struct client_sdk::models::gateway::events::ArchivedReady

source ·
#[repr(C)]
pub struct ArchivedReady
where + User: Archive, + ThinVec<ReadyParty>: Archive, + ThinVec<Room>: Archive, + Snowflake: Archive,
{ + pub user: <User as Archive>::Archived, + pub parties: <ThinVec<ReadyParty> as Archive>::Archived, + pub rooms: <ThinVec<Room> as Archive>::Archived, + pub session: <Snowflake as Archive>::Archived, +}
Expand description

An archived Ready

+

Fields§

§user: <User as Archive>::Archived§parties: <ThinVec<ReadyParty> as Archive>::Archived§rooms: <ThinVec<Room> as Archive>::Archived§session: <Snowflake as Archive>::Archived

Trait Implementations§

source§

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedReady
where + User: Archive, + ThinVec<ReadyParty>: Archive, + ThinVec<Room>: Archive, + Snowflake: Archive, + <__C as Fallible>::Error: Trace, + <User as Archive>::Archived: CheckBytes<__C>, + <ThinVec<ReadyParty> as Archive>::Archived: CheckBytes<__C>, + <ThinVec<Room> as Archive>::Archived: CheckBytes<__C>, + <Snowflake as Archive>::Archived: CheckBytes<__C>,

source§

unsafe fn check_bytes( + value: *const Self, + context: &mut __C, +) -> Result<(), <__C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Portable for ArchivedReady
where + User: Archive, + ThinVec<ReadyParty>: Archive, + ThinVec<Room>: Archive, + Snowflake: Archive, + <User as Archive>::Archived: Portable, + <ThinVec<ReadyParty> as Archive>::Archived: Portable, + <ThinVec<Room> as Archive>::Archived: Portable, + <Snowflake as Archive>::Archived: Portable,

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/gateway/events/struct.ArchivedReadyParty.html b/client_sdk/models/gateway/events/struct.ArchivedReadyParty.html new file mode 100644 index 000000000..98bb36071 --- /dev/null +++ b/client_sdk/models/gateway/events/struct.ArchivedReadyParty.html @@ -0,0 +1,39 @@ +ArchivedReadyParty in client_sdk::models::gateway::events - Rust

Struct client_sdk::models::gateway::events::ArchivedReadyParty

source ·
#[repr(C)]
pub struct ArchivedReadyParty
where + Party: Archive, + PartyMember: Archive,
{ + pub party: <Party as Archive>::Archived, + pub me: <PartyMember as Archive>::Archived, +}
Expand description

An archived ReadyParty

+

Fields§

§party: <Party as Archive>::Archived§me: <PartyMember as Archive>::Archived

Trait Implementations§

source§

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedReadyParty
where + Party: Archive, + PartyMember: Archive, + <__C as Fallible>::Error: Trace, + <Party as Archive>::Archived: CheckBytes<__C>, + <PartyMember as Archive>::Archived: CheckBytes<__C>,

source§

unsafe fn check_bytes( + value: *const Self, + context: &mut __C, +) -> Result<(), <__C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Deref for ArchivedReadyParty

source§

type Target = <Party as Archive>::Archived

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl Portable for ArchivedReadyParty
where + Party: Archive, + PartyMember: Archive, + <Party as Archive>::Archived: Portable, + <PartyMember as Archive>::Archived: Portable,

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/gateway/events/struct.ArchivedRoleDeleteEvent.html b/client_sdk/models/gateway/events/struct.ArchivedRoleDeleteEvent.html new file mode 100644 index 000000000..cc59f7aa0 --- /dev/null +++ b/client_sdk/models/gateway/events/struct.ArchivedRoleDeleteEvent.html @@ -0,0 +1,39 @@ +ArchivedRoleDeleteEvent in client_sdk::models::gateway::events - Rust
#[repr(C)]
pub struct ArchivedRoleDeleteEvent
where + RoleId: Archive, + PartyId: Archive,
{ + pub id: <RoleId as Archive>::Archived, + pub party_id: <PartyId as Archive>::Archived, +}
Expand description

An archived RoleDeleteEvent

+

Fields§

§id: <RoleId as Archive>::Archived§party_id: <PartyId as Archive>::Archived

Trait Implementations§

source§

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedRoleDeleteEvent
where + RoleId: Archive, + PartyId: Archive, + <__C as Fallible>::Error: Trace, + <RoleId as Archive>::Archived: CheckBytes<__C>, + <PartyId as Archive>::Archived: CheckBytes<__C>,

source§

unsafe fn check_bytes( + value: *const Self, + context: &mut __C, +) -> Result<(), <__C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Portable for ArchivedRoleDeleteEvent
where + RoleId: Archive, + PartyId: Archive, + <RoleId as Archive>::Archived: Portable, + <PartyId as Archive>::Archived: Portable,

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/gateway/events/struct.ArchivedRoomDeleteEvent.html b/client_sdk/models/gateway/events/struct.ArchivedRoomDeleteEvent.html new file mode 100644 index 000000000..a445625c9 --- /dev/null +++ b/client_sdk/models/gateway/events/struct.ArchivedRoomDeleteEvent.html @@ -0,0 +1,39 @@ +ArchivedRoomDeleteEvent in client_sdk::models::gateway::events - Rust
#[repr(C)]
pub struct ArchivedRoomDeleteEvent
where + RoomId: Archive, + NicheSnowflake: ArchiveWith<Option<PartyId>>,
{ + pub id: <RoomId as Archive>::Archived, + pub party_id: <NicheSnowflake as ArchiveWith<Option<PartyId>>>::Archived, +}
Expand description

An archived RoomDeleteEvent

+

Fields§

§id: <RoomId as Archive>::Archived§party_id: <NicheSnowflake as ArchiveWith<Option<PartyId>>>::Archived

Trait Implementations§

source§

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedRoomDeleteEvent
where + RoomId: Archive, + NicheSnowflake: ArchiveWith<Option<PartyId>>, + <__C as Fallible>::Error: Trace, + <RoomId as Archive>::Archived: CheckBytes<__C>, + <NicheSnowflake as ArchiveWith<Option<PartyId>>>::Archived: CheckBytes<__C>,

source§

unsafe fn check_bytes( + value: *const Self, + context: &mut __C, +) -> Result<(), <__C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Portable for ArchivedRoomDeleteEvent
where + RoomId: Archive, + NicheSnowflake: ArchiveWith<Option<PartyId>>, + <RoomId as Archive>::Archived: Portable, + <NicheSnowflake as ArchiveWith<Option<PartyId>>>::Archived: Portable,

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/gateway/events/struct.ArchivedTypingStart.html b/client_sdk/models/gateway/events/struct.ArchivedTypingStart.html new file mode 100644 index 000000000..2470da938 --- /dev/null +++ b/client_sdk/models/gateway/events/struct.ArchivedTypingStart.html @@ -0,0 +1,57 @@ +ArchivedTypingStart in client_sdk::models::gateway::events - Rust

Struct client_sdk::models::gateway::events::ArchivedTypingStart

source ·
#[repr(C)]
pub struct ArchivedTypingStart
where + RoomId: Archive, + PartyId: Archive, + UserId: Archive, + PartyMember: Archive, + Option<MessageId>: Archive,
{ + pub room_id: <RoomId as Archive>::Archived, + pub party_id: <PartyId as Archive>::Archived, + pub user_id: <UserId as Archive>::Archived, + pub member: <PartyMember as Archive>::Archived, + pub parent: <Option<MessageId> as Archive>::Archived, +}
Expand description

An archived TypingStart

+

Fields§

§room_id: <RoomId as Archive>::Archived§party_id: <PartyId as Archive>::Archived§user_id: <UserId as Archive>::Archived§member: <PartyMember as Archive>::Archived§parent: <Option<MessageId> as Archive>::Archived

Trait Implementations§

source§

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedTypingStart
where + RoomId: Archive, + PartyId: Archive, + UserId: Archive, + PartyMember: Archive, + Option<MessageId>: Archive, + <__C as Fallible>::Error: Trace, + <RoomId as Archive>::Archived: CheckBytes<__C>, + <PartyId as Archive>::Archived: CheckBytes<__C>, + <UserId as Archive>::Archived: CheckBytes<__C>, + <PartyMember as Archive>::Archived: CheckBytes<__C>, + <Option<MessageId> as Archive>::Archived: CheckBytes<__C>,

source§

unsafe fn check_bytes( + value: *const Self, + context: &mut __C, +) -> Result<(), <__C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Portable for ArchivedTypingStart
where + RoomId: Archive, + PartyId: Archive, + UserId: Archive, + PartyMember: Archive, + Option<MessageId>: Archive, + <RoomId as Archive>::Archived: Portable, + <PartyId as Archive>::Archived: Portable, + <UserId as Archive>::Archived: Portable, + <PartyMember as Archive>::Archived: Portable, + <Option<MessageId> as Archive>::Archived: Portable,

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/gateway/events/struct.ArchivedUserPresenceEvent.html b/client_sdk/models/gateway/events/struct.ArchivedUserPresenceEvent.html new file mode 100644 index 000000000..0838b839c --- /dev/null +++ b/client_sdk/models/gateway/events/struct.ArchivedUserPresenceEvent.html @@ -0,0 +1,39 @@ +ArchivedUserPresenceEvent in client_sdk::models::gateway::events - Rust
#[repr(C)]
pub struct ArchivedUserPresenceEvent
where + Option<PartyId>: Archive, + User: Archive,
{ + pub party_id: <Option<PartyId> as Archive>::Archived, + pub user: <User as Archive>::Archived, +}
Expand description

An archived UserPresenceEvent

+

Fields§

§party_id: <Option<PartyId> as Archive>::Archived§user: <User as Archive>::Archived

Trait Implementations§

source§

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedUserPresenceEvent
where + Option<PartyId>: Archive, + User: Archive, + <__C as Fallible>::Error: Trace, + <Option<PartyId> as Archive>::Archived: CheckBytes<__C>, + <User as Archive>::Archived: CheckBytes<__C>,

source§

unsafe fn check_bytes( + value: *const Self, + context: &mut __C, +) -> Result<(), <__C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Portable for ArchivedUserPresenceEvent
where + Option<PartyId>: Archive, + User: Archive, + <Option<PartyId> as Archive>::Archived: Portable, + <User as Archive>::Archived: Portable,

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/gateway/events/struct.ArchivedUserReactionEvent.html b/client_sdk/models/gateway/events/struct.ArchivedUserReactionEvent.html new file mode 100644 index 000000000..a2ef37fff --- /dev/null +++ b/client_sdk/models/gateway/events/struct.ArchivedUserReactionEvent.html @@ -0,0 +1,63 @@ +ArchivedUserReactionEvent in client_sdk::models::gateway::events - Rust
#[repr(C)]
pub struct ArchivedUserReactionEvent
where + UserId: Archive, + RoomId: Archive, + PartyId: Archive, + MessageId: Archive, + Niche: ArchiveWith<Option<Box<PartyMember>>>, + EmoteOrEmoji: Archive,
{ + pub user_id: <UserId as Archive>::Archived, + pub room_id: <RoomId as Archive>::Archived, + pub party_id: <PartyId as Archive>::Archived, + pub msg_id: <MessageId as Archive>::Archived, + pub member: <Niche as ArchiveWith<Option<Box<PartyMember>>>>::Archived, + pub emote: <EmoteOrEmoji as Archive>::Archived, +}
Expand description

An archived UserReactionEvent

+

Fields§

§user_id: <UserId as Archive>::Archived§room_id: <RoomId as Archive>::Archived§party_id: <PartyId as Archive>::Archived§msg_id: <MessageId as Archive>::Archived§member: <Niche as ArchiveWith<Option<Box<PartyMember>>>>::Archived§emote: <EmoteOrEmoji as Archive>::Archived

Trait Implementations§

source§

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedUserReactionEvent
where + UserId: Archive, + RoomId: Archive, + PartyId: Archive, + MessageId: Archive, + Niche: ArchiveWith<Option<Box<PartyMember>>>, + EmoteOrEmoji: Archive, + <__C as Fallible>::Error: Trace, + <UserId as Archive>::Archived: CheckBytes<__C>, + <RoomId as Archive>::Archived: CheckBytes<__C>, + <PartyId as Archive>::Archived: CheckBytes<__C>, + <MessageId as Archive>::Archived: CheckBytes<__C>, + <Niche as ArchiveWith<Option<Box<PartyMember>>>>::Archived: CheckBytes<__C>, + <EmoteOrEmoji as Archive>::Archived: CheckBytes<__C>,

source§

unsafe fn check_bytes( + value: *const Self, + context: &mut __C, +) -> Result<(), <__C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Portable for ArchivedUserReactionEvent
where + UserId: Archive, + RoomId: Archive, + PartyId: Archive, + MessageId: Archive, + Niche: ArchiveWith<Option<Box<PartyMember>>>, + EmoteOrEmoji: Archive, + <UserId as Archive>::Archived: Portable, + <RoomId as Archive>::Archived: Portable, + <PartyId as Archive>::Archived: Portable, + <MessageId as Archive>::Archived: Portable, + <Niche as ArchiveWith<Option<Box<PartyMember>>>>::Archived: Portable, + <EmoteOrEmoji as Archive>::Archived: Portable,

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/gateway/events/struct.Hello.html b/client_sdk/models/gateway/events/struct.Hello.html new file mode 100644 index 000000000..807d1f954 --- /dev/null +++ b/client_sdk/models/gateway/events/struct.Hello.html @@ -0,0 +1,54 @@ +Hello in client_sdk::models::gateway::events - Rust

Struct client_sdk::models::gateway::events::Hello

source ·
pub struct Hello {
+    pub heartbeat_interval: u32,
+}

Fields§

§heartbeat_interval: u32

Number of milliseconds between heartbeats

+

Trait Implementations§

source§

impl Archive for Hello
where + u32: Archive,

source§

type Archived = ArchivedHello

The archived representation of this type. Read more
source§

type Resolver = HelloResolver

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
source§

impl Clone for Hello

source§

fn clone(&self) -> Hello

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Hello

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for Hello

source§

fn default() -> Self

Returns the “default value” for a type. Read more
source§

impl<'de> Deserialize<'de> for Hello

source§

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<__D: Fallible + ?Sized> Deserialize<Hello, __D> for Archived<Hello>
where + u32: Archive, + <u32 as Archive>::Archived: Deserialize<u32, __D>,

source§

fn deserialize( + &self, + deserializer: &mut __D, +) -> Result<Hello, <__D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<__S: Fallible + ?Sized> Serialize<__S> for Hello
where + u32: Serialize<__S>,

source§

fn serialize( + &self, + serializer: &mut __S, +) -> Result<<Self as Archive>::Resolver, <__S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.
source§

impl Serialize for Hello

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

§

impl Freeze for Hello

§

impl RefUnwindSafe for Hello

§

impl Send for Hello

§

impl Sync for Hello

§

impl Unpin for Hello

§

impl UnwindSafe for Hello

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where + T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T> ToOwned for T
where + T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
source§

impl<T> CommandBody for T
where + T: Send + Serialize + Archive,

source§

impl<T> CommandResult for T
where + T: Send + DeserializeOwned + Serialize + Archive,

source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/gateway/events/struct.HelloResolver.html b/client_sdk/models/gateway/events/struct.HelloResolver.html new file mode 100644 index 000000000..0d3c8ee07 --- /dev/null +++ b/client_sdk/models/gateway/events/struct.HelloResolver.html @@ -0,0 +1,22 @@ +HelloResolver in client_sdk::models::gateway::events - Rust

Struct client_sdk::models::gateway::events::HelloResolver

source ·
pub struct HelloResolver
where + u32: Archive,
{ /* private fields */ }
Expand description

The resolver for an archived Hello

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/gateway/events/struct.MessageDeleteEvent.html b/client_sdk/models/gateway/events/struct.MessageDeleteEvent.html new file mode 100644 index 000000000..12acdf414 --- /dev/null +++ b/client_sdk/models/gateway/events/struct.MessageDeleteEvent.html @@ -0,0 +1,61 @@ +MessageDeleteEvent in client_sdk::models::gateway::events - Rust

Struct client_sdk::models::gateway::events::MessageDeleteEvent

source ·
pub struct MessageDeleteEvent {
+    pub id: MessageId,
+    pub room_id: RoomId,
+    pub party_id: PartyId,
+}

Fields§

§id: MessageId§room_id: RoomId§party_id: PartyId

Trait Implementations§

source§

impl Archive for MessageDeleteEvent
where + MessageId: Archive, + RoomId: Archive, + PartyId: Archive,

source§

type Archived = ArchivedMessageDeleteEvent

The archived representation of this type. Read more
source§

type Resolver = MessageDeleteEventResolver

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
source§

impl Debug for MessageDeleteEvent

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for MessageDeleteEvent

source§

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<__D: Fallible + ?Sized> Deserialize<MessageDeleteEvent, __D> for Archived<MessageDeleteEvent>
where + MessageId: Archive, + <MessageId as Archive>::Archived: Deserialize<MessageId, __D>, + RoomId: Archive, + <RoomId as Archive>::Archived: Deserialize<RoomId, __D>, + PartyId: Archive, + <PartyId as Archive>::Archived: Deserialize<PartyId, __D>,

source§

fn deserialize( + &self, + deserializer: &mut __D, +) -> Result<MessageDeleteEvent, <__D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<__S: Fallible + ?Sized> Serialize<__S> for MessageDeleteEvent
where + MessageId: Serialize<__S>, + RoomId: Serialize<__S>, + PartyId: Serialize<__S>,

source§

fn serialize( + &self, + serializer: &mut __S, +) -> Result<<Self as Archive>::Resolver, <__S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.
source§

impl Serialize for MessageDeleteEvent

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
source§

impl<T> CommandBody for T
where + T: Send + Serialize + Archive,

source§

impl<T> CommandResult for T
where + T: Send + DeserializeOwned + Serialize + Archive,

source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/gateway/events/struct.MessageDeleteEventResolver.html b/client_sdk/models/gateway/events/struct.MessageDeleteEventResolver.html new file mode 100644 index 000000000..ffdf76c46 --- /dev/null +++ b/client_sdk/models/gateway/events/struct.MessageDeleteEventResolver.html @@ -0,0 +1,24 @@ +MessageDeleteEventResolver in client_sdk::models::gateway::events - Rust
pub struct MessageDeleteEventResolver
where + MessageId: Archive, + RoomId: Archive, + PartyId: Archive,
{ /* private fields */ }
Expand description

The resolver for an archived MessageDeleteEvent

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/gateway/events/struct.PartyMemberEvent.html b/client_sdk/models/gateway/events/struct.PartyMemberEvent.html new file mode 100644 index 000000000..e2949aa85 --- /dev/null +++ b/client_sdk/models/gateway/events/struct.PartyMemberEvent.html @@ -0,0 +1,56 @@ +PartyMemberEvent in client_sdk::models::gateway::events - Rust

Struct client_sdk::models::gateway::events::PartyMemberEvent

source ·
pub struct PartyMemberEvent {
+    pub party_id: PartyId,
+    pub member: PartyMember,
+}

Fields§

§party_id: PartyId§member: PartyMember

Trait Implementations§

source§

impl Archive for PartyMemberEvent
where + PartyId: Archive, + PartyMember: Archive,

source§

type Archived = ArchivedPartyMemberEvent

The archived representation of this type. Read more
source§

type Resolver = PartyMemberEventResolver

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
source§

impl Debug for PartyMemberEvent

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for PartyMemberEvent

source§

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<__D: Fallible + ?Sized> Deserialize<PartyMemberEvent, __D> for Archived<PartyMemberEvent>
where + PartyId: Archive, + <PartyId as Archive>::Archived: Deserialize<PartyId, __D>, + PartyMember: Archive, + <PartyMember as Archive>::Archived: Deserialize<PartyMember, __D>,

source§

fn deserialize( + &self, + deserializer: &mut __D, +) -> Result<PartyMemberEvent, <__D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<__S: Fallible + ?Sized> Serialize<__S> for PartyMemberEvent
where + PartyId: Serialize<__S>, + PartyMember: Serialize<__S>,

source§

fn serialize( + &self, + serializer: &mut __S, +) -> Result<<Self as Archive>::Resolver, <__S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.
source§

impl Serialize for PartyMemberEvent

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
source§

impl<T> CommandBody for T
where + T: Send + Serialize + Archive,

source§

impl<T> CommandResult for T
where + T: Send + DeserializeOwned + Serialize + Archive,

source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/gateway/events/struct.PartyMemberEventResolver.html b/client_sdk/models/gateway/events/struct.PartyMemberEventResolver.html new file mode 100644 index 000000000..e2ac8b9e1 --- /dev/null +++ b/client_sdk/models/gateway/events/struct.PartyMemberEventResolver.html @@ -0,0 +1,23 @@ +PartyMemberEventResolver in client_sdk::models::gateway::events - Rust
pub struct PartyMemberEventResolver
where + PartyId: Archive, + PartyMember: Archive,
{ /* private fields */ }
Expand description

The resolver for an archived PartyMemberEvent

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/gateway/events/struct.PartyPositionUpdate.html b/client_sdk/models/gateway/events/struct.PartyPositionUpdate.html new file mode 100644 index 000000000..b58d59c37 --- /dev/null +++ b/client_sdk/models/gateway/events/struct.PartyPositionUpdate.html @@ -0,0 +1,58 @@ +PartyPositionUpdate in client_sdk::models::gateway::events - Rust

Struct client_sdk::models::gateway::events::PartyPositionUpdate

source ·
pub struct PartyPositionUpdate {
+    pub id: PartyId,
+    pub position: i16,
+}

Fields§

§id: PartyId§position: i16

Trait Implementations§

source§

impl Archive for PartyPositionUpdate
where + PartyId: Archive, + i16: Archive,

source§

type Archived = ArchivedPartyPositionUpdate

The archived representation of this type. Read more
source§

type Resolver = PartyPositionUpdateResolver

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
source§

impl Clone for PartyPositionUpdate

source§

fn clone(&self) -> PartyPositionUpdate

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for PartyPositionUpdate

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for PartyPositionUpdate

source§

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<__D: Fallible + ?Sized> Deserialize<PartyPositionUpdate, __D> for Archived<PartyPositionUpdate>
where + PartyId: Archive, + <PartyId as Archive>::Archived: Deserialize<PartyId, __D>, + i16: Archive, + <i16 as Archive>::Archived: Deserialize<i16, __D>,

source§

fn deserialize( + &self, + deserializer: &mut __D, +) -> Result<PartyPositionUpdate, <__D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<__S: Fallible + ?Sized> Serialize<__S> for PartyPositionUpdate
where + PartyId: Serialize<__S>, + i16: Serialize<__S>,

source§

fn serialize( + &self, + serializer: &mut __S, +) -> Result<<Self as Archive>::Resolver, <__S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.
source§

impl Serialize for PartyPositionUpdate

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where + T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T> ToOwned for T
where + T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
source§

impl<T> CommandBody for T
where + T: Send + Serialize + Archive,

source§

impl<T> CommandResult for T
where + T: Send + DeserializeOwned + Serialize + Archive,

source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/gateway/events/struct.PartyPositionUpdateResolver.html b/client_sdk/models/gateway/events/struct.PartyPositionUpdateResolver.html new file mode 100644 index 000000000..2473c062b --- /dev/null +++ b/client_sdk/models/gateway/events/struct.PartyPositionUpdateResolver.html @@ -0,0 +1,23 @@ +PartyPositionUpdateResolver in client_sdk::models::gateway::events - Rust
pub struct PartyPositionUpdateResolver
where + PartyId: Archive, + i16: Archive,
{ /* private fields */ }
Expand description

The resolver for an archived PartyPositionUpdate

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/gateway/events/struct.ProfileUpdateEvent.html b/client_sdk/models/gateway/events/struct.ProfileUpdateEvent.html new file mode 100644 index 000000000..eeff6356c --- /dev/null +++ b/client_sdk/models/gateway/events/struct.ProfileUpdateEvent.html @@ -0,0 +1,56 @@ +ProfileUpdateEvent in client_sdk::models::gateway::events - Rust

Struct client_sdk::models::gateway::events::ProfileUpdateEvent

source ·
pub struct ProfileUpdateEvent {
+    pub party_id: Option<PartyId>,
+    pub user: User,
+}

Fields§

§party_id: Option<PartyId>§user: User

Trait Implementations§

source§

impl Archive for ProfileUpdateEvent
where + Option<PartyId>: Archive, + User: Archive,

source§

type Archived = ArchivedProfileUpdateEvent

The archived representation of this type. Read more
source§

type Resolver = ProfileUpdateEventResolver

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
source§

impl Debug for ProfileUpdateEvent

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for ProfileUpdateEvent

source§

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<__D: Fallible + ?Sized> Deserialize<ProfileUpdateEvent, __D> for Archived<ProfileUpdateEvent>
where + Option<PartyId>: Archive, + <Option<PartyId> as Archive>::Archived: Deserialize<Option<PartyId>, __D>, + User: Archive, + <User as Archive>::Archived: Deserialize<User, __D>,

source§

fn deserialize( + &self, + deserializer: &mut __D, +) -> Result<ProfileUpdateEvent, <__D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<__S: Fallible + ?Sized> Serialize<__S> for ProfileUpdateEvent
where + Option<PartyId>: Serialize<__S>, + User: Serialize<__S>,

source§

fn serialize( + &self, + serializer: &mut __S, +) -> Result<<Self as Archive>::Resolver, <__S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.
source§

impl Serialize for ProfileUpdateEvent

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
source§

impl<T> CommandBody for T
where + T: Send + Serialize + Archive,

source§

impl<T> CommandResult for T
where + T: Send + DeserializeOwned + Serialize + Archive,

source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/gateway/events/struct.ProfileUpdateEventResolver.html b/client_sdk/models/gateway/events/struct.ProfileUpdateEventResolver.html new file mode 100644 index 000000000..f026d68d0 --- /dev/null +++ b/client_sdk/models/gateway/events/struct.ProfileUpdateEventResolver.html @@ -0,0 +1,23 @@ +ProfileUpdateEventResolver in client_sdk::models::gateway::events - Rust
pub struct ProfileUpdateEventResolver
where + Option<PartyId>: Archive, + User: Archive,
{ /* private fields */ }
Expand description

The resolver for an archived ProfileUpdateEvent

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/gateway/events/struct.Ready.html b/client_sdk/models/gateway/events/struct.Ready.html new file mode 100644 index 000000000..d66a2fc06 --- /dev/null +++ b/client_sdk/models/gateway/events/struct.Ready.html @@ -0,0 +1,71 @@ +Ready in client_sdk::models::gateway::events - Rust

Struct client_sdk::models::gateway::events::Ready

source ·
pub struct Ready {
+    pub user: User,
+    pub parties: ThinVec<ReadyParty>,
+    pub rooms: ThinVec<Room>,
+    pub session: Snowflake,
+}

Fields§

§user: User§parties: ThinVec<ReadyParty>

The parties the user is in, including DMs.

+
§rooms: ThinVec<Room>

Contains all rooms the user is in, including DMs.

+
§session: Snowflake

Gateway session ID, used for resuming sessions

+

Trait Implementations§

source§

impl Archive for Ready
where + User: Archive, + ThinVec<ReadyParty>: Archive, + ThinVec<Room>: Archive, + Snowflake: Archive,

source§

type Archived = ArchivedReady

The archived representation of this type. Read more
source§

type Resolver = ReadyResolver

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
source§

impl Clone for Ready

source§

fn clone(&self) -> Ready

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Ready

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for Ready

source§

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<__D: Fallible + ?Sized> Deserialize<Ready, __D> for Archived<Ready>
where + User: Archive, + <User as Archive>::Archived: Deserialize<User, __D>, + ThinVec<ReadyParty>: Archive, + <ThinVec<ReadyParty> as Archive>::Archived: Deserialize<ThinVec<ReadyParty>, __D>, + ThinVec<Room>: Archive, + <ThinVec<Room> as Archive>::Archived: Deserialize<ThinVec<Room>, __D>, + Snowflake: Archive, + <Snowflake as Archive>::Archived: Deserialize<Snowflake, __D>,

source§

fn deserialize( + &self, + deserializer: &mut __D, +) -> Result<Ready, <__D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<__S: Fallible + ?Sized> Serialize<__S> for Ready
where + User: Serialize<__S>, + ThinVec<ReadyParty>: Serialize<__S>, + ThinVec<Room>: Serialize<__S>, + Snowflake: Serialize<__S>,

source§

fn serialize( + &self, + serializer: &mut __S, +) -> Result<<Self as Archive>::Resolver, <__S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.
source§

impl Serialize for Ready

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

§

impl Freeze for Ready

§

impl RefUnwindSafe for Ready

§

impl Send for Ready

§

impl Sync for Ready

§

impl Unpin for Ready

§

impl UnwindSafe for Ready

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where + T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T> ToOwned for T
where + T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
source§

impl<T> CommandBody for T
where + T: Send + Serialize + Archive,

source§

impl<T> CommandResult for T
where + T: Send + DeserializeOwned + Serialize + Archive,

source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/gateway/events/struct.ReadyParty.html b/client_sdk/models/gateway/events/struct.ReadyParty.html new file mode 100644 index 000000000..dd958546d --- /dev/null +++ b/client_sdk/models/gateway/events/struct.ReadyParty.html @@ -0,0 +1,59 @@ +ReadyParty in client_sdk::models::gateway::events - Rust

Struct client_sdk::models::gateway::events::ReadyParty

source ·
pub struct ReadyParty {
+    pub party: Party,
+    pub me: PartyMember,
+}

Fields§

§party: Party§me: PartyMember

The user’s own member object

+

Trait Implementations§

source§

impl Archive for ReadyParty
where + Party: Archive, + PartyMember: Archive,

source§

type Archived = ArchivedReadyParty

The archived representation of this type. Read more
source§

type Resolver = ReadyPartyResolver

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
source§

impl Clone for ReadyParty

source§

fn clone(&self) -> ReadyParty

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ReadyParty

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Deref for ReadyParty

source§

type Target = Party

The resulting type after dereferencing.
source§

fn deref(&self) -> &Party

Dereferences the value.
source§

impl DerefMut for ReadyParty

source§

fn deref_mut(&mut self) -> &mut Party

Mutably dereferences the value.
source§

impl<'de> Deserialize<'de> for ReadyParty

source§

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<__D: Fallible + ?Sized> Deserialize<ReadyParty, __D> for Archived<ReadyParty>
where + Party: Archive, + <Party as Archive>::Archived: Deserialize<Party, __D>, + PartyMember: Archive, + <PartyMember as Archive>::Archived: Deserialize<PartyMember, __D>,

source§

fn deserialize( + &self, + deserializer: &mut __D, +) -> Result<ReadyParty, <__D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<__S: Fallible + ?Sized> Serialize<__S> for ReadyParty
where + Party: Serialize<__S>, + PartyMember: Serialize<__S>,

source§

fn serialize( + &self, + serializer: &mut __S, +) -> Result<<Self as Archive>::Resolver, <__S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.
source§

impl Serialize for ReadyParty

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where + T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T> ToOwned for T
where + T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
source§

impl<T> CommandBody for T
where + T: Send + Serialize + Archive,

source§

impl<T> CommandResult for T
where + T: Send + DeserializeOwned + Serialize + Archive,

source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/gateway/events/struct.ReadyPartyResolver.html b/client_sdk/models/gateway/events/struct.ReadyPartyResolver.html new file mode 100644 index 000000000..c87c56bd6 --- /dev/null +++ b/client_sdk/models/gateway/events/struct.ReadyPartyResolver.html @@ -0,0 +1,23 @@ +ReadyPartyResolver in client_sdk::models::gateway::events - Rust

Struct client_sdk::models::gateway::events::ReadyPartyResolver

source ·
pub struct ReadyPartyResolver
where + Party: Archive, + PartyMember: Archive,
{ /* private fields */ }
Expand description

The resolver for an archived ReadyParty

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/gateway/events/struct.ReadyResolver.html b/client_sdk/models/gateway/events/struct.ReadyResolver.html new file mode 100644 index 000000000..eb71d6d32 --- /dev/null +++ b/client_sdk/models/gateway/events/struct.ReadyResolver.html @@ -0,0 +1,25 @@ +ReadyResolver in client_sdk::models::gateway::events - Rust

Struct client_sdk::models::gateway::events::ReadyResolver

source ·
pub struct ReadyResolver
where + User: Archive, + ThinVec<ReadyParty>: Archive, + ThinVec<Room>: Archive, + Snowflake: Archive,
{ /* private fields */ }
Expand description

The resolver for an archived Ready

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/gateway/events/struct.RoleDeleteEvent.html b/client_sdk/models/gateway/events/struct.RoleDeleteEvent.html new file mode 100644 index 000000000..55d471187 --- /dev/null +++ b/client_sdk/models/gateway/events/struct.RoleDeleteEvent.html @@ -0,0 +1,56 @@ +RoleDeleteEvent in client_sdk::models::gateway::events - Rust

Struct client_sdk::models::gateway::events::RoleDeleteEvent

source ·
pub struct RoleDeleteEvent {
+    pub id: RoleId,
+    pub party_id: PartyId,
+}

Fields§

§id: RoleId§party_id: PartyId

Trait Implementations§

source§

impl Archive for RoleDeleteEvent
where + RoleId: Archive, + PartyId: Archive,

source§

type Archived = ArchivedRoleDeleteEvent

The archived representation of this type. Read more
source§

type Resolver = RoleDeleteEventResolver

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
source§

impl Debug for RoleDeleteEvent

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for RoleDeleteEvent

source§

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<__D: Fallible + ?Sized> Deserialize<RoleDeleteEvent, __D> for Archived<RoleDeleteEvent>
where + RoleId: Archive, + <RoleId as Archive>::Archived: Deserialize<RoleId, __D>, + PartyId: Archive, + <PartyId as Archive>::Archived: Deserialize<PartyId, __D>,

source§

fn deserialize( + &self, + deserializer: &mut __D, +) -> Result<RoleDeleteEvent, <__D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<__S: Fallible + ?Sized> Serialize<__S> for RoleDeleteEvent
where + RoleId: Serialize<__S>, + PartyId: Serialize<__S>,

source§

fn serialize( + &self, + serializer: &mut __S, +) -> Result<<Self as Archive>::Resolver, <__S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.
source§

impl Serialize for RoleDeleteEvent

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
source§

impl<T> CommandBody for T
where + T: Send + Serialize + Archive,

source§

impl<T> CommandResult for T
where + T: Send + DeserializeOwned + Serialize + Archive,

source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/gateway/events/struct.RoleDeleteEventResolver.html b/client_sdk/models/gateway/events/struct.RoleDeleteEventResolver.html new file mode 100644 index 000000000..b939f7446 --- /dev/null +++ b/client_sdk/models/gateway/events/struct.RoleDeleteEventResolver.html @@ -0,0 +1,23 @@ +RoleDeleteEventResolver in client_sdk::models::gateway::events - Rust
pub struct RoleDeleteEventResolver
where + RoleId: Archive, + PartyId: Archive,
{ /* private fields */ }
Expand description

The resolver for an archived RoleDeleteEvent

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/gateway/events/struct.RoomDeleteEvent.html b/client_sdk/models/gateway/events/struct.RoomDeleteEvent.html new file mode 100644 index 000000000..ef042dbf7 --- /dev/null +++ b/client_sdk/models/gateway/events/struct.RoomDeleteEvent.html @@ -0,0 +1,55 @@ +RoomDeleteEvent in client_sdk::models::gateway::events - Rust

Struct client_sdk::models::gateway::events::RoomDeleteEvent

source ·
pub struct RoomDeleteEvent {
+    pub id: RoomId,
+    pub party_id: Option<PartyId>,
+}

Fields§

§id: RoomId§party_id: Option<PartyId>

Trait Implementations§

source§

impl Archive for RoomDeleteEvent
where + RoomId: Archive, + NicheSnowflake: ArchiveWith<Option<PartyId>>,

source§

type Archived = ArchivedRoomDeleteEvent

The archived representation of this type. Read more
source§

type Resolver = RoomDeleteEventResolver

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

impl Debug for RoomDeleteEvent

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for RoomDeleteEvent

source§

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<__D: Fallible + ?Sized> Deserialize<RoomDeleteEvent, __D> for Archived<RoomDeleteEvent>
where + RoomId: Archive, + <RoomId as Archive>::Archived: Deserialize<RoomId, __D>, + NicheSnowflake: ArchiveWith<Option<PartyId>> + DeserializeWith<<NicheSnowflake as ArchiveWith<Option<PartyId>>>::Archived, Option<PartyId>, __D>,

source§

fn deserialize( + &self, + deserializer: &mut __D, +) -> Result<RoomDeleteEvent, <__D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<__S: Fallible + ?Sized> Serialize<__S> for RoomDeleteEvent
where + RoomId: Serialize<__S>, + NicheSnowflake: SerializeWith<Option<PartyId>, __S>,

source§

fn serialize( + &self, + serializer: &mut __S, +) -> Result<<Self as Archive>::Resolver, <__S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.
source§

impl Serialize for RoomDeleteEvent

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
source§

impl<T> CommandBody for T
where + T: Send + Serialize + Archive,

source§

impl<T> CommandResult for T
where + T: Send + DeserializeOwned + Serialize + Archive,

source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/gateway/events/struct.RoomDeleteEventResolver.html b/client_sdk/models/gateway/events/struct.RoomDeleteEventResolver.html new file mode 100644 index 000000000..28df2fee4 --- /dev/null +++ b/client_sdk/models/gateway/events/struct.RoomDeleteEventResolver.html @@ -0,0 +1,23 @@ +RoomDeleteEventResolver in client_sdk::models::gateway::events - Rust
pub struct RoomDeleteEventResolver
where + RoomId: Archive, + NicheSnowflake: ArchiveWith<Option<PartyId>>,
{ /* private fields */ }
Expand description

The resolver for an archived RoomDeleteEvent

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/gateway/events/struct.TypingStart.html b/client_sdk/models/gateway/events/struct.TypingStart.html new file mode 100644 index 000000000..ed55cbe27 --- /dev/null +++ b/client_sdk/models/gateway/events/struct.TypingStart.html @@ -0,0 +1,73 @@ +TypingStart in client_sdk::models::gateway::events - Rust

Struct client_sdk::models::gateway::events::TypingStart

source ·
pub struct TypingStart {
+    pub room_id: RoomId,
+    pub party_id: PartyId,
+    pub user_id: UserId,
+    pub member: PartyMember,
+    pub parent: Option<MessageId>,
+}

Fields§

§room_id: RoomId§party_id: PartyId§user_id: UserId§member: PartyMember§parent: Option<MessageId>

Trait Implementations§

source§

impl Archive for TypingStart
where + RoomId: Archive, + PartyId: Archive, + UserId: Archive, + PartyMember: Archive, + Option<MessageId>: Archive,

source§

type Archived = ArchivedTypingStart

The archived representation of this type. Read more
source§

type Resolver = TypingStartResolver

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
source§

impl Clone for TypingStart

source§

fn clone(&self) -> TypingStart

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for TypingStart

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for TypingStart

source§

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<__D: Fallible + ?Sized> Deserialize<TypingStart, __D> for Archived<TypingStart>
where + RoomId: Archive, + <RoomId as Archive>::Archived: Deserialize<RoomId, __D>, + PartyId: Archive, + <PartyId as Archive>::Archived: Deserialize<PartyId, __D>, + UserId: Archive, + <UserId as Archive>::Archived: Deserialize<UserId, __D>, + PartyMember: Archive, + <PartyMember as Archive>::Archived: Deserialize<PartyMember, __D>, + Option<MessageId>: Archive, + <Option<MessageId> as Archive>::Archived: Deserialize<Option<MessageId>, __D>,

source§

fn deserialize( + &self, + deserializer: &mut __D, +) -> Result<TypingStart, <__D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<__S: Fallible + ?Sized> Serialize<__S> for TypingStart
where + RoomId: Serialize<__S>, + PartyId: Serialize<__S>, + UserId: Serialize<__S>, + PartyMember: Serialize<__S>, + Option<MessageId>: Serialize<__S>,

source§

fn serialize( + &self, + serializer: &mut __S, +) -> Result<<Self as Archive>::Resolver, <__S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.
source§

impl Serialize for TypingStart

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where + T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T> ToOwned for T
where + T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
source§

impl<T> CommandBody for T
where + T: Send + Serialize + Archive,

source§

impl<T> CommandResult for T
where + T: Send + DeserializeOwned + Serialize + Archive,

source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/gateway/events/struct.TypingStartResolver.html b/client_sdk/models/gateway/events/struct.TypingStartResolver.html new file mode 100644 index 000000000..7c3b6e351 --- /dev/null +++ b/client_sdk/models/gateway/events/struct.TypingStartResolver.html @@ -0,0 +1,26 @@ +TypingStartResolver in client_sdk::models::gateway::events - Rust

Struct client_sdk::models::gateway::events::TypingStartResolver

source ·
pub struct TypingStartResolver
where + RoomId: Archive, + PartyId: Archive, + UserId: Archive, + PartyMember: Archive, + Option<MessageId>: Archive,
{ /* private fields */ }
Expand description

The resolver for an archived TypingStart

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/gateway/events/struct.UserPresenceEvent.html b/client_sdk/models/gateway/events/struct.UserPresenceEvent.html new file mode 100644 index 000000000..d3785abf7 --- /dev/null +++ b/client_sdk/models/gateway/events/struct.UserPresenceEvent.html @@ -0,0 +1,56 @@ +UserPresenceEvent in client_sdk::models::gateway::events - Rust

Struct client_sdk::models::gateway::events::UserPresenceEvent

source ·
pub struct UserPresenceEvent {
+    pub party_id: Option<PartyId>,
+    pub user: User,
+}

Fields§

§party_id: Option<PartyId>§user: User

Trait Implementations§

source§

impl Archive for UserPresenceEvent
where + Option<PartyId>: Archive, + User: Archive,

source§

type Archived = ArchivedUserPresenceEvent

The archived representation of this type. Read more
source§

type Resolver = UserPresenceEventResolver

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
source§

impl Debug for UserPresenceEvent

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for UserPresenceEvent

source§

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<__D: Fallible + ?Sized> Deserialize<UserPresenceEvent, __D> for Archived<UserPresenceEvent>
where + Option<PartyId>: Archive, + <Option<PartyId> as Archive>::Archived: Deserialize<Option<PartyId>, __D>, + User: Archive, + <User as Archive>::Archived: Deserialize<User, __D>,

source§

fn deserialize( + &self, + deserializer: &mut __D, +) -> Result<UserPresenceEvent, <__D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<__S: Fallible + ?Sized> Serialize<__S> for UserPresenceEvent
where + Option<PartyId>: Serialize<__S>, + User: Serialize<__S>,

source§

fn serialize( + &self, + serializer: &mut __S, +) -> Result<<Self as Archive>::Resolver, <__S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.
source§

impl Serialize for UserPresenceEvent

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
source§

impl<T> CommandBody for T
where + T: Send + Serialize + Archive,

source§

impl<T> CommandResult for T
where + T: Send + DeserializeOwned + Serialize + Archive,

source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/gateway/events/struct.UserPresenceEventResolver.html b/client_sdk/models/gateway/events/struct.UserPresenceEventResolver.html new file mode 100644 index 000000000..7572069e9 --- /dev/null +++ b/client_sdk/models/gateway/events/struct.UserPresenceEventResolver.html @@ -0,0 +1,23 @@ +UserPresenceEventResolver in client_sdk::models::gateway::events - Rust
pub struct UserPresenceEventResolver
where + Option<PartyId>: Archive, + User: Archive,
{ /* private fields */ }
Expand description

The resolver for an archived UserPresenceEvent

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/gateway/events/struct.UserReactionEvent.html b/client_sdk/models/gateway/events/struct.UserReactionEvent.html new file mode 100644 index 000000000..890198e48 --- /dev/null +++ b/client_sdk/models/gateway/events/struct.UserReactionEvent.html @@ -0,0 +1,75 @@ +UserReactionEvent in client_sdk::models::gateway::events - Rust

Struct client_sdk::models::gateway::events::UserReactionEvent

source ·
pub struct UserReactionEvent {
+    pub user_id: UserId,
+    pub room_id: RoomId,
+    pub party_id: PartyId,
+    pub msg_id: MessageId,
+    pub member: Option<Box<PartyMember>>,
+    pub emote: EmoteOrEmoji,
+}

Fields§

§user_id: UserId§room_id: RoomId§party_id: PartyId§msg_id: MessageId§member: Option<Box<PartyMember>>§emote: EmoteOrEmoji

Trait Implementations§

source§

impl Archive for UserReactionEvent
where + UserId: Archive, + RoomId: Archive, + PartyId: Archive, + MessageId: Archive, + Niche: ArchiveWith<Option<Box<PartyMember>>>, + EmoteOrEmoji: Archive,

source§

type Archived = ArchivedUserReactionEvent

The archived representation of this type. Read more
source§

type Resolver = UserReactionEventResolver

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

impl Debug for UserReactionEvent

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for UserReactionEvent

source§

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<__D: Fallible + ?Sized> Deserialize<UserReactionEvent, __D> for Archived<UserReactionEvent>
where + UserId: Archive, + <UserId as Archive>::Archived: Deserialize<UserId, __D>, + RoomId: Archive, + <RoomId as Archive>::Archived: Deserialize<RoomId, __D>, + PartyId: Archive, + <PartyId as Archive>::Archived: Deserialize<PartyId, __D>, + MessageId: Archive, + <MessageId as Archive>::Archived: Deserialize<MessageId, __D>, + Niche: ArchiveWith<Option<Box<PartyMember>>> + DeserializeWith<<Niche as ArchiveWith<Option<Box<PartyMember>>>>::Archived, Option<Box<PartyMember>>, __D>, + EmoteOrEmoji: Archive, + <EmoteOrEmoji as Archive>::Archived: Deserialize<EmoteOrEmoji, __D>,

source§

fn deserialize( + &self, + deserializer: &mut __D, +) -> Result<UserReactionEvent, <__D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<__S: Fallible + ?Sized> Serialize<__S> for UserReactionEvent
where + UserId: Serialize<__S>, + RoomId: Serialize<__S>, + PartyId: Serialize<__S>, + MessageId: Serialize<__S>, + Niche: SerializeWith<Option<Box<PartyMember>>, __S>, + EmoteOrEmoji: Serialize<__S>,

source§

fn serialize( + &self, + serializer: &mut __S, +) -> Result<<Self as Archive>::Resolver, <__S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.
source§

impl Serialize for UserReactionEvent

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
source§

impl<T> CommandBody for T
where + T: Send + Serialize + Archive,

source§

impl<T> CommandResult for T
where + T: Send + DeserializeOwned + Serialize + Archive,

source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/gateway/events/struct.UserReactionEventResolver.html b/client_sdk/models/gateway/events/struct.UserReactionEventResolver.html new file mode 100644 index 000000000..cb063ffd8 --- /dev/null +++ b/client_sdk/models/gateway/events/struct.UserReactionEventResolver.html @@ -0,0 +1,27 @@ +UserReactionEventResolver in client_sdk::models::gateway::events - Rust
pub struct UserReactionEventResolver
where + UserId: Archive, + RoomId: Archive, + PartyId: Archive, + MessageId: Archive, + Niche: ArchiveWith<Option<Box<PartyMember>>>, + EmoteOrEmoji: Archive,
{ /* private fields */ }
Expand description

The resolver for an archived UserReactionEvent

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/gateway/index.html b/client_sdk/models/gateway/index.html new file mode 100644 index 000000000..cd83a2598 --- /dev/null +++ b/client_sdk/models/gateway/index.html @@ -0,0 +1,2 @@ +client_sdk::models::gateway - Rust

Module client_sdk::models::gateway

source ·

Modules§

Structs§

  • Archived version of Intent, automatically made endian-agnostic. +When comparing with the native bitflags, the archived bitflags will truncate any extra bits.
\ No newline at end of file diff --git a/client_sdk/models/gateway/message/client_msg_payloads/index.html b/client_sdk/models/gateway/message/client_msg_payloads/index.html new file mode 100644 index 000000000..3a2072646 --- /dev/null +++ b/client_sdk/models/gateway/message/client_msg_payloads/index.html @@ -0,0 +1 @@ +client_sdk::models::gateway::message::client_msg_payloads - Rust

Module client_sdk::models::gateway::message::client_msg_payloads

source ·

Structs§

\ No newline at end of file diff --git a/client_sdk/models/gateway/message/client_msg_payloads/sidebar-items.js b/client_sdk/models/gateway/message/client_msg_payloads/sidebar-items.js new file mode 100644 index 000000000..4c68f4eaa --- /dev/null +++ b/client_sdk/models/gateway/message/client_msg_payloads/sidebar-items.js @@ -0,0 +1 @@ +window.SIDEBAR_ITEMS = {"struct":["ArchivedHeartbeatPayload","ArchivedIdentifyPayload","ArchivedResumePayload","ArchivedSetPresencePayload","ArchivedSubscribePayload","ArchivedUnsubscribePayload","HeartbeatPayload","HeartbeatPayloadResolver","IdentifyPayload","IdentifyPayloadResolver","ResumePayload","ResumePayloadResolver","SetPresencePayload","SetPresencePayloadResolver","SubscribePayload","SubscribePayloadResolver","UnsubscribePayload","UnsubscribePayloadResolver"]}; \ No newline at end of file diff --git a/client_sdk/models/gateway/message/client_msg_payloads/struct.ArchivedHeartbeatPayload.html b/client_sdk/models/gateway/message/client_msg_payloads/struct.ArchivedHeartbeatPayload.html new file mode 100644 index 000000000..3ea088e95 --- /dev/null +++ b/client_sdk/models/gateway/message/client_msg_payloads/struct.ArchivedHeartbeatPayload.html @@ -0,0 +1,26 @@ +ArchivedHeartbeatPayload in client_sdk::models::gateway::message::client_msg_payloads - Rust
#[repr(C)]
pub struct ArchivedHeartbeatPayload {}
Expand description

An archived HeartbeatPayload

+

Trait Implementations§

source§

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedHeartbeatPayload
where + <__C as Fallible>::Error: Trace,

source§

unsafe fn check_bytes( + value: *const Self, + context: &mut __C, +) -> Result<(), <__C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Portable for ArchivedHeartbeatPayload

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/gateway/message/client_msg_payloads/struct.ArchivedIdentifyPayload.html b/client_sdk/models/gateway/message/client_msg_payloads/struct.ArchivedIdentifyPayload.html new file mode 100644 index 000000000..fce954f24 --- /dev/null +++ b/client_sdk/models/gateway/message/client_msg_payloads/struct.ArchivedIdentifyPayload.html @@ -0,0 +1,33 @@ +ArchivedIdentifyPayload in client_sdk::models::gateway::message::client_msg_payloads - Rust
#[repr(C)]
pub struct ArchivedIdentifyPayload
where + Box<Identify>: Archive,
{ + pub inner: <Box<Identify> as Archive>::Archived, +}
Expand description

An archived IdentifyPayload

+

Fields§

§inner: <Box<Identify> as Archive>::Archived

Trait Implementations§

source§

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedIdentifyPayload
where + Box<Identify>: Archive, + <__C as Fallible>::Error: Trace, + <Box<Identify> as Archive>::Archived: CheckBytes<__C>,

source§

unsafe fn check_bytes( + value: *const Self, + context: &mut __C, +) -> Result<(), <__C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Deref for ArchivedIdentifyPayload

source§

type Target = <Box<Identify> as Archive>::Archived

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl Portable for ArchivedIdentifyPayload
where + Box<Identify>: Archive, + <Box<Identify> as Archive>::Archived: Portable,

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/gateway/message/client_msg_payloads/struct.ArchivedResumePayload.html b/client_sdk/models/gateway/message/client_msg_payloads/struct.ArchivedResumePayload.html new file mode 100644 index 000000000..95bd71ab9 --- /dev/null +++ b/client_sdk/models/gateway/message/client_msg_payloads/struct.ArchivedResumePayload.html @@ -0,0 +1,33 @@ +ArchivedResumePayload in client_sdk::models::gateway::message::client_msg_payloads - Rust
#[repr(C)]
pub struct ArchivedResumePayload
where + Snowflake: Archive,
{ + pub session: <Snowflake as Archive>::Archived, +}
Expand description

An archived ResumePayload

+

Fields§

§session: <Snowflake as Archive>::Archived

Trait Implementations§

source§

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedResumePayload
where + Snowflake: Archive, + <__C as Fallible>::Error: Trace, + <Snowflake as Archive>::Archived: CheckBytes<__C>,

source§

unsafe fn check_bytes( + value: *const Self, + context: &mut __C, +) -> Result<(), <__C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Portable for ArchivedResumePayload
where + Snowflake: Archive, + <Snowflake as Archive>::Archived: Portable,

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/gateway/message/client_msg_payloads/struct.ArchivedSetPresencePayload.html b/client_sdk/models/gateway/message/client_msg_payloads/struct.ArchivedSetPresencePayload.html new file mode 100644 index 000000000..3beb6893b --- /dev/null +++ b/client_sdk/models/gateway/message/client_msg_payloads/struct.ArchivedSetPresencePayload.html @@ -0,0 +1,33 @@ +ArchivedSetPresencePayload in client_sdk::models::gateway::message::client_msg_payloads - Rust
#[repr(C)]
pub struct ArchivedSetPresencePayload
where + Box<SetPresence>: Archive,
{ + pub inner: <Box<SetPresence> as Archive>::Archived, +}
Expand description

An archived SetPresencePayload

+

Fields§

§inner: <Box<SetPresence> as Archive>::Archived

Trait Implementations§

source§

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedSetPresencePayload
where + Box<SetPresence>: Archive, + <__C as Fallible>::Error: Trace, + <Box<SetPresence> as Archive>::Archived: CheckBytes<__C>,

source§

unsafe fn check_bytes( + value: *const Self, + context: &mut __C, +) -> Result<(), <__C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Deref for ArchivedSetPresencePayload

source§

type Target = <Box<SetPresence> as Archive>::Archived

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl Portable for ArchivedSetPresencePayload
where + Box<SetPresence>: Archive, + <Box<SetPresence> as Archive>::Archived: Portable,

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/gateway/message/client_msg_payloads/struct.ArchivedSubscribePayload.html b/client_sdk/models/gateway/message/client_msg_payloads/struct.ArchivedSubscribePayload.html new file mode 100644 index 000000000..217a54d9f --- /dev/null +++ b/client_sdk/models/gateway/message/client_msg_payloads/struct.ArchivedSubscribePayload.html @@ -0,0 +1,33 @@ +ArchivedSubscribePayload in client_sdk::models::gateway::message::client_msg_payloads - Rust
#[repr(C)]
pub struct ArchivedSubscribePayload
where + PartyId: Archive,
{ + pub party_id: <PartyId as Archive>::Archived, +}
Expand description

An archived SubscribePayload

+

Fields§

§party_id: <PartyId as Archive>::Archived

Trait Implementations§

source§

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedSubscribePayload
where + PartyId: Archive, + <__C as Fallible>::Error: Trace, + <PartyId as Archive>::Archived: CheckBytes<__C>,

source§

unsafe fn check_bytes( + value: *const Self, + context: &mut __C, +) -> Result<(), <__C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Portable for ArchivedSubscribePayload
where + PartyId: Archive, + <PartyId as Archive>::Archived: Portable,

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/gateway/message/client_msg_payloads/struct.ArchivedUnsubscribePayload.html b/client_sdk/models/gateway/message/client_msg_payloads/struct.ArchivedUnsubscribePayload.html new file mode 100644 index 000000000..d42f75faa --- /dev/null +++ b/client_sdk/models/gateway/message/client_msg_payloads/struct.ArchivedUnsubscribePayload.html @@ -0,0 +1,33 @@ +ArchivedUnsubscribePayload in client_sdk::models::gateway::message::client_msg_payloads - Rust
#[repr(C)]
pub struct ArchivedUnsubscribePayload
where + PartyId: Archive,
{ + pub party_id: <PartyId as Archive>::Archived, +}
Expand description

An archived UnsubscribePayload

+

Fields§

§party_id: <PartyId as Archive>::Archived

Trait Implementations§

source§

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedUnsubscribePayload
where + PartyId: Archive, + <__C as Fallible>::Error: Trace, + <PartyId as Archive>::Archived: CheckBytes<__C>,

source§

unsafe fn check_bytes( + value: *const Self, + context: &mut __C, +) -> Result<(), <__C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Portable for ArchivedUnsubscribePayload
where + PartyId: Archive, + <PartyId as Archive>::Archived: Portable,

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/gateway/message/client_msg_payloads/struct.HeartbeatPayload.html b/client_sdk/models/gateway/message/client_msg_payloads/struct.HeartbeatPayload.html new file mode 100644 index 000000000..7991ca963 --- /dev/null +++ b/client_sdk/models/gateway/message/client_msg_payloads/struct.HeartbeatPayload.html @@ -0,0 +1,53 @@ +HeartbeatPayload in client_sdk::models::gateway::message::client_msg_payloads - Rust
pub struct HeartbeatPayload {}
Expand description

Payload struct for ClientMsg::Heartbeat

+

Trait Implementations§

source§

impl Archive for HeartbeatPayload

source§

type Archived = ArchivedHeartbeatPayload

The archived representation of this type. Read more
source§

type Resolver = HeartbeatPayloadResolver

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
source§

impl Debug for HeartbeatPayload

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for HeartbeatPayload

source§

fn default() -> HeartbeatPayload

Returns the “default value” for a type. Read more
source§

impl<'de> Deserialize<'de> for HeartbeatPayload

source§

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<__D: Fallible + ?Sized> Deserialize<HeartbeatPayload, __D> for Archived<HeartbeatPayload>

source§

fn deserialize( + &self, + deserializer: &mut __D, +) -> Result<HeartbeatPayload, <__D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl PartialEq for HeartbeatPayload

source§

fn eq(&self, other: &HeartbeatPayload) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl<__S: Fallible + ?Sized> Serialize<__S> for HeartbeatPayload

source§

fn serialize( + &self, + serializer: &mut __S, +) -> Result<<Self as Archive>::Resolver, <__S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.
source§

impl Serialize for HeartbeatPayload

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for HeartbeatPayload

source§

impl StructuralPartialEq for HeartbeatPayload

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
source§

impl<T> CommandBody for T
where + T: Send + Serialize + Archive,

source§

impl<T> CommandResult for T
where + T: Send + DeserializeOwned + Serialize + Archive,

source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/gateway/message/client_msg_payloads/struct.HeartbeatPayloadResolver.html b/client_sdk/models/gateway/message/client_msg_payloads/struct.HeartbeatPayloadResolver.html new file mode 100644 index 000000000..b0a8ed1dc --- /dev/null +++ b/client_sdk/models/gateway/message/client_msg_payloads/struct.HeartbeatPayloadResolver.html @@ -0,0 +1,21 @@ +HeartbeatPayloadResolver in client_sdk::models::gateway::message::client_msg_payloads - Rust
pub struct HeartbeatPayloadResolver {}
Expand description

The resolver for an archived HeartbeatPayload

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/gateway/message/client_msg_payloads/struct.IdentifyPayload.html b/client_sdk/models/gateway/message/client_msg_payloads/struct.IdentifyPayload.html new file mode 100644 index 000000000..fcce023cd --- /dev/null +++ b/client_sdk/models/gateway/message/client_msg_payloads/struct.IdentifyPayload.html @@ -0,0 +1,52 @@ +IdentifyPayload in client_sdk::models::gateway::message::client_msg_payloads - Rust
pub struct IdentifyPayload {
+    pub inner: Box<Identify>,
+}
Expand description

Payload struct for ClientMsg::Identify

+

Fields§

§inner: Box<Identify>

Trait Implementations§

source§

impl Archive for IdentifyPayload
where + Box<Identify>: Archive,

source§

type Archived = ArchivedIdentifyPayload

The archived representation of this type. Read more
source§

type Resolver = IdentifyPayloadResolver

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
source§

impl Debug for IdentifyPayload

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Deref for IdentifyPayload

source§

type Target = Box<Identify>

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl<'de> Deserialize<'de> for IdentifyPayload

source§

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<__D: Fallible + ?Sized> Deserialize<IdentifyPayload, __D> for Archived<IdentifyPayload>
where + Box<Identify>: Archive, + <Box<Identify> as Archive>::Archived: Deserialize<Box<Identify>, __D>,

source§

fn deserialize( + &self, + deserializer: &mut __D, +) -> Result<IdentifyPayload, <__D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<__S: Fallible + ?Sized> Serialize<__S> for IdentifyPayload
where + Box<Identify>: Serialize<__S>,

source§

fn serialize( + &self, + serializer: &mut __S, +) -> Result<<Self as Archive>::Resolver, <__S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.
source§

impl Serialize for IdentifyPayload

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
source§

impl<T> CommandBody for T
where + T: Send + Serialize + Archive,

source§

impl<T> CommandResult for T
where + T: Send + DeserializeOwned + Serialize + Archive,

source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/gateway/message/client_msg_payloads/struct.IdentifyPayloadResolver.html b/client_sdk/models/gateway/message/client_msg_payloads/struct.IdentifyPayloadResolver.html new file mode 100644 index 000000000..6f4a6e9ac --- /dev/null +++ b/client_sdk/models/gateway/message/client_msg_payloads/struct.IdentifyPayloadResolver.html @@ -0,0 +1,22 @@ +IdentifyPayloadResolver in client_sdk::models::gateway::message::client_msg_payloads - Rust
pub struct IdentifyPayloadResolver
where + Box<Identify>: Archive,
{ /* private fields */ }
Expand description

The resolver for an archived IdentifyPayload

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/gateway/message/client_msg_payloads/struct.ResumePayload.html b/client_sdk/models/gateway/message/client_msg_payloads/struct.ResumePayload.html new file mode 100644 index 000000000..0abbd7dff --- /dev/null +++ b/client_sdk/models/gateway/message/client_msg_payloads/struct.ResumePayload.html @@ -0,0 +1,52 @@ +ResumePayload in client_sdk::models::gateway::message::client_msg_payloads - Rust
pub struct ResumePayload {
+    pub session: Snowflake,
+}
Expand description

Payload struct for ClientMsg::Resume

+

Fields§

§session: Snowflake

Trait Implementations§

source§

impl Archive for ResumePayload
where + Snowflake: Archive,

source§

type Archived = ArchivedResumePayload

The archived representation of this type. Read more
source§

type Resolver = ResumePayloadResolver

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
source§

impl Debug for ResumePayload

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for ResumePayload

source§

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<__D: Fallible + ?Sized> Deserialize<ResumePayload, __D> for Archived<ResumePayload>
where + Snowflake: Archive, + <Snowflake as Archive>::Archived: Deserialize<Snowflake, __D>,

source§

fn deserialize( + &self, + deserializer: &mut __D, +) -> Result<ResumePayload, <__D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<__S: Fallible + ?Sized> Serialize<__S> for ResumePayload
where + Snowflake: Serialize<__S>,

source§

fn serialize( + &self, + serializer: &mut __S, +) -> Result<<Self as Archive>::Resolver, <__S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.
source§

impl Serialize for ResumePayload

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
source§

impl<T> CommandBody for T
where + T: Send + Serialize + Archive,

source§

impl<T> CommandResult for T
where + T: Send + DeserializeOwned + Serialize + Archive,

source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/gateway/message/client_msg_payloads/struct.ResumePayloadResolver.html b/client_sdk/models/gateway/message/client_msg_payloads/struct.ResumePayloadResolver.html new file mode 100644 index 000000000..46c149fcb --- /dev/null +++ b/client_sdk/models/gateway/message/client_msg_payloads/struct.ResumePayloadResolver.html @@ -0,0 +1,22 @@ +ResumePayloadResolver in client_sdk::models::gateway::message::client_msg_payloads - Rust
pub struct ResumePayloadResolver
where + Snowflake: Archive,
{ /* private fields */ }
Expand description

The resolver for an archived ResumePayload

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/gateway/message/client_msg_payloads/struct.SetPresencePayload.html b/client_sdk/models/gateway/message/client_msg_payloads/struct.SetPresencePayload.html new file mode 100644 index 000000000..e960956ad --- /dev/null +++ b/client_sdk/models/gateway/message/client_msg_payloads/struct.SetPresencePayload.html @@ -0,0 +1,52 @@ +SetPresencePayload in client_sdk::models::gateway::message::client_msg_payloads - Rust
pub struct SetPresencePayload {
+    pub inner: Box<SetPresence>,
+}
Expand description

Payload struct for ClientMsg::SetPresence

+

Fields§

§inner: Box<SetPresence>

Trait Implementations§

source§

impl Archive for SetPresencePayload
where + Box<SetPresence>: Archive,

source§

type Archived = ArchivedSetPresencePayload

The archived representation of this type. Read more
source§

type Resolver = SetPresencePayloadResolver

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
source§

impl Debug for SetPresencePayload

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Deref for SetPresencePayload

source§

type Target = Box<SetPresence>

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl<'de> Deserialize<'de> for SetPresencePayload

source§

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<__D: Fallible + ?Sized> Deserialize<SetPresencePayload, __D> for Archived<SetPresencePayload>
where + Box<SetPresence>: Archive, + <Box<SetPresence> as Archive>::Archived: Deserialize<Box<SetPresence>, __D>,

source§

fn deserialize( + &self, + deserializer: &mut __D, +) -> Result<SetPresencePayload, <__D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<__S: Fallible + ?Sized> Serialize<__S> for SetPresencePayload
where + Box<SetPresence>: Serialize<__S>,

source§

fn serialize( + &self, + serializer: &mut __S, +) -> Result<<Self as Archive>::Resolver, <__S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.
source§

impl Serialize for SetPresencePayload

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
source§

impl<T> CommandBody for T
where + T: Send + Serialize + Archive,

source§

impl<T> CommandResult for T
where + T: Send + DeserializeOwned + Serialize + Archive,

source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/gateway/message/client_msg_payloads/struct.SetPresencePayloadResolver.html b/client_sdk/models/gateway/message/client_msg_payloads/struct.SetPresencePayloadResolver.html new file mode 100644 index 000000000..e43a0808f --- /dev/null +++ b/client_sdk/models/gateway/message/client_msg_payloads/struct.SetPresencePayloadResolver.html @@ -0,0 +1,22 @@ +SetPresencePayloadResolver in client_sdk::models::gateway::message::client_msg_payloads - Rust
pub struct SetPresencePayloadResolver
where + Box<SetPresence>: Archive,
{ /* private fields */ }
Expand description

The resolver for an archived SetPresencePayload

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/gateway/message/client_msg_payloads/struct.SubscribePayload.html b/client_sdk/models/gateway/message/client_msg_payloads/struct.SubscribePayload.html new file mode 100644 index 000000000..167091ef3 --- /dev/null +++ b/client_sdk/models/gateway/message/client_msg_payloads/struct.SubscribePayload.html @@ -0,0 +1,52 @@ +SubscribePayload in client_sdk::models::gateway::message::client_msg_payloads - Rust
pub struct SubscribePayload {
+    pub party_id: PartyId,
+}
Expand description

Payload struct for ClientMsg::Subscribe

+

Fields§

§party_id: PartyId

Trait Implementations§

source§

impl Archive for SubscribePayload
where + PartyId: Archive,

source§

type Archived = ArchivedSubscribePayload

The archived representation of this type. Read more
source§

type Resolver = SubscribePayloadResolver

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
source§

impl Debug for SubscribePayload

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for SubscribePayload

source§

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<__D: Fallible + ?Sized> Deserialize<SubscribePayload, __D> for Archived<SubscribePayload>
where + PartyId: Archive, + <PartyId as Archive>::Archived: Deserialize<PartyId, __D>,

source§

fn deserialize( + &self, + deserializer: &mut __D, +) -> Result<SubscribePayload, <__D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<__S: Fallible + ?Sized> Serialize<__S> for SubscribePayload
where + PartyId: Serialize<__S>,

source§

fn serialize( + &self, + serializer: &mut __S, +) -> Result<<Self as Archive>::Resolver, <__S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.
source§

impl Serialize for SubscribePayload

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
source§

impl<T> CommandBody for T
where + T: Send + Serialize + Archive,

source§

impl<T> CommandResult for T
where + T: Send + DeserializeOwned + Serialize + Archive,

source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/gateway/message/client_msg_payloads/struct.SubscribePayloadResolver.html b/client_sdk/models/gateway/message/client_msg_payloads/struct.SubscribePayloadResolver.html new file mode 100644 index 000000000..2a95c2914 --- /dev/null +++ b/client_sdk/models/gateway/message/client_msg_payloads/struct.SubscribePayloadResolver.html @@ -0,0 +1,22 @@ +SubscribePayloadResolver in client_sdk::models::gateway::message::client_msg_payloads - Rust
pub struct SubscribePayloadResolver
where + PartyId: Archive,
{ /* private fields */ }
Expand description

The resolver for an archived SubscribePayload

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/gateway/message/client_msg_payloads/struct.UnsubscribePayload.html b/client_sdk/models/gateway/message/client_msg_payloads/struct.UnsubscribePayload.html new file mode 100644 index 000000000..c85a69537 --- /dev/null +++ b/client_sdk/models/gateway/message/client_msg_payloads/struct.UnsubscribePayload.html @@ -0,0 +1,52 @@ +UnsubscribePayload in client_sdk::models::gateway::message::client_msg_payloads - Rust
pub struct UnsubscribePayload {
+    pub party_id: PartyId,
+}
Expand description

Payload struct for ClientMsg::Unsubscribe

+

Fields§

§party_id: PartyId

Trait Implementations§

source§

impl Archive for UnsubscribePayload
where + PartyId: Archive,

source§

type Archived = ArchivedUnsubscribePayload

The archived representation of this type. Read more
source§

type Resolver = UnsubscribePayloadResolver

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
source§

impl Debug for UnsubscribePayload

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for UnsubscribePayload

source§

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<__D: Fallible + ?Sized> Deserialize<UnsubscribePayload, __D> for Archived<UnsubscribePayload>
where + PartyId: Archive, + <PartyId as Archive>::Archived: Deserialize<PartyId, __D>,

source§

fn deserialize( + &self, + deserializer: &mut __D, +) -> Result<UnsubscribePayload, <__D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<__S: Fallible + ?Sized> Serialize<__S> for UnsubscribePayload
where + PartyId: Serialize<__S>,

source§

fn serialize( + &self, + serializer: &mut __S, +) -> Result<<Self as Archive>::Resolver, <__S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.
source§

impl Serialize for UnsubscribePayload

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
source§

impl<T> CommandBody for T
where + T: Send + Serialize + Archive,

source§

impl<T> CommandResult for T
where + T: Send + DeserializeOwned + Serialize + Archive,

source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/gateway/message/client_msg_payloads/struct.UnsubscribePayloadResolver.html b/client_sdk/models/gateway/message/client_msg_payloads/struct.UnsubscribePayloadResolver.html new file mode 100644 index 000000000..5111e6c62 --- /dev/null +++ b/client_sdk/models/gateway/message/client_msg_payloads/struct.UnsubscribePayloadResolver.html @@ -0,0 +1,22 @@ +UnsubscribePayloadResolver in client_sdk::models::gateway::message::client_msg_payloads - Rust
pub struct UnsubscribePayloadResolver
where + PartyId: Archive,
{ /* private fields */ }
Expand description

The resolver for an archived UnsubscribePayload

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/gateway/message/enum.ArchivedClientMsg.html b/client_sdk/models/gateway/message/enum.ArchivedClientMsg.html new file mode 100644 index 000000000..797b60dba --- /dev/null +++ b/client_sdk/models/gateway/message/enum.ArchivedClientMsg.html @@ -0,0 +1,69 @@ +ArchivedClientMsg in client_sdk::models::gateway::message - Rust

Enum client_sdk::models::gateway::message::ArchivedClientMsg

source ·
#[repr(u8)]
pub enum ArchivedClientMsg
where + HeartbeatPayload: Archive, + IdentifyPayload: Archive, + ResumePayload: Archive, + SetPresencePayload: Archive, + SubscribePayload: Archive, + UnsubscribePayload: Archive,
{ + Heartbeat(<HeartbeatPayload as Archive>::Archived), + Identify(<IdentifyPayload as Archive>::Archived), + Resume(<ResumePayload as Archive>::Archived), + SetPresence(<SetPresencePayload as Archive>::Archived), + Subscribe(<SubscribePayload as Archive>::Archived), + Unsubscribe(<UnsubscribePayload as Archive>::Archived), +}
Expand description

An archived ClientMsg

+

Variants§

§

Heartbeat(<HeartbeatPayload as Archive>::Archived)

The archived counterpart of ClientMsg::Heartbeat

+
§

Identify(<IdentifyPayload as Archive>::Archived)

The archived counterpart of ClientMsg::Identify

+
§

Resume(<ResumePayload as Archive>::Archived)

The archived counterpart of ClientMsg::Resume

+
§

SetPresence(<SetPresencePayload as Archive>::Archived)

The archived counterpart of ClientMsg::SetPresence

+
§

Subscribe(<SubscribePayload as Archive>::Archived)

The archived counterpart of ClientMsg::Subscribe

+
§

Unsubscribe(<UnsubscribePayload as Archive>::Archived)

The archived counterpart of ClientMsg::Unsubscribe

+

Trait Implementations§

source§

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedClientMsg
where + HeartbeatPayload: Archive, + IdentifyPayload: Archive, + ResumePayload: Archive, + SetPresencePayload: Archive, + SubscribePayload: Archive, + UnsubscribePayload: Archive, + <__C as Fallible>::Error: Source, + <HeartbeatPayload as Archive>::Archived: CheckBytes<__C>, + <IdentifyPayload as Archive>::Archived: CheckBytes<__C>, + <ResumePayload as Archive>::Archived: CheckBytes<__C>, + <SetPresencePayload as Archive>::Archived: CheckBytes<__C>, + <SubscribePayload as Archive>::Archived: CheckBytes<__C>, + <UnsubscribePayload as Archive>::Archived: CheckBytes<__C>,

source§

unsafe fn check_bytes( + value: *const Self, + context: &mut __C, +) -> Result<(), <__C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Portable for ArchivedClientMsg
where + HeartbeatPayload: Archive, + IdentifyPayload: Archive, + ResumePayload: Archive, + SetPresencePayload: Archive, + SubscribePayload: Archive, + UnsubscribePayload: Archive, + <HeartbeatPayload as Archive>::Archived: Portable, + <IdentifyPayload as Archive>::Archived: Portable, + <ResumePayload as Archive>::Archived: Portable, + <SetPresencePayload as Archive>::Archived: Portable, + <SubscribePayload as Archive>::Archived: Portable, + <UnsubscribePayload as Archive>::Archived: Portable,

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/gateway/message/enum.ArchivedServerMsg.html b/client_sdk/models/gateway/message/enum.ArchivedServerMsg.html new file mode 100644 index 000000000..e7f143c66 --- /dev/null +++ b/client_sdk/models/gateway/message/enum.ArchivedServerMsg.html @@ -0,0 +1,251 @@ +ArchivedServerMsg in client_sdk::models::gateway::message - Rust

Enum client_sdk::models::gateway::message::ArchivedServerMsg

source ·
#[repr(u8)]
pub enum ArchivedServerMsg
where + HelloPayload: Archive, + HeartbeatAckPayload: Archive, + ReadyPayload: Archive, + InvalidSessionPayload: Archive, + PartyCreatePayload: Archive, + PartyUpdatePayload: Archive, + PartyDeletePayload: Archive, + RoleCreatePayload: Archive, + RoleUpdatePayload: Archive, + RoleDeletePayload: Archive, + MemberAddPayload: Archive, + MemberUpdatePayload: Archive, + MemberRemovePayload: Archive, + MemberBanPayload: Archive, + MemberUnbanPayload: Archive, + RoomCreatePayload: Archive, + RoomUpdatePayload: Archive, + RoomDeletePayload: Archive, + RoomPinsUpdatePayload: Archive, + MessageCreatePayload: Archive, + MessageUpdatePayload: Archive, + MessageDeletePayload: Archive, + MessageReactionAddPayload: Archive, + MessageReactionRemovePayload: Archive, + MessageReactionRemoveAllPayload: Archive, + MessageReactionRemoveEmotePayload: Archive, + PresenceUpdatePayload: Archive, + TypingStartPayload: Archive, + UserUpdatePayload: Archive, + ProfileUpdatePayload: Archive, + RelationAddPayload: Archive, + RelationRemovePayload: Archive,
{ +
Show 32 variants Hello(<HelloPayload as Archive>::Archived), + HeartbeatAck(<HeartbeatAckPayload as Archive>::Archived), + Ready(<ReadyPayload as Archive>::Archived), + InvalidSession(<InvalidSessionPayload as Archive>::Archived), + PartyCreate(<PartyCreatePayload as Archive>::Archived), + PartyUpdate(<PartyUpdatePayload as Archive>::Archived), + PartyDelete(<PartyDeletePayload as Archive>::Archived), + RoleCreate(<RoleCreatePayload as Archive>::Archived), + RoleUpdate(<RoleUpdatePayload as Archive>::Archived), + RoleDelete(<RoleDeletePayload as Archive>::Archived), + MemberAdd(<MemberAddPayload as Archive>::Archived), + MemberUpdate(<MemberUpdatePayload as Archive>::Archived), + MemberRemove(<MemberRemovePayload as Archive>::Archived), + MemberBan(<MemberBanPayload as Archive>::Archived), + MemberUnban(<MemberUnbanPayload as Archive>::Archived), + RoomCreate(<RoomCreatePayload as Archive>::Archived), + RoomUpdate(<RoomUpdatePayload as Archive>::Archived), + RoomDelete(<RoomDeletePayload as Archive>::Archived), + RoomPinsUpdate(<RoomPinsUpdatePayload as Archive>::Archived), + MessageCreate(<MessageCreatePayload as Archive>::Archived), + MessageUpdate(<MessageUpdatePayload as Archive>::Archived), + MessageDelete(<MessageDeletePayload as Archive>::Archived), + MessageReactionAdd(<MessageReactionAddPayload as Archive>::Archived), + MessageReactionRemove(<MessageReactionRemovePayload as Archive>::Archived), + MessageReactionRemoveAll(<MessageReactionRemoveAllPayload as Archive>::Archived), + MessageReactionRemoveEmote(<MessageReactionRemoveEmotePayload as Archive>::Archived), + PresenceUpdate(<PresenceUpdatePayload as Archive>::Archived), + TypingStart(<TypingStartPayload as Archive>::Archived), + UserUpdate(<UserUpdatePayload as Archive>::Archived), + ProfileUpdate(<ProfileUpdatePayload as Archive>::Archived), + RelationAdd(<RelationAddPayload as Archive>::Archived), + RelationRemove(<RelationRemovePayload as Archive>::Archived), +
}
Expand description

An archived ServerMsg

+

Variants§

§

Hello(<HelloPayload as Archive>::Archived)

The archived counterpart of ServerMsg::Hello

+
§

HeartbeatAck(<HeartbeatAckPayload as Archive>::Archived)

The archived counterpart of ServerMsg::HeartbeatAck

+
§

Ready(<ReadyPayload as Archive>::Archived)

The archived counterpart of ServerMsg::Ready

+
§

InvalidSession(<InvalidSessionPayload as Archive>::Archived)

The archived counterpart of ServerMsg::InvalidSession

+
§

PartyCreate(<PartyCreatePayload as Archive>::Archived)

The archived counterpart of ServerMsg::PartyCreate

+
§

PartyUpdate(<PartyUpdatePayload as Archive>::Archived)

The archived counterpart of ServerMsg::PartyUpdate

+
§

PartyDelete(<PartyDeletePayload as Archive>::Archived)

The archived counterpart of ServerMsg::PartyDelete

+
§

RoleCreate(<RoleCreatePayload as Archive>::Archived)

The archived counterpart of ServerMsg::RoleCreate

+
§

RoleUpdate(<RoleUpdatePayload as Archive>::Archived)

The archived counterpart of ServerMsg::RoleUpdate

+
§

RoleDelete(<RoleDeletePayload as Archive>::Archived)

The archived counterpart of ServerMsg::RoleDelete

+
§

MemberAdd(<MemberAddPayload as Archive>::Archived)

The archived counterpart of ServerMsg::MemberAdd

+
§

MemberUpdate(<MemberUpdatePayload as Archive>::Archived)

The archived counterpart of ServerMsg::MemberUpdate

+
§

MemberRemove(<MemberRemovePayload as Archive>::Archived)

The archived counterpart of ServerMsg::MemberRemove

+
§

MemberBan(<MemberBanPayload as Archive>::Archived)

The archived counterpart of ServerMsg::MemberBan

+
§

MemberUnban(<MemberUnbanPayload as Archive>::Archived)

The archived counterpart of ServerMsg::MemberUnban

+
§

RoomCreate(<RoomCreatePayload as Archive>::Archived)

The archived counterpart of ServerMsg::RoomCreate

+
§

RoomUpdate(<RoomUpdatePayload as Archive>::Archived)

The archived counterpart of ServerMsg::RoomUpdate

+
§

RoomDelete(<RoomDeletePayload as Archive>::Archived)

The archived counterpart of ServerMsg::RoomDelete

+
§

RoomPinsUpdate(<RoomPinsUpdatePayload as Archive>::Archived)

The archived counterpart of ServerMsg::RoomPinsUpdate

+
§

MessageCreate(<MessageCreatePayload as Archive>::Archived)

The archived counterpart of ServerMsg::MessageCreate

+
§

MessageUpdate(<MessageUpdatePayload as Archive>::Archived)

The archived counterpart of ServerMsg::MessageUpdate

+
§

MessageDelete(<MessageDeletePayload as Archive>::Archived)

The archived counterpart of ServerMsg::MessageDelete

+
§

MessageReactionAdd(<MessageReactionAddPayload as Archive>::Archived)

The archived counterpart of ServerMsg::MessageReactionAdd

+
§

MessageReactionRemove(<MessageReactionRemovePayload as Archive>::Archived)

The archived counterpart of ServerMsg::MessageReactionRemove

+
§

MessageReactionRemoveAll(<MessageReactionRemoveAllPayload as Archive>::Archived)

The archived counterpart of ServerMsg::MessageReactionRemoveAll

+
§

MessageReactionRemoveEmote(<MessageReactionRemoveEmotePayload as Archive>::Archived)

The archived counterpart of ServerMsg::MessageReactionRemoveEmote

+
§

PresenceUpdate(<PresenceUpdatePayload as Archive>::Archived)

The archived counterpart of ServerMsg::PresenceUpdate

+
§

TypingStart(<TypingStartPayload as Archive>::Archived)

The archived counterpart of ServerMsg::TypingStart

+
§

UserUpdate(<UserUpdatePayload as Archive>::Archived)

The archived counterpart of ServerMsg::UserUpdate

+
§

ProfileUpdate(<ProfileUpdatePayload as Archive>::Archived)

The archived counterpart of ServerMsg::ProfileUpdate

+
§

RelationAdd(<RelationAddPayload as Archive>::Archived)

The archived counterpart of ServerMsg::RelationAdd

+
§

RelationRemove(<RelationRemovePayload as Archive>::Archived)

The archived counterpart of ServerMsg::RelationRemove

+

Trait Implementations§

source§

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedServerMsg
where + HelloPayload: Archive, + HeartbeatAckPayload: Archive, + ReadyPayload: Archive, + InvalidSessionPayload: Archive, + PartyCreatePayload: Archive, + PartyUpdatePayload: Archive, + PartyDeletePayload: Archive, + RoleCreatePayload: Archive, + RoleUpdatePayload: Archive, + RoleDeletePayload: Archive, + MemberAddPayload: Archive, + MemberUpdatePayload: Archive, + MemberRemovePayload: Archive, + MemberBanPayload: Archive, + MemberUnbanPayload: Archive, + RoomCreatePayload: Archive, + RoomUpdatePayload: Archive, + RoomDeletePayload: Archive, + RoomPinsUpdatePayload: Archive, + MessageCreatePayload: Archive, + MessageUpdatePayload: Archive, + MessageDeletePayload: Archive, + MessageReactionAddPayload: Archive, + MessageReactionRemovePayload: Archive, + MessageReactionRemoveAllPayload: Archive, + MessageReactionRemoveEmotePayload: Archive, + PresenceUpdatePayload: Archive, + TypingStartPayload: Archive, + UserUpdatePayload: Archive, + ProfileUpdatePayload: Archive, + RelationAddPayload: Archive, + RelationRemovePayload: Archive, + <__C as Fallible>::Error: Source, + <HelloPayload as Archive>::Archived: CheckBytes<__C>, + <HeartbeatAckPayload as Archive>::Archived: CheckBytes<__C>, + <ReadyPayload as Archive>::Archived: CheckBytes<__C>, + <InvalidSessionPayload as Archive>::Archived: CheckBytes<__C>, + <PartyCreatePayload as Archive>::Archived: CheckBytes<__C>, + <PartyUpdatePayload as Archive>::Archived: CheckBytes<__C>, + <PartyDeletePayload as Archive>::Archived: CheckBytes<__C>, + <RoleCreatePayload as Archive>::Archived: CheckBytes<__C>, + <RoleUpdatePayload as Archive>::Archived: CheckBytes<__C>, + <RoleDeletePayload as Archive>::Archived: CheckBytes<__C>, + <MemberAddPayload as Archive>::Archived: CheckBytes<__C>, + <MemberUpdatePayload as Archive>::Archived: CheckBytes<__C>, + <MemberRemovePayload as Archive>::Archived: CheckBytes<__C>, + <MemberBanPayload as Archive>::Archived: CheckBytes<__C>, + <MemberUnbanPayload as Archive>::Archived: CheckBytes<__C>, + <RoomCreatePayload as Archive>::Archived: CheckBytes<__C>, + <RoomUpdatePayload as Archive>::Archived: CheckBytes<__C>, + <RoomDeletePayload as Archive>::Archived: CheckBytes<__C>, + <RoomPinsUpdatePayload as Archive>::Archived: CheckBytes<__C>, + <MessageCreatePayload as Archive>::Archived: CheckBytes<__C>, + <MessageUpdatePayload as Archive>::Archived: CheckBytes<__C>, + <MessageDeletePayload as Archive>::Archived: CheckBytes<__C>, + <MessageReactionAddPayload as Archive>::Archived: CheckBytes<__C>, + <MessageReactionRemovePayload as Archive>::Archived: CheckBytes<__C>, + <MessageReactionRemoveAllPayload as Archive>::Archived: CheckBytes<__C>, + <MessageReactionRemoveEmotePayload as Archive>::Archived: CheckBytes<__C>, + <PresenceUpdatePayload as Archive>::Archived: CheckBytes<__C>, + <TypingStartPayload as Archive>::Archived: CheckBytes<__C>, + <UserUpdatePayload as Archive>::Archived: CheckBytes<__C>, + <ProfileUpdatePayload as Archive>::Archived: CheckBytes<__C>, + <RelationAddPayload as Archive>::Archived: CheckBytes<__C>, + <RelationRemovePayload as Archive>::Archived: CheckBytes<__C>,

source§

unsafe fn check_bytes( + value: *const Self, + context: &mut __C, +) -> Result<(), <__C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Portable for ArchivedServerMsg
where + HelloPayload: Archive, + HeartbeatAckPayload: Archive, + ReadyPayload: Archive, + InvalidSessionPayload: Archive, + PartyCreatePayload: Archive, + PartyUpdatePayload: Archive, + PartyDeletePayload: Archive, + RoleCreatePayload: Archive, + RoleUpdatePayload: Archive, + RoleDeletePayload: Archive, + MemberAddPayload: Archive, + MemberUpdatePayload: Archive, + MemberRemovePayload: Archive, + MemberBanPayload: Archive, + MemberUnbanPayload: Archive, + RoomCreatePayload: Archive, + RoomUpdatePayload: Archive, + RoomDeletePayload: Archive, + RoomPinsUpdatePayload: Archive, + MessageCreatePayload: Archive, + MessageUpdatePayload: Archive, + MessageDeletePayload: Archive, + MessageReactionAddPayload: Archive, + MessageReactionRemovePayload: Archive, + MessageReactionRemoveAllPayload: Archive, + MessageReactionRemoveEmotePayload: Archive, + PresenceUpdatePayload: Archive, + TypingStartPayload: Archive, + UserUpdatePayload: Archive, + ProfileUpdatePayload: Archive, + RelationAddPayload: Archive, + RelationRemovePayload: Archive, + <HelloPayload as Archive>::Archived: Portable, + <HeartbeatAckPayload as Archive>::Archived: Portable, + <ReadyPayload as Archive>::Archived: Portable, + <InvalidSessionPayload as Archive>::Archived: Portable, + <PartyCreatePayload as Archive>::Archived: Portable, + <PartyUpdatePayload as Archive>::Archived: Portable, + <PartyDeletePayload as Archive>::Archived: Portable, + <RoleCreatePayload as Archive>::Archived: Portable, + <RoleUpdatePayload as Archive>::Archived: Portable, + <RoleDeletePayload as Archive>::Archived: Portable, + <MemberAddPayload as Archive>::Archived: Portable, + <MemberUpdatePayload as Archive>::Archived: Portable, + <MemberRemovePayload as Archive>::Archived: Portable, + <MemberBanPayload as Archive>::Archived: Portable, + <MemberUnbanPayload as Archive>::Archived: Portable, + <RoomCreatePayload as Archive>::Archived: Portable, + <RoomUpdatePayload as Archive>::Archived: Portable, + <RoomDeletePayload as Archive>::Archived: Portable, + <RoomPinsUpdatePayload as Archive>::Archived: Portable, + <MessageCreatePayload as Archive>::Archived: Portable, + <MessageUpdatePayload as Archive>::Archived: Portable, + <MessageDeletePayload as Archive>::Archived: Portable, + <MessageReactionAddPayload as Archive>::Archived: Portable, + <MessageReactionRemovePayload as Archive>::Archived: Portable, + <MessageReactionRemoveAllPayload as Archive>::Archived: Portable, + <MessageReactionRemoveEmotePayload as Archive>::Archived: Portable, + <PresenceUpdatePayload as Archive>::Archived: Portable, + <TypingStartPayload as Archive>::Archived: Portable, + <UserUpdatePayload as Archive>::Archived: Portable, + <ProfileUpdatePayload as Archive>::Archived: Portable, + <RelationAddPayload as Archive>::Archived: Portable, + <RelationRemovePayload as Archive>::Archived: Portable,

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/gateway/message/enum.ClientMsg.html b/client_sdk/models/gateway/message/enum.ClientMsg.html new file mode 100644 index 000000000..714dc43d0 --- /dev/null +++ b/client_sdk/models/gateway/message/enum.ClientMsg.html @@ -0,0 +1,112 @@ +ClientMsg in client_sdk::models::gateway::message - Rust

Enum client_sdk::models::gateway::message::ClientMsg

source ·
#[repr(u8)]
pub enum ClientMsg { + Heartbeat(HeartbeatPayload), + Identify(IdentifyPayload), + Resume(ResumePayload), + SetPresence(SetPresencePayload), + Subscribe(SubscribePayload), + Unsubscribe(UnsubscribePayload), +}
Expand description

Messages sent from the client to the server

+

Variants§

§

Heartbeat(HeartbeatPayload)

See new_heartbeat for an easy way to create this message.

+
§

Identify(IdentifyPayload)

See new_identify for an easy way to create this message.

+
§

Resume(ResumePayload)

See new_resume for an easy way to create this message.

+
§

SetPresence(SetPresencePayload)

See new_set_presence for an easy way to create this message.

+
§

Subscribe(SubscribePayload)

See new_subscribe for an easy way to create this message.

+
§

Unsubscribe(UnsubscribePayload)

See new_unsubscribe for an easy way to create this message.

+

Implementations§

source§

impl ClientMsg

source

pub const fn opcode(&self) -> ClientMsgOpcode

Returns the discrete opcode for the message

+
source§

impl ClientMsg

source

pub fn new_heartbeat() -> Self

Create new Heartbeat message from payload fields.

+
source

pub fn new_identify(inner: impl Into<Box<Identify>>) -> Self

Create new Identify message from payload fields.

+
source

pub fn new_resume(session: impl Into<Snowflake>) -> Self

Create new Resume message from payload fields.

+
source

pub fn new_set_presence(inner: impl Into<Box<SetPresence>>) -> Self

Create new SetPresence message from payload fields.

+
source

pub fn new_subscribe(party_id: impl Into<PartyId>) -> Self

Create new Subscribe message from payload fields.

+
source

pub fn new_unsubscribe(party_id: impl Into<PartyId>) -> Self

Create new Unsubscribe message from payload fields.

+

Trait Implementations§

source§

impl Archive for ClientMsg
where + HeartbeatPayload: Archive, + IdentifyPayload: Archive, + ResumePayload: Archive, + SetPresencePayload: Archive, + SubscribePayload: Archive, + UnsubscribePayload: Archive,

source§

type Archived = ArchivedClientMsg

The archived representation of this type. Read more
source§

type Resolver = ClientMsgResolver

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

impl Debug for ClientMsg

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for ClientMsg

source§

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<__D: Fallible + ?Sized> Deserialize<ClientMsg, __D> for Archived<ClientMsg>
where + HeartbeatPayload: Archive, + <HeartbeatPayload as Archive>::Archived: Deserialize<HeartbeatPayload, __D>, + IdentifyPayload: Archive, + <IdentifyPayload as Archive>::Archived: Deserialize<IdentifyPayload, __D>, + ResumePayload: Archive, + <ResumePayload as Archive>::Archived: Deserialize<ResumePayload, __D>, + SetPresencePayload: Archive, + <SetPresencePayload as Archive>::Archived: Deserialize<SetPresencePayload, __D>, + SubscribePayload: Archive, + <SubscribePayload as Archive>::Archived: Deserialize<SubscribePayload, __D>, + UnsubscribePayload: Archive, + <UnsubscribePayload as Archive>::Archived: Deserialize<UnsubscribePayload, __D>,

source§

fn deserialize( + &self, + deserializer: &mut __D, +) -> Result<ClientMsg, <__D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl From<&ClientMsg> for ClientMsgOpcode

source§

fn from(msg: &ClientMsg) -> ClientMsgOpcode

Converts to this type from the input type.
source§

impl<__S: Fallible + ?Sized> Serialize<__S> for ClientMsg
where + HeartbeatPayload: Serialize<__S>, + IdentifyPayload: Serialize<__S>, + ResumePayload: Serialize<__S>, + SetPresencePayload: Serialize<__S>, + SubscribePayload: Serialize<__S>, + UnsubscribePayload: Serialize<__S>,

source§

fn serialize( + &self, + serializer: &mut __S, +) -> Result<<Self as Archive>::Resolver, <__S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.
source§

impl Serialize for ClientMsg

source§

fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
where + S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Sink<ClientMsg> for GatewayConnection

source§

type Error = GatewayError

The type of value produced by the sink when an error occurs.
source§

fn poll_ready( + self: Pin<&mut Self>, + cx: &mut Context<'_>, +) -> Poll<Result<(), GatewayError>>

Attempts to prepare the Sink to receive a value. Read more
source§

fn start_send(self: Pin<&mut Self>, item: ClientMsg) -> Result<(), GatewayError>

Begin the process of sending a value to the sink. +Each call to this function must be preceded by a successful call to +poll_ready which returned Poll::Ready(Ok(())). Read more
source§

fn poll_flush( + self: Pin<&mut Self>, + cx: &mut Context<'_>, +) -> Poll<Result<(), GatewayError>>

Flush any remaining output from this sink. Read more
source§

fn poll_close( + self: Pin<&mut Self>, + cx: &mut Context<'_>, +) -> Poll<Result<(), GatewayError>>

Flush any remaining output and close this sink, if necessary. Read more
source§

impl Sink<ClientMsg> for GatewaySocket

source§

type Error = GatewayError

The type of value produced by the sink when an error occurs.
source§

fn poll_ready( + self: Pin<&mut Self>, + cx: &mut Context<'_>, +) -> Poll<Result<(), GatewayError>>

Attempts to prepare the Sink to receive a value. Read more
source§

fn start_send(self: Pin<&mut Self>, msg: ClientMsg) -> Result<(), GatewayError>

Begin the process of sending a value to the sink. +Each call to this function must be preceded by a successful call to +poll_ready which returned Poll::Ready(Ok(())). Read more
source§

fn poll_flush( + self: Pin<&mut Self>, + cx: &mut Context<'_>, +) -> Poll<Result<(), GatewayError>>

Flush any remaining output from this sink. Read more
source§

fn poll_close( + self: Pin<&mut Self>, + cx: &mut Context<'_>, +) -> Poll<Result<(), GatewayError>>

Flush any remaining output and close this sink, if necessary. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
source§

impl<T> CommandBody for T
where + T: Send + Serialize + Archive,

source§

impl<T> CommandResult for T
where + T: Send + DeserializeOwned + Serialize + Archive,

source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/gateway/message/enum.ClientMsgOpcode.html b/client_sdk/models/gateway/message/enum.ClientMsgOpcode.html new file mode 100644 index 000000000..35bb8264a --- /dev/null +++ b/client_sdk/models/gateway/message/enum.ClientMsgOpcode.html @@ -0,0 +1,33 @@ +ClientMsgOpcode in client_sdk::models::gateway::message - Rust

Enum client_sdk::models::gateway::message::ClientMsgOpcode

source ·
#[repr(u8)]
pub enum ClientMsgOpcode { + Heartbeat = 0, + Identify = 1, + Resume = 2, + SetPresence = 3, + Subscribe = 4, + Unsubscribe = 5, +}
Expand description

OpCodes for ClientMsg

+

Variants§

§

Heartbeat = 0

§

Identify = 1

§

Resume = 2

§

SetPresence = 3

§

Subscribe = 4

§

Unsubscribe = 5

Trait Implementations§

source§

impl Clone for ClientMsgOpcode

source§

fn clone(&self) -> ClientMsgOpcode

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ClientMsgOpcode

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for ClientMsgOpcode

source§

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 From<&ClientMsg> for ClientMsgOpcode

source§

fn from(msg: &ClientMsg) -> ClientMsgOpcode

Converts to this type from the input type.
source§

impl Serialize for ClientMsgOpcode

source§

fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
where + S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Copy for ClientMsgOpcode

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where + T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where + T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/gateway/message/enum.ClientMsgResolver.html b/client_sdk/models/gateway/message/enum.ClientMsgResolver.html new file mode 100644 index 000000000..0c9ef7670 --- /dev/null +++ b/client_sdk/models/gateway/message/enum.ClientMsgResolver.html @@ -0,0 +1,40 @@ +ClientMsgResolver in client_sdk::models::gateway::message - Rust

Enum client_sdk::models::gateway::message::ClientMsgResolver

source ·
pub enum ClientMsgResolver
where + HeartbeatPayload: Archive, + IdentifyPayload: Archive, + ResumePayload: Archive, + SetPresencePayload: Archive, + SubscribePayload: Archive, + UnsubscribePayload: Archive,
{ + Heartbeat(<HeartbeatPayload as Archive>::Resolver), + Identify(<IdentifyPayload as Archive>::Resolver), + Resume(<ResumePayload as Archive>::Resolver), + SetPresence(<SetPresencePayload as Archive>::Resolver), + Subscribe(<SubscribePayload as Archive>::Resolver), + Unsubscribe(<UnsubscribePayload as Archive>::Resolver), +}
Expand description

The resolver for an archived ClientMsg

+

Variants§

§

Heartbeat(<HeartbeatPayload as Archive>::Resolver)

The resolver for ClientMsg::Heartbeat

+
§

Identify(<IdentifyPayload as Archive>::Resolver)

The resolver for ClientMsg::Identify

+
§

Resume(<ResumePayload as Archive>::Resolver)

The resolver for ClientMsg::Resume

+
§

SetPresence(<SetPresencePayload as Archive>::Resolver)

The resolver for ClientMsg::SetPresence

+
§

Subscribe(<SubscribePayload as Archive>::Resolver)

The resolver for ClientMsg::Subscribe

+
§

Unsubscribe(<UnsubscribePayload as Archive>::Resolver)

The resolver for ClientMsg::Unsubscribe

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/gateway/message/enum.ServerMsg.html b/client_sdk/models/gateway/message/enum.ServerMsg.html new file mode 100644 index 000000000..03c9c711c --- /dev/null +++ b/client_sdk/models/gateway/message/enum.ServerMsg.html @@ -0,0 +1,283 @@ +ServerMsg in client_sdk::models::gateway::message - Rust

Enum client_sdk::models::gateway::message::ServerMsg

source ·
#[repr(u8)]
pub enum ServerMsg { +
Show 32 variants Hello(HelloPayload), + HeartbeatAck(HeartbeatAckPayload), + Ready(ReadyPayload), + InvalidSession(InvalidSessionPayload), + PartyCreate(PartyCreatePayload), + PartyUpdate(PartyUpdatePayload), + PartyDelete(PartyDeletePayload), + RoleCreate(RoleCreatePayload), + RoleUpdate(RoleUpdatePayload), + RoleDelete(RoleDeletePayload), + MemberAdd(MemberAddPayload), + MemberUpdate(MemberUpdatePayload), + MemberRemove(MemberRemovePayload), + MemberBan(MemberBanPayload), + MemberUnban(MemberUnbanPayload), + RoomCreate(RoomCreatePayload), + RoomUpdate(RoomUpdatePayload), + RoomDelete(RoomDeletePayload), + RoomPinsUpdate(RoomPinsUpdatePayload), + MessageCreate(MessageCreatePayload), + MessageUpdate(MessageUpdatePayload), + MessageDelete(MessageDeletePayload), + MessageReactionAdd(MessageReactionAddPayload), + MessageReactionRemove(MessageReactionRemovePayload), + MessageReactionRemoveAll(MessageReactionRemoveAllPayload), + MessageReactionRemoveEmote(MessageReactionRemoveEmotePayload), + PresenceUpdate(PresenceUpdatePayload), + TypingStart(TypingStartPayload), + UserUpdate(UserUpdatePayload), + ProfileUpdate(ProfileUpdatePayload), + RelationAdd(RelationAddPayload), + RelationRemove(RelationRemovePayload), +
}
Expand description

Messages send from the server to the client

+

Variants§

§

Hello(HelloPayload)

The Hello message initiates the gateway session and expects a ClientMsg::Identify in return.

+

See new_hello for an easy way to create this message.

+
§

HeartbeatAck(HeartbeatAckPayload)

Acknowledgement of a heartbeat

+

See new_heartbeat_ack for an easy way to create this message.

+
§

Ready(ReadyPayload)

See new_ready for an easy way to create this message.

+
§

InvalidSession(InvalidSessionPayload)

Sent when the session is no longer valid

+

See new_invalid_session for an easy way to create this message.

+
§

PartyCreate(PartyCreatePayload)

See new_party_create for an easy way to create this message.

+
§

PartyUpdate(PartyUpdatePayload)

See new_party_update for an easy way to create this message.

+
§

PartyDelete(PartyDeletePayload)

See new_party_delete for an easy way to create this message.

+
§

RoleCreate(RoleCreatePayload)

See new_role_create for an easy way to create this message.

+
§

RoleUpdate(RoleUpdatePayload)

See new_role_update for an easy way to create this message.

+
§

RoleDelete(RoleDeletePayload)

See new_role_delete for an easy way to create this message.

+
§

MemberAdd(MemberAddPayload)

See new_member_add for an easy way to create this message.

+
§

MemberUpdate(MemberUpdatePayload)

See new_member_update for an easy way to create this message.

+
§

MemberRemove(MemberRemovePayload)

See new_member_remove for an easy way to create this message.

+
§

MemberBan(MemberBanPayload)

See new_member_ban for an easy way to create this message.

+
§

MemberUnban(MemberUnbanPayload)

See new_member_unban for an easy way to create this message.

+
§

RoomCreate(RoomCreatePayload)

See new_room_create for an easy way to create this message.

+
§

RoomUpdate(RoomUpdatePayload)

See new_room_update for an easy way to create this message.

+
§

RoomDelete(RoomDeletePayload)

See new_room_delete for an easy way to create this message.

+
§

RoomPinsUpdate(RoomPinsUpdatePayload)

See new_room_pins_update for an easy way to create this message.

+
§

MessageCreate(MessageCreatePayload)

See new_message_create for an easy way to create this message.

+
§

MessageUpdate(MessageUpdatePayload)

See new_message_update for an easy way to create this message.

+
§

MessageDelete(MessageDeletePayload)

See new_message_delete for an easy way to create this message.

+
§

MessageReactionAdd(MessageReactionAddPayload)

See new_message_reaction_add for an easy way to create this message.

+
§

MessageReactionRemove(MessageReactionRemovePayload)

See new_message_reaction_remove for an easy way to create this message.

+
§

MessageReactionRemoveAll(MessageReactionRemoveAllPayload)

See new_message_reaction_remove_all for an easy way to create this message.

+
§

MessageReactionRemoveEmote(MessageReactionRemoveEmotePayload)

See new_message_reaction_remove_emote for an easy way to create this message.

+
§

PresenceUpdate(PresenceUpdatePayload)

See new_presence_update for an easy way to create this message.

+
§

TypingStart(TypingStartPayload)

See new_typing_start for an easy way to create this message.

+
§

UserUpdate(UserUpdatePayload)

See new_user_update for an easy way to create this message.

+
§

ProfileUpdate(ProfileUpdatePayload)

See new_profile_update for an easy way to create this message.

+
§

RelationAdd(RelationAddPayload)

See new_relation_add for an easy way to create this message.

+
§

RelationRemove(RelationRemovePayload)

See new_relation_remove for an easy way to create this message.

+

Implementations§

source§

impl ServerMsg

source

pub const fn opcode(&self) -> ServerMsgOpcode

Returns the discrete opcode for the message

+
source§

impl ServerMsg

source

pub fn new_hello(inner: impl Into<Hello>) -> Self

Create new Hello message from payload fields.

+

The Hello message initiates the gateway session and expects a ClientMsg::Identify in return.

+
source

pub fn new_heartbeat_ack() -> Self

Create new HeartbeatAck message from payload fields.

+

Acknowledgement of a heartbeat

+
source

pub fn new_ready(inner: impl Into<Arc<Ready>>) -> Self

Create new Ready message from payload fields.

+
source

pub fn new_invalid_session() -> Self

Create new InvalidSession message from payload fields.

+

Sent when the session is no longer valid

+
source

pub fn new_party_create(inner: impl Into<Arc<Party>>) -> Self

Create new PartyCreate message from payload fields.

+
source

pub fn new_party_update(inner: impl Into<Arc<PartyUpdateEvent>>) -> Self

Create new PartyUpdate message from payload fields.

+
source

pub fn new_party_delete(id: impl Into<PartyId>) -> Self

Create new PartyDelete message from payload fields.

+
source

pub fn new_role_create(inner: impl Into<Arc<Role>>) -> Self

Create new RoleCreate message from payload fields.

+
source

pub fn new_role_update(inner: impl Into<Arc<Role>>) -> Self

Create new RoleUpdate message from payload fields.

+
source

pub fn new_role_delete(inner: impl Into<Arc<RoleDeleteEvent>>) -> Self

Create new RoleDelete message from payload fields.

+
source

pub fn new_member_add(inner: impl Into<Arc<PartyMemberEvent>>) -> Self

Create new MemberAdd message from payload fields.

+
source

pub fn new_member_update(inner: impl Into<Arc<PartyMemberEvent>>) -> Self

Create new MemberUpdate message from payload fields.

+
source

pub fn new_member_remove(inner: impl Into<Arc<PartyMemberEvent>>) -> Self

Create new MemberRemove message from payload fields.

+
source

pub fn new_member_ban(inner: impl Into<Arc<PartyMemberEvent>>) -> Self

Create new MemberBan message from payload fields.

+
source

pub fn new_member_unban(inner: impl Into<Arc<PartyMemberEvent>>) -> Self

Create new MemberUnban message from payload fields.

+
source

pub fn new_room_create(inner: impl Into<Arc<()>>) -> Self

Create new RoomCreate message from payload fields.

+
source

pub fn new_room_update(inner: impl Into<Arc<()>>) -> Self

Create new RoomUpdate message from payload fields.

+
source

pub fn new_room_delete(inner: impl Into<Arc<RoomDeleteEvent>>) -> Self

Create new RoomDelete message from payload fields.

+
source

pub fn new_room_pins_update() -> Self

Create new RoomPinsUpdate message from payload fields.

+
source

pub fn new_message_create(inner: impl Into<Arc<RoomMessage>>) -> Self

Create new MessageCreate message from payload fields.

+
source

pub fn new_message_update(inner: impl Into<Arc<RoomMessage>>) -> Self

Create new MessageUpdate message from payload fields.

+
source

pub fn new_message_delete(inner: impl Into<Arc<MessageDeleteEvent>>) -> Self

Create new MessageDelete message from payload fields.

+
source

pub fn new_message_reaction_add( + inner: impl Into<Arc<UserReactionEvent>>, +) -> Self

Create new MessageReactionAdd message from payload fields.

+
source

pub fn new_message_reaction_remove( + inner: impl Into<Arc<UserReactionEvent>>, +) -> Self

Create new MessageReactionRemove message from payload fields.

+
source

pub fn new_message_reaction_remove_all() -> Self

Create new MessageReactionRemoveAll message from payload fields.

+
source

pub fn new_message_reaction_remove_emote() -> Self

Create new MessageReactionRemoveEmote message from payload fields.

+
source

pub fn new_presence_update(inner: impl Into<Arc<UserPresenceEvent>>) -> Self

Create new PresenceUpdate message from payload fields.

+
source

pub fn new_typing_start(inner: impl Into<Arc<TypingStart>>) -> Self

Create new TypingStart message from payload fields.

+
source

pub fn new_user_update(user: impl Into<Arc<User>>) -> Self

Create new UserUpdate message from payload fields.

+
source

pub fn new_profile_update(inner: impl Into<Arc<ProfileUpdateEvent>>) -> Self

Create new ProfileUpdate message from payload fields.

+
source

pub fn new_relation_add(inner: impl Into<Arc<Relationship>>) -> Self

Create new RelationAdd message from payload fields.

+
source

pub fn new_relation_remove(user_id: impl Into<UserId>) -> Self

Create new RelationRemove message from payload fields.

+
source§

impl ServerMsg

source

pub fn matching_intent(&self) -> Option<Intent>

source

pub fn user_id(&self) -> Option<UserId>

If the event originated from a specific user, get their ID

+

Trait Implementations§

source§

impl Archive for ServerMsg
where + HelloPayload: Archive, + HeartbeatAckPayload: Archive, + ReadyPayload: Archive, + InvalidSessionPayload: Archive, + PartyCreatePayload: Archive, + PartyUpdatePayload: Archive, + PartyDeletePayload: Archive, + RoleCreatePayload: Archive, + RoleUpdatePayload: Archive, + RoleDeletePayload: Archive, + MemberAddPayload: Archive, + MemberUpdatePayload: Archive, + MemberRemovePayload: Archive, + MemberBanPayload: Archive, + MemberUnbanPayload: Archive, + RoomCreatePayload: Archive, + RoomUpdatePayload: Archive, + RoomDeletePayload: Archive, + RoomPinsUpdatePayload: Archive, + MessageCreatePayload: Archive, + MessageUpdatePayload: Archive, + MessageDeletePayload: Archive, + MessageReactionAddPayload: Archive, + MessageReactionRemovePayload: Archive, + MessageReactionRemoveAllPayload: Archive, + MessageReactionRemoveEmotePayload: Archive, + PresenceUpdatePayload: Archive, + TypingStartPayload: Archive, + UserUpdatePayload: Archive, + ProfileUpdatePayload: Archive, + RelationAddPayload: Archive, + RelationRemovePayload: Archive,

source§

type Archived = ArchivedServerMsg

The archived representation of this type. Read more
source§

type Resolver = ServerMsgResolver

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

impl Debug for ServerMsg

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for ServerMsg

source§

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<__D: Fallible + ?Sized> Deserialize<ServerMsg, __D> for Archived<ServerMsg>
where + HelloPayload: Archive, + <HelloPayload as Archive>::Archived: Deserialize<HelloPayload, __D>, + HeartbeatAckPayload: Archive, + <HeartbeatAckPayload as Archive>::Archived: Deserialize<HeartbeatAckPayload, __D>, + ReadyPayload: Archive, + <ReadyPayload as Archive>::Archived: Deserialize<ReadyPayload, __D>, + InvalidSessionPayload: Archive, + <InvalidSessionPayload as Archive>::Archived: Deserialize<InvalidSessionPayload, __D>, + PartyCreatePayload: Archive, + <PartyCreatePayload as Archive>::Archived: Deserialize<PartyCreatePayload, __D>, + PartyUpdatePayload: Archive, + <PartyUpdatePayload as Archive>::Archived: Deserialize<PartyUpdatePayload, __D>, + PartyDeletePayload: Archive, + <PartyDeletePayload as Archive>::Archived: Deserialize<PartyDeletePayload, __D>, + RoleCreatePayload: Archive, + <RoleCreatePayload as Archive>::Archived: Deserialize<RoleCreatePayload, __D>, + RoleUpdatePayload: Archive, + <RoleUpdatePayload as Archive>::Archived: Deserialize<RoleUpdatePayload, __D>, + RoleDeletePayload: Archive, + <RoleDeletePayload as Archive>::Archived: Deserialize<RoleDeletePayload, __D>, + MemberAddPayload: Archive, + <MemberAddPayload as Archive>::Archived: Deserialize<MemberAddPayload, __D>, + MemberUpdatePayload: Archive, + <MemberUpdatePayload as Archive>::Archived: Deserialize<MemberUpdatePayload, __D>, + MemberRemovePayload: Archive, + <MemberRemovePayload as Archive>::Archived: Deserialize<MemberRemovePayload, __D>, + MemberBanPayload: Archive, + <MemberBanPayload as Archive>::Archived: Deserialize<MemberBanPayload, __D>, + MemberUnbanPayload: Archive, + <MemberUnbanPayload as Archive>::Archived: Deserialize<MemberUnbanPayload, __D>, + RoomCreatePayload: Archive, + <RoomCreatePayload as Archive>::Archived: Deserialize<RoomCreatePayload, __D>, + RoomUpdatePayload: Archive, + <RoomUpdatePayload as Archive>::Archived: Deserialize<RoomUpdatePayload, __D>, + RoomDeletePayload: Archive, + <RoomDeletePayload as Archive>::Archived: Deserialize<RoomDeletePayload, __D>, + RoomPinsUpdatePayload: Archive, + <RoomPinsUpdatePayload as Archive>::Archived: Deserialize<RoomPinsUpdatePayload, __D>, + MessageCreatePayload: Archive, + <MessageCreatePayload as Archive>::Archived: Deserialize<MessageCreatePayload, __D>, + MessageUpdatePayload: Archive, + <MessageUpdatePayload as Archive>::Archived: Deserialize<MessageUpdatePayload, __D>, + MessageDeletePayload: Archive, + <MessageDeletePayload as Archive>::Archived: Deserialize<MessageDeletePayload, __D>, + MessageReactionAddPayload: Archive, + <MessageReactionAddPayload as Archive>::Archived: Deserialize<MessageReactionAddPayload, __D>, + MessageReactionRemovePayload: Archive, + <MessageReactionRemovePayload as Archive>::Archived: Deserialize<MessageReactionRemovePayload, __D>, + MessageReactionRemoveAllPayload: Archive, + <MessageReactionRemoveAllPayload as Archive>::Archived: Deserialize<MessageReactionRemoveAllPayload, __D>, + MessageReactionRemoveEmotePayload: Archive, + <MessageReactionRemoveEmotePayload as Archive>::Archived: Deserialize<MessageReactionRemoveEmotePayload, __D>, + PresenceUpdatePayload: Archive, + <PresenceUpdatePayload as Archive>::Archived: Deserialize<PresenceUpdatePayload, __D>, + TypingStartPayload: Archive, + <TypingStartPayload as Archive>::Archived: Deserialize<TypingStartPayload, __D>, + UserUpdatePayload: Archive, + <UserUpdatePayload as Archive>::Archived: Deserialize<UserUpdatePayload, __D>, + ProfileUpdatePayload: Archive, + <ProfileUpdatePayload as Archive>::Archived: Deserialize<ProfileUpdatePayload, __D>, + RelationAddPayload: Archive, + <RelationAddPayload as Archive>::Archived: Deserialize<RelationAddPayload, __D>, + RelationRemovePayload: Archive, + <RelationRemovePayload as Archive>::Archived: Deserialize<RelationRemovePayload, __D>,

source§

fn deserialize( + &self, + deserializer: &mut __D, +) -> Result<ServerMsg, <__D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl From<&ServerMsg> for ServerMsgOpcode

source§

fn from(msg: &ServerMsg) -> ServerMsgOpcode

Converts to this type from the input type.
source§

impl<__S: Fallible + ?Sized> Serialize<__S> for ServerMsg
where + HelloPayload: Serialize<__S>, + HeartbeatAckPayload: Serialize<__S>, + ReadyPayload: Serialize<__S>, + InvalidSessionPayload: Serialize<__S>, + PartyCreatePayload: Serialize<__S>, + PartyUpdatePayload: Serialize<__S>, + PartyDeletePayload: Serialize<__S>, + RoleCreatePayload: Serialize<__S>, + RoleUpdatePayload: Serialize<__S>, + RoleDeletePayload: Serialize<__S>, + MemberAddPayload: Serialize<__S>, + MemberUpdatePayload: Serialize<__S>, + MemberRemovePayload: Serialize<__S>, + MemberBanPayload: Serialize<__S>, + MemberUnbanPayload: Serialize<__S>, + RoomCreatePayload: Serialize<__S>, + RoomUpdatePayload: Serialize<__S>, + RoomDeletePayload: Serialize<__S>, + RoomPinsUpdatePayload: Serialize<__S>, + MessageCreatePayload: Serialize<__S>, + MessageUpdatePayload: Serialize<__S>, + MessageDeletePayload: Serialize<__S>, + MessageReactionAddPayload: Serialize<__S>, + MessageReactionRemovePayload: Serialize<__S>, + MessageReactionRemoveAllPayload: Serialize<__S>, + MessageReactionRemoveEmotePayload: Serialize<__S>, + PresenceUpdatePayload: Serialize<__S>, + TypingStartPayload: Serialize<__S>, + UserUpdatePayload: Serialize<__S>, + ProfileUpdatePayload: Serialize<__S>, + RelationAddPayload: Serialize<__S>, + RelationRemovePayload: Serialize<__S>,

source§

fn serialize( + &self, + serializer: &mut __S, +) -> Result<<Self as Archive>::Resolver, <__S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.
source§

impl Serialize for ServerMsg

source§

fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
where + S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
source§

impl<T> CommandBody for T
where + T: Send + Serialize + Archive,

source§

impl<T> CommandResult for T
where + T: Send + DeserializeOwned + Serialize + Archive,

source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/gateway/message/enum.ServerMsgOpcode.html b/client_sdk/models/gateway/message/enum.ServerMsgOpcode.html new file mode 100644 index 000000000..4ec004b3d --- /dev/null +++ b/client_sdk/models/gateway/message/enum.ServerMsgOpcode.html @@ -0,0 +1,59 @@ +ServerMsgOpcode in client_sdk::models::gateway::message - Rust

Enum client_sdk::models::gateway::message::ServerMsgOpcode

source ·
#[repr(u8)]
pub enum ServerMsgOpcode { +
Show 32 variants Hello = 0, + HeartbeatAck = 1, + Ready = 2, + InvalidSession = 3, + PartyCreate = 4, + PartyUpdate = 5, + PartyDelete = 6, + RoleCreate = 7, + RoleUpdate = 8, + RoleDelete = 9, + MemberAdd = 10, + MemberUpdate = 11, + MemberRemove = 12, + MemberBan = 13, + MemberUnban = 14, + RoomCreate = 15, + RoomUpdate = 16, + RoomDelete = 17, + RoomPinsUpdate = 18, + MessageCreate = 19, + MessageUpdate = 20, + MessageDelete = 21, + MessageReactionAdd = 22, + MessageReactionRemove = 23, + MessageReactionRemoveAll = 24, + MessageReactionRemoveEmote = 25, + PresenceUpdate = 26, + TypingStart = 27, + UserUpdate = 28, + ProfileUpdate = 29, + RelationAdd = 30, + RelationRemove = 31, +
}
Expand description

OpCodes for ServerMsg

+

Variants§

§

Hello = 0

§

HeartbeatAck = 1

§

Ready = 2

§

InvalidSession = 3

§

PartyCreate = 4

§

PartyUpdate = 5

§

PartyDelete = 6

§

RoleCreate = 7

§

RoleUpdate = 8

§

RoleDelete = 9

§

MemberAdd = 10

§

MemberUpdate = 11

§

MemberRemove = 12

§

MemberBan = 13

§

MemberUnban = 14

§

RoomCreate = 15

§

RoomUpdate = 16

§

RoomDelete = 17

§

RoomPinsUpdate = 18

§

MessageCreate = 19

§

MessageUpdate = 20

§

MessageDelete = 21

§

MessageReactionAdd = 22

§

MessageReactionRemove = 23

§

MessageReactionRemoveAll = 24

§

MessageReactionRemoveEmote = 25

§

PresenceUpdate = 26

§

TypingStart = 27

§

UserUpdate = 28

§

ProfileUpdate = 29

§

RelationAdd = 30

§

RelationRemove = 31

Trait Implementations§

source§

impl Clone for ServerMsgOpcode

source§

fn clone(&self) -> ServerMsgOpcode

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ServerMsgOpcode

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for ServerMsgOpcode

source§

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 From<&ServerMsg> for ServerMsgOpcode

source§

fn from(msg: &ServerMsg) -> ServerMsgOpcode

Converts to this type from the input type.
source§

impl Serialize for ServerMsgOpcode

source§

fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
where + S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Copy for ServerMsgOpcode

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where + T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where + T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/gateway/message/enum.ServerMsgResolver.html b/client_sdk/models/gateway/message/enum.ServerMsgResolver.html new file mode 100644 index 000000000..e1f549c19 --- /dev/null +++ b/client_sdk/models/gateway/message/enum.ServerMsgResolver.html @@ -0,0 +1,118 @@ +ServerMsgResolver in client_sdk::models::gateway::message - Rust

Enum client_sdk::models::gateway::message::ServerMsgResolver

source ·
pub enum ServerMsgResolver
where + HelloPayload: Archive, + HeartbeatAckPayload: Archive, + ReadyPayload: Archive, + InvalidSessionPayload: Archive, + PartyCreatePayload: Archive, + PartyUpdatePayload: Archive, + PartyDeletePayload: Archive, + RoleCreatePayload: Archive, + RoleUpdatePayload: Archive, + RoleDeletePayload: Archive, + MemberAddPayload: Archive, + MemberUpdatePayload: Archive, + MemberRemovePayload: Archive, + MemberBanPayload: Archive, + MemberUnbanPayload: Archive, + RoomCreatePayload: Archive, + RoomUpdatePayload: Archive, + RoomDeletePayload: Archive, + RoomPinsUpdatePayload: Archive, + MessageCreatePayload: Archive, + MessageUpdatePayload: Archive, + MessageDeletePayload: Archive, + MessageReactionAddPayload: Archive, + MessageReactionRemovePayload: Archive, + MessageReactionRemoveAllPayload: Archive, + MessageReactionRemoveEmotePayload: Archive, + PresenceUpdatePayload: Archive, + TypingStartPayload: Archive, + UserUpdatePayload: Archive, + ProfileUpdatePayload: Archive, + RelationAddPayload: Archive, + RelationRemovePayload: Archive,
{ +
Show 32 variants Hello(<HelloPayload as Archive>::Resolver), + HeartbeatAck(<HeartbeatAckPayload as Archive>::Resolver), + Ready(<ReadyPayload as Archive>::Resolver), + InvalidSession(<InvalidSessionPayload as Archive>::Resolver), + PartyCreate(<PartyCreatePayload as Archive>::Resolver), + PartyUpdate(<PartyUpdatePayload as Archive>::Resolver), + PartyDelete(<PartyDeletePayload as Archive>::Resolver), + RoleCreate(<RoleCreatePayload as Archive>::Resolver), + RoleUpdate(<RoleUpdatePayload as Archive>::Resolver), + RoleDelete(<RoleDeletePayload as Archive>::Resolver), + MemberAdd(<MemberAddPayload as Archive>::Resolver), + MemberUpdate(<MemberUpdatePayload as Archive>::Resolver), + MemberRemove(<MemberRemovePayload as Archive>::Resolver), + MemberBan(<MemberBanPayload as Archive>::Resolver), + MemberUnban(<MemberUnbanPayload as Archive>::Resolver), + RoomCreate(<RoomCreatePayload as Archive>::Resolver), + RoomUpdate(<RoomUpdatePayload as Archive>::Resolver), + RoomDelete(<RoomDeletePayload as Archive>::Resolver), + RoomPinsUpdate(<RoomPinsUpdatePayload as Archive>::Resolver), + MessageCreate(<MessageCreatePayload as Archive>::Resolver), + MessageUpdate(<MessageUpdatePayload as Archive>::Resolver), + MessageDelete(<MessageDeletePayload as Archive>::Resolver), + MessageReactionAdd(<MessageReactionAddPayload as Archive>::Resolver), + MessageReactionRemove(<MessageReactionRemovePayload as Archive>::Resolver), + MessageReactionRemoveAll(<MessageReactionRemoveAllPayload as Archive>::Resolver), + MessageReactionRemoveEmote(<MessageReactionRemoveEmotePayload as Archive>::Resolver), + PresenceUpdate(<PresenceUpdatePayload as Archive>::Resolver), + TypingStart(<TypingStartPayload as Archive>::Resolver), + UserUpdate(<UserUpdatePayload as Archive>::Resolver), + ProfileUpdate(<ProfileUpdatePayload as Archive>::Resolver), + RelationAdd(<RelationAddPayload as Archive>::Resolver), + RelationRemove(<RelationRemovePayload as Archive>::Resolver), +
}
Expand description

The resolver for an archived ServerMsg

+

Variants§

§

Hello(<HelloPayload as Archive>::Resolver)

The resolver for ServerMsg::Hello

+
§

HeartbeatAck(<HeartbeatAckPayload as Archive>::Resolver)

The resolver for ServerMsg::HeartbeatAck

+
§

Ready(<ReadyPayload as Archive>::Resolver)

The resolver for ServerMsg::Ready

+
§

InvalidSession(<InvalidSessionPayload as Archive>::Resolver)

The resolver for ServerMsg::InvalidSession

+
§

PartyCreate(<PartyCreatePayload as Archive>::Resolver)

The resolver for ServerMsg::PartyCreate

+
§

PartyUpdate(<PartyUpdatePayload as Archive>::Resolver)

The resolver for ServerMsg::PartyUpdate

+
§

PartyDelete(<PartyDeletePayload as Archive>::Resolver)

The resolver for ServerMsg::PartyDelete

+
§

RoleCreate(<RoleCreatePayload as Archive>::Resolver)

The resolver for ServerMsg::RoleCreate

+
§

RoleUpdate(<RoleUpdatePayload as Archive>::Resolver)

The resolver for ServerMsg::RoleUpdate

+
§

RoleDelete(<RoleDeletePayload as Archive>::Resolver)

The resolver for ServerMsg::RoleDelete

+
§

MemberAdd(<MemberAddPayload as Archive>::Resolver)

The resolver for ServerMsg::MemberAdd

+
§

MemberUpdate(<MemberUpdatePayload as Archive>::Resolver)

The resolver for ServerMsg::MemberUpdate

+
§

MemberRemove(<MemberRemovePayload as Archive>::Resolver)

The resolver for ServerMsg::MemberRemove

+
§

MemberBan(<MemberBanPayload as Archive>::Resolver)

The resolver for ServerMsg::MemberBan

+
§

MemberUnban(<MemberUnbanPayload as Archive>::Resolver)

The resolver for ServerMsg::MemberUnban

+
§

RoomCreate(<RoomCreatePayload as Archive>::Resolver)

The resolver for ServerMsg::RoomCreate

+
§

RoomUpdate(<RoomUpdatePayload as Archive>::Resolver)

The resolver for ServerMsg::RoomUpdate

+
§

RoomDelete(<RoomDeletePayload as Archive>::Resolver)

The resolver for ServerMsg::RoomDelete

+
§

RoomPinsUpdate(<RoomPinsUpdatePayload as Archive>::Resolver)

The resolver for ServerMsg::RoomPinsUpdate

+
§

MessageCreate(<MessageCreatePayload as Archive>::Resolver)

The resolver for ServerMsg::MessageCreate

+
§

MessageUpdate(<MessageUpdatePayload as Archive>::Resolver)

The resolver for ServerMsg::MessageUpdate

+
§

MessageDelete(<MessageDeletePayload as Archive>::Resolver)

The resolver for ServerMsg::MessageDelete

+
§

MessageReactionAdd(<MessageReactionAddPayload as Archive>::Resolver)

§

MessageReactionRemove(<MessageReactionRemovePayload as Archive>::Resolver)

§

MessageReactionRemoveAll(<MessageReactionRemoveAllPayload as Archive>::Resolver)

§

MessageReactionRemoveEmote(<MessageReactionRemoveEmotePayload as Archive>::Resolver)

§

PresenceUpdate(<PresenceUpdatePayload as Archive>::Resolver)

The resolver for ServerMsg::PresenceUpdate

+
§

TypingStart(<TypingStartPayload as Archive>::Resolver)

The resolver for ServerMsg::TypingStart

+
§

UserUpdate(<UserUpdatePayload as Archive>::Resolver)

The resolver for ServerMsg::UserUpdate

+
§

ProfileUpdate(<ProfileUpdatePayload as Archive>::Resolver)

The resolver for ServerMsg::ProfileUpdate

+
§

RelationAdd(<RelationAddPayload as Archive>::Resolver)

The resolver for ServerMsg::RelationAdd

+
§

RelationRemove(<RelationRemovePayload as Archive>::Resolver)

The resolver for ServerMsg::RelationRemove

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/gateway/message/index.html b/client_sdk/models/gateway/message/index.html new file mode 100644 index 000000000..2a98cf8e9 --- /dev/null +++ b/client_sdk/models/gateway/message/index.html @@ -0,0 +1 @@ +client_sdk::models::gateway::message - Rust

Module client_sdk::models::gateway::message

source ·

Modules§

Structs§

Enums§

Traits§

\ No newline at end of file diff --git a/client_sdk/models/gateway/message/server_msg_payloads/index.html b/client_sdk/models/gateway/message/server_msg_payloads/index.html new file mode 100644 index 000000000..2eafad980 --- /dev/null +++ b/client_sdk/models/gateway/message/server_msg_payloads/index.html @@ -0,0 +1 @@ +client_sdk::models::gateway::message::server_msg_payloads - Rust

Module client_sdk::models::gateway::message::server_msg_payloads

source ·

Structs§

\ No newline at end of file diff --git a/client_sdk/models/gateway/message/server_msg_payloads/sidebar-items.js b/client_sdk/models/gateway/message/server_msg_payloads/sidebar-items.js new file mode 100644 index 000000000..58e1a23dd --- /dev/null +++ b/client_sdk/models/gateway/message/server_msg_payloads/sidebar-items.js @@ -0,0 +1 @@ +window.SIDEBAR_ITEMS = {"struct":["ArchivedHeartbeatAckPayload","ArchivedHelloPayload","ArchivedInvalidSessionPayload","ArchivedMemberAddPayload","ArchivedMemberBanPayload","ArchivedMemberRemovePayload","ArchivedMemberUnbanPayload","ArchivedMemberUpdatePayload","ArchivedMessageCreatePayload","ArchivedMessageDeletePayload","ArchivedMessageReactionAddPayload","ArchivedMessageReactionRemoveAllPayload","ArchivedMessageReactionRemoveEmotePayload","ArchivedMessageReactionRemovePayload","ArchivedMessageUpdatePayload","ArchivedPartyCreatePayload","ArchivedPartyDeletePayload","ArchivedPartyUpdatePayload","ArchivedPresenceUpdatePayload","ArchivedProfileUpdatePayload","ArchivedReadyPayload","ArchivedRelationAddPayload","ArchivedRelationRemovePayload","ArchivedRoleCreatePayload","ArchivedRoleDeletePayload","ArchivedRoleUpdatePayload","ArchivedRoomCreatePayload","ArchivedRoomDeletePayload","ArchivedRoomPinsUpdatePayload","ArchivedRoomUpdatePayload","ArchivedTypingStartPayload","ArchivedUserUpdatePayload","HeartbeatAckPayload","HeartbeatAckPayloadResolver","HelloPayload","HelloPayloadResolver","InvalidSessionPayload","InvalidSessionPayloadResolver","MemberAddPayload","MemberAddPayloadResolver","MemberBanPayload","MemberBanPayloadResolver","MemberRemovePayload","MemberRemovePayloadResolver","MemberUnbanPayload","MemberUnbanPayloadResolver","MemberUpdatePayload","MemberUpdatePayloadResolver","MessageCreatePayload","MessageCreatePayloadResolver","MessageDeletePayload","MessageDeletePayloadResolver","MessageReactionAddPayload","MessageReactionAddPayloadResolver","MessageReactionRemoveAllPayload","MessageReactionRemoveAllPayloadResolver","MessageReactionRemoveEmotePayload","MessageReactionRemoveEmotePayloadResolver","MessageReactionRemovePayload","MessageReactionRemovePayloadResolver","MessageUpdatePayload","MessageUpdatePayloadResolver","PartyCreatePayload","PartyCreatePayloadResolver","PartyDeletePayload","PartyDeletePayloadResolver","PartyUpdatePayload","PartyUpdatePayloadResolver","PresenceUpdatePayload","PresenceUpdatePayloadResolver","ProfileUpdatePayload","ProfileUpdatePayloadResolver","ReadyPayload","ReadyPayloadResolver","RelationAddPayload","RelationAddPayloadResolver","RelationRemovePayload","RelationRemovePayloadResolver","RoleCreatePayload","RoleCreatePayloadResolver","RoleDeletePayload","RoleDeletePayloadResolver","RoleUpdatePayload","RoleUpdatePayloadResolver","RoomCreatePayload","RoomCreatePayloadResolver","RoomDeletePayload","RoomDeletePayloadResolver","RoomPinsUpdatePayload","RoomPinsUpdatePayloadResolver","RoomUpdatePayload","RoomUpdatePayloadResolver","TypingStartPayload","TypingStartPayloadResolver","UserUpdatePayload","UserUpdatePayloadResolver"]}; \ No newline at end of file diff --git a/client_sdk/models/gateway/message/server_msg_payloads/struct.ArchivedHeartbeatAckPayload.html b/client_sdk/models/gateway/message/server_msg_payloads/struct.ArchivedHeartbeatAckPayload.html new file mode 100644 index 000000000..d389379b2 --- /dev/null +++ b/client_sdk/models/gateway/message/server_msg_payloads/struct.ArchivedHeartbeatAckPayload.html @@ -0,0 +1,26 @@ +ArchivedHeartbeatAckPayload in client_sdk::models::gateway::message::server_msg_payloads - Rust
#[repr(C)]
pub struct ArchivedHeartbeatAckPayload {}
Expand description

An archived HeartbeatAckPayload

+

Trait Implementations§

source§

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedHeartbeatAckPayload
where + <__C as Fallible>::Error: Trace,

source§

unsafe fn check_bytes( + value: *const Self, + context: &mut __C, +) -> Result<(), <__C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Portable for ArchivedHeartbeatAckPayload

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/gateway/message/server_msg_payloads/struct.ArchivedHelloPayload.html b/client_sdk/models/gateway/message/server_msg_payloads/struct.ArchivedHelloPayload.html new file mode 100644 index 000000000..e893f5fe9 --- /dev/null +++ b/client_sdk/models/gateway/message/server_msg_payloads/struct.ArchivedHelloPayload.html @@ -0,0 +1,33 @@ +ArchivedHelloPayload in client_sdk::models::gateway::message::server_msg_payloads - Rust
#[repr(C)]
pub struct ArchivedHelloPayload
where + Hello: Archive,
{ + pub inner: <Hello as Archive>::Archived, +}
Expand description

An archived HelloPayload

+

Fields§

§inner: <Hello as Archive>::Archived

Trait Implementations§

source§

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedHelloPayload
where + Hello: Archive, + <__C as Fallible>::Error: Trace, + <Hello as Archive>::Archived: CheckBytes<__C>,

source§

unsafe fn check_bytes( + value: *const Self, + context: &mut __C, +) -> Result<(), <__C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Portable for ArchivedHelloPayload
where + Hello: Archive, + <Hello as Archive>::Archived: Portable,

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/gateway/message/server_msg_payloads/struct.ArchivedInvalidSessionPayload.html b/client_sdk/models/gateway/message/server_msg_payloads/struct.ArchivedInvalidSessionPayload.html new file mode 100644 index 000000000..99fe39c86 --- /dev/null +++ b/client_sdk/models/gateway/message/server_msg_payloads/struct.ArchivedInvalidSessionPayload.html @@ -0,0 +1,26 @@ +ArchivedInvalidSessionPayload in client_sdk::models::gateway::message::server_msg_payloads - Rust
#[repr(C)]
pub struct ArchivedInvalidSessionPayload {}
Expand description

An archived InvalidSessionPayload

+

Trait Implementations§

source§

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedInvalidSessionPayload
where + <__C as Fallible>::Error: Trace,

source§

unsafe fn check_bytes( + value: *const Self, + context: &mut __C, +) -> Result<(), <__C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Portable for ArchivedInvalidSessionPayload

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/gateway/message/server_msg_payloads/struct.ArchivedMemberAddPayload.html b/client_sdk/models/gateway/message/server_msg_payloads/struct.ArchivedMemberAddPayload.html new file mode 100644 index 000000000..4a8277721 --- /dev/null +++ b/client_sdk/models/gateway/message/server_msg_payloads/struct.ArchivedMemberAddPayload.html @@ -0,0 +1,45 @@ +ArchivedMemberAddPayload in client_sdk::models::gateway::message::server_msg_payloads - Rust
#[repr(C)]
pub struct ArchivedMemberAddPayload
where + Arc<PartyMemberEvent>: Archive,
{ + pub inner: <Arc<PartyMemberEvent> as Archive>::Archived, +}
Expand description

An archived MemberAddPayload

+

Fields§

§inner: <Arc<PartyMemberEvent> as Archive>::Archived

Methods from Deref<Target = Archived<Arc<PartyMemberEvent>>>§

pub fn with_raw_offset_arc<F, U>(&self, f: F) -> U
where + F: FnOnce(&OffsetArc<T>) -> U,

Temporarily converts |self| into a bonafide OffsetArc and exposes it to the +provided callback. The refcount is not modified.

+

pub fn as_ptr(&self) -> *const T

Returns the raw pointer.

+

Same as into_raw except self isn’t consumed.

+

pub fn borrow_arc(&self) -> ArcBorrow<'_, T>

Produce a pointer to the data that can be converted back +to an Arc. This is basically an &Arc<T>, without the extra indirection. +It has the benefits of an &T but also knows about the underlying refcount +and can be converted into more Arc<T>s if necessary.

+

pub fn heap_ptr(&self) -> *const c_void

Returns the address on the heap of the Arc itself – not the T within it – for memory +reporting.

+

pub fn is_unique(&self) -> bool

Whether or not the Arc is uniquely owned (is the refcount 1?).

+

Trait Implementations§

source§

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedMemberAddPayload
where + Arc<PartyMemberEvent>: Archive, + <__C as Fallible>::Error: Trace, + <Arc<PartyMemberEvent> as Archive>::Archived: CheckBytes<__C>,

source§

unsafe fn check_bytes( + value: *const Self, + context: &mut __C, +) -> Result<(), <__C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Deref for ArchivedMemberAddPayload

source§

type Target = <Arc<PartyMemberEvent> as Archive>::Archived

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl Portable for ArchivedMemberAddPayload
where + Arc<PartyMemberEvent>: Archive, + <Arc<PartyMemberEvent> as Archive>::Archived: Portable,

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/gateway/message/server_msg_payloads/struct.ArchivedMemberBanPayload.html b/client_sdk/models/gateway/message/server_msg_payloads/struct.ArchivedMemberBanPayload.html new file mode 100644 index 000000000..844334f1d --- /dev/null +++ b/client_sdk/models/gateway/message/server_msg_payloads/struct.ArchivedMemberBanPayload.html @@ -0,0 +1,45 @@ +ArchivedMemberBanPayload in client_sdk::models::gateway::message::server_msg_payloads - Rust
#[repr(C)]
pub struct ArchivedMemberBanPayload
where + Arc<PartyMemberEvent>: Archive,
{ + pub inner: <Arc<PartyMemberEvent> as Archive>::Archived, +}
Expand description

An archived MemberBanPayload

+

Fields§

§inner: <Arc<PartyMemberEvent> as Archive>::Archived

Methods from Deref<Target = Archived<Arc<PartyMemberEvent>>>§

pub fn with_raw_offset_arc<F, U>(&self, f: F) -> U
where + F: FnOnce(&OffsetArc<T>) -> U,

Temporarily converts |self| into a bonafide OffsetArc and exposes it to the +provided callback. The refcount is not modified.

+

pub fn as_ptr(&self) -> *const T

Returns the raw pointer.

+

Same as into_raw except self isn’t consumed.

+

pub fn borrow_arc(&self) -> ArcBorrow<'_, T>

Produce a pointer to the data that can be converted back +to an Arc. This is basically an &Arc<T>, without the extra indirection. +It has the benefits of an &T but also knows about the underlying refcount +and can be converted into more Arc<T>s if necessary.

+

pub fn heap_ptr(&self) -> *const c_void

Returns the address on the heap of the Arc itself – not the T within it – for memory +reporting.

+

pub fn is_unique(&self) -> bool

Whether or not the Arc is uniquely owned (is the refcount 1?).

+

Trait Implementations§

source§

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedMemberBanPayload
where + Arc<PartyMemberEvent>: Archive, + <__C as Fallible>::Error: Trace, + <Arc<PartyMemberEvent> as Archive>::Archived: CheckBytes<__C>,

source§

unsafe fn check_bytes( + value: *const Self, + context: &mut __C, +) -> Result<(), <__C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Deref for ArchivedMemberBanPayload

source§

type Target = <Arc<PartyMemberEvent> as Archive>::Archived

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl Portable for ArchivedMemberBanPayload
where + Arc<PartyMemberEvent>: Archive, + <Arc<PartyMemberEvent> as Archive>::Archived: Portable,

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/gateway/message/server_msg_payloads/struct.ArchivedMemberRemovePayload.html b/client_sdk/models/gateway/message/server_msg_payloads/struct.ArchivedMemberRemovePayload.html new file mode 100644 index 000000000..d0e17fb08 --- /dev/null +++ b/client_sdk/models/gateway/message/server_msg_payloads/struct.ArchivedMemberRemovePayload.html @@ -0,0 +1,45 @@ +ArchivedMemberRemovePayload in client_sdk::models::gateway::message::server_msg_payloads - Rust
#[repr(C)]
pub struct ArchivedMemberRemovePayload
where + Arc<PartyMemberEvent>: Archive,
{ + pub inner: <Arc<PartyMemberEvent> as Archive>::Archived, +}
Expand description

An archived MemberRemovePayload

+

Fields§

§inner: <Arc<PartyMemberEvent> as Archive>::Archived

Methods from Deref<Target = Archived<Arc<PartyMemberEvent>>>§

pub fn with_raw_offset_arc<F, U>(&self, f: F) -> U
where + F: FnOnce(&OffsetArc<T>) -> U,

Temporarily converts |self| into a bonafide OffsetArc and exposes it to the +provided callback. The refcount is not modified.

+

pub fn as_ptr(&self) -> *const T

Returns the raw pointer.

+

Same as into_raw except self isn’t consumed.

+

pub fn borrow_arc(&self) -> ArcBorrow<'_, T>

Produce a pointer to the data that can be converted back +to an Arc. This is basically an &Arc<T>, without the extra indirection. +It has the benefits of an &T but also knows about the underlying refcount +and can be converted into more Arc<T>s if necessary.

+

pub fn heap_ptr(&self) -> *const c_void

Returns the address on the heap of the Arc itself – not the T within it – for memory +reporting.

+

pub fn is_unique(&self) -> bool

Whether or not the Arc is uniquely owned (is the refcount 1?).

+

Trait Implementations§

source§

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedMemberRemovePayload
where + Arc<PartyMemberEvent>: Archive, + <__C as Fallible>::Error: Trace, + <Arc<PartyMemberEvent> as Archive>::Archived: CheckBytes<__C>,

source§

unsafe fn check_bytes( + value: *const Self, + context: &mut __C, +) -> Result<(), <__C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Deref for ArchivedMemberRemovePayload

source§

type Target = <Arc<PartyMemberEvent> as Archive>::Archived

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl Portable for ArchivedMemberRemovePayload
where + Arc<PartyMemberEvent>: Archive, + <Arc<PartyMemberEvent> as Archive>::Archived: Portable,

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/gateway/message/server_msg_payloads/struct.ArchivedMemberUnbanPayload.html b/client_sdk/models/gateway/message/server_msg_payloads/struct.ArchivedMemberUnbanPayload.html new file mode 100644 index 000000000..e354068af --- /dev/null +++ b/client_sdk/models/gateway/message/server_msg_payloads/struct.ArchivedMemberUnbanPayload.html @@ -0,0 +1,45 @@ +ArchivedMemberUnbanPayload in client_sdk::models::gateway::message::server_msg_payloads - Rust
#[repr(C)]
pub struct ArchivedMemberUnbanPayload
where + Arc<PartyMemberEvent>: Archive,
{ + pub inner: <Arc<PartyMemberEvent> as Archive>::Archived, +}
Expand description

An archived MemberUnbanPayload

+

Fields§

§inner: <Arc<PartyMemberEvent> as Archive>::Archived

Methods from Deref<Target = Archived<Arc<PartyMemberEvent>>>§

pub fn with_raw_offset_arc<F, U>(&self, f: F) -> U
where + F: FnOnce(&OffsetArc<T>) -> U,

Temporarily converts |self| into a bonafide OffsetArc and exposes it to the +provided callback. The refcount is not modified.

+

pub fn as_ptr(&self) -> *const T

Returns the raw pointer.

+

Same as into_raw except self isn’t consumed.

+

pub fn borrow_arc(&self) -> ArcBorrow<'_, T>

Produce a pointer to the data that can be converted back +to an Arc. This is basically an &Arc<T>, without the extra indirection. +It has the benefits of an &T but also knows about the underlying refcount +and can be converted into more Arc<T>s if necessary.

+

pub fn heap_ptr(&self) -> *const c_void

Returns the address on the heap of the Arc itself – not the T within it – for memory +reporting.

+

pub fn is_unique(&self) -> bool

Whether or not the Arc is uniquely owned (is the refcount 1?).

+

Trait Implementations§

source§

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedMemberUnbanPayload
where + Arc<PartyMemberEvent>: Archive, + <__C as Fallible>::Error: Trace, + <Arc<PartyMemberEvent> as Archive>::Archived: CheckBytes<__C>,

source§

unsafe fn check_bytes( + value: *const Self, + context: &mut __C, +) -> Result<(), <__C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Deref for ArchivedMemberUnbanPayload

source§

type Target = <Arc<PartyMemberEvent> as Archive>::Archived

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl Portable for ArchivedMemberUnbanPayload
where + Arc<PartyMemberEvent>: Archive, + <Arc<PartyMemberEvent> as Archive>::Archived: Portable,

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/gateway/message/server_msg_payloads/struct.ArchivedMemberUpdatePayload.html b/client_sdk/models/gateway/message/server_msg_payloads/struct.ArchivedMemberUpdatePayload.html new file mode 100644 index 000000000..66bb89b04 --- /dev/null +++ b/client_sdk/models/gateway/message/server_msg_payloads/struct.ArchivedMemberUpdatePayload.html @@ -0,0 +1,45 @@ +ArchivedMemberUpdatePayload in client_sdk::models::gateway::message::server_msg_payloads - Rust
#[repr(C)]
pub struct ArchivedMemberUpdatePayload
where + Arc<PartyMemberEvent>: Archive,
{ + pub inner: <Arc<PartyMemberEvent> as Archive>::Archived, +}
Expand description

An archived MemberUpdatePayload

+

Fields§

§inner: <Arc<PartyMemberEvent> as Archive>::Archived

Methods from Deref<Target = Archived<Arc<PartyMemberEvent>>>§

pub fn with_raw_offset_arc<F, U>(&self, f: F) -> U
where + F: FnOnce(&OffsetArc<T>) -> U,

Temporarily converts |self| into a bonafide OffsetArc and exposes it to the +provided callback. The refcount is not modified.

+

pub fn as_ptr(&self) -> *const T

Returns the raw pointer.

+

Same as into_raw except self isn’t consumed.

+

pub fn borrow_arc(&self) -> ArcBorrow<'_, T>

Produce a pointer to the data that can be converted back +to an Arc. This is basically an &Arc<T>, without the extra indirection. +It has the benefits of an &T but also knows about the underlying refcount +and can be converted into more Arc<T>s if necessary.

+

pub fn heap_ptr(&self) -> *const c_void

Returns the address on the heap of the Arc itself – not the T within it – for memory +reporting.

+

pub fn is_unique(&self) -> bool

Whether or not the Arc is uniquely owned (is the refcount 1?).

+

Trait Implementations§

source§

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedMemberUpdatePayload
where + Arc<PartyMemberEvent>: Archive, + <__C as Fallible>::Error: Trace, + <Arc<PartyMemberEvent> as Archive>::Archived: CheckBytes<__C>,

source§

unsafe fn check_bytes( + value: *const Self, + context: &mut __C, +) -> Result<(), <__C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Deref for ArchivedMemberUpdatePayload

source§

type Target = <Arc<PartyMemberEvent> as Archive>::Archived

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl Portable for ArchivedMemberUpdatePayload
where + Arc<PartyMemberEvent>: Archive, + <Arc<PartyMemberEvent> as Archive>::Archived: Portable,

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/gateway/message/server_msg_payloads/struct.ArchivedMessageCreatePayload.html b/client_sdk/models/gateway/message/server_msg_payloads/struct.ArchivedMessageCreatePayload.html new file mode 100644 index 000000000..4120019de --- /dev/null +++ b/client_sdk/models/gateway/message/server_msg_payloads/struct.ArchivedMessageCreatePayload.html @@ -0,0 +1,45 @@ +ArchivedMessageCreatePayload in client_sdk::models::gateway::message::server_msg_payloads - Rust
#[repr(C)]
pub struct ArchivedMessageCreatePayload
where + Arc<Message>: Archive,
{ + pub inner: <Arc<Message> as Archive>::Archived, +}
Expand description

An archived MessageCreatePayload

+

Fields§

§inner: <Arc<Message> as Archive>::Archived

Methods from Deref<Target = Archived<Arc<RoomMessage>>>§

pub fn with_raw_offset_arc<F, U>(&self, f: F) -> U
where + F: FnOnce(&OffsetArc<T>) -> U,

Temporarily converts |self| into a bonafide OffsetArc and exposes it to the +provided callback. The refcount is not modified.

+

pub fn as_ptr(&self) -> *const T

Returns the raw pointer.

+

Same as into_raw except self isn’t consumed.

+

pub fn borrow_arc(&self) -> ArcBorrow<'_, T>

Produce a pointer to the data that can be converted back +to an Arc. This is basically an &Arc<T>, without the extra indirection. +It has the benefits of an &T but also knows about the underlying refcount +and can be converted into more Arc<T>s if necessary.

+

pub fn heap_ptr(&self) -> *const c_void

Returns the address on the heap of the Arc itself – not the T within it – for memory +reporting.

+

pub fn is_unique(&self) -> bool

Whether or not the Arc is uniquely owned (is the refcount 1?).

+

Trait Implementations§

source§

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedMessageCreatePayload
where + Arc<Message>: Archive, + <__C as Fallible>::Error: Trace, + <Arc<Message> as Archive>::Archived: CheckBytes<__C>,

source§

unsafe fn check_bytes( + value: *const Self, + context: &mut __C, +) -> Result<(), <__C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Deref for ArchivedMessageCreatePayload

source§

type Target = <Arc<Message> as Archive>::Archived

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl Portable for ArchivedMessageCreatePayload
where + Arc<Message>: Archive, + <Arc<Message> as Archive>::Archived: Portable,

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/gateway/message/server_msg_payloads/struct.ArchivedMessageDeletePayload.html b/client_sdk/models/gateway/message/server_msg_payloads/struct.ArchivedMessageDeletePayload.html new file mode 100644 index 000000000..d53dfb3a9 --- /dev/null +++ b/client_sdk/models/gateway/message/server_msg_payloads/struct.ArchivedMessageDeletePayload.html @@ -0,0 +1,45 @@ +ArchivedMessageDeletePayload in client_sdk::models::gateway::message::server_msg_payloads - Rust
#[repr(C)]
pub struct ArchivedMessageDeletePayload
where + Arc<MessageDeleteEvent>: Archive,
{ + pub inner: <Arc<MessageDeleteEvent> as Archive>::Archived, +}
Expand description

An archived MessageDeletePayload

+

Fields§

§inner: <Arc<MessageDeleteEvent> as Archive>::Archived

Methods from Deref<Target = Archived<Arc<MessageDeleteEvent>>>§

pub fn with_raw_offset_arc<F, U>(&self, f: F) -> U
where + F: FnOnce(&OffsetArc<T>) -> U,

Temporarily converts |self| into a bonafide OffsetArc and exposes it to the +provided callback. The refcount is not modified.

+

pub fn as_ptr(&self) -> *const T

Returns the raw pointer.

+

Same as into_raw except self isn’t consumed.

+

pub fn borrow_arc(&self) -> ArcBorrow<'_, T>

Produce a pointer to the data that can be converted back +to an Arc. This is basically an &Arc<T>, without the extra indirection. +It has the benefits of an &T but also knows about the underlying refcount +and can be converted into more Arc<T>s if necessary.

+

pub fn heap_ptr(&self) -> *const c_void

Returns the address on the heap of the Arc itself – not the T within it – for memory +reporting.

+

pub fn is_unique(&self) -> bool

Whether or not the Arc is uniquely owned (is the refcount 1?).

+

Trait Implementations§

source§

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedMessageDeletePayload
where + Arc<MessageDeleteEvent>: Archive, + <__C as Fallible>::Error: Trace, + <Arc<MessageDeleteEvent> as Archive>::Archived: CheckBytes<__C>,

source§

unsafe fn check_bytes( + value: *const Self, + context: &mut __C, +) -> Result<(), <__C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Deref for ArchivedMessageDeletePayload

source§

type Target = <Arc<MessageDeleteEvent> as Archive>::Archived

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl Portable for ArchivedMessageDeletePayload
where + Arc<MessageDeleteEvent>: Archive, + <Arc<MessageDeleteEvent> as Archive>::Archived: Portable,

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/gateway/message/server_msg_payloads/struct.ArchivedMessageReactionAddPayload.html b/client_sdk/models/gateway/message/server_msg_payloads/struct.ArchivedMessageReactionAddPayload.html new file mode 100644 index 000000000..e07c7fb09 --- /dev/null +++ b/client_sdk/models/gateway/message/server_msg_payloads/struct.ArchivedMessageReactionAddPayload.html @@ -0,0 +1,45 @@ +ArchivedMessageReactionAddPayload in client_sdk::models::gateway::message::server_msg_payloads - Rust
#[repr(C)]
pub struct ArchivedMessageReactionAddPayload
where + Arc<UserReactionEvent>: Archive,
{ + pub inner: <Arc<UserReactionEvent> as Archive>::Archived, +}
Expand description

Fields§

§inner: <Arc<UserReactionEvent> as Archive>::Archived

Methods from Deref<Target = Archived<Arc<UserReactionEvent>>>§

pub fn with_raw_offset_arc<F, U>(&self, f: F) -> U
where + F: FnOnce(&OffsetArc<T>) -> U,

Temporarily converts |self| into a bonafide OffsetArc and exposes it to the +provided callback. The refcount is not modified.

+

pub fn as_ptr(&self) -> *const T

Returns the raw pointer.

+

Same as into_raw except self isn’t consumed.

+

pub fn borrow_arc(&self) -> ArcBorrow<'_, T>

Produce a pointer to the data that can be converted back +to an Arc. This is basically an &Arc<T>, without the extra indirection. +It has the benefits of an &T but also knows about the underlying refcount +and can be converted into more Arc<T>s if necessary.

+

pub fn heap_ptr(&self) -> *const c_void

Returns the address on the heap of the Arc itself – not the T within it – for memory +reporting.

+

pub fn is_unique(&self) -> bool

Whether or not the Arc is uniquely owned (is the refcount 1?).

+

Trait Implementations§

source§

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedMessageReactionAddPayload
where + Arc<UserReactionEvent>: Archive, + <__C as Fallible>::Error: Trace, + <Arc<UserReactionEvent> as Archive>::Archived: CheckBytes<__C>,

source§

unsafe fn check_bytes( + value: *const Self, + context: &mut __C, +) -> Result<(), <__C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Deref for ArchivedMessageReactionAddPayload

source§

type Target = <Arc<UserReactionEvent> as Archive>::Archived

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl Portable for ArchivedMessageReactionAddPayload
where + Arc<UserReactionEvent>: Archive, + <Arc<UserReactionEvent> as Archive>::Archived: Portable,

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/gateway/message/server_msg_payloads/struct.ArchivedMessageReactionRemoveAllPayload.html b/client_sdk/models/gateway/message/server_msg_payloads/struct.ArchivedMessageReactionRemoveAllPayload.html new file mode 100644 index 000000000..f20ae73df --- /dev/null +++ b/client_sdk/models/gateway/message/server_msg_payloads/struct.ArchivedMessageReactionRemoveAllPayload.html @@ -0,0 +1,26 @@ +ArchivedMessageReactionRemoveAllPayload in client_sdk::models::gateway::message::server_msg_payloads - Rust
#[repr(C)]
pub struct ArchivedMessageReactionRemoveAllPayload {}
Expand description

Trait Implementations§

source§

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedMessageReactionRemoveAllPayload
where + <__C as Fallible>::Error: Trace,

source§

unsafe fn check_bytes( + value: *const Self, + context: &mut __C, +) -> Result<(), <__C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Portable for ArchivedMessageReactionRemoveAllPayload

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/gateway/message/server_msg_payloads/struct.ArchivedMessageReactionRemoveEmotePayload.html b/client_sdk/models/gateway/message/server_msg_payloads/struct.ArchivedMessageReactionRemoveEmotePayload.html new file mode 100644 index 000000000..8f50dc7ae --- /dev/null +++ b/client_sdk/models/gateway/message/server_msg_payloads/struct.ArchivedMessageReactionRemoveEmotePayload.html @@ -0,0 +1,26 @@ +ArchivedMessageReactionRemoveEmotePayload in client_sdk::models::gateway::message::server_msg_payloads - Rust
#[repr(C)]
pub struct ArchivedMessageReactionRemoveEmotePayload {}
Expand description

Trait Implementations§

source§

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedMessageReactionRemoveEmotePayload
where + <__C as Fallible>::Error: Trace,

source§

unsafe fn check_bytes( + value: *const Self, + context: &mut __C, +) -> Result<(), <__C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Portable for ArchivedMessageReactionRemoveEmotePayload

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/gateway/message/server_msg_payloads/struct.ArchivedMessageReactionRemovePayload.html b/client_sdk/models/gateway/message/server_msg_payloads/struct.ArchivedMessageReactionRemovePayload.html new file mode 100644 index 000000000..aa14d2768 --- /dev/null +++ b/client_sdk/models/gateway/message/server_msg_payloads/struct.ArchivedMessageReactionRemovePayload.html @@ -0,0 +1,45 @@ +ArchivedMessageReactionRemovePayload in client_sdk::models::gateway::message::server_msg_payloads - Rust
#[repr(C)]
pub struct ArchivedMessageReactionRemovePayload
where + Arc<UserReactionEvent>: Archive,
{ + pub inner: <Arc<UserReactionEvent> as Archive>::Archived, +}
Expand description

Fields§

§inner: <Arc<UserReactionEvent> as Archive>::Archived

Methods from Deref<Target = Archived<Arc<UserReactionEvent>>>§

pub fn with_raw_offset_arc<F, U>(&self, f: F) -> U
where + F: FnOnce(&OffsetArc<T>) -> U,

Temporarily converts |self| into a bonafide OffsetArc and exposes it to the +provided callback. The refcount is not modified.

+

pub fn as_ptr(&self) -> *const T

Returns the raw pointer.

+

Same as into_raw except self isn’t consumed.

+

pub fn borrow_arc(&self) -> ArcBorrow<'_, T>

Produce a pointer to the data that can be converted back +to an Arc. This is basically an &Arc<T>, without the extra indirection. +It has the benefits of an &T but also knows about the underlying refcount +and can be converted into more Arc<T>s if necessary.

+

pub fn heap_ptr(&self) -> *const c_void

Returns the address on the heap of the Arc itself – not the T within it – for memory +reporting.

+

pub fn is_unique(&self) -> bool

Whether or not the Arc is uniquely owned (is the refcount 1?).

+

Trait Implementations§

source§

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedMessageReactionRemovePayload
where + Arc<UserReactionEvent>: Archive, + <__C as Fallible>::Error: Trace, + <Arc<UserReactionEvent> as Archive>::Archived: CheckBytes<__C>,

source§

unsafe fn check_bytes( + value: *const Self, + context: &mut __C, +) -> Result<(), <__C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Deref for ArchivedMessageReactionRemovePayload

source§

type Target = <Arc<UserReactionEvent> as Archive>::Archived

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl Portable for ArchivedMessageReactionRemovePayload
where + Arc<UserReactionEvent>: Archive, + <Arc<UserReactionEvent> as Archive>::Archived: Portable,

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/gateway/message/server_msg_payloads/struct.ArchivedMessageUpdatePayload.html b/client_sdk/models/gateway/message/server_msg_payloads/struct.ArchivedMessageUpdatePayload.html new file mode 100644 index 000000000..8f3ac9eb8 --- /dev/null +++ b/client_sdk/models/gateway/message/server_msg_payloads/struct.ArchivedMessageUpdatePayload.html @@ -0,0 +1,45 @@ +ArchivedMessageUpdatePayload in client_sdk::models::gateway::message::server_msg_payloads - Rust
#[repr(C)]
pub struct ArchivedMessageUpdatePayload
where + Arc<Message>: Archive,
{ + pub inner: <Arc<Message> as Archive>::Archived, +}
Expand description

An archived MessageUpdatePayload

+

Fields§

§inner: <Arc<Message> as Archive>::Archived

Methods from Deref<Target = Archived<Arc<RoomMessage>>>§

pub fn with_raw_offset_arc<F, U>(&self, f: F) -> U
where + F: FnOnce(&OffsetArc<T>) -> U,

Temporarily converts |self| into a bonafide OffsetArc and exposes it to the +provided callback. The refcount is not modified.

+

pub fn as_ptr(&self) -> *const T

Returns the raw pointer.

+

Same as into_raw except self isn’t consumed.

+

pub fn borrow_arc(&self) -> ArcBorrow<'_, T>

Produce a pointer to the data that can be converted back +to an Arc. This is basically an &Arc<T>, without the extra indirection. +It has the benefits of an &T but also knows about the underlying refcount +and can be converted into more Arc<T>s if necessary.

+

pub fn heap_ptr(&self) -> *const c_void

Returns the address on the heap of the Arc itself – not the T within it – for memory +reporting.

+

pub fn is_unique(&self) -> bool

Whether or not the Arc is uniquely owned (is the refcount 1?).

+

Trait Implementations§

source§

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedMessageUpdatePayload
where + Arc<Message>: Archive, + <__C as Fallible>::Error: Trace, + <Arc<Message> as Archive>::Archived: CheckBytes<__C>,

source§

unsafe fn check_bytes( + value: *const Self, + context: &mut __C, +) -> Result<(), <__C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Deref for ArchivedMessageUpdatePayload

source§

type Target = <Arc<Message> as Archive>::Archived

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl Portable for ArchivedMessageUpdatePayload
where + Arc<Message>: Archive, + <Arc<Message> as Archive>::Archived: Portable,

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/gateway/message/server_msg_payloads/struct.ArchivedPartyCreatePayload.html b/client_sdk/models/gateway/message/server_msg_payloads/struct.ArchivedPartyCreatePayload.html new file mode 100644 index 000000000..0460a4bf3 --- /dev/null +++ b/client_sdk/models/gateway/message/server_msg_payloads/struct.ArchivedPartyCreatePayload.html @@ -0,0 +1,45 @@ +ArchivedPartyCreatePayload in client_sdk::models::gateway::message::server_msg_payloads - Rust
#[repr(C)]
pub struct ArchivedPartyCreatePayload
where + Arc<Party>: Archive,
{ + pub inner: <Arc<Party> as Archive>::Archived, +}
Expand description

An archived PartyCreatePayload

+

Fields§

§inner: <Arc<Party> as Archive>::Archived

Methods from Deref<Target = Archived<Arc<Party>>>§

pub fn with_raw_offset_arc<F, U>(&self, f: F) -> U
where + F: FnOnce(&OffsetArc<T>) -> U,

Temporarily converts |self| into a bonafide OffsetArc and exposes it to the +provided callback. The refcount is not modified.

+

pub fn as_ptr(&self) -> *const T

Returns the raw pointer.

+

Same as into_raw except self isn’t consumed.

+

pub fn borrow_arc(&self) -> ArcBorrow<'_, T>

Produce a pointer to the data that can be converted back +to an Arc. This is basically an &Arc<T>, without the extra indirection. +It has the benefits of an &T but also knows about the underlying refcount +and can be converted into more Arc<T>s if necessary.

+

pub fn heap_ptr(&self) -> *const c_void

Returns the address on the heap of the Arc itself – not the T within it – for memory +reporting.

+

pub fn is_unique(&self) -> bool

Whether or not the Arc is uniquely owned (is the refcount 1?).

+

Trait Implementations§

source§

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedPartyCreatePayload
where + Arc<Party>: Archive, + <__C as Fallible>::Error: Trace, + <Arc<Party> as Archive>::Archived: CheckBytes<__C>,

source§

unsafe fn check_bytes( + value: *const Self, + context: &mut __C, +) -> Result<(), <__C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Deref for ArchivedPartyCreatePayload

source§

type Target = <Arc<Party> as Archive>::Archived

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl Portable for ArchivedPartyCreatePayload
where + Arc<Party>: Archive, + <Arc<Party> as Archive>::Archived: Portable,

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/gateway/message/server_msg_payloads/struct.ArchivedPartyDeletePayload.html b/client_sdk/models/gateway/message/server_msg_payloads/struct.ArchivedPartyDeletePayload.html new file mode 100644 index 000000000..080b5f2c7 --- /dev/null +++ b/client_sdk/models/gateway/message/server_msg_payloads/struct.ArchivedPartyDeletePayload.html @@ -0,0 +1,33 @@ +ArchivedPartyDeletePayload in client_sdk::models::gateway::message::server_msg_payloads - Rust
#[repr(C)]
pub struct ArchivedPartyDeletePayload
where + PartyId: Archive,
{ + pub id: <PartyId as Archive>::Archived, +}
Expand description

An archived PartyDeletePayload

+

Fields§

§id: <PartyId as Archive>::Archived

Trait Implementations§

source§

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedPartyDeletePayload
where + PartyId: Archive, + <__C as Fallible>::Error: Trace, + <PartyId as Archive>::Archived: CheckBytes<__C>,

source§

unsafe fn check_bytes( + value: *const Self, + context: &mut __C, +) -> Result<(), <__C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Portable for ArchivedPartyDeletePayload
where + PartyId: Archive, + <PartyId as Archive>::Archived: Portable,

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/gateway/message/server_msg_payloads/struct.ArchivedPartyUpdatePayload.html b/client_sdk/models/gateway/message/server_msg_payloads/struct.ArchivedPartyUpdatePayload.html new file mode 100644 index 000000000..31d0cd662 --- /dev/null +++ b/client_sdk/models/gateway/message/server_msg_payloads/struct.ArchivedPartyUpdatePayload.html @@ -0,0 +1,45 @@ +ArchivedPartyUpdatePayload in client_sdk::models::gateway::message::server_msg_payloads - Rust
#[repr(C)]
pub struct ArchivedPartyUpdatePayload
where + Arc<PartyUpdateEvent>: Archive,
{ + pub inner: <Arc<PartyUpdateEvent> as Archive>::Archived, +}
Expand description

An archived PartyUpdatePayload

+

Fields§

§inner: <Arc<PartyUpdateEvent> as Archive>::Archived

Methods from Deref<Target = Archived<Arc<PartyUpdateEvent>>>§

pub fn with_raw_offset_arc<F, U>(&self, f: F) -> U
where + F: FnOnce(&OffsetArc<T>) -> U,

Temporarily converts |self| into a bonafide OffsetArc and exposes it to the +provided callback. The refcount is not modified.

+

pub fn as_ptr(&self) -> *const T

Returns the raw pointer.

+

Same as into_raw except self isn’t consumed.

+

pub fn borrow_arc(&self) -> ArcBorrow<'_, T>

Produce a pointer to the data that can be converted back +to an Arc. This is basically an &Arc<T>, without the extra indirection. +It has the benefits of an &T but also knows about the underlying refcount +and can be converted into more Arc<T>s if necessary.

+

pub fn heap_ptr(&self) -> *const c_void

Returns the address on the heap of the Arc itself – not the T within it – for memory +reporting.

+

pub fn is_unique(&self) -> bool

Whether or not the Arc is uniquely owned (is the refcount 1?).

+

Trait Implementations§

source§

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedPartyUpdatePayload
where + Arc<PartyUpdateEvent>: Archive, + <__C as Fallible>::Error: Trace, + <Arc<PartyUpdateEvent> as Archive>::Archived: CheckBytes<__C>,

source§

unsafe fn check_bytes( + value: *const Self, + context: &mut __C, +) -> Result<(), <__C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Deref for ArchivedPartyUpdatePayload

source§

type Target = <Arc<PartyUpdateEvent> as Archive>::Archived

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl Portable for ArchivedPartyUpdatePayload
where + Arc<PartyUpdateEvent>: Archive, + <Arc<PartyUpdateEvent> as Archive>::Archived: Portable,

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/gateway/message/server_msg_payloads/struct.ArchivedPresenceUpdatePayload.html b/client_sdk/models/gateway/message/server_msg_payloads/struct.ArchivedPresenceUpdatePayload.html new file mode 100644 index 000000000..4c7f43b0f --- /dev/null +++ b/client_sdk/models/gateway/message/server_msg_payloads/struct.ArchivedPresenceUpdatePayload.html @@ -0,0 +1,45 @@ +ArchivedPresenceUpdatePayload in client_sdk::models::gateway::message::server_msg_payloads - Rust
#[repr(C)]
pub struct ArchivedPresenceUpdatePayload
where + Arc<UserPresenceEvent>: Archive,
{ + pub inner: <Arc<UserPresenceEvent> as Archive>::Archived, +}
Expand description

An archived PresenceUpdatePayload

+

Fields§

§inner: <Arc<UserPresenceEvent> as Archive>::Archived

Methods from Deref<Target = Archived<Arc<UserPresenceEvent>>>§

pub fn with_raw_offset_arc<F, U>(&self, f: F) -> U
where + F: FnOnce(&OffsetArc<T>) -> U,

Temporarily converts |self| into a bonafide OffsetArc and exposes it to the +provided callback. The refcount is not modified.

+

pub fn as_ptr(&self) -> *const T

Returns the raw pointer.

+

Same as into_raw except self isn’t consumed.

+

pub fn borrow_arc(&self) -> ArcBorrow<'_, T>

Produce a pointer to the data that can be converted back +to an Arc. This is basically an &Arc<T>, without the extra indirection. +It has the benefits of an &T but also knows about the underlying refcount +and can be converted into more Arc<T>s if necessary.

+

pub fn heap_ptr(&self) -> *const c_void

Returns the address on the heap of the Arc itself – not the T within it – for memory +reporting.

+

pub fn is_unique(&self) -> bool

Whether or not the Arc is uniquely owned (is the refcount 1?).

+

Trait Implementations§

source§

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedPresenceUpdatePayload
where + Arc<UserPresenceEvent>: Archive, + <__C as Fallible>::Error: Trace, + <Arc<UserPresenceEvent> as Archive>::Archived: CheckBytes<__C>,

source§

unsafe fn check_bytes( + value: *const Self, + context: &mut __C, +) -> Result<(), <__C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Deref for ArchivedPresenceUpdatePayload

source§

type Target = <Arc<UserPresenceEvent> as Archive>::Archived

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl Portable for ArchivedPresenceUpdatePayload
where + Arc<UserPresenceEvent>: Archive, + <Arc<UserPresenceEvent> as Archive>::Archived: Portable,

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/gateway/message/server_msg_payloads/struct.ArchivedProfileUpdatePayload.html b/client_sdk/models/gateway/message/server_msg_payloads/struct.ArchivedProfileUpdatePayload.html new file mode 100644 index 000000000..ccd0db3eb --- /dev/null +++ b/client_sdk/models/gateway/message/server_msg_payloads/struct.ArchivedProfileUpdatePayload.html @@ -0,0 +1,45 @@ +ArchivedProfileUpdatePayload in client_sdk::models::gateway::message::server_msg_payloads - Rust
#[repr(C)]
pub struct ArchivedProfileUpdatePayload
where + Arc<ProfileUpdateEvent>: Archive,
{ + pub inner: <Arc<ProfileUpdateEvent> as Archive>::Archived, +}
Expand description

An archived ProfileUpdatePayload

+

Fields§

§inner: <Arc<ProfileUpdateEvent> as Archive>::Archived

Methods from Deref<Target = Archived<Arc<ProfileUpdateEvent>>>§

pub fn with_raw_offset_arc<F, U>(&self, f: F) -> U
where + F: FnOnce(&OffsetArc<T>) -> U,

Temporarily converts |self| into a bonafide OffsetArc and exposes it to the +provided callback. The refcount is not modified.

+

pub fn as_ptr(&self) -> *const T

Returns the raw pointer.

+

Same as into_raw except self isn’t consumed.

+

pub fn borrow_arc(&self) -> ArcBorrow<'_, T>

Produce a pointer to the data that can be converted back +to an Arc. This is basically an &Arc<T>, without the extra indirection. +It has the benefits of an &T but also knows about the underlying refcount +and can be converted into more Arc<T>s if necessary.

+

pub fn heap_ptr(&self) -> *const c_void

Returns the address on the heap of the Arc itself – not the T within it – for memory +reporting.

+

pub fn is_unique(&self) -> bool

Whether or not the Arc is uniquely owned (is the refcount 1?).

+

Trait Implementations§

source§

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedProfileUpdatePayload
where + Arc<ProfileUpdateEvent>: Archive, + <__C as Fallible>::Error: Trace, + <Arc<ProfileUpdateEvent> as Archive>::Archived: CheckBytes<__C>,

source§

unsafe fn check_bytes( + value: *const Self, + context: &mut __C, +) -> Result<(), <__C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Deref for ArchivedProfileUpdatePayload

source§

type Target = <Arc<ProfileUpdateEvent> as Archive>::Archived

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl Portable for ArchivedProfileUpdatePayload
where + Arc<ProfileUpdateEvent>: Archive, + <Arc<ProfileUpdateEvent> as Archive>::Archived: Portable,

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/gateway/message/server_msg_payloads/struct.ArchivedReadyPayload.html b/client_sdk/models/gateway/message/server_msg_payloads/struct.ArchivedReadyPayload.html new file mode 100644 index 000000000..0c5ca80d1 --- /dev/null +++ b/client_sdk/models/gateway/message/server_msg_payloads/struct.ArchivedReadyPayload.html @@ -0,0 +1,45 @@ +ArchivedReadyPayload in client_sdk::models::gateway::message::server_msg_payloads - Rust
#[repr(C)]
pub struct ArchivedReadyPayload
where + Arc<Ready>: Archive,
{ + pub inner: <Arc<Ready> as Archive>::Archived, +}
Expand description

An archived ReadyPayload

+

Fields§

§inner: <Arc<Ready> as Archive>::Archived

Methods from Deref<Target = Archived<Arc<Ready>>>§

pub fn with_raw_offset_arc<F, U>(&self, f: F) -> U
where + F: FnOnce(&OffsetArc<T>) -> U,

Temporarily converts |self| into a bonafide OffsetArc and exposes it to the +provided callback. The refcount is not modified.

+

pub fn as_ptr(&self) -> *const T

Returns the raw pointer.

+

Same as into_raw except self isn’t consumed.

+

pub fn borrow_arc(&self) -> ArcBorrow<'_, T>

Produce a pointer to the data that can be converted back +to an Arc. This is basically an &Arc<T>, without the extra indirection. +It has the benefits of an &T but also knows about the underlying refcount +and can be converted into more Arc<T>s if necessary.

+

pub fn heap_ptr(&self) -> *const c_void

Returns the address on the heap of the Arc itself – not the T within it – for memory +reporting.

+

pub fn is_unique(&self) -> bool

Whether or not the Arc is uniquely owned (is the refcount 1?).

+

Trait Implementations§

source§

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedReadyPayload
where + Arc<Ready>: Archive, + <__C as Fallible>::Error: Trace, + <Arc<Ready> as Archive>::Archived: CheckBytes<__C>,

source§

unsafe fn check_bytes( + value: *const Self, + context: &mut __C, +) -> Result<(), <__C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Deref for ArchivedReadyPayload

source§

type Target = <Arc<Ready> as Archive>::Archived

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl Portable for ArchivedReadyPayload
where + Arc<Ready>: Archive, + <Arc<Ready> as Archive>::Archived: Portable,

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/gateway/message/server_msg_payloads/struct.ArchivedRelationAddPayload.html b/client_sdk/models/gateway/message/server_msg_payloads/struct.ArchivedRelationAddPayload.html new file mode 100644 index 000000000..25d7c6c76 --- /dev/null +++ b/client_sdk/models/gateway/message/server_msg_payloads/struct.ArchivedRelationAddPayload.html @@ -0,0 +1,45 @@ +ArchivedRelationAddPayload in client_sdk::models::gateway::message::server_msg_payloads - Rust
#[repr(C)]
pub struct ArchivedRelationAddPayload
where + Arc<Relationship>: Archive,
{ + pub inner: <Arc<Relationship> as Archive>::Archived, +}
Expand description

An archived RelationAddPayload

+

Fields§

§inner: <Arc<Relationship> as Archive>::Archived

Methods from Deref<Target = Archived<Arc<Relationship>>>§

pub fn with_raw_offset_arc<F, U>(&self, f: F) -> U
where + F: FnOnce(&OffsetArc<T>) -> U,

Temporarily converts |self| into a bonafide OffsetArc and exposes it to the +provided callback. The refcount is not modified.

+

pub fn as_ptr(&self) -> *const T

Returns the raw pointer.

+

Same as into_raw except self isn’t consumed.

+

pub fn borrow_arc(&self) -> ArcBorrow<'_, T>

Produce a pointer to the data that can be converted back +to an Arc. This is basically an &Arc<T>, without the extra indirection. +It has the benefits of an &T but also knows about the underlying refcount +and can be converted into more Arc<T>s if necessary.

+

pub fn heap_ptr(&self) -> *const c_void

Returns the address on the heap of the Arc itself – not the T within it – for memory +reporting.

+

pub fn is_unique(&self) -> bool

Whether or not the Arc is uniquely owned (is the refcount 1?).

+

Trait Implementations§

source§

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedRelationAddPayload
where + Arc<Relationship>: Archive, + <__C as Fallible>::Error: Trace, + <Arc<Relationship> as Archive>::Archived: CheckBytes<__C>,

source§

unsafe fn check_bytes( + value: *const Self, + context: &mut __C, +) -> Result<(), <__C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Deref for ArchivedRelationAddPayload

source§

type Target = <Arc<Relationship> as Archive>::Archived

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl Portable for ArchivedRelationAddPayload
where + Arc<Relationship>: Archive, + <Arc<Relationship> as Archive>::Archived: Portable,

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/gateway/message/server_msg_payloads/struct.ArchivedRelationRemovePayload.html b/client_sdk/models/gateway/message/server_msg_payloads/struct.ArchivedRelationRemovePayload.html new file mode 100644 index 000000000..71cd1e639 --- /dev/null +++ b/client_sdk/models/gateway/message/server_msg_payloads/struct.ArchivedRelationRemovePayload.html @@ -0,0 +1,33 @@ +ArchivedRelationRemovePayload in client_sdk::models::gateway::message::server_msg_payloads - Rust
#[repr(C)]
pub struct ArchivedRelationRemovePayload
where + UserId: Archive,
{ + pub user_id: <UserId as Archive>::Archived, +}
Expand description

An archived RelationRemovePayload

+

Fields§

§user_id: <UserId as Archive>::Archived

Trait Implementations§

source§

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedRelationRemovePayload
where + UserId: Archive, + <__C as Fallible>::Error: Trace, + <UserId as Archive>::Archived: CheckBytes<__C>,

source§

unsafe fn check_bytes( + value: *const Self, + context: &mut __C, +) -> Result<(), <__C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Portable for ArchivedRelationRemovePayload
where + UserId: Archive, + <UserId as Archive>::Archived: Portable,

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/gateway/message/server_msg_payloads/struct.ArchivedRoleCreatePayload.html b/client_sdk/models/gateway/message/server_msg_payloads/struct.ArchivedRoleCreatePayload.html new file mode 100644 index 000000000..85ddcac7c --- /dev/null +++ b/client_sdk/models/gateway/message/server_msg_payloads/struct.ArchivedRoleCreatePayload.html @@ -0,0 +1,45 @@ +ArchivedRoleCreatePayload in client_sdk::models::gateway::message::server_msg_payloads - Rust
#[repr(C)]
pub struct ArchivedRoleCreatePayload
where + Arc<Role>: Archive,
{ + pub inner: <Arc<Role> as Archive>::Archived, +}
Expand description

An archived RoleCreatePayload

+

Fields§

§inner: <Arc<Role> as Archive>::Archived

Methods from Deref<Target = Archived<Arc<Role>>>§

pub fn with_raw_offset_arc<F, U>(&self, f: F) -> U
where + F: FnOnce(&OffsetArc<T>) -> U,

Temporarily converts |self| into a bonafide OffsetArc and exposes it to the +provided callback. The refcount is not modified.

+

pub fn as_ptr(&self) -> *const T

Returns the raw pointer.

+

Same as into_raw except self isn’t consumed.

+

pub fn borrow_arc(&self) -> ArcBorrow<'_, T>

Produce a pointer to the data that can be converted back +to an Arc. This is basically an &Arc<T>, without the extra indirection. +It has the benefits of an &T but also knows about the underlying refcount +and can be converted into more Arc<T>s if necessary.

+

pub fn heap_ptr(&self) -> *const c_void

Returns the address on the heap of the Arc itself – not the T within it – for memory +reporting.

+

pub fn is_unique(&self) -> bool

Whether or not the Arc is uniquely owned (is the refcount 1?).

+

Trait Implementations§

source§

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedRoleCreatePayload
where + Arc<Role>: Archive, + <__C as Fallible>::Error: Trace, + <Arc<Role> as Archive>::Archived: CheckBytes<__C>,

source§

unsafe fn check_bytes( + value: *const Self, + context: &mut __C, +) -> Result<(), <__C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Deref for ArchivedRoleCreatePayload

source§

type Target = <Arc<Role> as Archive>::Archived

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl Portable for ArchivedRoleCreatePayload
where + Arc<Role>: Archive, + <Arc<Role> as Archive>::Archived: Portable,

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/gateway/message/server_msg_payloads/struct.ArchivedRoleDeletePayload.html b/client_sdk/models/gateway/message/server_msg_payloads/struct.ArchivedRoleDeletePayload.html new file mode 100644 index 000000000..52be610ec --- /dev/null +++ b/client_sdk/models/gateway/message/server_msg_payloads/struct.ArchivedRoleDeletePayload.html @@ -0,0 +1,45 @@ +ArchivedRoleDeletePayload in client_sdk::models::gateway::message::server_msg_payloads - Rust
#[repr(C)]
pub struct ArchivedRoleDeletePayload
where + Arc<RoleDeleteEvent>: Archive,
{ + pub inner: <Arc<RoleDeleteEvent> as Archive>::Archived, +}
Expand description

An archived RoleDeletePayload

+

Fields§

§inner: <Arc<RoleDeleteEvent> as Archive>::Archived

Methods from Deref<Target = Archived<Arc<RoleDeleteEvent>>>§

pub fn with_raw_offset_arc<F, U>(&self, f: F) -> U
where + F: FnOnce(&OffsetArc<T>) -> U,

Temporarily converts |self| into a bonafide OffsetArc and exposes it to the +provided callback. The refcount is not modified.

+

pub fn as_ptr(&self) -> *const T

Returns the raw pointer.

+

Same as into_raw except self isn’t consumed.

+

pub fn borrow_arc(&self) -> ArcBorrow<'_, T>

Produce a pointer to the data that can be converted back +to an Arc. This is basically an &Arc<T>, without the extra indirection. +It has the benefits of an &T but also knows about the underlying refcount +and can be converted into more Arc<T>s if necessary.

+

pub fn heap_ptr(&self) -> *const c_void

Returns the address on the heap of the Arc itself – not the T within it – for memory +reporting.

+

pub fn is_unique(&self) -> bool

Whether or not the Arc is uniquely owned (is the refcount 1?).

+

Trait Implementations§

source§

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedRoleDeletePayload
where + Arc<RoleDeleteEvent>: Archive, + <__C as Fallible>::Error: Trace, + <Arc<RoleDeleteEvent> as Archive>::Archived: CheckBytes<__C>,

source§

unsafe fn check_bytes( + value: *const Self, + context: &mut __C, +) -> Result<(), <__C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Deref for ArchivedRoleDeletePayload

source§

type Target = <Arc<RoleDeleteEvent> as Archive>::Archived

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl Portable for ArchivedRoleDeletePayload
where + Arc<RoleDeleteEvent>: Archive, + <Arc<RoleDeleteEvent> as Archive>::Archived: Portable,

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/gateway/message/server_msg_payloads/struct.ArchivedRoleUpdatePayload.html b/client_sdk/models/gateway/message/server_msg_payloads/struct.ArchivedRoleUpdatePayload.html new file mode 100644 index 000000000..841e740cd --- /dev/null +++ b/client_sdk/models/gateway/message/server_msg_payloads/struct.ArchivedRoleUpdatePayload.html @@ -0,0 +1,45 @@ +ArchivedRoleUpdatePayload in client_sdk::models::gateway::message::server_msg_payloads - Rust
#[repr(C)]
pub struct ArchivedRoleUpdatePayload
where + Arc<Role>: Archive,
{ + pub inner: <Arc<Role> as Archive>::Archived, +}
Expand description

An archived RoleUpdatePayload

+

Fields§

§inner: <Arc<Role> as Archive>::Archived

Methods from Deref<Target = Archived<Arc<Role>>>§

pub fn with_raw_offset_arc<F, U>(&self, f: F) -> U
where + F: FnOnce(&OffsetArc<T>) -> U,

Temporarily converts |self| into a bonafide OffsetArc and exposes it to the +provided callback. The refcount is not modified.

+

pub fn as_ptr(&self) -> *const T

Returns the raw pointer.

+

Same as into_raw except self isn’t consumed.

+

pub fn borrow_arc(&self) -> ArcBorrow<'_, T>

Produce a pointer to the data that can be converted back +to an Arc. This is basically an &Arc<T>, without the extra indirection. +It has the benefits of an &T but also knows about the underlying refcount +and can be converted into more Arc<T>s if necessary.

+

pub fn heap_ptr(&self) -> *const c_void

Returns the address on the heap of the Arc itself – not the T within it – for memory +reporting.

+

pub fn is_unique(&self) -> bool

Whether or not the Arc is uniquely owned (is the refcount 1?).

+

Trait Implementations§

source§

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedRoleUpdatePayload
where + Arc<Role>: Archive, + <__C as Fallible>::Error: Trace, + <Arc<Role> as Archive>::Archived: CheckBytes<__C>,

source§

unsafe fn check_bytes( + value: *const Self, + context: &mut __C, +) -> Result<(), <__C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Deref for ArchivedRoleUpdatePayload

source§

type Target = <Arc<Role> as Archive>::Archived

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl Portable for ArchivedRoleUpdatePayload
where + Arc<Role>: Archive, + <Arc<Role> as Archive>::Archived: Portable,

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/gateway/message/server_msg_payloads/struct.ArchivedRoomCreatePayload.html b/client_sdk/models/gateway/message/server_msg_payloads/struct.ArchivedRoomCreatePayload.html new file mode 100644 index 000000000..13c5af727 --- /dev/null +++ b/client_sdk/models/gateway/message/server_msg_payloads/struct.ArchivedRoomCreatePayload.html @@ -0,0 +1,45 @@ +ArchivedRoomCreatePayload in client_sdk::models::gateway::message::server_msg_payloads - Rust
#[repr(C)]
pub struct ArchivedRoomCreatePayload
where + Arc<()>: Archive,
{ + pub inner: <Arc<()> as Archive>::Archived, +}
Expand description

An archived RoomCreatePayload

+

Fields§

§inner: <Arc<()> as Archive>::Archived

Methods from Deref<Target = Archived<Arc<()>>>§

pub fn with_raw_offset_arc<F, U>(&self, f: F) -> U
where + F: FnOnce(&OffsetArc<T>) -> U,

Temporarily converts |self| into a bonafide OffsetArc and exposes it to the +provided callback. The refcount is not modified.

+

pub fn as_ptr(&self) -> *const T

Returns the raw pointer.

+

Same as into_raw except self isn’t consumed.

+

pub fn borrow_arc(&self) -> ArcBorrow<'_, T>

Produce a pointer to the data that can be converted back +to an Arc. This is basically an &Arc<T>, without the extra indirection. +It has the benefits of an &T but also knows about the underlying refcount +and can be converted into more Arc<T>s if necessary.

+

pub fn heap_ptr(&self) -> *const c_void

Returns the address on the heap of the Arc itself – not the T within it – for memory +reporting.

+

pub fn is_unique(&self) -> bool

Whether or not the Arc is uniquely owned (is the refcount 1?).

+

Trait Implementations§

source§

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedRoomCreatePayload
where + Arc<()>: Archive, + <__C as Fallible>::Error: Trace, + <Arc<()> as Archive>::Archived: CheckBytes<__C>,

source§

unsafe fn check_bytes( + value: *const Self, + context: &mut __C, +) -> Result<(), <__C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Deref for ArchivedRoomCreatePayload

source§

type Target = <Arc<()> as Archive>::Archived

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl Portable for ArchivedRoomCreatePayload
where + Arc<()>: Archive, + <Arc<()> as Archive>::Archived: Portable,

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/gateway/message/server_msg_payloads/struct.ArchivedRoomDeletePayload.html b/client_sdk/models/gateway/message/server_msg_payloads/struct.ArchivedRoomDeletePayload.html new file mode 100644 index 000000000..fdd9cb796 --- /dev/null +++ b/client_sdk/models/gateway/message/server_msg_payloads/struct.ArchivedRoomDeletePayload.html @@ -0,0 +1,45 @@ +ArchivedRoomDeletePayload in client_sdk::models::gateway::message::server_msg_payloads - Rust
#[repr(C)]
pub struct ArchivedRoomDeletePayload
where + Arc<RoomDeleteEvent>: Archive,
{ + pub inner: <Arc<RoomDeleteEvent> as Archive>::Archived, +}
Expand description

An archived RoomDeletePayload

+

Fields§

§inner: <Arc<RoomDeleteEvent> as Archive>::Archived

Methods from Deref<Target = Archived<Arc<RoomDeleteEvent>>>§

pub fn with_raw_offset_arc<F, U>(&self, f: F) -> U
where + F: FnOnce(&OffsetArc<T>) -> U,

Temporarily converts |self| into a bonafide OffsetArc and exposes it to the +provided callback. The refcount is not modified.

+

pub fn as_ptr(&self) -> *const T

Returns the raw pointer.

+

Same as into_raw except self isn’t consumed.

+

pub fn borrow_arc(&self) -> ArcBorrow<'_, T>

Produce a pointer to the data that can be converted back +to an Arc. This is basically an &Arc<T>, without the extra indirection. +It has the benefits of an &T but also knows about the underlying refcount +and can be converted into more Arc<T>s if necessary.

+

pub fn heap_ptr(&self) -> *const c_void

Returns the address on the heap of the Arc itself – not the T within it – for memory +reporting.

+

pub fn is_unique(&self) -> bool

Whether or not the Arc is uniquely owned (is the refcount 1?).

+

Trait Implementations§

source§

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedRoomDeletePayload
where + Arc<RoomDeleteEvent>: Archive, + <__C as Fallible>::Error: Trace, + <Arc<RoomDeleteEvent> as Archive>::Archived: CheckBytes<__C>,

source§

unsafe fn check_bytes( + value: *const Self, + context: &mut __C, +) -> Result<(), <__C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Deref for ArchivedRoomDeletePayload

source§

type Target = <Arc<RoomDeleteEvent> as Archive>::Archived

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl Portable for ArchivedRoomDeletePayload
where + Arc<RoomDeleteEvent>: Archive, + <Arc<RoomDeleteEvent> as Archive>::Archived: Portable,

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/gateway/message/server_msg_payloads/struct.ArchivedRoomPinsUpdatePayload.html b/client_sdk/models/gateway/message/server_msg_payloads/struct.ArchivedRoomPinsUpdatePayload.html new file mode 100644 index 000000000..6de009be0 --- /dev/null +++ b/client_sdk/models/gateway/message/server_msg_payloads/struct.ArchivedRoomPinsUpdatePayload.html @@ -0,0 +1,26 @@ +ArchivedRoomPinsUpdatePayload in client_sdk::models::gateway::message::server_msg_payloads - Rust
#[repr(C)]
pub struct ArchivedRoomPinsUpdatePayload {}
Expand description

An archived RoomPinsUpdatePayload

+

Trait Implementations§

source§

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedRoomPinsUpdatePayload
where + <__C as Fallible>::Error: Trace,

source§

unsafe fn check_bytes( + value: *const Self, + context: &mut __C, +) -> Result<(), <__C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Portable for ArchivedRoomPinsUpdatePayload

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/gateway/message/server_msg_payloads/struct.ArchivedRoomUpdatePayload.html b/client_sdk/models/gateway/message/server_msg_payloads/struct.ArchivedRoomUpdatePayload.html new file mode 100644 index 000000000..73426d05a --- /dev/null +++ b/client_sdk/models/gateway/message/server_msg_payloads/struct.ArchivedRoomUpdatePayload.html @@ -0,0 +1,45 @@ +ArchivedRoomUpdatePayload in client_sdk::models::gateway::message::server_msg_payloads - Rust
#[repr(C)]
pub struct ArchivedRoomUpdatePayload
where + Arc<()>: Archive,
{ + pub inner: <Arc<()> as Archive>::Archived, +}
Expand description

An archived RoomUpdatePayload

+

Fields§

§inner: <Arc<()> as Archive>::Archived

Methods from Deref<Target = Archived<Arc<()>>>§

pub fn with_raw_offset_arc<F, U>(&self, f: F) -> U
where + F: FnOnce(&OffsetArc<T>) -> U,

Temporarily converts |self| into a bonafide OffsetArc and exposes it to the +provided callback. The refcount is not modified.

+

pub fn as_ptr(&self) -> *const T

Returns the raw pointer.

+

Same as into_raw except self isn’t consumed.

+

pub fn borrow_arc(&self) -> ArcBorrow<'_, T>

Produce a pointer to the data that can be converted back +to an Arc. This is basically an &Arc<T>, without the extra indirection. +It has the benefits of an &T but also knows about the underlying refcount +and can be converted into more Arc<T>s if necessary.

+

pub fn heap_ptr(&self) -> *const c_void

Returns the address on the heap of the Arc itself – not the T within it – for memory +reporting.

+

pub fn is_unique(&self) -> bool

Whether or not the Arc is uniquely owned (is the refcount 1?).

+

Trait Implementations§

source§

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedRoomUpdatePayload
where + Arc<()>: Archive, + <__C as Fallible>::Error: Trace, + <Arc<()> as Archive>::Archived: CheckBytes<__C>,

source§

unsafe fn check_bytes( + value: *const Self, + context: &mut __C, +) -> Result<(), <__C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Deref for ArchivedRoomUpdatePayload

source§

type Target = <Arc<()> as Archive>::Archived

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl Portable for ArchivedRoomUpdatePayload
where + Arc<()>: Archive, + <Arc<()> as Archive>::Archived: Portable,

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/gateway/message/server_msg_payloads/struct.ArchivedTypingStartPayload.html b/client_sdk/models/gateway/message/server_msg_payloads/struct.ArchivedTypingStartPayload.html new file mode 100644 index 000000000..7fe0c605a --- /dev/null +++ b/client_sdk/models/gateway/message/server_msg_payloads/struct.ArchivedTypingStartPayload.html @@ -0,0 +1,45 @@ +ArchivedTypingStartPayload in client_sdk::models::gateway::message::server_msg_payloads - Rust
#[repr(C)]
pub struct ArchivedTypingStartPayload
where + Arc<TypingStart>: Archive,
{ + pub inner: <Arc<TypingStart> as Archive>::Archived, +}
Expand description

An archived TypingStartPayload

+

Fields§

§inner: <Arc<TypingStart> as Archive>::Archived

Methods from Deref<Target = Archived<Arc<TypingStart>>>§

pub fn with_raw_offset_arc<F, U>(&self, f: F) -> U
where + F: FnOnce(&OffsetArc<T>) -> U,

Temporarily converts |self| into a bonafide OffsetArc and exposes it to the +provided callback. The refcount is not modified.

+

pub fn as_ptr(&self) -> *const T

Returns the raw pointer.

+

Same as into_raw except self isn’t consumed.

+

pub fn borrow_arc(&self) -> ArcBorrow<'_, T>

Produce a pointer to the data that can be converted back +to an Arc. This is basically an &Arc<T>, without the extra indirection. +It has the benefits of an &T but also knows about the underlying refcount +and can be converted into more Arc<T>s if necessary.

+

pub fn heap_ptr(&self) -> *const c_void

Returns the address on the heap of the Arc itself – not the T within it – for memory +reporting.

+

pub fn is_unique(&self) -> bool

Whether or not the Arc is uniquely owned (is the refcount 1?).

+

Trait Implementations§

source§

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedTypingStartPayload
where + Arc<TypingStart>: Archive, + <__C as Fallible>::Error: Trace, + <Arc<TypingStart> as Archive>::Archived: CheckBytes<__C>,

source§

unsafe fn check_bytes( + value: *const Self, + context: &mut __C, +) -> Result<(), <__C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Deref for ArchivedTypingStartPayload

source§

type Target = <Arc<TypingStart> as Archive>::Archived

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl Portable for ArchivedTypingStartPayload
where + Arc<TypingStart>: Archive, + <Arc<TypingStart> as Archive>::Archived: Portable,

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/gateway/message/server_msg_payloads/struct.ArchivedUserUpdatePayload.html b/client_sdk/models/gateway/message/server_msg_payloads/struct.ArchivedUserUpdatePayload.html new file mode 100644 index 000000000..5e6dd1d68 --- /dev/null +++ b/client_sdk/models/gateway/message/server_msg_payloads/struct.ArchivedUserUpdatePayload.html @@ -0,0 +1,33 @@ +ArchivedUserUpdatePayload in client_sdk::models::gateway::message::server_msg_payloads - Rust
#[repr(C)]
pub struct ArchivedUserUpdatePayload
where + Arc<User>: Archive,
{ + pub user: <Arc<User> as Archive>::Archived, +}
Expand description

An archived UserUpdatePayload

+

Fields§

§user: <Arc<User> as Archive>::Archived

Trait Implementations§

source§

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedUserUpdatePayload
where + Arc<User>: Archive, + <__C as Fallible>::Error: Trace, + <Arc<User> as Archive>::Archived: CheckBytes<__C>,

source§

unsafe fn check_bytes( + value: *const Self, + context: &mut __C, +) -> Result<(), <__C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Portable for ArchivedUserUpdatePayload
where + Arc<User>: Archive, + <Arc<User> as Archive>::Archived: Portable,

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/gateway/message/server_msg_payloads/struct.HeartbeatAckPayload.html b/client_sdk/models/gateway/message/server_msg_payloads/struct.HeartbeatAckPayload.html new file mode 100644 index 000000000..7928699a5 --- /dev/null +++ b/client_sdk/models/gateway/message/server_msg_payloads/struct.HeartbeatAckPayload.html @@ -0,0 +1,54 @@ +HeartbeatAckPayload in client_sdk::models::gateway::message::server_msg_payloads - Rust
pub struct HeartbeatAckPayload {}
Expand description

Acknowledgement of a heartbeat

+

Payload struct for ServerMsg::HeartbeatAck

+

Trait Implementations§

source§

impl Archive for HeartbeatAckPayload

source§

type Archived = ArchivedHeartbeatAckPayload

The archived representation of this type. Read more
source§

type Resolver = HeartbeatAckPayloadResolver

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
source§

impl Debug for HeartbeatAckPayload

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for HeartbeatAckPayload

source§

fn default() -> HeartbeatAckPayload

Returns the “default value” for a type. Read more
source§

impl<'de> Deserialize<'de> for HeartbeatAckPayload

source§

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<__D: Fallible + ?Sized> Deserialize<HeartbeatAckPayload, __D> for Archived<HeartbeatAckPayload>

source§

fn deserialize( + &self, + deserializer: &mut __D, +) -> Result<HeartbeatAckPayload, <__D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl PartialEq for HeartbeatAckPayload

source§

fn eq(&self, other: &HeartbeatAckPayload) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl<__S: Fallible + ?Sized> Serialize<__S> for HeartbeatAckPayload

source§

fn serialize( + &self, + serializer: &mut __S, +) -> Result<<Self as Archive>::Resolver, <__S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.
source§

impl Serialize for HeartbeatAckPayload

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for HeartbeatAckPayload

source§

impl StructuralPartialEq for HeartbeatAckPayload

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
source§

impl<T> CommandBody for T
where + T: Send + Serialize + Archive,

source§

impl<T> CommandResult for T
where + T: Send + DeserializeOwned + Serialize + Archive,

source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/gateway/message/server_msg_payloads/struct.HeartbeatAckPayloadResolver.html b/client_sdk/models/gateway/message/server_msg_payloads/struct.HeartbeatAckPayloadResolver.html new file mode 100644 index 000000000..4da1f6fa1 --- /dev/null +++ b/client_sdk/models/gateway/message/server_msg_payloads/struct.HeartbeatAckPayloadResolver.html @@ -0,0 +1,21 @@ +HeartbeatAckPayloadResolver in client_sdk::models::gateway::message::server_msg_payloads - Rust
pub struct HeartbeatAckPayloadResolver {}
Expand description

The resolver for an archived HeartbeatAckPayload

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/gateway/message/server_msg_payloads/struct.HelloPayload.html b/client_sdk/models/gateway/message/server_msg_payloads/struct.HelloPayload.html new file mode 100644 index 000000000..98cb8acb9 --- /dev/null +++ b/client_sdk/models/gateway/message/server_msg_payloads/struct.HelloPayload.html @@ -0,0 +1,53 @@ +HelloPayload in client_sdk::models::gateway::message::server_msg_payloads - Rust
pub struct HelloPayload {
+    pub inner: Hello,
+}
Expand description

The Hello message initiates the gateway session and expects a ClientMsg::Identify in return.

+

Payload struct for ServerMsg::Hello

+

Fields§

§inner: Hello

Trait Implementations§

source§

impl Archive for HelloPayload
where + Hello: Archive,

source§

type Archived = ArchivedHelloPayload

The archived representation of this type. Read more
source§

type Resolver = HelloPayloadResolver

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
source§

impl Debug for HelloPayload

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for HelloPayload

source§

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<__D: Fallible + ?Sized> Deserialize<HelloPayload, __D> for Archived<HelloPayload>
where + Hello: Archive, + <Hello as Archive>::Archived: Deserialize<Hello, __D>,

source§

fn deserialize( + &self, + deserializer: &mut __D, +) -> Result<HelloPayload, <__D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<__S: Fallible + ?Sized> Serialize<__S> for HelloPayload
where + Hello: Serialize<__S>,

source§

fn serialize( + &self, + serializer: &mut __S, +) -> Result<<Self as Archive>::Resolver, <__S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.
source§

impl Serialize for HelloPayload

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
source§

impl<T> CommandBody for T
where + T: Send + Serialize + Archive,

source§

impl<T> CommandResult for T
where + T: Send + DeserializeOwned + Serialize + Archive,

source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/gateway/message/server_msg_payloads/struct.HelloPayloadResolver.html b/client_sdk/models/gateway/message/server_msg_payloads/struct.HelloPayloadResolver.html new file mode 100644 index 000000000..a6644f1a9 --- /dev/null +++ b/client_sdk/models/gateway/message/server_msg_payloads/struct.HelloPayloadResolver.html @@ -0,0 +1,22 @@ +HelloPayloadResolver in client_sdk::models::gateway::message::server_msg_payloads - Rust
pub struct HelloPayloadResolver
where + Hello: Archive,
{ /* private fields */ }
Expand description

The resolver for an archived HelloPayload

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/gateway/message/server_msg_payloads/struct.InvalidSessionPayload.html b/client_sdk/models/gateway/message/server_msg_payloads/struct.InvalidSessionPayload.html new file mode 100644 index 000000000..ec00fc349 --- /dev/null +++ b/client_sdk/models/gateway/message/server_msg_payloads/struct.InvalidSessionPayload.html @@ -0,0 +1,54 @@ +InvalidSessionPayload in client_sdk::models::gateway::message::server_msg_payloads - Rust
pub struct InvalidSessionPayload {}
Expand description

Sent when the session is no longer valid

+

Payload struct for ServerMsg::InvalidSession

+

Trait Implementations§

source§

impl Archive for InvalidSessionPayload

source§

type Archived = ArchivedInvalidSessionPayload

The archived representation of this type. Read more
source§

type Resolver = InvalidSessionPayloadResolver

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
source§

impl Debug for InvalidSessionPayload

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for InvalidSessionPayload

source§

fn default() -> InvalidSessionPayload

Returns the “default value” for a type. Read more
source§

impl<'de> Deserialize<'de> for InvalidSessionPayload

source§

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<__D: Fallible + ?Sized> Deserialize<InvalidSessionPayload, __D> for Archived<InvalidSessionPayload>

source§

fn deserialize( + &self, + deserializer: &mut __D, +) -> Result<InvalidSessionPayload, <__D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl PartialEq for InvalidSessionPayload

source§

fn eq(&self, other: &InvalidSessionPayload) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl<__S: Fallible + ?Sized> Serialize<__S> for InvalidSessionPayload

source§

fn serialize( + &self, + serializer: &mut __S, +) -> Result<<Self as Archive>::Resolver, <__S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.
source§

impl Serialize for InvalidSessionPayload

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for InvalidSessionPayload

source§

impl StructuralPartialEq for InvalidSessionPayload

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
source§

impl<T> CommandBody for T
where + T: Send + Serialize + Archive,

source§

impl<T> CommandResult for T
where + T: Send + DeserializeOwned + Serialize + Archive,

source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/gateway/message/server_msg_payloads/struct.InvalidSessionPayloadResolver.html b/client_sdk/models/gateway/message/server_msg_payloads/struct.InvalidSessionPayloadResolver.html new file mode 100644 index 000000000..0e87e9e68 --- /dev/null +++ b/client_sdk/models/gateway/message/server_msg_payloads/struct.InvalidSessionPayloadResolver.html @@ -0,0 +1,21 @@ +InvalidSessionPayloadResolver in client_sdk::models::gateway::message::server_msg_payloads - Rust
pub struct InvalidSessionPayloadResolver {}
Expand description

The resolver for an archived InvalidSessionPayload

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/gateway/message/server_msg_payloads/struct.MemberAddPayload.html b/client_sdk/models/gateway/message/server_msg_payloads/struct.MemberAddPayload.html new file mode 100644 index 000000000..c7a5b0606 --- /dev/null +++ b/client_sdk/models/gateway/message/server_msg_payloads/struct.MemberAddPayload.html @@ -0,0 +1,64 @@ +MemberAddPayload in client_sdk::models::gateway::message::server_msg_payloads - Rust
pub struct MemberAddPayload {
+    pub inner: Arc<PartyMemberEvent>,
+}
Expand description

Payload struct for ServerMsg::MemberAdd

+

Fields§

§inner: Arc<PartyMemberEvent>

Methods from Deref<Target = Arc<PartyMemberEvent>>§

pub fn with_raw_offset_arc<F, U>(&self, f: F) -> U
where + F: FnOnce(&OffsetArc<T>) -> U,

Temporarily converts |self| into a bonafide OffsetArc and exposes it to the +provided callback. The refcount is not modified.

+

pub fn as_ptr(&self) -> *const T

Returns the raw pointer.

+

Same as into_raw except self isn’t consumed.

+

pub fn borrow_arc(&self) -> ArcBorrow<'_, T>

Produce a pointer to the data that can be converted back +to an Arc. This is basically an &Arc<T>, without the extra indirection. +It has the benefits of an &T but also knows about the underlying refcount +and can be converted into more Arc<T>s if necessary.

+

pub fn heap_ptr(&self) -> *const c_void

Returns the address on the heap of the Arc itself – not the T within it – for memory +reporting.

+

pub fn is_unique(&self) -> bool

Whether or not the Arc is uniquely owned (is the refcount 1?).

+

Trait Implementations§

source§

impl Archive for MemberAddPayload
where + Arc<PartyMemberEvent>: Archive,

source§

type Archived = ArchivedMemberAddPayload

The archived representation of this type. Read more
source§

type Resolver = MemberAddPayloadResolver

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
source§

impl Debug for MemberAddPayload

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Deref for MemberAddPayload

source§

type Target = Arc<PartyMemberEvent>

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl<'de> Deserialize<'de> for MemberAddPayload

source§

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<__D: Fallible + ?Sized> Deserialize<MemberAddPayload, __D> for Archived<MemberAddPayload>
where + Arc<PartyMemberEvent>: Archive, + <Arc<PartyMemberEvent> as Archive>::Archived: Deserialize<Arc<PartyMemberEvent>, __D>,

source§

fn deserialize( + &self, + deserializer: &mut __D, +) -> Result<MemberAddPayload, <__D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<__S: Fallible + ?Sized> Serialize<__S> for MemberAddPayload
where + Arc<PartyMemberEvent>: Serialize<__S>,

source§

fn serialize( + &self, + serializer: &mut __S, +) -> Result<<Self as Archive>::Resolver, <__S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.
source§

impl Serialize for MemberAddPayload

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
source§

impl<T> CommandBody for T
where + T: Send + Serialize + Archive,

source§

impl<T> CommandResult for T
where + T: Send + DeserializeOwned + Serialize + Archive,

source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/gateway/message/server_msg_payloads/struct.MemberAddPayloadResolver.html b/client_sdk/models/gateway/message/server_msg_payloads/struct.MemberAddPayloadResolver.html new file mode 100644 index 000000000..de4d50919 --- /dev/null +++ b/client_sdk/models/gateway/message/server_msg_payloads/struct.MemberAddPayloadResolver.html @@ -0,0 +1,22 @@ +MemberAddPayloadResolver in client_sdk::models::gateway::message::server_msg_payloads - Rust
pub struct MemberAddPayloadResolver
where + Arc<PartyMemberEvent>: Archive,
{ /* private fields */ }
Expand description

The resolver for an archived MemberAddPayload

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/gateway/message/server_msg_payloads/struct.MemberBanPayload.html b/client_sdk/models/gateway/message/server_msg_payloads/struct.MemberBanPayload.html new file mode 100644 index 000000000..194cef9c8 --- /dev/null +++ b/client_sdk/models/gateway/message/server_msg_payloads/struct.MemberBanPayload.html @@ -0,0 +1,64 @@ +MemberBanPayload in client_sdk::models::gateway::message::server_msg_payloads - Rust
pub struct MemberBanPayload {
+    pub inner: Arc<PartyMemberEvent>,
+}
Expand description

Payload struct for ServerMsg::MemberBan

+

Fields§

§inner: Arc<PartyMemberEvent>

Methods from Deref<Target = Arc<PartyMemberEvent>>§

pub fn with_raw_offset_arc<F, U>(&self, f: F) -> U
where + F: FnOnce(&OffsetArc<T>) -> U,

Temporarily converts |self| into a bonafide OffsetArc and exposes it to the +provided callback. The refcount is not modified.

+

pub fn as_ptr(&self) -> *const T

Returns the raw pointer.

+

Same as into_raw except self isn’t consumed.

+

pub fn borrow_arc(&self) -> ArcBorrow<'_, T>

Produce a pointer to the data that can be converted back +to an Arc. This is basically an &Arc<T>, without the extra indirection. +It has the benefits of an &T but also knows about the underlying refcount +and can be converted into more Arc<T>s if necessary.

+

pub fn heap_ptr(&self) -> *const c_void

Returns the address on the heap of the Arc itself – not the T within it – for memory +reporting.

+

pub fn is_unique(&self) -> bool

Whether or not the Arc is uniquely owned (is the refcount 1?).

+

Trait Implementations§

source§

impl Archive for MemberBanPayload
where + Arc<PartyMemberEvent>: Archive,

source§

type Archived = ArchivedMemberBanPayload

The archived representation of this type. Read more
source§

type Resolver = MemberBanPayloadResolver

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
source§

impl Debug for MemberBanPayload

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Deref for MemberBanPayload

source§

type Target = Arc<PartyMemberEvent>

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl<'de> Deserialize<'de> for MemberBanPayload

source§

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<__D: Fallible + ?Sized> Deserialize<MemberBanPayload, __D> for Archived<MemberBanPayload>
where + Arc<PartyMemberEvent>: Archive, + <Arc<PartyMemberEvent> as Archive>::Archived: Deserialize<Arc<PartyMemberEvent>, __D>,

source§

fn deserialize( + &self, + deserializer: &mut __D, +) -> Result<MemberBanPayload, <__D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<__S: Fallible + ?Sized> Serialize<__S> for MemberBanPayload
where + Arc<PartyMemberEvent>: Serialize<__S>,

source§

fn serialize( + &self, + serializer: &mut __S, +) -> Result<<Self as Archive>::Resolver, <__S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.
source§

impl Serialize for MemberBanPayload

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
source§

impl<T> CommandBody for T
where + T: Send + Serialize + Archive,

source§

impl<T> CommandResult for T
where + T: Send + DeserializeOwned + Serialize + Archive,

source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/gateway/message/server_msg_payloads/struct.MemberBanPayloadResolver.html b/client_sdk/models/gateway/message/server_msg_payloads/struct.MemberBanPayloadResolver.html new file mode 100644 index 000000000..8e6503bc7 --- /dev/null +++ b/client_sdk/models/gateway/message/server_msg_payloads/struct.MemberBanPayloadResolver.html @@ -0,0 +1,22 @@ +MemberBanPayloadResolver in client_sdk::models::gateway::message::server_msg_payloads - Rust
pub struct MemberBanPayloadResolver
where + Arc<PartyMemberEvent>: Archive,
{ /* private fields */ }
Expand description

The resolver for an archived MemberBanPayload

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/gateway/message/server_msg_payloads/struct.MemberRemovePayload.html b/client_sdk/models/gateway/message/server_msg_payloads/struct.MemberRemovePayload.html new file mode 100644 index 000000000..85a1a7b53 --- /dev/null +++ b/client_sdk/models/gateway/message/server_msg_payloads/struct.MemberRemovePayload.html @@ -0,0 +1,64 @@ +MemberRemovePayload in client_sdk::models::gateway::message::server_msg_payloads - Rust
pub struct MemberRemovePayload {
+    pub inner: Arc<PartyMemberEvent>,
+}
Expand description

Payload struct for ServerMsg::MemberRemove

+

Fields§

§inner: Arc<PartyMemberEvent>

Methods from Deref<Target = Arc<PartyMemberEvent>>§

pub fn with_raw_offset_arc<F, U>(&self, f: F) -> U
where + F: FnOnce(&OffsetArc<T>) -> U,

Temporarily converts |self| into a bonafide OffsetArc and exposes it to the +provided callback. The refcount is not modified.

+

pub fn as_ptr(&self) -> *const T

Returns the raw pointer.

+

Same as into_raw except self isn’t consumed.

+

pub fn borrow_arc(&self) -> ArcBorrow<'_, T>

Produce a pointer to the data that can be converted back +to an Arc. This is basically an &Arc<T>, without the extra indirection. +It has the benefits of an &T but also knows about the underlying refcount +and can be converted into more Arc<T>s if necessary.

+

pub fn heap_ptr(&self) -> *const c_void

Returns the address on the heap of the Arc itself – not the T within it – for memory +reporting.

+

pub fn is_unique(&self) -> bool

Whether or not the Arc is uniquely owned (is the refcount 1?).

+

Trait Implementations§

source§

impl Archive for MemberRemovePayload
where + Arc<PartyMemberEvent>: Archive,

source§

type Archived = ArchivedMemberRemovePayload

The archived representation of this type. Read more
source§

type Resolver = MemberRemovePayloadResolver

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
source§

impl Debug for MemberRemovePayload

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Deref for MemberRemovePayload

source§

type Target = Arc<PartyMemberEvent>

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl<'de> Deserialize<'de> for MemberRemovePayload

source§

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<__D: Fallible + ?Sized> Deserialize<MemberRemovePayload, __D> for Archived<MemberRemovePayload>
where + Arc<PartyMemberEvent>: Archive, + <Arc<PartyMemberEvent> as Archive>::Archived: Deserialize<Arc<PartyMemberEvent>, __D>,

source§

fn deserialize( + &self, + deserializer: &mut __D, +) -> Result<MemberRemovePayload, <__D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<__S: Fallible + ?Sized> Serialize<__S> for MemberRemovePayload
where + Arc<PartyMemberEvent>: Serialize<__S>,

source§

fn serialize( + &self, + serializer: &mut __S, +) -> Result<<Self as Archive>::Resolver, <__S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.
source§

impl Serialize for MemberRemovePayload

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
source§

impl<T> CommandBody for T
where + T: Send + Serialize + Archive,

source§

impl<T> CommandResult for T
where + T: Send + DeserializeOwned + Serialize + Archive,

source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/gateway/message/server_msg_payloads/struct.MemberRemovePayloadResolver.html b/client_sdk/models/gateway/message/server_msg_payloads/struct.MemberRemovePayloadResolver.html new file mode 100644 index 000000000..445dd74c1 --- /dev/null +++ b/client_sdk/models/gateway/message/server_msg_payloads/struct.MemberRemovePayloadResolver.html @@ -0,0 +1,22 @@ +MemberRemovePayloadResolver in client_sdk::models::gateway::message::server_msg_payloads - Rust
pub struct MemberRemovePayloadResolver
where + Arc<PartyMemberEvent>: Archive,
{ /* private fields */ }
Expand description

The resolver for an archived MemberRemovePayload

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/gateway/message/server_msg_payloads/struct.MemberUnbanPayload.html b/client_sdk/models/gateway/message/server_msg_payloads/struct.MemberUnbanPayload.html new file mode 100644 index 000000000..90793d181 --- /dev/null +++ b/client_sdk/models/gateway/message/server_msg_payloads/struct.MemberUnbanPayload.html @@ -0,0 +1,64 @@ +MemberUnbanPayload in client_sdk::models::gateway::message::server_msg_payloads - Rust
pub struct MemberUnbanPayload {
+    pub inner: Arc<PartyMemberEvent>,
+}
Expand description

Payload struct for ServerMsg::MemberUnban

+

Fields§

§inner: Arc<PartyMemberEvent>

Methods from Deref<Target = Arc<PartyMemberEvent>>§

pub fn with_raw_offset_arc<F, U>(&self, f: F) -> U
where + F: FnOnce(&OffsetArc<T>) -> U,

Temporarily converts |self| into a bonafide OffsetArc and exposes it to the +provided callback. The refcount is not modified.

+

pub fn as_ptr(&self) -> *const T

Returns the raw pointer.

+

Same as into_raw except self isn’t consumed.

+

pub fn borrow_arc(&self) -> ArcBorrow<'_, T>

Produce a pointer to the data that can be converted back +to an Arc. This is basically an &Arc<T>, without the extra indirection. +It has the benefits of an &T but also knows about the underlying refcount +and can be converted into more Arc<T>s if necessary.

+

pub fn heap_ptr(&self) -> *const c_void

Returns the address on the heap of the Arc itself – not the T within it – for memory +reporting.

+

pub fn is_unique(&self) -> bool

Whether or not the Arc is uniquely owned (is the refcount 1?).

+

Trait Implementations§

source§

impl Archive for MemberUnbanPayload
where + Arc<PartyMemberEvent>: Archive,

source§

type Archived = ArchivedMemberUnbanPayload

The archived representation of this type. Read more
source§

type Resolver = MemberUnbanPayloadResolver

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
source§

impl Debug for MemberUnbanPayload

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Deref for MemberUnbanPayload

source§

type Target = Arc<PartyMemberEvent>

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl<'de> Deserialize<'de> for MemberUnbanPayload

source§

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<__D: Fallible + ?Sized> Deserialize<MemberUnbanPayload, __D> for Archived<MemberUnbanPayload>
where + Arc<PartyMemberEvent>: Archive, + <Arc<PartyMemberEvent> as Archive>::Archived: Deserialize<Arc<PartyMemberEvent>, __D>,

source§

fn deserialize( + &self, + deserializer: &mut __D, +) -> Result<MemberUnbanPayload, <__D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<__S: Fallible + ?Sized> Serialize<__S> for MemberUnbanPayload
where + Arc<PartyMemberEvent>: Serialize<__S>,

source§

fn serialize( + &self, + serializer: &mut __S, +) -> Result<<Self as Archive>::Resolver, <__S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.
source§

impl Serialize for MemberUnbanPayload

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
source§

impl<T> CommandBody for T
where + T: Send + Serialize + Archive,

source§

impl<T> CommandResult for T
where + T: Send + DeserializeOwned + Serialize + Archive,

source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/gateway/message/server_msg_payloads/struct.MemberUnbanPayloadResolver.html b/client_sdk/models/gateway/message/server_msg_payloads/struct.MemberUnbanPayloadResolver.html new file mode 100644 index 000000000..727b93a2a --- /dev/null +++ b/client_sdk/models/gateway/message/server_msg_payloads/struct.MemberUnbanPayloadResolver.html @@ -0,0 +1,22 @@ +MemberUnbanPayloadResolver in client_sdk::models::gateway::message::server_msg_payloads - Rust
pub struct MemberUnbanPayloadResolver
where + Arc<PartyMemberEvent>: Archive,
{ /* private fields */ }
Expand description

The resolver for an archived MemberUnbanPayload

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/gateway/message/server_msg_payloads/struct.MemberUpdatePayload.html b/client_sdk/models/gateway/message/server_msg_payloads/struct.MemberUpdatePayload.html new file mode 100644 index 000000000..aa42b70e9 --- /dev/null +++ b/client_sdk/models/gateway/message/server_msg_payloads/struct.MemberUpdatePayload.html @@ -0,0 +1,64 @@ +MemberUpdatePayload in client_sdk::models::gateway::message::server_msg_payloads - Rust
pub struct MemberUpdatePayload {
+    pub inner: Arc<PartyMemberEvent>,
+}
Expand description

Payload struct for ServerMsg::MemberUpdate

+

Fields§

§inner: Arc<PartyMemberEvent>

Methods from Deref<Target = Arc<PartyMemberEvent>>§

pub fn with_raw_offset_arc<F, U>(&self, f: F) -> U
where + F: FnOnce(&OffsetArc<T>) -> U,

Temporarily converts |self| into a bonafide OffsetArc and exposes it to the +provided callback. The refcount is not modified.

+

pub fn as_ptr(&self) -> *const T

Returns the raw pointer.

+

Same as into_raw except self isn’t consumed.

+

pub fn borrow_arc(&self) -> ArcBorrow<'_, T>

Produce a pointer to the data that can be converted back +to an Arc. This is basically an &Arc<T>, without the extra indirection. +It has the benefits of an &T but also knows about the underlying refcount +and can be converted into more Arc<T>s if necessary.

+

pub fn heap_ptr(&self) -> *const c_void

Returns the address on the heap of the Arc itself – not the T within it – for memory +reporting.

+

pub fn is_unique(&self) -> bool

Whether or not the Arc is uniquely owned (is the refcount 1?).

+

Trait Implementations§

source§

impl Archive for MemberUpdatePayload
where + Arc<PartyMemberEvent>: Archive,

source§

type Archived = ArchivedMemberUpdatePayload

The archived representation of this type. Read more
source§

type Resolver = MemberUpdatePayloadResolver

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
source§

impl Debug for MemberUpdatePayload

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Deref for MemberUpdatePayload

source§

type Target = Arc<PartyMemberEvent>

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl<'de> Deserialize<'de> for MemberUpdatePayload

source§

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<__D: Fallible + ?Sized> Deserialize<MemberUpdatePayload, __D> for Archived<MemberUpdatePayload>
where + Arc<PartyMemberEvent>: Archive, + <Arc<PartyMemberEvent> as Archive>::Archived: Deserialize<Arc<PartyMemberEvent>, __D>,

source§

fn deserialize( + &self, + deserializer: &mut __D, +) -> Result<MemberUpdatePayload, <__D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<__S: Fallible + ?Sized> Serialize<__S> for MemberUpdatePayload
where + Arc<PartyMemberEvent>: Serialize<__S>,

source§

fn serialize( + &self, + serializer: &mut __S, +) -> Result<<Self as Archive>::Resolver, <__S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.
source§

impl Serialize for MemberUpdatePayload

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
source§

impl<T> CommandBody for T
where + T: Send + Serialize + Archive,

source§

impl<T> CommandResult for T
where + T: Send + DeserializeOwned + Serialize + Archive,

source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/gateway/message/server_msg_payloads/struct.MemberUpdatePayloadResolver.html b/client_sdk/models/gateway/message/server_msg_payloads/struct.MemberUpdatePayloadResolver.html new file mode 100644 index 000000000..eabeeca22 --- /dev/null +++ b/client_sdk/models/gateway/message/server_msg_payloads/struct.MemberUpdatePayloadResolver.html @@ -0,0 +1,22 @@ +MemberUpdatePayloadResolver in client_sdk::models::gateway::message::server_msg_payloads - Rust
pub struct MemberUpdatePayloadResolver
where + Arc<PartyMemberEvent>: Archive,
{ /* private fields */ }
Expand description

The resolver for an archived MemberUpdatePayload

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/gateway/message/server_msg_payloads/struct.MessageCreatePayload.html b/client_sdk/models/gateway/message/server_msg_payloads/struct.MessageCreatePayload.html new file mode 100644 index 000000000..8e280a36f --- /dev/null +++ b/client_sdk/models/gateway/message/server_msg_payloads/struct.MessageCreatePayload.html @@ -0,0 +1,64 @@ +MessageCreatePayload in client_sdk::models::gateway::message::server_msg_payloads - Rust
pub struct MessageCreatePayload {
+    pub inner: Arc<Message>,
+}
Expand description

Payload struct for ServerMsg::MessageCreate

+

Fields§

§inner: Arc<Message>

Methods from Deref<Target = Arc<RoomMessage>>§

pub fn with_raw_offset_arc<F, U>(&self, f: F) -> U
where + F: FnOnce(&OffsetArc<T>) -> U,

Temporarily converts |self| into a bonafide OffsetArc and exposes it to the +provided callback. The refcount is not modified.

+

pub fn as_ptr(&self) -> *const T

Returns the raw pointer.

+

Same as into_raw except self isn’t consumed.

+

pub fn borrow_arc(&self) -> ArcBorrow<'_, T>

Produce a pointer to the data that can be converted back +to an Arc. This is basically an &Arc<T>, without the extra indirection. +It has the benefits of an &T but also knows about the underlying refcount +and can be converted into more Arc<T>s if necessary.

+

pub fn heap_ptr(&self) -> *const c_void

Returns the address on the heap of the Arc itself – not the T within it – for memory +reporting.

+

pub fn is_unique(&self) -> bool

Whether or not the Arc is uniquely owned (is the refcount 1?).

+

Trait Implementations§

source§

impl Archive for MessageCreatePayload
where + Arc<Message>: Archive,

source§

type Archived = ArchivedMessageCreatePayload

The archived representation of this type. Read more
source§

type Resolver = MessageCreatePayloadResolver

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
source§

impl Debug for MessageCreatePayload

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Deref for MessageCreatePayload

source§

type Target = Arc<Message>

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl<'de> Deserialize<'de> for MessageCreatePayload

source§

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<__D: Fallible + ?Sized> Deserialize<MessageCreatePayload, __D> for Archived<MessageCreatePayload>
where + Arc<Message>: Archive, + <Arc<Message> as Archive>::Archived: Deserialize<Arc<Message>, __D>,

source§

fn deserialize( + &self, + deserializer: &mut __D, +) -> Result<MessageCreatePayload, <__D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<__S: Fallible + ?Sized> Serialize<__S> for MessageCreatePayload
where + Arc<Message>: Serialize<__S>,

source§

fn serialize( + &self, + serializer: &mut __S, +) -> Result<<Self as Archive>::Resolver, <__S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.
source§

impl Serialize for MessageCreatePayload

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
source§

impl<T> CommandBody for T
where + T: Send + Serialize + Archive,

source§

impl<T> CommandResult for T
where + T: Send + DeserializeOwned + Serialize + Archive,

source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/gateway/message/server_msg_payloads/struct.MessageCreatePayloadResolver.html b/client_sdk/models/gateway/message/server_msg_payloads/struct.MessageCreatePayloadResolver.html new file mode 100644 index 000000000..99682c3b2 --- /dev/null +++ b/client_sdk/models/gateway/message/server_msg_payloads/struct.MessageCreatePayloadResolver.html @@ -0,0 +1,22 @@ +MessageCreatePayloadResolver in client_sdk::models::gateway::message::server_msg_payloads - Rust
pub struct MessageCreatePayloadResolver
where + Arc<Message>: Archive,
{ /* private fields */ }
Expand description

The resolver for an archived MessageCreatePayload

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/gateway/message/server_msg_payloads/struct.MessageDeletePayload.html b/client_sdk/models/gateway/message/server_msg_payloads/struct.MessageDeletePayload.html new file mode 100644 index 000000000..0eb3568e0 --- /dev/null +++ b/client_sdk/models/gateway/message/server_msg_payloads/struct.MessageDeletePayload.html @@ -0,0 +1,64 @@ +MessageDeletePayload in client_sdk::models::gateway::message::server_msg_payloads - Rust
pub struct MessageDeletePayload {
+    pub inner: Arc<MessageDeleteEvent>,
+}
Expand description

Payload struct for ServerMsg::MessageDelete

+

Fields§

§inner: Arc<MessageDeleteEvent>

Methods from Deref<Target = Arc<MessageDeleteEvent>>§

pub fn with_raw_offset_arc<F, U>(&self, f: F) -> U
where + F: FnOnce(&OffsetArc<T>) -> U,

Temporarily converts |self| into a bonafide OffsetArc and exposes it to the +provided callback. The refcount is not modified.

+

pub fn as_ptr(&self) -> *const T

Returns the raw pointer.

+

Same as into_raw except self isn’t consumed.

+

pub fn borrow_arc(&self) -> ArcBorrow<'_, T>

Produce a pointer to the data that can be converted back +to an Arc. This is basically an &Arc<T>, without the extra indirection. +It has the benefits of an &T but also knows about the underlying refcount +and can be converted into more Arc<T>s if necessary.

+

pub fn heap_ptr(&self) -> *const c_void

Returns the address on the heap of the Arc itself – not the T within it – for memory +reporting.

+

pub fn is_unique(&self) -> bool

Whether or not the Arc is uniquely owned (is the refcount 1?).

+

Trait Implementations§

source§

impl Archive for MessageDeletePayload
where + Arc<MessageDeleteEvent>: Archive,

source§

type Archived = ArchivedMessageDeletePayload

The archived representation of this type. Read more
source§

type Resolver = MessageDeletePayloadResolver

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
source§

impl Debug for MessageDeletePayload

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Deref for MessageDeletePayload

source§

type Target = Arc<MessageDeleteEvent>

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl<'de> Deserialize<'de> for MessageDeletePayload

source§

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<__D: Fallible + ?Sized> Deserialize<MessageDeletePayload, __D> for Archived<MessageDeletePayload>
where + Arc<MessageDeleteEvent>: Archive, + <Arc<MessageDeleteEvent> as Archive>::Archived: Deserialize<Arc<MessageDeleteEvent>, __D>,

source§

fn deserialize( + &self, + deserializer: &mut __D, +) -> Result<MessageDeletePayload, <__D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<__S: Fallible + ?Sized> Serialize<__S> for MessageDeletePayload
where + Arc<MessageDeleteEvent>: Serialize<__S>,

source§

fn serialize( + &self, + serializer: &mut __S, +) -> Result<<Self as Archive>::Resolver, <__S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.
source§

impl Serialize for MessageDeletePayload

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
source§

impl<T> CommandBody for T
where + T: Send + Serialize + Archive,

source§

impl<T> CommandResult for T
where + T: Send + DeserializeOwned + Serialize + Archive,

source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/gateway/message/server_msg_payloads/struct.MessageDeletePayloadResolver.html b/client_sdk/models/gateway/message/server_msg_payloads/struct.MessageDeletePayloadResolver.html new file mode 100644 index 000000000..b7db60b0d --- /dev/null +++ b/client_sdk/models/gateway/message/server_msg_payloads/struct.MessageDeletePayloadResolver.html @@ -0,0 +1,22 @@ +MessageDeletePayloadResolver in client_sdk::models::gateway::message::server_msg_payloads - Rust
pub struct MessageDeletePayloadResolver
where + Arc<MessageDeleteEvent>: Archive,
{ /* private fields */ }
Expand description

The resolver for an archived MessageDeletePayload

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/gateway/message/server_msg_payloads/struct.MessageReactionAddPayload.html b/client_sdk/models/gateway/message/server_msg_payloads/struct.MessageReactionAddPayload.html new file mode 100644 index 000000000..46d04dcff --- /dev/null +++ b/client_sdk/models/gateway/message/server_msg_payloads/struct.MessageReactionAddPayload.html @@ -0,0 +1,64 @@ +MessageReactionAddPayload in client_sdk::models::gateway::message::server_msg_payloads - Rust
pub struct MessageReactionAddPayload {
+    pub inner: Arc<UserReactionEvent>,
+}
Expand description

Payload struct for ServerMsg::MessageReactionAdd

+

Fields§

§inner: Arc<UserReactionEvent>

Methods from Deref<Target = Arc<UserReactionEvent>>§

pub fn with_raw_offset_arc<F, U>(&self, f: F) -> U
where + F: FnOnce(&OffsetArc<T>) -> U,

Temporarily converts |self| into a bonafide OffsetArc and exposes it to the +provided callback. The refcount is not modified.

+

pub fn as_ptr(&self) -> *const T

Returns the raw pointer.

+

Same as into_raw except self isn’t consumed.

+

pub fn borrow_arc(&self) -> ArcBorrow<'_, T>

Produce a pointer to the data that can be converted back +to an Arc. This is basically an &Arc<T>, without the extra indirection. +It has the benefits of an &T but also knows about the underlying refcount +and can be converted into more Arc<T>s if necessary.

+

pub fn heap_ptr(&self) -> *const c_void

Returns the address on the heap of the Arc itself – not the T within it – for memory +reporting.

+

pub fn is_unique(&self) -> bool

Whether or not the Arc is uniquely owned (is the refcount 1?).

+

Trait Implementations§

source§

impl Archive for MessageReactionAddPayload
where + Arc<UserReactionEvent>: Archive,

source§

type Archived = ArchivedMessageReactionAddPayload

The archived representation of this type. Read more
source§

type Resolver = MessageReactionAddPayloadResolver

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
source§

impl Debug for MessageReactionAddPayload

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Deref for MessageReactionAddPayload

source§

type Target = Arc<UserReactionEvent>

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl<'de> Deserialize<'de> for MessageReactionAddPayload

source§

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<__D: Fallible + ?Sized> Deserialize<MessageReactionAddPayload, __D> for Archived<MessageReactionAddPayload>
where + Arc<UserReactionEvent>: Archive, + <Arc<UserReactionEvent> as Archive>::Archived: Deserialize<Arc<UserReactionEvent>, __D>,

source§

fn deserialize( + &self, + deserializer: &mut __D, +) -> Result<MessageReactionAddPayload, <__D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<__S: Fallible + ?Sized> Serialize<__S> for MessageReactionAddPayload
where + Arc<UserReactionEvent>: Serialize<__S>,

source§

fn serialize( + &self, + serializer: &mut __S, +) -> Result<<Self as Archive>::Resolver, <__S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.
source§

impl Serialize for MessageReactionAddPayload

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
source§

impl<T> CommandBody for T
where + T: Send + Serialize + Archive,

source§

impl<T> CommandResult for T
where + T: Send + DeserializeOwned + Serialize + Archive,

source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/gateway/message/server_msg_payloads/struct.MessageReactionAddPayloadResolver.html b/client_sdk/models/gateway/message/server_msg_payloads/struct.MessageReactionAddPayloadResolver.html new file mode 100644 index 000000000..50456273d --- /dev/null +++ b/client_sdk/models/gateway/message/server_msg_payloads/struct.MessageReactionAddPayloadResolver.html @@ -0,0 +1,22 @@ +MessageReactionAddPayloadResolver in client_sdk::models::gateway::message::server_msg_payloads - Rust
pub struct MessageReactionAddPayloadResolver
where + Arc<UserReactionEvent>: Archive,
{ /* private fields */ }
Expand description

The resolver for an archived MessageReactionAddPayload

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/gateway/message/server_msg_payloads/struct.MessageReactionRemoveAllPayload.html b/client_sdk/models/gateway/message/server_msg_payloads/struct.MessageReactionRemoveAllPayload.html new file mode 100644 index 000000000..10b365725 --- /dev/null +++ b/client_sdk/models/gateway/message/server_msg_payloads/struct.MessageReactionRemoveAllPayload.html @@ -0,0 +1,46 @@ +MessageReactionRemoveAllPayload in client_sdk::models::gateway::message::server_msg_payloads - Rust
pub struct MessageReactionRemoveAllPayload {}
Expand description

Trait Implementations§

source§

impl Archive for MessageReactionRemoveAllPayload

source§

type Archived = ArchivedMessageReactionRemoveAllPayload

The archived representation of this type. Read more
source§

type Resolver = MessageReactionRemoveAllPayloadResolver

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
source§

impl Debug for MessageReactionRemoveAllPayload

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for MessageReactionRemoveAllPayload

source§

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<__D: Fallible + ?Sized> Deserialize<MessageReactionRemoveAllPayload, __D> for Archived<MessageReactionRemoveAllPayload>

source§

fn deserialize( + &self, + deserializer: &mut __D, +) -> Result<MessageReactionRemoveAllPayload, <__D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<__S: Fallible + ?Sized> Serialize<__S> for MessageReactionRemoveAllPayload

source§

fn serialize( + &self, + serializer: &mut __S, +) -> Result<<Self as Archive>::Resolver, <__S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.
source§

impl Serialize for MessageReactionRemoveAllPayload

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
source§

impl<T> CommandBody for T
where + T: Send + Serialize + Archive,

source§

impl<T> CommandResult for T
where + T: Send + DeserializeOwned + Serialize + Archive,

source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/gateway/message/server_msg_payloads/struct.MessageReactionRemoveAllPayloadResolver.html b/client_sdk/models/gateway/message/server_msg_payloads/struct.MessageReactionRemoveAllPayloadResolver.html new file mode 100644 index 000000000..593b52670 --- /dev/null +++ b/client_sdk/models/gateway/message/server_msg_payloads/struct.MessageReactionRemoveAllPayloadResolver.html @@ -0,0 +1,21 @@ +MessageReactionRemoveAllPayloadResolver in client_sdk::models::gateway::message::server_msg_payloads - Rust
pub struct MessageReactionRemoveAllPayloadResolver {}
Expand description

The resolver for an archived MessageReactionRemoveAllPayload

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/gateway/message/server_msg_payloads/struct.MessageReactionRemoveEmotePayload.html b/client_sdk/models/gateway/message/server_msg_payloads/struct.MessageReactionRemoveEmotePayload.html new file mode 100644 index 000000000..1906b508c --- /dev/null +++ b/client_sdk/models/gateway/message/server_msg_payloads/struct.MessageReactionRemoveEmotePayload.html @@ -0,0 +1,46 @@ +MessageReactionRemoveEmotePayload in client_sdk::models::gateway::message::server_msg_payloads - Rust
pub struct MessageReactionRemoveEmotePayload {}
Expand description

Trait Implementations§

source§

impl Archive for MessageReactionRemoveEmotePayload

source§

type Archived = ArchivedMessageReactionRemoveEmotePayload

The archived representation of this type. Read more
source§

type Resolver = MessageReactionRemoveEmotePayloadResolver

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
source§

impl Debug for MessageReactionRemoveEmotePayload

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for MessageReactionRemoveEmotePayload

source§

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<__D: Fallible + ?Sized> Deserialize<MessageReactionRemoveEmotePayload, __D> for Archived<MessageReactionRemoveEmotePayload>

source§

fn deserialize( + &self, + deserializer: &mut __D, +) -> Result<MessageReactionRemoveEmotePayload, <__D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<__S: Fallible + ?Sized> Serialize<__S> for MessageReactionRemoveEmotePayload

source§

fn serialize( + &self, + serializer: &mut __S, +) -> Result<<Self as Archive>::Resolver, <__S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.
source§

impl Serialize for MessageReactionRemoveEmotePayload

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
source§

impl<T> CommandBody for T
where + T: Send + Serialize + Archive,

source§

impl<T> CommandResult for T
where + T: Send + DeserializeOwned + Serialize + Archive,

source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/gateway/message/server_msg_payloads/struct.MessageReactionRemoveEmotePayloadResolver.html b/client_sdk/models/gateway/message/server_msg_payloads/struct.MessageReactionRemoveEmotePayloadResolver.html new file mode 100644 index 000000000..cb3e1096a --- /dev/null +++ b/client_sdk/models/gateway/message/server_msg_payloads/struct.MessageReactionRemoveEmotePayloadResolver.html @@ -0,0 +1,21 @@ +MessageReactionRemoveEmotePayloadResolver in client_sdk::models::gateway::message::server_msg_payloads - Rust
pub struct MessageReactionRemoveEmotePayloadResolver {}
Expand description

The resolver for an archived MessageReactionRemoveEmotePayload

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/gateway/message/server_msg_payloads/struct.MessageReactionRemovePayload.html b/client_sdk/models/gateway/message/server_msg_payloads/struct.MessageReactionRemovePayload.html new file mode 100644 index 000000000..c8952e946 --- /dev/null +++ b/client_sdk/models/gateway/message/server_msg_payloads/struct.MessageReactionRemovePayload.html @@ -0,0 +1,64 @@ +MessageReactionRemovePayload in client_sdk::models::gateway::message::server_msg_payloads - Rust
pub struct MessageReactionRemovePayload {
+    pub inner: Arc<UserReactionEvent>,
+}
Expand description

Fields§

§inner: Arc<UserReactionEvent>

Methods from Deref<Target = Arc<UserReactionEvent>>§

pub fn with_raw_offset_arc<F, U>(&self, f: F) -> U
where + F: FnOnce(&OffsetArc<T>) -> U,

Temporarily converts |self| into a bonafide OffsetArc and exposes it to the +provided callback. The refcount is not modified.

+

pub fn as_ptr(&self) -> *const T

Returns the raw pointer.

+

Same as into_raw except self isn’t consumed.

+

pub fn borrow_arc(&self) -> ArcBorrow<'_, T>

Produce a pointer to the data that can be converted back +to an Arc. This is basically an &Arc<T>, without the extra indirection. +It has the benefits of an &T but also knows about the underlying refcount +and can be converted into more Arc<T>s if necessary.

+

pub fn heap_ptr(&self) -> *const c_void

Returns the address on the heap of the Arc itself – not the T within it – for memory +reporting.

+

pub fn is_unique(&self) -> bool

Whether or not the Arc is uniquely owned (is the refcount 1?).

+

Trait Implementations§

source§

impl Archive for MessageReactionRemovePayload
where + Arc<UserReactionEvent>: Archive,

source§

type Archived = ArchivedMessageReactionRemovePayload

The archived representation of this type. Read more
source§

type Resolver = MessageReactionRemovePayloadResolver

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
source§

impl Debug for MessageReactionRemovePayload

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Deref for MessageReactionRemovePayload

source§

type Target = Arc<UserReactionEvent>

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl<'de> Deserialize<'de> for MessageReactionRemovePayload

source§

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<__D: Fallible + ?Sized> Deserialize<MessageReactionRemovePayload, __D> for Archived<MessageReactionRemovePayload>
where + Arc<UserReactionEvent>: Archive, + <Arc<UserReactionEvent> as Archive>::Archived: Deserialize<Arc<UserReactionEvent>, __D>,

source§

fn deserialize( + &self, + deserializer: &mut __D, +) -> Result<MessageReactionRemovePayload, <__D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<__S: Fallible + ?Sized> Serialize<__S> for MessageReactionRemovePayload
where + Arc<UserReactionEvent>: Serialize<__S>,

source§

fn serialize( + &self, + serializer: &mut __S, +) -> Result<<Self as Archive>::Resolver, <__S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.
source§

impl Serialize for MessageReactionRemovePayload

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
source§

impl<T> CommandBody for T
where + T: Send + Serialize + Archive,

source§

impl<T> CommandResult for T
where + T: Send + DeserializeOwned + Serialize + Archive,

source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/gateway/message/server_msg_payloads/struct.MessageReactionRemovePayloadResolver.html b/client_sdk/models/gateway/message/server_msg_payloads/struct.MessageReactionRemovePayloadResolver.html new file mode 100644 index 000000000..b7a08e373 --- /dev/null +++ b/client_sdk/models/gateway/message/server_msg_payloads/struct.MessageReactionRemovePayloadResolver.html @@ -0,0 +1,22 @@ +MessageReactionRemovePayloadResolver in client_sdk::models::gateway::message::server_msg_payloads - Rust
pub struct MessageReactionRemovePayloadResolver
where + Arc<UserReactionEvent>: Archive,
{ /* private fields */ }
Expand description

The resolver for an archived MessageReactionRemovePayload

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/gateway/message/server_msg_payloads/struct.MessageUpdatePayload.html b/client_sdk/models/gateway/message/server_msg_payloads/struct.MessageUpdatePayload.html new file mode 100644 index 000000000..3fcc17a53 --- /dev/null +++ b/client_sdk/models/gateway/message/server_msg_payloads/struct.MessageUpdatePayload.html @@ -0,0 +1,64 @@ +MessageUpdatePayload in client_sdk::models::gateway::message::server_msg_payloads - Rust
pub struct MessageUpdatePayload {
+    pub inner: Arc<Message>,
+}
Expand description

Payload struct for ServerMsg::MessageUpdate

+

Fields§

§inner: Arc<Message>

Methods from Deref<Target = Arc<RoomMessage>>§

pub fn with_raw_offset_arc<F, U>(&self, f: F) -> U
where + F: FnOnce(&OffsetArc<T>) -> U,

Temporarily converts |self| into a bonafide OffsetArc and exposes it to the +provided callback. The refcount is not modified.

+

pub fn as_ptr(&self) -> *const T

Returns the raw pointer.

+

Same as into_raw except self isn’t consumed.

+

pub fn borrow_arc(&self) -> ArcBorrow<'_, T>

Produce a pointer to the data that can be converted back +to an Arc. This is basically an &Arc<T>, without the extra indirection. +It has the benefits of an &T but also knows about the underlying refcount +and can be converted into more Arc<T>s if necessary.

+

pub fn heap_ptr(&self) -> *const c_void

Returns the address on the heap of the Arc itself – not the T within it – for memory +reporting.

+

pub fn is_unique(&self) -> bool

Whether or not the Arc is uniquely owned (is the refcount 1?).

+

Trait Implementations§

source§

impl Archive for MessageUpdatePayload
where + Arc<Message>: Archive,

source§

type Archived = ArchivedMessageUpdatePayload

The archived representation of this type. Read more
source§

type Resolver = MessageUpdatePayloadResolver

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
source§

impl Debug for MessageUpdatePayload

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Deref for MessageUpdatePayload

source§

type Target = Arc<Message>

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl<'de> Deserialize<'de> for MessageUpdatePayload

source§

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<__D: Fallible + ?Sized> Deserialize<MessageUpdatePayload, __D> for Archived<MessageUpdatePayload>
where + Arc<Message>: Archive, + <Arc<Message> as Archive>::Archived: Deserialize<Arc<Message>, __D>,

source§

fn deserialize( + &self, + deserializer: &mut __D, +) -> Result<MessageUpdatePayload, <__D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<__S: Fallible + ?Sized> Serialize<__S> for MessageUpdatePayload
where + Arc<Message>: Serialize<__S>,

source§

fn serialize( + &self, + serializer: &mut __S, +) -> Result<<Self as Archive>::Resolver, <__S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.
source§

impl Serialize for MessageUpdatePayload

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
source§

impl<T> CommandBody for T
where + T: Send + Serialize + Archive,

source§

impl<T> CommandResult for T
where + T: Send + DeserializeOwned + Serialize + Archive,

source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/gateway/message/server_msg_payloads/struct.MessageUpdatePayloadResolver.html b/client_sdk/models/gateway/message/server_msg_payloads/struct.MessageUpdatePayloadResolver.html new file mode 100644 index 000000000..a8adceff8 --- /dev/null +++ b/client_sdk/models/gateway/message/server_msg_payloads/struct.MessageUpdatePayloadResolver.html @@ -0,0 +1,22 @@ +MessageUpdatePayloadResolver in client_sdk::models::gateway::message::server_msg_payloads - Rust
pub struct MessageUpdatePayloadResolver
where + Arc<Message>: Archive,
{ /* private fields */ }
Expand description

The resolver for an archived MessageUpdatePayload

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/gateway/message/server_msg_payloads/struct.PartyCreatePayload.html b/client_sdk/models/gateway/message/server_msg_payloads/struct.PartyCreatePayload.html new file mode 100644 index 000000000..87bfa9a1c --- /dev/null +++ b/client_sdk/models/gateway/message/server_msg_payloads/struct.PartyCreatePayload.html @@ -0,0 +1,64 @@ +PartyCreatePayload in client_sdk::models::gateway::message::server_msg_payloads - Rust
pub struct PartyCreatePayload {
+    pub inner: Arc<Party>,
+}
Expand description

Payload struct for ServerMsg::PartyCreate

+

Fields§

§inner: Arc<Party>

Methods from Deref<Target = Arc<Party>>§

pub fn with_raw_offset_arc<F, U>(&self, f: F) -> U
where + F: FnOnce(&OffsetArc<T>) -> U,

Temporarily converts |self| into a bonafide OffsetArc and exposes it to the +provided callback. The refcount is not modified.

+

pub fn as_ptr(&self) -> *const T

Returns the raw pointer.

+

Same as into_raw except self isn’t consumed.

+

pub fn borrow_arc(&self) -> ArcBorrow<'_, T>

Produce a pointer to the data that can be converted back +to an Arc. This is basically an &Arc<T>, without the extra indirection. +It has the benefits of an &T but also knows about the underlying refcount +and can be converted into more Arc<T>s if necessary.

+

pub fn heap_ptr(&self) -> *const c_void

Returns the address on the heap of the Arc itself – not the T within it – for memory +reporting.

+

pub fn is_unique(&self) -> bool

Whether or not the Arc is uniquely owned (is the refcount 1?).

+

Trait Implementations§

source§

impl Archive for PartyCreatePayload
where + Arc<Party>: Archive,

source§

type Archived = ArchivedPartyCreatePayload

The archived representation of this type. Read more
source§

type Resolver = PartyCreatePayloadResolver

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
source§

impl Debug for PartyCreatePayload

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Deref for PartyCreatePayload

source§

type Target = Arc<Party>

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl<'de> Deserialize<'de> for PartyCreatePayload

source§

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<__D: Fallible + ?Sized> Deserialize<PartyCreatePayload, __D> for Archived<PartyCreatePayload>
where + Arc<Party>: Archive, + <Arc<Party> as Archive>::Archived: Deserialize<Arc<Party>, __D>,

source§

fn deserialize( + &self, + deserializer: &mut __D, +) -> Result<PartyCreatePayload, <__D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<__S: Fallible + ?Sized> Serialize<__S> for PartyCreatePayload
where + Arc<Party>: Serialize<__S>,

source§

fn serialize( + &self, + serializer: &mut __S, +) -> Result<<Self as Archive>::Resolver, <__S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.
source§

impl Serialize for PartyCreatePayload

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
source§

impl<T> CommandBody for T
where + T: Send + Serialize + Archive,

source§

impl<T> CommandResult for T
where + T: Send + DeserializeOwned + Serialize + Archive,

source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/gateway/message/server_msg_payloads/struct.PartyCreatePayloadResolver.html b/client_sdk/models/gateway/message/server_msg_payloads/struct.PartyCreatePayloadResolver.html new file mode 100644 index 000000000..c4825193b --- /dev/null +++ b/client_sdk/models/gateway/message/server_msg_payloads/struct.PartyCreatePayloadResolver.html @@ -0,0 +1,22 @@ +PartyCreatePayloadResolver in client_sdk::models::gateway::message::server_msg_payloads - Rust
pub struct PartyCreatePayloadResolver
where + Arc<Party>: Archive,
{ /* private fields */ }
Expand description

The resolver for an archived PartyCreatePayload

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/gateway/message/server_msg_payloads/struct.PartyDeletePayload.html b/client_sdk/models/gateway/message/server_msg_payloads/struct.PartyDeletePayload.html new file mode 100644 index 000000000..c955d9201 --- /dev/null +++ b/client_sdk/models/gateway/message/server_msg_payloads/struct.PartyDeletePayload.html @@ -0,0 +1,52 @@ +PartyDeletePayload in client_sdk::models::gateway::message::server_msg_payloads - Rust
pub struct PartyDeletePayload {
+    pub id: PartyId,
+}
Expand description

Payload struct for ServerMsg::PartyDelete

+

Fields§

§id: PartyId

Trait Implementations§

source§

impl Archive for PartyDeletePayload
where + PartyId: Archive,

source§

type Archived = ArchivedPartyDeletePayload

The archived representation of this type. Read more
source§

type Resolver = PartyDeletePayloadResolver

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
source§

impl Debug for PartyDeletePayload

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for PartyDeletePayload

source§

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<__D: Fallible + ?Sized> Deserialize<PartyDeletePayload, __D> for Archived<PartyDeletePayload>
where + PartyId: Archive, + <PartyId as Archive>::Archived: Deserialize<PartyId, __D>,

source§

fn deserialize( + &self, + deserializer: &mut __D, +) -> Result<PartyDeletePayload, <__D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<__S: Fallible + ?Sized> Serialize<__S> for PartyDeletePayload
where + PartyId: Serialize<__S>,

source§

fn serialize( + &self, + serializer: &mut __S, +) -> Result<<Self as Archive>::Resolver, <__S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.
source§

impl Serialize for PartyDeletePayload

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
source§

impl<T> CommandBody for T
where + T: Send + Serialize + Archive,

source§

impl<T> CommandResult for T
where + T: Send + DeserializeOwned + Serialize + Archive,

source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/gateway/message/server_msg_payloads/struct.PartyDeletePayloadResolver.html b/client_sdk/models/gateway/message/server_msg_payloads/struct.PartyDeletePayloadResolver.html new file mode 100644 index 000000000..3110670a0 --- /dev/null +++ b/client_sdk/models/gateway/message/server_msg_payloads/struct.PartyDeletePayloadResolver.html @@ -0,0 +1,22 @@ +PartyDeletePayloadResolver in client_sdk::models::gateway::message::server_msg_payloads - Rust
pub struct PartyDeletePayloadResolver
where + PartyId: Archive,
{ /* private fields */ }
Expand description

The resolver for an archived PartyDeletePayload

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/gateway/message/server_msg_payloads/struct.PartyUpdatePayload.html b/client_sdk/models/gateway/message/server_msg_payloads/struct.PartyUpdatePayload.html new file mode 100644 index 000000000..854abd749 --- /dev/null +++ b/client_sdk/models/gateway/message/server_msg_payloads/struct.PartyUpdatePayload.html @@ -0,0 +1,64 @@ +PartyUpdatePayload in client_sdk::models::gateway::message::server_msg_payloads - Rust
pub struct PartyUpdatePayload {
+    pub inner: Arc<PartyUpdateEvent>,
+}
Expand description

Payload struct for ServerMsg::PartyUpdate

+

Fields§

§inner: Arc<PartyUpdateEvent>

Methods from Deref<Target = Arc<PartyUpdateEvent>>§

pub fn with_raw_offset_arc<F, U>(&self, f: F) -> U
where + F: FnOnce(&OffsetArc<T>) -> U,

Temporarily converts |self| into a bonafide OffsetArc and exposes it to the +provided callback. The refcount is not modified.

+

pub fn as_ptr(&self) -> *const T

Returns the raw pointer.

+

Same as into_raw except self isn’t consumed.

+

pub fn borrow_arc(&self) -> ArcBorrow<'_, T>

Produce a pointer to the data that can be converted back +to an Arc. This is basically an &Arc<T>, without the extra indirection. +It has the benefits of an &T but also knows about the underlying refcount +and can be converted into more Arc<T>s if necessary.

+

pub fn heap_ptr(&self) -> *const c_void

Returns the address on the heap of the Arc itself – not the T within it – for memory +reporting.

+

pub fn is_unique(&self) -> bool

Whether or not the Arc is uniquely owned (is the refcount 1?).

+

Trait Implementations§

source§

impl Archive for PartyUpdatePayload
where + Arc<PartyUpdateEvent>: Archive,

source§

type Archived = ArchivedPartyUpdatePayload

The archived representation of this type. Read more
source§

type Resolver = PartyUpdatePayloadResolver

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
source§

impl Debug for PartyUpdatePayload

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Deref for PartyUpdatePayload

source§

type Target = Arc<PartyUpdateEvent>

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl<'de> Deserialize<'de> for PartyUpdatePayload

source§

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<__D: Fallible + ?Sized> Deserialize<PartyUpdatePayload, __D> for Archived<PartyUpdatePayload>
where + Arc<PartyUpdateEvent>: Archive, + <Arc<PartyUpdateEvent> as Archive>::Archived: Deserialize<Arc<PartyUpdateEvent>, __D>,

source§

fn deserialize( + &self, + deserializer: &mut __D, +) -> Result<PartyUpdatePayload, <__D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<__S: Fallible + ?Sized> Serialize<__S> for PartyUpdatePayload
where + Arc<PartyUpdateEvent>: Serialize<__S>,

source§

fn serialize( + &self, + serializer: &mut __S, +) -> Result<<Self as Archive>::Resolver, <__S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.
source§

impl Serialize for PartyUpdatePayload

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
source§

impl<T> CommandBody for T
where + T: Send + Serialize + Archive,

source§

impl<T> CommandResult for T
where + T: Send + DeserializeOwned + Serialize + Archive,

source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/gateway/message/server_msg_payloads/struct.PartyUpdatePayloadResolver.html b/client_sdk/models/gateway/message/server_msg_payloads/struct.PartyUpdatePayloadResolver.html new file mode 100644 index 000000000..51e5d808c --- /dev/null +++ b/client_sdk/models/gateway/message/server_msg_payloads/struct.PartyUpdatePayloadResolver.html @@ -0,0 +1,22 @@ +PartyUpdatePayloadResolver in client_sdk::models::gateway::message::server_msg_payloads - Rust
pub struct PartyUpdatePayloadResolver
where + Arc<PartyUpdateEvent>: Archive,
{ /* private fields */ }
Expand description

The resolver for an archived PartyUpdatePayload

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/gateway/message/server_msg_payloads/struct.PresenceUpdatePayload.html b/client_sdk/models/gateway/message/server_msg_payloads/struct.PresenceUpdatePayload.html new file mode 100644 index 000000000..c89deb960 --- /dev/null +++ b/client_sdk/models/gateway/message/server_msg_payloads/struct.PresenceUpdatePayload.html @@ -0,0 +1,64 @@ +PresenceUpdatePayload in client_sdk::models::gateway::message::server_msg_payloads - Rust
pub struct PresenceUpdatePayload {
+    pub inner: Arc<UserPresenceEvent>,
+}
Expand description

Payload struct for ServerMsg::PresenceUpdate

+

Fields§

§inner: Arc<UserPresenceEvent>

Methods from Deref<Target = Arc<UserPresenceEvent>>§

pub fn with_raw_offset_arc<F, U>(&self, f: F) -> U
where + F: FnOnce(&OffsetArc<T>) -> U,

Temporarily converts |self| into a bonafide OffsetArc and exposes it to the +provided callback. The refcount is not modified.

+

pub fn as_ptr(&self) -> *const T

Returns the raw pointer.

+

Same as into_raw except self isn’t consumed.

+

pub fn borrow_arc(&self) -> ArcBorrow<'_, T>

Produce a pointer to the data that can be converted back +to an Arc. This is basically an &Arc<T>, without the extra indirection. +It has the benefits of an &T but also knows about the underlying refcount +and can be converted into more Arc<T>s if necessary.

+

pub fn heap_ptr(&self) -> *const c_void

Returns the address on the heap of the Arc itself – not the T within it – for memory +reporting.

+

pub fn is_unique(&self) -> bool

Whether or not the Arc is uniquely owned (is the refcount 1?).

+

Trait Implementations§

source§

impl Archive for PresenceUpdatePayload
where + Arc<UserPresenceEvent>: Archive,

source§

type Archived = ArchivedPresenceUpdatePayload

The archived representation of this type. Read more
source§

type Resolver = PresenceUpdatePayloadResolver

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
source§

impl Debug for PresenceUpdatePayload

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Deref for PresenceUpdatePayload

source§

type Target = Arc<UserPresenceEvent>

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl<'de> Deserialize<'de> for PresenceUpdatePayload

source§

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<__D: Fallible + ?Sized> Deserialize<PresenceUpdatePayload, __D> for Archived<PresenceUpdatePayload>
where + Arc<UserPresenceEvent>: Archive, + <Arc<UserPresenceEvent> as Archive>::Archived: Deserialize<Arc<UserPresenceEvent>, __D>,

source§

fn deserialize( + &self, + deserializer: &mut __D, +) -> Result<PresenceUpdatePayload, <__D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<__S: Fallible + ?Sized> Serialize<__S> for PresenceUpdatePayload
where + Arc<UserPresenceEvent>: Serialize<__S>,

source§

fn serialize( + &self, + serializer: &mut __S, +) -> Result<<Self as Archive>::Resolver, <__S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.
source§

impl Serialize for PresenceUpdatePayload

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
source§

impl<T> CommandBody for T
where + T: Send + Serialize + Archive,

source§

impl<T> CommandResult for T
where + T: Send + DeserializeOwned + Serialize + Archive,

source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/gateway/message/server_msg_payloads/struct.PresenceUpdatePayloadResolver.html b/client_sdk/models/gateway/message/server_msg_payloads/struct.PresenceUpdatePayloadResolver.html new file mode 100644 index 000000000..bddcb394f --- /dev/null +++ b/client_sdk/models/gateway/message/server_msg_payloads/struct.PresenceUpdatePayloadResolver.html @@ -0,0 +1,22 @@ +PresenceUpdatePayloadResolver in client_sdk::models::gateway::message::server_msg_payloads - Rust
pub struct PresenceUpdatePayloadResolver
where + Arc<UserPresenceEvent>: Archive,
{ /* private fields */ }
Expand description

The resolver for an archived PresenceUpdatePayload

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/gateway/message/server_msg_payloads/struct.ProfileUpdatePayload.html b/client_sdk/models/gateway/message/server_msg_payloads/struct.ProfileUpdatePayload.html new file mode 100644 index 000000000..e54c701f9 --- /dev/null +++ b/client_sdk/models/gateway/message/server_msg_payloads/struct.ProfileUpdatePayload.html @@ -0,0 +1,64 @@ +ProfileUpdatePayload in client_sdk::models::gateway::message::server_msg_payloads - Rust
pub struct ProfileUpdatePayload {
+    pub inner: Arc<ProfileUpdateEvent>,
+}
Expand description

Payload struct for ServerMsg::ProfileUpdate

+

Fields§

§inner: Arc<ProfileUpdateEvent>

Methods from Deref<Target = Arc<ProfileUpdateEvent>>§

pub fn with_raw_offset_arc<F, U>(&self, f: F) -> U
where + F: FnOnce(&OffsetArc<T>) -> U,

Temporarily converts |self| into a bonafide OffsetArc and exposes it to the +provided callback. The refcount is not modified.

+

pub fn as_ptr(&self) -> *const T

Returns the raw pointer.

+

Same as into_raw except self isn’t consumed.

+

pub fn borrow_arc(&self) -> ArcBorrow<'_, T>

Produce a pointer to the data that can be converted back +to an Arc. This is basically an &Arc<T>, without the extra indirection. +It has the benefits of an &T but also knows about the underlying refcount +and can be converted into more Arc<T>s if necessary.

+

pub fn heap_ptr(&self) -> *const c_void

Returns the address on the heap of the Arc itself – not the T within it – for memory +reporting.

+

pub fn is_unique(&self) -> bool

Whether or not the Arc is uniquely owned (is the refcount 1?).

+

Trait Implementations§

source§

impl Archive for ProfileUpdatePayload
where + Arc<ProfileUpdateEvent>: Archive,

source§

type Archived = ArchivedProfileUpdatePayload

The archived representation of this type. Read more
source§

type Resolver = ProfileUpdatePayloadResolver

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
source§

impl Debug for ProfileUpdatePayload

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Deref for ProfileUpdatePayload

source§

type Target = Arc<ProfileUpdateEvent>

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl<'de> Deserialize<'de> for ProfileUpdatePayload

source§

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<__D: Fallible + ?Sized> Deserialize<ProfileUpdatePayload, __D> for Archived<ProfileUpdatePayload>
where + Arc<ProfileUpdateEvent>: Archive, + <Arc<ProfileUpdateEvent> as Archive>::Archived: Deserialize<Arc<ProfileUpdateEvent>, __D>,

source§

fn deserialize( + &self, + deserializer: &mut __D, +) -> Result<ProfileUpdatePayload, <__D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<__S: Fallible + ?Sized> Serialize<__S> for ProfileUpdatePayload
where + Arc<ProfileUpdateEvent>: Serialize<__S>,

source§

fn serialize( + &self, + serializer: &mut __S, +) -> Result<<Self as Archive>::Resolver, <__S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.
source§

impl Serialize for ProfileUpdatePayload

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
source§

impl<T> CommandBody for T
where + T: Send + Serialize + Archive,

source§

impl<T> CommandResult for T
where + T: Send + DeserializeOwned + Serialize + Archive,

source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/gateway/message/server_msg_payloads/struct.ProfileUpdatePayloadResolver.html b/client_sdk/models/gateway/message/server_msg_payloads/struct.ProfileUpdatePayloadResolver.html new file mode 100644 index 000000000..61299f280 --- /dev/null +++ b/client_sdk/models/gateway/message/server_msg_payloads/struct.ProfileUpdatePayloadResolver.html @@ -0,0 +1,22 @@ +ProfileUpdatePayloadResolver in client_sdk::models::gateway::message::server_msg_payloads - Rust
pub struct ProfileUpdatePayloadResolver
where + Arc<ProfileUpdateEvent>: Archive,
{ /* private fields */ }
Expand description

The resolver for an archived ProfileUpdatePayload

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/gateway/message/server_msg_payloads/struct.ReadyPayload.html b/client_sdk/models/gateway/message/server_msg_payloads/struct.ReadyPayload.html new file mode 100644 index 000000000..f21e239ce --- /dev/null +++ b/client_sdk/models/gateway/message/server_msg_payloads/struct.ReadyPayload.html @@ -0,0 +1,64 @@ +ReadyPayload in client_sdk::models::gateway::message::server_msg_payloads - Rust
pub struct ReadyPayload {
+    pub inner: Arc<Ready>,
+}
Expand description

Payload struct for ServerMsg::Ready

+

Fields§

§inner: Arc<Ready>

Methods from Deref<Target = Arc<Ready>>§

pub fn with_raw_offset_arc<F, U>(&self, f: F) -> U
where + F: FnOnce(&OffsetArc<T>) -> U,

Temporarily converts |self| into a bonafide OffsetArc and exposes it to the +provided callback. The refcount is not modified.

+

pub fn as_ptr(&self) -> *const T

Returns the raw pointer.

+

Same as into_raw except self isn’t consumed.

+

pub fn borrow_arc(&self) -> ArcBorrow<'_, T>

Produce a pointer to the data that can be converted back +to an Arc. This is basically an &Arc<T>, without the extra indirection. +It has the benefits of an &T but also knows about the underlying refcount +and can be converted into more Arc<T>s if necessary.

+

pub fn heap_ptr(&self) -> *const c_void

Returns the address on the heap of the Arc itself – not the T within it – for memory +reporting.

+

pub fn is_unique(&self) -> bool

Whether or not the Arc is uniquely owned (is the refcount 1?).

+

Trait Implementations§

source§

impl Archive for ReadyPayload
where + Arc<Ready>: Archive,

source§

type Archived = ArchivedReadyPayload

The archived representation of this type. Read more
source§

type Resolver = ReadyPayloadResolver

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
source§

impl Debug for ReadyPayload

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Deref for ReadyPayload

source§

type Target = Arc<Ready>

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl<'de> Deserialize<'de> for ReadyPayload

source§

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<__D: Fallible + ?Sized> Deserialize<ReadyPayload, __D> for Archived<ReadyPayload>
where + Arc<Ready>: Archive, + <Arc<Ready> as Archive>::Archived: Deserialize<Arc<Ready>, __D>,

source§

fn deserialize( + &self, + deserializer: &mut __D, +) -> Result<ReadyPayload, <__D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<__S: Fallible + ?Sized> Serialize<__S> for ReadyPayload
where + Arc<Ready>: Serialize<__S>,

source§

fn serialize( + &self, + serializer: &mut __S, +) -> Result<<Self as Archive>::Resolver, <__S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.
source§

impl Serialize for ReadyPayload

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
source§

impl<T> CommandBody for T
where + T: Send + Serialize + Archive,

source§

impl<T> CommandResult for T
where + T: Send + DeserializeOwned + Serialize + Archive,

source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/gateway/message/server_msg_payloads/struct.ReadyPayloadResolver.html b/client_sdk/models/gateway/message/server_msg_payloads/struct.ReadyPayloadResolver.html new file mode 100644 index 000000000..030c3280b --- /dev/null +++ b/client_sdk/models/gateway/message/server_msg_payloads/struct.ReadyPayloadResolver.html @@ -0,0 +1,22 @@ +ReadyPayloadResolver in client_sdk::models::gateway::message::server_msg_payloads - Rust
pub struct ReadyPayloadResolver
where + Arc<Ready>: Archive,
{ /* private fields */ }
Expand description

The resolver for an archived ReadyPayload

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/gateway/message/server_msg_payloads/struct.RelationAddPayload.html b/client_sdk/models/gateway/message/server_msg_payloads/struct.RelationAddPayload.html new file mode 100644 index 000000000..c72f9ed8d --- /dev/null +++ b/client_sdk/models/gateway/message/server_msg_payloads/struct.RelationAddPayload.html @@ -0,0 +1,64 @@ +RelationAddPayload in client_sdk::models::gateway::message::server_msg_payloads - Rust
pub struct RelationAddPayload {
+    pub inner: Arc<Relationship>,
+}
Expand description

Payload struct for ServerMsg::RelationAdd

+

Fields§

§inner: Arc<Relationship>

Methods from Deref<Target = Arc<Relationship>>§

pub fn with_raw_offset_arc<F, U>(&self, f: F) -> U
where + F: FnOnce(&OffsetArc<T>) -> U,

Temporarily converts |self| into a bonafide OffsetArc and exposes it to the +provided callback. The refcount is not modified.

+

pub fn as_ptr(&self) -> *const T

Returns the raw pointer.

+

Same as into_raw except self isn’t consumed.

+

pub fn borrow_arc(&self) -> ArcBorrow<'_, T>

Produce a pointer to the data that can be converted back +to an Arc. This is basically an &Arc<T>, without the extra indirection. +It has the benefits of an &T but also knows about the underlying refcount +and can be converted into more Arc<T>s if necessary.

+

pub fn heap_ptr(&self) -> *const c_void

Returns the address on the heap of the Arc itself – not the T within it – for memory +reporting.

+

pub fn is_unique(&self) -> bool

Whether or not the Arc is uniquely owned (is the refcount 1?).

+

Trait Implementations§

source§

impl Archive for RelationAddPayload
where + Arc<Relationship>: Archive,

source§

type Archived = ArchivedRelationAddPayload

The archived representation of this type. Read more
source§

type Resolver = RelationAddPayloadResolver

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
source§

impl Debug for RelationAddPayload

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Deref for RelationAddPayload

source§

type Target = Arc<Relationship>

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl<'de> Deserialize<'de> for RelationAddPayload

source§

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<__D: Fallible + ?Sized> Deserialize<RelationAddPayload, __D> for Archived<RelationAddPayload>
where + Arc<Relationship>: Archive, + <Arc<Relationship> as Archive>::Archived: Deserialize<Arc<Relationship>, __D>,

source§

fn deserialize( + &self, + deserializer: &mut __D, +) -> Result<RelationAddPayload, <__D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<__S: Fallible + ?Sized> Serialize<__S> for RelationAddPayload
where + Arc<Relationship>: Serialize<__S>,

source§

fn serialize( + &self, + serializer: &mut __S, +) -> Result<<Self as Archive>::Resolver, <__S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.
source§

impl Serialize for RelationAddPayload

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
source§

impl<T> CommandBody for T
where + T: Send + Serialize + Archive,

source§

impl<T> CommandResult for T
where + T: Send + DeserializeOwned + Serialize + Archive,

source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/gateway/message/server_msg_payloads/struct.RelationAddPayloadResolver.html b/client_sdk/models/gateway/message/server_msg_payloads/struct.RelationAddPayloadResolver.html new file mode 100644 index 000000000..c302a68fd --- /dev/null +++ b/client_sdk/models/gateway/message/server_msg_payloads/struct.RelationAddPayloadResolver.html @@ -0,0 +1,22 @@ +RelationAddPayloadResolver in client_sdk::models::gateway::message::server_msg_payloads - Rust
pub struct RelationAddPayloadResolver
where + Arc<Relationship>: Archive,
{ /* private fields */ }
Expand description

The resolver for an archived RelationAddPayload

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/gateway/message/server_msg_payloads/struct.RelationRemovePayload.html b/client_sdk/models/gateway/message/server_msg_payloads/struct.RelationRemovePayload.html new file mode 100644 index 000000000..cad8f226d --- /dev/null +++ b/client_sdk/models/gateway/message/server_msg_payloads/struct.RelationRemovePayload.html @@ -0,0 +1,52 @@ +RelationRemovePayload in client_sdk::models::gateway::message::server_msg_payloads - Rust
pub struct RelationRemovePayload {
+    pub user_id: UserId,
+}
Expand description

Payload struct for ServerMsg::RelationRemove

+

Fields§

§user_id: UserId

Trait Implementations§

source§

impl Archive for RelationRemovePayload
where + UserId: Archive,

source§

type Archived = ArchivedRelationRemovePayload

The archived representation of this type. Read more
source§

type Resolver = RelationRemovePayloadResolver

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
source§

impl Debug for RelationRemovePayload

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for RelationRemovePayload

source§

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<__D: Fallible + ?Sized> Deserialize<RelationRemovePayload, __D> for Archived<RelationRemovePayload>
where + UserId: Archive, + <UserId as Archive>::Archived: Deserialize<UserId, __D>,

source§

fn deserialize( + &self, + deserializer: &mut __D, +) -> Result<RelationRemovePayload, <__D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<__S: Fallible + ?Sized> Serialize<__S> for RelationRemovePayload
where + UserId: Serialize<__S>,

source§

fn serialize( + &self, + serializer: &mut __S, +) -> Result<<Self as Archive>::Resolver, <__S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.
source§

impl Serialize for RelationRemovePayload

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
source§

impl<T> CommandBody for T
where + T: Send + Serialize + Archive,

source§

impl<T> CommandResult for T
where + T: Send + DeserializeOwned + Serialize + Archive,

source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/gateway/message/server_msg_payloads/struct.RelationRemovePayloadResolver.html b/client_sdk/models/gateway/message/server_msg_payloads/struct.RelationRemovePayloadResolver.html new file mode 100644 index 000000000..315d5b35e --- /dev/null +++ b/client_sdk/models/gateway/message/server_msg_payloads/struct.RelationRemovePayloadResolver.html @@ -0,0 +1,22 @@ +RelationRemovePayloadResolver in client_sdk::models::gateway::message::server_msg_payloads - Rust
pub struct RelationRemovePayloadResolver
where + UserId: Archive,
{ /* private fields */ }
Expand description

The resolver for an archived RelationRemovePayload

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/gateway/message/server_msg_payloads/struct.RoleCreatePayload.html b/client_sdk/models/gateway/message/server_msg_payloads/struct.RoleCreatePayload.html new file mode 100644 index 000000000..a9ec83eb5 --- /dev/null +++ b/client_sdk/models/gateway/message/server_msg_payloads/struct.RoleCreatePayload.html @@ -0,0 +1,64 @@ +RoleCreatePayload in client_sdk::models::gateway::message::server_msg_payloads - Rust
pub struct RoleCreatePayload {
+    pub inner: Arc<Role>,
+}
Expand description

Payload struct for ServerMsg::RoleCreate

+

Fields§

§inner: Arc<Role>

Methods from Deref<Target = Arc<Role>>§

pub fn with_raw_offset_arc<F, U>(&self, f: F) -> U
where + F: FnOnce(&OffsetArc<T>) -> U,

Temporarily converts |self| into a bonafide OffsetArc and exposes it to the +provided callback. The refcount is not modified.

+

pub fn as_ptr(&self) -> *const T

Returns the raw pointer.

+

Same as into_raw except self isn’t consumed.

+

pub fn borrow_arc(&self) -> ArcBorrow<'_, T>

Produce a pointer to the data that can be converted back +to an Arc. This is basically an &Arc<T>, without the extra indirection. +It has the benefits of an &T but also knows about the underlying refcount +and can be converted into more Arc<T>s if necessary.

+

pub fn heap_ptr(&self) -> *const c_void

Returns the address on the heap of the Arc itself – not the T within it – for memory +reporting.

+

pub fn is_unique(&self) -> bool

Whether or not the Arc is uniquely owned (is the refcount 1?).

+

Trait Implementations§

source§

impl Archive for RoleCreatePayload
where + Arc<Role>: Archive,

source§

type Archived = ArchivedRoleCreatePayload

The archived representation of this type. Read more
source§

type Resolver = RoleCreatePayloadResolver

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
source§

impl Debug for RoleCreatePayload

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Deref for RoleCreatePayload

source§

type Target = Arc<Role>

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl<'de> Deserialize<'de> for RoleCreatePayload

source§

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<__D: Fallible + ?Sized> Deserialize<RoleCreatePayload, __D> for Archived<RoleCreatePayload>
where + Arc<Role>: Archive, + <Arc<Role> as Archive>::Archived: Deserialize<Arc<Role>, __D>,

source§

fn deserialize( + &self, + deserializer: &mut __D, +) -> Result<RoleCreatePayload, <__D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<__S: Fallible + ?Sized> Serialize<__S> for RoleCreatePayload
where + Arc<Role>: Serialize<__S>,

source§

fn serialize( + &self, + serializer: &mut __S, +) -> Result<<Self as Archive>::Resolver, <__S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.
source§

impl Serialize for RoleCreatePayload

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
source§

impl<T> CommandBody for T
where + T: Send + Serialize + Archive,

source§

impl<T> CommandResult for T
where + T: Send + DeserializeOwned + Serialize + Archive,

source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/gateway/message/server_msg_payloads/struct.RoleCreatePayloadResolver.html b/client_sdk/models/gateway/message/server_msg_payloads/struct.RoleCreatePayloadResolver.html new file mode 100644 index 000000000..99e414d9d --- /dev/null +++ b/client_sdk/models/gateway/message/server_msg_payloads/struct.RoleCreatePayloadResolver.html @@ -0,0 +1,22 @@ +RoleCreatePayloadResolver in client_sdk::models::gateway::message::server_msg_payloads - Rust
pub struct RoleCreatePayloadResolver
where + Arc<Role>: Archive,
{ /* private fields */ }
Expand description

The resolver for an archived RoleCreatePayload

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/gateway/message/server_msg_payloads/struct.RoleDeletePayload.html b/client_sdk/models/gateway/message/server_msg_payloads/struct.RoleDeletePayload.html new file mode 100644 index 000000000..2533c6c6c --- /dev/null +++ b/client_sdk/models/gateway/message/server_msg_payloads/struct.RoleDeletePayload.html @@ -0,0 +1,64 @@ +RoleDeletePayload in client_sdk::models::gateway::message::server_msg_payloads - Rust
pub struct RoleDeletePayload {
+    pub inner: Arc<RoleDeleteEvent>,
+}
Expand description

Payload struct for ServerMsg::RoleDelete

+

Fields§

§inner: Arc<RoleDeleteEvent>

Methods from Deref<Target = Arc<RoleDeleteEvent>>§

pub fn with_raw_offset_arc<F, U>(&self, f: F) -> U
where + F: FnOnce(&OffsetArc<T>) -> U,

Temporarily converts |self| into a bonafide OffsetArc and exposes it to the +provided callback. The refcount is not modified.

+

pub fn as_ptr(&self) -> *const T

Returns the raw pointer.

+

Same as into_raw except self isn’t consumed.

+

pub fn borrow_arc(&self) -> ArcBorrow<'_, T>

Produce a pointer to the data that can be converted back +to an Arc. This is basically an &Arc<T>, without the extra indirection. +It has the benefits of an &T but also knows about the underlying refcount +and can be converted into more Arc<T>s if necessary.

+

pub fn heap_ptr(&self) -> *const c_void

Returns the address on the heap of the Arc itself – not the T within it – for memory +reporting.

+

pub fn is_unique(&self) -> bool

Whether or not the Arc is uniquely owned (is the refcount 1?).

+

Trait Implementations§

source§

impl Archive for RoleDeletePayload
where + Arc<RoleDeleteEvent>: Archive,

source§

type Archived = ArchivedRoleDeletePayload

The archived representation of this type. Read more
source§

type Resolver = RoleDeletePayloadResolver

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
source§

impl Debug for RoleDeletePayload

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Deref for RoleDeletePayload

source§

type Target = Arc<RoleDeleteEvent>

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl<'de> Deserialize<'de> for RoleDeletePayload

source§

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<__D: Fallible + ?Sized> Deserialize<RoleDeletePayload, __D> for Archived<RoleDeletePayload>
where + Arc<RoleDeleteEvent>: Archive, + <Arc<RoleDeleteEvent> as Archive>::Archived: Deserialize<Arc<RoleDeleteEvent>, __D>,

source§

fn deserialize( + &self, + deserializer: &mut __D, +) -> Result<RoleDeletePayload, <__D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<__S: Fallible + ?Sized> Serialize<__S> for RoleDeletePayload
where + Arc<RoleDeleteEvent>: Serialize<__S>,

source§

fn serialize( + &self, + serializer: &mut __S, +) -> Result<<Self as Archive>::Resolver, <__S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.
source§

impl Serialize for RoleDeletePayload

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
source§

impl<T> CommandBody for T
where + T: Send + Serialize + Archive,

source§

impl<T> CommandResult for T
where + T: Send + DeserializeOwned + Serialize + Archive,

source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/gateway/message/server_msg_payloads/struct.RoleDeletePayloadResolver.html b/client_sdk/models/gateway/message/server_msg_payloads/struct.RoleDeletePayloadResolver.html new file mode 100644 index 000000000..6218f1e6a --- /dev/null +++ b/client_sdk/models/gateway/message/server_msg_payloads/struct.RoleDeletePayloadResolver.html @@ -0,0 +1,22 @@ +RoleDeletePayloadResolver in client_sdk::models::gateway::message::server_msg_payloads - Rust
pub struct RoleDeletePayloadResolver
where + Arc<RoleDeleteEvent>: Archive,
{ /* private fields */ }
Expand description

The resolver for an archived RoleDeletePayload

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/gateway/message/server_msg_payloads/struct.RoleUpdatePayload.html b/client_sdk/models/gateway/message/server_msg_payloads/struct.RoleUpdatePayload.html new file mode 100644 index 000000000..e49781b62 --- /dev/null +++ b/client_sdk/models/gateway/message/server_msg_payloads/struct.RoleUpdatePayload.html @@ -0,0 +1,64 @@ +RoleUpdatePayload in client_sdk::models::gateway::message::server_msg_payloads - Rust
pub struct RoleUpdatePayload {
+    pub inner: Arc<Role>,
+}
Expand description

Payload struct for ServerMsg::RoleUpdate

+

Fields§

§inner: Arc<Role>

Methods from Deref<Target = Arc<Role>>§

pub fn with_raw_offset_arc<F, U>(&self, f: F) -> U
where + F: FnOnce(&OffsetArc<T>) -> U,

Temporarily converts |self| into a bonafide OffsetArc and exposes it to the +provided callback. The refcount is not modified.

+

pub fn as_ptr(&self) -> *const T

Returns the raw pointer.

+

Same as into_raw except self isn’t consumed.

+

pub fn borrow_arc(&self) -> ArcBorrow<'_, T>

Produce a pointer to the data that can be converted back +to an Arc. This is basically an &Arc<T>, without the extra indirection. +It has the benefits of an &T but also knows about the underlying refcount +and can be converted into more Arc<T>s if necessary.

+

pub fn heap_ptr(&self) -> *const c_void

Returns the address on the heap of the Arc itself – not the T within it – for memory +reporting.

+

pub fn is_unique(&self) -> bool

Whether or not the Arc is uniquely owned (is the refcount 1?).

+

Trait Implementations§

source§

impl Archive for RoleUpdatePayload
where + Arc<Role>: Archive,

source§

type Archived = ArchivedRoleUpdatePayload

The archived representation of this type. Read more
source§

type Resolver = RoleUpdatePayloadResolver

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
source§

impl Debug for RoleUpdatePayload

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Deref for RoleUpdatePayload

source§

type Target = Arc<Role>

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl<'de> Deserialize<'de> for RoleUpdatePayload

source§

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<__D: Fallible + ?Sized> Deserialize<RoleUpdatePayload, __D> for Archived<RoleUpdatePayload>
where + Arc<Role>: Archive, + <Arc<Role> as Archive>::Archived: Deserialize<Arc<Role>, __D>,

source§

fn deserialize( + &self, + deserializer: &mut __D, +) -> Result<RoleUpdatePayload, <__D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<__S: Fallible + ?Sized> Serialize<__S> for RoleUpdatePayload
where + Arc<Role>: Serialize<__S>,

source§

fn serialize( + &self, + serializer: &mut __S, +) -> Result<<Self as Archive>::Resolver, <__S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.
source§

impl Serialize for RoleUpdatePayload

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
source§

impl<T> CommandBody for T
where + T: Send + Serialize + Archive,

source§

impl<T> CommandResult for T
where + T: Send + DeserializeOwned + Serialize + Archive,

source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/gateway/message/server_msg_payloads/struct.RoleUpdatePayloadResolver.html b/client_sdk/models/gateway/message/server_msg_payloads/struct.RoleUpdatePayloadResolver.html new file mode 100644 index 000000000..8175f51a4 --- /dev/null +++ b/client_sdk/models/gateway/message/server_msg_payloads/struct.RoleUpdatePayloadResolver.html @@ -0,0 +1,22 @@ +RoleUpdatePayloadResolver in client_sdk::models::gateway::message::server_msg_payloads - Rust
pub struct RoleUpdatePayloadResolver
where + Arc<Role>: Archive,
{ /* private fields */ }
Expand description

The resolver for an archived RoleUpdatePayload

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/gateway/message/server_msg_payloads/struct.RoomCreatePayload.html b/client_sdk/models/gateway/message/server_msg_payloads/struct.RoomCreatePayload.html new file mode 100644 index 000000000..6887b96ee --- /dev/null +++ b/client_sdk/models/gateway/message/server_msg_payloads/struct.RoomCreatePayload.html @@ -0,0 +1,64 @@ +RoomCreatePayload in client_sdk::models::gateway::message::server_msg_payloads - Rust
pub struct RoomCreatePayload {
+    pub inner: Arc<()>,
+}
Expand description

Payload struct for ServerMsg::RoomCreate

+

Fields§

§inner: Arc<()>

Methods from Deref<Target = Arc<()>>§

pub fn with_raw_offset_arc<F, U>(&self, f: F) -> U
where + F: FnOnce(&OffsetArc<T>) -> U,

Temporarily converts |self| into a bonafide OffsetArc and exposes it to the +provided callback. The refcount is not modified.

+

pub fn as_ptr(&self) -> *const T

Returns the raw pointer.

+

Same as into_raw except self isn’t consumed.

+

pub fn borrow_arc(&self) -> ArcBorrow<'_, T>

Produce a pointer to the data that can be converted back +to an Arc. This is basically an &Arc<T>, without the extra indirection. +It has the benefits of an &T but also knows about the underlying refcount +and can be converted into more Arc<T>s if necessary.

+

pub fn heap_ptr(&self) -> *const c_void

Returns the address on the heap of the Arc itself – not the T within it – for memory +reporting.

+

pub fn is_unique(&self) -> bool

Whether or not the Arc is uniquely owned (is the refcount 1?).

+

Trait Implementations§

source§

impl Archive for RoomCreatePayload
where + Arc<()>: Archive,

source§

type Archived = ArchivedRoomCreatePayload

The archived representation of this type. Read more
source§

type Resolver = RoomCreatePayloadResolver

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
source§

impl Debug for RoomCreatePayload

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Deref for RoomCreatePayload

source§

type Target = Arc<()>

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl<'de> Deserialize<'de> for RoomCreatePayload

source§

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<__D: Fallible + ?Sized> Deserialize<RoomCreatePayload, __D> for Archived<RoomCreatePayload>
where + Arc<()>: Archive, + <Arc<()> as Archive>::Archived: Deserialize<Arc<()>, __D>,

source§

fn deserialize( + &self, + deserializer: &mut __D, +) -> Result<RoomCreatePayload, <__D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<__S: Fallible + ?Sized> Serialize<__S> for RoomCreatePayload
where + Arc<()>: Serialize<__S>,

source§

fn serialize( + &self, + serializer: &mut __S, +) -> Result<<Self as Archive>::Resolver, <__S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.
source§

impl Serialize for RoomCreatePayload

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
source§

impl<T> CommandBody for T
where + T: Send + Serialize + Archive,

source§

impl<T> CommandResult for T
where + T: Send + DeserializeOwned + Serialize + Archive,

source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/gateway/message/server_msg_payloads/struct.RoomCreatePayloadResolver.html b/client_sdk/models/gateway/message/server_msg_payloads/struct.RoomCreatePayloadResolver.html new file mode 100644 index 000000000..d0422353d --- /dev/null +++ b/client_sdk/models/gateway/message/server_msg_payloads/struct.RoomCreatePayloadResolver.html @@ -0,0 +1,22 @@ +RoomCreatePayloadResolver in client_sdk::models::gateway::message::server_msg_payloads - Rust
pub struct RoomCreatePayloadResolver
where + Arc<()>: Archive,
{ /* private fields */ }
Expand description

The resolver for an archived RoomCreatePayload

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/gateway/message/server_msg_payloads/struct.RoomDeletePayload.html b/client_sdk/models/gateway/message/server_msg_payloads/struct.RoomDeletePayload.html new file mode 100644 index 000000000..02e608914 --- /dev/null +++ b/client_sdk/models/gateway/message/server_msg_payloads/struct.RoomDeletePayload.html @@ -0,0 +1,64 @@ +RoomDeletePayload in client_sdk::models::gateway::message::server_msg_payloads - Rust
pub struct RoomDeletePayload {
+    pub inner: Arc<RoomDeleteEvent>,
+}
Expand description

Payload struct for ServerMsg::RoomDelete

+

Fields§

§inner: Arc<RoomDeleteEvent>

Methods from Deref<Target = Arc<RoomDeleteEvent>>§

pub fn with_raw_offset_arc<F, U>(&self, f: F) -> U
where + F: FnOnce(&OffsetArc<T>) -> U,

Temporarily converts |self| into a bonafide OffsetArc and exposes it to the +provided callback. The refcount is not modified.

+

pub fn as_ptr(&self) -> *const T

Returns the raw pointer.

+

Same as into_raw except self isn’t consumed.

+

pub fn borrow_arc(&self) -> ArcBorrow<'_, T>

Produce a pointer to the data that can be converted back +to an Arc. This is basically an &Arc<T>, without the extra indirection. +It has the benefits of an &T but also knows about the underlying refcount +and can be converted into more Arc<T>s if necessary.

+

pub fn heap_ptr(&self) -> *const c_void

Returns the address on the heap of the Arc itself – not the T within it – for memory +reporting.

+

pub fn is_unique(&self) -> bool

Whether or not the Arc is uniquely owned (is the refcount 1?).

+

Trait Implementations§

source§

impl Archive for RoomDeletePayload
where + Arc<RoomDeleteEvent>: Archive,

source§

type Archived = ArchivedRoomDeletePayload

The archived representation of this type. Read more
source§

type Resolver = RoomDeletePayloadResolver

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
source§

impl Debug for RoomDeletePayload

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Deref for RoomDeletePayload

source§

type Target = Arc<RoomDeleteEvent>

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl<'de> Deserialize<'de> for RoomDeletePayload

source§

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<__D: Fallible + ?Sized> Deserialize<RoomDeletePayload, __D> for Archived<RoomDeletePayload>
where + Arc<RoomDeleteEvent>: Archive, + <Arc<RoomDeleteEvent> as Archive>::Archived: Deserialize<Arc<RoomDeleteEvent>, __D>,

source§

fn deserialize( + &self, + deserializer: &mut __D, +) -> Result<RoomDeletePayload, <__D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<__S: Fallible + ?Sized> Serialize<__S> for RoomDeletePayload
where + Arc<RoomDeleteEvent>: Serialize<__S>,

source§

fn serialize( + &self, + serializer: &mut __S, +) -> Result<<Self as Archive>::Resolver, <__S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.
source§

impl Serialize for RoomDeletePayload

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
source§

impl<T> CommandBody for T
where + T: Send + Serialize + Archive,

source§

impl<T> CommandResult for T
where + T: Send + DeserializeOwned + Serialize + Archive,

source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/gateway/message/server_msg_payloads/struct.RoomDeletePayloadResolver.html b/client_sdk/models/gateway/message/server_msg_payloads/struct.RoomDeletePayloadResolver.html new file mode 100644 index 000000000..cf2fd46a2 --- /dev/null +++ b/client_sdk/models/gateway/message/server_msg_payloads/struct.RoomDeletePayloadResolver.html @@ -0,0 +1,22 @@ +RoomDeletePayloadResolver in client_sdk::models::gateway::message::server_msg_payloads - Rust
pub struct RoomDeletePayloadResolver
where + Arc<RoomDeleteEvent>: Archive,
{ /* private fields */ }
Expand description

The resolver for an archived RoomDeletePayload

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/gateway/message/server_msg_payloads/struct.RoomPinsUpdatePayload.html b/client_sdk/models/gateway/message/server_msg_payloads/struct.RoomPinsUpdatePayload.html new file mode 100644 index 000000000..c66523a1c --- /dev/null +++ b/client_sdk/models/gateway/message/server_msg_payloads/struct.RoomPinsUpdatePayload.html @@ -0,0 +1,46 @@ +RoomPinsUpdatePayload in client_sdk::models::gateway::message::server_msg_payloads - Rust
pub struct RoomPinsUpdatePayload {}
Expand description

Payload struct for ServerMsg::RoomPinsUpdate

+

Trait Implementations§

source§

impl Archive for RoomPinsUpdatePayload

source§

type Archived = ArchivedRoomPinsUpdatePayload

The archived representation of this type. Read more
source§

type Resolver = RoomPinsUpdatePayloadResolver

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
source§

impl Debug for RoomPinsUpdatePayload

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for RoomPinsUpdatePayload

source§

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<__D: Fallible + ?Sized> Deserialize<RoomPinsUpdatePayload, __D> for Archived<RoomPinsUpdatePayload>

source§

fn deserialize( + &self, + deserializer: &mut __D, +) -> Result<RoomPinsUpdatePayload, <__D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<__S: Fallible + ?Sized> Serialize<__S> for RoomPinsUpdatePayload

source§

fn serialize( + &self, + serializer: &mut __S, +) -> Result<<Self as Archive>::Resolver, <__S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.
source§

impl Serialize for RoomPinsUpdatePayload

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
source§

impl<T> CommandBody for T
where + T: Send + Serialize + Archive,

source§

impl<T> CommandResult for T
where + T: Send + DeserializeOwned + Serialize + Archive,

source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/gateway/message/server_msg_payloads/struct.RoomPinsUpdatePayloadResolver.html b/client_sdk/models/gateway/message/server_msg_payloads/struct.RoomPinsUpdatePayloadResolver.html new file mode 100644 index 000000000..115bab48f --- /dev/null +++ b/client_sdk/models/gateway/message/server_msg_payloads/struct.RoomPinsUpdatePayloadResolver.html @@ -0,0 +1,21 @@ +RoomPinsUpdatePayloadResolver in client_sdk::models::gateway::message::server_msg_payloads - Rust
pub struct RoomPinsUpdatePayloadResolver {}
Expand description

The resolver for an archived RoomPinsUpdatePayload

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/gateway/message/server_msg_payloads/struct.RoomUpdatePayload.html b/client_sdk/models/gateway/message/server_msg_payloads/struct.RoomUpdatePayload.html new file mode 100644 index 000000000..2c5010846 --- /dev/null +++ b/client_sdk/models/gateway/message/server_msg_payloads/struct.RoomUpdatePayload.html @@ -0,0 +1,64 @@ +RoomUpdatePayload in client_sdk::models::gateway::message::server_msg_payloads - Rust
pub struct RoomUpdatePayload {
+    pub inner: Arc<()>,
+}
Expand description

Payload struct for ServerMsg::RoomUpdate

+

Fields§

§inner: Arc<()>

Methods from Deref<Target = Arc<()>>§

pub fn with_raw_offset_arc<F, U>(&self, f: F) -> U
where + F: FnOnce(&OffsetArc<T>) -> U,

Temporarily converts |self| into a bonafide OffsetArc and exposes it to the +provided callback. The refcount is not modified.

+

pub fn as_ptr(&self) -> *const T

Returns the raw pointer.

+

Same as into_raw except self isn’t consumed.

+

pub fn borrow_arc(&self) -> ArcBorrow<'_, T>

Produce a pointer to the data that can be converted back +to an Arc. This is basically an &Arc<T>, without the extra indirection. +It has the benefits of an &T but also knows about the underlying refcount +and can be converted into more Arc<T>s if necessary.

+

pub fn heap_ptr(&self) -> *const c_void

Returns the address on the heap of the Arc itself – not the T within it – for memory +reporting.

+

pub fn is_unique(&self) -> bool

Whether or not the Arc is uniquely owned (is the refcount 1?).

+

Trait Implementations§

source§

impl Archive for RoomUpdatePayload
where + Arc<()>: Archive,

source§

type Archived = ArchivedRoomUpdatePayload

The archived representation of this type. Read more
source§

type Resolver = RoomUpdatePayloadResolver

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
source§

impl Debug for RoomUpdatePayload

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Deref for RoomUpdatePayload

source§

type Target = Arc<()>

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl<'de> Deserialize<'de> for RoomUpdatePayload

source§

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<__D: Fallible + ?Sized> Deserialize<RoomUpdatePayload, __D> for Archived<RoomUpdatePayload>
where + Arc<()>: Archive, + <Arc<()> as Archive>::Archived: Deserialize<Arc<()>, __D>,

source§

fn deserialize( + &self, + deserializer: &mut __D, +) -> Result<RoomUpdatePayload, <__D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<__S: Fallible + ?Sized> Serialize<__S> for RoomUpdatePayload
where + Arc<()>: Serialize<__S>,

source§

fn serialize( + &self, + serializer: &mut __S, +) -> Result<<Self as Archive>::Resolver, <__S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.
source§

impl Serialize for RoomUpdatePayload

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
source§

impl<T> CommandBody for T
where + T: Send + Serialize + Archive,

source§

impl<T> CommandResult for T
where + T: Send + DeserializeOwned + Serialize + Archive,

source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/gateway/message/server_msg_payloads/struct.RoomUpdatePayloadResolver.html b/client_sdk/models/gateway/message/server_msg_payloads/struct.RoomUpdatePayloadResolver.html new file mode 100644 index 000000000..c0d080afd --- /dev/null +++ b/client_sdk/models/gateway/message/server_msg_payloads/struct.RoomUpdatePayloadResolver.html @@ -0,0 +1,22 @@ +RoomUpdatePayloadResolver in client_sdk::models::gateway::message::server_msg_payloads - Rust
pub struct RoomUpdatePayloadResolver
where + Arc<()>: Archive,
{ /* private fields */ }
Expand description

The resolver for an archived RoomUpdatePayload

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/gateway/message/server_msg_payloads/struct.TypingStartPayload.html b/client_sdk/models/gateway/message/server_msg_payloads/struct.TypingStartPayload.html new file mode 100644 index 000000000..d5f3dc6d6 --- /dev/null +++ b/client_sdk/models/gateway/message/server_msg_payloads/struct.TypingStartPayload.html @@ -0,0 +1,64 @@ +TypingStartPayload in client_sdk::models::gateway::message::server_msg_payloads - Rust
pub struct TypingStartPayload {
+    pub inner: Arc<TypingStart>,
+}
Expand description

Payload struct for ServerMsg::TypingStart

+

Fields§

§inner: Arc<TypingStart>

Methods from Deref<Target = Arc<TypingStart>>§

pub fn with_raw_offset_arc<F, U>(&self, f: F) -> U
where + F: FnOnce(&OffsetArc<T>) -> U,

Temporarily converts |self| into a bonafide OffsetArc and exposes it to the +provided callback. The refcount is not modified.

+

pub fn as_ptr(&self) -> *const T

Returns the raw pointer.

+

Same as into_raw except self isn’t consumed.

+

pub fn borrow_arc(&self) -> ArcBorrow<'_, T>

Produce a pointer to the data that can be converted back +to an Arc. This is basically an &Arc<T>, without the extra indirection. +It has the benefits of an &T but also knows about the underlying refcount +and can be converted into more Arc<T>s if necessary.

+

pub fn heap_ptr(&self) -> *const c_void

Returns the address on the heap of the Arc itself – not the T within it – for memory +reporting.

+

pub fn is_unique(&self) -> bool

Whether or not the Arc is uniquely owned (is the refcount 1?).

+

Trait Implementations§

source§

impl Archive for TypingStartPayload
where + Arc<TypingStart>: Archive,

source§

type Archived = ArchivedTypingStartPayload

The archived representation of this type. Read more
source§

type Resolver = TypingStartPayloadResolver

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
source§

impl Debug for TypingStartPayload

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Deref for TypingStartPayload

source§

type Target = Arc<TypingStart>

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl<'de> Deserialize<'de> for TypingStartPayload

source§

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<__D: Fallible + ?Sized> Deserialize<TypingStartPayload, __D> for Archived<TypingStartPayload>
where + Arc<TypingStart>: Archive, + <Arc<TypingStart> as Archive>::Archived: Deserialize<Arc<TypingStart>, __D>,

source§

fn deserialize( + &self, + deserializer: &mut __D, +) -> Result<TypingStartPayload, <__D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<__S: Fallible + ?Sized> Serialize<__S> for TypingStartPayload
where + Arc<TypingStart>: Serialize<__S>,

source§

fn serialize( + &self, + serializer: &mut __S, +) -> Result<<Self as Archive>::Resolver, <__S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.
source§

impl Serialize for TypingStartPayload

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
source§

impl<T> CommandBody for T
where + T: Send + Serialize + Archive,

source§

impl<T> CommandResult for T
where + T: Send + DeserializeOwned + Serialize + Archive,

source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/gateway/message/server_msg_payloads/struct.TypingStartPayloadResolver.html b/client_sdk/models/gateway/message/server_msg_payloads/struct.TypingStartPayloadResolver.html new file mode 100644 index 000000000..410b17ac6 --- /dev/null +++ b/client_sdk/models/gateway/message/server_msg_payloads/struct.TypingStartPayloadResolver.html @@ -0,0 +1,22 @@ +TypingStartPayloadResolver in client_sdk::models::gateway::message::server_msg_payloads - Rust
pub struct TypingStartPayloadResolver
where + Arc<TypingStart>: Archive,
{ /* private fields */ }
Expand description

The resolver for an archived TypingStartPayload

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/gateway/message/server_msg_payloads/struct.UserUpdatePayload.html b/client_sdk/models/gateway/message/server_msg_payloads/struct.UserUpdatePayload.html new file mode 100644 index 000000000..bcfc8528d --- /dev/null +++ b/client_sdk/models/gateway/message/server_msg_payloads/struct.UserUpdatePayload.html @@ -0,0 +1,52 @@ +UserUpdatePayload in client_sdk::models::gateway::message::server_msg_payloads - Rust
pub struct UserUpdatePayload {
+    pub user: Arc<User>,
+}
Expand description

Payload struct for ServerMsg::UserUpdate

+

Fields§

§user: Arc<User>

Trait Implementations§

source§

impl Archive for UserUpdatePayload
where + Arc<User>: Archive,

source§

type Archived = ArchivedUserUpdatePayload

The archived representation of this type. Read more
source§

type Resolver = UserUpdatePayloadResolver

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
source§

impl Debug for UserUpdatePayload

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for UserUpdatePayload

source§

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<__D: Fallible + ?Sized> Deserialize<UserUpdatePayload, __D> for Archived<UserUpdatePayload>
where + Arc<User>: Archive, + <Arc<User> as Archive>::Archived: Deserialize<Arc<User>, __D>,

source§

fn deserialize( + &self, + deserializer: &mut __D, +) -> Result<UserUpdatePayload, <__D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<__S: Fallible + ?Sized> Serialize<__S> for UserUpdatePayload
where + Arc<User>: Serialize<__S>,

source§

fn serialize( + &self, + serializer: &mut __S, +) -> Result<<Self as Archive>::Resolver, <__S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.
source§

impl Serialize for UserUpdatePayload

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
source§

impl<T> CommandBody for T
where + T: Send + Serialize + Archive,

source§

impl<T> CommandResult for T
where + T: Send + DeserializeOwned + Serialize + Archive,

source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/gateway/message/server_msg_payloads/struct.UserUpdatePayloadResolver.html b/client_sdk/models/gateway/message/server_msg_payloads/struct.UserUpdatePayloadResolver.html new file mode 100644 index 000000000..d9945fb6c --- /dev/null +++ b/client_sdk/models/gateway/message/server_msg_payloads/struct.UserUpdatePayloadResolver.html @@ -0,0 +1,22 @@ +UserUpdatePayloadResolver in client_sdk::models::gateway::message::server_msg_payloads - Rust
pub struct UserUpdatePayloadResolver
where + Arc<User>: Archive,
{ /* private fields */ }
Expand description

The resolver for an archived UserUpdatePayload

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/gateway/message/sidebar-items.js b/client_sdk/models/gateway/message/sidebar-items.js new file mode 100644 index 000000000..547365eeb --- /dev/null +++ b/client_sdk/models/gateway/message/sidebar-items.js @@ -0,0 +1 @@ +window.SIDEBAR_ITEMS = {"enum":["ArchivedClientMsg","ArchivedServerMsg","ClientMsg","ClientMsgOpcode","ClientMsgResolver","ServerMsg","ServerMsgOpcode","ServerMsgResolver"],"mod":["client_msg_payloads","server_msg_payloads"],"struct":["DynamicClientMsgHandlers","DynamicServerMsgHandlers"],"trait":["ClientMsgHandlers","ServerMsgHandlers"]}; \ No newline at end of file diff --git a/client_sdk/models/gateway/message/struct.DynamicClientMsgHandlers.html b/client_sdk/models/gateway/message/struct.DynamicClientMsgHandlers.html new file mode 100644 index 000000000..b9a7c0f4c --- /dev/null +++ b/client_sdk/models/gateway/message/struct.DynamicClientMsgHandlers.html @@ -0,0 +1,43 @@ +DynamicClientMsgHandlers in client_sdk::models::gateway::message - Rust
pub struct DynamicClientMsgHandlers<C, U = (), S = ()> { /* private fields */ }

Implementations§

source§

impl<C, U> DynamicClientMsgHandlers<C, U, ()>

source

pub fn new<F, R>(fallback: F) -> Self
where + F: Fn(Arc<()>, C, ClientMsg) -> R + Send + Sync + 'static, + R: Future<Output = U> + Send + 'static,

source§

impl<C, U, S> DynamicClientMsgHandlers<C, U, S>

source

pub fn new_with_state<F, R>(state: S, fallback: F) -> Self
where + F: Fn(Arc<S>, C, ClientMsg) -> R + Send + Sync + 'static, + R: Future<Output = U> + Send + 'static,

source

pub fn new_raw_with_state( + state: impl Into<Arc<S>>, + fallback: Box<dyn Fn(Arc<S>, C, ClientMsg) -> BoxFuture<'static, U> + Send + Sync>, +) -> Self

source

pub fn state(&self) -> &S

source

pub fn on_heartbeat<F, R>(&mut self, cb: F) -> &mut Self
where + F: Fn(Arc<S>, C) -> R + Send + Sync + 'static, + R: Future<Output = U> + Send + 'static,

source

pub fn on_identify<F, R>(&mut self, cb: F) -> &mut Self
where + F: Fn(Arc<S>, C, Box<Identify>) -> R + Send + Sync + 'static, + R: Future<Output = U> + Send + 'static,

source

pub fn on_resume<F, R>(&mut self, cb: F) -> &mut Self
where + F: Fn(Arc<S>, C, Snowflake) -> R + Send + Sync + 'static, + R: Future<Output = U> + Send + 'static,

source

pub fn on_set_presence<F, R>(&mut self, cb: F) -> &mut Self
where + F: Fn(Arc<S>, C, Box<SetPresence>) -> R + Send + Sync + 'static, + R: Future<Output = U> + Send + 'static,

source

pub fn on_subscribe<F, R>(&mut self, cb: F) -> &mut Self
where + F: Fn(Arc<S>, C, PartyId) -> R + Send + Sync + 'static, + R: Future<Output = U> + Send + 'static,

source

pub fn on_unsubscribe<F, R>(&mut self, cb: F) -> &mut Self
where + F: Fn(Arc<S>, C, PartyId) -> R + Send + Sync + 'static, + R: Future<Output = U> + Send + 'static,

Trait Implementations§

source§

impl<C: Send + 'static, U, S> ClientMsgHandlers<C, U> for DynamicClientMsgHandlers<C, U, S>
where + S: Send + Sync,

source§

async fn fallback(&self, ctx: C, msg: ClientMsg) -> U

Callback for unhandled messages
source§

async fn heartbeat(&self, ctx: C) -> U

Handler callback for ClientMsg::Heartbeat
source§

async fn identify(&self, ctx: C, inner: Box<Identify>) -> U

Handler callback for ClientMsg::Identify
source§

async fn resume(&self, ctx: C, session: Snowflake) -> U

Handler callback for ClientMsg::Resume
source§

async fn set_presence(&self, ctx: C, inner: Box<SetPresence>) -> U

Handler callback for ClientMsg::SetPresence
source§

async fn subscribe(&self, ctx: C, party_id: PartyId) -> U

Handler callback for ClientMsg::Subscribe
source§

async fn unsubscribe(&self, ctx: C, party_id: PartyId) -> U

Handler callback for ClientMsg::Unsubscribe
source§

async fn dispatch(&self, ctx: C, msg: ClientMsg) -> U

Dispatches a message to the appropriate event handler
source§

impl<C> Default for DynamicClientMsgHandlers<C, (), ()>

source§

fn default() -> Self

Returns the “default value” for a type. Read more

Auto Trait Implementations§

§

impl<C, U, S> Freeze for DynamicClientMsgHandlers<C, U, S>

§

impl<C, U = (), S = ()> !RefUnwindSafe for DynamicClientMsgHandlers<C, U, S>

§

impl<C, U, S> Send for DynamicClientMsgHandlers<C, U, S>
where + S: Sync + Send,

§

impl<C, U, S> Sync for DynamicClientMsgHandlers<C, U, S>
where + S: Sync + Send,

§

impl<C, U, S> Unpin for DynamicClientMsgHandlers<C, U, S>
where + S: Unpin,

§

impl<C, U = (), S = ()> !UnwindSafe for DynamicClientMsgHandlers<C, U, S>

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/gateway/message/struct.DynamicServerMsgHandlers.html b/client_sdk/models/gateway/message/struct.DynamicServerMsgHandlers.html new file mode 100644 index 000000000..18c3148a0 --- /dev/null +++ b/client_sdk/models/gateway/message/struct.DynamicServerMsgHandlers.html @@ -0,0 +1,99 @@ +DynamicServerMsgHandlers in client_sdk::models::gateway::message - Rust
pub struct DynamicServerMsgHandlers<C, U = (), S = ()> { /* private fields */ }

Implementations§

source§

impl<C, U> DynamicServerMsgHandlers<C, U, ()>

source

pub fn new<F, R>(fallback: F) -> Self
where + F: Fn(Arc<()>, C, ServerMsg) -> R + Send + Sync + 'static, + R: Future<Output = U> + Send + 'static,

source§

impl<C, U, S> DynamicServerMsgHandlers<C, U, S>

source

pub fn new_with_state<F, R>(state: S, fallback: F) -> Self
where + F: Fn(Arc<S>, C, ServerMsg) -> R + Send + Sync + 'static, + R: Future<Output = U> + Send + 'static,

source

pub fn new_raw_with_state( + state: impl Into<Arc<S>>, + fallback: Box<dyn Fn(Arc<S>, C, ServerMsg) -> BoxFuture<'static, U> + Send + Sync>, +) -> Self

source

pub fn state(&self) -> &S

source

pub fn on_hello<F, R>(&mut self, cb: F) -> &mut Self
where + F: Fn(Arc<S>, C, Hello) -> R + Send + Sync + 'static, + R: Future<Output = U> + Send + 'static,

source

pub fn on_heartbeat_ack<F, R>(&mut self, cb: F) -> &mut Self
where + F: Fn(Arc<S>, C) -> R + Send + Sync + 'static, + R: Future<Output = U> + Send + 'static,

source

pub fn on_ready<F, R>(&mut self, cb: F) -> &mut Self
where + F: Fn(Arc<S>, C, Arc<Ready>) -> R + Send + Sync + 'static, + R: Future<Output = U> + Send + 'static,

source

pub fn on_invalid_session<F, R>(&mut self, cb: F) -> &mut Self
where + F: Fn(Arc<S>, C) -> R + Send + Sync + 'static, + R: Future<Output = U> + Send + 'static,

source

pub fn on_party_create<F, R>(&mut self, cb: F) -> &mut Self
where + F: Fn(Arc<S>, C, Arc<Party>) -> R + Send + Sync + 'static, + R: Future<Output = U> + Send + 'static,

source

pub fn on_party_update<F, R>(&mut self, cb: F) -> &mut Self
where + F: Fn(Arc<S>, C, Arc<PartyUpdateEvent>) -> R + Send + Sync + 'static, + R: Future<Output = U> + Send + 'static,

source

pub fn on_party_delete<F, R>(&mut self, cb: F) -> &mut Self
where + F: Fn(Arc<S>, C, PartyId) -> R + Send + Sync + 'static, + R: Future<Output = U> + Send + 'static,

source

pub fn on_role_create<F, R>(&mut self, cb: F) -> &mut Self
where + F: Fn(Arc<S>, C, Arc<Role>) -> R + Send + Sync + 'static, + R: Future<Output = U> + Send + 'static,

source

pub fn on_role_update<F, R>(&mut self, cb: F) -> &mut Self
where + F: Fn(Arc<S>, C, Arc<Role>) -> R + Send + Sync + 'static, + R: Future<Output = U> + Send + 'static,

source

pub fn on_role_delete<F, R>(&mut self, cb: F) -> &mut Self
where + F: Fn(Arc<S>, C, Arc<RoleDeleteEvent>) -> R + Send + Sync + 'static, + R: Future<Output = U> + Send + 'static,

source

pub fn on_member_add<F, R>(&mut self, cb: F) -> &mut Self
where + F: Fn(Arc<S>, C, Arc<PartyMemberEvent>) -> R + Send + Sync + 'static, + R: Future<Output = U> + Send + 'static,

source

pub fn on_member_update<F, R>(&mut self, cb: F) -> &mut Self
where + F: Fn(Arc<S>, C, Arc<PartyMemberEvent>) -> R + Send + Sync + 'static, + R: Future<Output = U> + Send + 'static,

source

pub fn on_member_remove<F, R>(&mut self, cb: F) -> &mut Self
where + F: Fn(Arc<S>, C, Arc<PartyMemberEvent>) -> R + Send + Sync + 'static, + R: Future<Output = U> + Send + 'static,

source

pub fn on_member_ban<F, R>(&mut self, cb: F) -> &mut Self
where + F: Fn(Arc<S>, C, Arc<PartyMemberEvent>) -> R + Send + Sync + 'static, + R: Future<Output = U> + Send + 'static,

source

pub fn on_member_unban<F, R>(&mut self, cb: F) -> &mut Self
where + F: Fn(Arc<S>, C, Arc<PartyMemberEvent>) -> R + Send + Sync + 'static, + R: Future<Output = U> + Send + 'static,

source

pub fn on_room_create<F, R>(&mut self, cb: F) -> &mut Self
where + F: Fn(Arc<S>, C, Arc<()>) -> R + Send + Sync + 'static, + R: Future<Output = U> + Send + 'static,

source

pub fn on_room_update<F, R>(&mut self, cb: F) -> &mut Self
where + F: Fn(Arc<S>, C, Arc<()>) -> R + Send + Sync + 'static, + R: Future<Output = U> + Send + 'static,

source

pub fn on_room_delete<F, R>(&mut self, cb: F) -> &mut Self
where + F: Fn(Arc<S>, C, Arc<RoomDeleteEvent>) -> R + Send + Sync + 'static, + R: Future<Output = U> + Send + 'static,

source

pub fn on_room_pins_update<F, R>(&mut self, cb: F) -> &mut Self
where + F: Fn(Arc<S>, C) -> R + Send + Sync + 'static, + R: Future<Output = U> + Send + 'static,

source

pub fn on_message_create<F, R>(&mut self, cb: F) -> &mut Self
where + F: Fn(Arc<S>, C, Arc<RoomMessage>) -> R + Send + Sync + 'static, + R: Future<Output = U> + Send + 'static,

source

pub fn on_message_update<F, R>(&mut self, cb: F) -> &mut Self
where + F: Fn(Arc<S>, C, Arc<RoomMessage>) -> R + Send + Sync + 'static, + R: Future<Output = U> + Send + 'static,

source

pub fn on_message_delete<F, R>(&mut self, cb: F) -> &mut Self
where + F: Fn(Arc<S>, C, Arc<MessageDeleteEvent>) -> R + Send + Sync + 'static, + R: Future<Output = U> + Send + 'static,

source

pub fn on_message_reaction_add<F, R>(&mut self, cb: F) -> &mut Self
where + F: Fn(Arc<S>, C, Arc<UserReactionEvent>) -> R + Send + Sync + 'static, + R: Future<Output = U> + Send + 'static,

source

pub fn on_message_reaction_remove<F, R>(&mut self, cb: F) -> &mut Self
where + F: Fn(Arc<S>, C, Arc<UserReactionEvent>) -> R + Send + Sync + 'static, + R: Future<Output = U> + Send + 'static,

source

pub fn on_message_reaction_remove_all<F, R>(&mut self, cb: F) -> &mut Self
where + F: Fn(Arc<S>, C) -> R + Send + Sync + 'static, + R: Future<Output = U> + Send + 'static,

source

pub fn on_message_reaction_remove_emote<F, R>(&mut self, cb: F) -> &mut Self
where + F: Fn(Arc<S>, C) -> R + Send + Sync + 'static, + R: Future<Output = U> + Send + 'static,

source

pub fn on_presence_update<F, R>(&mut self, cb: F) -> &mut Self
where + F: Fn(Arc<S>, C, Arc<UserPresenceEvent>) -> R + Send + Sync + 'static, + R: Future<Output = U> + Send + 'static,

source

pub fn on_typing_start<F, R>(&mut self, cb: F) -> &mut Self
where + F: Fn(Arc<S>, C, Arc<TypingStart>) -> R + Send + Sync + 'static, + R: Future<Output = U> + Send + 'static,

source

pub fn on_user_update<F, R>(&mut self, cb: F) -> &mut Self
where + F: Fn(Arc<S>, C, Arc<User>) -> R + Send + Sync + 'static, + R: Future<Output = U> + Send + 'static,

source

pub fn on_profile_update<F, R>(&mut self, cb: F) -> &mut Self
where + F: Fn(Arc<S>, C, Arc<ProfileUpdateEvent>) -> R + Send + Sync + 'static, + R: Future<Output = U> + Send + 'static,

source

pub fn on_relation_add<F, R>(&mut self, cb: F) -> &mut Self
where + F: Fn(Arc<S>, C, Arc<Relationship>) -> R + Send + Sync + 'static, + R: Future<Output = U> + Send + 'static,

source

pub fn on_relation_remove<F, R>(&mut self, cb: F) -> &mut Self
where + F: Fn(Arc<S>, C, UserId) -> R + Send + Sync + 'static, + R: Future<Output = U> + Send + 'static,

Trait Implementations§

source§

impl<C> Default for DynamicServerMsgHandlers<C, (), ()>

source§

fn default() -> Self

Returns the “default value” for a type. Read more
source§

impl<C: Send + 'static, U, S> ServerMsgHandlers<C, U> for DynamicServerMsgHandlers<C, U, S>
where + S: Send + Sync,

source§

async fn fallback(&self, ctx: C, msg: ServerMsg) -> U

Callback for unhandled messages
source§

async fn hello(&self, ctx: C, inner: Hello) -> U

The Hello message initiates the gateway session and expects a ClientMsg::Identify in return. Read more
source§

async fn heartbeat_ack(&self, ctx: C) -> U

Acknowledgement of a heartbeat Read more
source§

async fn ready(&self, ctx: C, inner: Arc<Ready>) -> U

Handler callback for ServerMsg::Ready
source§

async fn invalid_session(&self, ctx: C) -> U

Sent when the session is no longer valid Read more
source§

async fn party_create(&self, ctx: C, inner: Arc<Party>) -> U

Handler callback for ServerMsg::PartyCreate
source§

async fn party_update(&self, ctx: C, inner: Arc<PartyUpdateEvent>) -> U

Handler callback for ServerMsg::PartyUpdate
source§

async fn party_delete(&self, ctx: C, id: PartyId) -> U

Handler callback for ServerMsg::PartyDelete
source§

async fn role_create(&self, ctx: C, inner: Arc<Role>) -> U

Handler callback for ServerMsg::RoleCreate
source§

async fn role_update(&self, ctx: C, inner: Arc<Role>) -> U

Handler callback for ServerMsg::RoleUpdate
source§

async fn role_delete(&self, ctx: C, inner: Arc<RoleDeleteEvent>) -> U

Handler callback for ServerMsg::RoleDelete
source§

async fn member_add(&self, ctx: C, inner: Arc<PartyMemberEvent>) -> U

Handler callback for ServerMsg::MemberAdd
source§

async fn member_update(&self, ctx: C, inner: Arc<PartyMemberEvent>) -> U

Handler callback for ServerMsg::MemberUpdate
source§

async fn member_remove(&self, ctx: C, inner: Arc<PartyMemberEvent>) -> U

Handler callback for ServerMsg::MemberRemove
source§

async fn member_ban(&self, ctx: C, inner: Arc<PartyMemberEvent>) -> U

Handler callback for ServerMsg::MemberBan
source§

async fn member_unban(&self, ctx: C, inner: Arc<PartyMemberEvent>) -> U

Handler callback for ServerMsg::MemberUnban
source§

async fn room_create(&self, ctx: C, inner: Arc<()>) -> U

Handler callback for ServerMsg::RoomCreate
source§

async fn room_update(&self, ctx: C, inner: Arc<()>) -> U

Handler callback for ServerMsg::RoomUpdate
source§

async fn room_delete(&self, ctx: C, inner: Arc<RoomDeleteEvent>) -> U

Handler callback for ServerMsg::RoomDelete
source§

async fn room_pins_update(&self, ctx: C) -> U

Handler callback for ServerMsg::RoomPinsUpdate
source§

async fn message_create(&self, ctx: C, inner: Arc<RoomMessage>) -> U

Handler callback for ServerMsg::MessageCreate
source§

async fn message_update(&self, ctx: C, inner: Arc<RoomMessage>) -> U

Handler callback for ServerMsg::MessageUpdate
source§

async fn message_delete(&self, ctx: C, inner: Arc<MessageDeleteEvent>) -> U

Handler callback for ServerMsg::MessageDelete
source§

async fn message_reaction_add(&self, ctx: C, inner: Arc<UserReactionEvent>) -> U

Handler callback for ServerMsg::MessageReactionAdd
source§

async fn message_reaction_remove( + &self, + ctx: C, + inner: Arc<UserReactionEvent>, +) -> U

source§

async fn message_reaction_remove_all(&self, ctx: C) -> U

source§

async fn message_reaction_remove_emote(&self, ctx: C) -> U

source§

async fn presence_update(&self, ctx: C, inner: Arc<UserPresenceEvent>) -> U

Handler callback for ServerMsg::PresenceUpdate
source§

async fn typing_start(&self, ctx: C, inner: Arc<TypingStart>) -> U

Handler callback for ServerMsg::TypingStart
source§

async fn user_update(&self, ctx: C, user: Arc<User>) -> U

Handler callback for ServerMsg::UserUpdate
source§

async fn profile_update(&self, ctx: C, inner: Arc<ProfileUpdateEvent>) -> U

Handler callback for ServerMsg::ProfileUpdate
source§

async fn relation_add(&self, ctx: C, inner: Arc<Relationship>) -> U

Handler callback for ServerMsg::RelationAdd
source§

async fn relation_remove(&self, ctx: C, user_id: UserId) -> U

Handler callback for ServerMsg::RelationRemove
source§

async fn dispatch(&self, ctx: C, msg: ServerMsg) -> U

Dispatches a message to the appropriate event handler

Auto Trait Implementations§

§

impl<C, U, S> Freeze for DynamicServerMsgHandlers<C, U, S>

§

impl<C, U = (), S = ()> !RefUnwindSafe for DynamicServerMsgHandlers<C, U, S>

§

impl<C, U, S> Send for DynamicServerMsgHandlers<C, U, S>
where + S: Sync + Send,

§

impl<C, U, S> Sync for DynamicServerMsgHandlers<C, U, S>
where + S: Sync + Send,

§

impl<C, U, S> Unpin for DynamicServerMsgHandlers<C, U, S>
where + S: Unpin,

§

impl<C, U = (), S = ()> !UnwindSafe for DynamicServerMsgHandlers<C, U, S>

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/gateway/message/trait.ClientMsgHandlers.html b/client_sdk/models/gateway/message/trait.ClientMsgHandlers.html new file mode 100644 index 000000000..c866952bd --- /dev/null +++ b/client_sdk/models/gateway/message/trait.ClientMsgHandlers.html @@ -0,0 +1,24 @@ +ClientMsgHandlers in client_sdk::models::gateway::message - Rust

Trait client_sdk::models::gateway::message::ClientMsgHandlers

source ·
pub trait ClientMsgHandlers<C, U = ()>: Send + Sync
where + C: Send + 'static,
{ + // Required method + async fn fallback(&self, ctx: C, msg: ClientMsg) -> U; + + // Provided methods + async fn dispatch(&self, ctx: C, msg: ClientMsg) -> U { ... } + async fn heartbeat(&self, ctx: C) -> U { ... } + async fn identify(&self, ctx: C, inner: Box<Identify>) -> U { ... } + async fn resume(&self, ctx: C, session: Snowflake) -> U { ... } + async fn set_presence(&self, ctx: C, inner: Box<SetPresence>) -> U { ... } + async fn subscribe(&self, ctx: C, party_id: PartyId) -> U { ... } + async fn unsubscribe(&self, ctx: C, party_id: PartyId) -> U { ... } +}
Expand description

Handler callbacks for ClientMsg

+

Required Methods§

source

async fn fallback(&self, ctx: C, msg: ClientMsg) -> U

Callback for unhandled messages

+

Provided Methods§

source

async fn dispatch(&self, ctx: C, msg: ClientMsg) -> U

Dispatches a message to the appropriate event handler

+
source

async fn heartbeat(&self, ctx: C) -> U

Handler callback for ClientMsg::Heartbeat

+
source

async fn identify(&self, ctx: C, inner: Box<Identify>) -> U

Handler callback for ClientMsg::Identify

+
source

async fn resume(&self, ctx: C, session: Snowflake) -> U

Handler callback for ClientMsg::Resume

+
source

async fn set_presence(&self, ctx: C, inner: Box<SetPresence>) -> U

Handler callback for ClientMsg::SetPresence

+
source

async fn subscribe(&self, ctx: C, party_id: PartyId) -> U

Handler callback for ClientMsg::Subscribe

+
source

async fn unsubscribe(&self, ctx: C, party_id: PartyId) -> U

Handler callback for ClientMsg::Unsubscribe

+

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<C: Send + 'static, U, S> ClientMsgHandlers<C, U> for DynamicClientMsgHandlers<C, U, S>
where + S: Send + Sync,

\ No newline at end of file diff --git a/client_sdk/models/gateway/message/trait.ServerMsgHandlers.html b/client_sdk/models/gateway/message/trait.ServerMsgHandlers.html new file mode 100644 index 000000000..c50a1e0b5 --- /dev/null +++ b/client_sdk/models/gateway/message/trait.ServerMsgHandlers.html @@ -0,0 +1,91 @@ +ServerMsgHandlers in client_sdk::models::gateway::message - Rust

Trait client_sdk::models::gateway::message::ServerMsgHandlers

source ·
pub trait ServerMsgHandlers<C, U = ()>: Send + Sync
where + C: Send + 'static,
{ +
Show 34 methods // Required method + async fn fallback(&self, ctx: C, msg: ServerMsg) -> U; + + // Provided methods + async fn dispatch(&self, ctx: C, msg: ServerMsg) -> U { ... } + async fn hello(&self, ctx: C, inner: Hello) -> U { ... } + async fn heartbeat_ack(&self, ctx: C) -> U { ... } + async fn ready(&self, ctx: C, inner: Arc<Ready>) -> U { ... } + async fn invalid_session(&self, ctx: C) -> U { ... } + async fn party_create(&self, ctx: C, inner: Arc<Party>) -> U { ... } + async fn party_update(&self, ctx: C, inner: Arc<PartyUpdateEvent>) -> U { ... } + async fn party_delete(&self, ctx: C, id: PartyId) -> U { ... } + async fn role_create(&self, ctx: C, inner: Arc<Role>) -> U { ... } + async fn role_update(&self, ctx: C, inner: Arc<Role>) -> U { ... } + async fn role_delete(&self, ctx: C, inner: Arc<RoleDeleteEvent>) -> U { ... } + async fn member_add(&self, ctx: C, inner: Arc<PartyMemberEvent>) -> U { ... } + async fn member_update(&self, ctx: C, inner: Arc<PartyMemberEvent>) -> U { ... } + async fn member_remove(&self, ctx: C, inner: Arc<PartyMemberEvent>) -> U { ... } + async fn member_ban(&self, ctx: C, inner: Arc<PartyMemberEvent>) -> U { ... } + async fn member_unban(&self, ctx: C, inner: Arc<PartyMemberEvent>) -> U { ... } + async fn room_create(&self, ctx: C, inner: Arc<()>) -> U { ... } + async fn room_update(&self, ctx: C, inner: Arc<()>) -> U { ... } + async fn room_delete(&self, ctx: C, inner: Arc<RoomDeleteEvent>) -> U { ... } + async fn room_pins_update(&self, ctx: C) -> U { ... } + async fn message_create(&self, ctx: C, inner: Arc<RoomMessage>) -> U { ... } + async fn message_update(&self, ctx: C, inner: Arc<RoomMessage>) -> U { ... } + async fn message_delete(&self, ctx: C, inner: Arc<MessageDeleteEvent>) -> U { ... } + async fn message_reaction_add( + &self, + ctx: C, + inner: Arc<UserReactionEvent>, + ) -> U { ... } + async fn message_reaction_remove( + &self, + ctx: C, + inner: Arc<UserReactionEvent>, + ) -> U { ... } + async fn message_reaction_remove_all(&self, ctx: C) -> U { ... } + async fn message_reaction_remove_emote(&self, ctx: C) -> U { ... } + async fn presence_update(&self, ctx: C, inner: Arc<UserPresenceEvent>) -> U { ... } + async fn typing_start(&self, ctx: C, inner: Arc<TypingStart>) -> U { ... } + async fn user_update(&self, ctx: C, user: Arc<User>) -> U { ... } + async fn profile_update(&self, ctx: C, inner: Arc<ProfileUpdateEvent>) -> U { ... } + async fn relation_add(&self, ctx: C, inner: Arc<Relationship>) -> U { ... } + async fn relation_remove(&self, ctx: C, user_id: UserId) -> U { ... } +
}
Expand description

Handler callbacks for ServerMsg

+

Required Methods§

source

async fn fallback(&self, ctx: C, msg: ServerMsg) -> U

Callback for unhandled messages

+

Provided Methods§

source

async fn dispatch(&self, ctx: C, msg: ServerMsg) -> U

Dispatches a message to the appropriate event handler

+
source

async fn hello(&self, ctx: C, inner: Hello) -> U

The Hello message initiates the gateway session and expects a ClientMsg::Identify in return.

+

Handler callback for ServerMsg::Hello

+
source

async fn heartbeat_ack(&self, ctx: C) -> U

Acknowledgement of a heartbeat

+

Handler callback for ServerMsg::HeartbeatAck

+
source

async fn ready(&self, ctx: C, inner: Arc<Ready>) -> U

Handler callback for ServerMsg::Ready

+
source

async fn invalid_session(&self, ctx: C) -> U

Sent when the session is no longer valid

+

Handler callback for ServerMsg::InvalidSession

+
source

async fn party_create(&self, ctx: C, inner: Arc<Party>) -> U

Handler callback for ServerMsg::PartyCreate

+
source

async fn party_update(&self, ctx: C, inner: Arc<PartyUpdateEvent>) -> U

Handler callback for ServerMsg::PartyUpdate

+
source

async fn party_delete(&self, ctx: C, id: PartyId) -> U

Handler callback for ServerMsg::PartyDelete

+
source

async fn role_create(&self, ctx: C, inner: Arc<Role>) -> U

Handler callback for ServerMsg::RoleCreate

+
source

async fn role_update(&self, ctx: C, inner: Arc<Role>) -> U

Handler callback for ServerMsg::RoleUpdate

+
source

async fn role_delete(&self, ctx: C, inner: Arc<RoleDeleteEvent>) -> U

Handler callback for ServerMsg::RoleDelete

+
source

async fn member_add(&self, ctx: C, inner: Arc<PartyMemberEvent>) -> U

Handler callback for ServerMsg::MemberAdd

+
source

async fn member_update(&self, ctx: C, inner: Arc<PartyMemberEvent>) -> U

Handler callback for ServerMsg::MemberUpdate

+
source

async fn member_remove(&self, ctx: C, inner: Arc<PartyMemberEvent>) -> U

Handler callback for ServerMsg::MemberRemove

+
source

async fn member_ban(&self, ctx: C, inner: Arc<PartyMemberEvent>) -> U

Handler callback for ServerMsg::MemberBan

+
source

async fn member_unban(&self, ctx: C, inner: Arc<PartyMemberEvent>) -> U

Handler callback for ServerMsg::MemberUnban

+
source

async fn room_create(&self, ctx: C, inner: Arc<()>) -> U

Handler callback for ServerMsg::RoomCreate

+
source

async fn room_update(&self, ctx: C, inner: Arc<()>) -> U

Handler callback for ServerMsg::RoomUpdate

+
source

async fn room_delete(&self, ctx: C, inner: Arc<RoomDeleteEvent>) -> U

Handler callback for ServerMsg::RoomDelete

+
source

async fn room_pins_update(&self, ctx: C) -> U

Handler callback for ServerMsg::RoomPinsUpdate

+
source

async fn message_create(&self, ctx: C, inner: Arc<RoomMessage>) -> U

Handler callback for ServerMsg::MessageCreate

+
source

async fn message_update(&self, ctx: C, inner: Arc<RoomMessage>) -> U

Handler callback for ServerMsg::MessageUpdate

+
source

async fn message_delete(&self, ctx: C, inner: Arc<MessageDeleteEvent>) -> U

Handler callback for ServerMsg::MessageDelete

+
source

async fn message_reaction_add(&self, ctx: C, inner: Arc<UserReactionEvent>) -> U

Handler callback for ServerMsg::MessageReactionAdd

+
source

async fn message_reaction_remove( + &self, + ctx: C, + inner: Arc<UserReactionEvent>, +) -> U

Handler callback for ServerMsg::MessageReactionRemove

+
source

async fn message_reaction_remove_all(&self, ctx: C) -> U

source

async fn message_reaction_remove_emote(&self, ctx: C) -> U

source

async fn presence_update(&self, ctx: C, inner: Arc<UserPresenceEvent>) -> U

Handler callback for ServerMsg::PresenceUpdate

+
source

async fn typing_start(&self, ctx: C, inner: Arc<TypingStart>) -> U

Handler callback for ServerMsg::TypingStart

+
source

async fn user_update(&self, ctx: C, user: Arc<User>) -> U

Handler callback for ServerMsg::UserUpdate

+
source

async fn profile_update(&self, ctx: C, inner: Arc<ProfileUpdateEvent>) -> U

Handler callback for ServerMsg::ProfileUpdate

+
source

async fn relation_add(&self, ctx: C, inner: Arc<Relationship>) -> U

Handler callback for ServerMsg::RelationAdd

+
source

async fn relation_remove(&self, ctx: C, user_id: UserId) -> U

Handler callback for ServerMsg::RelationRemove

+

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<C: Send + 'static, U, S> ServerMsgHandlers<C, U> for DynamicServerMsgHandlers<C, U, S>
where + S: Send + Sync,

\ No newline at end of file diff --git a/client_sdk/models/gateway/sidebar-items.js b/client_sdk/models/gateway/sidebar-items.js new file mode 100644 index 000000000..6b2cc2bc4 --- /dev/null +++ b/client_sdk/models/gateway/sidebar-items.js @@ -0,0 +1 @@ +window.SIDEBAR_ITEMS = {"mod":["commands","events","message"],"struct":["ArchivedIntent","Intent"]}; \ No newline at end of file diff --git a/client_sdk/models/gateway/struct.ArchivedIntent.html b/client_sdk/models/gateway/struct.ArchivedIntent.html new file mode 100644 index 000000000..0d95735e5 --- /dev/null +++ b/client_sdk/models/gateway/struct.ArchivedIntent.html @@ -0,0 +1,71 @@ +ArchivedIntent in client_sdk::models::gateway - Rust

Struct client_sdk::models::gateway::ArchivedIntent

source ·
#[repr(transparent)]
pub struct ArchivedIntent(pub Archived<u32>);
Expand description

Archived version of Intent, automatically made endian-agnostic. +When comparing with the native bitflags, the archived bitflags will truncate any extra bits.

+

Tuple Fields§

§0: Archived<u32>

Implementations§

source§

impl ArchivedIntent

source

pub const fn to_native(&self) -> Option<Intent>

Converts this archived bitflags to the native bitflags type, returning None if any +bits are set that are not part of the bitflags.

+

See Intent::from_bits for more information.

+
source

pub const fn to_native_truncate(&self) -> Intent

Converts this archived bitflags to the native bitflags type, truncating any extra bits.

+

See Intent::from_bits_truncate for more information.

+
source

pub const fn to_native_retain(&self) -> Intent

Converts this archived bitflags to the native bitflags type, retaining all bits, even +if they are not part of the bitflags.

+

See Intent::from_bits_retain for more information.

+
source

pub const fn from_native(native: Intent) -> Self

Converts the native bitflags type to an archived bitflags.

+
source

pub const fn contains(&self, other: Intent) -> bool

Check if the archived bitflags contains all the given bitflags.

+

See Intent::contains for more information.

+
source

pub const fn intersects(&self, other: Intent) -> bool

Check if the archived bitflags intersect with any of the given bitflags.

+

See Intent::intersects for more information.

+
source

pub const fn is_empty(&self) -> bool

Whether all bits in this flags value are unset.

+
source

pub const fn is_all(&self) -> bool

Whether all known bits in this flags value are set.

+
source

pub const fn bits(&self) -> u32

Get the underlying raw bits value.

+

Note that this may contain bits that are not part of the original bitflags, +if serialized with a different version of the bitflags. Use to_native or +to_native_truncate to convert to the native bitflags type +without extra bits.

+

Trait Implementations§

source§

impl<C> CheckBytes<C> for ArchivedIntent
where + C: Fallible + ?Sized, + <C as Fallible>::Error: Source,

source§

unsafe fn check_bytes( + value: *const Self, + ctx: &mut C, +) -> Result<(), <C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Clone for ArchivedIntent

source§

fn clone(&self) -> ArchivedIntent

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ArchivedIntent

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<D: Fallible + ?Sized> Deserialize<Intent, D> for ArchivedIntent

source§

fn deserialize(&self, _: &mut D) -> Result<Intent, D::Error>

Deserializes using the given deserializer
source§

impl From<ArchivedIntent> for Intent

source§

fn from(archived: ArchivedIntent) -> Self

Converts to this type from the input type.
source§

impl PartialEq<ArchivedIntent> for Intent

source§

fn eq(&self, other: &ArchivedIntent) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl PartialEq<Intent> for ArchivedIntent

source§

fn eq(&self, other: &Intent) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl PartialEq for ArchivedIntent

source§

fn eq(&self, other: &ArchivedIntent) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl ToSql for ArchivedIntent

source§

fn to_sql( + &self, + ty: &Type, + out: &mut BytesMut, +) -> Result<IsNull, Box<dyn Error + Sync + Send>>
where + Self: Sized,

Converts the value of self into the binary format of the specified +Postgres Type, appending it to out. Read more
source§

fn accepts(ty: &Type) -> bool

Determines if a value of this type can be converted to the specified +Postgres Type.
source§

fn to_sql_checked( + &self, + ty: &Type, + out: &mut BytesMut, +) -> Result<IsNull, Box<dyn Error + Sync + Send>>

An adaptor method used internally by Rust-Postgres. Read more
§

fn encode_format(&self, _ty: &Type) -> Format

Specify the encode format
source§

impl Copy for ArchivedIntent

source§

impl Eq for ArchivedIntent

source§

impl NoUndef for ArchivedIntent

source§

impl Portable for ArchivedIntent

source§

impl StructuralPartialEq for ArchivedIntent

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> BorrowToSql for T
where + T: ToSql,

§

fn borrow_to_sql(&self) -> &dyn ToSql

Returns a reference to self as a ToSql trait object.
source§

impl<T> CloneToUninit for T
where + T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where + T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/gateway/struct.Intent.html b/client_sdk/models/gateway/struct.Intent.html new file mode 100644 index 000000000..ac09623df --- /dev/null +++ b/client_sdk/models/gateway/struct.Intent.html @@ -0,0 +1,202 @@ +Intent in client_sdk::models::gateway - Rust

Struct client_sdk::models::gateway::Intent

source ·
pub struct Intent(/* private fields */);

Implementations§

source§

impl Intent

source

pub const PARTIES: Self = _

    +
  • PARTY_CREATE
  • +
  • PARTY_UPDATE
  • +
  • PARTY_DELETE
  • +
  • PARTY_ROLE_CREATE
  • +
  • PARTY_ROLE_UPDATE
  • +
  • PARTY_ROLE_DELETE
  • +
  • CHANNEL_CREATE
  • +
  • CHANNEL_UPDATE
  • +
  • CHANNEL_DELETE
  • +
  • CHANNEL_PINS_UPDATE
  • +
+
source

pub const PARTY_MEMBERS: Self = _

    +
  • PARTY_MEMBER_ADD
  • +
  • PARTY_MEMBER_UPDATE
  • +
  • PARTY_MEMBER_REMOVE
  • +
+
source

pub const PARTY_BANS: Self = _

    +
  • PARTY_BAN_ADD
  • +
  • PARTY_BAN_REMOVE
  • +
+
source

pub const PARTY_EMOTES: Self = _

    +
  • PARTY_EMOJIS_UPDATE
  • +
+
source

pub const PARTY_INTEGRATIONS: Self = _

    +
  • PARTY_INTEGRATIONS_UPDATE
  • +
  • INTEGRATION_CREATE
  • +
  • INTEGRATION_UPDATE
  • +
  • INTEGRATION_DELETE
  • +
+
source

pub const PARTY_WEBHOOKS: Self = _

    +
  • WEBHOOKS_UPDATE
  • +
+
source

pub const PARTY_INVITES: Self = _

    +
  • INVITE_CREATE
  • +
  • INVITE_DELETE
  • +
+
source

pub const VOICE_STATUS: Self = _

    +
  • VOICE_STATE_UPDATE
  • +
+
source

pub const PRESENCE: Self = _

    +
  • PRESENCE_UPDATE
  • +
+
source

pub const MESSAGES: Self = _

    +
  • MESSAGE_CREATE
  • +
  • MESSAGE_UPDATE
  • +
  • MESSAGE_DELETE
  • +
  • MESSAGE_DELETE_BULK
  • +
+
source

pub const MESSAGE_REACTIONS: Self = _

    +
  • MESSAGE_REACTION_ADD
  • +
  • MESSAGE_REACTION_REMOVE
  • +
  • MESSAGE_REACTION_REMOVE_ALL
  • +
  • MESSAGE_REACTION_REMOVE_EMOTE
  • +
+
source

pub const MESSAGE_TYPING: Self = _

    +
  • TYPING_START
  • +
+
source

pub const DIRECT_MESSAGES: Self = _

    +
  • MESSAGE_CREATE
  • +
  • MESSAGE_UPDATE
  • +
  • MESSAGE_DELETE
  • +
  • CHANNEL_PINS_UPDATE
  • +
+
source

pub const DIRECT_MESSAGE_REACTIONS: Self = _

    +
  • MESSAGE_REACTION_ADD
  • +
  • MESSAGE_REACTION_REMOVE
  • +
  • MESSAGE_REACTION_REMOVE_ALL
  • +
  • MESSAGE_REACTION_REMOVE_EMOTE
  • +
+
source

pub const DIRECT_MESSAGE_TYPING: Self = _

    +
  • TYPING_START
  • +
+
source

pub const PROFILE_UPDATES: Self = _

source§

impl Intent

source

pub const fn empty() -> Self

Get a flags value with all bits unset.

+
source

pub const fn all() -> Self

Get a flags value with all known bits set.

+
source

pub const fn bits(&self) -> u32

Get the underlying bits value.

+

The returned value is exactly the bits set in this flags value.

+
source

pub const fn from_bits(bits: u32) -> Option<Self>

Convert from a bits value.

+

This method will return None if any unknown bits are set.

+
source

pub const fn from_bits_truncate(bits: u32) -> Self

Convert from a bits value, unsetting any unknown bits.

+
source

pub const fn from_bits_retain(bits: u32) -> Self

Convert from a bits value exactly.

+
source

pub fn from_name(name: &str) -> Option<Self>

Get a flags value with the bits of a flag with the given name set.

+

This method will return None if name is empty or doesn’t +correspond to any named flag.

+
source

pub const fn is_empty(&self) -> bool

Whether all bits in this flags value are unset.

+
source

pub const fn is_all(&self) -> bool

Whether all known bits in this flags value are set.

+
source

pub const fn intersects(&self, other: Self) -> bool

Whether any set bits in a source flags value are also set in a target flags value.

+
source

pub const fn contains(&self, other: Self) -> bool

Whether all set bits in a source flags value are also set in a target flags value.

+
source

pub fn insert(&mut self, other: Self)

The bitwise or (|) of the bits in two flags values.

+
source

pub fn remove(&mut self, other: Self)

The intersection of a source flags value with the complement of a target flags value (&!).

+

This method is not equivalent to self & !other when other has unknown bits set. +remove won’t truncate other, but the ! operator will.

+
source

pub fn toggle(&mut self, other: Self)

The bitwise exclusive-or (^) of the bits in two flags values.

+
source

pub fn set(&mut self, other: Self, value: bool)

Call insert when value is true or remove when value is false.

+
source

pub const fn intersection(self, other: Self) -> Self

The bitwise and (&) of the bits in two flags values.

+
source

pub const fn union(self, other: Self) -> Self

The bitwise or (|) of the bits in two flags values.

+
source

pub const fn difference(self, other: Self) -> Self

The intersection of a source flags value with the complement of a target flags value (&!).

+

This method is not equivalent to self & !other when other has unknown bits set. +difference won’t truncate other, but the ! operator will.

+
source

pub const fn symmetric_difference(self, other: Self) -> Self

The bitwise exclusive-or (^) of the bits in two flags values.

+
source

pub const fn complement(self) -> Self

The bitwise negation (!) of the bits in a flags value, truncating the result.

+
source§

impl Intent

source

pub const fn iter(&self) -> Iter<Intent>

Yield a set of contained flags values.

+

Each yielded flags value will correspond to a defined named flag. Any unknown bits +will be yielded together as a final flags value.

+
source

pub const fn iter_names(&self) -> IterNames<Intent>

Yield a set of contained named flags values.

+

This method is like iter, except only yields bits in contained named flags. +Any unknown bits, or bits not corresponding to a contained flag will not be yielded.

+

Trait Implementations§

source§

impl Archive for Intent

source§

type Archived = ArchivedIntent

The archived representation of this type. Read more
source§

type Resolver = ()

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

fn resolve(&self, _: (), out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
source§

impl Binary for Intent

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl BitAnd for Intent

source§

fn bitand(self, other: Self) -> Self

The bitwise and (&) of the bits in two flags values.

+
source§

type Output = Intent

The resulting type after applying the & operator.
source§

impl BitAndAssign for Intent

source§

fn bitand_assign(&mut self, other: Self)

The bitwise and (&) of the bits in two flags values.

+
source§

impl BitOr for Intent

source§

fn bitor(self, other: Intent) -> Self

The bitwise or (|) of the bits in two flags values.

+
source§

type Output = Intent

The resulting type after applying the | operator.
source§

impl BitOrAssign for Intent

source§

fn bitor_assign(&mut self, other: Self)

The bitwise or (|) of the bits in two flags values.

+
source§

impl BitXor for Intent

source§

fn bitxor(self, other: Self) -> Self

The bitwise exclusive-or (^) of the bits in two flags values.

+
source§

type Output = Intent

The resulting type after applying the ^ operator.
source§

impl BitXorAssign for Intent

source§

fn bitxor_assign(&mut self, other: Self)

The bitwise exclusive-or (^) of the bits in two flags values.

+
source§

impl Clone for Intent

source§

fn clone(&self) -> Intent

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Intent

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for Intent

source§

fn deserialize<D>(deserializer: D) -> Result<Intent, D::Error>
where + D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl<D: Fallible + ?Sized> Deserialize<Intent, D> for ArchivedIntent

source§

fn deserialize(&self, _: &mut D) -> Result<Intent, D::Error>

Deserializes using the given deserializer
source§

impl Extend<Intent> for Intent

source§

fn extend<T: IntoIterator<Item = Self>>(&mut self, iterator: T)

The bitwise or (|) of the bits in each flags value.

+
source§

fn extend_one(&mut self, item: A)

🔬This is a nightly-only experimental API. (extend_one)
Extends a collection with exactly one element.
source§

fn extend_reserve(&mut self, additional: usize)

🔬This is a nightly-only experimental API. (extend_one)
Reserves capacity in a collection for the given number of additional elements. Read more
source§

impl Flags for Intent

source§

const FLAGS: &'static [Flag<Intent>] = _

The set of defined flags.
source§

type Bits = u32

The underlying bits type.
source§

fn bits(&self) -> u32

Get the underlying bits value. Read more
source§

fn from_bits_retain(bits: u32) -> Intent

Convert from a bits value exactly.
§

fn empty() -> Self

Get a flags value with all bits unset.
§

fn all() -> Self

Get a flags value with all known bits set.
§

fn from_bits(bits: Self::Bits) -> Option<Self>

Convert from a bits value. Read more
§

fn from_bits_truncate(bits: Self::Bits) -> Self

Convert from a bits value, unsetting any unknown bits.
§

fn from_name(name: &str) -> Option<Self>

Get a flags value with the bits of a flag with the given name set. Read more
§

fn iter(&self) -> Iter<Self>

Yield a set of contained flags values. Read more
§

fn iter_names(&self) -> IterNames<Self>

Yield a set of contained named flags values. Read more
§

fn is_empty(&self) -> bool

Whether all bits in this flags value are unset.
§

fn is_all(&self) -> bool

Whether all known bits in this flags value are set.
§

fn intersects(&self, other: Self) -> bool
where + Self: Sized,

Whether any set bits in a source flags value are also set in a target flags value.
§

fn contains(&self, other: Self) -> bool
where + Self: Sized,

Whether all set bits in a source flags value are also set in a target flags value.
§

fn insert(&mut self, other: Self)
where + Self: Sized,

The bitwise or (|) of the bits in two flags values.
§

fn remove(&mut self, other: Self)
where + Self: Sized,

The intersection of a source flags value with the complement of a target flags value (&!). Read more
§

fn toggle(&mut self, other: Self)
where + Self: Sized,

The bitwise exclusive-or (^) of the bits in two flags values.
§

fn set(&mut self, other: Self, value: bool)
where + Self: Sized,

Call [Flags::insert] when value is true or [Flags::remove] when value is false.
§

fn intersection(self, other: Self) -> Self

The bitwise and (&) of the bits in two flags values.
§

fn union(self, other: Self) -> Self

The bitwise or (|) of the bits in two flags values.
§

fn difference(self, other: Self) -> Self

The intersection of a source flags value with the complement of a target flags value (&!). Read more
§

fn symmetric_difference(self, other: Self) -> Self

The bitwise exclusive-or (^) of the bits in two flags values.
§

fn complement(self) -> Self

The bitwise negation (!) of the bits in a flags value, truncating the result.
source§

impl From<ArchivedIntent> for Intent

source§

fn from(archived: ArchivedIntent) -> Self

Converts to this type from the input type.
source§

impl FromIterator<Intent> for Intent

source§

fn from_iter<T: IntoIterator<Item = Self>>(iterator: T) -> Self

The bitwise or (|) of the bits in each flags value.

+
source§

impl<'a> FromSql<'a> for Intent

source§

fn from_sql( + ty: &Type, + raw: &'a [u8], +) -> Result<Self, Box<dyn Error + Sync + Send>>

Creates a new value of this type from a buffer of data of the specified +Postgres Type in its binary format. Read more
source§

fn accepts(ty: &Type) -> bool

Determines if a value of this type can be created from the specified +Postgres Type.
§

fn from_sql_null(ty: &Type) -> Result<Self, Box<dyn Error + Sync + Send>>

Creates a new value of this type from a NULL SQL value. Read more
§

fn from_sql_nullable( + ty: &Type, + raw: Option<&'a [u8]>, +) -> Result<Self, Box<dyn Error + Sync + Send>>

A convenience function that delegates to from_sql and from_sql_null depending on the +value of raw.
source§

impl FromSql for Intent

source§

fn column_result(value: ValueRef<'_>) -> FromSqlResult<Self>

Converts SQLite value into Rust value.
source§

impl Hash for Intent

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where + H: Hasher, + Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl IntoIterator for Intent

source§

type Item = Intent

The type of the elements being iterated over.
source§

type IntoIter = Iter<Intent>

Which kind of iterator are we turning this into?
source§

fn into_iter(self) -> Self::IntoIter

Creates an iterator from a value. Read more
source§

impl LowerHex for Intent

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Not for Intent

source§

fn not(self) -> Self

The bitwise negation (!) of the bits in a flags value, truncating the result.

+
source§

type Output = Intent

The resulting type after applying the ! operator.
source§

impl Octal for Intent

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl PartialEq<ArchivedIntent> for Intent

source§

fn eq(&self, other: &ArchivedIntent) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl PartialEq<Intent> for ArchivedIntent

source§

fn eq(&self, other: &Intent) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl PartialEq for Intent

source§

fn eq(&self, other: &Intent) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl PublicFlags for Intent

source§

type Primitive = u32

The type of the underlying storage.
source§

type Internal = InternalBitFlags

The type of the internal field on the generated flags type.
source§

impl<S: Fallible + ?Sized> Serialize<S> for Intent

source§

fn serialize(&self, _: &mut S) -> Result<(), S::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.
source§

impl Serialize for Intent

source§

fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
where + S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Sub for Intent

source§

fn sub(self, other: Self) -> Self

The intersection of a source flags value with the complement of a target flags value (&!).

+

This method is not equivalent to self & !other when other has unknown bits set. +difference won’t truncate other, but the ! operator will.

+
source§

type Output = Intent

The resulting type after applying the - operator.
source§

impl SubAssign for Intent

source§

fn sub_assign(&mut self, other: Self)

The intersection of a source flags value with the complement of a target flags value (&!).

+

This method is not equivalent to self & !other when other has unknown bits set. +difference won’t truncate other, but the ! operator will.

+
source§

impl ToSql for Intent

source§

fn to_sql(&self) -> Result<ToSqlOutput<'_>>

Converts Rust value to SQLite value
source§

impl ToSql for Intent

source§

fn to_sql( + &self, + ty: &Type, + out: &mut BytesMut, +) -> Result<IsNull, Box<dyn Error + Sync + Send>>
where + Self: Sized,

Converts the value of self into the binary format of the specified +Postgres Type, appending it to out. Read more
source§

fn accepts(ty: &Type) -> bool

Determines if a value of this type can be converted to the specified +Postgres Type.
source§

fn to_sql_checked( + &self, + ty: &Type, + out: &mut BytesMut, +) -> Result<IsNull, Box<dyn Error + Sync + Send>>

An adaptor method used internally by Rust-Postgres. Read more
§

fn encode_format(&self, _ty: &Type) -> Format

Specify the encode format
source§

impl UpperHex for Intent

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Copy for Intent

source§

impl Eq for Intent

source§

impl StructuralPartialEq for Intent

Auto Trait Implementations§

§

impl Freeze for Intent

§

impl RefUnwindSafe for Intent

§

impl Send for Intent

§

impl Sync for Intent

§

impl Unpin for Intent

§

impl UnwindSafe for Intent

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> BorrowToSql for T
where + T: ToSql,

§

fn borrow_to_sql(&self) -> &dyn ToSql

Returns a reference to self as a ToSql trait object.
source§

impl<T> CloneToUninit for T
where + T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T> ToOwned for T
where + T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
source§

impl<T> CommandBody for T
where + T: Send + Serialize + Archive,

source§

impl<T> CommandResult for T
where + T: Send + DeserializeOwned + Serialize + Archive,

source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> FromSqlOwned for T
where + T: for<'a> FromSql<'a>,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/index.html b/client_sdk/models/index.html new file mode 100644 index 000000000..f48d3ad52 --- /dev/null +++ b/client_sdk/models/index.html @@ -0,0 +1,3 @@ +client_sdk::models - Rust

Module client_sdk::models

source ·
Expand description

Object data structures used within Lantern

+

Re-exports§

Modules§

Structs§

  • An atomically reference counted shared pointer
  • Lightweight randomly-seeded hash builder for [rustc_hash::FxHasher], +uses compile-time random seed that increments on each hash-builder creation.
  • A SmolStr is a string type that has the following properties:
  • Snowflake Identifier as used in Lantern Chat.
  • See the crate’s top level documentation for a description of this type.
  • UTC Timestamp with nanosecond precision, millisecond-precision when serialized to serde (JSON).

Enums§

Type Aliases§

\ No newline at end of file diff --git a/client_sdk/models/invite/index.html b/client_sdk/models/invite/index.html new file mode 100644 index 000000000..01c5714ca --- /dev/null +++ b/client_sdk/models/invite/index.html @@ -0,0 +1 @@ +client_sdk::models::invite - Rust

Module client_sdk::models::invite

source ·

Structs§

\ No newline at end of file diff --git a/client_sdk/models/invite/sidebar-items.js b/client_sdk/models/invite/sidebar-items.js new file mode 100644 index 000000000..14dade18a --- /dev/null +++ b/client_sdk/models/invite/sidebar-items.js @@ -0,0 +1 @@ +window.SIDEBAR_ITEMS = {"struct":["ArchivedInvite","Invite","InviteResolver"]}; \ No newline at end of file diff --git a/client_sdk/models/invite/struct.ArchivedInvite.html b/client_sdk/models/invite/struct.ArchivedInvite.html new file mode 100644 index 000000000..af93faec1 --- /dev/null +++ b/client_sdk/models/invite/struct.ArchivedInvite.html @@ -0,0 +1,63 @@ +ArchivedInvite in client_sdk::models::invite - Rust

Struct client_sdk::models::invite::ArchivedInvite

source ·
#[repr(C)]
pub struct ArchivedInvite
where + SmolStr: Archive, + PartialParty: Archive, + NicheSnowflake: ArchiveWith<Option<UserId>>, + Option<SmolStr>: Archive, + Option<Timestamp>: Archive, + Option<u16>: Archive,
{ + pub code: <SmolStr as Archive>::Archived, + pub party: <PartialParty as Archive>::Archived, + pub inviter: <NicheSnowflake as ArchiveWith<Option<UserId>>>::Archived, + pub description: <Option<SmolStr> as Archive>::Archived, + pub expires: <Option<Timestamp> as Archive>::Archived, + pub remaining: <Option<u16> as Archive>::Archived, +}
Expand description

An archived Invite

+

Fields§

§code: <SmolStr as Archive>::Archived§party: <PartialParty as Archive>::Archived§inviter: <NicheSnowflake as ArchiveWith<Option<UserId>>>::Archived§description: <Option<SmolStr> as Archive>::Archived§expires: <Option<Timestamp> as Archive>::Archived§remaining: <Option<u16> as Archive>::Archived

Trait Implementations§

source§

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedInvite
where + SmolStr: Archive, + PartialParty: Archive, + NicheSnowflake: ArchiveWith<Option<UserId>>, + Option<SmolStr>: Archive, + Option<Timestamp>: Archive, + Option<u16>: Archive, + <__C as Fallible>::Error: Trace, + <SmolStr as Archive>::Archived: CheckBytes<__C>, + <PartialParty as Archive>::Archived: CheckBytes<__C>, + <NicheSnowflake as ArchiveWith<Option<UserId>>>::Archived: CheckBytes<__C>, + <Option<SmolStr> as Archive>::Archived: CheckBytes<__C>, + <Option<Timestamp> as Archive>::Archived: CheckBytes<__C>, + <Option<u16> as Archive>::Archived: CheckBytes<__C>,

source§

unsafe fn check_bytes( + value: *const Self, + context: &mut __C, +) -> Result<(), <__C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Portable for ArchivedInvite
where + SmolStr: Archive, + PartialParty: Archive, + NicheSnowflake: ArchiveWith<Option<UserId>>, + Option<SmolStr>: Archive, + Option<Timestamp>: Archive, + Option<u16>: Archive, + <SmolStr as Archive>::Archived: Portable, + <PartialParty as Archive>::Archived: Portable, + <NicheSnowflake as ArchiveWith<Option<UserId>>>::Archived: Portable, + <Option<SmolStr> as Archive>::Archived: Portable, + <Option<Timestamp> as Archive>::Archived: Portable, + <Option<u16> as Archive>::Archived: Portable,

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/invite/struct.Invite.html b/client_sdk/models/invite/struct.Invite.html new file mode 100644 index 000000000..9f4209321 --- /dev/null +++ b/client_sdk/models/invite/struct.Invite.html @@ -0,0 +1,80 @@ +Invite in client_sdk::models::invite - Rust

Struct client_sdk::models::invite::Invite

source ·
pub struct Invite {
+    pub code: SmolStr,
+    pub party: PartialParty,
+    pub inviter: Option<UserId>,
+    pub description: Option<SmolStr>,
+    pub expires: Option<Timestamp>,
+    pub remaining: Option<u16>,
+}

Fields§

§code: SmolStr

Invite code, which is either an encrypted Snowflake or a custom vanity code.

+
§party: PartialParty§inviter: Option<UserId>§description: Option<SmolStr>§expires: Option<Timestamp>§remaining: Option<u16>

Number of remaining uses this invite has left.

+

Only users with the MANAGE_INVITES permission can see this.

+

Trait Implementations§

source§

impl Archive for Invite
where + SmolStr: Archive, + PartialParty: Archive, + NicheSnowflake: ArchiveWith<Option<UserId>>, + Option<SmolStr>: Archive, + Option<Timestamp>: Archive, + Option<u16>: Archive,

source§

type Archived = ArchivedInvite

The archived representation of this type. Read more
source§

type Resolver = InviteResolver

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

impl Clone for Invite

source§

fn clone(&self) -> Invite

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Invite

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for Invite

source§

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<__D: Fallible + ?Sized> Deserialize<Invite, __D> for Archived<Invite>
where + SmolStr: Archive, + <SmolStr as Archive>::Archived: Deserialize<SmolStr, __D>, + PartialParty: Archive, + <PartialParty as Archive>::Archived: Deserialize<PartialParty, __D>, + NicheSnowflake: ArchiveWith<Option<UserId>> + DeserializeWith<<NicheSnowflake as ArchiveWith<Option<UserId>>>::Archived, Option<UserId>, __D>, + Option<SmolStr>: Archive, + <Option<SmolStr> as Archive>::Archived: Deserialize<Option<SmolStr>, __D>, + Option<Timestamp>: Archive, + <Option<Timestamp> as Archive>::Archived: Deserialize<Option<Timestamp>, __D>, + Option<u16>: Archive, + <Option<u16> as Archive>::Archived: Deserialize<Option<u16>, __D>,

source§

fn deserialize( + &self, + deserializer: &mut __D, +) -> Result<Invite, <__D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<__S: Fallible + ?Sized> Serialize<__S> for Invite
where + SmolStr: Serialize<__S>, + PartialParty: Serialize<__S>, + NicheSnowflake: SerializeWith<Option<UserId>, __S>, + Option<SmolStr>: Serialize<__S>, + Option<Timestamp>: Serialize<__S>, + Option<u16>: Serialize<__S>,

source§

fn serialize( + &self, + serializer: &mut __S, +) -> Result<<Self as Archive>::Resolver, <__S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.
source§

impl Serialize for Invite

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

§

impl Freeze for Invite

§

impl RefUnwindSafe for Invite

§

impl Send for Invite

§

impl Sync for Invite

§

impl Unpin for Invite

§

impl UnwindSafe for Invite

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where + T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T> ToOwned for T
where + T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
source§

impl<T> CommandBody for T
where + T: Send + Serialize + Archive,

source§

impl<T> CommandResult for T
where + T: Send + DeserializeOwned + Serialize + Archive,

source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/invite/struct.InviteResolver.html b/client_sdk/models/invite/struct.InviteResolver.html new file mode 100644 index 000000000..f99284ae9 --- /dev/null +++ b/client_sdk/models/invite/struct.InviteResolver.html @@ -0,0 +1,27 @@ +InviteResolver in client_sdk::models::invite - Rust

Struct client_sdk::models::invite::InviteResolver

source ·
pub struct InviteResolver
where + SmolStr: Archive, + PartialParty: Archive, + NicheSnowflake: ArchiveWith<Option<UserId>>, + Option<SmolStr>: Archive, + Option<Timestamp>: Archive, + Option<u16>: Archive,
{ /* private fields */ }
Expand description

The resolver for an archived Invite

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/message/enum.ArchivedEmoteOrEmoji.html b/client_sdk/models/message/enum.ArchivedEmoteOrEmoji.html new file mode 100644 index 000000000..aeb3fc730 --- /dev/null +++ b/client_sdk/models/message/enum.ArchivedEmoteOrEmoji.html @@ -0,0 +1,45 @@ +ArchivedEmoteOrEmoji in client_sdk::models::message - Rust

Enum client_sdk::models::message::ArchivedEmoteOrEmoji

source ·
#[repr(u8)]
pub enum ArchivedEmoteOrEmoji
where + EmoteId: Archive, + SmolStr: Archive,
{ + Emote { + emote: <EmoteId as Archive>::Archived, + }, + Emoji { + emoji: <SmolStr as Archive>::Archived, + }, +}
Expand description

An archived EmoteOrEmoji

+

Variants§

§

Emote

The archived counterpart of EmoteOrEmoji::Emote

+

Fields

§emote: <EmoteId as Archive>::Archived
§

Emoji

The archived counterpart of EmoteOrEmoji::Emoji

+

Fields

§emoji: <SmolStr as Archive>::Archived

Trait Implementations§

source§

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedEmoteOrEmoji
where + EmoteId: Archive, + SmolStr: Archive, + <__C as Fallible>::Error: Source, + <EmoteId as Archive>::Archived: CheckBytes<__C>, + <SmolStr as Archive>::Archived: CheckBytes<__C>,

source§

unsafe fn check_bytes( + value: *const Self, + context: &mut __C, +) -> Result<(), <__C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Portable for ArchivedEmoteOrEmoji
where + EmoteId: Archive, + SmolStr: Archive, + <EmoteId as Archive>::Archived: Portable, + <SmolStr as Archive>::Archived: Portable,

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/message/enum.ArchivedMessageKind.html b/client_sdk/models/message/enum.ArchivedMessageKind.html new file mode 100644 index 000000000..03583d16f --- /dev/null +++ b/client_sdk/models/message/enum.ArchivedMessageKind.html @@ -0,0 +1,42 @@ +ArchivedMessageKind in client_sdk::models::message - Rust

Enum client_sdk::models::message::ArchivedMessageKind

source ·
#[repr(align(4), i32)]
pub enum ArchivedMessageKind { + Normal = 0, + Welcome = 16_777_217, + Ephemeral = 33_554_434, + Unavailable = 50_331_651, +}

Variants§

§

Normal = 0

§

Welcome = 16_777_217

§

Ephemeral = 33_554_434

§

Unavailable = 50_331_651

Implementations§

Trait Implementations§

source§

impl<C> CheckBytes<C> for ArchivedMessageKind
where + C: Fallible + ?Sized, + <C as Fallible>::Error: Source,

source§

unsafe fn check_bytes( + value: *const Self, + _: &mut C, +) -> Result<(), <C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Clone for ArchivedMessageKind

source§

fn clone(&self) -> ArchivedMessageKind

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ArchivedMessageKind

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<D: Fallible + ?Sized> Deserialize<MessageKind, D> for ArchivedMessageKind

source§

fn deserialize(&self, _: &mut D) -> Result<MessageKind, D::Error>

Deserializes using the given deserializer
source§

impl Hash for ArchivedMessageKind

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where + H: Hasher, + Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl PartialEq for ArchivedMessageKind

source§

fn eq(&self, other: &ArchivedMessageKind) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl Copy for ArchivedMessageKind

source§

impl Eq for ArchivedMessageKind

source§

impl NoUndef for ArchivedMessageKind

source§

impl Portable for ArchivedMessageKind

source§

impl StructuralPartialEq for ArchivedMessageKind

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where + T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where + T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/message/enum.ArchivedReaction.html b/client_sdk/models/message/enum.ArchivedReaction.html new file mode 100644 index 000000000..44d864a92 --- /dev/null +++ b/client_sdk/models/message/enum.ArchivedReaction.html @@ -0,0 +1,41 @@ +ArchivedReaction in client_sdk::models::message - Rust

Enum client_sdk::models::message::ArchivedReaction

source ·
#[repr(u8)]
pub enum ArchivedReaction
where + ReactionShorthand: Archive, + ReactionFull: Archive,
{ + Shorthand(<ReactionShorthand as Archive>::Archived), + Full(<ReactionFull as Archive>::Archived), +}
Expand description

An archived Reaction

+

Variants§

§

Shorthand(<ReactionShorthand as Archive>::Archived)

The archived counterpart of Reaction::Shorthand

+
§

Full(<ReactionFull as Archive>::Archived)

The archived counterpart of Reaction::Full

+

Trait Implementations§

source§

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedReaction
where + ReactionShorthand: Archive, + ReactionFull: Archive, + <__C as Fallible>::Error: Source, + <ReactionShorthand as Archive>::Archived: CheckBytes<__C>, + <ReactionFull as Archive>::Archived: CheckBytes<__C>,

source§

unsafe fn check_bytes( + value: *const Self, + context: &mut __C, +) -> Result<(), <__C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Portable for ArchivedReaction
where + ReactionShorthand: Archive, + ReactionFull: Archive, + <ReactionShorthand as Archive>::Archived: Portable, + <ReactionFull as Archive>::Archived: Portable,

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/message/enum.EmoteOrEmoji.html b/client_sdk/models/message/enum.EmoteOrEmoji.html new file mode 100644 index 000000000..d59ffc492 --- /dev/null +++ b/client_sdk/models/message/enum.EmoteOrEmoji.html @@ -0,0 +1,67 @@ +EmoteOrEmoji in client_sdk::models::message - Rust

Enum client_sdk::models::message::EmoteOrEmoji

source ·
pub enum EmoteOrEmoji {
+    Emote {
+        emote: EmoteId,
+    },
+    Emoji {
+        emoji: SmolStr,
+    },
+}
Expand description

Simple enum for custom emote ids or emoji symbols

+

When written to URLs in the API (or Displayed), emojis become percent encoded, and custom emote ids +are prefixed with a colon (:)

+

Variants§

§

Emote

Fields

§emote: EmoteId
§

Emoji

Fields

§emoji: SmolStr

Trait Implementations§

source§

impl Archive for EmoteOrEmoji
where + EmoteId: Archive, + SmolStr: Archive,

source§

type Archived = ArchivedEmoteOrEmoji

The archived representation of this type. Read more
source§

type Resolver = EmoteOrEmojiResolver

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

impl Clone for EmoteOrEmoji

source§

fn clone(&self) -> EmoteOrEmoji

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for EmoteOrEmoji

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for EmoteOrEmoji

source§

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<__D: Fallible + ?Sized> Deserialize<EmoteOrEmoji, __D> for Archived<EmoteOrEmoji>
where + EmoteId: Archive, + <EmoteId as Archive>::Archived: Deserialize<EmoteId, __D>, + SmolStr: Archive, + <SmolStr as Archive>::Archived: Deserialize<SmolStr, __D>,

source§

fn deserialize( + &self, + deserializer: &mut __D, +) -> Result<EmoteOrEmoji, <__D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl Display for EmoteOrEmoji

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl FromStr for EmoteOrEmoji

source§

type Err = <Snowflake as FromStr>::Err

The associated error which can be returned from parsing.
source§

fn from_str(s: &str) -> Result<Self, Self::Err>

Parses a string s to return a value of this type. Read more
source§

impl<__S: Fallible + ?Sized> Serialize<__S> for EmoteOrEmoji
where + EmoteId: Serialize<__S>, + SmolStr: Serialize<__S>,

source§

fn serialize( + &self, + serializer: &mut __S, +) -> Result<<Self as Archive>::Resolver, <__S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.
source§

impl Serialize for EmoteOrEmoji

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where + T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T> ToOwned for T
where + T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
§

impl<T> ToSmolStr for T
where + T: Display + ?Sized,

§

fn to_smolstr(&self) -> SmolStr

source§

impl<T> ToString for T
where + T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
source§

impl<T> CommandBody for T
where + T: Send + Serialize + Archive,

source§

impl<T> CommandResult for T
where + T: Send + DeserializeOwned + Serialize + Archive,

source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/message/enum.EmoteOrEmojiResolver.html b/client_sdk/models/message/enum.EmoteOrEmojiResolver.html new file mode 100644 index 000000000..423c50150 --- /dev/null +++ b/client_sdk/models/message/enum.EmoteOrEmojiResolver.html @@ -0,0 +1,32 @@ +EmoteOrEmojiResolver in client_sdk::models::message - Rust

Enum client_sdk::models::message::EmoteOrEmojiResolver

source ·
pub enum EmoteOrEmojiResolver
where + EmoteId: Archive, + SmolStr: Archive,
{ + Emote { + emote: <EmoteId as Archive>::Resolver, + }, + Emoji { + emoji: <SmolStr as Archive>::Resolver, + }, +}
Expand description

The resolver for an archived EmoteOrEmoji

+

Variants§

§

Emote

The resolver for EmoteOrEmoji::Emote

+

Fields

§emote: <EmoteId as Archive>::Resolver
§

Emoji

The resolver for EmoteOrEmoji::Emoji

+

Fields

§emoji: <SmolStr as Archive>::Resolver

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/message/enum.MessageKind.html b/client_sdk/models/message/enum.MessageKind.html new file mode 100644 index 000000000..dc5b7e720 --- /dev/null +++ b/client_sdk/models/message/enum.MessageKind.html @@ -0,0 +1,87 @@ +MessageKind in client_sdk::models::message - Rust

Enum client_sdk::models::message::MessageKind

source ·
#[repr(i16)]
pub enum MessageKind { + Normal = 0, + Welcome = 1, + Ephemeral = 2, + Unavailable = 3, +}

Variants§

§

Normal = 0

§

Welcome = 1

§

Ephemeral = 2

§

Unavailable = 3

Trait Implementations§

source§

impl Archive for MessageKind

source§

type Archived = ArchivedMessageKind

The archived representation of this type. Read more
source§

type Resolver = ()

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

fn resolve(&self, _: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
source§

impl Clone for MessageKind

source§

fn clone(&self) -> MessageKind

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for MessageKind

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for MessageKind

source§

fn default() -> MessageKind

Returns the “default value” for a type. Read more
source§

impl<'de> Deserialize<'de> for MessageKind

source§

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<D: Fallible + ?Sized> Deserialize<MessageKind, D> for ArchivedMessageKind

source§

fn deserialize(&self, _: &mut D) -> Result<MessageKind, D::Error>

Deserializes using the given deserializer
source§

impl FromPrimitive for MessageKind

source§

fn from_u64(val: u64) -> Option<Self>

Converts an u64 to return an optional value of this type. If the +value cannot be represented by this type, then None is returned.
source§

fn from_i64(val: i64) -> Option<Self>

Converts an i64 to return an optional value of this type. If the +value cannot be represented by this type, then None is returned.
source§

fn from_isize(n: isize) -> Option<Self>

Converts an isize to return an optional value of this type. If the +value cannot be represented by this type, then None is returned.
source§

fn from_i8(n: i8) -> Option<Self>

Converts an i8 to return an optional value of this type. If the +value cannot be represented by this type, then None is returned.
source§

fn from_i16(n: i16) -> Option<Self>

Converts an i16 to return an optional value of this type. If the +value cannot be represented by this type, then None is returned.
source§

fn from_i32(n: i32) -> Option<Self>

Converts an i32 to return an optional value of this type. If the +value cannot be represented by this type, then None is returned.
source§

fn from_i128(n: i128) -> Option<Self>

Converts an i128 to return an optional value of this type. If the +value cannot be represented by this type, then None is returned. Read more
source§

fn from_usize(n: usize) -> Option<Self>

Converts a usize to return an optional value of this type. If the +value cannot be represented by this type, then None is returned.
source§

fn from_u8(n: u8) -> Option<Self>

Converts an u8 to return an optional value of this type. If the +value cannot be represented by this type, then None is returned.
source§

fn from_u16(n: u16) -> Option<Self>

Converts an u16 to return an optional value of this type. If the +value cannot be represented by this type, then None is returned.
source§

fn from_u32(n: u32) -> Option<Self>

Converts an u32 to return an optional value of this type. If the +value cannot be represented by this type, then None is returned.
source§

fn from_u128(n: u128) -> Option<Self>

Converts an u128 to return an optional value of this type. If the +value cannot be represented by this type, then None is returned. Read more
source§

fn from_f32(n: f32) -> Option<Self>

Converts a f32 to return an optional value of this type. If the +value cannot be represented by this type, then None is returned.
source§

fn from_f64(n: f64) -> Option<Self>

Converts a f64 to return an optional value of this type. If the +value cannot be represented by this type, then None is returned. Read more
source§

impl Hash for MessageKind

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where + H: Hasher, + Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl PartialEq for MessageKind

source§

fn eq(&self, other: &MessageKind) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl<S: Fallible + ?Sized> Serialize<S> for MessageKind

source§

fn serialize(&self, _: &mut S) -> Result<(), S::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.
source§

impl Serialize for MessageKind

source§

fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
where + S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl ToPrimitive for MessageKind

source§

fn to_u64(&self) -> Option<u64>

Converts the value of self to a u64. If the value cannot be +represented by a u64, then None is returned.
source§

fn to_i64(&self) -> Option<i64>

Converts the value of self to an i64. If the value cannot be +represented by an i64, then None is returned.
source§

fn to_isize(&self) -> Option<isize>

Converts the value of self to an isize. If the value cannot be +represented by an isize, then None is returned.
source§

fn to_i8(&self) -> Option<i8>

Converts the value of self to an i8. If the value cannot be +represented by an i8, then None is returned.
source§

fn to_i16(&self) -> Option<i16>

Converts the value of self to an i16. If the value cannot be +represented by an i16, then None is returned.
source§

fn to_i32(&self) -> Option<i32>

Converts the value of self to an i32. If the value cannot be +represented by an i32, then None is returned.
source§

fn to_i128(&self) -> Option<i128>

Converts the value of self to an i128. If the value cannot be +represented by an i128 (i64 under the default implementation), then +None is returned. Read more
source§

fn to_usize(&self) -> Option<usize>

Converts the value of self to a usize. If the value cannot be +represented by a usize, then None is returned.
source§

fn to_u8(&self) -> Option<u8>

Converts the value of self to a u8. If the value cannot be +represented by a u8, then None is returned.
source§

fn to_u16(&self) -> Option<u16>

Converts the value of self to a u16. If the value cannot be +represented by a u16, then None is returned.
source§

fn to_u32(&self) -> Option<u32>

Converts the value of self to a u32. If the value cannot be +represented by a u32, then None is returned.
source§

fn to_u128(&self) -> Option<u128>

Converts the value of self to a u128. If the value cannot be +represented by a u128 (u64 under the default implementation), then +None is returned. Read more
source§

fn to_f32(&self) -> Option<f32>

Converts the value of self to an f32. Overflows may map to positive +or negative inifinity, otherwise None is returned if the value cannot +be represented by an f32.
source§

fn to_f64(&self) -> Option<f64>

Converts the value of self to an f64. Overflows may map to positive +or negative inifinity, otherwise None is returned if the value cannot +be represented by an f64. Read more
source§

impl TryFrom<i16> for MessageKind

source§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_from(value: i16) -> Result<Self, <Self as TryFrom<i16>>::Error>

Performs the conversion.
source§

impl TryFrom<i32> for MessageKind

source§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_from(value: i32) -> Result<Self, <Self as TryFrom<i32>>::Error>

Performs the conversion.
source§

impl TryFrom<i64> for MessageKind

source§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_from(value: i64) -> Result<Self, <Self as TryFrom<i64>>::Error>

Performs the conversion.
source§

impl TryFrom<i8> for MessageKind

source§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_from(value: i8) -> Result<Self, <Self as TryFrom<i8>>::Error>

Performs the conversion.
source§

impl TryFrom<u16> for MessageKind

source§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_from(value: u16) -> Result<Self, <Self as TryFrom<u16>>::Error>

Performs the conversion.
source§

impl TryFrom<u32> for MessageKind

source§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_from(value: u32) -> Result<Self, <Self as TryFrom<u32>>::Error>

Performs the conversion.
source§

impl TryFrom<u64> for MessageKind

source§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_from(value: u64) -> Result<Self, <Self as TryFrom<u64>>::Error>

Performs the conversion.
source§

impl TryFrom<u8> for MessageKind

source§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_from(value: u8) -> Result<Self, <Self as TryFrom<u8>>::Error>

Performs the conversion.
source§

impl Copy for MessageKind

source§

impl Eq for MessageKind

source§

impl StructuralPartialEq for MessageKind

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where + T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T> ToOwned for T
where + T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
source§

impl<T> CommandBody for T
where + T: Send + Serialize + Archive,

source§

impl<T> CommandResult for T
where + T: Send + DeserializeOwned + Serialize + Archive,

source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/message/enum.Reaction.html b/client_sdk/models/message/enum.Reaction.html new file mode 100644 index 000000000..f27d7b5c0 --- /dev/null +++ b/client_sdk/models/message/enum.Reaction.html @@ -0,0 +1,58 @@ +Reaction in client_sdk::models::message - Rust

Enum client_sdk::models::message::Reaction

source ·
pub enum Reaction {
+    Shorthand(ReactionShorthand),
+    Full(ReactionFull),
+}

Variants§

Trait Implementations§

source§

impl Archive for Reaction
where + ReactionShorthand: Archive, + ReactionFull: Archive,

source§

type Archived = ArchivedReaction

The archived representation of this type. Read more
source§

type Resolver = ReactionResolver

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

impl Clone for Reaction

source§

fn clone(&self) -> Reaction

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Reaction

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for Reaction

source§

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<__D: Fallible + ?Sized> Deserialize<Reaction, __D> for Archived<Reaction>
where + ReactionShorthand: Archive, + <ReactionShorthand as Archive>::Archived: Deserialize<ReactionShorthand, __D>, + ReactionFull: Archive, + <ReactionFull as Archive>::Archived: Deserialize<ReactionFull, __D>,

source§

fn deserialize( + &self, + deserializer: &mut __D, +) -> Result<Reaction, <__D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<__S: Fallible + ?Sized> Serialize<__S> for Reaction
where + ReactionShorthand: Serialize<__S>, + ReactionFull: Serialize<__S>,

source§

fn serialize( + &self, + serializer: &mut __S, +) -> Result<<Self as Archive>::Resolver, <__S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.
source§

impl Serialize for Reaction

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where + T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T> ToOwned for T
where + T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
source§

impl<T> CommandBody for T
where + T: Send + Serialize + Archive,

source§

impl<T> CommandResult for T
where + T: Send + DeserializeOwned + Serialize + Archive,

source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/message/enum.ReactionResolver.html b/client_sdk/models/message/enum.ReactionResolver.html new file mode 100644 index 000000000..b4dbf6739 --- /dev/null +++ b/client_sdk/models/message/enum.ReactionResolver.html @@ -0,0 +1,28 @@ +ReactionResolver in client_sdk::models::message - Rust

Enum client_sdk::models::message::ReactionResolver

source ·
pub enum ReactionResolver
where + ReactionShorthand: Archive, + ReactionFull: Archive,
{ + Shorthand(<ReactionShorthand as Archive>::Resolver), + Full(<ReactionFull as Archive>::Resolver), +}
Expand description

The resolver for an archived Reaction

+

Variants§

§

Shorthand(<ReactionShorthand as Archive>::Resolver)

The resolver for Reaction::Shorthand

+
§

Full(<ReactionFull as Archive>::Resolver)

The resolver for Reaction::Full

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/message/index.html b/client_sdk/models/message/index.html new file mode 100644 index 000000000..dd91473df --- /dev/null +++ b/client_sdk/models/message/index.html @@ -0,0 +1,2 @@ +client_sdk::models::message - Rust

Module client_sdk::models::message

source ·

Structs§

Enums§

\ No newline at end of file diff --git a/client_sdk/models/message/message_kind_impl/enum.ArchivedMessageKind.html b/client_sdk/models/message/message_kind_impl/enum.ArchivedMessageKind.html new file mode 100644 index 000000000..b92e442f1 --- /dev/null +++ b/client_sdk/models/message/message_kind_impl/enum.ArchivedMessageKind.html @@ -0,0 +1,11 @@ + + + + + Redirection + + +

Redirecting to ../../../../client_sdk/models/message/enum.ArchivedMessageKind.html...

+ + + \ No newline at end of file diff --git a/client_sdk/models/message/message_kind_impl/enum.MessageKind.html b/client_sdk/models/message/message_kind_impl/enum.MessageKind.html new file mode 100644 index 000000000..c488e7cc0 --- /dev/null +++ b/client_sdk/models/message/message_kind_impl/enum.MessageKind.html @@ -0,0 +1,11 @@ + + + + + Redirection + + +

Redirecting to ../../../../client_sdk/models/message/enum.MessageKind.html...

+ + + \ No newline at end of file diff --git a/client_sdk/models/message/sidebar-items.js b/client_sdk/models/message/sidebar-items.js new file mode 100644 index 000000000..90693855d --- /dev/null +++ b/client_sdk/models/message/sidebar-items.js @@ -0,0 +1 @@ +window.SIDEBAR_ITEMS = {"enum":["ArchivedEmoteOrEmoji","ArchivedMessageKind","ArchivedReaction","EmoteOrEmoji","EmoteOrEmojiResolver","MessageKind","Reaction","ReactionResolver"],"struct":["ArchivedAttachment","ArchivedMessage","ArchivedMessageFlags","ArchivedReactionFull","ArchivedReactionShorthand","Attachment","AttachmentResolver","Message","MessageFlags","MessageResolver","ReactionFull","ReactionFullResolver","ReactionShorthand","ReactionShorthandResolver"]}; \ No newline at end of file diff --git a/client_sdk/models/message/struct.ArchivedAttachment.html b/client_sdk/models/message/struct.ArchivedAttachment.html new file mode 100644 index 000000000..4e97611d9 --- /dev/null +++ b/client_sdk/models/message/struct.ArchivedAttachment.html @@ -0,0 +1,33 @@ +ArchivedAttachment in client_sdk::models::message - Rust

Struct client_sdk::models::message::ArchivedAttachment

source ·
#[repr(C)]
pub struct ArchivedAttachment
where + File: Archive,
{ + pub file: <File as Archive>::Archived, +}
Expand description

An archived Attachment

+

Fields§

§file: <File as Archive>::Archived

Trait Implementations§

source§

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedAttachment
where + File: Archive, + <__C as Fallible>::Error: Trace, + <File as Archive>::Archived: CheckBytes<__C>,

source§

unsafe fn check_bytes( + value: *const Self, + context: &mut __C, +) -> Result<(), <__C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Portable for ArchivedAttachment
where + File: Archive, + <File as Archive>::Archived: Portable,

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/message/struct.ArchivedMessage.html b/client_sdk/models/message/struct.ArchivedMessage.html new file mode 100644 index 000000000..27e5733fb --- /dev/null +++ b/client_sdk/models/message/struct.ArchivedMessage.html @@ -0,0 +1,129 @@ +ArchivedMessage in client_sdk::models::message - Rust

Struct client_sdk::models::message::ArchivedMessage

source ·
#[repr(C)]
pub struct ArchivedMessage
where + MessageId: Archive, + RoomId: Archive, + PartyId: Archive, + MessageKind: Archive, + PartyMember: Archive, + Option<MessageId>: Archive, + Option<Timestamp>: Archive, + Option<SmolStr>: Archive, + MessageFlags: Archive, + ThinVec<FolderId>: Archive, + ThinVec<UserId>: Archive, + ThinVec<RoleId>: Archive, + ThinVec<RoomId>: Archive, + ThinVec<Reaction>: Archive, + ThinVec<Attachment>: Archive, + ThinVec<Embed>: Archive, + i32: Archive,
{
Show 17 fields + pub id: <MessageId as Archive>::Archived, + pub room_id: <RoomId as Archive>::Archived, + pub party_id: <PartyId as Archive>::Archived, + pub kind: <MessageKind as Archive>::Archived, + pub author: <PartyMember as Archive>::Archived, + pub parent: <Option<MessageId> as Archive>::Archived, + pub edited_at: <Option<Timestamp> as Archive>::Archived, + pub content: <Option<SmolStr> as Archive>::Archived, + pub flags: <MessageFlags as Archive>::Archived, + pub pins: <ThinVec<FolderId> as Archive>::Archived, + pub user_mentions: <ThinVec<UserId> as Archive>::Archived, + pub role_mentions: <ThinVec<RoleId> as Archive>::Archived, + pub room_mentions: <ThinVec<RoomId> as Archive>::Archived, + pub reactions: <ThinVec<Reaction> as Archive>::Archived, + pub attachments: <ThinVec<Attachment> as Archive>::Archived, + pub embeds: <ThinVec<Embed> as Archive>::Archived, + pub score: <i32 as Archive>::Archived, +
}
Expand description

An archived Message

+

Fields§

§id: <MessageId as Archive>::Archived§room_id: <RoomId as Archive>::Archived§party_id: <PartyId as Archive>::Archived§kind: <MessageKind as Archive>::Archived§author: <PartyMember as Archive>::Archived§parent: <Option<MessageId> as Archive>::Archived§edited_at: <Option<Timestamp> as Archive>::Archived§content: <Option<SmolStr> as Archive>::Archived§flags: <MessageFlags as Archive>::Archived§pins: <ThinVec<FolderId> as Archive>::Archived§user_mentions: <ThinVec<UserId> as Archive>::Archived§role_mentions: <ThinVec<RoleId> as Archive>::Archived§room_mentions: <ThinVec<RoomId> as Archive>::Archived§reactions: <ThinVec<Reaction> as Archive>::Archived§attachments: <ThinVec<Attachment> as Archive>::Archived§embeds: <ThinVec<Embed> as Archive>::Archived§score: <i32 as Archive>::Archived

Trait Implementations§

source§

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedMessage
where + MessageId: Archive, + RoomId: Archive, + PartyId: Archive, + MessageKind: Archive, + PartyMember: Archive, + Option<MessageId>: Archive, + Option<Timestamp>: Archive, + Option<SmolStr>: Archive, + MessageFlags: Archive, + ThinVec<FolderId>: Archive, + ThinVec<UserId>: Archive, + ThinVec<RoleId>: Archive, + ThinVec<RoomId>: Archive, + ThinVec<Reaction>: Archive, + ThinVec<Attachment>: Archive, + ThinVec<Embed>: Archive, + i32: Archive, + <__C as Fallible>::Error: Trace, + <MessageId as Archive>::Archived: CheckBytes<__C>, + <RoomId as Archive>::Archived: CheckBytes<__C>, + <PartyId as Archive>::Archived: CheckBytes<__C>, + <MessageKind as Archive>::Archived: CheckBytes<__C>, + <PartyMember as Archive>::Archived: CheckBytes<__C>, + <Option<MessageId> as Archive>::Archived: CheckBytes<__C>, + <Option<Timestamp> as Archive>::Archived: CheckBytes<__C>, + <Option<SmolStr> as Archive>::Archived: CheckBytes<__C>, + <MessageFlags as Archive>::Archived: CheckBytes<__C>, + <ThinVec<FolderId> as Archive>::Archived: CheckBytes<__C>, + <ThinVec<UserId> as Archive>::Archived: CheckBytes<__C>, + <ThinVec<RoleId> as Archive>::Archived: CheckBytes<__C>, + <ThinVec<RoomId> as Archive>::Archived: CheckBytes<__C>, + <ThinVec<Reaction> as Archive>::Archived: CheckBytes<__C>, + <ThinVec<Attachment> as Archive>::Archived: CheckBytes<__C>, + <ThinVec<Embed> as Archive>::Archived: CheckBytes<__C>, + <i32 as Archive>::Archived: CheckBytes<__C>,

source§

unsafe fn check_bytes( + value: *const Self, + context: &mut __C, +) -> Result<(), <__C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Portable for ArchivedMessage
where + MessageId: Archive, + RoomId: Archive, + PartyId: Archive, + MessageKind: Archive, + PartyMember: Archive, + Option<MessageId>: Archive, + Option<Timestamp>: Archive, + Option<SmolStr>: Archive, + MessageFlags: Archive, + ThinVec<FolderId>: Archive, + ThinVec<UserId>: Archive, + ThinVec<RoleId>: Archive, + ThinVec<RoomId>: Archive, + ThinVec<Reaction>: Archive, + ThinVec<Attachment>: Archive, + ThinVec<Embed>: Archive, + i32: Archive, + <MessageId as Archive>::Archived: Portable, + <RoomId as Archive>::Archived: Portable, + <PartyId as Archive>::Archived: Portable, + <MessageKind as Archive>::Archived: Portable, + <PartyMember as Archive>::Archived: Portable, + <Option<MessageId> as Archive>::Archived: Portable, + <Option<Timestamp> as Archive>::Archived: Portable, + <Option<SmolStr> as Archive>::Archived: Portable, + <MessageFlags as Archive>::Archived: Portable, + <ThinVec<FolderId> as Archive>::Archived: Portable, + <ThinVec<UserId> as Archive>::Archived: Portable, + <ThinVec<RoleId> as Archive>::Archived: Portable, + <ThinVec<RoomId> as Archive>::Archived: Portable, + <ThinVec<Reaction> as Archive>::Archived: Portable, + <ThinVec<Attachment> as Archive>::Archived: Portable, + <ThinVec<Embed> as Archive>::Archived: Portable, + <i32 as Archive>::Archived: Portable,

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/message/struct.ArchivedMessageFlags.html b/client_sdk/models/message/struct.ArchivedMessageFlags.html new file mode 100644 index 000000000..e10b90ccf --- /dev/null +++ b/client_sdk/models/message/struct.ArchivedMessageFlags.html @@ -0,0 +1,71 @@ +ArchivedMessageFlags in client_sdk::models::message - Rust

Struct client_sdk::models::message::ArchivedMessageFlags

source ·
#[repr(transparent)]
pub struct ArchivedMessageFlags(pub Archived<i32>);
Expand description

Archived version of MessageFlags, automatically made endian-agnostic. +When comparing with the native bitflags, the archived bitflags will truncate any extra bits.

+

Tuple Fields§

§0: Archived<i32>

Implementations§

source§

impl ArchivedMessageFlags

source

pub const fn to_native(&self) -> Option<MessageFlags>

Converts this archived bitflags to the native bitflags type, returning None if any +bits are set that are not part of the bitflags.

+

See MessageFlags::from_bits for more information.

+
source

pub const fn to_native_truncate(&self) -> MessageFlags

Converts this archived bitflags to the native bitflags type, truncating any extra bits.

+

See MessageFlags::from_bits_truncate for more information.

+
source

pub const fn to_native_retain(&self) -> MessageFlags

Converts this archived bitflags to the native bitflags type, retaining all bits, even +if they are not part of the bitflags.

+

See MessageFlags::from_bits_retain for more information.

+
source

pub const fn from_native(native: MessageFlags) -> Self

Converts the native bitflags type to an archived bitflags.

+
source

pub const fn contains(&self, other: MessageFlags) -> bool

Check if the archived bitflags contains all the given bitflags.

+

See MessageFlags::contains for more information.

+
source

pub const fn intersects(&self, other: MessageFlags) -> bool

Check if the archived bitflags intersect with any of the given bitflags.

+

See MessageFlags::intersects for more information.

+
source

pub const fn is_empty(&self) -> bool

Whether all bits in this flags value are unset.

+
source

pub const fn is_all(&self) -> bool

Whether all known bits in this flags value are set.

+
source

pub const fn bits(&self) -> i32

Get the underlying raw bits value.

+

Note that this may contain bits that are not part of the original bitflags, +if serialized with a different version of the bitflags. Use to_native or +to_native_truncate to convert to the native bitflags type +without extra bits.

+

Trait Implementations§

source§

impl<C> CheckBytes<C> for ArchivedMessageFlags
where + C: Fallible + ?Sized, + <C as Fallible>::Error: Source,

source§

unsafe fn check_bytes( + value: *const Self, + ctx: &mut C, +) -> Result<(), <C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Clone for ArchivedMessageFlags

source§

fn clone(&self) -> ArchivedMessageFlags

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ArchivedMessageFlags

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<D: Fallible + ?Sized> Deserialize<MessageFlags, D> for ArchivedMessageFlags

source§

fn deserialize(&self, _: &mut D) -> Result<MessageFlags, D::Error>

Deserializes using the given deserializer
source§

impl From<ArchivedMessageFlags> for MessageFlags

source§

fn from(archived: ArchivedMessageFlags) -> Self

Converts to this type from the input type.
source§

impl PartialEq<ArchivedMessageFlags> for MessageFlags

source§

fn eq(&self, other: &ArchivedMessageFlags) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl PartialEq<MessageFlags> for ArchivedMessageFlags

source§

fn eq(&self, other: &MessageFlags) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl PartialEq for ArchivedMessageFlags

source§

fn eq(&self, other: &ArchivedMessageFlags) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl ToSql for ArchivedMessageFlags

source§

fn to_sql( + &self, + ty: &Type, + out: &mut BytesMut, +) -> Result<IsNull, Box<dyn Error + Sync + Send>>
where + Self: Sized,

Converts the value of self into the binary format of the specified +Postgres Type, appending it to out. Read more
source§

fn accepts(ty: &Type) -> bool

Determines if a value of this type can be converted to the specified +Postgres Type.
source§

fn to_sql_checked( + &self, + ty: &Type, + out: &mut BytesMut, +) -> Result<IsNull, Box<dyn Error + Sync + Send>>

An adaptor method used internally by Rust-Postgres. Read more
§

fn encode_format(&self, _ty: &Type) -> Format

Specify the encode format
source§

impl Copy for ArchivedMessageFlags

source§

impl Eq for ArchivedMessageFlags

source§

impl NoUndef for ArchivedMessageFlags

source§

impl Portable for ArchivedMessageFlags

source§

impl StructuralPartialEq for ArchivedMessageFlags

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> BorrowToSql for T
where + T: ToSql,

§

fn borrow_to_sql(&self) -> &dyn ToSql

Returns a reference to self as a ToSql trait object.
source§

impl<T> CloneToUninit for T
where + T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where + T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/message/struct.ArchivedReactionFull.html b/client_sdk/models/message/struct.ArchivedReactionFull.html new file mode 100644 index 000000000..b0d6cacb6 --- /dev/null +++ b/client_sdk/models/message/struct.ArchivedReactionFull.html @@ -0,0 +1,39 @@ +ArchivedReactionFull in client_sdk::models::message - Rust

Struct client_sdk::models::message::ArchivedReactionFull

source ·
#[repr(C)]
pub struct ArchivedReactionFull
where + EmoteOrEmoji: Archive, + ThinVec<UserId>: Archive,
{ + pub emote: <EmoteOrEmoji as Archive>::Archived, + pub users: <ThinVec<UserId> as Archive>::Archived, +}
Expand description

An archived ReactionFull

+

Fields§

§emote: <EmoteOrEmoji as Archive>::Archived§users: <ThinVec<UserId> as Archive>::Archived

Trait Implementations§

source§

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedReactionFull
where + EmoteOrEmoji: Archive, + ThinVec<UserId>: Archive, + <__C as Fallible>::Error: Trace, + <EmoteOrEmoji as Archive>::Archived: CheckBytes<__C>, + <ThinVec<UserId> as Archive>::Archived: CheckBytes<__C>,

source§

unsafe fn check_bytes( + value: *const Self, + context: &mut __C, +) -> Result<(), <__C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Portable for ArchivedReactionFull
where + EmoteOrEmoji: Archive, + ThinVec<UserId>: Archive, + <EmoteOrEmoji as Archive>::Archived: Portable, + <ThinVec<UserId> as Archive>::Archived: Portable,

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/message/struct.ArchivedReactionShorthand.html b/client_sdk/models/message/struct.ArchivedReactionShorthand.html new file mode 100644 index 000000000..e431142d3 --- /dev/null +++ b/client_sdk/models/message/struct.ArchivedReactionShorthand.html @@ -0,0 +1,45 @@ +ArchivedReactionShorthand in client_sdk::models::message - Rust

Struct client_sdk::models::message::ArchivedReactionShorthand

source ·
#[repr(C)]
pub struct ArchivedReactionShorthand
where + EmoteOrEmoji: Archive, + bool: Archive, + i64: Archive,
{ + pub emote: <EmoteOrEmoji as Archive>::Archived, + pub me: <bool as Archive>::Archived, + pub count: <i64 as Archive>::Archived, +}
Expand description

An archived ReactionShorthand

+

Fields§

§emote: <EmoteOrEmoji as Archive>::Archived§me: <bool as Archive>::Archived§count: <i64 as Archive>::Archived

Trait Implementations§

source§

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedReactionShorthand
where + EmoteOrEmoji: Archive, + bool: Archive, + i64: Archive, + <__C as Fallible>::Error: Trace, + <EmoteOrEmoji as Archive>::Archived: CheckBytes<__C>, + <bool as Archive>::Archived: CheckBytes<__C>, + <i64 as Archive>::Archived: CheckBytes<__C>,

source§

unsafe fn check_bytes( + value: *const Self, + context: &mut __C, +) -> Result<(), <__C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Portable for ArchivedReactionShorthand
where + EmoteOrEmoji: Archive, + bool: Archive, + i64: Archive, + <EmoteOrEmoji as Archive>::Archived: Portable, + <bool as Archive>::Archived: Portable, + <i64 as Archive>::Archived: Portable,

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/message/struct.Attachment.html b/client_sdk/models/message/struct.Attachment.html new file mode 100644 index 000000000..b47b07084 --- /dev/null +++ b/client_sdk/models/message/struct.Attachment.html @@ -0,0 +1,53 @@ +Attachment in client_sdk::models::message - Rust

Struct client_sdk::models::message::Attachment

source ·
pub struct Attachment {
+    pub file: File,
+}

Fields§

§file: File

Trait Implementations§

source§

impl Archive for Attachment
where + File: Archive,

source§

type Archived = ArchivedAttachment

The archived representation of this type. Read more
source§

type Resolver = AttachmentResolver

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
source§

impl Clone for Attachment

source§

fn clone(&self) -> Attachment

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Attachment

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for Attachment

source§

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<__D: Fallible + ?Sized> Deserialize<Attachment, __D> for Archived<Attachment>
where + File: Archive, + <File as Archive>::Archived: Deserialize<File, __D>,

source§

fn deserialize( + &self, + deserializer: &mut __D, +) -> Result<Attachment, <__D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<__S: Fallible + ?Sized> Serialize<__S> for Attachment
where + File: Serialize<__S>,

source§

fn serialize( + &self, + serializer: &mut __S, +) -> Result<<Self as Archive>::Resolver, <__S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.
source§

impl Serialize for Attachment

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where + T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T> ToOwned for T
where + T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
source§

impl<T> CommandBody for T
where + T: Send + Serialize + Archive,

source§

impl<T> CommandResult for T
where + T: Send + DeserializeOwned + Serialize + Archive,

source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/message/struct.AttachmentResolver.html b/client_sdk/models/message/struct.AttachmentResolver.html new file mode 100644 index 000000000..196891f62 --- /dev/null +++ b/client_sdk/models/message/struct.AttachmentResolver.html @@ -0,0 +1,22 @@ +AttachmentResolver in client_sdk::models::message - Rust

Struct client_sdk::models::message::AttachmentResolver

source ·
pub struct AttachmentResolver
where + File: Archive,
{ /* private fields */ }
Expand description

The resolver for an archived Attachment

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/message/struct.Message.html b/client_sdk/models/message/struct.Message.html new file mode 100644 index 000000000..14bbda280 --- /dev/null +++ b/client_sdk/models/message/struct.Message.html @@ -0,0 +1,133 @@ +Message in client_sdk::models::message - Rust

Struct client_sdk::models::message::Message

source ·
pub struct Message {
Show 17 fields + pub id: MessageId, + pub room_id: RoomId, + pub party_id: PartyId, + pub kind: MessageKind, + pub author: PartyMember, + pub parent: Option<MessageId>, + pub edited_at: Option<Timestamp>, + pub content: Option<SmolStr>, + pub flags: MessageFlags, + pub pins: ThinVec<FolderId>, + pub user_mentions: ThinVec<UserId>, + pub role_mentions: ThinVec<RoleId>, + pub room_mentions: ThinVec<RoomId>, + pub reactions: ThinVec<Reaction>, + pub attachments: ThinVec<Attachment>, + pub embeds: ThinVec<Embed>, + pub score: i32, +
}

Fields§

§id: MessageId§room_id: RoomId§party_id: PartyId§kind: MessageKind§author: PartyMember§parent: Option<MessageId>§edited_at: Option<Timestamp>§content: Option<SmolStr>§flags: MessageFlags§pins: ThinVec<FolderId>§user_mentions: ThinVec<UserId>§role_mentions: ThinVec<RoleId>§room_mentions: ThinVec<RoomId>§reactions: ThinVec<Reaction>§attachments: ThinVec<Attachment>§embeds: ThinVec<Embed>§score: i32

Trait Implementations§

source§

impl Archive for Message
where + MessageId: Archive, + RoomId: Archive, + PartyId: Archive, + MessageKind: Archive, + PartyMember: Archive, + Option<MessageId>: Archive, + Option<Timestamp>: Archive, + Option<SmolStr>: Archive, + MessageFlags: Archive, + ThinVec<FolderId>: Archive, + ThinVec<UserId>: Archive, + ThinVec<RoleId>: Archive, + ThinVec<RoomId>: Archive, + ThinVec<Reaction>: Archive, + ThinVec<Attachment>: Archive, + ThinVec<Embed>: Archive, + i32: Archive,

source§

type Archived = ArchivedMessage

The archived representation of this type. Read more
source§

type Resolver = MessageResolver

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
source§

impl Clone for Message

source§

fn clone(&self) -> Message

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Message

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for Message

source§

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<__D: Fallible + ?Sized> Deserialize<Message, __D> for Archived<Message>
where + MessageId: Archive, + <MessageId as Archive>::Archived: Deserialize<MessageId, __D>, + RoomId: Archive, + <RoomId as Archive>::Archived: Deserialize<RoomId, __D>, + PartyId: Archive, + <PartyId as Archive>::Archived: Deserialize<PartyId, __D>, + MessageKind: Archive, + <MessageKind as Archive>::Archived: Deserialize<MessageKind, __D>, + PartyMember: Archive, + <PartyMember as Archive>::Archived: Deserialize<PartyMember, __D>, + Option<MessageId>: Archive, + <Option<MessageId> as Archive>::Archived: Deserialize<Option<MessageId>, __D>, + Option<Timestamp>: Archive, + <Option<Timestamp> as Archive>::Archived: Deserialize<Option<Timestamp>, __D>, + Option<SmolStr>: Archive, + <Option<SmolStr> as Archive>::Archived: Deserialize<Option<SmolStr>, __D>, + MessageFlags: Archive, + <MessageFlags as Archive>::Archived: Deserialize<MessageFlags, __D>, + ThinVec<FolderId>: Archive, + <ThinVec<FolderId> as Archive>::Archived: Deserialize<ThinVec<FolderId>, __D>, + ThinVec<UserId>: Archive, + <ThinVec<UserId> as Archive>::Archived: Deserialize<ThinVec<UserId>, __D>, + ThinVec<RoleId>: Archive, + <ThinVec<RoleId> as Archive>::Archived: Deserialize<ThinVec<RoleId>, __D>, + ThinVec<RoomId>: Archive, + <ThinVec<RoomId> as Archive>::Archived: Deserialize<ThinVec<RoomId>, __D>, + ThinVec<Reaction>: Archive, + <ThinVec<Reaction> as Archive>::Archived: Deserialize<ThinVec<Reaction>, __D>, + ThinVec<Attachment>: Archive, + <ThinVec<Attachment> as Archive>::Archived: Deserialize<ThinVec<Attachment>, __D>, + ThinVec<Embed>: Archive, + <ThinVec<Embed> as Archive>::Archived: Deserialize<ThinVec<Embed>, __D>, + i32: Archive, + <i32 as Archive>::Archived: Deserialize<i32, __D>,

source§

fn deserialize( + &self, + deserializer: &mut __D, +) -> Result<Message, <__D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<__S: Fallible + ?Sized> Serialize<__S> for Message
where + MessageId: Serialize<__S>, + RoomId: Serialize<__S>, + PartyId: Serialize<__S>, + MessageKind: Serialize<__S>, + PartyMember: Serialize<__S>, + Option<MessageId>: Serialize<__S>, + Option<Timestamp>: Serialize<__S>, + Option<SmolStr>: Serialize<__S>, + MessageFlags: Serialize<__S>, + ThinVec<FolderId>: Serialize<__S>, + ThinVec<UserId>: Serialize<__S>, + ThinVec<RoleId>: Serialize<__S>, + ThinVec<RoomId>: Serialize<__S>, + ThinVec<Reaction>: Serialize<__S>, + ThinVec<Attachment>: Serialize<__S>, + ThinVec<Embed>: Serialize<__S>, + i32: Serialize<__S>,

source§

fn serialize( + &self, + serializer: &mut __S, +) -> Result<<Self as Archive>::Resolver, <__S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.
source§

impl Serialize for Message

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where + T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T> ToOwned for T
where + T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
source§

impl<T> CommandBody for T
where + T: Send + Serialize + Archive,

source§

impl<T> CommandResult for T
where + T: Send + DeserializeOwned + Serialize + Archive,

source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/message/struct.MessageFlags.html b/client_sdk/models/message/struct.MessageFlags.html new file mode 100644 index 000000000..7470b7b48 --- /dev/null +++ b/client_sdk/models/message/struct.MessageFlags.html @@ -0,0 +1,135 @@ +MessageFlags in client_sdk::models::message - Rust

Struct client_sdk::models::message::MessageFlags

source ·
pub struct MessageFlags(/* private fields */);

Implementations§

source§

impl MessageFlags

source

pub const DELETED: Self = _

This message has been deleted

+
source

pub const REMOVED: Self = _

This messages has been deleted by another user

+
source

pub const PARENT: Self = _

If this message has children

+
source

pub const MENTIONS_EVERYONE: Self = _

source

pub const MENTIONS_HERE: Self = _

source

pub const TTS: Self = _

source

pub const SUPRESS_EMBEDS: Self = _

source

pub const STARRED: Self = _

Set if the message has been starred by the user requesting it

+
source

pub const LANGUAGE: Self = _

Top 6 bits are a language code, +which is never actually exposed to users.

+
source§

impl MessageFlags

source

pub const fn empty() -> Self

Get a flags value with all bits unset.

+
source

pub const fn all() -> Self

Get a flags value with all known bits set.

+
source

pub const fn bits(&self) -> i32

Get the underlying bits value.

+

The returned value is exactly the bits set in this flags value.

+
source

pub const fn from_bits(bits: i32) -> Option<Self>

Convert from a bits value.

+

This method will return None if any unknown bits are set.

+
source

pub const fn from_bits_truncate(bits: i32) -> Self

Convert from a bits value, unsetting any unknown bits.

+
source

pub const fn from_bits_retain(bits: i32) -> Self

Convert from a bits value exactly.

+
source

pub fn from_name(name: &str) -> Option<Self>

Get a flags value with the bits of a flag with the given name set.

+

This method will return None if name is empty or doesn’t +correspond to any named flag.

+
source

pub const fn is_empty(&self) -> bool

Whether all bits in this flags value are unset.

+
source

pub const fn is_all(&self) -> bool

Whether all known bits in this flags value are set.

+
source

pub const fn intersects(&self, other: Self) -> bool

Whether any set bits in a source flags value are also set in a target flags value.

+
source

pub const fn contains(&self, other: Self) -> bool

Whether all set bits in a source flags value are also set in a target flags value.

+
source

pub fn insert(&mut self, other: Self)

The bitwise or (|) of the bits in two flags values.

+
source

pub fn remove(&mut self, other: Self)

The intersection of a source flags value with the complement of a target flags value (&!).

+

This method is not equivalent to self & !other when other has unknown bits set. +remove won’t truncate other, but the ! operator will.

+
source

pub fn toggle(&mut self, other: Self)

The bitwise exclusive-or (^) of the bits in two flags values.

+
source

pub fn set(&mut self, other: Self, value: bool)

Call insert when value is true or remove when value is false.

+
source

pub const fn intersection(self, other: Self) -> Self

The bitwise and (&) of the bits in two flags values.

+
source

pub const fn union(self, other: Self) -> Self

The bitwise or (|) of the bits in two flags values.

+
source

pub const fn difference(self, other: Self) -> Self

The intersection of a source flags value with the complement of a target flags value (&!).

+

This method is not equivalent to self & !other when other has unknown bits set. +difference won’t truncate other, but the ! operator will.

+
source

pub const fn symmetric_difference(self, other: Self) -> Self

The bitwise exclusive-or (^) of the bits in two flags values.

+
source

pub const fn complement(self) -> Self

The bitwise negation (!) of the bits in a flags value, truncating the result.

+
source§

impl MessageFlags

source

pub const fn iter(&self) -> Iter<MessageFlags>

Yield a set of contained flags values.

+

Each yielded flags value will correspond to a defined named flag. Any unknown bits +will be yielded together as a final flags value.

+
source

pub const fn iter_names(&self) -> IterNames<MessageFlags>

Yield a set of contained named flags values.

+

This method is like iter, except only yields bits in contained named flags. +Any unknown bits, or bits not corresponding to a contained flag will not be yielded.

+
source§

impl MessageFlags

source

pub const fn from_bits_truncate_public(bits: i32) -> Self

Trait Implementations§

source§

impl Archive for MessageFlags

source§

type Archived = ArchivedMessageFlags

The archived representation of this type. Read more
source§

type Resolver = ()

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

fn resolve(&self, _: (), out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
source§

impl Binary for MessageFlags

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl BitAnd for MessageFlags

source§

fn bitand(self, other: Self) -> Self

The bitwise and (&) of the bits in two flags values.

+
source§

type Output = MessageFlags

The resulting type after applying the & operator.
source§

impl BitAndAssign for MessageFlags

source§

fn bitand_assign(&mut self, other: Self)

The bitwise and (&) of the bits in two flags values.

+
source§

impl BitOr for MessageFlags

source§

fn bitor(self, other: MessageFlags) -> Self

The bitwise or (|) of the bits in two flags values.

+
source§

type Output = MessageFlags

The resulting type after applying the | operator.
source§

impl BitOrAssign for MessageFlags

source§

fn bitor_assign(&mut self, other: Self)

The bitwise or (|) of the bits in two flags values.

+
source§

impl BitXor for MessageFlags

source§

fn bitxor(self, other: Self) -> Self

The bitwise exclusive-or (^) of the bits in two flags values.

+
source§

type Output = MessageFlags

The resulting type after applying the ^ operator.
source§

impl BitXorAssign for MessageFlags

source§

fn bitxor_assign(&mut self, other: Self)

The bitwise exclusive-or (^) of the bits in two flags values.

+
source§

impl Clone for MessageFlags

source§

fn clone(&self) -> MessageFlags

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for MessageFlags

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for MessageFlags

source§

fn deserialize<D>(deserializer: D) -> Result<MessageFlags, D::Error>
where + D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl<D: Fallible + ?Sized> Deserialize<MessageFlags, D> for ArchivedMessageFlags

source§

fn deserialize(&self, _: &mut D) -> Result<MessageFlags, D::Error>

Deserializes using the given deserializer
source§

impl Extend<MessageFlags> for MessageFlags

source§

fn extend<T: IntoIterator<Item = Self>>(&mut self, iterator: T)

The bitwise or (|) of the bits in each flags value.

+
source§

fn extend_one(&mut self, item: A)

🔬This is a nightly-only experimental API. (extend_one)
Extends a collection with exactly one element.
source§

fn extend_reserve(&mut self, additional: usize)

🔬This is a nightly-only experimental API. (extend_one)
Reserves capacity in a collection for the given number of additional elements. Read more
source§

impl Flags for MessageFlags

source§

const FLAGS: &'static [Flag<MessageFlags>] = _

The set of defined flags.
source§

type Bits = i32

The underlying bits type.
source§

fn bits(&self) -> i32

Get the underlying bits value. Read more
source§

fn from_bits_retain(bits: i32) -> MessageFlags

Convert from a bits value exactly.
§

fn empty() -> Self

Get a flags value with all bits unset.
§

fn all() -> Self

Get a flags value with all known bits set.
§

fn from_bits(bits: Self::Bits) -> Option<Self>

Convert from a bits value. Read more
§

fn from_bits_truncate(bits: Self::Bits) -> Self

Convert from a bits value, unsetting any unknown bits.
§

fn from_name(name: &str) -> Option<Self>

Get a flags value with the bits of a flag with the given name set. Read more
§

fn iter(&self) -> Iter<Self>

Yield a set of contained flags values. Read more
§

fn iter_names(&self) -> IterNames<Self>

Yield a set of contained named flags values. Read more
§

fn is_empty(&self) -> bool

Whether all bits in this flags value are unset.
§

fn is_all(&self) -> bool

Whether all known bits in this flags value are set.
§

fn intersects(&self, other: Self) -> bool
where + Self: Sized,

Whether any set bits in a source flags value are also set in a target flags value.
§

fn contains(&self, other: Self) -> bool
where + Self: Sized,

Whether all set bits in a source flags value are also set in a target flags value.
§

fn insert(&mut self, other: Self)
where + Self: Sized,

The bitwise or (|) of the bits in two flags values.
§

fn remove(&mut self, other: Self)
where + Self: Sized,

The intersection of a source flags value with the complement of a target flags value (&!). Read more
§

fn toggle(&mut self, other: Self)
where + Self: Sized,

The bitwise exclusive-or (^) of the bits in two flags values.
§

fn set(&mut self, other: Self, value: bool)
where + Self: Sized,

Call [Flags::insert] when value is true or [Flags::remove] when value is false.
§

fn intersection(self, other: Self) -> Self

The bitwise and (&) of the bits in two flags values.
§

fn union(self, other: Self) -> Self

The bitwise or (|) of the bits in two flags values.
§

fn difference(self, other: Self) -> Self

The intersection of a source flags value with the complement of a target flags value (&!). Read more
§

fn symmetric_difference(self, other: Self) -> Self

The bitwise exclusive-or (^) of the bits in two flags values.
§

fn complement(self) -> Self

The bitwise negation (!) of the bits in a flags value, truncating the result.
source§

impl From<ArchivedMessageFlags> for MessageFlags

source§

fn from(archived: ArchivedMessageFlags) -> Self

Converts to this type from the input type.
source§

impl FromIterator<MessageFlags> for MessageFlags

source§

fn from_iter<T: IntoIterator<Item = Self>>(iterator: T) -> Self

The bitwise or (|) of the bits in each flags value.

+
source§

impl<'a> FromSql<'a> for MessageFlags

source§

fn from_sql( + ty: &Type, + raw: &'a [u8], +) -> Result<Self, Box<dyn Error + Sync + Send>>

Creates a new value of this type from a buffer of data of the specified +Postgres Type in its binary format. Read more
source§

fn accepts(ty: &Type) -> bool

Determines if a value of this type can be created from the specified +Postgres Type.
§

fn from_sql_null(ty: &Type) -> Result<Self, Box<dyn Error + Sync + Send>>

Creates a new value of this type from a NULL SQL value. Read more
§

fn from_sql_nullable( + ty: &Type, + raw: Option<&'a [u8]>, +) -> Result<Self, Box<dyn Error + Sync + Send>>

A convenience function that delegates to from_sql and from_sql_null depending on the +value of raw.
source§

impl FromSql for MessageFlags

source§

fn column_result(value: ValueRef<'_>) -> FromSqlResult<Self>

Converts SQLite value into Rust value.
source§

impl Hash for MessageFlags

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where + H: Hasher, + Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl IntoIterator for MessageFlags

source§

type Item = MessageFlags

The type of the elements being iterated over.
source§

type IntoIter = Iter<MessageFlags>

Which kind of iterator are we turning this into?
source§

fn into_iter(self) -> Self::IntoIter

Creates an iterator from a value. Read more
source§

impl LowerHex for MessageFlags

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Not for MessageFlags

source§

fn not(self) -> Self

The bitwise negation (!) of the bits in a flags value, truncating the result.

+
source§

type Output = MessageFlags

The resulting type after applying the ! operator.
source§

impl Octal for MessageFlags

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl PartialEq<ArchivedMessageFlags> for MessageFlags

source§

fn eq(&self, other: &ArchivedMessageFlags) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl PartialEq<MessageFlags> for ArchivedMessageFlags

source§

fn eq(&self, other: &MessageFlags) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl PartialEq for MessageFlags

source§

fn eq(&self, other: &MessageFlags) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl PublicFlags for MessageFlags

source§

type Primitive = i32

The type of the underlying storage.
source§

type Internal = InternalBitFlags

The type of the internal field on the generated flags type.
source§

impl<S: Fallible + ?Sized> Serialize<S> for MessageFlags

source§

fn serialize(&self, _: &mut S) -> Result<(), S::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.
source§

impl Serialize for MessageFlags

source§

fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
where + S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Sub for MessageFlags

source§

fn sub(self, other: Self) -> Self

The intersection of a source flags value with the complement of a target flags value (&!).

+

This method is not equivalent to self & !other when other has unknown bits set. +difference won’t truncate other, but the ! operator will.

+
source§

type Output = MessageFlags

The resulting type after applying the - operator.
source§

impl SubAssign for MessageFlags

source§

fn sub_assign(&mut self, other: Self)

The intersection of a source flags value with the complement of a target flags value (&!).

+

This method is not equivalent to self & !other when other has unknown bits set. +difference won’t truncate other, but the ! operator will.

+
source§

impl ToSql for MessageFlags

source§

fn to_sql(&self) -> Result<ToSqlOutput<'_>>

Converts Rust value to SQLite value
source§

impl ToSql for MessageFlags

source§

fn to_sql( + &self, + ty: &Type, + out: &mut BytesMut, +) -> Result<IsNull, Box<dyn Error + Sync + Send>>
where + Self: Sized,

Converts the value of self into the binary format of the specified +Postgres Type, appending it to out. Read more
source§

fn accepts(ty: &Type) -> bool

Determines if a value of this type can be converted to the specified +Postgres Type.
source§

fn to_sql_checked( + &self, + ty: &Type, + out: &mut BytesMut, +) -> Result<IsNull, Box<dyn Error + Sync + Send>>

An adaptor method used internally by Rust-Postgres. Read more
§

fn encode_format(&self, _ty: &Type) -> Format

Specify the encode format
source§

impl UpperHex for MessageFlags

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Copy for MessageFlags

source§

impl Eq for MessageFlags

source§

impl StructuralPartialEq for MessageFlags

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> BorrowToSql for T
where + T: ToSql,

§

fn borrow_to_sql(&self) -> &dyn ToSql

Returns a reference to self as a ToSql trait object.
source§

impl<T> CloneToUninit for T
where + T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T> ToOwned for T
where + T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
source§

impl<T> CommandBody for T
where + T: Send + Serialize + Archive,

source§

impl<T> CommandResult for T
where + T: Send + DeserializeOwned + Serialize + Archive,

source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> FromSqlOwned for T
where + T: for<'a> FromSql<'a>,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/message/struct.MessageResolver.html b/client_sdk/models/message/struct.MessageResolver.html new file mode 100644 index 000000000..62a5cef91 --- /dev/null +++ b/client_sdk/models/message/struct.MessageResolver.html @@ -0,0 +1,38 @@ +MessageResolver in client_sdk::models::message - Rust

Struct client_sdk::models::message::MessageResolver

source ·
pub struct MessageResolver
where + MessageId: Archive, + RoomId: Archive, + PartyId: Archive, + MessageKind: Archive, + PartyMember: Archive, + Option<MessageId>: Archive, + Option<Timestamp>: Archive, + Option<SmolStr>: Archive, + MessageFlags: Archive, + ThinVec<FolderId>: Archive, + ThinVec<UserId>: Archive, + ThinVec<RoleId>: Archive, + ThinVec<RoomId>: Archive, + ThinVec<Reaction>: Archive, + ThinVec<Attachment>: Archive, + ThinVec<Embed>: Archive, + i32: Archive,
{ /* private fields */ }
Expand description

The resolver for an archived Message

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/message/struct.ReactionFull.html b/client_sdk/models/message/struct.ReactionFull.html new file mode 100644 index 000000000..fd5712909 --- /dev/null +++ b/client_sdk/models/message/struct.ReactionFull.html @@ -0,0 +1,58 @@ +ReactionFull in client_sdk::models::message - Rust

Struct client_sdk::models::message::ReactionFull

source ·
pub struct ReactionFull {
+    pub emote: EmoteOrEmoji,
+    pub users: ThinVec<UserId>,
+}

Fields§

§emote: EmoteOrEmoji§users: ThinVec<UserId>

Trait Implementations§

source§

impl Archive for ReactionFull
where + EmoteOrEmoji: Archive, + ThinVec<UserId>: Archive,

source§

type Archived = ArchivedReactionFull

The archived representation of this type. Read more
source§

type Resolver = ReactionFullResolver

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
source§

impl Clone for ReactionFull

source§

fn clone(&self) -> ReactionFull

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ReactionFull

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for ReactionFull

source§

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<__D: Fallible + ?Sized> Deserialize<ReactionFull, __D> for Archived<ReactionFull>
where + EmoteOrEmoji: Archive, + <EmoteOrEmoji as Archive>::Archived: Deserialize<EmoteOrEmoji, __D>, + ThinVec<UserId>: Archive, + <ThinVec<UserId> as Archive>::Archived: Deserialize<ThinVec<UserId>, __D>,

source§

fn deserialize( + &self, + deserializer: &mut __D, +) -> Result<ReactionFull, <__D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<__S: Fallible + ?Sized> Serialize<__S> for ReactionFull
where + EmoteOrEmoji: Serialize<__S>, + ThinVec<UserId>: Serialize<__S>,

source§

fn serialize( + &self, + serializer: &mut __S, +) -> Result<<Self as Archive>::Resolver, <__S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.
source§

impl Serialize for ReactionFull

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where + T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T> ToOwned for T
where + T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
source§

impl<T> CommandBody for T
where + T: Send + Serialize + Archive,

source§

impl<T> CommandResult for T
where + T: Send + DeserializeOwned + Serialize + Archive,

source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/message/struct.ReactionFullResolver.html b/client_sdk/models/message/struct.ReactionFullResolver.html new file mode 100644 index 000000000..d481fe592 --- /dev/null +++ b/client_sdk/models/message/struct.ReactionFullResolver.html @@ -0,0 +1,23 @@ +ReactionFullResolver in client_sdk::models::message - Rust

Struct client_sdk::models::message::ReactionFullResolver

source ·
pub struct ReactionFullResolver
where + EmoteOrEmoji: Archive, + ThinVec<UserId>: Archive,
{ /* private fields */ }
Expand description

The resolver for an archived ReactionFull

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/message/struct.ReactionShorthand.html b/client_sdk/models/message/struct.ReactionShorthand.html new file mode 100644 index 000000000..7762b2239 --- /dev/null +++ b/client_sdk/models/message/struct.ReactionShorthand.html @@ -0,0 +1,63 @@ +ReactionShorthand in client_sdk::models::message - Rust

Struct client_sdk::models::message::ReactionShorthand

source ·
pub struct ReactionShorthand {
+    pub emote: EmoteOrEmoji,
+    pub me: bool,
+    pub count: i64,
+}

Fields§

§emote: EmoteOrEmoji§me: bool§count: i64

Trait Implementations§

source§

impl Archive for ReactionShorthand
where + EmoteOrEmoji: Archive, + bool: Archive, + i64: Archive,

source§

type Archived = ArchivedReactionShorthand

The archived representation of this type. Read more
source§

type Resolver = ReactionShorthandResolver

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
source§

impl Clone for ReactionShorthand

source§

fn clone(&self) -> ReactionShorthand

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ReactionShorthand

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for ReactionShorthand

source§

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<__D: Fallible + ?Sized> Deserialize<ReactionShorthand, __D> for Archived<ReactionShorthand>
where + EmoteOrEmoji: Archive, + <EmoteOrEmoji as Archive>::Archived: Deserialize<EmoteOrEmoji, __D>, + bool: Archive, + <bool as Archive>::Archived: Deserialize<bool, __D>, + i64: Archive, + <i64 as Archive>::Archived: Deserialize<i64, __D>,

source§

fn deserialize( + &self, + deserializer: &mut __D, +) -> Result<ReactionShorthand, <__D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<__S: Fallible + ?Sized> Serialize<__S> for ReactionShorthand
where + EmoteOrEmoji: Serialize<__S>, + bool: Serialize<__S>, + i64: Serialize<__S>,

source§

fn serialize( + &self, + serializer: &mut __S, +) -> Result<<Self as Archive>::Resolver, <__S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.
source§

impl Serialize for ReactionShorthand

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where + T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T> ToOwned for T
where + T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
source§

impl<T> CommandBody for T
where + T: Send + Serialize + Archive,

source§

impl<T> CommandResult for T
where + T: Send + DeserializeOwned + Serialize + Archive,

source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/message/struct.ReactionShorthandResolver.html b/client_sdk/models/message/struct.ReactionShorthandResolver.html new file mode 100644 index 000000000..7a0bfd132 --- /dev/null +++ b/client_sdk/models/message/struct.ReactionShorthandResolver.html @@ -0,0 +1,24 @@ +ReactionShorthandResolver in client_sdk::models::message - Rust

Struct client_sdk::models::message::ReactionShorthandResolver

source ·
pub struct ReactionShorthandResolver
where + EmoteOrEmoji: Archive, + bool: Archive, + i64: Archive,
{ /* private fields */ }
Expand description

The resolver for an archived ReactionShorthand

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/nullable/enum.Nullable.html b/client_sdk/models/nullable/enum.Nullable.html new file mode 100644 index 000000000..593a81bcc --- /dev/null +++ b/client_sdk/models/nullable/enum.Nullable.html @@ -0,0 +1,103 @@ +Nullable in client_sdk::models::nullable - Rust

Enum client_sdk::models::nullable::Nullable

source ·
#[repr(u8)]
pub enum Nullable<T> { + Undefined = 0, + Null = 1, + Some(T), +}
Expand description

Similar to Option, Undefined values can be used when data may exist but is not provided.

+

For example, a user biography may not be provided to any random user if they haven’t +given permission to non-friends to view their profile, but that does not imply it doesn’t exist.

+

Similarly, not all gateway events provide all information in objects. Again, user profiles +are notable in that biographies are typically excluded in events to save on bandwidth.

+

Variants§

§

Undefined = 0

Neither present nor absent, an indeterminant value.

+
§

Null = 1

Certainly absent of value.

+
§

Some(T)

Certainly present of value.

+

Implementations§

source§

impl<T> Nullable<T>

source

pub const fn is_undefined(&self) -> bool

Returns true if the value is Undefined.

+
source

pub const fn is_null(&self) -> bool

Returns true if the value is Null.

+
source

pub const fn is_some(&self) -> bool

Returns true if the value is Some.

+
source

pub fn map<F, U>(self, f: F) -> Nullable<U>
where + F: FnOnce(T) -> U,

Maps an inner Some value to a different value, +carrying over Null and Undefined unchanged.

+
source

pub fn as_ref(&self) -> Nullable<&T>

Converts Nullable<T> to Nullable<&T>.

+
source

pub fn as_mut(&mut self) -> Nullable<&mut T>

Converts Nullable<T> to Nullable<&mut T>.

+
source

pub fn convert<U>(self) -> Nullable<U>
where + T: Into<U>,

Maps an inner Some value to a different value, using Into.

+

Equivalent to .map(Into::into).

+

Trait Implementations§

source§

impl<T: Archive> Archive for Nullable<T>

source§

type Archived = Nullable<<T as Archive>::Archived>

The archived representation of this type. Read more
source§

type Resolver = Nullable<<T as Archive>::Resolver>

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
source§

impl<T, C> CheckBytes<C> for Nullable<T>
where + C: Fallible + ?Sized, + <C as Fallible>::Error: Source, + T: CheckBytes<C>,

source§

unsafe fn check_bytes(value: *const Self, ctx: &mut C) -> Result<(), C::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl<T: Clone> Clone for Nullable<T>

source§

fn clone(&self) -> Nullable<T>

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl<T: Debug> Debug for Nullable<T>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<T> Default for Nullable<T>

source§

fn default() -> Nullable<T>

Returns the “default value” for a type. Read more
source§

impl<'de, T> Deserialize<'de> for Nullable<T>
where + T: Deserialize<'de>,

source§

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<T: Archive, D: Fallible + ?Sized> Deserialize<Nullable<T>, D> for Nullable<T::Archived>
where + Archived<T>: Deserialize<T, D>,

source§

fn deserialize(&self, deserializer: &mut D) -> Result<Nullable<T>, D::Error>

Deserializes using the given deserializer
source§

impl<T> From<Option<T>> for Nullable<T>

source§

fn from(value: Option<T>) -> Self

Converts to this type from the input type.
source§

impl<T> From<T> for Nullable<T>

source§

fn from(value: T) -> Self

Converts to this type from the input type.
source§

impl<'a, T: FromSql<'a>> FromSql<'a> for Nullable<T>

source§

fn from_sql( + ty: &Type, + raw: &'a [u8], +) -> Result<Self, Box<dyn Error + Sync + Send>>

Creates a new value of this type from a buffer of data of the specified +Postgres Type in its binary format. Read more
source§

fn from_sql_null(_: &Type) -> Result<Self, Box<dyn Error + Sync + Send>>

Creates a new value of this type from a NULL SQL value. Read more
source§

fn accepts(ty: &Type) -> bool

Determines if a value of this type can be created from the specified +Postgres Type.
§

fn from_sql_nullable( + ty: &Type, + raw: Option<&'a [u8]>, +) -> Result<Self, Box<dyn Error + Sync + Send>>

A convenience function that delegates to from_sql and from_sql_null depending on the +value of raw.
source§

impl<T: FromSql> FromSql for Nullable<T>

source§

fn column_result(value: ValueRef<'_>) -> FromSqlResult<Self>

Converts SQLite value into Rust value.
source§

impl<T: Hash> Hash for Nullable<T>

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where + H: Hasher, + Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl<T, U> PartialEq<Nullable<U>> for Nullable<T>
where + T: PartialEq<U>,

source§

fn eq(&self, other: &Nullable<U>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl<T: Serialize<S>, S: Fallible + ?Sized> Serialize<S> for Nullable<T>

source§

fn serialize(&self, serializer: &mut S) -> Result<Self::Resolver, S::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.
source§

impl<T> Serialize for Nullable<T>
where + T: Serialize,

source§

fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
where + S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl<T: ToSql> ToSql for Nullable<T>

source§

fn to_sql(&self) -> Result<ToSqlOutput<'_>>

Converts Rust value to SQLite value
source§

impl<T: ToSql> ToSql for Nullable<T>

source§

fn to_sql( + &self, + ty: &Type, + out: &mut BytesMut, +) -> Result<IsNull, Box<dyn Error + Sync + Send>>

Converts the value of self into the binary format of the specified +Postgres Type, appending it to out. Read more
source§

fn accepts(ty: &Type) -> bool

Determines if a value of this type can be converted to the specified +Postgres Type.
source§

fn to_sql_checked( + &self, + ty: &Type, + out: &mut BytesMut, +) -> Result<IsNull, Box<dyn Error + Sync + Send>>

An adaptor method used internally by Rust-Postgres. Read more
§

fn encode_format(&self, _ty: &Type) -> Format

Specify the encode format
source§

impl<T: Copy> Copy for Nullable<T>

source§

impl<T> Portable for Nullable<T>
where + T: Portable,

Auto Trait Implementations§

§

impl<T> Freeze for Nullable<T>
where + T: Freeze,

§

impl<T> RefUnwindSafe for Nullable<T>
where + T: RefUnwindSafe,

§

impl<T> Send for Nullable<T>
where + T: Send,

§

impl<T> Sync for Nullable<T>
where + T: Sync,

§

impl<T> Unpin for Nullable<T>
where + T: Unpin,

§

impl<T> UnwindSafe for Nullable<T>
where + T: UnwindSafe,

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> BorrowToSql for T
where + T: ToSql,

§

fn borrow_to_sql(&self) -> &dyn ToSql

Returns a reference to self as a ToSql trait object.
source§

impl<T> CloneToUninit for T
where + T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
source§

impl<T> From<!> for T

source§

fn from(t: !) -> T

Converts to this type from the input type.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T> ToOwned for T
where + T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
source§

impl<T> CommandBody for T
where + T: Send + Serialize + Archive,

source§

impl<T> CommandResult for T
where + T: Send + DeserializeOwned + Serialize + Archive,

source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> FromSqlOwned for T
where + T: for<'a> FromSql<'a>,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/nullable/index.html b/client_sdk/models/nullable/index.html new file mode 100644 index 000000000..76b976ca5 --- /dev/null +++ b/client_sdk/models/nullable/index.html @@ -0,0 +1 @@ +client_sdk::models::nullable - Rust

Module client_sdk::models::nullable

source ·

Enums§

  • Similar to Option, Undefined values can be used when data may exist but is not provided.
\ No newline at end of file diff --git a/client_sdk/models/nullable/sidebar-items.js b/client_sdk/models/nullable/sidebar-items.js new file mode 100644 index 000000000..63634a2ed --- /dev/null +++ b/client_sdk/models/nullable/sidebar-items.js @@ -0,0 +1 @@ +window.SIDEBAR_ITEMS = {"enum":["Nullable"]}; \ No newline at end of file diff --git a/client_sdk/models/party/index.html b/client_sdk/models/party/index.html new file mode 100644 index 000000000..4fa42c1d9 --- /dev/null +++ b/client_sdk/models/party/index.html @@ -0,0 +1,5 @@ +client_sdk::models::party - Rust

Module client_sdk::models::party

source ·

Structs§

\ No newline at end of file diff --git a/client_sdk/models/party/prefs/struct.ArchivedPartyPreferences.html b/client_sdk/models/party/prefs/struct.ArchivedPartyPreferences.html new file mode 100644 index 000000000..14a44b002 --- /dev/null +++ b/client_sdk/models/party/prefs/struct.ArchivedPartyPreferences.html @@ -0,0 +1,11 @@ + + + + + Redirection + + +

Redirecting to ../../../../client_sdk/models/party/struct.ArchivedPartyPreferences.html...

+ + + \ No newline at end of file diff --git a/client_sdk/models/party/prefs/struct.ArchivedPartyPrefsFlags.html b/client_sdk/models/party/prefs/struct.ArchivedPartyPrefsFlags.html new file mode 100644 index 000000000..2a91668e5 --- /dev/null +++ b/client_sdk/models/party/prefs/struct.ArchivedPartyPrefsFlags.html @@ -0,0 +1,11 @@ + + + + + Redirection + + +

Redirecting to ../../../../client_sdk/models/party/struct.ArchivedPartyPrefsFlags.html...

+ + + \ No newline at end of file diff --git a/client_sdk/models/party/prefs/struct.PartyPreferences.html b/client_sdk/models/party/prefs/struct.PartyPreferences.html new file mode 100644 index 000000000..1ca91c336 --- /dev/null +++ b/client_sdk/models/party/prefs/struct.PartyPreferences.html @@ -0,0 +1,11 @@ + + + + + Redirection + + +

Redirecting to ../../../../client_sdk/models/party/struct.PartyPreferences.html...

+ + + \ No newline at end of file diff --git a/client_sdk/models/party/prefs/struct.PartyPreferencesResolver.html b/client_sdk/models/party/prefs/struct.PartyPreferencesResolver.html new file mode 100644 index 000000000..fa14545c6 --- /dev/null +++ b/client_sdk/models/party/prefs/struct.PartyPreferencesResolver.html @@ -0,0 +1,11 @@ + + + + + Redirection + + +

Redirecting to ../../../../client_sdk/models/party/struct.PartyPreferencesResolver.html...

+ + + \ No newline at end of file diff --git a/client_sdk/models/party/prefs/struct.PartyPrefsFlags.html b/client_sdk/models/party/prefs/struct.PartyPrefsFlags.html new file mode 100644 index 000000000..6729fb788 --- /dev/null +++ b/client_sdk/models/party/prefs/struct.PartyPrefsFlags.html @@ -0,0 +1,11 @@ + + + + + Redirection + + +

Redirecting to ../../../../client_sdk/models/party/struct.PartyPrefsFlags.html...

+ + + \ No newline at end of file diff --git a/client_sdk/models/party/sidebar-items.js b/client_sdk/models/party/sidebar-items.js new file mode 100644 index 000000000..5c018db4c --- /dev/null +++ b/client_sdk/models/party/sidebar-items.js @@ -0,0 +1 @@ +window.SIDEBAR_ITEMS = {"struct":["ArchivedPartialParty","ArchivedParty","ArchivedPartyFlags","ArchivedPartyMember","ArchivedPartyMemberFlags","ArchivedPartyPreferences","ArchivedPartyPrefsFlags","ArchivedPinFolder","ArchivedPinFolderFlags","PartialParty","PartialPartyResolver","Party","PartyFlags","PartyMember","PartyMemberFlags","PartyMemberResolver","PartyPreferences","PartyPreferencesResolver","PartyPrefsFlags","PartyResolver","PinFolder","PinFolderFlags","PinFolderResolver"]}; \ No newline at end of file diff --git a/client_sdk/models/party/struct.ArchivedPartialParty.html b/client_sdk/models/party/struct.ArchivedPartialParty.html new file mode 100644 index 000000000..3e1ef36aa --- /dev/null +++ b/client_sdk/models/party/struct.ArchivedPartialParty.html @@ -0,0 +1,45 @@ +ArchivedPartialParty in client_sdk::models::party - Rust

Struct client_sdk::models::party::ArchivedPartialParty

source ·
#[repr(C)]
pub struct ArchivedPartialParty
where + PartyId: Archive, + SmolStr: Archive, + Option<ThinString>: Archive,
{ + pub id: <PartyId as Archive>::Archived, + pub name: <SmolStr as Archive>::Archived, + pub description: <Option<ThinString> as Archive>::Archived, +}
Expand description

An archived PartialParty

+

Fields§

§id: <PartyId as Archive>::Archived§name: <SmolStr as Archive>::Archived§description: <Option<ThinString> as Archive>::Archived

Trait Implementations§

source§

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedPartialParty
where + PartyId: Archive, + SmolStr: Archive, + Option<ThinString>: Archive, + <__C as Fallible>::Error: Trace, + <PartyId as Archive>::Archived: CheckBytes<__C>, + <SmolStr as Archive>::Archived: CheckBytes<__C>, + <Option<ThinString> as Archive>::Archived: CheckBytes<__C>,

source§

unsafe fn check_bytes( + value: *const Self, + context: &mut __C, +) -> Result<(), <__C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Portable for ArchivedPartialParty
where + PartyId: Archive, + SmolStr: Archive, + Option<ThinString>: Archive, + <PartyId as Archive>::Archived: Portable, + <SmolStr as Archive>::Archived: Portable, + <Option<ThinString> as Archive>::Archived: Portable,

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/party/struct.ArchivedParty.html b/client_sdk/models/party/struct.ArchivedParty.html new file mode 100644 index 000000000..ecf017176 --- /dev/null +++ b/client_sdk/models/party/struct.ArchivedParty.html @@ -0,0 +1,87 @@ +ArchivedParty in client_sdk::models::party - Rust

Struct client_sdk::models::party::ArchivedParty

source ·
#[repr(C)]
pub struct ArchivedParty
where + PartialParty: Archive, + PartyFlags: Archive, + Option<EncryptedSnowflake>: Archive, + Nullable<EncryptedSnowflake>: Archive, + RoomId: Archive, + Option<i16>: Archive, + UserId: Archive, + ThinVec<Role>: Archive, + ThinVec<Emote>: Archive, + ThinVec<PinFolder>: Archive,
{ + pub partial: <PartialParty as Archive>::Archived, + pub flags: <PartyFlags as Archive>::Archived, + pub avatar: <Option<EncryptedSnowflake> as Archive>::Archived, + pub banner: <Nullable<EncryptedSnowflake> as Archive>::Archived, + pub default_room: <RoomId as Archive>::Archived, + pub position: <Option<i16> as Archive>::Archived, + pub owner: <UserId as Archive>::Archived, + pub roles: <ThinVec<Role> as Archive>::Archived, + pub emotes: <ThinVec<Emote> as Archive>::Archived, + pub folders: <ThinVec<PinFolder> as Archive>::Archived, +}
Expand description

An archived Party

+

Fields§

§partial: <PartialParty as Archive>::Archived§flags: <PartyFlags as Archive>::Archived§avatar: <Option<EncryptedSnowflake> as Archive>::Archived§banner: <Nullable<EncryptedSnowflake> as Archive>::Archived§default_room: <RoomId as Archive>::Archived§position: <Option<i16> as Archive>::Archived§owner: <UserId as Archive>::Archived§roles: <ThinVec<Role> as Archive>::Archived§emotes: <ThinVec<Emote> as Archive>::Archived§folders: <ThinVec<PinFolder> as Archive>::Archived

Trait Implementations§

source§

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedParty
where + PartialParty: Archive, + PartyFlags: Archive, + Option<EncryptedSnowflake>: Archive, + Nullable<EncryptedSnowflake>: Archive, + RoomId: Archive, + Option<i16>: Archive, + UserId: Archive, + ThinVec<Role>: Archive, + ThinVec<Emote>: Archive, + ThinVec<PinFolder>: Archive, + <__C as Fallible>::Error: Trace, + <PartialParty as Archive>::Archived: CheckBytes<__C>, + <PartyFlags as Archive>::Archived: CheckBytes<__C>, + <Option<EncryptedSnowflake> as Archive>::Archived: CheckBytes<__C>, + <Nullable<EncryptedSnowflake> as Archive>::Archived: CheckBytes<__C>, + <RoomId as Archive>::Archived: CheckBytes<__C>, + <Option<i16> as Archive>::Archived: CheckBytes<__C>, + <UserId as Archive>::Archived: CheckBytes<__C>, + <ThinVec<Role> as Archive>::Archived: CheckBytes<__C>, + <ThinVec<Emote> as Archive>::Archived: CheckBytes<__C>, + <ThinVec<PinFolder> as Archive>::Archived: CheckBytes<__C>,

source§

unsafe fn check_bytes( + value: *const Self, + context: &mut __C, +) -> Result<(), <__C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Deref for ArchivedParty

source§

type Target = ArchivedPartialParty

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl Portable for ArchivedParty
where + PartialParty: Archive, + PartyFlags: Archive, + Option<EncryptedSnowflake>: Archive, + Nullable<EncryptedSnowflake>: Archive, + RoomId: Archive, + Option<i16>: Archive, + UserId: Archive, + ThinVec<Role>: Archive, + ThinVec<Emote>: Archive, + ThinVec<PinFolder>: Archive, + <PartialParty as Archive>::Archived: Portable, + <PartyFlags as Archive>::Archived: Portable, + <Option<EncryptedSnowflake> as Archive>::Archived: Portable, + <Nullable<EncryptedSnowflake> as Archive>::Archived: Portable, + <RoomId as Archive>::Archived: Portable, + <Option<i16> as Archive>::Archived: Portable, + <UserId as Archive>::Archived: Portable, + <ThinVec<Role> as Archive>::Archived: Portable, + <ThinVec<Emote> as Archive>::Archived: Portable, + <ThinVec<PinFolder> as Archive>::Archived: Portable,

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/party/struct.ArchivedPartyFlags.html b/client_sdk/models/party/struct.ArchivedPartyFlags.html new file mode 100644 index 000000000..510fc73bb --- /dev/null +++ b/client_sdk/models/party/struct.ArchivedPartyFlags.html @@ -0,0 +1,71 @@ +ArchivedPartyFlags in client_sdk::models::party - Rust

Struct client_sdk::models::party::ArchivedPartyFlags

source ·
#[repr(transparent)]
pub struct ArchivedPartyFlags(pub Archived<i32>);
Expand description

Archived version of PartyFlags, automatically made endian-agnostic. +When comparing with the native bitflags, the archived bitflags will truncate any extra bits.

+

Tuple Fields§

§0: Archived<i32>

Implementations§

source§

impl ArchivedPartyFlags

source

pub const fn to_native(&self) -> Option<PartyFlags>

Converts this archived bitflags to the native bitflags type, returning None if any +bits are set that are not part of the bitflags.

+

See PartyFlags::from_bits for more information.

+
source

pub const fn to_native_truncate(&self) -> PartyFlags

Converts this archived bitflags to the native bitflags type, truncating any extra bits.

+

See PartyFlags::from_bits_truncate for more information.

+
source

pub const fn to_native_retain(&self) -> PartyFlags

Converts this archived bitflags to the native bitflags type, retaining all bits, even +if they are not part of the bitflags.

+

See PartyFlags::from_bits_retain for more information.

+
source

pub const fn from_native(native: PartyFlags) -> Self

Converts the native bitflags type to an archived bitflags.

+
source

pub const fn contains(&self, other: PartyFlags) -> bool

Check if the archived bitflags contains all the given bitflags.

+

See PartyFlags::contains for more information.

+
source

pub const fn intersects(&self, other: PartyFlags) -> bool

Check if the archived bitflags intersect with any of the given bitflags.

+

See PartyFlags::intersects for more information.

+
source

pub const fn is_empty(&self) -> bool

Whether all bits in this flags value are unset.

+
source

pub const fn is_all(&self) -> bool

Whether all known bits in this flags value are set.

+
source

pub const fn bits(&self) -> i32

Get the underlying raw bits value.

+

Note that this may contain bits that are not part of the original bitflags, +if serialized with a different version of the bitflags. Use to_native or +to_native_truncate to convert to the native bitflags type +without extra bits.

+

Trait Implementations§

source§

impl<C> CheckBytes<C> for ArchivedPartyFlags
where + C: Fallible + ?Sized, + <C as Fallible>::Error: Source,

source§

unsafe fn check_bytes( + value: *const Self, + ctx: &mut C, +) -> Result<(), <C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Clone for ArchivedPartyFlags

source§

fn clone(&self) -> ArchivedPartyFlags

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ArchivedPartyFlags

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<D: Fallible + ?Sized> Deserialize<PartyFlags, D> for ArchivedPartyFlags

source§

fn deserialize(&self, _: &mut D) -> Result<PartyFlags, D::Error>

Deserializes using the given deserializer
source§

impl From<ArchivedPartyFlags> for PartyFlags

source§

fn from(archived: ArchivedPartyFlags) -> Self

Converts to this type from the input type.
source§

impl PartialEq<ArchivedPartyFlags> for PartyFlags

source§

fn eq(&self, other: &ArchivedPartyFlags) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl PartialEq<PartyFlags> for ArchivedPartyFlags

source§

fn eq(&self, other: &PartyFlags) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl PartialEq for ArchivedPartyFlags

source§

fn eq(&self, other: &ArchivedPartyFlags) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl ToSql for ArchivedPartyFlags

source§

fn to_sql( + &self, + ty: &Type, + out: &mut BytesMut, +) -> Result<IsNull, Box<dyn Error + Sync + Send>>
where + Self: Sized,

Converts the value of self into the binary format of the specified +Postgres Type, appending it to out. Read more
source§

fn accepts(ty: &Type) -> bool

Determines if a value of this type can be converted to the specified +Postgres Type.
source§

fn to_sql_checked( + &self, + ty: &Type, + out: &mut BytesMut, +) -> Result<IsNull, Box<dyn Error + Sync + Send>>

An adaptor method used internally by Rust-Postgres. Read more
§

fn encode_format(&self, _ty: &Type) -> Format

Specify the encode format
source§

impl Copy for ArchivedPartyFlags

source§

impl Eq for ArchivedPartyFlags

source§

impl NoUndef for ArchivedPartyFlags

source§

impl Portable for ArchivedPartyFlags

source§

impl StructuralPartialEq for ArchivedPartyFlags

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> BorrowToSql for T
where + T: ToSql,

§

fn borrow_to_sql(&self) -> &dyn ToSql

Returns a reference to self as a ToSql trait object.
source§

impl<T> CloneToUninit for T
where + T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where + T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/party/struct.ArchivedPartyMember.html b/client_sdk/models/party/struct.ArchivedPartyMember.html new file mode 100644 index 000000000..dd06da7f0 --- /dev/null +++ b/client_sdk/models/party/struct.ArchivedPartyMember.html @@ -0,0 +1,51 @@ +ArchivedPartyMember in client_sdk::models::party - Rust

Struct client_sdk::models::party::ArchivedPartyMember

source ·
#[repr(C)]
pub struct ArchivedPartyMember
where + User: Archive, + Option<Timestamp>: Archive, + PartyMemberFlags: Archive, + ThinVec<RoleId>: Archive,
{ + pub user: <User as Archive>::Archived, + pub joined_at: <Option<Timestamp> as Archive>::Archived, + pub flags: <PartyMemberFlags as Archive>::Archived, + pub roles: <ThinVec<RoleId> as Archive>::Archived, +}
Expand description

An archived PartyMember

+

Fields§

§user: <User as Archive>::Archived§joined_at: <Option<Timestamp> as Archive>::Archived§flags: <PartyMemberFlags as Archive>::Archived§roles: <ThinVec<RoleId> as Archive>::Archived

Trait Implementations§

source§

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedPartyMember
where + User: Archive, + Option<Timestamp>: Archive, + PartyMemberFlags: Archive, + ThinVec<RoleId>: Archive, + <__C as Fallible>::Error: Trace, + <User as Archive>::Archived: CheckBytes<__C>, + <Option<Timestamp> as Archive>::Archived: CheckBytes<__C>, + <PartyMemberFlags as Archive>::Archived: CheckBytes<__C>, + <ThinVec<RoleId> as Archive>::Archived: CheckBytes<__C>,

source§

unsafe fn check_bytes( + value: *const Self, + context: &mut __C, +) -> Result<(), <__C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Portable for ArchivedPartyMember
where + User: Archive, + Option<Timestamp>: Archive, + PartyMemberFlags: Archive, + ThinVec<RoleId>: Archive, + <User as Archive>::Archived: Portable, + <Option<Timestamp> as Archive>::Archived: Portable, + <PartyMemberFlags as Archive>::Archived: Portable, + <ThinVec<RoleId> as Archive>::Archived: Portable,

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/party/struct.ArchivedPartyMemberFlags.html b/client_sdk/models/party/struct.ArchivedPartyMemberFlags.html new file mode 100644 index 000000000..76cadeeb5 --- /dev/null +++ b/client_sdk/models/party/struct.ArchivedPartyMemberFlags.html @@ -0,0 +1,71 @@ +ArchivedPartyMemberFlags in client_sdk::models::party - Rust

Struct client_sdk::models::party::ArchivedPartyMemberFlags

source ·
#[repr(transparent)]
pub struct ArchivedPartyMemberFlags(pub Archived<i16>);
Expand description

Archived version of PartyMemberFlags, automatically made endian-agnostic. +When comparing with the native bitflags, the archived bitflags will truncate any extra bits.

+

Tuple Fields§

§0: Archived<i16>

Implementations§

source§

impl ArchivedPartyMemberFlags

source

pub const fn to_native(&self) -> Option<PartyMemberFlags>

Converts this archived bitflags to the native bitflags type, returning None if any +bits are set that are not part of the bitflags.

+

See PartyMemberFlags::from_bits for more information.

+
source

pub const fn to_native_truncate(&self) -> PartyMemberFlags

Converts this archived bitflags to the native bitflags type, truncating any extra bits.

+

See PartyMemberFlags::from_bits_truncate for more information.

+
source

pub const fn to_native_retain(&self) -> PartyMemberFlags

Converts this archived bitflags to the native bitflags type, retaining all bits, even +if they are not part of the bitflags.

+

See PartyMemberFlags::from_bits_retain for more information.

+
source

pub const fn from_native(native: PartyMemberFlags) -> Self

Converts the native bitflags type to an archived bitflags.

+
source

pub const fn contains(&self, other: PartyMemberFlags) -> bool

Check if the archived bitflags contains all the given bitflags.

+

See PartyMemberFlags::contains for more information.

+
source

pub const fn intersects(&self, other: PartyMemberFlags) -> bool

Check if the archived bitflags intersect with any of the given bitflags.

+

See PartyMemberFlags::intersects for more information.

+
source

pub const fn is_empty(&self) -> bool

Whether all bits in this flags value are unset.

+
source

pub const fn is_all(&self) -> bool

Whether all known bits in this flags value are set.

+
source

pub const fn bits(&self) -> i16

Get the underlying raw bits value.

+

Note that this may contain bits that are not part of the original bitflags, +if serialized with a different version of the bitflags. Use to_native or +to_native_truncate to convert to the native bitflags type +without extra bits.

+

Trait Implementations§

source§

impl<C> CheckBytes<C> for ArchivedPartyMemberFlags
where + C: Fallible + ?Sized, + <C as Fallible>::Error: Source,

source§

unsafe fn check_bytes( + value: *const Self, + ctx: &mut C, +) -> Result<(), <C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Clone for ArchivedPartyMemberFlags

source§

fn clone(&self) -> ArchivedPartyMemberFlags

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ArchivedPartyMemberFlags

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<D: Fallible + ?Sized> Deserialize<PartyMemberFlags, D> for ArchivedPartyMemberFlags

source§

fn deserialize(&self, _: &mut D) -> Result<PartyMemberFlags, D::Error>

Deserializes using the given deserializer
source§

impl From<ArchivedPartyMemberFlags> for PartyMemberFlags

source§

fn from(archived: ArchivedPartyMemberFlags) -> Self

Converts to this type from the input type.
source§

impl PartialEq<ArchivedPartyMemberFlags> for PartyMemberFlags

source§

fn eq(&self, other: &ArchivedPartyMemberFlags) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl PartialEq<PartyMemberFlags> for ArchivedPartyMemberFlags

source§

fn eq(&self, other: &PartyMemberFlags) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl PartialEq for ArchivedPartyMemberFlags

source§

fn eq(&self, other: &ArchivedPartyMemberFlags) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl ToSql for ArchivedPartyMemberFlags

source§

fn to_sql( + &self, + ty: &Type, + out: &mut BytesMut, +) -> Result<IsNull, Box<dyn Error + Sync + Send>>
where + Self: Sized,

Converts the value of self into the binary format of the specified +Postgres Type, appending it to out. Read more
source§

fn accepts(ty: &Type) -> bool

Determines if a value of this type can be converted to the specified +Postgres Type.
source§

fn to_sql_checked( + &self, + ty: &Type, + out: &mut BytesMut, +) -> Result<IsNull, Box<dyn Error + Sync + Send>>

An adaptor method used internally by Rust-Postgres. Read more
§

fn encode_format(&self, _ty: &Type) -> Format

Specify the encode format
source§

impl Copy for ArchivedPartyMemberFlags

source§

impl Eq for ArchivedPartyMemberFlags

source§

impl NoUndef for ArchivedPartyMemberFlags

source§

impl Portable for ArchivedPartyMemberFlags

source§

impl StructuralPartialEq for ArchivedPartyMemberFlags

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> BorrowToSql for T
where + T: ToSql,

§

fn borrow_to_sql(&self) -> &dyn ToSql

Returns a reference to self as a ToSql trait object.
source§

impl<T> CloneToUninit for T
where + T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where + T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/party/struct.ArchivedPartyPreferences.html b/client_sdk/models/party/struct.ArchivedPartyPreferences.html new file mode 100644 index 000000000..e5c7163b5 --- /dev/null +++ b/client_sdk/models/party/struct.ArchivedPartyPreferences.html @@ -0,0 +1,39 @@ +ArchivedPartyPreferences in client_sdk::models::party - Rust

Struct client_sdk::models::party::ArchivedPartyPreferences

source ·
#[repr(C)]
pub struct ArchivedPartyPreferences
where + Locale: Archive, + PartyPrefsFlags: Archive,
{ + pub l: <Locale as Archive>::Archived, + pub f: <PartyPrefsFlags as Archive>::Archived, +}
Expand description

An archived PartyPreferences

+

Fields§

§l: <Locale as Archive>::Archived§f: <PartyPrefsFlags as Archive>::Archived

Trait Implementations§

source§

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedPartyPreferences
where + Locale: Archive, + PartyPrefsFlags: Archive, + <__C as Fallible>::Error: Trace, + <Locale as Archive>::Archived: CheckBytes<__C>, + <PartyPrefsFlags as Archive>::Archived: CheckBytes<__C>,

source§

unsafe fn check_bytes( + value: *const Self, + context: &mut __C, +) -> Result<(), <__C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Portable for ArchivedPartyPreferences
where + Locale: Archive, + PartyPrefsFlags: Archive, + <Locale as Archive>::Archived: Portable, + <PartyPrefsFlags as Archive>::Archived: Portable,

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/party/struct.ArchivedPartyPrefsFlags.html b/client_sdk/models/party/struct.ArchivedPartyPrefsFlags.html new file mode 100644 index 000000000..1aedd4c05 --- /dev/null +++ b/client_sdk/models/party/struct.ArchivedPartyPrefsFlags.html @@ -0,0 +1,71 @@ +ArchivedPartyPrefsFlags in client_sdk::models::party - Rust

Struct client_sdk::models::party::ArchivedPartyPrefsFlags

source ·
#[repr(transparent)]
pub struct ArchivedPartyPrefsFlags(pub Archived<i32>);
Expand description

Archived version of PartyPrefsFlags, automatically made endian-agnostic. +When comparing with the native bitflags, the archived bitflags will truncate any extra bits.

+

Tuple Fields§

§0: Archived<i32>

Implementations§

source§

impl ArchivedPartyPrefsFlags

source

pub const fn to_native(&self) -> Option<PartyPrefsFlags>

Converts this archived bitflags to the native bitflags type, returning None if any +bits are set that are not part of the bitflags.

+

See PartyPrefsFlags::from_bits for more information.

+
source

pub const fn to_native_truncate(&self) -> PartyPrefsFlags

Converts this archived bitflags to the native bitflags type, truncating any extra bits.

+

See PartyPrefsFlags::from_bits_truncate for more information.

+
source

pub const fn to_native_retain(&self) -> PartyPrefsFlags

Converts this archived bitflags to the native bitflags type, retaining all bits, even +if they are not part of the bitflags.

+

See PartyPrefsFlags::from_bits_retain for more information.

+
source

pub const fn from_native(native: PartyPrefsFlags) -> Self

Converts the native bitflags type to an archived bitflags.

+
source

pub const fn contains(&self, other: PartyPrefsFlags) -> bool

Check if the archived bitflags contains all the given bitflags.

+

See PartyPrefsFlags::contains for more information.

+
source

pub const fn intersects(&self, other: PartyPrefsFlags) -> bool

Check if the archived bitflags intersect with any of the given bitflags.

+

See PartyPrefsFlags::intersects for more information.

+
source

pub const fn is_empty(&self) -> bool

Whether all bits in this flags value are unset.

+
source

pub const fn is_all(&self) -> bool

Whether all known bits in this flags value are set.

+
source

pub const fn bits(&self) -> i32

Get the underlying raw bits value.

+

Note that this may contain bits that are not part of the original bitflags, +if serialized with a different version of the bitflags. Use to_native or +to_native_truncate to convert to the native bitflags type +without extra bits.

+

Trait Implementations§

source§

impl<C> CheckBytes<C> for ArchivedPartyPrefsFlags
where + C: Fallible + ?Sized, + <C as Fallible>::Error: Source,

source§

unsafe fn check_bytes( + value: *const Self, + ctx: &mut C, +) -> Result<(), <C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Clone for ArchivedPartyPrefsFlags

source§

fn clone(&self) -> ArchivedPartyPrefsFlags

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ArchivedPartyPrefsFlags

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<D: Fallible + ?Sized> Deserialize<PartyPrefsFlags, D> for ArchivedPartyPrefsFlags

source§

fn deserialize(&self, _: &mut D) -> Result<PartyPrefsFlags, D::Error>

Deserializes using the given deserializer
source§

impl From<ArchivedPartyPrefsFlags> for PartyPrefsFlags

source§

fn from(archived: ArchivedPartyPrefsFlags) -> Self

Converts to this type from the input type.
source§

impl PartialEq<ArchivedPartyPrefsFlags> for PartyPrefsFlags

source§

fn eq(&self, other: &ArchivedPartyPrefsFlags) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl PartialEq<PartyPrefsFlags> for ArchivedPartyPrefsFlags

source§

fn eq(&self, other: &PartyPrefsFlags) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl PartialEq for ArchivedPartyPrefsFlags

source§

fn eq(&self, other: &ArchivedPartyPrefsFlags) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl ToSql for ArchivedPartyPrefsFlags

source§

fn to_sql( + &self, + ty: &Type, + out: &mut BytesMut, +) -> Result<IsNull, Box<dyn Error + Sync + Send>>
where + Self: Sized,

Converts the value of self into the binary format of the specified +Postgres Type, appending it to out. Read more
source§

fn accepts(ty: &Type) -> bool

Determines if a value of this type can be converted to the specified +Postgres Type.
source§

fn to_sql_checked( + &self, + ty: &Type, + out: &mut BytesMut, +) -> Result<IsNull, Box<dyn Error + Sync + Send>>

An adaptor method used internally by Rust-Postgres. Read more
§

fn encode_format(&self, _ty: &Type) -> Format

Specify the encode format
source§

impl Copy for ArchivedPartyPrefsFlags

source§

impl Eq for ArchivedPartyPrefsFlags

source§

impl NoUndef for ArchivedPartyPrefsFlags

source§

impl Portable for ArchivedPartyPrefsFlags

source§

impl StructuralPartialEq for ArchivedPartyPrefsFlags

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> BorrowToSql for T
where + T: ToSql,

§

fn borrow_to_sql(&self) -> &dyn ToSql

Returns a reference to self as a ToSql trait object.
source§

impl<T> CloneToUninit for T
where + T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where + T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/party/struct.ArchivedPinFolder.html b/client_sdk/models/party/struct.ArchivedPinFolder.html new file mode 100644 index 000000000..a7f28ae65 --- /dev/null +++ b/client_sdk/models/party/struct.ArchivedPinFolder.html @@ -0,0 +1,51 @@ +ArchivedPinFolder in client_sdk::models::party - Rust

Struct client_sdk::models::party::ArchivedPinFolder

source ·
#[repr(C)]
pub struct ArchivedPinFolder
where + FolderId: Archive, + SmolStr: Archive, + PinFolderFlags: Archive, + Option<SmolStr>: Archive,
{ + pub id: <FolderId as Archive>::Archived, + pub name: <SmolStr as Archive>::Archived, + pub flags: <PinFolderFlags as Archive>::Archived, + pub description: <Option<SmolStr> as Archive>::Archived, +}
Expand description

An archived PinFolder

+

Fields§

§id: <FolderId as Archive>::Archived§name: <SmolStr as Archive>::Archived§flags: <PinFolderFlags as Archive>::Archived§description: <Option<SmolStr> as Archive>::Archived

Trait Implementations§

source§

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedPinFolder
where + FolderId: Archive, + SmolStr: Archive, + PinFolderFlags: Archive, + Option<SmolStr>: Archive, + <__C as Fallible>::Error: Trace, + <FolderId as Archive>::Archived: CheckBytes<__C>, + <SmolStr as Archive>::Archived: CheckBytes<__C>, + <PinFolderFlags as Archive>::Archived: CheckBytes<__C>, + <Option<SmolStr> as Archive>::Archived: CheckBytes<__C>,

source§

unsafe fn check_bytes( + value: *const Self, + context: &mut __C, +) -> Result<(), <__C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Portable for ArchivedPinFolder
where + FolderId: Archive, + SmolStr: Archive, + PinFolderFlags: Archive, + Option<SmolStr>: Archive, + <FolderId as Archive>::Archived: Portable, + <SmolStr as Archive>::Archived: Portable, + <PinFolderFlags as Archive>::Archived: Portable, + <Option<SmolStr> as Archive>::Archived: Portable,

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/party/struct.ArchivedPinFolderFlags.html b/client_sdk/models/party/struct.ArchivedPinFolderFlags.html new file mode 100644 index 000000000..c5ddcc3c3 --- /dev/null +++ b/client_sdk/models/party/struct.ArchivedPinFolderFlags.html @@ -0,0 +1,71 @@ +ArchivedPinFolderFlags in client_sdk::models::party - Rust

Struct client_sdk::models::party::ArchivedPinFolderFlags

source ·
#[repr(transparent)]
pub struct ArchivedPinFolderFlags(pub Archived<i32>);
Expand description

Archived version of PinFolderFlags, automatically made endian-agnostic. +When comparing with the native bitflags, the archived bitflags will truncate any extra bits.

+

Tuple Fields§

§0: Archived<i32>

Implementations§

source§

impl ArchivedPinFolderFlags

source

pub const fn to_native(&self) -> Option<PinFolderFlags>

Converts this archived bitflags to the native bitflags type, returning None if any +bits are set that are not part of the bitflags.

+

See PinFolderFlags::from_bits for more information.

+
source

pub const fn to_native_truncate(&self) -> PinFolderFlags

Converts this archived bitflags to the native bitflags type, truncating any extra bits.

+

See PinFolderFlags::from_bits_truncate for more information.

+
source

pub const fn to_native_retain(&self) -> PinFolderFlags

Converts this archived bitflags to the native bitflags type, retaining all bits, even +if they are not part of the bitflags.

+

See PinFolderFlags::from_bits_retain for more information.

+
source

pub const fn from_native(native: PinFolderFlags) -> Self

Converts the native bitflags type to an archived bitflags.

+
source

pub const fn contains(&self, other: PinFolderFlags) -> bool

Check if the archived bitflags contains all the given bitflags.

+

See PinFolderFlags::contains for more information.

+
source

pub const fn intersects(&self, other: PinFolderFlags) -> bool

Check if the archived bitflags intersect with any of the given bitflags.

+

See PinFolderFlags::intersects for more information.

+
source

pub const fn is_empty(&self) -> bool

Whether all bits in this flags value are unset.

+
source

pub const fn is_all(&self) -> bool

Whether all known bits in this flags value are set.

+
source

pub const fn bits(&self) -> i32

Get the underlying raw bits value.

+

Note that this may contain bits that are not part of the original bitflags, +if serialized with a different version of the bitflags. Use to_native or +to_native_truncate to convert to the native bitflags type +without extra bits.

+

Trait Implementations§

source§

impl<C> CheckBytes<C> for ArchivedPinFolderFlags
where + C: Fallible + ?Sized, + <C as Fallible>::Error: Source,

source§

unsafe fn check_bytes( + value: *const Self, + ctx: &mut C, +) -> Result<(), <C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Clone for ArchivedPinFolderFlags

source§

fn clone(&self) -> ArchivedPinFolderFlags

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ArchivedPinFolderFlags

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<D: Fallible + ?Sized> Deserialize<PinFolderFlags, D> for ArchivedPinFolderFlags

source§

fn deserialize(&self, _: &mut D) -> Result<PinFolderFlags, D::Error>

Deserializes using the given deserializer
source§

impl From<ArchivedPinFolderFlags> for PinFolderFlags

source§

fn from(archived: ArchivedPinFolderFlags) -> Self

Converts to this type from the input type.
source§

impl PartialEq<ArchivedPinFolderFlags> for PinFolderFlags

source§

fn eq(&self, other: &ArchivedPinFolderFlags) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl PartialEq<PinFolderFlags> for ArchivedPinFolderFlags

source§

fn eq(&self, other: &PinFolderFlags) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl PartialEq for ArchivedPinFolderFlags

source§

fn eq(&self, other: &ArchivedPinFolderFlags) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl ToSql for ArchivedPinFolderFlags

source§

fn to_sql( + &self, + ty: &Type, + out: &mut BytesMut, +) -> Result<IsNull, Box<dyn Error + Sync + Send>>
where + Self: Sized,

Converts the value of self into the binary format of the specified +Postgres Type, appending it to out. Read more
source§

fn accepts(ty: &Type) -> bool

Determines if a value of this type can be converted to the specified +Postgres Type.
source§

fn to_sql_checked( + &self, + ty: &Type, + out: &mut BytesMut, +) -> Result<IsNull, Box<dyn Error + Sync + Send>>

An adaptor method used internally by Rust-Postgres. Read more
§

fn encode_format(&self, _ty: &Type) -> Format

Specify the encode format
source§

impl Copy for ArchivedPinFolderFlags

source§

impl Eq for ArchivedPinFolderFlags

source§

impl NoUndef for ArchivedPinFolderFlags

source§

impl Portable for ArchivedPinFolderFlags

source§

impl StructuralPartialEq for ArchivedPinFolderFlags

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> BorrowToSql for T
where + T: ToSql,

§

fn borrow_to_sql(&self) -> &dyn ToSql

Returns a reference to self as a ToSql trait object.
source§

impl<T> CloneToUninit for T
where + T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where + T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/party/struct.PartialParty.html b/client_sdk/models/party/struct.PartialParty.html new file mode 100644 index 000000000..df5e5293d --- /dev/null +++ b/client_sdk/models/party/struct.PartialParty.html @@ -0,0 +1,65 @@ +PartialParty in client_sdk::models::party - Rust

Struct client_sdk::models::party::PartialParty

source ·
pub struct PartialParty {
+    pub id: PartyId,
+    pub name: SmolStr,
+    pub description: Option<ThinString>,
+}

Fields§

§id: PartyId§name: SmolStr

Party name

+
§description: Option<ThinString>

Description of the party, if publicly listed

+

Trait Implementations§

source§

impl Archive for PartialParty
where + PartyId: Archive, + SmolStr: Archive, + Option<ThinString>: Archive,

source§

type Archived = ArchivedPartialParty

The archived representation of this type. Read more
source§

type Resolver = PartialPartyResolver

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
source§

impl Clone for PartialParty

source§

fn clone(&self) -> PartialParty

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for PartialParty

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for PartialParty

source§

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<__D: Fallible + ?Sized> Deserialize<PartialParty, __D> for Archived<PartialParty>
where + PartyId: Archive, + <PartyId as Archive>::Archived: Deserialize<PartyId, __D>, + SmolStr: Archive, + <SmolStr as Archive>::Archived: Deserialize<SmolStr, __D>, + Option<ThinString>: Archive, + <Option<ThinString> as Archive>::Archived: Deserialize<Option<ThinString>, __D>,

source§

fn deserialize( + &self, + deserializer: &mut __D, +) -> Result<PartialParty, <__D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<__S: Fallible + ?Sized> Serialize<__S> for PartialParty
where + PartyId: Serialize<__S>, + SmolStr: Serialize<__S>, + Option<ThinString>: Serialize<__S>,

source§

fn serialize( + &self, + serializer: &mut __S, +) -> Result<<Self as Archive>::Resolver, <__S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.
source§

impl Serialize for PartialParty

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where + T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T> ToOwned for T
where + T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
source§

impl<T> CommandBody for T
where + T: Send + Serialize + Archive,

source§

impl<T> CommandResult for T
where + T: Send + DeserializeOwned + Serialize + Archive,

source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/party/struct.PartialPartyResolver.html b/client_sdk/models/party/struct.PartialPartyResolver.html new file mode 100644 index 000000000..552b566b7 --- /dev/null +++ b/client_sdk/models/party/struct.PartialPartyResolver.html @@ -0,0 +1,24 @@ +PartialPartyResolver in client_sdk::models::party - Rust

Struct client_sdk::models::party::PartialPartyResolver

source ·
pub struct PartialPartyResolver
where + PartyId: Archive, + SmolStr: Archive, + Option<ThinString>: Archive,
{ /* private fields */ }
Expand description

The resolver for an archived PartialParty

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/party/struct.Party.html b/client_sdk/models/party/struct.Party.html new file mode 100644 index 000000000..7925228b6 --- /dev/null +++ b/client_sdk/models/party/struct.Party.html @@ -0,0 +1,100 @@ +Party in client_sdk::models::party - Rust

Struct client_sdk::models::party::Party

source ·
pub struct Party {
+    pub partial: PartialParty,
+    pub flags: PartyFlags,
+    pub avatar: Option<EncryptedSnowflake>,
+    pub banner: Nullable<EncryptedSnowflake>,
+    pub default_room: RoomId,
+    pub position: Option<i16>,
+    pub owner: UserId,
+    pub roles: ThinVec<Role>,
+    pub emotes: ThinVec<Emote>,
+    pub folders: ThinVec<PinFolder>,
+}

Fields§

§partial: PartialParty§flags: PartyFlags§avatar: Option<EncryptedSnowflake>§banner: Nullable<EncryptedSnowflake>§default_room: RoomId§position: Option<i16>

Position of party is user’s party list, will be null if not joined

+
§owner: UserId

Id of owner user

+
§roles: ThinVec<Role>§emotes: ThinVec<Emote>§folders: ThinVec<PinFolder>

Trait Implementations§

source§

impl Archive for Party
where + PartialParty: Archive, + PartyFlags: Archive, + Option<EncryptedSnowflake>: Archive, + Nullable<EncryptedSnowflake>: Archive, + RoomId: Archive, + Option<i16>: Archive, + UserId: Archive, + ThinVec<Role>: Archive, + ThinVec<Emote>: Archive, + ThinVec<PinFolder>: Archive,

source§

type Archived = ArchivedParty

The archived representation of this type. Read more
source§

type Resolver = PartyResolver

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
source§

impl Clone for Party

source§

fn clone(&self) -> Party

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Party

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Deref for Party

source§

type Target = PartialParty

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl<'de> Deserialize<'de> for Party

source§

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<__D: Fallible + ?Sized> Deserialize<Party, __D> for Archived<Party>
where + PartialParty: Archive, + <PartialParty as Archive>::Archived: Deserialize<PartialParty, __D>, + PartyFlags: Archive, + <PartyFlags as Archive>::Archived: Deserialize<PartyFlags, __D>, + Option<EncryptedSnowflake>: Archive, + <Option<EncryptedSnowflake> as Archive>::Archived: Deserialize<Option<EncryptedSnowflake>, __D>, + Nullable<EncryptedSnowflake>: Archive, + <Nullable<EncryptedSnowflake> as Archive>::Archived: Deserialize<Nullable<EncryptedSnowflake>, __D>, + RoomId: Archive, + <RoomId as Archive>::Archived: Deserialize<RoomId, __D>, + Option<i16>: Archive, + <Option<i16> as Archive>::Archived: Deserialize<Option<i16>, __D>, + UserId: Archive, + <UserId as Archive>::Archived: Deserialize<UserId, __D>, + ThinVec<Role>: Archive, + <ThinVec<Role> as Archive>::Archived: Deserialize<ThinVec<Role>, __D>, + ThinVec<Emote>: Archive, + <ThinVec<Emote> as Archive>::Archived: Deserialize<ThinVec<Emote>, __D>, + ThinVec<PinFolder>: Archive, + <ThinVec<PinFolder> as Archive>::Archived: Deserialize<ThinVec<PinFolder>, __D>,

source§

fn deserialize( + &self, + deserializer: &mut __D, +) -> Result<Party, <__D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<__S: Fallible + ?Sized> Serialize<__S> for Party
where + PartialParty: Serialize<__S>, + PartyFlags: Serialize<__S>, + Option<EncryptedSnowflake>: Serialize<__S>, + Nullable<EncryptedSnowflake>: Serialize<__S>, + RoomId: Serialize<__S>, + Option<i16>: Serialize<__S>, + UserId: Serialize<__S>, + ThinVec<Role>: Serialize<__S>, + ThinVec<Emote>: Serialize<__S>, + ThinVec<PinFolder>: Serialize<__S>,

source§

fn serialize( + &self, + serializer: &mut __S, +) -> Result<<Self as Archive>::Resolver, <__S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.
source§

impl Serialize for Party

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

§

impl Freeze for Party

§

impl RefUnwindSafe for Party

§

impl Send for Party

§

impl Sync for Party

§

impl Unpin for Party

§

impl UnwindSafe for Party

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where + T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T> ToOwned for T
where + T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
source§

impl<T> CommandBody for T
where + T: Send + Serialize + Archive,

source§

impl<T> CommandResult for T
where + T: Send + DeserializeOwned + Serialize + Archive,

source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/party/struct.PartyFlags.html b/client_sdk/models/party/struct.PartyFlags.html new file mode 100644 index 000000000..37b35811f --- /dev/null +++ b/client_sdk/models/party/struct.PartyFlags.html @@ -0,0 +1,139 @@ +PartyFlags in client_sdk::models::party - Rust

Struct client_sdk::models::party::PartyFlags

source ·
pub struct PartyFlags(/* private fields */);

Implementations§

source§

impl PartyFlags

source

pub const EMAIL: Self = _

Must have a verified email address

+
source

pub const PHONE: Self = _

Must have a verified phone number

+
source

pub const NEW_USER: Self = _

Must be a Lantern user for longer than 5 minutes

+
source

pub const NEW_MEMBER: Self = _

Must be a member of the server for longer than 10 minutes

+
source

pub const MFA_ENABLED: Self = _

Must have MFA enabled

+
source

pub const ADULT: Self = _

Party is marked as “adult”

+

This affects viewing on iOS apps and +the minimum age required to join.

+
source

pub const CLOSED: Self = _

Another way to refer to a direct-message is a “closed” party.

+
source

pub const LANGUAGE: Self = _

Top 6 bits are a language code

+
source

pub const SECURITY: Self = _

source§

impl PartyFlags

source

pub const fn empty() -> Self

Get a flags value with all bits unset.

+
source

pub const fn all() -> Self

Get a flags value with all known bits set.

+
source

pub const fn bits(&self) -> i32

Get the underlying bits value.

+

The returned value is exactly the bits set in this flags value.

+
source

pub const fn from_bits(bits: i32) -> Option<Self>

Convert from a bits value.

+

This method will return None if any unknown bits are set.

+
source

pub const fn from_bits_truncate(bits: i32) -> Self

Convert from a bits value, unsetting any unknown bits.

+
source

pub const fn from_bits_retain(bits: i32) -> Self

Convert from a bits value exactly.

+
source

pub fn from_name(name: &str) -> Option<Self>

Get a flags value with the bits of a flag with the given name set.

+

This method will return None if name is empty or doesn’t +correspond to any named flag.

+
source

pub const fn is_empty(&self) -> bool

Whether all bits in this flags value are unset.

+
source

pub const fn is_all(&self) -> bool

Whether all known bits in this flags value are set.

+
source

pub const fn intersects(&self, other: Self) -> bool

Whether any set bits in a source flags value are also set in a target flags value.

+
source

pub const fn contains(&self, other: Self) -> bool

Whether all set bits in a source flags value are also set in a target flags value.

+
source

pub fn insert(&mut self, other: Self)

The bitwise or (|) of the bits in two flags values.

+
source

pub fn remove(&mut self, other: Self)

The intersection of a source flags value with the complement of a target flags value (&!).

+

This method is not equivalent to self & !other when other has unknown bits set. +remove won’t truncate other, but the ! operator will.

+
source

pub fn toggle(&mut self, other: Self)

The bitwise exclusive-or (^) of the bits in two flags values.

+
source

pub fn set(&mut self, other: Self, value: bool)

Call insert when value is true or remove when value is false.

+
source

pub const fn intersection(self, other: Self) -> Self

The bitwise and (&) of the bits in two flags values.

+
source

pub const fn union(self, other: Self) -> Self

The bitwise or (|) of the bits in two flags values.

+
source

pub const fn difference(self, other: Self) -> Self

The intersection of a source flags value with the complement of a target flags value (&!).

+

This method is not equivalent to self & !other when other has unknown bits set. +difference won’t truncate other, but the ! operator will.

+
source

pub const fn symmetric_difference(self, other: Self) -> Self

The bitwise exclusive-or (^) of the bits in two flags values.

+
source

pub const fn complement(self) -> Self

The bitwise negation (!) of the bits in a flags value, truncating the result.

+
source§

impl PartyFlags

source

pub const fn iter(&self) -> Iter<PartyFlags>

Yield a set of contained flags values.

+

Each yielded flags value will correspond to a defined named flag. Any unknown bits +will be yielded together as a final flags value.

+
source

pub const fn iter_names(&self) -> IterNames<PartyFlags>

Yield a set of contained named flags values.

+

This method is like iter, except only yields bits in contained named flags. +Any unknown bits, or bits not corresponding to a contained flag will not be yielded.

+

Trait Implementations§

source§

impl Archive for PartyFlags

source§

type Archived = ArchivedPartyFlags

The archived representation of this type. Read more
source§

type Resolver = ()

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

fn resolve(&self, _: (), out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
source§

impl Binary for PartyFlags

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl BitAnd for PartyFlags

source§

fn bitand(self, other: Self) -> Self

The bitwise and (&) of the bits in two flags values.

+
source§

type Output = PartyFlags

The resulting type after applying the & operator.
source§

impl BitAndAssign for PartyFlags

source§

fn bitand_assign(&mut self, other: Self)

The bitwise and (&) of the bits in two flags values.

+
source§

impl BitOr for PartyFlags

source§

fn bitor(self, other: PartyFlags) -> Self

The bitwise or (|) of the bits in two flags values.

+
source§

type Output = PartyFlags

The resulting type after applying the | operator.
source§

impl BitOrAssign for PartyFlags

source§

fn bitor_assign(&mut self, other: Self)

The bitwise or (|) of the bits in two flags values.

+
source§

impl BitXor for PartyFlags

source§

fn bitxor(self, other: Self) -> Self

The bitwise exclusive-or (^) of the bits in two flags values.

+
source§

type Output = PartyFlags

The resulting type after applying the ^ operator.
source§

impl BitXorAssign for PartyFlags

source§

fn bitxor_assign(&mut self, other: Self)

The bitwise exclusive-or (^) of the bits in two flags values.

+
source§

impl Clone for PartyFlags

source§

fn clone(&self) -> PartyFlags

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for PartyFlags

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for PartyFlags

source§

fn default() -> PartyFlags

Returns the “default value” for a type. Read more
source§

impl<'de> Deserialize<'de> for PartyFlags

source§

fn deserialize<D>(deserializer: D) -> Result<PartyFlags, D::Error>
where + D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl<D: Fallible + ?Sized> Deserialize<PartyFlags, D> for ArchivedPartyFlags

source§

fn deserialize(&self, _: &mut D) -> Result<PartyFlags, D::Error>

Deserializes using the given deserializer
source§

impl Extend<PartyFlags> for PartyFlags

source§

fn extend<T: IntoIterator<Item = Self>>(&mut self, iterator: T)

The bitwise or (|) of the bits in each flags value.

+
source§

fn extend_one(&mut self, item: A)

🔬This is a nightly-only experimental API. (extend_one)
Extends a collection with exactly one element.
source§

fn extend_reserve(&mut self, additional: usize)

🔬This is a nightly-only experimental API. (extend_one)
Reserves capacity in a collection for the given number of additional elements. Read more
source§

impl Flags for PartyFlags

source§

const FLAGS: &'static [Flag<PartyFlags>] = _

The set of defined flags.
source§

type Bits = i32

The underlying bits type.
source§

fn bits(&self) -> i32

Get the underlying bits value. Read more
source§

fn from_bits_retain(bits: i32) -> PartyFlags

Convert from a bits value exactly.
§

fn empty() -> Self

Get a flags value with all bits unset.
§

fn all() -> Self

Get a flags value with all known bits set.
§

fn from_bits(bits: Self::Bits) -> Option<Self>

Convert from a bits value. Read more
§

fn from_bits_truncate(bits: Self::Bits) -> Self

Convert from a bits value, unsetting any unknown bits.
§

fn from_name(name: &str) -> Option<Self>

Get a flags value with the bits of a flag with the given name set. Read more
§

fn iter(&self) -> Iter<Self>

Yield a set of contained flags values. Read more
§

fn iter_names(&self) -> IterNames<Self>

Yield a set of contained named flags values. Read more
§

fn is_empty(&self) -> bool

Whether all bits in this flags value are unset.
§

fn is_all(&self) -> bool

Whether all known bits in this flags value are set.
§

fn intersects(&self, other: Self) -> bool
where + Self: Sized,

Whether any set bits in a source flags value are also set in a target flags value.
§

fn contains(&self, other: Self) -> bool
where + Self: Sized,

Whether all set bits in a source flags value are also set in a target flags value.
§

fn insert(&mut self, other: Self)
where + Self: Sized,

The bitwise or (|) of the bits in two flags values.
§

fn remove(&mut self, other: Self)
where + Self: Sized,

The intersection of a source flags value with the complement of a target flags value (&!). Read more
§

fn toggle(&mut self, other: Self)
where + Self: Sized,

The bitwise exclusive-or (^) of the bits in two flags values.
§

fn set(&mut self, other: Self, value: bool)
where + Self: Sized,

Call [Flags::insert] when value is true or [Flags::remove] when value is false.
§

fn intersection(self, other: Self) -> Self

The bitwise and (&) of the bits in two flags values.
§

fn union(self, other: Self) -> Self

The bitwise or (|) of the bits in two flags values.
§

fn difference(self, other: Self) -> Self

The intersection of a source flags value with the complement of a target flags value (&!). Read more
§

fn symmetric_difference(self, other: Self) -> Self

The bitwise exclusive-or (^) of the bits in two flags values.
§

fn complement(self) -> Self

The bitwise negation (!) of the bits in a flags value, truncating the result.
source§

impl From<ArchivedPartyFlags> for PartyFlags

source§

fn from(archived: ArchivedPartyFlags) -> Self

Converts to this type from the input type.
source§

impl FromIterator<PartyFlags> for PartyFlags

source§

fn from_iter<T: IntoIterator<Item = Self>>(iterator: T) -> Self

The bitwise or (|) of the bits in each flags value.

+
source§

impl<'a> FromSql<'a> for PartyFlags

source§

fn from_sql( + ty: &Type, + raw: &'a [u8], +) -> Result<Self, Box<dyn Error + Sync + Send>>

Creates a new value of this type from a buffer of data of the specified +Postgres Type in its binary format. Read more
source§

fn accepts(ty: &Type) -> bool

Determines if a value of this type can be created from the specified +Postgres Type.
§

fn from_sql_null(ty: &Type) -> Result<Self, Box<dyn Error + Sync + Send>>

Creates a new value of this type from a NULL SQL value. Read more
§

fn from_sql_nullable( + ty: &Type, + raw: Option<&'a [u8]>, +) -> Result<Self, Box<dyn Error + Sync + Send>>

A convenience function that delegates to from_sql and from_sql_null depending on the +value of raw.
source§

impl FromSql for PartyFlags

source§

fn column_result(value: ValueRef<'_>) -> FromSqlResult<Self>

Converts SQLite value into Rust value.
source§

impl Hash for PartyFlags

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where + H: Hasher, + Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl IntoIterator for PartyFlags

source§

type Item = PartyFlags

The type of the elements being iterated over.
source§

type IntoIter = Iter<PartyFlags>

Which kind of iterator are we turning this into?
source§

fn into_iter(self) -> Self::IntoIter

Creates an iterator from a value. Read more
source§

impl LowerHex for PartyFlags

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Not for PartyFlags

source§

fn not(self) -> Self

The bitwise negation (!) of the bits in a flags value, truncating the result.

+
source§

type Output = PartyFlags

The resulting type after applying the ! operator.
source§

impl Octal for PartyFlags

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl PartialEq<ArchivedPartyFlags> for PartyFlags

source§

fn eq(&self, other: &ArchivedPartyFlags) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl PartialEq<PartyFlags> for ArchivedPartyFlags

source§

fn eq(&self, other: &PartyFlags) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl PartialEq for PartyFlags

source§

fn eq(&self, other: &PartyFlags) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl PublicFlags for PartyFlags

source§

type Primitive = i32

The type of the underlying storage.
source§

type Internal = InternalBitFlags

The type of the internal field on the generated flags type.
source§

impl<S: Fallible + ?Sized> Serialize<S> for PartyFlags

source§

fn serialize(&self, _: &mut S) -> Result<(), S::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.
source§

impl Serialize for PartyFlags

source§

fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
where + S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Sub for PartyFlags

source§

fn sub(self, other: Self) -> Self

The intersection of a source flags value with the complement of a target flags value (&!).

+

This method is not equivalent to self & !other when other has unknown bits set. +difference won’t truncate other, but the ! operator will.

+
source§

type Output = PartyFlags

The resulting type after applying the - operator.
source§

impl SubAssign for PartyFlags

source§

fn sub_assign(&mut self, other: Self)

The intersection of a source flags value with the complement of a target flags value (&!).

+

This method is not equivalent to self & !other when other has unknown bits set. +difference won’t truncate other, but the ! operator will.

+
source§

impl ToSql for PartyFlags

source§

fn to_sql(&self) -> Result<ToSqlOutput<'_>>

Converts Rust value to SQLite value
source§

impl ToSql for PartyFlags

source§

fn to_sql( + &self, + ty: &Type, + out: &mut BytesMut, +) -> Result<IsNull, Box<dyn Error + Sync + Send>>
where + Self: Sized,

Converts the value of self into the binary format of the specified +Postgres Type, appending it to out. Read more
source§

fn accepts(ty: &Type) -> bool

Determines if a value of this type can be converted to the specified +Postgres Type.
source§

fn to_sql_checked( + &self, + ty: &Type, + out: &mut BytesMut, +) -> Result<IsNull, Box<dyn Error + Sync + Send>>

An adaptor method used internally by Rust-Postgres. Read more
§

fn encode_format(&self, _ty: &Type) -> Format

Specify the encode format
source§

impl UpperHex for PartyFlags

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Copy for PartyFlags

source§

impl Eq for PartyFlags

source§

impl StructuralPartialEq for PartyFlags

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> BorrowToSql for T
where + T: ToSql,

§

fn borrow_to_sql(&self) -> &dyn ToSql

Returns a reference to self as a ToSql trait object.
source§

impl<T> CloneToUninit for T
where + T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T> ToOwned for T
where + T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
source§

impl<T> CommandBody for T
where + T: Send + Serialize + Archive,

source§

impl<T> CommandResult for T
where + T: Send + DeserializeOwned + Serialize + Archive,

source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> FromSqlOwned for T
where + T: for<'a> FromSql<'a>,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/party/struct.PartyMember.html b/client_sdk/models/party/struct.PartyMember.html new file mode 100644 index 000000000..200046b22 --- /dev/null +++ b/client_sdk/models/party/struct.PartyMember.html @@ -0,0 +1,70 @@ +PartyMember in client_sdk::models::party - Rust

Struct client_sdk::models::party::PartyMember

source ·
pub struct PartyMember {
+    pub user: User,
+    pub joined_at: Option<Timestamp>,
+    pub flags: PartyMemberFlags,
+    pub roles: ThinVec<RoleId>,
+}

Fields§

§user: User§joined_at: Option<Timestamp>

Will be None if no longer in party

+
§flags: PartyMemberFlags§roles: ThinVec<RoleId>

List of Role id snowflakes, may be excluded from some queries

+

Trait Implementations§

source§

impl Archive for PartyMember
where + User: Archive, + Option<Timestamp>: Archive, + PartyMemberFlags: Archive, + ThinVec<RoleId>: Archive,

source§

type Archived = ArchivedPartyMember

The archived representation of this type. Read more
source§

type Resolver = PartyMemberResolver

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
source§

impl Clone for PartyMember

source§

fn clone(&self) -> PartyMember

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for PartyMember

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Deref for PartyMember

source§

type Target = User

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl<'de> Deserialize<'de> for PartyMember

source§

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<__D: Fallible + ?Sized> Deserialize<PartyMember, __D> for Archived<PartyMember>
where + User: Archive, + <User as Archive>::Archived: Deserialize<User, __D>, + Option<Timestamp>: Archive, + <Option<Timestamp> as Archive>::Archived: Deserialize<Option<Timestamp>, __D>, + PartyMemberFlags: Archive, + <PartyMemberFlags as Archive>::Archived: Deserialize<PartyMemberFlags, __D>, + ThinVec<RoleId>: Archive, + <ThinVec<RoleId> as Archive>::Archived: Deserialize<ThinVec<RoleId>, __D>,

source§

fn deserialize( + &self, + deserializer: &mut __D, +) -> Result<PartyMember, <__D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<__S: Fallible + ?Sized> Serialize<__S> for PartyMember
where + User: Serialize<__S>, + Option<Timestamp>: Serialize<__S>, + PartyMemberFlags: Serialize<__S>, + ThinVec<RoleId>: Serialize<__S>,

source§

fn serialize( + &self, + serializer: &mut __S, +) -> Result<<Self as Archive>::Resolver, <__S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.
source§

impl Serialize for PartyMember

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where + T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T> ToOwned for T
where + T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
source§

impl<T> CommandBody for T
where + T: Send + Serialize + Archive,

source§

impl<T> CommandResult for T
where + T: Send + DeserializeOwned + Serialize + Archive,

source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/party/struct.PartyMemberFlags.html b/client_sdk/models/party/struct.PartyMemberFlags.html new file mode 100644 index 000000000..44323eb77 --- /dev/null +++ b/client_sdk/models/party/struct.PartyMemberFlags.html @@ -0,0 +1,129 @@ +PartyMemberFlags in client_sdk::models::party - Rust

Struct client_sdk::models::party::PartyMemberFlags

source ·
pub struct PartyMemberFlags(/* private fields */);

Implementations§

source§

impl PartyMemberFlags

source

pub const BANNED: Self = _

source§

impl PartyMemberFlags

source

pub const fn empty() -> Self

Get a flags value with all bits unset.

+
source

pub const fn all() -> Self

Get a flags value with all known bits set.

+
source

pub const fn bits(&self) -> i16

Get the underlying bits value.

+

The returned value is exactly the bits set in this flags value.

+
source

pub const fn from_bits(bits: i16) -> Option<Self>

Convert from a bits value.

+

This method will return None if any unknown bits are set.

+
source

pub const fn from_bits_truncate(bits: i16) -> Self

Convert from a bits value, unsetting any unknown bits.

+
source

pub const fn from_bits_retain(bits: i16) -> Self

Convert from a bits value exactly.

+
source

pub fn from_name(name: &str) -> Option<Self>

Get a flags value with the bits of a flag with the given name set.

+

This method will return None if name is empty or doesn’t +correspond to any named flag.

+
source

pub const fn is_empty(&self) -> bool

Whether all bits in this flags value are unset.

+
source

pub const fn is_all(&self) -> bool

Whether all known bits in this flags value are set.

+
source

pub const fn intersects(&self, other: Self) -> bool

Whether any set bits in a source flags value are also set in a target flags value.

+
source

pub const fn contains(&self, other: Self) -> bool

Whether all set bits in a source flags value are also set in a target flags value.

+
source

pub fn insert(&mut self, other: Self)

The bitwise or (|) of the bits in two flags values.

+
source

pub fn remove(&mut self, other: Self)

The intersection of a source flags value with the complement of a target flags value (&!).

+

This method is not equivalent to self & !other when other has unknown bits set. +remove won’t truncate other, but the ! operator will.

+
source

pub fn toggle(&mut self, other: Self)

The bitwise exclusive-or (^) of the bits in two flags values.

+
source

pub fn set(&mut self, other: Self, value: bool)

Call insert when value is true or remove when value is false.

+
source

pub const fn intersection(self, other: Self) -> Self

The bitwise and (&) of the bits in two flags values.

+
source

pub const fn union(self, other: Self) -> Self

The bitwise or (|) of the bits in two flags values.

+
source

pub const fn difference(self, other: Self) -> Self

The intersection of a source flags value with the complement of a target flags value (&!).

+

This method is not equivalent to self & !other when other has unknown bits set. +difference won’t truncate other, but the ! operator will.

+
source

pub const fn symmetric_difference(self, other: Self) -> Self

The bitwise exclusive-or (^) of the bits in two flags values.

+
source

pub const fn complement(self) -> Self

The bitwise negation (!) of the bits in a flags value, truncating the result.

+
source§

impl PartyMemberFlags

source

pub const fn iter(&self) -> Iter<PartyMemberFlags>

Yield a set of contained flags values.

+

Each yielded flags value will correspond to a defined named flag. Any unknown bits +will be yielded together as a final flags value.

+
source

pub const fn iter_names(&self) -> IterNames<PartyMemberFlags>

Yield a set of contained named flags values.

+

This method is like iter, except only yields bits in contained named flags. +Any unknown bits, or bits not corresponding to a contained flag will not be yielded.

+

Trait Implementations§

source§

impl Archive for PartyMemberFlags

source§

type Archived = ArchivedPartyMemberFlags

The archived representation of this type. Read more
source§

type Resolver = ()

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

fn resolve(&self, _: (), out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
source§

impl Binary for PartyMemberFlags

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl BitAnd for PartyMemberFlags

source§

fn bitand(self, other: Self) -> Self

The bitwise and (&) of the bits in two flags values.

+
source§

type Output = PartyMemberFlags

The resulting type after applying the & operator.
source§

impl BitAndAssign for PartyMemberFlags

source§

fn bitand_assign(&mut self, other: Self)

The bitwise and (&) of the bits in two flags values.

+
source§

impl BitOr for PartyMemberFlags

source§

fn bitor(self, other: PartyMemberFlags) -> Self

The bitwise or (|) of the bits in two flags values.

+
source§

type Output = PartyMemberFlags

The resulting type after applying the | operator.
source§

impl BitOrAssign for PartyMemberFlags

source§

fn bitor_assign(&mut self, other: Self)

The bitwise or (|) of the bits in two flags values.

+
source§

impl BitXor for PartyMemberFlags

source§

fn bitxor(self, other: Self) -> Self

The bitwise exclusive-or (^) of the bits in two flags values.

+
source§

type Output = PartyMemberFlags

The resulting type after applying the ^ operator.
source§

impl BitXorAssign for PartyMemberFlags

source§

fn bitxor_assign(&mut self, other: Self)

The bitwise exclusive-or (^) of the bits in two flags values.

+
source§

impl Clone for PartyMemberFlags

source§

fn clone(&self) -> PartyMemberFlags

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for PartyMemberFlags

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for PartyMemberFlags

source§

fn default() -> Self

Returns the “default value” for a type. Read more
source§

impl<'de> Deserialize<'de> for PartyMemberFlags

source§

fn deserialize<D>(deserializer: D) -> Result<PartyMemberFlags, D::Error>
where + D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl<D: Fallible + ?Sized> Deserialize<PartyMemberFlags, D> for ArchivedPartyMemberFlags

source§

fn deserialize(&self, _: &mut D) -> Result<PartyMemberFlags, D::Error>

Deserializes using the given deserializer
source§

impl Extend<PartyMemberFlags> for PartyMemberFlags

source§

fn extend<T: IntoIterator<Item = Self>>(&mut self, iterator: T)

The bitwise or (|) of the bits in each flags value.

+
source§

fn extend_one(&mut self, item: A)

🔬This is a nightly-only experimental API. (extend_one)
Extends a collection with exactly one element.
source§

fn extend_reserve(&mut self, additional: usize)

🔬This is a nightly-only experimental API. (extend_one)
Reserves capacity in a collection for the given number of additional elements. Read more
source§

impl Flags for PartyMemberFlags

source§

const FLAGS: &'static [Flag<PartyMemberFlags>] = _

The set of defined flags.
source§

type Bits = i16

The underlying bits type.
source§

fn bits(&self) -> i16

Get the underlying bits value. Read more
source§

fn from_bits_retain(bits: i16) -> PartyMemberFlags

Convert from a bits value exactly.
§

fn empty() -> Self

Get a flags value with all bits unset.
§

fn all() -> Self

Get a flags value with all known bits set.
§

fn from_bits(bits: Self::Bits) -> Option<Self>

Convert from a bits value. Read more
§

fn from_bits_truncate(bits: Self::Bits) -> Self

Convert from a bits value, unsetting any unknown bits.
§

fn from_name(name: &str) -> Option<Self>

Get a flags value with the bits of a flag with the given name set. Read more
§

fn iter(&self) -> Iter<Self>

Yield a set of contained flags values. Read more
§

fn iter_names(&self) -> IterNames<Self>

Yield a set of contained named flags values. Read more
§

fn is_empty(&self) -> bool

Whether all bits in this flags value are unset.
§

fn is_all(&self) -> bool

Whether all known bits in this flags value are set.
§

fn intersects(&self, other: Self) -> bool
where + Self: Sized,

Whether any set bits in a source flags value are also set in a target flags value.
§

fn contains(&self, other: Self) -> bool
where + Self: Sized,

Whether all set bits in a source flags value are also set in a target flags value.
§

fn insert(&mut self, other: Self)
where + Self: Sized,

The bitwise or (|) of the bits in two flags values.
§

fn remove(&mut self, other: Self)
where + Self: Sized,

The intersection of a source flags value with the complement of a target flags value (&!). Read more
§

fn toggle(&mut self, other: Self)
where + Self: Sized,

The bitwise exclusive-or (^) of the bits in two flags values.
§

fn set(&mut self, other: Self, value: bool)
where + Self: Sized,

Call [Flags::insert] when value is true or [Flags::remove] when value is false.
§

fn intersection(self, other: Self) -> Self

The bitwise and (&) of the bits in two flags values.
§

fn union(self, other: Self) -> Self

The bitwise or (|) of the bits in two flags values.
§

fn difference(self, other: Self) -> Self

The intersection of a source flags value with the complement of a target flags value (&!). Read more
§

fn symmetric_difference(self, other: Self) -> Self

The bitwise exclusive-or (^) of the bits in two flags values.
§

fn complement(self) -> Self

The bitwise negation (!) of the bits in a flags value, truncating the result.
source§

impl From<ArchivedPartyMemberFlags> for PartyMemberFlags

source§

fn from(archived: ArchivedPartyMemberFlags) -> Self

Converts to this type from the input type.
source§

impl FromIterator<PartyMemberFlags> for PartyMemberFlags

source§

fn from_iter<T: IntoIterator<Item = Self>>(iterator: T) -> Self

The bitwise or (|) of the bits in each flags value.

+
source§

impl<'a> FromSql<'a> for PartyMemberFlags

source§

fn from_sql( + ty: &Type, + raw: &'a [u8], +) -> Result<Self, Box<dyn Error + Sync + Send>>

Creates a new value of this type from a buffer of data of the specified +Postgres Type in its binary format. Read more
source§

fn accepts(ty: &Type) -> bool

Determines if a value of this type can be created from the specified +Postgres Type.
§

fn from_sql_null(ty: &Type) -> Result<Self, Box<dyn Error + Sync + Send>>

Creates a new value of this type from a NULL SQL value. Read more
§

fn from_sql_nullable( + ty: &Type, + raw: Option<&'a [u8]>, +) -> Result<Self, Box<dyn Error + Sync + Send>>

A convenience function that delegates to from_sql and from_sql_null depending on the +value of raw.
source§

impl FromSql for PartyMemberFlags

source§

fn column_result(value: ValueRef<'_>) -> FromSqlResult<Self>

Converts SQLite value into Rust value.
source§

impl Hash for PartyMemberFlags

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where + H: Hasher, + Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl IntoIterator for PartyMemberFlags

source§

type Item = PartyMemberFlags

The type of the elements being iterated over.
source§

type IntoIter = Iter<PartyMemberFlags>

Which kind of iterator are we turning this into?
source§

fn into_iter(self) -> Self::IntoIter

Creates an iterator from a value. Read more
source§

impl LowerHex for PartyMemberFlags

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Not for PartyMemberFlags

source§

fn not(self) -> Self

The bitwise negation (!) of the bits in a flags value, truncating the result.

+
source§

type Output = PartyMemberFlags

The resulting type after applying the ! operator.
source§

impl Octal for PartyMemberFlags

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl PartialEq<ArchivedPartyMemberFlags> for PartyMemberFlags

source§

fn eq(&self, other: &ArchivedPartyMemberFlags) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl PartialEq<PartyMemberFlags> for ArchivedPartyMemberFlags

source§

fn eq(&self, other: &PartyMemberFlags) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl PartialEq for PartyMemberFlags

source§

fn eq(&self, other: &PartyMemberFlags) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl PublicFlags for PartyMemberFlags

source§

type Primitive = i16

The type of the underlying storage.
source§

type Internal = InternalBitFlags

The type of the internal field on the generated flags type.
source§

impl<S: Fallible + ?Sized> Serialize<S> for PartyMemberFlags

source§

fn serialize(&self, _: &mut S) -> Result<(), S::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.
source§

impl Serialize for PartyMemberFlags

source§

fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
where + S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Sub for PartyMemberFlags

source§

fn sub(self, other: Self) -> Self

The intersection of a source flags value with the complement of a target flags value (&!).

+

This method is not equivalent to self & !other when other has unknown bits set. +difference won’t truncate other, but the ! operator will.

+
source§

type Output = PartyMemberFlags

The resulting type after applying the - operator.
source§

impl SubAssign for PartyMemberFlags

source§

fn sub_assign(&mut self, other: Self)

The intersection of a source flags value with the complement of a target flags value (&!).

+

This method is not equivalent to self & !other when other has unknown bits set. +difference won’t truncate other, but the ! operator will.

+
source§

impl ToSql for PartyMemberFlags

source§

fn to_sql(&self) -> Result<ToSqlOutput<'_>>

Converts Rust value to SQLite value
source§

impl ToSql for PartyMemberFlags

source§

fn to_sql( + &self, + ty: &Type, + out: &mut BytesMut, +) -> Result<IsNull, Box<dyn Error + Sync + Send>>
where + Self: Sized,

Converts the value of self into the binary format of the specified +Postgres Type, appending it to out. Read more
source§

fn accepts(ty: &Type) -> bool

Determines if a value of this type can be converted to the specified +Postgres Type.
source§

fn to_sql_checked( + &self, + ty: &Type, + out: &mut BytesMut, +) -> Result<IsNull, Box<dyn Error + Sync + Send>>

An adaptor method used internally by Rust-Postgres. Read more
§

fn encode_format(&self, _ty: &Type) -> Format

Specify the encode format
source§

impl UpperHex for PartyMemberFlags

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Copy for PartyMemberFlags

source§

impl Eq for PartyMemberFlags

source§

impl StructuralPartialEq for PartyMemberFlags

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> BorrowToSql for T
where + T: ToSql,

§

fn borrow_to_sql(&self) -> &dyn ToSql

Returns a reference to self as a ToSql trait object.
source§

impl<T> CloneToUninit for T
where + T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T> ToOwned for T
where + T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
source§

impl<T> CommandBody for T
where + T: Send + Serialize + Archive,

source§

impl<T> CommandResult for T
where + T: Send + DeserializeOwned + Serialize + Archive,

source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> FromSqlOwned for T
where + T: for<'a> FromSql<'a>,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/party/struct.PartyMemberResolver.html b/client_sdk/models/party/struct.PartyMemberResolver.html new file mode 100644 index 000000000..8e8898b83 --- /dev/null +++ b/client_sdk/models/party/struct.PartyMemberResolver.html @@ -0,0 +1,25 @@ +PartyMemberResolver in client_sdk::models::party - Rust

Struct client_sdk::models::party::PartyMemberResolver

source ·
pub struct PartyMemberResolver
where + User: Archive, + Option<Timestamp>: Archive, + PartyMemberFlags: Archive, + ThinVec<RoleId>: Archive,
{ /* private fields */ }
Expand description

The resolver for an archived PartyMember

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/party/struct.PartyPreferences.html b/client_sdk/models/party/struct.PartyPreferences.html new file mode 100644 index 000000000..ca129c5a1 --- /dev/null +++ b/client_sdk/models/party/struct.PartyPreferences.html @@ -0,0 +1,58 @@ +PartyPreferences in client_sdk::models::party - Rust

Struct client_sdk::models::party::PartyPreferences

source ·
pub struct PartyPreferences {
+    pub l: Locale,
+    pub f: PartyPrefsFlags,
+}

Fields§

§l: Locale§f: PartyPrefsFlags

Trait Implementations§

source§

impl Archive for PartyPreferences
where + Locale: Archive, + PartyPrefsFlags: Archive,

source§

type Archived = ArchivedPartyPreferences

The archived representation of this type. Read more
source§

type Resolver = PartyPreferencesResolver

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
source§

impl Clone for PartyPreferences

source§

fn clone(&self) -> PartyPreferences

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for PartyPreferences

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for PartyPreferences

source§

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<__D: Fallible + ?Sized> Deserialize<PartyPreferences, __D> for Archived<PartyPreferences>
where + Locale: Archive, + <Locale as Archive>::Archived: Deserialize<Locale, __D>, + PartyPrefsFlags: Archive, + <PartyPrefsFlags as Archive>::Archived: Deserialize<PartyPrefsFlags, __D>,

source§

fn deserialize( + &self, + deserializer: &mut __D, +) -> Result<PartyPreferences, <__D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<__S: Fallible + ?Sized> Serialize<__S> for PartyPreferences
where + Locale: Serialize<__S>, + PartyPrefsFlags: Serialize<__S>,

source§

fn serialize( + &self, + serializer: &mut __S, +) -> Result<<Self as Archive>::Resolver, <__S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.
source§

impl Serialize for PartyPreferences

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where + T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T> ToOwned for T
where + T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
source§

impl<T> CommandBody for T
where + T: Send + Serialize + Archive,

source§

impl<T> CommandResult for T
where + T: Send + DeserializeOwned + Serialize + Archive,

source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/party/struct.PartyPreferencesResolver.html b/client_sdk/models/party/struct.PartyPreferencesResolver.html new file mode 100644 index 000000000..7ffdd1fbe --- /dev/null +++ b/client_sdk/models/party/struct.PartyPreferencesResolver.html @@ -0,0 +1,23 @@ +PartyPreferencesResolver in client_sdk::models::party - Rust

Struct client_sdk::models::party::PartyPreferencesResolver

source ·
pub struct PartyPreferencesResolver
where + Locale: Archive, + PartyPrefsFlags: Archive,
{ /* private fields */ }
Expand description

The resolver for an archived PartyPreferences

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/party/struct.PartyPrefsFlags.html b/client_sdk/models/party/struct.PartyPrefsFlags.html new file mode 100644 index 000000000..c14ae9509 --- /dev/null +++ b/client_sdk/models/party/struct.PartyPrefsFlags.html @@ -0,0 +1,129 @@ +PartyPrefsFlags in client_sdk::models::party - Rust

Struct client_sdk::models::party::PartyPrefsFlags

source ·
pub struct PartyPrefsFlags(/* private fields */);

Implementations§

source§

impl PartyPrefsFlags

source

pub const DEFAULT_FLAGS: Self = _

source§

impl PartyPrefsFlags

source

pub const fn empty() -> Self

Get a flags value with all bits unset.

+
source

pub const fn all() -> Self

Get a flags value with all known bits set.

+
source

pub const fn bits(&self) -> i32

Get the underlying bits value.

+

The returned value is exactly the bits set in this flags value.

+
source

pub const fn from_bits(bits: i32) -> Option<Self>

Convert from a bits value.

+

This method will return None if any unknown bits are set.

+
source

pub const fn from_bits_truncate(bits: i32) -> Self

Convert from a bits value, unsetting any unknown bits.

+
source

pub const fn from_bits_retain(bits: i32) -> Self

Convert from a bits value exactly.

+
source

pub fn from_name(name: &str) -> Option<Self>

Get a flags value with the bits of a flag with the given name set.

+

This method will return None if name is empty or doesn’t +correspond to any named flag.

+
source

pub const fn is_empty(&self) -> bool

Whether all bits in this flags value are unset.

+
source

pub const fn is_all(&self) -> bool

Whether all known bits in this flags value are set.

+
source

pub const fn intersects(&self, other: Self) -> bool

Whether any set bits in a source flags value are also set in a target flags value.

+
source

pub const fn contains(&self, other: Self) -> bool

Whether all set bits in a source flags value are also set in a target flags value.

+
source

pub fn insert(&mut self, other: Self)

The bitwise or (|) of the bits in two flags values.

+
source

pub fn remove(&mut self, other: Self)

The intersection of a source flags value with the complement of a target flags value (&!).

+

This method is not equivalent to self & !other when other has unknown bits set. +remove won’t truncate other, but the ! operator will.

+
source

pub fn toggle(&mut self, other: Self)

The bitwise exclusive-or (^) of the bits in two flags values.

+
source

pub fn set(&mut self, other: Self, value: bool)

Call insert when value is true or remove when value is false.

+
source

pub const fn intersection(self, other: Self) -> Self

The bitwise and (&) of the bits in two flags values.

+
source

pub const fn union(self, other: Self) -> Self

The bitwise or (|) of the bits in two flags values.

+
source

pub const fn difference(self, other: Self) -> Self

The intersection of a source flags value with the complement of a target flags value (&!).

+

This method is not equivalent to self & !other when other has unknown bits set. +difference won’t truncate other, but the ! operator will.

+
source

pub const fn symmetric_difference(self, other: Self) -> Self

The bitwise exclusive-or (^) of the bits in two flags values.

+
source

pub const fn complement(self) -> Self

The bitwise negation (!) of the bits in a flags value, truncating the result.

+
source§

impl PartyPrefsFlags

source

pub const fn iter(&self) -> Iter<PartyPrefsFlags>

Yield a set of contained flags values.

+

Each yielded flags value will correspond to a defined named flag. Any unknown bits +will be yielded together as a final flags value.

+
source

pub const fn iter_names(&self) -> IterNames<PartyPrefsFlags>

Yield a set of contained named flags values.

+

This method is like iter, except only yields bits in contained named flags. +Any unknown bits, or bits not corresponding to a contained flag will not be yielded.

+

Trait Implementations§

source§

impl Archive for PartyPrefsFlags

source§

type Archived = ArchivedPartyPrefsFlags

The archived representation of this type. Read more
source§

type Resolver = ()

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

fn resolve(&self, _: (), out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
source§

impl Binary for PartyPrefsFlags

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl BitAnd for PartyPrefsFlags

source§

fn bitand(self, other: Self) -> Self

The bitwise and (&) of the bits in two flags values.

+
source§

type Output = PartyPrefsFlags

The resulting type after applying the & operator.
source§

impl BitAndAssign for PartyPrefsFlags

source§

fn bitand_assign(&mut self, other: Self)

The bitwise and (&) of the bits in two flags values.

+
source§

impl BitOr for PartyPrefsFlags

source§

fn bitor(self, other: PartyPrefsFlags) -> Self

The bitwise or (|) of the bits in two flags values.

+
source§

type Output = PartyPrefsFlags

The resulting type after applying the | operator.
source§

impl BitOrAssign for PartyPrefsFlags

source§

fn bitor_assign(&mut self, other: Self)

The bitwise or (|) of the bits in two flags values.

+
source§

impl BitXor for PartyPrefsFlags

source§

fn bitxor(self, other: Self) -> Self

The bitwise exclusive-or (^) of the bits in two flags values.

+
source§

type Output = PartyPrefsFlags

The resulting type after applying the ^ operator.
source§

impl BitXorAssign for PartyPrefsFlags

source§

fn bitxor_assign(&mut self, other: Self)

The bitwise exclusive-or (^) of the bits in two flags values.

+
source§

impl Clone for PartyPrefsFlags

source§

fn clone(&self) -> PartyPrefsFlags

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for PartyPrefsFlags

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for PartyPrefsFlags

source§

fn default() -> Self

Returns the “default value” for a type. Read more
source§

impl<'de> Deserialize<'de> for PartyPrefsFlags

source§

fn deserialize<D>(deserializer: D) -> Result<PartyPrefsFlags, D::Error>
where + D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl<D: Fallible + ?Sized> Deserialize<PartyPrefsFlags, D> for ArchivedPartyPrefsFlags

source§

fn deserialize(&self, _: &mut D) -> Result<PartyPrefsFlags, D::Error>

Deserializes using the given deserializer
source§

impl Extend<PartyPrefsFlags> for PartyPrefsFlags

source§

fn extend<T: IntoIterator<Item = Self>>(&mut self, iterator: T)

The bitwise or (|) of the bits in each flags value.

+
source§

fn extend_one(&mut self, item: A)

🔬This is a nightly-only experimental API. (extend_one)
Extends a collection with exactly one element.
source§

fn extend_reserve(&mut self, additional: usize)

🔬This is a nightly-only experimental API. (extend_one)
Reserves capacity in a collection for the given number of additional elements. Read more
source§

impl Flags for PartyPrefsFlags

source§

const FLAGS: &'static [Flag<PartyPrefsFlags>] = _

The set of defined flags.
source§

type Bits = i32

The underlying bits type.
source§

fn bits(&self) -> i32

Get the underlying bits value. Read more
source§

fn from_bits_retain(bits: i32) -> PartyPrefsFlags

Convert from a bits value exactly.
§

fn empty() -> Self

Get a flags value with all bits unset.
§

fn all() -> Self

Get a flags value with all known bits set.
§

fn from_bits(bits: Self::Bits) -> Option<Self>

Convert from a bits value. Read more
§

fn from_bits_truncate(bits: Self::Bits) -> Self

Convert from a bits value, unsetting any unknown bits.
§

fn from_name(name: &str) -> Option<Self>

Get a flags value with the bits of a flag with the given name set. Read more
§

fn iter(&self) -> Iter<Self>

Yield a set of contained flags values. Read more
§

fn iter_names(&self) -> IterNames<Self>

Yield a set of contained named flags values. Read more
§

fn is_empty(&self) -> bool

Whether all bits in this flags value are unset.
§

fn is_all(&self) -> bool

Whether all known bits in this flags value are set.
§

fn intersects(&self, other: Self) -> bool
where + Self: Sized,

Whether any set bits in a source flags value are also set in a target flags value.
§

fn contains(&self, other: Self) -> bool
where + Self: Sized,

Whether all set bits in a source flags value are also set in a target flags value.
§

fn insert(&mut self, other: Self)
where + Self: Sized,

The bitwise or (|) of the bits in two flags values.
§

fn remove(&mut self, other: Self)
where + Self: Sized,

The intersection of a source flags value with the complement of a target flags value (&!). Read more
§

fn toggle(&mut self, other: Self)
where + Self: Sized,

The bitwise exclusive-or (^) of the bits in two flags values.
§

fn set(&mut self, other: Self, value: bool)
where + Self: Sized,

Call [Flags::insert] when value is true or [Flags::remove] when value is false.
§

fn intersection(self, other: Self) -> Self

The bitwise and (&) of the bits in two flags values.
§

fn union(self, other: Self) -> Self

The bitwise or (|) of the bits in two flags values.
§

fn difference(self, other: Self) -> Self

The intersection of a source flags value with the complement of a target flags value (&!). Read more
§

fn symmetric_difference(self, other: Self) -> Self

The bitwise exclusive-or (^) of the bits in two flags values.
§

fn complement(self) -> Self

The bitwise negation (!) of the bits in a flags value, truncating the result.
source§

impl From<ArchivedPartyPrefsFlags> for PartyPrefsFlags

source§

fn from(archived: ArchivedPartyPrefsFlags) -> Self

Converts to this type from the input type.
source§

impl From<u64> for PartyPrefsFlags

source§

fn from(value: u64) -> Self

Converts to this type from the input type.
source§

impl FromIterator<PartyPrefsFlags> for PartyPrefsFlags

source§

fn from_iter<T: IntoIterator<Item = Self>>(iterator: T) -> Self

The bitwise or (|) of the bits in each flags value.

+
source§

impl<'a> FromSql<'a> for PartyPrefsFlags

source§

fn from_sql( + ty: &Type, + raw: &'a [u8], +) -> Result<Self, Box<dyn Error + Sync + Send>>

Creates a new value of this type from a buffer of data of the specified +Postgres Type in its binary format. Read more
source§

fn accepts(ty: &Type) -> bool

Determines if a value of this type can be created from the specified +Postgres Type.
§

fn from_sql_null(ty: &Type) -> Result<Self, Box<dyn Error + Sync + Send>>

Creates a new value of this type from a NULL SQL value. Read more
§

fn from_sql_nullable( + ty: &Type, + raw: Option<&'a [u8]>, +) -> Result<Self, Box<dyn Error + Sync + Send>>

A convenience function that delegates to from_sql and from_sql_null depending on the +value of raw.
source§

impl FromSql for PartyPrefsFlags

source§

fn column_result(value: ValueRef<'_>) -> FromSqlResult<Self>

Converts SQLite value into Rust value.
source§

impl Hash for PartyPrefsFlags

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where + H: Hasher, + Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl IntoIterator for PartyPrefsFlags

source§

type Item = PartyPrefsFlags

The type of the elements being iterated over.
source§

type IntoIter = Iter<PartyPrefsFlags>

Which kind of iterator are we turning this into?
source§

fn into_iter(self) -> Self::IntoIter

Creates an iterator from a value. Read more
source§

impl LowerHex for PartyPrefsFlags

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Not for PartyPrefsFlags

source§

fn not(self) -> Self

The bitwise negation (!) of the bits in a flags value, truncating the result.

+
source§

type Output = PartyPrefsFlags

The resulting type after applying the ! operator.
source§

impl Octal for PartyPrefsFlags

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl PartialEq<ArchivedPartyPrefsFlags> for PartyPrefsFlags

source§

fn eq(&self, other: &ArchivedPartyPrefsFlags) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl PartialEq<PartyPrefsFlags> for ArchivedPartyPrefsFlags

source§

fn eq(&self, other: &PartyPrefsFlags) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl PartialEq for PartyPrefsFlags

source§

fn eq(&self, other: &PartyPrefsFlags) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl PublicFlags for PartyPrefsFlags

source§

type Primitive = i32

The type of the underlying storage.
source§

type Internal = InternalBitFlags

The type of the internal field on the generated flags type.
source§

impl<S: Fallible + ?Sized> Serialize<S> for PartyPrefsFlags

source§

fn serialize(&self, _: &mut S) -> Result<(), S::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.
source§

impl Serialize for PartyPrefsFlags

source§

fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
where + S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Sub for PartyPrefsFlags

source§

fn sub(self, other: Self) -> Self

The intersection of a source flags value with the complement of a target flags value (&!).

+

This method is not equivalent to self & !other when other has unknown bits set. +difference won’t truncate other, but the ! operator will.

+
source§

type Output = PartyPrefsFlags

The resulting type after applying the - operator.
source§

impl SubAssign for PartyPrefsFlags

source§

fn sub_assign(&mut self, other: Self)

The intersection of a source flags value with the complement of a target flags value (&!).

+

This method is not equivalent to self & !other when other has unknown bits set. +difference won’t truncate other, but the ! operator will.

+
source§

impl ToSql for PartyPrefsFlags

source§

fn to_sql(&self) -> Result<ToSqlOutput<'_>>

Converts Rust value to SQLite value
source§

impl ToSql for PartyPrefsFlags

source§

fn to_sql( + &self, + ty: &Type, + out: &mut BytesMut, +) -> Result<IsNull, Box<dyn Error + Sync + Send>>
where + Self: Sized,

Converts the value of self into the binary format of the specified +Postgres Type, appending it to out. Read more
source§

fn accepts(ty: &Type) -> bool

Determines if a value of this type can be converted to the specified +Postgres Type.
source§

fn to_sql_checked( + &self, + ty: &Type, + out: &mut BytesMut, +) -> Result<IsNull, Box<dyn Error + Sync + Send>>

An adaptor method used internally by Rust-Postgres. Read more
§

fn encode_format(&self, _ty: &Type) -> Format

Specify the encode format
source§

impl UpperHex for PartyPrefsFlags

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Copy for PartyPrefsFlags

source§

impl Eq for PartyPrefsFlags

source§

impl StructuralPartialEq for PartyPrefsFlags

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> BorrowToSql for T
where + T: ToSql,

§

fn borrow_to_sql(&self) -> &dyn ToSql

Returns a reference to self as a ToSql trait object.
source§

impl<T> CloneToUninit for T
where + T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T> ToOwned for T
where + T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
source§

impl<T> CommandBody for T
where + T: Send + Serialize + Archive,

source§

impl<T> CommandResult for T
where + T: Send + DeserializeOwned + Serialize + Archive,

source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> FromSqlOwned for T
where + T: for<'a> FromSql<'a>,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/party/struct.PartyResolver.html b/client_sdk/models/party/struct.PartyResolver.html new file mode 100644 index 000000000..fd4e8d15a --- /dev/null +++ b/client_sdk/models/party/struct.PartyResolver.html @@ -0,0 +1,31 @@ +PartyResolver in client_sdk::models::party - Rust

Struct client_sdk::models::party::PartyResolver

source ·
pub struct PartyResolver
where + PartialParty: Archive, + PartyFlags: Archive, + Option<EncryptedSnowflake>: Archive, + Nullable<EncryptedSnowflake>: Archive, + RoomId: Archive, + Option<i16>: Archive, + UserId: Archive, + ThinVec<Role>: Archive, + ThinVec<Emote>: Archive, + ThinVec<PinFolder>: Archive,
{ /* private fields */ }
Expand description

The resolver for an archived Party

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/party/struct.PinFolder.html b/client_sdk/models/party/struct.PinFolder.html new file mode 100644 index 000000000..c4c3e6fb6 --- /dev/null +++ b/client_sdk/models/party/struct.PinFolder.html @@ -0,0 +1,68 @@ +PinFolder in client_sdk::models::party - Rust

Struct client_sdk::models::party::PinFolder

source ·
pub struct PinFolder {
+    pub id: FolderId,
+    pub name: SmolStr,
+    pub flags: PinFolderFlags,
+    pub description: Option<SmolStr>,
+}

Fields§

§id: FolderId§name: SmolStr§flags: PinFolderFlags§description: Option<SmolStr>

Trait Implementations§

source§

impl Archive for PinFolder
where + FolderId: Archive, + SmolStr: Archive, + PinFolderFlags: Archive, + Option<SmolStr>: Archive,

source§

type Archived = ArchivedPinFolder

The archived representation of this type. Read more
source§

type Resolver = PinFolderResolver

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
source§

impl Clone for PinFolder

source§

fn clone(&self) -> PinFolder

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for PinFolder

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for PinFolder

source§

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<__D: Fallible + ?Sized> Deserialize<PinFolder, __D> for Archived<PinFolder>
where + FolderId: Archive, + <FolderId as Archive>::Archived: Deserialize<FolderId, __D>, + SmolStr: Archive, + <SmolStr as Archive>::Archived: Deserialize<SmolStr, __D>, + PinFolderFlags: Archive, + <PinFolderFlags as Archive>::Archived: Deserialize<PinFolderFlags, __D>, + Option<SmolStr>: Archive, + <Option<SmolStr> as Archive>::Archived: Deserialize<Option<SmolStr>, __D>,

source§

fn deserialize( + &self, + deserializer: &mut __D, +) -> Result<PinFolder, <__D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<__S: Fallible + ?Sized> Serialize<__S> for PinFolder
where + FolderId: Serialize<__S>, + SmolStr: Serialize<__S>, + PinFolderFlags: Serialize<__S>, + Option<SmolStr>: Serialize<__S>,

source§

fn serialize( + &self, + serializer: &mut __S, +) -> Result<<Self as Archive>::Resolver, <__S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.
source§

impl Serialize for PinFolder

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where + T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T> ToOwned for T
where + T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
source§

impl<T> CommandBody for T
where + T: Send + Serialize + Archive,

source§

impl<T> CommandResult for T
where + T: Send + DeserializeOwned + Serialize + Archive,

source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/party/struct.PinFolderFlags.html b/client_sdk/models/party/struct.PinFolderFlags.html new file mode 100644 index 000000000..e023ec58b --- /dev/null +++ b/client_sdk/models/party/struct.PinFolderFlags.html @@ -0,0 +1,129 @@ +PinFolderFlags in client_sdk::models::party - Rust

Struct client_sdk::models::party::PinFolderFlags

source ·
pub struct PinFolderFlags(/* private fields */);

Implementations§

source§

impl PinFolderFlags

source

pub const COLOR: Self = _

source§

impl PinFolderFlags

source

pub const fn empty() -> Self

Get a flags value with all bits unset.

+
source

pub const fn all() -> Self

Get a flags value with all known bits set.

+
source

pub const fn bits(&self) -> i32

Get the underlying bits value.

+

The returned value is exactly the bits set in this flags value.

+
source

pub const fn from_bits(bits: i32) -> Option<Self>

Convert from a bits value.

+

This method will return None if any unknown bits are set.

+
source

pub const fn from_bits_truncate(bits: i32) -> Self

Convert from a bits value, unsetting any unknown bits.

+
source

pub const fn from_bits_retain(bits: i32) -> Self

Convert from a bits value exactly.

+
source

pub fn from_name(name: &str) -> Option<Self>

Get a flags value with the bits of a flag with the given name set.

+

This method will return None if name is empty or doesn’t +correspond to any named flag.

+
source

pub const fn is_empty(&self) -> bool

Whether all bits in this flags value are unset.

+
source

pub const fn is_all(&self) -> bool

Whether all known bits in this flags value are set.

+
source

pub const fn intersects(&self, other: Self) -> bool

Whether any set bits in a source flags value are also set in a target flags value.

+
source

pub const fn contains(&self, other: Self) -> bool

Whether all set bits in a source flags value are also set in a target flags value.

+
source

pub fn insert(&mut self, other: Self)

The bitwise or (|) of the bits in two flags values.

+
source

pub fn remove(&mut self, other: Self)

The intersection of a source flags value with the complement of a target flags value (&!).

+

This method is not equivalent to self & !other when other has unknown bits set. +remove won’t truncate other, but the ! operator will.

+
source

pub fn toggle(&mut self, other: Self)

The bitwise exclusive-or (^) of the bits in two flags values.

+
source

pub fn set(&mut self, other: Self, value: bool)

Call insert when value is true or remove when value is false.

+
source

pub const fn intersection(self, other: Self) -> Self

The bitwise and (&) of the bits in two flags values.

+
source

pub const fn union(self, other: Self) -> Self

The bitwise or (|) of the bits in two flags values.

+
source

pub const fn difference(self, other: Self) -> Self

The intersection of a source flags value with the complement of a target flags value (&!).

+

This method is not equivalent to self & !other when other has unknown bits set. +difference won’t truncate other, but the ! operator will.

+
source

pub const fn symmetric_difference(self, other: Self) -> Self

The bitwise exclusive-or (^) of the bits in two flags values.

+
source

pub const fn complement(self) -> Self

The bitwise negation (!) of the bits in a flags value, truncating the result.

+
source§

impl PinFolderFlags

source

pub const fn iter(&self) -> Iter<PinFolderFlags>

Yield a set of contained flags values.

+

Each yielded flags value will correspond to a defined named flag. Any unknown bits +will be yielded together as a final flags value.

+
source

pub const fn iter_names(&self) -> IterNames<PinFolderFlags>

Yield a set of contained named flags values.

+

This method is like iter, except only yields bits in contained named flags. +Any unknown bits, or bits not corresponding to a contained flag will not be yielded.

+

Trait Implementations§

source§

impl Archive for PinFolderFlags

source§

type Archived = ArchivedPinFolderFlags

The archived representation of this type. Read more
source§

type Resolver = ()

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

fn resolve(&self, _: (), out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
source§

impl Binary for PinFolderFlags

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl BitAnd for PinFolderFlags

source§

fn bitand(self, other: Self) -> Self

The bitwise and (&) of the bits in two flags values.

+
source§

type Output = PinFolderFlags

The resulting type after applying the & operator.
source§

impl BitAndAssign for PinFolderFlags

source§

fn bitand_assign(&mut self, other: Self)

The bitwise and (&) of the bits in two flags values.

+
source§

impl BitOr for PinFolderFlags

source§

fn bitor(self, other: PinFolderFlags) -> Self

The bitwise or (|) of the bits in two flags values.

+
source§

type Output = PinFolderFlags

The resulting type after applying the | operator.
source§

impl BitOrAssign for PinFolderFlags

source§

fn bitor_assign(&mut self, other: Self)

The bitwise or (|) of the bits in two flags values.

+
source§

impl BitXor for PinFolderFlags

source§

fn bitxor(self, other: Self) -> Self

The bitwise exclusive-or (^) of the bits in two flags values.

+
source§

type Output = PinFolderFlags

The resulting type after applying the ^ operator.
source§

impl BitXorAssign for PinFolderFlags

source§

fn bitxor_assign(&mut self, other: Self)

The bitwise exclusive-or (^) of the bits in two flags values.

+
source§

impl Clone for PinFolderFlags

source§

fn clone(&self) -> PinFolderFlags

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for PinFolderFlags

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for PinFolderFlags

source§

fn deserialize<D>(deserializer: D) -> Result<PinFolderFlags, D::Error>
where + D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl<D: Fallible + ?Sized> Deserialize<PinFolderFlags, D> for ArchivedPinFolderFlags

source§

fn deserialize(&self, _: &mut D) -> Result<PinFolderFlags, D::Error>

Deserializes using the given deserializer
source§

impl Extend<PinFolderFlags> for PinFolderFlags

source§

fn extend<T: IntoIterator<Item = Self>>(&mut self, iterator: T)

The bitwise or (|) of the bits in each flags value.

+
source§

fn extend_one(&mut self, item: A)

🔬This is a nightly-only experimental API. (extend_one)
Extends a collection with exactly one element.
source§

fn extend_reserve(&mut self, additional: usize)

🔬This is a nightly-only experimental API. (extend_one)
Reserves capacity in a collection for the given number of additional elements. Read more
source§

impl Flags for PinFolderFlags

source§

const FLAGS: &'static [Flag<PinFolderFlags>] = _

The set of defined flags.
source§

type Bits = i32

The underlying bits type.
source§

fn bits(&self) -> i32

Get the underlying bits value. Read more
source§

fn from_bits_retain(bits: i32) -> PinFolderFlags

Convert from a bits value exactly.
§

fn empty() -> Self

Get a flags value with all bits unset.
§

fn all() -> Self

Get a flags value with all known bits set.
§

fn from_bits(bits: Self::Bits) -> Option<Self>

Convert from a bits value. Read more
§

fn from_bits_truncate(bits: Self::Bits) -> Self

Convert from a bits value, unsetting any unknown bits.
§

fn from_name(name: &str) -> Option<Self>

Get a flags value with the bits of a flag with the given name set. Read more
§

fn iter(&self) -> Iter<Self>

Yield a set of contained flags values. Read more
§

fn iter_names(&self) -> IterNames<Self>

Yield a set of contained named flags values. Read more
§

fn is_empty(&self) -> bool

Whether all bits in this flags value are unset.
§

fn is_all(&self) -> bool

Whether all known bits in this flags value are set.
§

fn intersects(&self, other: Self) -> bool
where + Self: Sized,

Whether any set bits in a source flags value are also set in a target flags value.
§

fn contains(&self, other: Self) -> bool
where + Self: Sized,

Whether all set bits in a source flags value are also set in a target flags value.
§

fn insert(&mut self, other: Self)
where + Self: Sized,

The bitwise or (|) of the bits in two flags values.
§

fn remove(&mut self, other: Self)
where + Self: Sized,

The intersection of a source flags value with the complement of a target flags value (&!). Read more
§

fn toggle(&mut self, other: Self)
where + Self: Sized,

The bitwise exclusive-or (^) of the bits in two flags values.
§

fn set(&mut self, other: Self, value: bool)
where + Self: Sized,

Call [Flags::insert] when value is true or [Flags::remove] when value is false.
§

fn intersection(self, other: Self) -> Self

The bitwise and (&) of the bits in two flags values.
§

fn union(self, other: Self) -> Self

The bitwise or (|) of the bits in two flags values.
§

fn difference(self, other: Self) -> Self

The intersection of a source flags value with the complement of a target flags value (&!). Read more
§

fn symmetric_difference(self, other: Self) -> Self

The bitwise exclusive-or (^) of the bits in two flags values.
§

fn complement(self) -> Self

The bitwise negation (!) of the bits in a flags value, truncating the result.
source§

impl From<ArchivedPinFolderFlags> for PinFolderFlags

source§

fn from(archived: ArchivedPinFolderFlags) -> Self

Converts to this type from the input type.
source§

impl FromIterator<PinFolderFlags> for PinFolderFlags

source§

fn from_iter<T: IntoIterator<Item = Self>>(iterator: T) -> Self

The bitwise or (|) of the bits in each flags value.

+
source§

impl<'a> FromSql<'a> for PinFolderFlags

source§

fn from_sql( + ty: &Type, + raw: &'a [u8], +) -> Result<Self, Box<dyn Error + Sync + Send>>

Creates a new value of this type from a buffer of data of the specified +Postgres Type in its binary format. Read more
source§

fn accepts(ty: &Type) -> bool

Determines if a value of this type can be created from the specified +Postgres Type.
§

fn from_sql_null(ty: &Type) -> Result<Self, Box<dyn Error + Sync + Send>>

Creates a new value of this type from a NULL SQL value. Read more
§

fn from_sql_nullable( + ty: &Type, + raw: Option<&'a [u8]>, +) -> Result<Self, Box<dyn Error + Sync + Send>>

A convenience function that delegates to from_sql and from_sql_null depending on the +value of raw.
source§

impl FromSql for PinFolderFlags

source§

fn column_result(value: ValueRef<'_>) -> FromSqlResult<Self>

Converts SQLite value into Rust value.
source§

impl Hash for PinFolderFlags

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where + H: Hasher, + Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl IntoIterator for PinFolderFlags

source§

type Item = PinFolderFlags

The type of the elements being iterated over.
source§

type IntoIter = Iter<PinFolderFlags>

Which kind of iterator are we turning this into?
source§

fn into_iter(self) -> Self::IntoIter

Creates an iterator from a value. Read more
source§

impl LowerHex for PinFolderFlags

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Not for PinFolderFlags

source§

fn not(self) -> Self

The bitwise negation (!) of the bits in a flags value, truncating the result.

+
source§

type Output = PinFolderFlags

The resulting type after applying the ! operator.
source§

impl Octal for PinFolderFlags

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl PartialEq<ArchivedPinFolderFlags> for PinFolderFlags

source§

fn eq(&self, other: &ArchivedPinFolderFlags) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl PartialEq<PinFolderFlags> for ArchivedPinFolderFlags

source§

fn eq(&self, other: &PinFolderFlags) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl PartialEq for PinFolderFlags

source§

fn eq(&self, other: &PinFolderFlags) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl PublicFlags for PinFolderFlags

source§

type Primitive = i32

The type of the underlying storage.
source§

type Internal = InternalBitFlags

The type of the internal field on the generated flags type.
source§

impl<S: Fallible + ?Sized> Serialize<S> for PinFolderFlags

source§

fn serialize(&self, _: &mut S) -> Result<(), S::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.
source§

impl Serialize for PinFolderFlags

source§

fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
where + S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Sub for PinFolderFlags

source§

fn sub(self, other: Self) -> Self

The intersection of a source flags value with the complement of a target flags value (&!).

+

This method is not equivalent to self & !other when other has unknown bits set. +difference won’t truncate other, but the ! operator will.

+
source§

type Output = PinFolderFlags

The resulting type after applying the - operator.
source§

impl SubAssign for PinFolderFlags

source§

fn sub_assign(&mut self, other: Self)

The intersection of a source flags value with the complement of a target flags value (&!).

+

This method is not equivalent to self & !other when other has unknown bits set. +difference won’t truncate other, but the ! operator will.

+
source§

impl ToSql for PinFolderFlags

source§

fn to_sql(&self) -> Result<ToSqlOutput<'_>>

Converts Rust value to SQLite value
source§

impl ToSql for PinFolderFlags

source§

fn to_sql( + &self, + ty: &Type, + out: &mut BytesMut, +) -> Result<IsNull, Box<dyn Error + Sync + Send>>
where + Self: Sized,

Converts the value of self into the binary format of the specified +Postgres Type, appending it to out. Read more
source§

fn accepts(ty: &Type) -> bool

Determines if a value of this type can be converted to the specified +Postgres Type.
source§

fn to_sql_checked( + &self, + ty: &Type, + out: &mut BytesMut, +) -> Result<IsNull, Box<dyn Error + Sync + Send>>

An adaptor method used internally by Rust-Postgres. Read more
§

fn encode_format(&self, _ty: &Type) -> Format

Specify the encode format
source§

impl UpperHex for PinFolderFlags

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Copy for PinFolderFlags

source§

impl Eq for PinFolderFlags

source§

impl StructuralPartialEq for PinFolderFlags

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> BorrowToSql for T
where + T: ToSql,

§

fn borrow_to_sql(&self) -> &dyn ToSql

Returns a reference to self as a ToSql trait object.
source§

impl<T> CloneToUninit for T
where + T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T> ToOwned for T
where + T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
source§

impl<T> CommandBody for T
where + T: Send + Serialize + Archive,

source§

impl<T> CommandResult for T
where + T: Send + DeserializeOwned + Serialize + Archive,

source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> FromSqlOwned for T
where + T: for<'a> FromSql<'a>,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/party/struct.PinFolderResolver.html b/client_sdk/models/party/struct.PinFolderResolver.html new file mode 100644 index 000000000..b2ec186d1 --- /dev/null +++ b/client_sdk/models/party/struct.PinFolderResolver.html @@ -0,0 +1,25 @@ +PinFolderResolver in client_sdk::models::party - Rust

Struct client_sdk::models::party::PinFolderResolver

source ·
pub struct PinFolderResolver
where + FolderId: Archive, + SmolStr: Archive, + PinFolderFlags: Archive, + Option<SmolStr>: Archive,
{ /* private fields */ }
Expand description

The resolver for an archived PinFolder

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/permission/index.html b/client_sdk/models/permission/index.html new file mode 100644 index 000000000..6f7e827ff --- /dev/null +++ b/client_sdk/models/permission/index.html @@ -0,0 +1,2 @@ +client_sdk::models::permission - Rust

Module client_sdk::models::permission

source ·

Structs§

\ No newline at end of file diff --git a/client_sdk/models/permission/sidebar-items.js b/client_sdk/models/permission/sidebar-items.js new file mode 100644 index 000000000..2923812a9 --- /dev/null +++ b/client_sdk/models/permission/sidebar-items.js @@ -0,0 +1 @@ +window.SIDEBAR_ITEMS = {"struct":["ArchivedOverwrite","ArchivedPermissions","Overwrite","OverwriteResolver","Permissions"]}; \ No newline at end of file diff --git a/client_sdk/models/permission/struct.ArchivedOverwrite.html b/client_sdk/models/permission/struct.ArchivedOverwrite.html new file mode 100644 index 000000000..b6307f67f --- /dev/null +++ b/client_sdk/models/permission/struct.ArchivedOverwrite.html @@ -0,0 +1,50 @@ +ArchivedOverwrite in client_sdk::models::permission - Rust

Struct client_sdk::models::permission::ArchivedOverwrite

source ·
#[repr(C)]
pub struct ArchivedOverwrite
where + Snowflake: Archive, + Permissions: Archive,
{ + pub id: <Snowflake as Archive>::Archived, + pub allow: <Permissions as Archive>::Archived, + pub deny: <Permissions as Archive>::Archived, +}
Expand description

An archived Overwrite

+

Fields§

§id: <Snowflake as Archive>::Archived§allow: <Permissions as Archive>::Archived§deny: <Permissions as Archive>::Archived

Trait Implementations§

source§

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedOverwrite
where + Snowflake: Archive, + Permissions: Archive, + <__C as Fallible>::Error: Trace, + <Snowflake as Archive>::Archived: CheckBytes<__C>, + <Permissions as Archive>::Archived: CheckBytes<__C>,

source§

unsafe fn check_bytes( + value: *const Self, + context: &mut __C, +) -> Result<(), <__C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl PartialEq<ArchivedOverwrite> for Overwrite
where + Snowflake: Archive, + Permissions: Archive, + <Snowflake as Archive>::Archived: PartialEq<Snowflake>, + <Permissions as Archive>::Archived: PartialEq<Permissions>,

source§

fn eq(&self, other: &ArchivedOverwrite) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl PartialEq<Overwrite> for ArchivedOverwrite
where + Snowflake: Archive, + Permissions: Archive, + <Snowflake as Archive>::Archived: PartialEq<Snowflake>, + <Permissions as Archive>::Archived: PartialEq<Permissions>,

source§

fn eq(&self, other: &Overwrite) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl Portable for ArchivedOverwrite
where + Snowflake: Archive, + Permissions: Archive, + <Snowflake as Archive>::Archived: Portable, + <Permissions as Archive>::Archived: Portable,

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/permission/struct.ArchivedPermissions.html b/client_sdk/models/permission/struct.ArchivedPermissions.html new file mode 100644 index 000000000..2f134b50d --- /dev/null +++ b/client_sdk/models/permission/struct.ArchivedPermissions.html @@ -0,0 +1,59 @@ +ArchivedPermissions in client_sdk::models::permission - Rust

Struct client_sdk::models::permission::ArchivedPermissions

source ·
#[repr(transparent)]
pub struct ArchivedPermissions(pub Archived<u128>);
Expand description

Archived version of Permissions, automatically made endian-agnostic. +When comparing with the native bitflags, the archived bitflags will truncate any extra bits.

+

Tuple Fields§

§0: Archived<u128>

Implementations§

source§

impl ArchivedPermissions

source

pub const fn to_native(&self) -> Option<Permissions>

Converts this archived bitflags to the native bitflags type, returning None if any +bits are set that are not part of the bitflags.

+

See Permissions::from_bits for more information.

+
source

pub const fn to_native_truncate(&self) -> Permissions

Converts this archived bitflags to the native bitflags type, truncating any extra bits.

+

See Permissions::from_bits_truncate for more information.

+
source

pub const fn to_native_retain(&self) -> Permissions

Converts this archived bitflags to the native bitflags type, retaining all bits, even +if they are not part of the bitflags.

+

See Permissions::from_bits_retain for more information.

+
source

pub const fn from_native(native: Permissions) -> Self

Converts the native bitflags type to an archived bitflags.

+
source

pub const fn contains(&self, other: Permissions) -> bool

Check if the archived bitflags contains all the given bitflags.

+

See Permissions::contains for more information.

+
source

pub const fn intersects(&self, other: Permissions) -> bool

Check if the archived bitflags intersect with any of the given bitflags.

+

See Permissions::intersects for more information.

+
source

pub const fn is_empty(&self) -> bool

Whether all bits in this flags value are unset.

+
source

pub const fn is_all(&self) -> bool

Whether all known bits in this flags value are set.

+
source

pub const fn bits(&self) -> u128

Get the underlying raw bits value.

+

Note that this may contain bits that are not part of the original bitflags, +if serialized with a different version of the bitflags. Use to_native or +to_native_truncate to convert to the native bitflags type +without extra bits.

+

Trait Implementations§

source§

impl<C> CheckBytes<C> for ArchivedPermissions
where + C: Fallible + ?Sized, + <C as Fallible>::Error: Source,

source§

unsafe fn check_bytes( + value: *const Self, + ctx: &mut C, +) -> Result<(), <C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Clone for ArchivedPermissions

source§

fn clone(&self) -> ArchivedPermissions

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ArchivedPermissions

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<D: Fallible + ?Sized> Deserialize<Permissions, D> for ArchivedPermissions

source§

fn deserialize(&self, _: &mut D) -> Result<Permissions, D::Error>

Deserializes using the given deserializer
source§

impl From<ArchivedPermissions> for Permissions

source§

fn from(archived: ArchivedPermissions) -> Self

Converts to this type from the input type.
source§

impl PartialEq<ArchivedPermissions> for Permissions

source§

fn eq(&self, other: &ArchivedPermissions) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl PartialEq<Permissions> for ArchivedPermissions

source§

fn eq(&self, other: &Permissions) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl PartialEq for ArchivedPermissions

source§

fn eq(&self, other: &ArchivedPermissions) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl Copy for ArchivedPermissions

source§

impl Eq for ArchivedPermissions

source§

impl NoUndef for ArchivedPermissions

source§

impl Portable for ArchivedPermissions

source§

impl StructuralPartialEq for ArchivedPermissions

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where + T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where + T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/permission/struct.Overwrite.html b/client_sdk/models/permission/struct.Overwrite.html new file mode 100644 index 000000000..bb08c396c --- /dev/null +++ b/client_sdk/models/permission/struct.Overwrite.html @@ -0,0 +1,86 @@ +Overwrite in client_sdk::models::permission - Rust

Struct client_sdk::models::permission::Overwrite

source ·
pub struct Overwrite {
+    pub id: Snowflake,
+    pub allow: Permissions,
+    pub deny: Permissions,
+}
Expand description

Permissions Overwrite for a role or user in a room.

+

Fields§

§id: Snowflake

Role or User ID

+

If it doesn’t exist in the role list, then it’s a user, simple as that.

+
§allow: Permissions

Permissions to allow.

+
§deny: Permissions

Permissions to deny.

+

Implementations§

source§

impl Overwrite

source

pub const fn combine(&self, other: Self) -> Overwrite

Takes the Union of two overwrites, assuming the same ID.

+
§Panics
+

With debug assertions enabled, this function will panic if the IDs do not match.

+
source

pub const fn apply(&self, base: Permissions) -> Permissions

Applies the overwrite to a base set of permissions.

+

Equivalent to (base & !deny) | allow.

+

Trait Implementations§

source§

impl Archive for Overwrite
where + Snowflake: Archive, + Permissions: Archive,

source§

type Archived = ArchivedOverwrite

The archived representation of this type. Read more
source§

type Resolver = OverwriteResolver

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
source§

impl Clone for Overwrite

source§

fn clone(&self) -> Overwrite

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Overwrite

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for Overwrite

source§

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<__D: Fallible + ?Sized> Deserialize<Overwrite, __D> for Archived<Overwrite>
where + Snowflake: Archive, + <Snowflake as Archive>::Archived: Deserialize<Snowflake, __D>, + Permissions: Archive, + <Permissions as Archive>::Archived: Deserialize<Permissions, __D>,

source§

fn deserialize( + &self, + deserializer: &mut __D, +) -> Result<Overwrite, <__D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl PartialEq<ArchivedOverwrite> for Overwrite
where + Snowflake: Archive, + Permissions: Archive, + <Snowflake as Archive>::Archived: PartialEq<Snowflake>, + <Permissions as Archive>::Archived: PartialEq<Permissions>,

source§

fn eq(&self, other: &ArchivedOverwrite) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl PartialEq<Overwrite> for ArchivedOverwrite
where + Snowflake: Archive, + Permissions: Archive, + <Snowflake as Archive>::Archived: PartialEq<Snowflake>, + <Permissions as Archive>::Archived: PartialEq<Permissions>,

source§

fn eq(&self, other: &Overwrite) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl PartialEq for Overwrite

source§

fn eq(&self, other: &Overwrite) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl<__S: Fallible + ?Sized> Serialize<__S> for Overwrite
where + Snowflake: Serialize<__S>, + Permissions: Serialize<__S>,

source§

fn serialize( + &self, + serializer: &mut __S, +) -> Result<<Self as Archive>::Resolver, <__S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.
source§

impl Serialize for Overwrite

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Copy for Overwrite

source§

impl Eq for Overwrite

source§

impl StructuralPartialEq for Overwrite

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where + T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T> ToOwned for T
where + T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
source§

impl<T> CommandBody for T
where + T: Send + Serialize + Archive,

source§

impl<T> CommandResult for T
where + T: Send + DeserializeOwned + Serialize + Archive,

source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/permission/struct.OverwriteResolver.html b/client_sdk/models/permission/struct.OverwriteResolver.html new file mode 100644 index 000000000..1ae55ccba --- /dev/null +++ b/client_sdk/models/permission/struct.OverwriteResolver.html @@ -0,0 +1,23 @@ +OverwriteResolver in client_sdk::models::permission - Rust

Struct client_sdk::models::permission::OverwriteResolver

source ·
pub struct OverwriteResolver
where + Snowflake: Archive, + Permissions: Archive,
{ /* private fields */ }
Expand description

The resolver for an archived Overwrite

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/permission/struct.Permissions.html b/client_sdk/models/permission/struct.Permissions.html new file mode 100644 index 000000000..88b749a0d --- /dev/null +++ b/client_sdk/models/permission/struct.Permissions.html @@ -0,0 +1,128 @@ +Permissions in client_sdk::models::permission - Rust

Struct client_sdk::models::permission::Permissions

source ·
#[repr(C, align(16))]
pub struct Permissions(/* private fields */);
Expand description

Party/Room Permissions

+

This type is 16-byte aligned to ensure consistent alignment +of the inner `u128`` across all platforms.

+

Implementations§

source§

impl Permissions

source

pub const DEFAULT: Self = _

source

pub const ADMINISTRATOR: Self = _

source

pub const CREATE_INVITE: Self = _

source

pub const KICK_MEMBERS: Self = _

source

pub const BAN_MEMBERS: Self = _

source

pub const VIEW_AUDIT_LOG: Self = _

source

pub const VIEW_STATISTICS: Self = _

source

pub const MANAGE_PARTY: Self = _

source

pub const MANAGE_ROOMS: Self = _

source

pub const MANAGE_NICKNAMES: Self = _

source

pub const MANAGE_ROLES: Self = _

source

pub const MANAGE_WEBHOOKS: Self = _

source

pub const MANAGE_EXPRESSIONS: Self = _

Allows members to add or remove custom emoji, stickers or sounds.

+
source

pub const MOVE_MEMBERS: Self = _

source

pub const CHANGE_NICKNAME: Self = _

source

pub const MANAGE_PERMS: Self = _

source

pub const DEFAULT_ONLY: Self = _

source

pub const VIEW_ROOM: Self = _

source

pub const READ_MESSAGE_HISTORY: Self = _

source

pub const SEND_MESSAGES: Self = _

source

pub const MANAGE_MESSAGES: Self = _

source

pub const MUTE_MEMBERS: Self = _

source

pub const DEAFEN_MEMBERS: Self = _

source

pub const MENTION_EVERYONE: Self = _

source

pub const USE_EXTERNAL_EMOTES: Self = _

source

pub const ADD_REACTIONS: Self = _

source

pub const ATTACH_FILES: Self = _

source

pub const USE_SLASH_COMMANDS: Self = _

source

pub const SEND_TTS_MESSAGES: Self = _

source

pub const EDIT_NEW_ATTACHMENT: Self = _

Allows a user to add new attachments to +existing messages using the “edit” API

+
source

pub const STREAM: Self = _

Allows a user to broadcast a stream to this room

+
source

pub const CONNECT: Self = _

Allows a user to connect and watch/listen to streams in a room

+
source

pub const SPEAK: Self = _

Allows a user to speak in a room without broadcasting a stream

+
source

pub const PRIORITY_SPEAKER: Self = _

Allows a user to acquire priority speaker

+
source§

impl Permissions

source

pub const fn empty() -> Self

Get a flags value with all bits unset.

+
source

pub const fn all() -> Self

Get a flags value with all known bits set.

+
source

pub const fn bits(&self) -> u128

Get the underlying bits value.

+

The returned value is exactly the bits set in this flags value.

+
source

pub const fn from_bits(bits: u128) -> Option<Self>

Convert from a bits value.

+

This method will return None if any unknown bits are set.

+
source

pub const fn from_bits_truncate(bits: u128) -> Self

Convert from a bits value, unsetting any unknown bits.

+
source

pub const fn from_bits_retain(bits: u128) -> Self

Convert from a bits value exactly.

+
source

pub fn from_name(name: &str) -> Option<Self>

Get a flags value with the bits of a flag with the given name set.

+

This method will return None if name is empty or doesn’t +correspond to any named flag.

+
source

pub const fn is_empty(&self) -> bool

Whether all bits in this flags value are unset.

+
source

pub const fn is_all(&self) -> bool

Whether all known bits in this flags value are set.

+
source

pub const fn intersects(&self, other: Self) -> bool

Whether any set bits in a source flags value are also set in a target flags value.

+
source

pub const fn contains(&self, other: Self) -> bool

Whether all set bits in a source flags value are also set in a target flags value.

+
source

pub fn insert(&mut self, other: Self)

The bitwise or (|) of the bits in two flags values.

+
source

pub fn remove(&mut self, other: Self)

The intersection of a source flags value with the complement of a target flags value (&!).

+

This method is not equivalent to self & !other when other has unknown bits set. +remove won’t truncate other, but the ! operator will.

+
source

pub fn toggle(&mut self, other: Self)

The bitwise exclusive-or (^) of the bits in two flags values.

+
source

pub fn set(&mut self, other: Self, value: bool)

Call insert when value is true or remove when value is false.

+
source

pub const fn intersection(self, other: Self) -> Self

The bitwise and (&) of the bits in two flags values.

+
source

pub const fn union(self, other: Self) -> Self

The bitwise or (|) of the bits in two flags values.

+
source

pub const fn difference(self, other: Self) -> Self

The intersection of a source flags value with the complement of a target flags value (&!).

+

This method is not equivalent to self & !other when other has unknown bits set. +difference won’t truncate other, but the ! operator will.

+
source

pub const fn symmetric_difference(self, other: Self) -> Self

The bitwise exclusive-or (^) of the bits in two flags values.

+
source

pub const fn complement(self) -> Self

The bitwise negation (!) of the bits in a flags value, truncating the result.

+
source§

impl Permissions

source

pub const fn iter(&self) -> Iter<Permissions>

Yield a set of contained flags values.

+

Each yielded flags value will correspond to a defined named flag. Any unknown bits +will be yielded together as a final flags value.

+
source

pub const fn iter_names(&self) -> IterNames<Permissions>

Yield a set of contained named flags values.

+

This method is like iter, except only yields bits in contained named flags. +Any unknown bits, or bits not corresponding to a contained flag will not be yielded.

+
source§

impl Permissions

source

pub const fn from_i64(low: i64, high: i64) -> Self

Constructs a new Permissions from two i64 values.

+
source

pub const fn from_i64_opt(low: Option<i64>, high: Option<i64>) -> Self

Constructs a new Permissions from two Option<i64> values, defaulting to 0 if None on either.

+
source

pub const fn to_i64(self) -> [i64; 2]

Converts the Permissions into two i64 values.

+
source

pub const fn is_admin(self) -> bool

Returns true if the permissions contain the ADMINISTRATOR permission.

+
source

pub const fn normalize(self) -> Self

Takes cerrtain flags into account and normalizes the permissions to obey them.

+
source

pub fn compute_overwrites( + self, + overwrites: &[Overwrite], + user_roles: &[RoleId], + user_id: UserId, +) -> Permissions

Computes the final permissions for a user in a room given the overwrites and roles.

+

Trait Implementations§

source§

impl Archive for Permissions

source§

type Archived = ArchivedPermissions

The archived representation of this type. Read more
source§

type Resolver = ()

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

fn resolve(&self, _: (), out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
source§

impl Binary for Permissions

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl BitAnd for Permissions

source§

fn bitand(self, other: Self) -> Self

The bitwise and (&) of the bits in two flags values.

+
source§

type Output = Permissions

The resulting type after applying the & operator.
source§

impl BitAndAssign for Permissions

source§

fn bitand_assign(&mut self, other: Self)

The bitwise and (&) of the bits in two flags values.

+
source§

impl BitOr for Permissions

source§

fn bitor(self, other: Permissions) -> Self

The bitwise or (|) of the bits in two flags values.

+
source§

type Output = Permissions

The resulting type after applying the | operator.
source§

impl BitOrAssign for Permissions

source§

fn bitor_assign(&mut self, other: Self)

The bitwise or (|) of the bits in two flags values.

+
source§

impl BitXor for Permissions

source§

fn bitxor(self, other: Self) -> Self

The bitwise exclusive-or (^) of the bits in two flags values.

+
source§

type Output = Permissions

The resulting type after applying the ^ operator.
source§

impl BitXorAssign for Permissions

source§

fn bitxor_assign(&mut self, other: Self)

The bitwise exclusive-or (^) of the bits in two flags values.

+
source§

impl Clone for Permissions

source§

fn clone(&self) -> Permissions

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Permissions

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for Permissions

source§

fn default() -> Self

Returns the “default value” for a type. Read more
source§

impl<'de> Deserialize<'de> for Permissions

source§

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<D: Fallible + ?Sized> Deserialize<Permissions, D> for ArchivedPermissions

source§

fn deserialize(&self, _: &mut D) -> Result<Permissions, D::Error>

Deserializes using the given deserializer
source§

impl Extend<Permissions> for Permissions

source§

fn extend<T: IntoIterator<Item = Self>>(&mut self, iterator: T)

The bitwise or (|) of the bits in each flags value.

+
source§

fn extend_one(&mut self, item: A)

🔬This is a nightly-only experimental API. (extend_one)
Extends a collection with exactly one element.
source§

fn extend_reserve(&mut self, additional: usize)

🔬This is a nightly-only experimental API. (extend_one)
Reserves capacity in a collection for the given number of additional elements. Read more
source§

impl Flags for Permissions

source§

const FLAGS: &'static [Flag<Permissions>] = _

The set of defined flags.
source§

type Bits = u128

The underlying bits type.
source§

fn bits(&self) -> u128

Get the underlying bits value. Read more
source§

fn from_bits_retain(bits: u128) -> Permissions

Convert from a bits value exactly.
§

fn empty() -> Self

Get a flags value with all bits unset.
§

fn all() -> Self

Get a flags value with all known bits set.
§

fn from_bits(bits: Self::Bits) -> Option<Self>

Convert from a bits value. Read more
§

fn from_bits_truncate(bits: Self::Bits) -> Self

Convert from a bits value, unsetting any unknown bits.
§

fn from_name(name: &str) -> Option<Self>

Get a flags value with the bits of a flag with the given name set. Read more
§

fn iter(&self) -> Iter<Self>

Yield a set of contained flags values. Read more
§

fn iter_names(&self) -> IterNames<Self>

Yield a set of contained named flags values. Read more
§

fn is_empty(&self) -> bool

Whether all bits in this flags value are unset.
§

fn is_all(&self) -> bool

Whether all known bits in this flags value are set.
§

fn intersects(&self, other: Self) -> bool
where + Self: Sized,

Whether any set bits in a source flags value are also set in a target flags value.
§

fn contains(&self, other: Self) -> bool
where + Self: Sized,

Whether all set bits in a source flags value are also set in a target flags value.
§

fn insert(&mut self, other: Self)
where + Self: Sized,

The bitwise or (|) of the bits in two flags values.
§

fn remove(&mut self, other: Self)
where + Self: Sized,

The intersection of a source flags value with the complement of a target flags value (&!). Read more
§

fn toggle(&mut self, other: Self)
where + Self: Sized,

The bitwise exclusive-or (^) of the bits in two flags values.
§

fn set(&mut self, other: Self, value: bool)
where + Self: Sized,

Call [Flags::insert] when value is true or [Flags::remove] when value is false.
§

fn intersection(self, other: Self) -> Self

The bitwise and (&) of the bits in two flags values.
§

fn union(self, other: Self) -> Self

The bitwise or (|) of the bits in two flags values.
§

fn difference(self, other: Self) -> Self

The intersection of a source flags value with the complement of a target flags value (&!). Read more
§

fn symmetric_difference(self, other: Self) -> Self

The bitwise exclusive-or (^) of the bits in two flags values.
§

fn complement(self) -> Self

The bitwise negation (!) of the bits in a flags value, truncating the result.
source§

impl From<ArchivedPermissions> for Permissions

source§

fn from(archived: ArchivedPermissions) -> Self

Converts to this type from the input type.
source§

impl FromIterator<Permissions> for Permissions

source§

fn from_iter<T: IntoIterator<Item = Self>>(iterator: T) -> Self

The bitwise or (|) of the bits in each flags value.

+
source§

impl Hash for Permissions

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where + H: Hasher, + Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl IntoIterator for Permissions

source§

type Item = Permissions

The type of the elements being iterated over.
source§

type IntoIter = Iter<Permissions>

Which kind of iterator are we turning this into?
source§

fn into_iter(self) -> Self::IntoIter

Creates an iterator from a value. Read more
source§

impl LowerHex for Permissions

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Not for Permissions

source§

fn not(self) -> Self

The bitwise negation (!) of the bits in a flags value, truncating the result.

+
source§

type Output = Permissions

The resulting type after applying the ! operator.
source§

impl Octal for Permissions

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl PartialEq<ArchivedPermissions> for Permissions

source§

fn eq(&self, other: &ArchivedPermissions) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl PartialEq<Permissions> for ArchivedPermissions

source§

fn eq(&self, other: &Permissions) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl PartialEq for Permissions

source§

fn eq(&self, other: &Permissions) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl PublicFlags for Permissions

source§

type Primitive = u128

The type of the underlying storage.
source§

type Internal = InternalBitFlags

The type of the internal field on the generated flags type.
source§

impl<S: Fallible + ?Sized> Serialize<S> for Permissions

source§

fn serialize(&self, _: &mut S) -> Result<(), S::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.
source§

impl Serialize for Permissions

source§

fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
where + S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Sub for Permissions

source§

fn sub(self, other: Self) -> Self

The intersection of a source flags value with the complement of a target flags value (&!).

+

This method is not equivalent to self & !other when other has unknown bits set. +difference won’t truncate other, but the ! operator will.

+
source§

type Output = Permissions

The resulting type after applying the - operator.
source§

impl SubAssign for Permissions

source§

fn sub_assign(&mut self, other: Self)

The intersection of a source flags value with the complement of a target flags value (&!).

+

This method is not equivalent to self & !other when other has unknown bits set. +difference won’t truncate other, but the ! operator will.

+
source§

impl UpperHex for Permissions

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Copy for Permissions

source§

impl Eq for Permissions

source§

impl StructuralPartialEq for Permissions

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where + T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T> ToOwned for T
where + T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
source§

impl<T> CommandBody for T
where + T: Send + Serialize + Archive,

source§

impl<T> CommandResult for T
where + T: Send + DeserializeOwned + Serialize + Archive,

source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/presence/enum.AnyActivity.html b/client_sdk/models/presence/enum.AnyActivity.html new file mode 100644 index 000000000..f0c97256a --- /dev/null +++ b/client_sdk/models/presence/enum.AnyActivity.html @@ -0,0 +1,53 @@ +AnyActivity in client_sdk::models::presence - Rust

Enum client_sdk::models::presence::AnyActivity

source ·
pub enum AnyActivity {
+    Typed(Activity),
+}

Variants§

§

Typed(Activity)

Trait Implementations§

source§

impl Archive for AnyActivity
where + Activity: Archive,

source§

type Archived = ArchivedAnyActivity

The archived representation of this type. Read more
source§

type Resolver = AnyActivityResolver

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

impl Clone for AnyActivity

source§

fn clone(&self) -> AnyActivity

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for AnyActivity

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for AnyActivity

source§

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<__D: Fallible + ?Sized> Deserialize<AnyActivity, __D> for Archived<AnyActivity>
where + Activity: Archive, + <Activity as Archive>::Archived: Deserialize<Activity, __D>,

source§

fn deserialize( + &self, + deserializer: &mut __D, +) -> Result<AnyActivity, <__D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<__S: Fallible + ?Sized> Serialize<__S> for AnyActivity
where + Activity: Serialize<__S>,

source§

fn serialize( + &self, + serializer: &mut __S, +) -> Result<<Self as Archive>::Resolver, <__S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.
source§

impl Serialize for AnyActivity

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where + T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T> ToOwned for T
where + T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
source§

impl<T> CommandBody for T
where + T: Send + Serialize + Archive,

source§

impl<T> CommandResult for T
where + T: Send + DeserializeOwned + Serialize + Archive,

source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/presence/enum.AnyActivityResolver.html b/client_sdk/models/presence/enum.AnyActivityResolver.html new file mode 100644 index 000000000..a1c497436 --- /dev/null +++ b/client_sdk/models/presence/enum.AnyActivityResolver.html @@ -0,0 +1,25 @@ +AnyActivityResolver in client_sdk::models::presence - Rust

Enum client_sdk::models::presence::AnyActivityResolver

source ·
pub enum AnyActivityResolver
where + Activity: Archive,
{ + Typed(<Activity as Archive>::Resolver), +}
Expand description

The resolver for an archived AnyActivity

+

Variants§

§

Typed(<Activity as Archive>::Resolver)

The resolver for AnyActivity::Typed

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/presence/enum.ArchivedAnyActivity.html b/client_sdk/models/presence/enum.ArchivedAnyActivity.html new file mode 100644 index 000000000..0140ad585 --- /dev/null +++ b/client_sdk/models/presence/enum.ArchivedAnyActivity.html @@ -0,0 +1,34 @@ +ArchivedAnyActivity in client_sdk::models::presence - Rust

Enum client_sdk::models::presence::ArchivedAnyActivity

source ·
#[repr(u8)]
pub enum ArchivedAnyActivity
where + Activity: Archive,
{ + Typed(<Activity as Archive>::Archived), +}
Expand description

An archived AnyActivity

+

Variants§

§

Typed(<Activity as Archive>::Archived)

The archived counterpart of AnyActivity::Typed

+

Trait Implementations§

source§

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedAnyActivity
where + Activity: Archive, + <__C as Fallible>::Error: Source, + <Activity as Archive>::Archived: CheckBytes<__C>,

source§

unsafe fn check_bytes( + value: *const Self, + context: &mut __C, +) -> Result<(), <__C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Portable for ArchivedAnyActivity
where + Activity: Archive, + <Activity as Archive>::Archived: Portable,

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/presence/index.html b/client_sdk/models/presence/index.html new file mode 100644 index 000000000..75eaed3cd --- /dev/null +++ b/client_sdk/models/presence/index.html @@ -0,0 +1,2 @@ +client_sdk::models::presence - Rust

Module client_sdk::models::presence

source ·

Structs§

Enums§

\ No newline at end of file diff --git a/client_sdk/models/presence/sidebar-items.js b/client_sdk/models/presence/sidebar-items.js new file mode 100644 index 000000000..62392aea4 --- /dev/null +++ b/client_sdk/models/presence/sidebar-items.js @@ -0,0 +1 @@ +window.SIDEBAR_ITEMS = {"enum":["AnyActivity","AnyActivityResolver","ArchivedAnyActivity"],"struct":["Activity","ActivityResolver","ArchivedActivity","ArchivedUserPresence","ArchivedUserPresenceFlags","UserPresence","UserPresenceFlags","UserPresenceResolver"]}; \ No newline at end of file diff --git a/client_sdk/models/presence/struct.Activity.html b/client_sdk/models/presence/struct.Activity.html new file mode 100644 index 000000000..e2ef2f9a3 --- /dev/null +++ b/client_sdk/models/presence/struct.Activity.html @@ -0,0 +1,47 @@ +Activity in client_sdk::models::presence - Rust

Struct client_sdk::models::presence::Activity

source ·
pub struct Activity {}

Trait Implementations§

source§

impl Archive for Activity

source§

type Archived = ArchivedActivity

The archived representation of this type. Read more
source§

type Resolver = ActivityResolver

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
source§

impl Clone for Activity

source§

fn clone(&self) -> Activity

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Activity

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for Activity

source§

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<__D: Fallible + ?Sized> Deserialize<Activity, __D> for Archived<Activity>

source§

fn deserialize( + &self, + deserializer: &mut __D, +) -> Result<Activity, <__D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<__S: Fallible + ?Sized> Serialize<__S> for Activity

source§

fn serialize( + &self, + serializer: &mut __S, +) -> Result<<Self as Archive>::Resolver, <__S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.
source§

impl Serialize for Activity

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where + T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T> ToOwned for T
where + T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
source§

impl<T> CommandBody for T
where + T: Send + Serialize + Archive,

source§

impl<T> CommandResult for T
where + T: Send + DeserializeOwned + Serialize + Archive,

source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/presence/struct.ActivityResolver.html b/client_sdk/models/presence/struct.ActivityResolver.html new file mode 100644 index 000000000..97a93ede4 --- /dev/null +++ b/client_sdk/models/presence/struct.ActivityResolver.html @@ -0,0 +1,21 @@ +ActivityResolver in client_sdk::models::presence - Rust

Struct client_sdk::models::presence::ActivityResolver

source ·
pub struct ActivityResolver {}
Expand description

The resolver for an archived Activity

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/presence/struct.ArchivedActivity.html b/client_sdk/models/presence/struct.ArchivedActivity.html new file mode 100644 index 000000000..23898980e --- /dev/null +++ b/client_sdk/models/presence/struct.ArchivedActivity.html @@ -0,0 +1,26 @@ +ArchivedActivity in client_sdk::models::presence - Rust

Struct client_sdk::models::presence::ArchivedActivity

source ·
#[repr(C)]
pub struct ArchivedActivity {}
Expand description

An archived Activity

+

Trait Implementations§

source§

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedActivity
where + <__C as Fallible>::Error: Trace,

source§

unsafe fn check_bytes( + value: *const Self, + context: &mut __C, +) -> Result<(), <__C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Portable for ArchivedActivity

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/presence/struct.ArchivedUserPresence.html b/client_sdk/models/presence/struct.ArchivedUserPresence.html new file mode 100644 index 000000000..a078e580f --- /dev/null +++ b/client_sdk/models/presence/struct.ArchivedUserPresence.html @@ -0,0 +1,51 @@ +ArchivedUserPresence in client_sdk::models::presence - Rust

Struct client_sdk::models::presence::ArchivedUserPresence

source ·
#[repr(C)]
pub struct ArchivedUserPresence
where + UserPresenceFlags: Archive, + Option<u64>: Archive, + Option<Timestamp>: Archive, + Option<AnyActivity>: Archive,
{ + pub flags: <UserPresenceFlags as Archive>::Archived, + pub last_active: <Option<u64> as Archive>::Archived, + pub updated_at: <Option<Timestamp> as Archive>::Archived, + pub activity: <Option<AnyActivity> as Archive>::Archived, +}
Expand description

An archived UserPresence

+

Fields§

§flags: <UserPresenceFlags as Archive>::Archived§last_active: <Option<u64> as Archive>::Archived§updated_at: <Option<Timestamp> as Archive>::Archived§activity: <Option<AnyActivity> as Archive>::Archived

Trait Implementations§

source§

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedUserPresence
where + UserPresenceFlags: Archive, + Option<u64>: Archive, + Option<Timestamp>: Archive, + Option<AnyActivity>: Archive, + <__C as Fallible>::Error: Trace, + <UserPresenceFlags as Archive>::Archived: CheckBytes<__C>, + <Option<u64> as Archive>::Archived: CheckBytes<__C>, + <Option<Timestamp> as Archive>::Archived: CheckBytes<__C>, + <Option<AnyActivity> as Archive>::Archived: CheckBytes<__C>,

source§

unsafe fn check_bytes( + value: *const Self, + context: &mut __C, +) -> Result<(), <__C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Portable for ArchivedUserPresence
where + UserPresenceFlags: Archive, + Option<u64>: Archive, + Option<Timestamp>: Archive, + Option<AnyActivity>: Archive, + <UserPresenceFlags as Archive>::Archived: Portable, + <Option<u64> as Archive>::Archived: Portable, + <Option<Timestamp> as Archive>::Archived: Portable, + <Option<AnyActivity> as Archive>::Archived: Portable,

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/presence/struct.ArchivedUserPresenceFlags.html b/client_sdk/models/presence/struct.ArchivedUserPresenceFlags.html new file mode 100644 index 000000000..d27098ed5 --- /dev/null +++ b/client_sdk/models/presence/struct.ArchivedUserPresenceFlags.html @@ -0,0 +1,59 @@ +ArchivedUserPresenceFlags in client_sdk::models::presence - Rust
#[repr(transparent)]
pub struct ArchivedUserPresenceFlags(pub Archived<i16>);
Expand description

Archived version of UserPresenceFlags, automatically made endian-agnostic. +When comparing with the native bitflags, the archived bitflags will truncate any extra bits.

+

Tuple Fields§

§0: Archived<i16>

Implementations§

source§

impl ArchivedUserPresenceFlags

source

pub const fn to_native(&self) -> Option<UserPresenceFlags>

Converts this archived bitflags to the native bitflags type, returning None if any +bits are set that are not part of the bitflags.

+

See UserPresenceFlags::from_bits for more information.

+
source

pub const fn to_native_truncate(&self) -> UserPresenceFlags

Converts this archived bitflags to the native bitflags type, truncating any extra bits.

+

See UserPresenceFlags::from_bits_truncate for more information.

+
source

pub const fn to_native_retain(&self) -> UserPresenceFlags

Converts this archived bitflags to the native bitflags type, retaining all bits, even +if they are not part of the bitflags.

+

See UserPresenceFlags::from_bits_retain for more information.

+
source

pub const fn from_native(native: UserPresenceFlags) -> Self

Converts the native bitflags type to an archived bitflags.

+
source

pub const fn contains(&self, other: UserPresenceFlags) -> bool

Check if the archived bitflags contains all the given bitflags.

+

See UserPresenceFlags::contains for more information.

+
source

pub const fn intersects(&self, other: UserPresenceFlags) -> bool

Check if the archived bitflags intersect with any of the given bitflags.

+

See UserPresenceFlags::intersects for more information.

+
source

pub const fn is_empty(&self) -> bool

Whether all bits in this flags value are unset.

+
source

pub const fn is_all(&self) -> bool

Whether all known bits in this flags value are set.

+
source

pub const fn bits(&self) -> i16

Get the underlying raw bits value.

+

Note that this may contain bits that are not part of the original bitflags, +if serialized with a different version of the bitflags. Use to_native or +to_native_truncate to convert to the native bitflags type +without extra bits.

+

Trait Implementations§

source§

impl<C> CheckBytes<C> for ArchivedUserPresenceFlags
where + C: Fallible + ?Sized, + <C as Fallible>::Error: Source,

source§

unsafe fn check_bytes( + value: *const Self, + ctx: &mut C, +) -> Result<(), <C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Clone for ArchivedUserPresenceFlags

source§

fn clone(&self) -> ArchivedUserPresenceFlags

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ArchivedUserPresenceFlags

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<D: Fallible + ?Sized> Deserialize<UserPresenceFlags, D> for ArchivedUserPresenceFlags

source§

fn deserialize(&self, _: &mut D) -> Result<UserPresenceFlags, D::Error>

Deserializes using the given deserializer
source§

impl From<ArchivedUserPresenceFlags> for UserPresenceFlags

source§

fn from(archived: ArchivedUserPresenceFlags) -> Self

Converts to this type from the input type.
source§

impl PartialEq<ArchivedUserPresenceFlags> for UserPresenceFlags

source§

fn eq(&self, other: &ArchivedUserPresenceFlags) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl PartialEq<UserPresenceFlags> for ArchivedUserPresenceFlags

source§

fn eq(&self, other: &UserPresenceFlags) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl PartialEq for ArchivedUserPresenceFlags

source§

fn eq(&self, other: &ArchivedUserPresenceFlags) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl Copy for ArchivedUserPresenceFlags

source§

impl Eq for ArchivedUserPresenceFlags

source§

impl NoUndef for ArchivedUserPresenceFlags

source§

impl Portable for ArchivedUserPresenceFlags

source§

impl StructuralPartialEq for ArchivedUserPresenceFlags

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where + T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where + T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/presence/struct.UserPresence.html b/client_sdk/models/presence/struct.UserPresence.html new file mode 100644 index 000000000..45ccfac2c --- /dev/null +++ b/client_sdk/models/presence/struct.UserPresence.html @@ -0,0 +1,71 @@ +UserPresence in client_sdk::models::presence - Rust

Struct client_sdk::models::presence::UserPresence

source ·
pub struct UserPresence {
+    pub flags: UserPresenceFlags,
+    pub last_active: Option<u64>,
+    pub updated_at: Option<Timestamp>,
+    pub activity: Option<AnyActivity>,
+}

Fields§

§flags: UserPresenceFlags§last_active: Option<u64>

approximately how many seconds ago they were active +not present in all events or if user has disabled it

+
§updated_at: Option<Timestamp>

Updated-At timestamp as ISO-8061

+
§activity: Option<AnyActivity>

Implementations§

source§

impl UserPresence

source

pub const fn new(flags: UserPresenceFlags) -> Self

source

pub fn with_activty(self, activity: Option<AnyActivity>) -> Self

Trait Implementations§

source§

impl Archive for UserPresence
where + UserPresenceFlags: Archive, + Option<u64>: Archive, + Option<Timestamp>: Archive, + Option<AnyActivity>: Archive,

source§

type Archived = ArchivedUserPresence

The archived representation of this type. Read more
source§

type Resolver = UserPresenceResolver

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
source§

impl Clone for UserPresence

source§

fn clone(&self) -> UserPresence

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for UserPresence

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for UserPresence

source§

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<__D: Fallible + ?Sized> Deserialize<UserPresence, __D> for Archived<UserPresence>
where + UserPresenceFlags: Archive, + <UserPresenceFlags as Archive>::Archived: Deserialize<UserPresenceFlags, __D>, + Option<u64>: Archive, + <Option<u64> as Archive>::Archived: Deserialize<Option<u64>, __D>, + Option<Timestamp>: Archive, + <Option<Timestamp> as Archive>::Archived: Deserialize<Option<Timestamp>, __D>, + Option<AnyActivity>: Archive, + <Option<AnyActivity> as Archive>::Archived: Deserialize<Option<AnyActivity>, __D>,

source§

fn deserialize( + &self, + deserializer: &mut __D, +) -> Result<UserPresence, <__D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<__S: Fallible + ?Sized> Serialize<__S> for UserPresence
where + UserPresenceFlags: Serialize<__S>, + Option<u64>: Serialize<__S>, + Option<Timestamp>: Serialize<__S>, + Option<AnyActivity>: Serialize<__S>,

source§

fn serialize( + &self, + serializer: &mut __S, +) -> Result<<Self as Archive>::Resolver, <__S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.
source§

impl Serialize for UserPresence

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where + T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T> ToOwned for T
where + T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
source§

impl<T> CommandBody for T
where + T: Send + Serialize + Archive,

source§

impl<T> CommandResult for T
where + T: Send + DeserializeOwned + Serialize + Archive,

source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/presence/struct.UserPresenceFlags.html b/client_sdk/models/presence/struct.UserPresenceFlags.html new file mode 100644 index 000000000..def761662 --- /dev/null +++ b/client_sdk/models/presence/struct.UserPresenceFlags.html @@ -0,0 +1,108 @@ +UserPresenceFlags in client_sdk::models::presence - Rust

Struct client_sdk::models::presence::UserPresenceFlags

source ·
pub struct UserPresenceFlags(/* private fields */);
Expand description

NOTE: These flags are ordered such that larger values take precedence

+

Implementations§

source§

impl UserPresenceFlags

source

pub const OFFLINE: Self = _

source

pub const AWAY: Self = _

source

pub const MOBILE: Self = _

source

pub const ONLINE: Self = _

source

pub const BUSY: Self = _

source

pub const INVISIBLE: Self = _

source§

impl UserPresenceFlags

source

pub const fn empty() -> Self

Get a flags value with all bits unset.

+
source

pub const fn all() -> Self

Get a flags value with all known bits set.

+
source

pub const fn bits(&self) -> i16

Get the underlying bits value.

+

The returned value is exactly the bits set in this flags value.

+
source

pub const fn from_bits(bits: i16) -> Option<Self>

Convert from a bits value.

+

This method will return None if any unknown bits are set.

+
source

pub const fn from_bits_truncate(bits: i16) -> Self

Convert from a bits value, unsetting any unknown bits.

+
source

pub const fn from_bits_retain(bits: i16) -> Self

Convert from a bits value exactly.

+
source

pub fn from_name(name: &str) -> Option<Self>

Get a flags value with the bits of a flag with the given name set.

+

This method will return None if name is empty or doesn’t +correspond to any named flag.

+
source

pub const fn is_empty(&self) -> bool

Whether all bits in this flags value are unset.

+
source

pub const fn is_all(&self) -> bool

Whether all known bits in this flags value are set.

+
source

pub const fn intersects(&self, other: Self) -> bool

Whether any set bits in a source flags value are also set in a target flags value.

+
source

pub const fn contains(&self, other: Self) -> bool

Whether all set bits in a source flags value are also set in a target flags value.

+
source

pub fn insert(&mut self, other: Self)

The bitwise or (|) of the bits in two flags values.

+
source

pub fn remove(&mut self, other: Self)

The intersection of a source flags value with the complement of a target flags value (&!).

+

This method is not equivalent to self & !other when other has unknown bits set. +remove won’t truncate other, but the ! operator will.

+
source

pub fn toggle(&mut self, other: Self)

The bitwise exclusive-or (^) of the bits in two flags values.

+
source

pub fn set(&mut self, other: Self, value: bool)

Call insert when value is true or remove when value is false.

+
source

pub const fn intersection(self, other: Self) -> Self

The bitwise and (&) of the bits in two flags values.

+
source

pub const fn union(self, other: Self) -> Self

The bitwise or (|) of the bits in two flags values.

+
source

pub const fn difference(self, other: Self) -> Self

The intersection of a source flags value with the complement of a target flags value (&!).

+

This method is not equivalent to self & !other when other has unknown bits set. +difference won’t truncate other, but the ! operator will.

+
source

pub const fn symmetric_difference(self, other: Self) -> Self

The bitwise exclusive-or (^) of the bits in two flags values.

+
source

pub const fn complement(self) -> Self

The bitwise negation (!) of the bits in a flags value, truncating the result.

+
source§

impl UserPresenceFlags

source

pub const fn iter(&self) -> Iter<UserPresenceFlags>

Yield a set of contained flags values.

+

Each yielded flags value will correspond to a defined named flag. Any unknown bits +will be yielded together as a final flags value.

+
source

pub const fn iter_names(&self) -> IterNames<UserPresenceFlags>

Yield a set of contained named flags values.

+

This method is like iter, except only yields bits in contained named flags. +Any unknown bits, or bits not corresponding to a contained flag will not be yielded.

+
source§

impl UserPresenceFlags

source

pub const fn from_bits_truncate_public(bits: i16) -> Self

Trait Implementations§

source§

impl Archive for UserPresenceFlags

source§

type Archived = ArchivedUserPresenceFlags

The archived representation of this type. Read more
source§

type Resolver = ()

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

fn resolve(&self, _: (), out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
source§

impl Binary for UserPresenceFlags

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl BitAnd for UserPresenceFlags

source§

fn bitand(self, other: Self) -> Self

The bitwise and (&) of the bits in two flags values.

+
source§

type Output = UserPresenceFlags

The resulting type after applying the & operator.
source§

impl BitAndAssign for UserPresenceFlags

source§

fn bitand_assign(&mut self, other: Self)

The bitwise and (&) of the bits in two flags values.

+
source§

impl BitOr for UserPresenceFlags

source§

fn bitor(self, other: UserPresenceFlags) -> Self

The bitwise or (|) of the bits in two flags values.

+
source§

type Output = UserPresenceFlags

The resulting type after applying the | operator.
source§

impl BitOrAssign for UserPresenceFlags

source§

fn bitor_assign(&mut self, other: Self)

The bitwise or (|) of the bits in two flags values.

+
source§

impl BitXor for UserPresenceFlags

source§

fn bitxor(self, other: Self) -> Self

The bitwise exclusive-or (^) of the bits in two flags values.

+
source§

type Output = UserPresenceFlags

The resulting type after applying the ^ operator.
source§

impl BitXorAssign for UserPresenceFlags

source§

fn bitxor_assign(&mut self, other: Self)

The bitwise exclusive-or (^) of the bits in two flags values.

+
source§

impl Clone for UserPresenceFlags

source§

fn clone(&self) -> UserPresenceFlags

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for UserPresenceFlags

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for UserPresenceFlags

source§

fn deserialize<D>(deserializer: D) -> Result<UserPresenceFlags, D::Error>
where + D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl<D: Fallible + ?Sized> Deserialize<UserPresenceFlags, D> for ArchivedUserPresenceFlags

source§

fn deserialize(&self, _: &mut D) -> Result<UserPresenceFlags, D::Error>

Deserializes using the given deserializer
source§

impl Extend<UserPresenceFlags> for UserPresenceFlags

source§

fn extend<T: IntoIterator<Item = Self>>(&mut self, iterator: T)

The bitwise or (|) of the bits in each flags value.

+
source§

fn extend_one(&mut self, item: A)

🔬This is a nightly-only experimental API. (extend_one)
Extends a collection with exactly one element.
source§

fn extend_reserve(&mut self, additional: usize)

🔬This is a nightly-only experimental API. (extend_one)
Reserves capacity in a collection for the given number of additional elements. Read more
source§

impl Flags for UserPresenceFlags

source§

const FLAGS: &'static [Flag<UserPresenceFlags>] = _

The set of defined flags.
source§

type Bits = i16

The underlying bits type.
source§

fn bits(&self) -> i16

Get the underlying bits value. Read more
source§

fn from_bits_retain(bits: i16) -> UserPresenceFlags

Convert from a bits value exactly.
§

fn empty() -> Self

Get a flags value with all bits unset.
§

fn all() -> Self

Get a flags value with all known bits set.
§

fn from_bits(bits: Self::Bits) -> Option<Self>

Convert from a bits value. Read more
§

fn from_bits_truncate(bits: Self::Bits) -> Self

Convert from a bits value, unsetting any unknown bits.
§

fn from_name(name: &str) -> Option<Self>

Get a flags value with the bits of a flag with the given name set. Read more
§

fn iter(&self) -> Iter<Self>

Yield a set of contained flags values. Read more
§

fn iter_names(&self) -> IterNames<Self>

Yield a set of contained named flags values. Read more
§

fn is_empty(&self) -> bool

Whether all bits in this flags value are unset.
§

fn is_all(&self) -> bool

Whether all known bits in this flags value are set.
§

fn intersects(&self, other: Self) -> bool
where + Self: Sized,

Whether any set bits in a source flags value are also set in a target flags value.
§

fn contains(&self, other: Self) -> bool
where + Self: Sized,

Whether all set bits in a source flags value are also set in a target flags value.
§

fn insert(&mut self, other: Self)
where + Self: Sized,

The bitwise or (|) of the bits in two flags values.
§

fn remove(&mut self, other: Self)
where + Self: Sized,

The intersection of a source flags value with the complement of a target flags value (&!). Read more
§

fn toggle(&mut self, other: Self)
where + Self: Sized,

The bitwise exclusive-or (^) of the bits in two flags values.
§

fn set(&mut self, other: Self, value: bool)
where + Self: Sized,

Call [Flags::insert] when value is true or [Flags::remove] when value is false.
§

fn intersection(self, other: Self) -> Self

The bitwise and (&) of the bits in two flags values.
§

fn union(self, other: Self) -> Self

The bitwise or (|) of the bits in two flags values.
§

fn difference(self, other: Self) -> Self

The intersection of a source flags value with the complement of a target flags value (&!). Read more
§

fn symmetric_difference(self, other: Self) -> Self

The bitwise exclusive-or (^) of the bits in two flags values.
§

fn complement(self) -> Self

The bitwise negation (!) of the bits in a flags value, truncating the result.
source§

impl From<ArchivedUserPresenceFlags> for UserPresenceFlags

source§

fn from(archived: ArchivedUserPresenceFlags) -> Self

Converts to this type from the input type.
source§

impl FromIterator<UserPresenceFlags> for UserPresenceFlags

source§

fn from_iter<T: IntoIterator<Item = Self>>(iterator: T) -> Self

The bitwise or (|) of the bits in each flags value.

+
source§

impl Hash for UserPresenceFlags

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where + H: Hasher, + Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl IntoIterator for UserPresenceFlags

source§

type Item = UserPresenceFlags

The type of the elements being iterated over.
source§

type IntoIter = Iter<UserPresenceFlags>

Which kind of iterator are we turning this into?
source§

fn into_iter(self) -> Self::IntoIter

Creates an iterator from a value. Read more
source§

impl LowerHex for UserPresenceFlags

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Not for UserPresenceFlags

source§

fn not(self) -> Self

The bitwise negation (!) of the bits in a flags value, truncating the result.

+
source§

type Output = UserPresenceFlags

The resulting type after applying the ! operator.
source§

impl Octal for UserPresenceFlags

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl PartialEq<ArchivedUserPresenceFlags> for UserPresenceFlags

source§

fn eq(&self, other: &ArchivedUserPresenceFlags) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl PartialEq<UserPresenceFlags> for ArchivedUserPresenceFlags

source§

fn eq(&self, other: &UserPresenceFlags) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl PartialEq for UserPresenceFlags

source§

fn eq(&self, other: &UserPresenceFlags) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl PublicFlags for UserPresenceFlags

source§

type Primitive = i16

The type of the underlying storage.
source§

type Internal = InternalBitFlags

The type of the internal field on the generated flags type.
source§

impl<S: Fallible + ?Sized> Serialize<S> for UserPresenceFlags

source§

fn serialize(&self, _: &mut S) -> Result<(), S::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.
source§

impl Serialize for UserPresenceFlags

source§

fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
where + S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Sub for UserPresenceFlags

source§

fn sub(self, other: Self) -> Self

The intersection of a source flags value with the complement of a target flags value (&!).

+

This method is not equivalent to self & !other when other has unknown bits set. +difference won’t truncate other, but the ! operator will.

+
source§

type Output = UserPresenceFlags

The resulting type after applying the - operator.
source§

impl SubAssign for UserPresenceFlags

source§

fn sub_assign(&mut self, other: Self)

The intersection of a source flags value with the complement of a target flags value (&!).

+

This method is not equivalent to self & !other when other has unknown bits set. +difference won’t truncate other, but the ! operator will.

+
source§

impl UpperHex for UserPresenceFlags

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Copy for UserPresenceFlags

source§

impl Eq for UserPresenceFlags

source§

impl StructuralPartialEq for UserPresenceFlags

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where + T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T> ToOwned for T
where + T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
source§

impl<T> CommandBody for T
where + T: Send + Serialize + Archive,

source§

impl<T> CommandResult for T
where + T: Send + DeserializeOwned + Serialize + Archive,

source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/presence/struct.UserPresenceResolver.html b/client_sdk/models/presence/struct.UserPresenceResolver.html new file mode 100644 index 000000000..bcab5e0e0 --- /dev/null +++ b/client_sdk/models/presence/struct.UserPresenceResolver.html @@ -0,0 +1,25 @@ +UserPresenceResolver in client_sdk::models::presence - Rust

Struct client_sdk::models::presence::UserPresenceResolver

source ·
pub struct UserPresenceResolver
where + UserPresenceFlags: Archive, + Option<u64>: Archive, + Option<Timestamp>: Archive, + Option<AnyActivity>: Archive,
{ /* private fields */ }
Expand description

The resolver for an archived UserPresence

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/role/index.html b/client_sdk/models/role/index.html new file mode 100644 index 000000000..baf662d18 --- /dev/null +++ b/client_sdk/models/role/index.html @@ -0,0 +1,2 @@ +client_sdk::models::role - Rust

Module client_sdk::models::role

source ·

Structs§

\ No newline at end of file diff --git a/client_sdk/models/role/sidebar-items.js b/client_sdk/models/role/sidebar-items.js new file mode 100644 index 000000000..2095b7219 --- /dev/null +++ b/client_sdk/models/role/sidebar-items.js @@ -0,0 +1 @@ +window.SIDEBAR_ITEMS = {"struct":["ArchivedRole","ArchivedRoleFlags","Role","RoleFlags","RoleResolver"]}; \ No newline at end of file diff --git a/client_sdk/models/role/struct.ArchivedRole.html b/client_sdk/models/role/struct.ArchivedRole.html new file mode 100644 index 000000000..69094f1b4 --- /dev/null +++ b/client_sdk/models/role/struct.ArchivedRole.html @@ -0,0 +1,81 @@ +ArchivedRole in client_sdk::models::role - Rust

Struct client_sdk::models::role::ArchivedRole

source ·
#[repr(C)]
pub struct ArchivedRole
where + RoleId: Archive, + PartyId: Archive, + Option<EncryptedSnowflake>: Archive, + SmolStr: Archive, + Option<SmolStr>: Archive, + Permissions: Archive, + Option<u32>: Archive, + i16: Archive, + RoleFlags: Archive,
{ + pub id: <RoleId as Archive>::Archived, + pub party_id: <PartyId as Archive>::Archived, + pub avatar: <Option<EncryptedSnowflake> as Archive>::Archived, + pub name: <SmolStr as Archive>::Archived, + pub desc: <Option<SmolStr> as Archive>::Archived, + pub permissions: <Permissions as Archive>::Archived, + pub color: <Option<u32> as Archive>::Archived, + pub position: <i16 as Archive>::Archived, + pub flags: <RoleFlags as Archive>::Archived, +}
Expand description

An archived Role

+

Fields§

§id: <RoleId as Archive>::Archived§party_id: <PartyId as Archive>::Archived§avatar: <Option<EncryptedSnowflake> as Archive>::Archived§name: <SmolStr as Archive>::Archived§desc: <Option<SmolStr> as Archive>::Archived§permissions: <Permissions as Archive>::Archived§color: <Option<u32> as Archive>::Archived§position: <i16 as Archive>::Archived§flags: <RoleFlags as Archive>::Archived

Trait Implementations§

source§

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedRole
where + RoleId: Archive, + PartyId: Archive, + Option<EncryptedSnowflake>: Archive, + SmolStr: Archive, + Option<SmolStr>: Archive, + Permissions: Archive, + Option<u32>: Archive, + i16: Archive, + RoleFlags: Archive, + <__C as Fallible>::Error: Trace, + <RoleId as Archive>::Archived: CheckBytes<__C>, + <PartyId as Archive>::Archived: CheckBytes<__C>, + <Option<EncryptedSnowflake> as Archive>::Archived: CheckBytes<__C>, + <SmolStr as Archive>::Archived: CheckBytes<__C>, + <Option<SmolStr> as Archive>::Archived: CheckBytes<__C>, + <Permissions as Archive>::Archived: CheckBytes<__C>, + <Option<u32> as Archive>::Archived: CheckBytes<__C>, + <i16 as Archive>::Archived: CheckBytes<__C>, + <RoleFlags as Archive>::Archived: CheckBytes<__C>,

source§

unsafe fn check_bytes( + value: *const Self, + context: &mut __C, +) -> Result<(), <__C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Portable for ArchivedRole
where + RoleId: Archive, + PartyId: Archive, + Option<EncryptedSnowflake>: Archive, + SmolStr: Archive, + Option<SmolStr>: Archive, + Permissions: Archive, + Option<u32>: Archive, + i16: Archive, + RoleFlags: Archive, + <RoleId as Archive>::Archived: Portable, + <PartyId as Archive>::Archived: Portable, + <Option<EncryptedSnowflake> as Archive>::Archived: Portable, + <SmolStr as Archive>::Archived: Portable, + <Option<SmolStr> as Archive>::Archived: Portable, + <Permissions as Archive>::Archived: Portable, + <Option<u32> as Archive>::Archived: Portable, + <i16 as Archive>::Archived: Portable, + <RoleFlags as Archive>::Archived: Portable,

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/role/struct.ArchivedRoleFlags.html b/client_sdk/models/role/struct.ArchivedRoleFlags.html new file mode 100644 index 000000000..502b44e53 --- /dev/null +++ b/client_sdk/models/role/struct.ArchivedRoleFlags.html @@ -0,0 +1,71 @@ +ArchivedRoleFlags in client_sdk::models::role - Rust

Struct client_sdk::models::role::ArchivedRoleFlags

source ·
#[repr(transparent)]
pub struct ArchivedRoleFlags(pub Archived<i16>);
Expand description

Archived version of RoleFlags, automatically made endian-agnostic. +When comparing with the native bitflags, the archived bitflags will truncate any extra bits.

+

Tuple Fields§

§0: Archived<i16>

Implementations§

source§

impl ArchivedRoleFlags

source

pub const fn to_native(&self) -> Option<RoleFlags>

Converts this archived bitflags to the native bitflags type, returning None if any +bits are set that are not part of the bitflags.

+

See RoleFlags::from_bits for more information.

+
source

pub const fn to_native_truncate(&self) -> RoleFlags

Converts this archived bitflags to the native bitflags type, truncating any extra bits.

+

See RoleFlags::from_bits_truncate for more information.

+
source

pub const fn to_native_retain(&self) -> RoleFlags

Converts this archived bitflags to the native bitflags type, retaining all bits, even +if they are not part of the bitflags.

+

See RoleFlags::from_bits_retain for more information.

+
source

pub const fn from_native(native: RoleFlags) -> Self

Converts the native bitflags type to an archived bitflags.

+
source

pub const fn contains(&self, other: RoleFlags) -> bool

Check if the archived bitflags contains all the given bitflags.

+

See RoleFlags::contains for more information.

+
source

pub const fn intersects(&self, other: RoleFlags) -> bool

Check if the archived bitflags intersect with any of the given bitflags.

+

See RoleFlags::intersects for more information.

+
source

pub const fn is_empty(&self) -> bool

Whether all bits in this flags value are unset.

+
source

pub const fn is_all(&self) -> bool

Whether all known bits in this flags value are set.

+
source

pub const fn bits(&self) -> i16

Get the underlying raw bits value.

+

Note that this may contain bits that are not part of the original bitflags, +if serialized with a different version of the bitflags. Use to_native or +to_native_truncate to convert to the native bitflags type +without extra bits.

+

Trait Implementations§

source§

impl<C> CheckBytes<C> for ArchivedRoleFlags
where + C: Fallible + ?Sized, + <C as Fallible>::Error: Source,

source§

unsafe fn check_bytes( + value: *const Self, + ctx: &mut C, +) -> Result<(), <C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Clone for ArchivedRoleFlags

source§

fn clone(&self) -> ArchivedRoleFlags

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ArchivedRoleFlags

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<D: Fallible + ?Sized> Deserialize<RoleFlags, D> for ArchivedRoleFlags

source§

fn deserialize(&self, _: &mut D) -> Result<RoleFlags, D::Error>

Deserializes using the given deserializer
source§

impl From<ArchivedRoleFlags> for RoleFlags

source§

fn from(archived: ArchivedRoleFlags) -> Self

Converts to this type from the input type.
source§

impl PartialEq<ArchivedRoleFlags> for RoleFlags

source§

fn eq(&self, other: &ArchivedRoleFlags) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl PartialEq<RoleFlags> for ArchivedRoleFlags

source§

fn eq(&self, other: &RoleFlags) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl PartialEq for ArchivedRoleFlags

source§

fn eq(&self, other: &ArchivedRoleFlags) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl ToSql for ArchivedRoleFlags

source§

fn to_sql( + &self, + ty: &Type, + out: &mut BytesMut, +) -> Result<IsNull, Box<dyn Error + Sync + Send>>
where + Self: Sized,

Converts the value of self into the binary format of the specified +Postgres Type, appending it to out. Read more
source§

fn accepts(ty: &Type) -> bool

Determines if a value of this type can be converted to the specified +Postgres Type.
source§

fn to_sql_checked( + &self, + ty: &Type, + out: &mut BytesMut, +) -> Result<IsNull, Box<dyn Error + Sync + Send>>

An adaptor method used internally by Rust-Postgres. Read more
§

fn encode_format(&self, _ty: &Type) -> Format

Specify the encode format
source§

impl Copy for ArchivedRoleFlags

source§

impl Eq for ArchivedRoleFlags

source§

impl NoUndef for ArchivedRoleFlags

source§

impl Portable for ArchivedRoleFlags

source§

impl StructuralPartialEq for ArchivedRoleFlags

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> BorrowToSql for T
where + T: ToSql,

§

fn borrow_to_sql(&self) -> &dyn ToSql

Returns a reference to self as a ToSql trait object.
source§

impl<T> CloneToUninit for T
where + T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where + T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/role/struct.Role.html b/client_sdk/models/role/struct.Role.html new file mode 100644 index 000000000..3ff267d07 --- /dev/null +++ b/client_sdk/models/role/struct.Role.html @@ -0,0 +1,93 @@ +Role in client_sdk::models::role - Rust

Struct client_sdk::models::role::Role

source ·
pub struct Role {
+    pub id: RoleId,
+    pub party_id: PartyId,
+    pub avatar: Option<EncryptedSnowflake>,
+    pub name: SmolStr,
+    pub desc: Option<SmolStr>,
+    pub permissions: Permissions,
+    pub color: Option<u32>,
+    pub position: i16,
+    pub flags: RoleFlags,
+}

Fields§

§id: RoleId§party_id: PartyId§avatar: Option<EncryptedSnowflake>§name: SmolStr§desc: Option<SmolStr>§permissions: Permissions§color: Option<u32>§position: i16§flags: RoleFlags

Implementations§

source§

impl Role

source

pub fn is_mentionable(&self) -> bool

source

pub fn is_admin(&self) -> bool

Trait Implementations§

source§

impl Archive for Role
where + RoleId: Archive, + PartyId: Archive, + Option<EncryptedSnowflake>: Archive, + SmolStr: Archive, + Option<SmolStr>: Archive, + Permissions: Archive, + Option<u32>: Archive, + i16: Archive, + RoleFlags: Archive,

source§

type Archived = ArchivedRole

The archived representation of this type. Read more
source§

type Resolver = RoleResolver

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
source§

impl Clone for Role

source§

fn clone(&self) -> Role

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Role

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for Role

source§

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<__D: Fallible + ?Sized> Deserialize<Role, __D> for Archived<Role>
where + RoleId: Archive, + <RoleId as Archive>::Archived: Deserialize<RoleId, __D>, + PartyId: Archive, + <PartyId as Archive>::Archived: Deserialize<PartyId, __D>, + Option<EncryptedSnowflake>: Archive, + <Option<EncryptedSnowflake> as Archive>::Archived: Deserialize<Option<EncryptedSnowflake>, __D>, + SmolStr: Archive, + <SmolStr as Archive>::Archived: Deserialize<SmolStr, __D>, + Option<SmolStr>: Archive, + <Option<SmolStr> as Archive>::Archived: Deserialize<Option<SmolStr>, __D>, + Permissions: Archive, + <Permissions as Archive>::Archived: Deserialize<Permissions, __D>, + Option<u32>: Archive, + <Option<u32> as Archive>::Archived: Deserialize<Option<u32>, __D>, + i16: Archive, + <i16 as Archive>::Archived: Deserialize<i16, __D>, + RoleFlags: Archive, + <RoleFlags as Archive>::Archived: Deserialize<RoleFlags, __D>,

source§

fn deserialize( + &self, + deserializer: &mut __D, +) -> Result<Role, <__D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<__S: Fallible + ?Sized> Serialize<__S> for Role
where + RoleId: Serialize<__S>, + PartyId: Serialize<__S>, + Option<EncryptedSnowflake>: Serialize<__S>, + SmolStr: Serialize<__S>, + Option<SmolStr>: Serialize<__S>, + Permissions: Serialize<__S>, + Option<u32>: Serialize<__S>, + i16: Serialize<__S>, + RoleFlags: Serialize<__S>,

source§

fn serialize( + &self, + serializer: &mut __S, +) -> Result<<Self as Archive>::Resolver, <__S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.
source§

impl Serialize for Role

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

§

impl Freeze for Role

§

impl RefUnwindSafe for Role

§

impl Send for Role

§

impl Sync for Role

§

impl Unpin for Role

§

impl UnwindSafe for Role

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where + T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T> ToOwned for T
where + T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
source§

impl<T> CommandBody for T
where + T: Send + Serialize + Archive,

source§

impl<T> CommandResult for T
where + T: Send + DeserializeOwned + Serialize + Archive,

source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/role/struct.RoleFlags.html b/client_sdk/models/role/struct.RoleFlags.html new file mode 100644 index 000000000..4b07bbf77 --- /dev/null +++ b/client_sdk/models/role/struct.RoleFlags.html @@ -0,0 +1,129 @@ +RoleFlags in client_sdk::models::role - Rust

Struct client_sdk::models::role::RoleFlags

source ·
pub struct RoleFlags(/* private fields */);

Implementations§

source§

impl RoleFlags

source

pub const HOIST: Self = _

source

pub const MENTIONABLE: Self = _

source§

impl RoleFlags

source

pub const fn empty() -> Self

Get a flags value with all bits unset.

+
source

pub const fn all() -> Self

Get a flags value with all known bits set.

+
source

pub const fn bits(&self) -> i16

Get the underlying bits value.

+

The returned value is exactly the bits set in this flags value.

+
source

pub const fn from_bits(bits: i16) -> Option<Self>

Convert from a bits value.

+

This method will return None if any unknown bits are set.

+
source

pub const fn from_bits_truncate(bits: i16) -> Self

Convert from a bits value, unsetting any unknown bits.

+
source

pub const fn from_bits_retain(bits: i16) -> Self

Convert from a bits value exactly.

+
source

pub fn from_name(name: &str) -> Option<Self>

Get a flags value with the bits of a flag with the given name set.

+

This method will return None if name is empty or doesn’t +correspond to any named flag.

+
source

pub const fn is_empty(&self) -> bool

Whether all bits in this flags value are unset.

+
source

pub const fn is_all(&self) -> bool

Whether all known bits in this flags value are set.

+
source

pub const fn intersects(&self, other: Self) -> bool

Whether any set bits in a source flags value are also set in a target flags value.

+
source

pub const fn contains(&self, other: Self) -> bool

Whether all set bits in a source flags value are also set in a target flags value.

+
source

pub fn insert(&mut self, other: Self)

The bitwise or (|) of the bits in two flags values.

+
source

pub fn remove(&mut self, other: Self)

The intersection of a source flags value with the complement of a target flags value (&!).

+

This method is not equivalent to self & !other when other has unknown bits set. +remove won’t truncate other, but the ! operator will.

+
source

pub fn toggle(&mut self, other: Self)

The bitwise exclusive-or (^) of the bits in two flags values.

+
source

pub fn set(&mut self, other: Self, value: bool)

Call insert when value is true or remove when value is false.

+
source

pub const fn intersection(self, other: Self) -> Self

The bitwise and (&) of the bits in two flags values.

+
source

pub const fn union(self, other: Self) -> Self

The bitwise or (|) of the bits in two flags values.

+
source

pub const fn difference(self, other: Self) -> Self

The intersection of a source flags value with the complement of a target flags value (&!).

+

This method is not equivalent to self & !other when other has unknown bits set. +difference won’t truncate other, but the ! operator will.

+
source

pub const fn symmetric_difference(self, other: Self) -> Self

The bitwise exclusive-or (^) of the bits in two flags values.

+
source

pub const fn complement(self) -> Self

The bitwise negation (!) of the bits in a flags value, truncating the result.

+
source§

impl RoleFlags

source

pub const fn iter(&self) -> Iter<RoleFlags>

Yield a set of contained flags values.

+

Each yielded flags value will correspond to a defined named flag. Any unknown bits +will be yielded together as a final flags value.

+
source

pub const fn iter_names(&self) -> IterNames<RoleFlags>

Yield a set of contained named flags values.

+

This method is like iter, except only yields bits in contained named flags. +Any unknown bits, or bits not corresponding to a contained flag will not be yielded.

+

Trait Implementations§

source§

impl Archive for RoleFlags

source§

type Archived = ArchivedRoleFlags

The archived representation of this type. Read more
source§

type Resolver = ()

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

fn resolve(&self, _: (), out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
source§

impl Binary for RoleFlags

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl BitAnd for RoleFlags

source§

fn bitand(self, other: Self) -> Self

The bitwise and (&) of the bits in two flags values.

+
source§

type Output = RoleFlags

The resulting type after applying the & operator.
source§

impl BitAndAssign for RoleFlags

source§

fn bitand_assign(&mut self, other: Self)

The bitwise and (&) of the bits in two flags values.

+
source§

impl BitOr for RoleFlags

source§

fn bitor(self, other: RoleFlags) -> Self

The bitwise or (|) of the bits in two flags values.

+
source§

type Output = RoleFlags

The resulting type after applying the | operator.
source§

impl BitOrAssign for RoleFlags

source§

fn bitor_assign(&mut self, other: Self)

The bitwise or (|) of the bits in two flags values.

+
source§

impl BitXor for RoleFlags

source§

fn bitxor(self, other: Self) -> Self

The bitwise exclusive-or (^) of the bits in two flags values.

+
source§

type Output = RoleFlags

The resulting type after applying the ^ operator.
source§

impl BitXorAssign for RoleFlags

source§

fn bitxor_assign(&mut self, other: Self)

The bitwise exclusive-or (^) of the bits in two flags values.

+
source§

impl Clone for RoleFlags

source§

fn clone(&self) -> RoleFlags

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for RoleFlags

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for RoleFlags

source§

fn default() -> RoleFlags

Returns the “default value” for a type. Read more
source§

impl<'de> Deserialize<'de> for RoleFlags

source§

fn deserialize<D>(deserializer: D) -> Result<RoleFlags, D::Error>
where + D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl<D: Fallible + ?Sized> Deserialize<RoleFlags, D> for ArchivedRoleFlags

source§

fn deserialize(&self, _: &mut D) -> Result<RoleFlags, D::Error>

Deserializes using the given deserializer
source§

impl Extend<RoleFlags> for RoleFlags

source§

fn extend<T: IntoIterator<Item = Self>>(&mut self, iterator: T)

The bitwise or (|) of the bits in each flags value.

+
source§

fn extend_one(&mut self, item: A)

🔬This is a nightly-only experimental API. (extend_one)
Extends a collection with exactly one element.
source§

fn extend_reserve(&mut self, additional: usize)

🔬This is a nightly-only experimental API. (extend_one)
Reserves capacity in a collection for the given number of additional elements. Read more
source§

impl Flags for RoleFlags

source§

const FLAGS: &'static [Flag<RoleFlags>] = _

The set of defined flags.
source§

type Bits = i16

The underlying bits type.
source§

fn bits(&self) -> i16

Get the underlying bits value. Read more
source§

fn from_bits_retain(bits: i16) -> RoleFlags

Convert from a bits value exactly.
§

fn empty() -> Self

Get a flags value with all bits unset.
§

fn all() -> Self

Get a flags value with all known bits set.
§

fn from_bits(bits: Self::Bits) -> Option<Self>

Convert from a bits value. Read more
§

fn from_bits_truncate(bits: Self::Bits) -> Self

Convert from a bits value, unsetting any unknown bits.
§

fn from_name(name: &str) -> Option<Self>

Get a flags value with the bits of a flag with the given name set. Read more
§

fn iter(&self) -> Iter<Self>

Yield a set of contained flags values. Read more
§

fn iter_names(&self) -> IterNames<Self>

Yield a set of contained named flags values. Read more
§

fn is_empty(&self) -> bool

Whether all bits in this flags value are unset.
§

fn is_all(&self) -> bool

Whether all known bits in this flags value are set.
§

fn intersects(&self, other: Self) -> bool
where + Self: Sized,

Whether any set bits in a source flags value are also set in a target flags value.
§

fn contains(&self, other: Self) -> bool
where + Self: Sized,

Whether all set bits in a source flags value are also set in a target flags value.
§

fn insert(&mut self, other: Self)
where + Self: Sized,

The bitwise or (|) of the bits in two flags values.
§

fn remove(&mut self, other: Self)
where + Self: Sized,

The intersection of a source flags value with the complement of a target flags value (&!). Read more
§

fn toggle(&mut self, other: Self)
where + Self: Sized,

The bitwise exclusive-or (^) of the bits in two flags values.
§

fn set(&mut self, other: Self, value: bool)
where + Self: Sized,

Call [Flags::insert] when value is true or [Flags::remove] when value is false.
§

fn intersection(self, other: Self) -> Self

The bitwise and (&) of the bits in two flags values.
§

fn union(self, other: Self) -> Self

The bitwise or (|) of the bits in two flags values.
§

fn difference(self, other: Self) -> Self

The intersection of a source flags value with the complement of a target flags value (&!). Read more
§

fn symmetric_difference(self, other: Self) -> Self

The bitwise exclusive-or (^) of the bits in two flags values.
§

fn complement(self) -> Self

The bitwise negation (!) of the bits in a flags value, truncating the result.
source§

impl From<ArchivedRoleFlags> for RoleFlags

source§

fn from(archived: ArchivedRoleFlags) -> Self

Converts to this type from the input type.
source§

impl FromIterator<RoleFlags> for RoleFlags

source§

fn from_iter<T: IntoIterator<Item = Self>>(iterator: T) -> Self

The bitwise or (|) of the bits in each flags value.

+
source§

impl<'a> FromSql<'a> for RoleFlags

source§

fn from_sql( + ty: &Type, + raw: &'a [u8], +) -> Result<Self, Box<dyn Error + Sync + Send>>

Creates a new value of this type from a buffer of data of the specified +Postgres Type in its binary format. Read more
source§

fn accepts(ty: &Type) -> bool

Determines if a value of this type can be created from the specified +Postgres Type.
§

fn from_sql_null(ty: &Type) -> Result<Self, Box<dyn Error + Sync + Send>>

Creates a new value of this type from a NULL SQL value. Read more
§

fn from_sql_nullable( + ty: &Type, + raw: Option<&'a [u8]>, +) -> Result<Self, Box<dyn Error + Sync + Send>>

A convenience function that delegates to from_sql and from_sql_null depending on the +value of raw.
source§

impl FromSql for RoleFlags

source§

fn column_result(value: ValueRef<'_>) -> FromSqlResult<Self>

Converts SQLite value into Rust value.
source§

impl Hash for RoleFlags

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where + H: Hasher, + Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl IntoIterator for RoleFlags

source§

type Item = RoleFlags

The type of the elements being iterated over.
source§

type IntoIter = Iter<RoleFlags>

Which kind of iterator are we turning this into?
source§

fn into_iter(self) -> Self::IntoIter

Creates an iterator from a value. Read more
source§

impl LowerHex for RoleFlags

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Not for RoleFlags

source§

fn not(self) -> Self

The bitwise negation (!) of the bits in a flags value, truncating the result.

+
source§

type Output = RoleFlags

The resulting type after applying the ! operator.
source§

impl Octal for RoleFlags

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl PartialEq<ArchivedRoleFlags> for RoleFlags

source§

fn eq(&self, other: &ArchivedRoleFlags) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl PartialEq<RoleFlags> for ArchivedRoleFlags

source§

fn eq(&self, other: &RoleFlags) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl PartialEq for RoleFlags

source§

fn eq(&self, other: &RoleFlags) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl PublicFlags for RoleFlags

source§

type Primitive = i16

The type of the underlying storage.
source§

type Internal = InternalBitFlags

The type of the internal field on the generated flags type.
source§

impl<S: Fallible + ?Sized> Serialize<S> for RoleFlags

source§

fn serialize(&self, _: &mut S) -> Result<(), S::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.
source§

impl Serialize for RoleFlags

source§

fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
where + S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Sub for RoleFlags

source§

fn sub(self, other: Self) -> Self

The intersection of a source flags value with the complement of a target flags value (&!).

+

This method is not equivalent to self & !other when other has unknown bits set. +difference won’t truncate other, but the ! operator will.

+
source§

type Output = RoleFlags

The resulting type after applying the - operator.
source§

impl SubAssign for RoleFlags

source§

fn sub_assign(&mut self, other: Self)

The intersection of a source flags value with the complement of a target flags value (&!).

+

This method is not equivalent to self & !other when other has unknown bits set. +difference won’t truncate other, but the ! operator will.

+
source§

impl ToSql for RoleFlags

source§

fn to_sql(&self) -> Result<ToSqlOutput<'_>>

Converts Rust value to SQLite value
source§

impl ToSql for RoleFlags

source§

fn to_sql( + &self, + ty: &Type, + out: &mut BytesMut, +) -> Result<IsNull, Box<dyn Error + Sync + Send>>
where + Self: Sized,

Converts the value of self into the binary format of the specified +Postgres Type, appending it to out. Read more
source§

fn accepts(ty: &Type) -> bool

Determines if a value of this type can be converted to the specified +Postgres Type.
source§

fn to_sql_checked( + &self, + ty: &Type, + out: &mut BytesMut, +) -> Result<IsNull, Box<dyn Error + Sync + Send>>

An adaptor method used internally by Rust-Postgres. Read more
§

fn encode_format(&self, _ty: &Type) -> Format

Specify the encode format
source§

impl UpperHex for RoleFlags

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Copy for RoleFlags

source§

impl Eq for RoleFlags

source§

impl StructuralPartialEq for RoleFlags

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> BorrowToSql for T
where + T: ToSql,

§

fn borrow_to_sql(&self) -> &dyn ToSql

Returns a reference to self as a ToSql trait object.
source§

impl<T> CloneToUninit for T
where + T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T> ToOwned for T
where + T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
source§

impl<T> CommandBody for T
where + T: Send + Serialize + Archive,

source§

impl<T> CommandResult for T
where + T: Send + DeserializeOwned + Serialize + Archive,

source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> FromSqlOwned for T
where + T: for<'a> FromSql<'a>,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/role/struct.RoleResolver.html b/client_sdk/models/role/struct.RoleResolver.html new file mode 100644 index 000000000..5746bf3a6 --- /dev/null +++ b/client_sdk/models/role/struct.RoleResolver.html @@ -0,0 +1,30 @@ +RoleResolver in client_sdk::models::role - Rust

Struct client_sdk::models::role::RoleResolver

source ·
pub struct RoleResolver
where + RoleId: Archive, + PartyId: Archive, + Option<EncryptedSnowflake>: Archive, + SmolStr: Archive, + Option<SmolStr>: Archive, + Permissions: Archive, + Option<u32>: Archive, + i16: Archive, + RoleFlags: Archive,
{ /* private fields */ }
Expand description

The resolver for an archived Role

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/room/enum.ArchivedRoomKind.html b/client_sdk/models/room/enum.ArchivedRoomKind.html new file mode 100644 index 000000000..8f2cd68af --- /dev/null +++ b/client_sdk/models/room/enum.ArchivedRoomKind.html @@ -0,0 +1,37 @@ +ArchivedRoomKind in client_sdk::models::room - Rust

Enum client_sdk::models::room::ArchivedRoomKind

source ·
#[repr(u8)]
pub enum ArchivedRoomKind { + Text = 0, + DirectMessage = 1, + GroupMessage = 2, + Voice = 3, + UserForum = 4, +}
Expand description

An archived RoomKind

+

Variants§

§

Text = 0

The archived counterpart of RoomKind::Text

+
§

DirectMessage = 1

The archived counterpart of RoomKind::DirectMessage

+
§

GroupMessage = 2

The archived counterpart of RoomKind::GroupMessage

+
§

Voice = 3

The archived counterpart of RoomKind::Voice

+
§

UserForum = 4

The archived counterpart of RoomKind::UserForum

+

Trait Implementations§

source§

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedRoomKind
where + <__C as Fallible>::Error: Source,

source§

unsafe fn check_bytes( + value: *const Self, + context: &mut __C, +) -> Result<(), <__C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Portable for ArchivedRoomKind

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/room/enum.RoomKind.html b/client_sdk/models/room/enum.RoomKind.html new file mode 100644 index 000000000..a1b750105 --- /dev/null +++ b/client_sdk/models/room/enum.RoomKind.html @@ -0,0 +1,89 @@ +RoomKind in client_sdk::models::room - Rust

Enum client_sdk::models::room::RoomKind

source ·
#[repr(u8)]
pub enum RoomKind { + Text = 0, + DirectMessage = 1, + GroupMessage = 2, + Voice = 3, + UserForum = 4, +}

Variants§

§

Text = 0

§

DirectMessage = 1

§

GroupMessage = 2

§

Voice = 3

§

UserForum = 4

Trait Implementations§

source§

impl Archive for RoomKind

source§

type Archived = ArchivedRoomKind

The archived representation of this type. Read more
source§

type Resolver = RoomKindResolver

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

impl Clone for RoomKind

source§

fn clone(&self) -> RoomKind

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for RoomKind

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<__D: Fallible + ?Sized> Deserialize<RoomKind, __D> for Archived<RoomKind>

source§

fn deserialize( + &self, + deserializer: &mut __D, +) -> Result<RoomKind, <__D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl From<RoomKind> for RoomFlags

source§

fn from(value: RoomKind) -> Self

Converts to this type from the input type.
source§

impl FromPrimitive for RoomKind

source§

fn from_u64(val: u64) -> Option<Self>

Converts an u64 to return an optional value of this type. If the +value cannot be represented by this type, then None is returned.
source§

fn from_i64(val: i64) -> Option<Self>

Converts an i64 to return an optional value of this type. If the +value cannot be represented by this type, then None is returned.
source§

fn from_isize(n: isize) -> Option<Self>

Converts an isize to return an optional value of this type. If the +value cannot be represented by this type, then None is returned.
source§

fn from_i8(n: i8) -> Option<Self>

Converts an i8 to return an optional value of this type. If the +value cannot be represented by this type, then None is returned.
source§

fn from_i16(n: i16) -> Option<Self>

Converts an i16 to return an optional value of this type. If the +value cannot be represented by this type, then None is returned.
source§

fn from_i32(n: i32) -> Option<Self>

Converts an i32 to return an optional value of this type. If the +value cannot be represented by this type, then None is returned.
source§

fn from_i128(n: i128) -> Option<Self>

Converts an i128 to return an optional value of this type. If the +value cannot be represented by this type, then None is returned. Read more
source§

fn from_usize(n: usize) -> Option<Self>

Converts a usize to return an optional value of this type. If the +value cannot be represented by this type, then None is returned.
source§

fn from_u8(n: u8) -> Option<Self>

Converts an u8 to return an optional value of this type. If the +value cannot be represented by this type, then None is returned.
source§

fn from_u16(n: u16) -> Option<Self>

Converts an u16 to return an optional value of this type. If the +value cannot be represented by this type, then None is returned.
source§

fn from_u32(n: u32) -> Option<Self>

Converts an u32 to return an optional value of this type. If the +value cannot be represented by this type, then None is returned.
source§

fn from_u128(n: u128) -> Option<Self>

Converts an u128 to return an optional value of this type. If the +value cannot be represented by this type, then None is returned. Read more
source§

fn from_f32(n: f32) -> Option<Self>

Converts a f32 to return an optional value of this type. If the +value cannot be represented by this type, then None is returned.
source§

fn from_f64(n: f64) -> Option<Self>

Converts a f64 to return an optional value of this type. If the +value cannot be represented by this type, then None is returned. Read more
source§

impl Hash for RoomKind

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where + H: Hasher, + Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl PartialEq for RoomKind

source§

fn eq(&self, other: &RoomKind) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl<__S: Fallible + ?Sized> Serialize<__S> for RoomKind

source§

fn serialize( + &self, + serializer: &mut __S, +) -> Result<<Self as Archive>::Resolver, <__S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.
source§

impl ToPrimitive for RoomKind

source§

fn to_u64(&self) -> Option<u64>

Converts the value of self to a u64. If the value cannot be +represented by a u64, then None is returned.
source§

fn to_i64(&self) -> Option<i64>

Converts the value of self to an i64. If the value cannot be +represented by an i64, then None is returned.
source§

fn to_isize(&self) -> Option<isize>

Converts the value of self to an isize. If the value cannot be +represented by an isize, then None is returned.
source§

fn to_i8(&self) -> Option<i8>

Converts the value of self to an i8. If the value cannot be +represented by an i8, then None is returned.
source§

fn to_i16(&self) -> Option<i16>

Converts the value of self to an i16. If the value cannot be +represented by an i16, then None is returned.
source§

fn to_i32(&self) -> Option<i32>

Converts the value of self to an i32. If the value cannot be +represented by an i32, then None is returned.
source§

fn to_i128(&self) -> Option<i128>

Converts the value of self to an i128. If the value cannot be +represented by an i128 (i64 under the default implementation), then +None is returned. Read more
source§

fn to_usize(&self) -> Option<usize>

Converts the value of self to a usize. If the value cannot be +represented by a usize, then None is returned.
source§

fn to_u8(&self) -> Option<u8>

Converts the value of self to a u8. If the value cannot be +represented by a u8, then None is returned.
source§

fn to_u16(&self) -> Option<u16>

Converts the value of self to a u16. If the value cannot be +represented by a u16, then None is returned.
source§

fn to_u32(&self) -> Option<u32>

Converts the value of self to a u32. If the value cannot be +represented by a u32, then None is returned.
source§

fn to_u128(&self) -> Option<u128>

Converts the value of self to a u128. If the value cannot be +represented by a u128 (u64 under the default implementation), then +None is returned. Read more
source§

fn to_f32(&self) -> Option<f32>

Converts the value of self to an f32. Overflows may map to positive +or negative inifinity, otherwise None is returned if the value cannot +be represented by an f32.
source§

fn to_f64(&self) -> Option<f64>

Converts the value of self to an f64. Overflows may map to positive +or negative inifinity, otherwise None is returned if the value cannot +be represented by an f64. Read more
source§

impl TryFrom<i16> for RoomKind

source§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_from(value: i16) -> Result<Self, <Self as TryFrom<i16>>::Error>

Performs the conversion.
source§

impl TryFrom<i32> for RoomKind

source§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_from(value: i32) -> Result<Self, <Self as TryFrom<i32>>::Error>

Performs the conversion.
source§

impl TryFrom<i64> for RoomKind

source§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_from(value: i64) -> Result<Self, <Self as TryFrom<i64>>::Error>

Performs the conversion.
source§

impl TryFrom<i8> for RoomKind

source§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_from(value: i8) -> Result<Self, <Self as TryFrom<i8>>::Error>

Performs the conversion.
source§

impl TryFrom<u16> for RoomKind

source§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_from(value: u16) -> Result<Self, <Self as TryFrom<u16>>::Error>

Performs the conversion.
source§

impl TryFrom<u32> for RoomKind

source§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_from(value: u32) -> Result<Self, <Self as TryFrom<u32>>::Error>

Performs the conversion.
source§

impl TryFrom<u64> for RoomKind

source§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_from(value: u64) -> Result<Self, <Self as TryFrom<u64>>::Error>

Performs the conversion.
source§

impl TryFrom<u8> for RoomKind

source§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_from(value: u8) -> Result<Self, <Self as TryFrom<u8>>::Error>

Performs the conversion.
source§

impl Copy for RoomKind

source§

impl Eq for RoomKind

source§

impl StructuralPartialEq for RoomKind

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where + T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T> ToOwned for T
where + T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/room/enum.RoomKindResolver.html b/client_sdk/models/room/enum.RoomKindResolver.html new file mode 100644 index 000000000..c4662cbbb --- /dev/null +++ b/client_sdk/models/room/enum.RoomKindResolver.html @@ -0,0 +1,32 @@ +RoomKindResolver in client_sdk::models::room - Rust

Enum client_sdk::models::room::RoomKindResolver

source ·
pub enum RoomKindResolver {
+    Text,
+    DirectMessage,
+    GroupMessage,
+    Voice,
+    UserForum,
+}
Expand description

The resolver for an archived RoomKind

+

Variants§

§

Text

The resolver for RoomKind::Text

+
§

DirectMessage

The resolver for RoomKind::DirectMessage

+
§

GroupMessage

The resolver for RoomKind::GroupMessage

+
§

Voice

The resolver for RoomKind::Voice

+
§

UserForum

The resolver for RoomKind::UserForum

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/room/index.html b/client_sdk/models/room/index.html new file mode 100644 index 000000000..b0500ed93 --- /dev/null +++ b/client_sdk/models/room/index.html @@ -0,0 +1,2 @@ +client_sdk::models::room - Rust

Module client_sdk::models::room

source ·

Structs§

Enums§

\ No newline at end of file diff --git a/client_sdk/models/room/sidebar-items.js b/client_sdk/models/room/sidebar-items.js new file mode 100644 index 000000000..b4859a967 --- /dev/null +++ b/client_sdk/models/room/sidebar-items.js @@ -0,0 +1 @@ +window.SIDEBAR_ITEMS = {"enum":["ArchivedRoomKind","RoomKind","RoomKindResolver"],"struct":["ArchivedFullRoom","ArchivedRoom","ArchivedRoomFlags","FullRoom","FullRoomResolver","Room","RoomFlags","RoomResolver"]}; \ No newline at end of file diff --git a/client_sdk/models/room/struct.ArchivedFullRoom.html b/client_sdk/models/room/struct.ArchivedFullRoom.html new file mode 100644 index 000000000..16e7da637 --- /dev/null +++ b/client_sdk/models/room/struct.ArchivedFullRoom.html @@ -0,0 +1,39 @@ +ArchivedFullRoom in client_sdk::models::room - Rust

Struct client_sdk::models::room::ArchivedFullRoom

source ·
#[repr(C)]
pub struct ArchivedFullRoom
where + Room: Archive, + Permissions: Archive,
{ + pub room: <Room as Archive>::Archived, + pub perms: <Permissions as Archive>::Archived, +}
Expand description

An archived FullRoom

+

Fields§

§room: <Room as Archive>::Archived§perms: <Permissions as Archive>::Archived

Trait Implementations§

source§

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedFullRoom
where + Room: Archive, + Permissions: Archive, + <__C as Fallible>::Error: Trace, + <Room as Archive>::Archived: CheckBytes<__C>, + <Permissions as Archive>::Archived: CheckBytes<__C>,

source§

unsafe fn check_bytes( + value: *const Self, + context: &mut __C, +) -> Result<(), <__C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Portable for ArchivedFullRoom
where + Room: Archive, + Permissions: Archive, + <Room as Archive>::Archived: Portable, + <Permissions as Archive>::Archived: Portable,

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/room/struct.ArchivedRoom.html b/client_sdk/models/room/struct.ArchivedRoom.html new file mode 100644 index 000000000..02b87479c --- /dev/null +++ b/client_sdk/models/room/struct.ArchivedRoom.html @@ -0,0 +1,87 @@ +ArchivedRoom in client_sdk::models::room - Rust

Struct client_sdk::models::room::ArchivedRoom

source ·
#[repr(C)]
pub struct ArchivedRoom
where + RoomId: Archive, + RoomFlags: Archive, + PartyId: Archive, + Option<EncryptedSnowflake>: Archive, + SmolStr: Archive, + Option<SmolStr>: Archive, + i16: Archive, + Niche: ArchiveWith<Option<NonZeroU32>>, + NicheSnowflake: ArchiveWith<Option<RoomId>>, + ThinVec<Overwrite>: Archive,
{ + pub id: <RoomId as Archive>::Archived, + pub flags: <RoomFlags as Archive>::Archived, + pub party_id: <PartyId as Archive>::Archived, + pub avatar: <Option<EncryptedSnowflake> as Archive>::Archived, + pub name: <SmolStr as Archive>::Archived, + pub topic: <Option<SmolStr> as Archive>::Archived, + pub position: <i16 as Archive>::Archived, + pub rate_limit_per_user: <Niche as ArchiveWith<Option<NonZeroU32>>>::Archived, + pub parent_id: <NicheSnowflake as ArchiveWith<Option<RoomId>>>::Archived, + pub overwrites: <ThinVec<Overwrite> as Archive>::Archived, +}
Expand description

An archived Room

+

Fields§

§id: <RoomId as Archive>::Archived§flags: <RoomFlags as Archive>::Archived§party_id: <PartyId as Archive>::Archived§avatar: <Option<EncryptedSnowflake> as Archive>::Archived§name: <SmolStr as Archive>::Archived§topic: <Option<SmolStr> as Archive>::Archived§position: <i16 as Archive>::Archived§rate_limit_per_user: <Niche as ArchiveWith<Option<NonZeroU32>>>::Archived§parent_id: <NicheSnowflake as ArchiveWith<Option<RoomId>>>::Archived§overwrites: <ThinVec<Overwrite> as Archive>::Archived

Trait Implementations§

source§

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedRoom
where + RoomId: Archive, + RoomFlags: Archive, + PartyId: Archive, + Option<EncryptedSnowflake>: Archive, + SmolStr: Archive, + Option<SmolStr>: Archive, + i16: Archive, + Niche: ArchiveWith<Option<NonZeroU32>>, + NicheSnowflake: ArchiveWith<Option<RoomId>>, + ThinVec<Overwrite>: Archive, + <__C as Fallible>::Error: Trace, + <RoomId as Archive>::Archived: CheckBytes<__C>, + <RoomFlags as Archive>::Archived: CheckBytes<__C>, + <PartyId as Archive>::Archived: CheckBytes<__C>, + <Option<EncryptedSnowflake> as Archive>::Archived: CheckBytes<__C>, + <SmolStr as Archive>::Archived: CheckBytes<__C>, + <Option<SmolStr> as Archive>::Archived: CheckBytes<__C>, + <i16 as Archive>::Archived: CheckBytes<__C>, + <Niche as ArchiveWith<Option<NonZeroU32>>>::Archived: CheckBytes<__C>, + <NicheSnowflake as ArchiveWith<Option<RoomId>>>::Archived: CheckBytes<__C>, + <ThinVec<Overwrite> as Archive>::Archived: CheckBytes<__C>,

source§

unsafe fn check_bytes( + value: *const Self, + context: &mut __C, +) -> Result<(), <__C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Portable for ArchivedRoom
where + RoomId: Archive, + RoomFlags: Archive, + PartyId: Archive, + Option<EncryptedSnowflake>: Archive, + SmolStr: Archive, + Option<SmolStr>: Archive, + i16: Archive, + Niche: ArchiveWith<Option<NonZeroU32>>, + NicheSnowflake: ArchiveWith<Option<RoomId>>, + ThinVec<Overwrite>: Archive, + <RoomId as Archive>::Archived: Portable, + <RoomFlags as Archive>::Archived: Portable, + <PartyId as Archive>::Archived: Portable, + <Option<EncryptedSnowflake> as Archive>::Archived: Portable, + <SmolStr as Archive>::Archived: Portable, + <Option<SmolStr> as Archive>::Archived: Portable, + <i16 as Archive>::Archived: Portable, + <Niche as ArchiveWith<Option<NonZeroU32>>>::Archived: Portable, + <NicheSnowflake as ArchiveWith<Option<RoomId>>>::Archived: Portable, + <ThinVec<Overwrite> as Archive>::Archived: Portable,

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/room/struct.ArchivedRoomFlags.html b/client_sdk/models/room/struct.ArchivedRoomFlags.html new file mode 100644 index 000000000..4fded45b2 --- /dev/null +++ b/client_sdk/models/room/struct.ArchivedRoomFlags.html @@ -0,0 +1,71 @@ +ArchivedRoomFlags in client_sdk::models::room - Rust

Struct client_sdk::models::room::ArchivedRoomFlags

source ·
#[repr(transparent)]
pub struct ArchivedRoomFlags(pub Archived<i16>);
Expand description

Archived version of RoomFlags, automatically made endian-agnostic. +When comparing with the native bitflags, the archived bitflags will truncate any extra bits.

+

Tuple Fields§

§0: Archived<i16>

Implementations§

source§

impl ArchivedRoomFlags

source

pub const fn to_native(&self) -> Option<RoomFlags>

Converts this archived bitflags to the native bitflags type, returning None if any +bits are set that are not part of the bitflags.

+

See RoomFlags::from_bits for more information.

+
source

pub const fn to_native_truncate(&self) -> RoomFlags

Converts this archived bitflags to the native bitflags type, truncating any extra bits.

+

See RoomFlags::from_bits_truncate for more information.

+
source

pub const fn to_native_retain(&self) -> RoomFlags

Converts this archived bitflags to the native bitflags type, retaining all bits, even +if they are not part of the bitflags.

+

See RoomFlags::from_bits_retain for more information.

+
source

pub const fn from_native(native: RoomFlags) -> Self

Converts the native bitflags type to an archived bitflags.

+
source

pub const fn contains(&self, other: RoomFlags) -> bool

Check if the archived bitflags contains all the given bitflags.

+

See RoomFlags::contains for more information.

+
source

pub const fn intersects(&self, other: RoomFlags) -> bool

Check if the archived bitflags intersect with any of the given bitflags.

+

See RoomFlags::intersects for more information.

+
source

pub const fn is_empty(&self) -> bool

Whether all bits in this flags value are unset.

+
source

pub const fn is_all(&self) -> bool

Whether all known bits in this flags value are set.

+
source

pub const fn bits(&self) -> i16

Get the underlying raw bits value.

+

Note that this may contain bits that are not part of the original bitflags, +if serialized with a different version of the bitflags. Use to_native or +to_native_truncate to convert to the native bitflags type +without extra bits.

+

Trait Implementations§

source§

impl<C> CheckBytes<C> for ArchivedRoomFlags
where + C: Fallible + ?Sized, + <C as Fallible>::Error: Source,

source§

unsafe fn check_bytes( + value: *const Self, + ctx: &mut C, +) -> Result<(), <C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Clone for ArchivedRoomFlags

source§

fn clone(&self) -> ArchivedRoomFlags

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ArchivedRoomFlags

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<D: Fallible + ?Sized> Deserialize<RoomFlags, D> for ArchivedRoomFlags

source§

fn deserialize(&self, _: &mut D) -> Result<RoomFlags, D::Error>

Deserializes using the given deserializer
source§

impl From<ArchivedRoomFlags> for RoomFlags

source§

fn from(archived: ArchivedRoomFlags) -> Self

Converts to this type from the input type.
source§

impl PartialEq<ArchivedRoomFlags> for RoomFlags

source§

fn eq(&self, other: &ArchivedRoomFlags) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl PartialEq<RoomFlags> for ArchivedRoomFlags

source§

fn eq(&self, other: &RoomFlags) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl PartialEq for ArchivedRoomFlags

source§

fn eq(&self, other: &ArchivedRoomFlags) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl ToSql for ArchivedRoomFlags

source§

fn to_sql( + &self, + ty: &Type, + out: &mut BytesMut, +) -> Result<IsNull, Box<dyn Error + Sync + Send>>
where + Self: Sized,

Converts the value of self into the binary format of the specified +Postgres Type, appending it to out. Read more
source§

fn accepts(ty: &Type) -> bool

Determines if a value of this type can be converted to the specified +Postgres Type.
source§

fn to_sql_checked( + &self, + ty: &Type, + out: &mut BytesMut, +) -> Result<IsNull, Box<dyn Error + Sync + Send>>

An adaptor method used internally by Rust-Postgres. Read more
§

fn encode_format(&self, _ty: &Type) -> Format

Specify the encode format
source§

impl Copy for ArchivedRoomFlags

source§

impl Eq for ArchivedRoomFlags

source§

impl NoUndef for ArchivedRoomFlags

source§

impl Portable for ArchivedRoomFlags

source§

impl StructuralPartialEq for ArchivedRoomFlags

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> BorrowToSql for T
where + T: ToSql,

§

fn borrow_to_sql(&self) -> &dyn ToSql

Returns a reference to self as a ToSql trait object.
source§

impl<T> CloneToUninit for T
where + T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where + T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/room/struct.FullRoom.html b/client_sdk/models/room/struct.FullRoom.html new file mode 100644 index 000000000..485076ff8 --- /dev/null +++ b/client_sdk/models/room/struct.FullRoom.html @@ -0,0 +1,58 @@ +FullRoom in client_sdk::models::room - Rust

Struct client_sdk::models::room::FullRoom

source ·
pub struct FullRoom {
+    pub room: Room,
+    pub perms: Permissions,
+}

Fields§

§room: Room§perms: Permissions

Trait Implementations§

source§

impl Archive for FullRoom
where + Room: Archive, + Permissions: Archive,

source§

type Archived = ArchivedFullRoom

The archived representation of this type. Read more
source§

type Resolver = FullRoomResolver

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
source§

impl Clone for FullRoom

source§

fn clone(&self) -> FullRoom

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for FullRoom

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for FullRoom

source§

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<__D: Fallible + ?Sized> Deserialize<FullRoom, __D> for Archived<FullRoom>
where + Room: Archive, + <Room as Archive>::Archived: Deserialize<Room, __D>, + Permissions: Archive, + <Permissions as Archive>::Archived: Deserialize<Permissions, __D>,

source§

fn deserialize( + &self, + deserializer: &mut __D, +) -> Result<FullRoom, <__D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<__S: Fallible + ?Sized> Serialize<__S> for FullRoom
where + Room: Serialize<__S>, + Permissions: Serialize<__S>,

source§

fn serialize( + &self, + serializer: &mut __S, +) -> Result<<Self as Archive>::Resolver, <__S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.
source§

impl Serialize for FullRoom

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where + T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T> ToOwned for T
where + T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
source§

impl<T> CommandBody for T
where + T: Send + Serialize + Archive,

source§

impl<T> CommandResult for T
where + T: Send + DeserializeOwned + Serialize + Archive,

source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/room/struct.FullRoomResolver.html b/client_sdk/models/room/struct.FullRoomResolver.html new file mode 100644 index 000000000..7a5c1feb6 --- /dev/null +++ b/client_sdk/models/room/struct.FullRoomResolver.html @@ -0,0 +1,23 @@ +FullRoomResolver in client_sdk::models::room - Rust

Struct client_sdk::models::room::FullRoomResolver

source ·
pub struct FullRoomResolver
where + Room: Archive, + Permissions: Archive,
{ /* private fields */ }
Expand description

The resolver for an archived FullRoom

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/room/struct.Room.html b/client_sdk/models/room/struct.Room.html new file mode 100644 index 000000000..02a889ca7 --- /dev/null +++ b/client_sdk/models/room/struct.Room.html @@ -0,0 +1,100 @@ +Room in client_sdk::models::room - Rust

Struct client_sdk::models::room::Room

source ·
pub struct Room {
+    pub id: RoomId,
+    pub flags: RoomFlags,
+    pub party_id: PartyId,
+    pub avatar: Option<EncryptedSnowflake>,
+    pub name: SmolStr,
+    pub topic: Option<SmolStr>,
+    pub position: i16,
+    pub rate_limit_per_user: Option<NonZeroU32>,
+    pub parent_id: Option<RoomId>,
+    pub overwrites: ThinVec<Overwrite>,
+}

Fields§

§id: RoomId§flags: RoomFlags§party_id: PartyId§avatar: Option<EncryptedSnowflake>§name: SmolStr§topic: Option<SmolStr>§position: i16

Sort order

+
§rate_limit_per_user: Option<NonZeroU32>

Slow-mode rate limit, in seconds

+
§parent_id: Option<RoomId>

Parent room ID for categories

+
§overwrites: ThinVec<Overwrite>

Permission overwrites for this room

+

Trait Implementations§

source§

impl Archive for Room
where + RoomId: Archive, + RoomFlags: Archive, + PartyId: Archive, + Option<EncryptedSnowflake>: Archive, + SmolStr: Archive, + Option<SmolStr>: Archive, + i16: Archive, + Niche: ArchiveWith<Option<NonZeroU32>>, + NicheSnowflake: ArchiveWith<Option<RoomId>>, + ThinVec<Overwrite>: Archive,

source§

type Archived = ArchivedRoom

The archived representation of this type. Read more
source§

type Resolver = RoomResolver

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

impl Clone for Room

source§

fn clone(&self) -> Room

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Room

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for Room

source§

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<__D: Fallible + ?Sized> Deserialize<Room, __D> for Archived<Room>
where + RoomId: Archive, + <RoomId as Archive>::Archived: Deserialize<RoomId, __D>, + RoomFlags: Archive, + <RoomFlags as Archive>::Archived: Deserialize<RoomFlags, __D>, + PartyId: Archive, + <PartyId as Archive>::Archived: Deserialize<PartyId, __D>, + Option<EncryptedSnowflake>: Archive, + <Option<EncryptedSnowflake> as Archive>::Archived: Deserialize<Option<EncryptedSnowflake>, __D>, + SmolStr: Archive, + <SmolStr as Archive>::Archived: Deserialize<SmolStr, __D>, + Option<SmolStr>: Archive, + <Option<SmolStr> as Archive>::Archived: Deserialize<Option<SmolStr>, __D>, + i16: Archive, + <i16 as Archive>::Archived: Deserialize<i16, __D>, + Niche: ArchiveWith<Option<NonZeroU32>> + DeserializeWith<<Niche as ArchiveWith<Option<NonZeroU32>>>::Archived, Option<NonZeroU32>, __D>, + NicheSnowflake: ArchiveWith<Option<RoomId>> + DeserializeWith<<NicheSnowflake as ArchiveWith<Option<RoomId>>>::Archived, Option<RoomId>, __D>, + ThinVec<Overwrite>: Archive, + <ThinVec<Overwrite> as Archive>::Archived: Deserialize<ThinVec<Overwrite>, __D>,

source§

fn deserialize( + &self, + deserializer: &mut __D, +) -> Result<Room, <__D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<__S: Fallible + ?Sized> Serialize<__S> for Room
where + RoomId: Serialize<__S>, + RoomFlags: Serialize<__S>, + PartyId: Serialize<__S>, + Option<EncryptedSnowflake>: Serialize<__S>, + SmolStr: Serialize<__S>, + Option<SmolStr>: Serialize<__S>, + i16: Serialize<__S>, + Niche: SerializeWith<Option<NonZeroU32>, __S>, + NicheSnowflake: SerializeWith<Option<RoomId>, __S>, + ThinVec<Overwrite>: Serialize<__S>,

source§

fn serialize( + &self, + serializer: &mut __S, +) -> Result<<Self as Archive>::Resolver, <__S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.
source§

impl Serialize for Room

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

§

impl Freeze for Room

§

impl RefUnwindSafe for Room

§

impl Send for Room

§

impl Sync for Room

§

impl Unpin for Room

§

impl UnwindSafe for Room

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where + T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T> ToOwned for T
where + T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
source§

impl<T> CommandBody for T
where + T: Send + Serialize + Archive,

source§

impl<T> CommandResult for T
where + T: Send + DeserializeOwned + Serialize + Archive,

source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/room/struct.RoomFlags.html b/client_sdk/models/room/struct.RoomFlags.html new file mode 100644 index 000000000..93acc4bbb --- /dev/null +++ b/client_sdk/models/room/struct.RoomFlags.html @@ -0,0 +1,129 @@ +RoomFlags in client_sdk::models::room - Rust

Struct client_sdk::models::room::RoomFlags

source ·
pub struct RoomFlags(/* private fields */);

Implementations§

source§

impl RoomFlags

source

pub const KIND: Self = _

source

pub const NSFW: Self = _

source

pub const DEFAULT: Self = _

source§

impl RoomFlags

source

pub const fn empty() -> Self

Get a flags value with all bits unset.

+
source

pub const fn all() -> Self

Get a flags value with all known bits set.

+
source

pub const fn bits(&self) -> i16

Get the underlying bits value.

+

The returned value is exactly the bits set in this flags value.

+
source

pub const fn from_bits(bits: i16) -> Option<Self>

Convert from a bits value.

+

This method will return None if any unknown bits are set.

+
source

pub const fn from_bits_truncate(bits: i16) -> Self

Convert from a bits value, unsetting any unknown bits.

+
source

pub const fn from_bits_retain(bits: i16) -> Self

Convert from a bits value exactly.

+
source

pub fn from_name(name: &str) -> Option<Self>

Get a flags value with the bits of a flag with the given name set.

+

This method will return None if name is empty or doesn’t +correspond to any named flag.

+
source

pub const fn is_empty(&self) -> bool

Whether all bits in this flags value are unset.

+
source

pub const fn is_all(&self) -> bool

Whether all known bits in this flags value are set.

+
source

pub const fn intersects(&self, other: Self) -> bool

Whether any set bits in a source flags value are also set in a target flags value.

+
source

pub const fn contains(&self, other: Self) -> bool

Whether all set bits in a source flags value are also set in a target flags value.

+
source

pub fn insert(&mut self, other: Self)

The bitwise or (|) of the bits in two flags values.

+
source

pub fn remove(&mut self, other: Self)

The intersection of a source flags value with the complement of a target flags value (&!).

+

This method is not equivalent to self & !other when other has unknown bits set. +remove won’t truncate other, but the ! operator will.

+
source

pub fn toggle(&mut self, other: Self)

The bitwise exclusive-or (^) of the bits in two flags values.

+
source

pub fn set(&mut self, other: Self, value: bool)

Call insert when value is true or remove when value is false.

+
source

pub const fn intersection(self, other: Self) -> Self

The bitwise and (&) of the bits in two flags values.

+
source

pub const fn union(self, other: Self) -> Self

The bitwise or (|) of the bits in two flags values.

+
source

pub const fn difference(self, other: Self) -> Self

The intersection of a source flags value with the complement of a target flags value (&!).

+

This method is not equivalent to self & !other when other has unknown bits set. +difference won’t truncate other, but the ! operator will.

+
source

pub const fn symmetric_difference(self, other: Self) -> Self

The bitwise exclusive-or (^) of the bits in two flags values.

+
source

pub const fn complement(self) -> Self

The bitwise negation (!) of the bits in a flags value, truncating the result.

+
source§

impl RoomFlags

source

pub const fn iter(&self) -> Iter<RoomFlags>

Yield a set of contained flags values.

+

Each yielded flags value will correspond to a defined named flag. Any unknown bits +will be yielded together as a final flags value.

+
source

pub const fn iter_names(&self) -> IterNames<RoomFlags>

Yield a set of contained named flags values.

+

This method is like iter, except only yields bits in contained named flags. +Any unknown bits, or bits not corresponding to a contained flag will not be yielded.

+
source§

impl RoomFlags

source

pub fn kind(self) -> RoomKind

Trait Implementations§

source§

impl Archive for RoomFlags

source§

type Archived = ArchivedRoomFlags

The archived representation of this type. Read more
source§

type Resolver = ()

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

fn resolve(&self, _: (), out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
source§

impl Binary for RoomFlags

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl BitAnd for RoomFlags

source§

fn bitand(self, other: Self) -> Self

The bitwise and (&) of the bits in two flags values.

+
source§

type Output = RoomFlags

The resulting type after applying the & operator.
source§

impl BitAndAssign for RoomFlags

source§

fn bitand_assign(&mut self, other: Self)

The bitwise and (&) of the bits in two flags values.

+
source§

impl BitOr for RoomFlags

source§

fn bitor(self, other: RoomFlags) -> Self

The bitwise or (|) of the bits in two flags values.

+
source§

type Output = RoomFlags

The resulting type after applying the | operator.
source§

impl BitOrAssign for RoomFlags

source§

fn bitor_assign(&mut self, other: Self)

The bitwise or (|) of the bits in two flags values.

+
source§

impl BitXor for RoomFlags

source§

fn bitxor(self, other: Self) -> Self

The bitwise exclusive-or (^) of the bits in two flags values.

+
source§

type Output = RoomFlags

The resulting type after applying the ^ operator.
source§

impl BitXorAssign for RoomFlags

source§

fn bitxor_assign(&mut self, other: Self)

The bitwise exclusive-or (^) of the bits in two flags values.

+
source§

impl Clone for RoomFlags

source§

fn clone(&self) -> RoomFlags

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for RoomFlags

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for RoomFlags

source§

fn deserialize<D>(deserializer: D) -> Result<RoomFlags, D::Error>
where + D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl<D: Fallible + ?Sized> Deserialize<RoomFlags, D> for ArchivedRoomFlags

source§

fn deserialize(&self, _: &mut D) -> Result<RoomFlags, D::Error>

Deserializes using the given deserializer
source§

impl Extend<RoomFlags> for RoomFlags

source§

fn extend<T: IntoIterator<Item = Self>>(&mut self, iterator: T)

The bitwise or (|) of the bits in each flags value.

+
source§

fn extend_one(&mut self, item: A)

🔬This is a nightly-only experimental API. (extend_one)
Extends a collection with exactly one element.
source§

fn extend_reserve(&mut self, additional: usize)

🔬This is a nightly-only experimental API. (extend_one)
Reserves capacity in a collection for the given number of additional elements. Read more
source§

impl Flags for RoomFlags

source§

const FLAGS: &'static [Flag<RoomFlags>] = _

The set of defined flags.
source§

type Bits = i16

The underlying bits type.
source§

fn bits(&self) -> i16

Get the underlying bits value. Read more
source§

fn from_bits_retain(bits: i16) -> RoomFlags

Convert from a bits value exactly.
§

fn empty() -> Self

Get a flags value with all bits unset.
§

fn all() -> Self

Get a flags value with all known bits set.
§

fn from_bits(bits: Self::Bits) -> Option<Self>

Convert from a bits value. Read more
§

fn from_bits_truncate(bits: Self::Bits) -> Self

Convert from a bits value, unsetting any unknown bits.
§

fn from_name(name: &str) -> Option<Self>

Get a flags value with the bits of a flag with the given name set. Read more
§

fn iter(&self) -> Iter<Self>

Yield a set of contained flags values. Read more
§

fn iter_names(&self) -> IterNames<Self>

Yield a set of contained named flags values. Read more
§

fn is_empty(&self) -> bool

Whether all bits in this flags value are unset.
§

fn is_all(&self) -> bool

Whether all known bits in this flags value are set.
§

fn intersects(&self, other: Self) -> bool
where + Self: Sized,

Whether any set bits in a source flags value are also set in a target flags value.
§

fn contains(&self, other: Self) -> bool
where + Self: Sized,

Whether all set bits in a source flags value are also set in a target flags value.
§

fn insert(&mut self, other: Self)
where + Self: Sized,

The bitwise or (|) of the bits in two flags values.
§

fn remove(&mut self, other: Self)
where + Self: Sized,

The intersection of a source flags value with the complement of a target flags value (&!). Read more
§

fn toggle(&mut self, other: Self)
where + Self: Sized,

The bitwise exclusive-or (^) of the bits in two flags values.
§

fn set(&mut self, other: Self, value: bool)
where + Self: Sized,

Call [Flags::insert] when value is true or [Flags::remove] when value is false.
§

fn intersection(self, other: Self) -> Self

The bitwise and (&) of the bits in two flags values.
§

fn union(self, other: Self) -> Self

The bitwise or (|) of the bits in two flags values.
§

fn difference(self, other: Self) -> Self

The intersection of a source flags value with the complement of a target flags value (&!). Read more
§

fn symmetric_difference(self, other: Self) -> Self

The bitwise exclusive-or (^) of the bits in two flags values.
§

fn complement(self) -> Self

The bitwise negation (!) of the bits in a flags value, truncating the result.
source§

impl From<ArchivedRoomFlags> for RoomFlags

source§

fn from(archived: ArchivedRoomFlags) -> Self

Converts to this type from the input type.
source§

impl From<RoomKind> for RoomFlags

source§

fn from(value: RoomKind) -> Self

Converts to this type from the input type.
source§

impl FromIterator<RoomFlags> for RoomFlags

source§

fn from_iter<T: IntoIterator<Item = Self>>(iterator: T) -> Self

The bitwise or (|) of the bits in each flags value.

+
source§

impl<'a> FromSql<'a> for RoomFlags

source§

fn from_sql( + ty: &Type, + raw: &'a [u8], +) -> Result<Self, Box<dyn Error + Sync + Send>>

Creates a new value of this type from a buffer of data of the specified +Postgres Type in its binary format. Read more
source§

fn accepts(ty: &Type) -> bool

Determines if a value of this type can be created from the specified +Postgres Type.
§

fn from_sql_null(ty: &Type) -> Result<Self, Box<dyn Error + Sync + Send>>

Creates a new value of this type from a NULL SQL value. Read more
§

fn from_sql_nullable( + ty: &Type, + raw: Option<&'a [u8]>, +) -> Result<Self, Box<dyn Error + Sync + Send>>

A convenience function that delegates to from_sql and from_sql_null depending on the +value of raw.
source§

impl FromSql for RoomFlags

source§

fn column_result(value: ValueRef<'_>) -> FromSqlResult<Self>

Converts SQLite value into Rust value.
source§

impl Hash for RoomFlags

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where + H: Hasher, + Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl IntoIterator for RoomFlags

source§

type Item = RoomFlags

The type of the elements being iterated over.
source§

type IntoIter = Iter<RoomFlags>

Which kind of iterator are we turning this into?
source§

fn into_iter(self) -> Self::IntoIter

Creates an iterator from a value. Read more
source§

impl LowerHex for RoomFlags

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Not for RoomFlags

source§

fn not(self) -> Self

The bitwise negation (!) of the bits in a flags value, truncating the result.

+
source§

type Output = RoomFlags

The resulting type after applying the ! operator.
source§

impl Octal for RoomFlags

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl PartialEq<ArchivedRoomFlags> for RoomFlags

source§

fn eq(&self, other: &ArchivedRoomFlags) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl PartialEq<RoomFlags> for ArchivedRoomFlags

source§

fn eq(&self, other: &RoomFlags) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl PartialEq for RoomFlags

source§

fn eq(&self, other: &RoomFlags) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl PublicFlags for RoomFlags

source§

type Primitive = i16

The type of the underlying storage.
source§

type Internal = InternalBitFlags

The type of the internal field on the generated flags type.
source§

impl<S: Fallible + ?Sized> Serialize<S> for RoomFlags

source§

fn serialize(&self, _: &mut S) -> Result<(), S::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.
source§

impl Serialize for RoomFlags

source§

fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
where + S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Sub for RoomFlags

source§

fn sub(self, other: Self) -> Self

The intersection of a source flags value with the complement of a target flags value (&!).

+

This method is not equivalent to self & !other when other has unknown bits set. +difference won’t truncate other, but the ! operator will.

+
source§

type Output = RoomFlags

The resulting type after applying the - operator.
source§

impl SubAssign for RoomFlags

source§

fn sub_assign(&mut self, other: Self)

The intersection of a source flags value with the complement of a target flags value (&!).

+

This method is not equivalent to self & !other when other has unknown bits set. +difference won’t truncate other, but the ! operator will.

+
source§

impl ToSql for RoomFlags

source§

fn to_sql(&self) -> Result<ToSqlOutput<'_>>

Converts Rust value to SQLite value
source§

impl ToSql for RoomFlags

source§

fn to_sql( + &self, + ty: &Type, + out: &mut BytesMut, +) -> Result<IsNull, Box<dyn Error + Sync + Send>>
where + Self: Sized,

Converts the value of self into the binary format of the specified +Postgres Type, appending it to out. Read more
source§

fn accepts(ty: &Type) -> bool

Determines if a value of this type can be converted to the specified +Postgres Type.
source§

fn to_sql_checked( + &self, + ty: &Type, + out: &mut BytesMut, +) -> Result<IsNull, Box<dyn Error + Sync + Send>>

An adaptor method used internally by Rust-Postgres. Read more
§

fn encode_format(&self, _ty: &Type) -> Format

Specify the encode format
source§

impl UpperHex for RoomFlags

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Copy for RoomFlags

source§

impl Eq for RoomFlags

source§

impl StructuralPartialEq for RoomFlags

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> BorrowToSql for T
where + T: ToSql,

§

fn borrow_to_sql(&self) -> &dyn ToSql

Returns a reference to self as a ToSql trait object.
source§

impl<T> CloneToUninit for T
where + T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T> ToOwned for T
where + T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
source§

impl<T> CommandBody for T
where + T: Send + Serialize + Archive,

source§

impl<T> CommandResult for T
where + T: Send + DeserializeOwned + Serialize + Archive,

source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> FromSqlOwned for T
where + T: for<'a> FromSql<'a>,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/room/struct.RoomResolver.html b/client_sdk/models/room/struct.RoomResolver.html new file mode 100644 index 000000000..8caaef63a --- /dev/null +++ b/client_sdk/models/room/struct.RoomResolver.html @@ -0,0 +1,31 @@ +RoomResolver in client_sdk::models::room - Rust

Struct client_sdk::models::room::RoomResolver

source ·
pub struct RoomResolver
where + RoomId: Archive, + RoomFlags: Archive, + PartyId: Archive, + Option<EncryptedSnowflake>: Archive, + SmolStr: Archive, + Option<SmolStr>: Archive, + i16: Archive, + Niche: ArchiveWith<Option<NonZeroU32>>, + NicheSnowflake: ArchiveWith<Option<RoomId>>, + ThinVec<Overwrite>: Archive,
{ /* private fields */ }
Expand description

The resolver for an archived Room

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/session/index.html b/client_sdk/models/session/index.html new file mode 100644 index 000000000..4fe0e12dd --- /dev/null +++ b/client_sdk/models/session/index.html @@ -0,0 +1 @@ +client_sdk::models::session - Rust

Module client_sdk::models::session

source ·

Structs§

\ No newline at end of file diff --git a/client_sdk/models/session/sidebar-items.js b/client_sdk/models/session/sidebar-items.js new file mode 100644 index 000000000..12eabe221 --- /dev/null +++ b/client_sdk/models/session/sidebar-items.js @@ -0,0 +1 @@ +window.SIDEBAR_ITEMS = {"struct":["AnonymousSession","AnonymousSessionResolver","ArchivedAnonymousSession","ArchivedSession","Session","SessionResolver"]}; \ No newline at end of file diff --git a/client_sdk/models/session/struct.AnonymousSession.html b/client_sdk/models/session/struct.AnonymousSession.html new file mode 100644 index 000000000..dec647163 --- /dev/null +++ b/client_sdk/models/session/struct.AnonymousSession.html @@ -0,0 +1,54 @@ +AnonymousSession in client_sdk::models::session - Rust

Struct client_sdk::models::session::AnonymousSession

source ·
pub struct AnonymousSession {
+    pub expires: Timestamp,
+}

Fields§

§expires: Timestamp

Expiration timestamp encoded with RFC 3339/ISO 8061

+

Trait Implementations§

source§

impl Archive for AnonymousSession
where + Timestamp: Archive,

source§

type Archived = ArchivedAnonymousSession

The archived representation of this type. Read more
source§

type Resolver = AnonymousSessionResolver

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
source§

impl Clone for AnonymousSession

source§

fn clone(&self) -> AnonymousSession

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for AnonymousSession

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for AnonymousSession

source§

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<__D: Fallible + ?Sized> Deserialize<AnonymousSession, __D> for Archived<AnonymousSession>
where + Timestamp: Archive, + <Timestamp as Archive>::Archived: Deserialize<Timestamp, __D>,

source§

fn deserialize( + &self, + deserializer: &mut __D, +) -> Result<AnonymousSession, <__D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<__S: Fallible + ?Sized> Serialize<__S> for AnonymousSession
where + Timestamp: Serialize<__S>,

source§

fn serialize( + &self, + serializer: &mut __S, +) -> Result<<Self as Archive>::Resolver, <__S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.
source§

impl Serialize for AnonymousSession

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where + T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T> ToOwned for T
where + T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
source§

impl<T> CommandBody for T
where + T: Send + Serialize + Archive,

source§

impl<T> CommandResult for T
where + T: Send + DeserializeOwned + Serialize + Archive,

source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/session/struct.AnonymousSessionResolver.html b/client_sdk/models/session/struct.AnonymousSessionResolver.html new file mode 100644 index 000000000..670547eb2 --- /dev/null +++ b/client_sdk/models/session/struct.AnonymousSessionResolver.html @@ -0,0 +1,22 @@ +AnonymousSessionResolver in client_sdk::models::session - Rust

Struct client_sdk::models::session::AnonymousSessionResolver

source ·
pub struct AnonymousSessionResolver
where + Timestamp: Archive,
{ /* private fields */ }
Expand description

The resolver for an archived AnonymousSession

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/session/struct.ArchivedAnonymousSession.html b/client_sdk/models/session/struct.ArchivedAnonymousSession.html new file mode 100644 index 000000000..7bc4c7f33 --- /dev/null +++ b/client_sdk/models/session/struct.ArchivedAnonymousSession.html @@ -0,0 +1,33 @@ +ArchivedAnonymousSession in client_sdk::models::session - Rust

Struct client_sdk::models::session::ArchivedAnonymousSession

source ·
#[repr(C)]
pub struct ArchivedAnonymousSession
where + Timestamp: Archive,
{ + pub expires: <Timestamp as Archive>::Archived, +}
Expand description

An archived AnonymousSession

+

Fields§

§expires: <Timestamp as Archive>::Archived

Trait Implementations§

source§

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedAnonymousSession
where + Timestamp: Archive, + <__C as Fallible>::Error: Trace, + <Timestamp as Archive>::Archived: CheckBytes<__C>,

source§

unsafe fn check_bytes( + value: *const Self, + context: &mut __C, +) -> Result<(), <__C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Portable for ArchivedAnonymousSession
where + Timestamp: Archive, + <Timestamp as Archive>::Archived: Portable,

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/session/struct.ArchivedSession.html b/client_sdk/models/session/struct.ArchivedSession.html new file mode 100644 index 000000000..78dcfe9ee --- /dev/null +++ b/client_sdk/models/session/struct.ArchivedSession.html @@ -0,0 +1,39 @@ +ArchivedSession in client_sdk::models::session - Rust

Struct client_sdk::models::session::ArchivedSession

source ·
#[repr(C)]
pub struct ArchivedSession
where + AuthToken: Archive, + Timestamp: Archive,
{ + pub auth: <AuthToken as Archive>::Archived, + pub expires: <Timestamp as Archive>::Archived, +}
Expand description

An archived Session

+

Fields§

§auth: <AuthToken as Archive>::Archived§expires: <Timestamp as Archive>::Archived

Trait Implementations§

source§

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedSession
where + AuthToken: Archive, + Timestamp: Archive, + <__C as Fallible>::Error: Trace, + <AuthToken as Archive>::Archived: CheckBytes<__C>, + <Timestamp as Archive>::Archived: CheckBytes<__C>,

source§

unsafe fn check_bytes( + value: *const Self, + context: &mut __C, +) -> Result<(), <__C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Portable for ArchivedSession
where + AuthToken: Archive, + Timestamp: Archive, + <AuthToken as Archive>::Archived: Portable, + <Timestamp as Archive>::Archived: Portable,

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/session/struct.Session.html b/client_sdk/models/session/struct.Session.html new file mode 100644 index 000000000..ae2e1c80a --- /dev/null +++ b/client_sdk/models/session/struct.Session.html @@ -0,0 +1,60 @@ +Session in client_sdk::models::session - Rust

Struct client_sdk::models::session::Session

source ·
pub struct Session {
+    pub auth: AuthToken,
+    pub expires: Timestamp,
+}

Fields§

§auth: AuthToken

Auth token encoded as base-64

+
§expires: Timestamp

Expiration timestamp encoded with RFC 3339

+

Trait Implementations§

source§

impl Archive for Session
where + AuthToken: Archive, + Timestamp: Archive,

source§

type Archived = ArchivedSession

The archived representation of this type. Read more
source§

type Resolver = SessionResolver

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
source§

impl Clone for Session

source§

fn clone(&self) -> Session

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Session

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for Session

source§

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<__D: Fallible + ?Sized> Deserialize<Session, __D> for Archived<Session>
where + AuthToken: Archive, + <AuthToken as Archive>::Archived: Deserialize<AuthToken, __D>, + Timestamp: Archive, + <Timestamp as Archive>::Archived: Deserialize<Timestamp, __D>,

source§

fn deserialize( + &self, + deserializer: &mut __D, +) -> Result<Session, <__D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<__S: Fallible + ?Sized> Serialize<__S> for Session
where + AuthToken: Serialize<__S>, + Timestamp: Serialize<__S>,

source§

fn serialize( + &self, + serializer: &mut __S, +) -> Result<<Self as Archive>::Resolver, <__S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.
source§

impl Serialize for Session

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where + T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T> ToOwned for T
where + T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
source§

impl<T> CommandBody for T
where + T: Send + Serialize + Archive,

source§

impl<T> CommandResult for T
where + T: Send + DeserializeOwned + Serialize + Archive,

source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/session/struct.SessionResolver.html b/client_sdk/models/session/struct.SessionResolver.html new file mode 100644 index 000000000..05969dd16 --- /dev/null +++ b/client_sdk/models/session/struct.SessionResolver.html @@ -0,0 +1,23 @@ +SessionResolver in client_sdk::models::session - Rust

Struct client_sdk::models::session::SessionResolver

source ·
pub struct SessionResolver
where + AuthToken: Archive, + Timestamp: Archive,
{ /* private fields */ }
Expand description

The resolver for an archived Session

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/sf/constant.LANTERN_EPOCH.html b/client_sdk/models/sf/constant.LANTERN_EPOCH.html new file mode 100644 index 000000000..210e480a7 --- /dev/null +++ b/client_sdk/models/sf/constant.LANTERN_EPOCH.html @@ -0,0 +1,2 @@ +LANTERN_EPOCH in client_sdk::models::sf - Rust

Constant client_sdk::models::sf::LANTERN_EPOCH

source ·
pub const LANTERN_EPOCH: u64 = 1550102400000;
Expand description

Arbitrarily chosen starting epoch to offset the clock by

+
\ No newline at end of file diff --git a/client_sdk/models/sf/constant.LANTERN_EPOCH_ODT.html b/client_sdk/models/sf/constant.LANTERN_EPOCH_ODT.html new file mode 100644 index 000000000..bf05d733a --- /dev/null +++ b/client_sdk/models/sf/constant.LANTERN_EPOCH_ODT.html @@ -0,0 +1,2 @@ +LANTERN_EPOCH_ODT in client_sdk::models::sf - Rust

Constant client_sdk::models::sf::LANTERN_EPOCH_ODT

source ·
pub const LANTERN_EPOCH_ODT: OffsetDateTime;
Expand description

The time at which the Lantern epoch started in UTC

+
\ No newline at end of file diff --git a/client_sdk/models/sf/constant.LANTERN_EPOCH_PDT.html b/client_sdk/models/sf/constant.LANTERN_EPOCH_PDT.html new file mode 100644 index 000000000..ff4212d24 --- /dev/null +++ b/client_sdk/models/sf/constant.LANTERN_EPOCH_PDT.html @@ -0,0 +1,2 @@ +LANTERN_EPOCH_PDT in client_sdk::models::sf - Rust

Constant client_sdk::models::sf::LANTERN_EPOCH_PDT

source ·
pub const LANTERN_EPOCH_PDT: PrimitiveDateTime;
Expand description

The time at which the Lantern epoch started in UTC

+
\ No newline at end of file diff --git a/client_sdk/models/sf/index.html b/client_sdk/models/sf/index.html new file mode 100644 index 000000000..798d48b8d --- /dev/null +++ b/client_sdk/models/sf/index.html @@ -0,0 +1,2 @@ +client_sdk::models::sf - Rust

Module client_sdk::models::sf

source ·

Structs§

  • Marker type for Option<Snowflake> to use a niche for None, that is +it uses a zeroed value to represent None.
  • Snowflake Identifier as used in Lantern Chat.

Constants§

\ No newline at end of file diff --git a/client_sdk/models/sf/sidebar-items.js b/client_sdk/models/sf/sidebar-items.js new file mode 100644 index 000000000..4ba22a5dc --- /dev/null +++ b/client_sdk/models/sf/sidebar-items.js @@ -0,0 +1 @@ +window.SIDEBAR_ITEMS = {"constant":["LANTERN_EPOCH","LANTERN_EPOCH_ODT","LANTERN_EPOCH_PDT"],"struct":["NicheSnowflake","Snowflake"]}; \ No newline at end of file diff --git a/client_sdk/models/sf/struct.NicheSnowflake.html b/client_sdk/models/sf/struct.NicheSnowflake.html new file mode 100644 index 000000000..441af11dd --- /dev/null +++ b/client_sdk/models/sf/struct.NicheSnowflake.html @@ -0,0 +1,44 @@ +NicheSnowflake in client_sdk::models::sf - Rust

Struct client_sdk::models::sf::NicheSnowflake

pub struct NicheSnowflake;
Expand description

Marker type for Option<Snowflake> to use a niche for None, that is +it uses a zeroed value to represent None.

+

§Example

+
#[derive(rkyv::Archive, rkyv::Serialize, rkyv::Deserialize)]
+pub struct MyStruct {
+    #[with(snowflake::NicheSnowflake)]
+    id: Option<Snowflake>, // uses a niche for None, saving 8 bytes
+}
+

Trait Implementations§

§

impl ArchiveWith<Option<Snowflake>> for NicheSnowflake

§

type Archived = ArchivedOptionSnowflake

The archived type of Self with F.
§

type Resolver = ()

The resolver of a Self with F.
§

fn resolve_with( + field: &Option<Snowflake>, + _: <NicheSnowflake as ArchiveWith<Option<Snowflake>>>::Resolver, + out: Place<<NicheSnowflake as ArchiveWith<Option<Snowflake>>>::Archived>, +)

Resolves the archived type using a reference to the field type F.
§

impl<D> DeserializeWith<ArchivedOptionSnowflake, Option<ArchivedSnowflake>, D> for NicheSnowflake
where + D: Fallible + ?Sized,

§

fn deserialize_with( + field: &ArchivedOptionSnowflake, + _deserializer: &mut D, +) -> Result<Option<ArchivedSnowflake>, <D as Fallible>::Error>

Deserializes the field type F using the given deserializer.
§

impl<D> DeserializeWith<ArchivedOptionSnowflake, Option<Snowflake>, D> for NicheSnowflake
where + D: Fallible + ?Sized,

§

fn deserialize_with( + field: &ArchivedOptionSnowflake, + _deserializer: &mut D, +) -> Result<Option<Snowflake>, <D as Fallible>::Error>

Deserializes the field type F using the given deserializer.
§

impl<S> SerializeWith<Option<Snowflake>, S> for NicheSnowflake
where + S: Fallible + ?Sized,

§

fn serialize_with( + _: &Option<Snowflake>, + _: &mut S, +) -> Result<<NicheSnowflake as ArchiveWith<Option<Snowflake>>>::Resolver, <S as Fallible>::Error>

Serializes the field type F using the given serializer.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/sf/struct.Snowflake.html b/client_sdk/models/sf/struct.Snowflake.html new file mode 100644 index 000000000..2d7c6ee3d --- /dev/null +++ b/client_sdk/models/sf/struct.Snowflake.html @@ -0,0 +1,113 @@ +Snowflake in client_sdk::models::sf - Rust

Struct client_sdk::models::sf::Snowflake

#[repr(transparent)]
pub struct Snowflake(pub NonZero<u64>);
Expand description

Snowflake Identifier as used in Lantern Chat.

+

Tuple Fields§

§0: NonZero<u64>

Implementations§

§

impl Snowflake

pub const unsafe fn from_u64_unchecked(value: u64) -> Snowflake

Create a new Snowflake from the given 64-bit unsigned integer without checking +whether the value is non-zero. This results in undefined behaviour if the value is zero.

+
§Safety
+

The value must not be zero.

+

pub const fn null() -> Snowflake

Generate the simplest valid Snowflake, the value 1.

+

pub const fn raw_timestamp(&self) -> u64

Returns the timestamp bits of the Snowflake.

+

pub const fn id(&self) -> u16

Returns the ID bits of the Snowflake, which typically represents +the originating system the Snowflake was generated on.

+

pub const fn incr(&self) -> u16

Returns the increment bits of the Snowflake.

+

pub const fn to_u64(self) -> u64

Returns the Snowflake as a 64-bit unsigned integer.

+

pub const fn to_i64(self) -> i64

Returns the Snowflake as a 64-bit signed integer.

+

pub const fn max_safe_value() -> Snowflake

Snowflake set to the max Signed 64-bit value, what PostgreSQL uses for bigint

+
§

impl Snowflake

pub const fn from_unix_ms(epoch: u64, ms: u64) -> Option<Snowflake>

Create a valid Snowflake from the given unix timestamp in milliseconds.

+

This sets the ID to 0 and the increment to 1.

+

This can be used as a sentinel value for database queries.

+

Trait Implementations§

§

impl Archive for Snowflake

§

type Archived = ArchivedSnowflake

The archived representation of this type. Read more
§

type Resolver = ()

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
§

const COPY_OPTIMIZATION: CopyOptimization<Snowflake> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
§

fn resolve( + &self, + _: <Snowflake as Archive>::Resolver, + out: Place<<Snowflake as Archive>::Archived>, +)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
§

impl Clone for Snowflake

§

fn clone(&self) -> Snowflake

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for Snowflake

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl<'de> Deserialize<'de> for Snowflake

§

fn deserialize<D>( + deserializer: D, +) -> Result<Snowflake, <D as Deserializer<'de>>::Error>
where + D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
§

impl Display for Snowflake

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl From<ArchivedSnowflake> for Snowflake

§

fn from(sf: ArchivedSnowflake) -> Snowflake

Converts to this type from the input type.
§

impl<'a> FromSql<'a> for Snowflake

§

fn from_sql( + ty: &Type, + raw: &'a [u8], +) -> Result<Snowflake, Box<dyn Error + Sync + Send>>

Creates a new value of this type from a buffer of data of the specified +Postgres Type in its binary format. Read more
§

fn accepts(ty: &Type) -> bool

Determines if a value of this type can be created from the specified +Postgres Type.
§

fn from_sql_null(ty: &Type) -> Result<Self, Box<dyn Error + Sync + Send>>

Creates a new value of this type from a NULL SQL value. Read more
§

fn from_sql_nullable( + ty: &Type, + raw: Option<&'a [u8]>, +) -> Result<Self, Box<dyn Error + Sync + Send>>

A convenience function that delegates to from_sql and from_sql_null depending on the +value of raw.
§

impl FromSql for Snowflake

§

fn column_result(value: ValueRef<'_>) -> Result<Snowflake, FromSqlError>

Converts SQLite value into Rust value.
§

impl FromStr for Snowflake

§

type Err = <NonZero<u64> as FromStr>::Err

The associated error which can be returned from parsing.
§

fn from_str(s: &str) -> Result<Snowflake, <Snowflake as FromStr>::Err>

Parses a string s to return a value of this type. Read more
§

impl Hash for Snowflake

§

fn hash<__H>(&self, state: &mut __H)
where + __H: Hasher,

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where + H: Hasher, + Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
§

impl Ord for Snowflake

§

fn cmp(&self, other: &Snowflake) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Self
where + Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Self
where + Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · source§

fn clamp(self, min: Self, max: Self) -> Self
where + Self: Sized + PartialOrd,

Restrict a value to a certain interval. Read more
§

impl PartialEq<ArchivedSnowflake> for Snowflake

§

fn eq(&self, other: &ArchivedSnowflake) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
§

impl PartialEq for Snowflake

§

fn eq(&self, other: &Snowflake) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
§

impl PartialOrd for Snowflake

§

fn partial_cmp(&self, other: &Snowflake) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the +<= operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > +operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by +the >= operator. Read more
§

impl<S> Serialize<S> for Snowflake
where + S: Fallible + ?Sized,

§

fn serialize( + &self, + _: &mut S, +) -> Result<<Snowflake as Archive>::Resolver, <S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.
§

impl Serialize for Snowflake

§

fn serialize<S>( + &self, + serializer: S, +) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
where + S: Serializer,

Serialize this value into the given Serde serializer. Read more
§

impl ToSql for Snowflake

§

fn to_sql( + &self, + ty: &Type, + out: &mut BytesMut, +) -> Result<IsNull, Box<dyn Error + Sync + Send>>
where + Snowflake: Sized,

Converts the value of self into the binary format of the specified +Postgres Type, appending it to out. Read more
§

fn accepts(ty: &Type) -> bool

Determines if a value of this type can be converted to the specified +Postgres Type.
§

fn to_sql_checked( + &self, + ty: &Type, + out: &mut BytesMut, +) -> Result<IsNull, Box<dyn Error + Sync + Send>>

An adaptor method used internally by Rust-Postgres. Read more
§

fn encode_format(&self, _ty: &Type) -> Format

Specify the encode format
§

impl ToSql for Snowflake

§

fn to_sql(&self) -> Result<ToSqlOutput<'_>, Error>

Converts Rust value to SQLite value
§

impl Copy for Snowflake

§

impl Eq for Snowflake

§

impl StructuralPartialEq for Snowflake

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> BorrowToSql for T
where + T: ToSql,

§

fn borrow_to_sql(&self) -> &dyn ToSql

Returns a reference to self as a ToSql trait object.
source§

impl<T> CloneToUninit for T
where + T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
§

impl<Q, K> Comparable<K> for Q
where + Q: Ord + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn compare(&self, key: &K) -> Ordering

Compare self to key and return their ordering.
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T> ToOwned for T
where + T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
§

impl<T> ToSmolStr for T
where + T: Display + ?Sized,

§

fn to_smolstr(&self) -> SmolStr

source§

impl<T> ToString for T
where + T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
source§

impl<T> CommandBody for T
where + T: Send + Serialize + Archive,

source§

impl<T> CommandResult for T
where + T: Send + DeserializeOwned + Serialize + Archive,

source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> FromSqlOwned for T
where + T: for<'a> FromSql<'a>,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/sidebar-items.js b/client_sdk/models/sidebar-items.js new file mode 100644 index 000000000..39e4f3db0 --- /dev/null +++ b/client_sdk/models/sidebar-items.js @@ -0,0 +1 @@ +window.SIDEBAR_ITEMS = {"enum":["ArchivedCursor","Cursor","CursorResolver"],"mod":["aliases","asset","auth","config","embed","emote","file","gateway","invite","message","nullable","party","permission","presence","role","room","session","sf","stats","thread","user","util"],"struct":["Arc","FxRandomState2","SmolStr","Snowflake","ThinVec","Timestamp"],"type":["EncryptedSnowflake"]}; \ No newline at end of file diff --git a/client_sdk/models/stats/index.html b/client_sdk/models/stats/index.html new file mode 100644 index 000000000..9e731c0b7 --- /dev/null +++ b/client_sdk/models/stats/index.html @@ -0,0 +1 @@ +client_sdk::models::stats - Rust

Module client_sdk::models::stats

source ·

Structs§

\ No newline at end of file diff --git a/client_sdk/models/stats/sidebar-items.js b/client_sdk/models/stats/sidebar-items.js new file mode 100644 index 000000000..c7f36a185 --- /dev/null +++ b/client_sdk/models/stats/sidebar-items.js @@ -0,0 +1 @@ +window.SIDEBAR_ITEMS = {"struct":["ArchivedRoomStatistics","RoomStatistics","RoomStatisticsResolver","Statistics"]}; \ No newline at end of file diff --git a/client_sdk/models/stats/struct.ArchivedRoomStatistics.html b/client_sdk/models/stats/struct.ArchivedRoomStatistics.html new file mode 100644 index 000000000..150f597a3 --- /dev/null +++ b/client_sdk/models/stats/struct.ArchivedRoomStatistics.html @@ -0,0 +1,35 @@ +ArchivedRoomStatistics in client_sdk::models::stats - Rust

Struct client_sdk::models::stats::ArchivedRoomStatistics

source ·
#[repr(C)]
pub struct ArchivedRoomStatistics
where + u64: Archive,
{ + pub messages: <u64 as Archive>::Archived, + pub files: <u64 as Archive>::Archived, + pub prefixed: <u64 as Archive>::Archived, +}
Expand description

An archived RoomStatistics

+

Fields§

§messages: <u64 as Archive>::Archived§files: <u64 as Archive>::Archived§prefixed: <u64 as Archive>::Archived

Trait Implementations§

source§

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedRoomStatistics
where + u64: Archive, + <__C as Fallible>::Error: Trace, + <u64 as Archive>::Archived: CheckBytes<__C>,

source§

unsafe fn check_bytes( + value: *const Self, + context: &mut __C, +) -> Result<(), <__C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Portable for ArchivedRoomStatistics
where + u64: Archive, + <u64 as Archive>::Archived: Portable,

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/stats/struct.RoomStatistics.html b/client_sdk/models/stats/struct.RoomStatistics.html new file mode 100644 index 000000000..0e7c9662a --- /dev/null +++ b/client_sdk/models/stats/struct.RoomStatistics.html @@ -0,0 +1,59 @@ +RoomStatistics in client_sdk::models::stats - Rust

Struct client_sdk::models::stats::RoomStatistics

source ·
pub struct RoomStatistics {
+    pub messages: u64,
+    pub files: u64,
+    pub prefixed: u64,
+}

Fields§

§messages: u64§files: u64

Total number of attachment files sent

+
§prefixed: u64

If a prefix was given to the query, this will the message +count where the message is prefixed by that.

+

Otherwise it will be zero.

+

Trait Implementations§

source§

impl Archive for RoomStatistics
where + u64: Archive,

source§

type Archived = ArchivedRoomStatistics

The archived representation of this type. Read more
source§

type Resolver = RoomStatisticsResolver

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
source§

impl Clone for RoomStatistics

source§

fn clone(&self) -> RoomStatistics

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for RoomStatistics

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for RoomStatistics

source§

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<__D: Fallible + ?Sized> Deserialize<RoomStatistics, __D> for Archived<RoomStatistics>
where + u64: Archive, + <u64 as Archive>::Archived: Deserialize<u64, __D>,

source§

fn deserialize( + &self, + deserializer: &mut __D, +) -> Result<RoomStatistics, <__D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<__S: Fallible + ?Sized> Serialize<__S> for RoomStatistics
where + u64: Serialize<__S>,

source§

fn serialize( + &self, + serializer: &mut __S, +) -> Result<<Self as Archive>::Resolver, <__S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.
source§

impl Serialize for RoomStatistics

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where + T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T> ToOwned for T
where + T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
source§

impl<T> CommandBody for T
where + T: Send + Serialize + Archive,

source§

impl<T> CommandResult for T
where + T: Send + DeserializeOwned + Serialize + Archive,

source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/stats/struct.RoomStatisticsResolver.html b/client_sdk/models/stats/struct.RoomStatisticsResolver.html new file mode 100644 index 000000000..05b5a609c --- /dev/null +++ b/client_sdk/models/stats/struct.RoomStatisticsResolver.html @@ -0,0 +1,22 @@ +RoomStatisticsResolver in client_sdk::models::stats - Rust

Struct client_sdk::models::stats::RoomStatisticsResolver

source ·
pub struct RoomStatisticsResolver
where + u64: Archive,
{ /* private fields */ }
Expand description

The resolver for an archived RoomStatistics

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/stats/struct.Statistics.html b/client_sdk/models/stats/struct.Statistics.html new file mode 100644 index 000000000..0f766863f --- /dev/null +++ b/client_sdk/models/stats/struct.Statistics.html @@ -0,0 +1,27 @@ +Statistics in client_sdk::models::stats - Rust

Struct client_sdk::models::stats::Statistics

source ·
pub struct Statistics {
+    pub rooms: HashMap<RoomId, RoomStatistics, FxRandomState2>,
+}

Fields§

§rooms: HashMap<RoomId, RoomStatistics, FxRandomState2>

Trait Implementations§

source§

impl Clone for Statistics

source§

fn clone(&self) -> Statistics

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Statistics

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for Statistics

source§

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 Statistics

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where + T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where + T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/struct.Arc.html b/client_sdk/models/struct.Arc.html new file mode 100644 index 000000000..8ae16a275 --- /dev/null +++ b/client_sdk/models/struct.Arc.html @@ -0,0 +1,234 @@ +Arc in client_sdk::models - Rust

Struct client_sdk::models::Arc

pub struct Arc<T>
where + T: ?Sized,
{ /* private fields */ }
Expand description

An atomically reference counted shared pointer

+

See the documentation for Arc in the standard library. Unlike the +standard library Arc, this Arc does not support weak reference counting.

+

Implementations§

§

impl<T> Arc<T>

pub fn new(data: T) -> Arc<T>

Construct an Arc<T>

+

pub fn with_raw_offset_arc<F, U>(&self, f: F) -> U
where + F: FnOnce(&OffsetArc<T>) -> U,

Temporarily converts |self| into a bonafide OffsetArc and exposes it to the +provided callback. The refcount is not modified.

+

pub fn into_raw_offset(a: Arc<T>) -> OffsetArc<T>

Converts an Arc into a OffsetArc. This consumes the Arc, so the refcount +is not modified.

+

pub fn from_raw_offset(a: OffsetArc<T>) -> Arc<T>

Converts a OffsetArc into an Arc. This consumes the OffsetArc, so the refcount +is not modified.

+

pub fn try_unwrap(this: Arc<T>) -> Result<T, Arc<T>>

Returns the inner value, if the Arc has exactly one strong reference.

+

Otherwise, an Err is returned with the same Arc that was +passed in.

+
§Examples
+
use triomphe::Arc;
+
+let x = Arc::new(3);
+assert_eq!(Arc::try_unwrap(x), Ok(3));
+
+let x = Arc::new(4);
+let _y = Arc::clone(&x);
+assert_eq!(*Arc::try_unwrap(x).unwrap_err(), 4);
+
§

impl<T> Arc<[T]>

pub unsafe fn from_raw_slice(ptr: *const [T]) -> Arc<[T]>

Reconstruct the Arc<[T]> from a raw pointer obtained from into_raw().

+

Arc::from_raw should accept unsized types, but this is not trivial to do correctly +until the feature pointer_bytes_offsets +is stabilized. This is stopgap solution for slices.

+
§Safety
+
    +
  • The given pointer must be a valid pointer to [T] that came from Arc::into_raw.
  • +
  • After from_raw_slice, the pointer must not be accessed.
  • +
+
§

impl<T> Arc<T>
where + T: ?Sized,

pub fn into_raw(this: Arc<T>) -> *const T

Convert the Arc<T> to a raw pointer, suitable for use across FFI

+

Note: This returns a pointer to the data T, which is offset in the allocation.

+

It is recommended to use OffsetArc for this.

+

pub unsafe fn from_raw(ptr: *const T) -> Arc<T>

Reconstruct the Arc<T> from a raw pointer obtained from into_raw()

+

Note: This raw pointer will be offset in the allocation and must be preceded +by the atomic count.

+

It is recommended to use OffsetArc for this

+
§Safety
+
    +
  • The given pointer must be a valid pointer to T that came from Arc::into_raw.
  • +
  • After from_raw, the pointer must not be accessed.
  • +
+

pub fn as_ptr(&self) -> *const T

Returns the raw pointer.

+

Same as into_raw except self isn’t consumed.

+

pub fn borrow_arc(&self) -> ArcBorrow<'_, T>

Produce a pointer to the data that can be converted back +to an Arc. This is basically an &Arc<T>, without the extra indirection. +It has the benefits of an &T but also knows about the underlying refcount +and can be converted into more Arc<T>s if necessary.

+

pub fn heap_ptr(&self) -> *const c_void

Returns the address on the heap of the Arc itself – not the T within it – for memory +reporting.

+

pub fn strong_count(this: &Arc<T>) -> usize

The reference count of this Arc.

+

The number does not include borrowed pointers, +or temporary Arc pointers created with functions like +[ArcBorrow::with_arc].

+

The function is called strong_count to mirror std::sync::Arc::strong_count, +however triomphe::Arc does not support weak references.

+

pub fn ptr_eq(this: &Arc<T>, other: &Arc<T>) -> bool

Returns true if the two Arcs point to the same allocation in a vein similar to +ptr::eq. This function ignores the metadata of dyn Trait pointers.

+
§

impl<T> Arc<MaybeUninit<T>>

pub fn new_uninit() -> Arc<MaybeUninit<T>>

Create an Arc contains an MaybeUninit<T>.

+

pub fn write(&mut self, val: T) -> &mut T

👎Deprecated since 0.1.7: this function previously was UB and now panics for non-unique Arcs. Use UniqueArc::write instead.

Calls MaybeUninit::write on the value contained.

+
§Panics
+

If the Arc is not unique.

+

pub fn as_mut_ptr(&mut self) -> *mut MaybeUninit<T>

Obtain a mutable pointer to the stored MaybeUninit<T>.

+

pub unsafe fn assume_init(self) -> Arc<T>

§Safety
+

Must initialize all fields before calling this function.

+
§

impl<T> Arc<[MaybeUninit<T>]>

pub fn new_uninit_slice(len: usize) -> Arc<[MaybeUninit<T>]>

Create an Arc contains an array [MaybeUninit<T>] of len.

+

pub fn as_mut_slice(&mut self) -> &mut [MaybeUninit<T>]

👎Deprecated since 0.1.8: this function previously was UB and now panics for non-unique Arcs. Use UniqueArc or get_mut instead.

Obtain a mutable slice to the stored [MaybeUninit<T>].

+

pub unsafe fn assume_init(self) -> Arc<[T]>

§Safety
+

Must initialize all fields before calling this function.

+
§

impl<T> Arc<T>
where + T: Clone,

pub fn make_mut(this: &mut Arc<T>) -> &mut T

Makes a mutable reference to the Arc, cloning if necessary

+

This is functionally equivalent to Arc::make_mut from the standard library.

+

If this Arc is uniquely owned, make_mut() will provide a mutable +reference to the contents. If not, make_mut() will create a new Arc +with a copy of the contents, update this to point to it, and provide +a mutable reference to its contents.

+

This is useful for implementing copy-on-write schemes where you wish to +avoid copying things if your Arc is not shared.

+

pub fn make_unique(this: &mut Arc<T>) -> &mut UniqueArc<T>

Makes a UniqueArc from an Arc, cloning if necessary.

+

If this Arc is uniquely owned, make_unique() will provide a UniqueArc +containing this. If not, make_unique() will create a new Arc +with a copy of the contents, update this to point to it, and provide +a UniqueArc to it.

+

This is useful for implementing copy-on-write schemes where you wish to +avoid copying things if your Arc is not shared.

+

pub fn unwrap_or_clone(this: Arc<T>) -> T

If we have the only reference to T then unwrap it. Otherwise, clone T and return the clone.

+

Assuming arc_t is of type Arc<T>, this function is functionally equivalent to (*arc_t).clone(), but will avoid cloning the inner value where possible.

+
§

impl<T> Arc<T>
where + T: ?Sized,

pub fn get_mut(this: &mut Arc<T>) -> Option<&mut T>

Provides mutable access to the contents if the Arc is uniquely owned.

+

pub fn get_unique(this: &mut Arc<T>) -> Option<&mut UniqueArc<T>>

Provides unique access to the arc if the Arc is uniquely owned.

+

pub fn is_unique(&self) -> bool

Whether or not the Arc is uniquely owned (is the refcount 1?).

+

pub fn count(this: &Arc<T>) -> usize

Gets the number of Arc pointers to this allocation

+

pub fn try_unique(this: Arc<T>) -> Result<UniqueArc<T>, Arc<T>>

Returns a [UniqueArc] if the Arc has exactly one strong reference.

+

Otherwise, an Err is returned with the same Arc that was +passed in.

+
§Examples
+
use triomphe::{Arc, UniqueArc};
+
+let x = Arc::new(3);
+assert_eq!(UniqueArc::into_inner(Arc::try_unique(x).unwrap()), 3);
+
+let x = Arc::new(4);
+let _y = Arc::clone(&x);
+assert_eq!(
+    *Arc::try_unique(x).map(UniqueArc::into_inner).unwrap_err(),
+    4,
+);
+
§

impl<H, T> Arc<HeaderSlice<H, [T]>>

pub fn from_header_and_iter<I>(header: H, items: I) -> Arc<HeaderSlice<H, [T]>>
where + I: Iterator<Item = T> + ExactSizeIterator,

Creates an Arc for a HeaderSlice using the given header struct and +iterator to generate the slice. The resulting Arc will be fat.

+

pub fn from_header_and_slice(header: H, items: &[T]) -> Arc<HeaderSlice<H, [T]>>
where + T: Copy,

Creates an Arc for a HeaderSlice using the given header struct and +iterator to generate the slice. The resulting Arc will be fat.

+

pub fn from_header_and_vec(header: H, v: Vec<T>) -> Arc<HeaderSlice<H, [T]>>

Creates an Arc for a HeaderSlice using the given header struct and +vec to generate the slice. The resulting Arc will be fat.

+
§

impl<H> Arc<HeaderSlice<H, str>>

pub fn from_header_and_str(header: H, string: &str) -> Arc<HeaderSlice<H, str>>

Creates an Arc for a HeaderSlice using the given header struct and +a str slice to generate the slice. The resulting Arc will be fat.

+
§

impl<H, T> Arc<HeaderSlice<HeaderWithLength<H>, [T]>>

pub fn into_thin(a: Arc<HeaderSlice<HeaderWithLength<H>, [T]>>) -> ThinArc<H, T>

Converts an Arc into a ThinArc. This consumes the Arc, so the refcount +is not modified.

+

pub fn from_thin(a: ThinArc<H, T>) -> Arc<HeaderSlice<HeaderWithLength<H>, [T]>>

Converts a ThinArc into an Arc. This consumes the ThinArc, so the refcount +is not modified.

+

Trait Implementations§

§

impl<T> Archive for Arc<T>
where + T: ArchiveUnsized + ?Sized,

§

type Archived = ArchivedRc<<T as ArchiveUnsized>::Archived, TriompheArcFlavor>

The archived representation of this type. Read more
§

type Resolver = RcResolver

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
§

fn resolve( + &self, + resolver: <Arc<T> as Archive>::Resolver, + out: Place<<Arc<T> as Archive>::Archived>, +)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
§

impl<T> AsRef<T> for Arc<T>
where + T: ?Sized,

§

fn as_ref(&self) -> &T

Converts this type into a shared reference of the (usually inferred) input type.
§

impl<T> Borrow<T> for Arc<T>
where + T: ?Sized,

§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
§

impl<T> Clone for Arc<T>
where + T: ?Sized,

§

fn clone(&self) -> Arc<T>

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl<T> Debug for Arc<T>
where + T: Debug + ?Sized,

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl<T> Default for Arc<T>
where + T: Default,

§

fn default() -> Arc<T>

Returns the “default value” for a type. Read more
§

impl<T> Deref for Arc<T>
where + T: ?Sized,

§

type Target = T

The resulting type after dereferencing.
§

fn deref(&self) -> &T

Dereferences the value.
§

impl<'de, T> Deserialize<'de> for Arc<T>
where + T: Deserialize<'de>,

§

fn deserialize<D>( + deserializer: D, +) -> Result<Arc<T>, <D as Deserializer<'de>>::Error>
where + D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
§

impl<T> Display for Arc<T>
where + T: Display + ?Sized,

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl<T> Drop for Arc<T>
where + T: ?Sized,

§

fn drop(&mut self)

Executes the destructor for this type. Read more
§

impl<T> From<&[T]> for Arc<[T]>
where + T: Copy,

§

fn from(slice: &[T]) -> Arc<[T]>

Converts to this type from the input type.
§

impl From<&str> for Arc<str>

§

fn from(s: &str) -> Arc<str>

Converts to this type from the input type.
§

impl<T> From<Arc<HeaderSlice<(), T>>> for Arc<T>
where + T: ?Sized,

§

fn from(this: Arc<HeaderSlice<(), T>>) -> Arc<T>

Converts to this type from the input type.
§

impl<T> From<Arc<T>> for Arc<HeaderSlice<(), T>>
where + T: ?Sized,

§

fn from(this: Arc<T>) -> Arc<HeaderSlice<(), T>>

Converts to this type from the input type.
§

impl<T> From<Box<T>> for Arc<T>

§

fn from(b: Box<T>) -> Arc<T>

Converts to this type from the input type.
§

impl From<String> for Arc<str>

§

fn from(s: String) -> Arc<str>

Converts to this type from the input type.
§

impl<T> From<T> for Arc<T>

§

fn from(t: T) -> Arc<T>

Converts to this type from the input type.
§

impl<T> From<Vec<T>> for Arc<[T]>

§

fn from(v: Vec<T>) -> Arc<[T]>

Converts to this type from the input type.
§

impl<A> FromIterator<A> for Arc<[A]>

§

fn from_iter<T>(iter: T) -> Arc<[A]>
where + T: IntoIterator<Item = A>,

Creates a value from an iterator. Read more
§

impl<T> Hash for Arc<T>
where + T: Hash + ?Sized,

§

fn hash<H>(&self, state: &mut H)
where + H: Hasher,

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where + H: Hasher, + Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
§

impl<T> Ord for Arc<T>
where + T: Ord + ?Sized,

§

fn cmp(&self, other: &Arc<T>) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Self
where + Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Self
where + Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · source§

fn clamp(self, min: Self, max: Self) -> Self
where + Self: Sized + PartialOrd,

Restrict a value to a certain interval. Read more
§

impl<T> PartialEq for Arc<T>
where + T: PartialEq + ?Sized,

§

fn eq(&self, other: &Arc<T>) -> bool

Tests for self and other values to be equal, and is used by ==.
§

fn ne(&self, other: &Arc<T>) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
§

impl<T> PartialOrd for Arc<T>
where + T: PartialOrd + ?Sized,

§

fn partial_cmp(&self, other: &Arc<T>) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
§

fn lt(&self, other: &Arc<T>) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
§

fn le(&self, other: &Arc<T>) -> bool

Tests less than or equal to (for self and other) and is used by the +<= operator. Read more
§

fn gt(&self, other: &Arc<T>) -> bool

Tests greater than (for self and other) and is used by the > +operator. Read more
§

fn ge(&self, other: &Arc<T>) -> bool

Tests greater than or equal to (for self and other) and is used by +the >= operator. Read more
§

impl<T> Pointer for Arc<T>
where + T: ?Sized,

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl<T, S> Serialize<S> for Arc<T>
where + T: SerializeUnsized<S> + 'static + ?Sized, + S: Writer + Sharing + Fallible + ?Sized, + <S as Fallible>::Error: Source,

§

fn serialize( + &self, + serializer: &mut S, +) -> Result<<Arc<T> as Archive>::Resolver, <S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.
§

impl<T> Serialize for Arc<T>
where + T: Serialize,

§

fn serialize<S>( + &self, + serializer: S, +) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
where + S: Serializer,

Serialize this value into the given Serde serializer. Read more
§

impl<T> SharedPointer<T> for Arc<T>

§

fn alloc(_: <T as Pointee>::Metadata) -> Result<*mut T, LayoutError>

Allocates space for a value with the given metadata.
§

unsafe fn from_value(ptr: *mut T) -> *mut T

Creates a new Self from a pointer to a valid T. Read more
§

unsafe fn drop(ptr: *mut T)

Drops a pointer created by from_value. Read more
§

impl<T> CloneStableDeref for Arc<T>
where + T: ?Sized,

§

impl<T> Eq for Arc<T>
where + T: Eq + ?Sized,

§

impl<T> Send for Arc<T>
where + T: Sync + Send + ?Sized,

§

impl<T> StableDeref for Arc<T>
where + T: ?Sized,

§

impl<T> Sync for Arc<T>
where + T: Sync + Send + ?Sized,

Auto Trait Implementations§

§

impl<T> Freeze for Arc<T>
where + T: ?Sized,

§

impl<T> RefUnwindSafe for Arc<T>
where + T: RefUnwindSafe + ?Sized,

§

impl<T> Unpin for Arc<T>
where + T: Unpin + ?Sized,

§

impl<T> UnwindSafe for Arc<T>
where + T: UnwindSafe + RefUnwindSafe + ?Sized,

Blanket Implementations§

§

impl<T, A, P> Access<T> for P
where + A: Access<T> + ?Sized, + P: Deref<Target = A>,

§

type Guard = <A as Access<T>>::Guard

A guard object containing the value and keeping it alive. Read more
§

fn load(&self) -> <P as Access<T>>::Guard

The loading method. Read more
source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where + T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
§

impl<Q, K> Comparable<K> for Q
where + Q: Ord + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn compare(&self, key: &K) -> Ordering

Compare self to key and return their ordering.
§

impl<T, A> DynAccess<T> for A
where + A: Access<T>, + <A as Access<T>>::Guard: 'static,

§

fn load(&self) -> DynGuard<T>

The equivalent of [Access::load].
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<T> From<!> for T

source§

fn from(t: !) -> T

Converts to this type from the input type.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T> ToOwned for T
where + T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
§

impl<T> ToSmolStr for T
where + T: Display + ?Sized,

§

fn to_smolstr(&self) -> SmolStr

source§

impl<T> ToString for T
where + T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
source§

impl<T> CommandBody for T
where + T: Send + Serialize + Archive,

source§

impl<T> CommandResult for T
where + T: Send + DeserializeOwned + Serialize + Archive,

source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/struct.FxRandomState2.html b/client_sdk/models/struct.FxRandomState2.html new file mode 100644 index 000000000..9cc8611bd --- /dev/null +++ b/client_sdk/models/struct.FxRandomState2.html @@ -0,0 +1,36 @@ +FxRandomState2 in client_sdk::models - Rust

Struct client_sdk::models::FxRandomState2

source ·
pub struct FxRandomState2(/* private fields */);
Expand description

Lightweight randomly-seeded hash builder for [rustc_hash::FxHasher], +uses compile-time random seed that increments on each hash-builder creation.

+

This isn’t quite as DOS-resistant as using thread_local! seeds generated at runtime, +but it should provide enough obfuscation in practice for regular hashing.

+

Trait Implementations§

source§

impl BuildHasher for FxRandomState2

source§

type Hasher = FxHasher

Type of the hasher that will be created.
source§

fn build_hasher(&self) -> Self::Hasher

Creates a new hasher. Read more
1.71.0 · source§

fn hash_one<T>(&self, x: T) -> u64
where + T: Hash, + Self: Sized, + Self::Hasher: Hasher,

Calculates the hash of a single value. Read more
source§

impl Clone for FxRandomState2

source§

fn clone(&self) -> FxRandomState2

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for FxRandomState2

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for FxRandomState2

source§

fn default() -> Self

Returns the “default value” for a type. Read more
source§

impl PartialEq for FxRandomState2

source§

fn eq(&self, other: &FxRandomState2) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl Copy for FxRandomState2

source§

impl Eq for FxRandomState2

source§

impl StructuralPartialEq for FxRandomState2

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where + T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where + T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/struct.SmolStr.html b/client_sdk/models/struct.SmolStr.html new file mode 100644 index 000000000..71e5b29c9 --- /dev/null +++ b/client_sdk/models/struct.SmolStr.html @@ -0,0 +1,1356 @@ +SmolStr in client_sdk::models - Rust

Struct client_sdk::models::SmolStr

pub struct SmolStr(/* private fields */);
Expand description

A SmolStr is a string type that has the following properties:

+
    +
  • size_of::<SmolStr>() == 24 (therefor == size_of::<String>() on 64 bit platforms)
  • +
  • Clone is O(1)
  • +
  • Strings are stack-allocated if they are: +
      +
    • Up to 23 bytes long
    • +
    • Longer than 23 bytes, but substrings of WS (see below). Such strings consist +solely of consecutive newlines, followed by consecutive spaces
    • +
    +
  • +
  • If a string does not satisfy the aforementioned conditions, it is heap-allocated
  • +
  • Additionally, a SmolStr can be explicitly created from a &'static str without allocation
  • +
+

Unlike String, however, SmolStr is immutable. The primary use case for +SmolStr is a good enough default storage for tokens of typical programming +languages. Strings consisting of a series of newlines, followed by a series of +whitespace are a typical pattern in computer programs because of indentation. +Note that a specialized interner might be a better solution for some use cases.

+

WS: A string of 32 newlines followed by 128 spaces.

+

Implementations§

§

impl SmolStr

pub const fn new_inline(text: &str) -> SmolStr

Constructs an inline variant of SmolStr.

+

This never allocates.

+
§Panics
+

Panics if text.len() > 23.

+

pub const fn new_static(text: &'static str) -> SmolStr

Constructs a SmolStr from a statically allocated string.

+

This never allocates.

+

pub fn new(text: impl AsRef<str>) -> SmolStr

Constructs a SmolStr from a str, heap-allocating if necessary.

+

pub fn as_str(&self) -> &str

Returns a &str slice of this SmolStr.

+

pub fn len(&self) -> usize

Returns the length of self in bytes.

+

pub fn is_empty(&self) -> bool

Returns true if self has a length of zero bytes.

+

pub const fn is_heap_allocated(&self) -> bool

Returns true if self is heap-allocated.

+

Methods from Deref<Target = str>§

1.0.0 · source

pub fn len(&self) -> usize

Returns the length of self.

+

This length is in bytes, not chars or graphemes. In other words, +it might not be what a human considers the length of the string.

+
§Examples
+
let len = "foo".len();
+assert_eq!(3, len);
+
+assert_eq!("ƒoo".len(), 4); // fancy f!
+assert_eq!("ƒoo".chars().count(), 3);
+
1.0.0 · source

pub fn is_empty(&self) -> bool

Returns true if self has a length of zero bytes.

+
§Examples
+
let s = "";
+assert!(s.is_empty());
+
+let s = "not empty";
+assert!(!s.is_empty());
+
1.9.0 · source

pub fn is_char_boundary(&self, index: usize) -> bool

Checks that index-th byte is the first byte in a UTF-8 code point +sequence or the end of the string.

+

The start and end of the string (when index == self.len()) are +considered to be boundaries.

+

Returns false if index is greater than self.len().

+
§Examples
+
let s = "Löwe 老虎 Léopard";
+assert!(s.is_char_boundary(0));
+// start of `老`
+assert!(s.is_char_boundary(6));
+assert!(s.is_char_boundary(s.len()));
+
+// second byte of `ö`
+assert!(!s.is_char_boundary(2));
+
+// third byte of `老`
+assert!(!s.is_char_boundary(8));
+
source

pub fn floor_char_boundary(&self, index: usize) -> usize

🔬This is a nightly-only experimental API. (round_char_boundary)

Finds the closest x not exceeding index where is_char_boundary(x) is true.

+

This method can help you truncate a string so that it’s still valid UTF-8, but doesn’t +exceed a given number of bytes. Note that this is done purely at the character level +and can still visually split graphemes, even though the underlying characters aren’t +split. For example, the emoji 🧑‍🔬 (scientist) could be split so that the string only +includes 🧑 (person) instead.

+
§Examples
+
#![feature(round_char_boundary)]
+let s = "❤️🧡💛💚💙💜";
+assert_eq!(s.len(), 26);
+assert!(!s.is_char_boundary(13));
+
+let closest = s.floor_char_boundary(13);
+assert_eq!(closest, 10);
+assert_eq!(&s[..closest], "❤️🧡");
+
source

pub fn ceil_char_boundary(&self, index: usize) -> usize

🔬This is a nightly-only experimental API. (round_char_boundary)

Finds the closest x not below index where is_char_boundary(x) is true.

+

If index is greater than the length of the string, this returns the length of the string.

+

This method is the natural complement to floor_char_boundary. See that method +for more details.

+
§Examples
+
#![feature(round_char_boundary)]
+let s = "❤️🧡💛💚💙💜";
+assert_eq!(s.len(), 26);
+assert!(!s.is_char_boundary(13));
+
+let closest = s.ceil_char_boundary(13);
+assert_eq!(closest, 14);
+assert_eq!(&s[..closest], "❤️🧡💛");
+
1.0.0 · source

pub fn as_bytes(&self) -> &[u8]

Converts a string slice to a byte slice. To convert the byte slice back +into a string slice, use the from_utf8 function.

+
§Examples
+
let bytes = "bors".as_bytes();
+assert_eq!(b"bors", bytes);
+
1.0.0 · source

pub fn as_ptr(&self) -> *const u8

Converts a string slice to a raw pointer.

+

As string slices are a slice of bytes, the raw pointer points to a +u8. This pointer will be pointing to the first byte of the string +slice.

+

The caller must ensure that the returned pointer is never written to. +If you need to mutate the contents of the string slice, use as_mut_ptr.

+
§Examples
+
let s = "Hello";
+let ptr = s.as_ptr();
+
1.20.0 · source

pub fn get<I>(&self, i: I) -> Option<&<I as SliceIndex<str>>::Output>
where + I: SliceIndex<str>,

Returns a subslice of str.

+

This is the non-panicking alternative to indexing the str. Returns +None whenever equivalent indexing operation would panic.

+
§Examples
+
let v = String::from("🗻∈🌏");
+
+assert_eq!(Some("🗻"), v.get(0..4));
+
+// indices not on UTF-8 sequence boundaries
+assert!(v.get(1..).is_none());
+assert!(v.get(..8).is_none());
+
+// out of bounds
+assert!(v.get(..42).is_none());
+
1.20.0 · source

pub unsafe fn get_unchecked<I>(&self, i: I) -> &<I as SliceIndex<str>>::Output
where + I: SliceIndex<str>,

Returns an unchecked subslice of str.

+

This is the unchecked alternative to indexing the str.

+
§Safety
+

Callers of this function are responsible that these preconditions are +satisfied:

+
    +
  • The starting index must not exceed the ending index;
  • +
  • Indexes must be within bounds of the original slice;
  • +
  • Indexes must lie on UTF-8 sequence boundaries.
  • +
+

Failing that, the returned string slice may reference invalid memory or +violate the invariants communicated by the str type.

+
§Examples
+
let v = "🗻∈🌏";
+unsafe {
+    assert_eq!("🗻", v.get_unchecked(0..4));
+    assert_eq!("∈", v.get_unchecked(4..7));
+    assert_eq!("🌏", v.get_unchecked(7..11));
+}
+
1.0.0 · source

pub unsafe fn slice_unchecked(&self, begin: usize, end: usize) -> &str

👎Deprecated since 1.29.0: use get_unchecked(begin..end) instead

Creates a string slice from another string slice, bypassing safety +checks.

+

This is generally not recommended, use with caution! For a safe +alternative see str and Index.

+

This new slice goes from begin to end, including begin but +excluding end.

+

To get a mutable string slice instead, see the +slice_mut_unchecked method.

+
§Safety
+

Callers of this function are responsible that three preconditions are +satisfied:

+
    +
  • begin must not exceed end.
  • +
  • begin and end must be byte positions within the string slice.
  • +
  • begin and end must lie on UTF-8 sequence boundaries.
  • +
+
§Examples
+
let s = "Löwe 老虎 Léopard";
+
+unsafe {
+    assert_eq!("Löwe 老虎 Léopard", s.slice_unchecked(0, 21));
+}
+
+let s = "Hello, world!";
+
+unsafe {
+    assert_eq!("world", s.slice_unchecked(7, 12));
+}
+
1.4.0 · source

pub fn split_at(&self, mid: usize) -> (&str, &str)

Divides one string slice into two at an index.

+

The argument, mid, should be a byte offset from the start of the +string. It must also be on the boundary of a UTF-8 code point.

+

The two slices returned go from the start of the string slice to mid, +and from mid to the end of the string slice.

+

To get mutable string slices instead, see the split_at_mut +method.

+
§Panics
+

Panics if mid is not on a UTF-8 code point boundary, or if it is past +the end of the last code point of the string slice. For a non-panicking +alternative see split_at_checked.

+
§Examples
+
let s = "Per Martin-Löf";
+
+let (first, last) = s.split_at(3);
+
+assert_eq!("Per", first);
+assert_eq!(" Martin-Löf", last);
+
1.80.0 · source

pub fn split_at_checked(&self, mid: usize) -> Option<(&str, &str)>

Divides one string slice into two at an index.

+

The argument, mid, should be a valid byte offset from the start of the +string. It must also be on the boundary of a UTF-8 code point. The +method returns None if that’s not the case.

+

The two slices returned go from the start of the string slice to mid, +and from mid to the end of the string slice.

+

To get mutable string slices instead, see the split_at_mut_checked +method.

+
§Examples
+
let s = "Per Martin-Löf";
+
+let (first, last) = s.split_at_checked(3).unwrap();
+assert_eq!("Per", first);
+assert_eq!(" Martin-Löf", last);
+
+assert_eq!(None, s.split_at_checked(13));  // Inside “ö”
+assert_eq!(None, s.split_at_checked(16));  // Beyond the string length
+
1.0.0 · source

pub fn chars(&self) -> Chars<'_>

Returns an iterator over the chars of a string slice.

+

As a string slice consists of valid UTF-8, we can iterate through a +string slice by char. This method returns such an iterator.

+

It’s important to remember that char represents a Unicode Scalar +Value, and might not match your idea of what a ‘character’ is. Iteration +over grapheme clusters may be what you actually want. This functionality +is not provided by Rust’s standard library, check crates.io instead.

+
§Examples
+

Basic usage:

+ +
let word = "goodbye";
+
+let count = word.chars().count();
+assert_eq!(7, count);
+
+let mut chars = word.chars();
+
+assert_eq!(Some('g'), chars.next());
+assert_eq!(Some('o'), chars.next());
+assert_eq!(Some('o'), chars.next());
+assert_eq!(Some('d'), chars.next());
+assert_eq!(Some('b'), chars.next());
+assert_eq!(Some('y'), chars.next());
+assert_eq!(Some('e'), chars.next());
+
+assert_eq!(None, chars.next());
+

Remember, chars might not match your intuition about characters:

+ +
let y = "y̆";
+
+let mut chars = y.chars();
+
+assert_eq!(Some('y'), chars.next()); // not 'y̆'
+assert_eq!(Some('\u{0306}'), chars.next());
+
+assert_eq!(None, chars.next());
+
1.0.0 · source

pub fn char_indices(&self) -> CharIndices<'_>

Returns an iterator over the chars of a string slice, and their +positions.

+

As a string slice consists of valid UTF-8, we can iterate through a +string slice by char. This method returns an iterator of both +these chars, as well as their byte positions.

+

The iterator yields tuples. The position is first, the char is +second.

+
§Examples
+

Basic usage:

+ +
let word = "goodbye";
+
+let count = word.char_indices().count();
+assert_eq!(7, count);
+
+let mut char_indices = word.char_indices();
+
+assert_eq!(Some((0, 'g')), char_indices.next());
+assert_eq!(Some((1, 'o')), char_indices.next());
+assert_eq!(Some((2, 'o')), char_indices.next());
+assert_eq!(Some((3, 'd')), char_indices.next());
+assert_eq!(Some((4, 'b')), char_indices.next());
+assert_eq!(Some((5, 'y')), char_indices.next());
+assert_eq!(Some((6, 'e')), char_indices.next());
+
+assert_eq!(None, char_indices.next());
+

Remember, chars might not match your intuition about characters:

+ +
let yes = "y̆es";
+
+let mut char_indices = yes.char_indices();
+
+assert_eq!(Some((0, 'y')), char_indices.next()); // not (0, 'y̆')
+assert_eq!(Some((1, '\u{0306}')), char_indices.next());
+
+// note the 3 here - the previous character took up two bytes
+assert_eq!(Some((3, 'e')), char_indices.next());
+assert_eq!(Some((4, 's')), char_indices.next());
+
+assert_eq!(None, char_indices.next());
+
1.0.0 · source

pub fn bytes(&self) -> Bytes<'_>

Returns an iterator over the bytes of a string slice.

+

As a string slice consists of a sequence of bytes, we can iterate +through a string slice by byte. This method returns such an iterator.

+
§Examples
+
let mut bytes = "bors".bytes();
+
+assert_eq!(Some(b'b'), bytes.next());
+assert_eq!(Some(b'o'), bytes.next());
+assert_eq!(Some(b'r'), bytes.next());
+assert_eq!(Some(b's'), bytes.next());
+
+assert_eq!(None, bytes.next());
+
1.1.0 · source

pub fn split_whitespace(&self) -> SplitWhitespace<'_>

Splits a string slice by whitespace.

+

The iterator returned will return string slices that are sub-slices of +the original string slice, separated by any amount of whitespace.

+

‘Whitespace’ is defined according to the terms of the Unicode Derived +Core Property White_Space. If you only want to split on ASCII whitespace +instead, use split_ascii_whitespace.

+
§Examples
+

Basic usage:

+ +
let mut iter = "A few words".split_whitespace();
+
+assert_eq!(Some("A"), iter.next());
+assert_eq!(Some("few"), iter.next());
+assert_eq!(Some("words"), iter.next());
+
+assert_eq!(None, iter.next());
+

All kinds of whitespace are considered:

+ +
let mut iter = " Mary   had\ta\u{2009}little  \n\t lamb".split_whitespace();
+assert_eq!(Some("Mary"), iter.next());
+assert_eq!(Some("had"), iter.next());
+assert_eq!(Some("a"), iter.next());
+assert_eq!(Some("little"), iter.next());
+assert_eq!(Some("lamb"), iter.next());
+
+assert_eq!(None, iter.next());
+

If the string is empty or all whitespace, the iterator yields no string slices:

+ +
assert_eq!("".split_whitespace().next(), None);
+assert_eq!("   ".split_whitespace().next(), None);
+
1.34.0 · source

pub fn split_ascii_whitespace(&self) -> SplitAsciiWhitespace<'_>

Splits a string slice by ASCII whitespace.

+

The iterator returned will return string slices that are sub-slices of +the original string slice, separated by any amount of ASCII whitespace.

+

To split by Unicode Whitespace instead, use split_whitespace.

+
§Examples
+

Basic usage:

+ +
let mut iter = "A few words".split_ascii_whitespace();
+
+assert_eq!(Some("A"), iter.next());
+assert_eq!(Some("few"), iter.next());
+assert_eq!(Some("words"), iter.next());
+
+assert_eq!(None, iter.next());
+

All kinds of ASCII whitespace are considered:

+ +
let mut iter = " Mary   had\ta little  \n\t lamb".split_ascii_whitespace();
+assert_eq!(Some("Mary"), iter.next());
+assert_eq!(Some("had"), iter.next());
+assert_eq!(Some("a"), iter.next());
+assert_eq!(Some("little"), iter.next());
+assert_eq!(Some("lamb"), iter.next());
+
+assert_eq!(None, iter.next());
+

If the string is empty or all ASCII whitespace, the iterator yields no string slices:

+ +
assert_eq!("".split_ascii_whitespace().next(), None);
+assert_eq!("   ".split_ascii_whitespace().next(), None);
+
1.0.0 · source

pub fn lines(&self) -> Lines<'_>

Returns an iterator over the lines of a string, as string slices.

+

Lines are split at line endings that are either newlines (\n) or +sequences of a carriage return followed by a line feed (\r\n).

+

Line terminators are not included in the lines returned by the iterator.

+

Note that any carriage return (\r) not immediately followed by a +line feed (\n) does not split a line. These carriage returns are +thereby included in the produced lines.

+

The final line ending is optional. A string that ends with a final line +ending will return the same lines as an otherwise identical string +without a final line ending.

+
§Examples
+

Basic usage:

+ +
let text = "foo\r\nbar\n\nbaz\r";
+let mut lines = text.lines();
+
+assert_eq!(Some("foo"), lines.next());
+assert_eq!(Some("bar"), lines.next());
+assert_eq!(Some(""), lines.next());
+// Trailing carriage return is included in the last line
+assert_eq!(Some("baz\r"), lines.next());
+
+assert_eq!(None, lines.next());
+

The final line does not require any ending:

+ +
let text = "foo\nbar\n\r\nbaz";
+let mut lines = text.lines();
+
+assert_eq!(Some("foo"), lines.next());
+assert_eq!(Some("bar"), lines.next());
+assert_eq!(Some(""), lines.next());
+assert_eq!(Some("baz"), lines.next());
+
+assert_eq!(None, lines.next());
+
1.0.0 · source

pub fn lines_any(&self) -> LinesAny<'_>

👎Deprecated since 1.4.0: use lines() instead now

Returns an iterator over the lines of a string.

+
1.8.0 · source

pub fn encode_utf16(&self) -> EncodeUtf16<'_>

Returns an iterator of u16 over the string encoded as UTF-16.

+
§Examples
+
let text = "Zażółć gęślą jaźń";
+
+let utf8_len = text.len();
+let utf16_len = text.encode_utf16().count();
+
+assert!(utf16_len <= utf8_len);
+
1.0.0 · source

pub fn contains<P>(&self, pat: P) -> bool
where + P: Pattern,

Returns true if the given pattern matches a sub-slice of +this string slice.

+

Returns false if it does not.

+

The pattern can be a &str, char, a slice of chars, or a +function or closure that determines if a character matches.

+
§Examples
+
let bananas = "bananas";
+
+assert!(bananas.contains("nana"));
+assert!(!bananas.contains("apples"));
+
1.0.0 · source

pub fn starts_with<P>(&self, pat: P) -> bool
where + P: Pattern,

Returns true if the given pattern matches a prefix of this +string slice.

+

Returns false if it does not.

+

The pattern can be a &str, in which case this function will return true if +the &str is a prefix of this string slice.

+

The pattern can also be a char, a slice of chars, or a +function or closure that determines if a character matches. +These will only be checked against the first character of this string slice. +Look at the second example below regarding behavior for slices of chars.

+
§Examples
+
let bananas = "bananas";
+
+assert!(bananas.starts_with("bana"));
+assert!(!bananas.starts_with("nana"));
+ +
let bananas = "bananas";
+
+// Note that both of these assert successfully.
+assert!(bananas.starts_with(&['b', 'a', 'n', 'a']));
+assert!(bananas.starts_with(&['a', 'b', 'c', 'd']));
+
1.0.0 · source

pub fn ends_with<P>(&self, pat: P) -> bool
where + P: Pattern, + <P as Pattern>::Searcher<'a>: for<'a> ReverseSearcher<'a>,

Returns true if the given pattern matches a suffix of this +string slice.

+

Returns false if it does not.

+

The pattern can be a &str, char, a slice of chars, or a +function or closure that determines if a character matches.

+
§Examples
+
let bananas = "bananas";
+
+assert!(bananas.ends_with("anas"));
+assert!(!bananas.ends_with("nana"));
+
1.0.0 · source

pub fn find<P>(&self, pat: P) -> Option<usize>
where + P: Pattern,

Returns the byte index of the first character of this string slice that +matches the pattern.

+

Returns None if the pattern doesn’t match.

+

The pattern can be a &str, char, a slice of chars, or a +function or closure that determines if a character matches.

+
§Examples
+

Simple patterns:

+ +
let s = "Löwe 老虎 Léopard Gepardi";
+
+assert_eq!(s.find('L'), Some(0));
+assert_eq!(s.find('é'), Some(14));
+assert_eq!(s.find("pard"), Some(17));
+

More complex patterns using point-free style and closures:

+ +
let s = "Löwe 老虎 Léopard";
+
+assert_eq!(s.find(char::is_whitespace), Some(5));
+assert_eq!(s.find(char::is_lowercase), Some(1));
+assert_eq!(s.find(|c: char| c.is_whitespace() || c.is_lowercase()), Some(1));
+assert_eq!(s.find(|c: char| (c < 'o') && (c > 'a')), Some(4));
+

Not finding the pattern:

+ +
let s = "Löwe 老虎 Léopard";
+let x: &[_] = &['1', '2'];
+
+assert_eq!(s.find(x), None);
+
1.0.0 · source

pub fn rfind<P>(&self, pat: P) -> Option<usize>
where + P: Pattern, + <P as Pattern>::Searcher<'a>: for<'a> ReverseSearcher<'a>,

Returns the byte index for the first character of the last match of the pattern in +this string slice.

+

Returns None if the pattern doesn’t match.

+

The pattern can be a &str, char, a slice of chars, or a +function or closure that determines if a character matches.

+
§Examples
+

Simple patterns:

+ +
let s = "Löwe 老虎 Léopard Gepardi";
+
+assert_eq!(s.rfind('L'), Some(13));
+assert_eq!(s.rfind('é'), Some(14));
+assert_eq!(s.rfind("pard"), Some(24));
+

More complex patterns with closures:

+ +
let s = "Löwe 老虎 Léopard";
+
+assert_eq!(s.rfind(char::is_whitespace), Some(12));
+assert_eq!(s.rfind(char::is_lowercase), Some(20));
+

Not finding the pattern:

+ +
let s = "Löwe 老虎 Léopard";
+let x: &[_] = &['1', '2'];
+
+assert_eq!(s.rfind(x), None);
+
1.0.0 · source

pub fn split<P>(&self, pat: P) -> Split<'_, P>
where + P: Pattern,

Returns an iterator over substrings of this string slice, separated by +characters matched by a pattern.

+

The pattern can be a &str, char, a slice of chars, or a +function or closure that determines if a character matches.

+
§Iterator behavior
+

The returned iterator will be a DoubleEndedIterator if the pattern +allows a reverse search and forward/reverse search yields the same +elements. This is true for, e.g., char, but not for &str.

+

If the pattern allows a reverse search but its results might differ +from a forward search, the rsplit method can be used.

+
§Examples
+

Simple patterns:

+ +
let v: Vec<&str> = "Mary had a little lamb".split(' ').collect();
+assert_eq!(v, ["Mary", "had", "a", "little", "lamb"]);
+
+let v: Vec<&str> = "".split('X').collect();
+assert_eq!(v, [""]);
+
+let v: Vec<&str> = "lionXXtigerXleopard".split('X').collect();
+assert_eq!(v, ["lion", "", "tiger", "leopard"]);
+
+let v: Vec<&str> = "lion::tiger::leopard".split("::").collect();
+assert_eq!(v, ["lion", "tiger", "leopard"]);
+
+let v: Vec<&str> = "abc1def2ghi".split(char::is_numeric).collect();
+assert_eq!(v, ["abc", "def", "ghi"]);
+
+let v: Vec<&str> = "lionXtigerXleopard".split(char::is_uppercase).collect();
+assert_eq!(v, ["lion", "tiger", "leopard"]);
+

If the pattern is a slice of chars, split on each occurrence of any of the characters:

+ +
let v: Vec<&str> = "2020-11-03 23:59".split(&['-', ' ', ':', '@'][..]).collect();
+assert_eq!(v, ["2020", "11", "03", "23", "59"]);
+

A more complex pattern, using a closure:

+ +
let v: Vec<&str> = "abc1defXghi".split(|c| c == '1' || c == 'X').collect();
+assert_eq!(v, ["abc", "def", "ghi"]);
+

If a string contains multiple contiguous separators, you will end up +with empty strings in the output:

+ +
let x = "||||a||b|c".to_string();
+let d: Vec<_> = x.split('|').collect();
+
+assert_eq!(d, &["", "", "", "", "a", "", "b", "c"]);
+

Contiguous separators are separated by the empty string.

+ +
let x = "(///)".to_string();
+let d: Vec<_> = x.split('/').collect();
+
+assert_eq!(d, &["(", "", "", ")"]);
+

Separators at the start or end of a string are neighbored +by empty strings.

+ +
let d: Vec<_> = "010".split("0").collect();
+assert_eq!(d, &["", "1", ""]);
+

When the empty string is used as a separator, it separates +every character in the string, along with the beginning +and end of the string.

+ +
let f: Vec<_> = "rust".split("").collect();
+assert_eq!(f, &["", "r", "u", "s", "t", ""]);
+

Contiguous separators can lead to possibly surprising behavior +when whitespace is used as the separator. This code is correct:

+ +
let x = "    a  b c".to_string();
+let d: Vec<_> = x.split(' ').collect();
+
+assert_eq!(d, &["", "", "", "", "a", "", "b", "c"]);
+

It does not give you:

+ +
assert_eq!(d, &["a", "b", "c"]);
+

Use split_whitespace for this behavior.

+
1.51.0 · source

pub fn split_inclusive<P>(&self, pat: P) -> SplitInclusive<'_, P>
where + P: Pattern,

Returns an iterator over substrings of this string slice, separated by +characters matched by a pattern.

+

Differs from the iterator produced by split in that split_inclusive +leaves the matched part as the terminator of the substring.

+

The pattern can be a &str, char, a slice of chars, or a +function or closure that determines if a character matches.

+
§Examples
+
let v: Vec<&str> = "Mary had a little lamb\nlittle lamb\nlittle lamb."
+    .split_inclusive('\n').collect();
+assert_eq!(v, ["Mary had a little lamb\n", "little lamb\n", "little lamb."]);
+

If the last element of the string is matched, +that element will be considered the terminator of the preceding substring. +That substring will be the last item returned by the iterator.

+ +
let v: Vec<&str> = "Mary had a little lamb\nlittle lamb\nlittle lamb.\n"
+    .split_inclusive('\n').collect();
+assert_eq!(v, ["Mary had a little lamb\n", "little lamb\n", "little lamb.\n"]);
+
1.0.0 · source

pub fn rsplit<P>(&self, pat: P) -> RSplit<'_, P>
where + P: Pattern, + <P as Pattern>::Searcher<'a>: for<'a> ReverseSearcher<'a>,

Returns an iterator over substrings of the given string slice, separated +by characters matched by a pattern and yielded in reverse order.

+

The pattern can be a &str, char, a slice of chars, or a +function or closure that determines if a character matches.

+
§Iterator behavior
+

The returned iterator requires that the pattern supports a reverse +search, and it will be a DoubleEndedIterator if a forward/reverse +search yields the same elements.

+

For iterating from the front, the split method can be used.

+
§Examples
+

Simple patterns:

+ +
let v: Vec<&str> = "Mary had a little lamb".rsplit(' ').collect();
+assert_eq!(v, ["lamb", "little", "a", "had", "Mary"]);
+
+let v: Vec<&str> = "".rsplit('X').collect();
+assert_eq!(v, [""]);
+
+let v: Vec<&str> = "lionXXtigerXleopard".rsplit('X').collect();
+assert_eq!(v, ["leopard", "tiger", "", "lion"]);
+
+let v: Vec<&str> = "lion::tiger::leopard".rsplit("::").collect();
+assert_eq!(v, ["leopard", "tiger", "lion"]);
+

A more complex pattern, using a closure:

+ +
let v: Vec<&str> = "abc1defXghi".rsplit(|c| c == '1' || c == 'X').collect();
+assert_eq!(v, ["ghi", "def", "abc"]);
+
1.0.0 · source

pub fn split_terminator<P>(&self, pat: P) -> SplitTerminator<'_, P>
where + P: Pattern,

Returns an iterator over substrings of the given string slice, separated +by characters matched by a pattern.

+

The pattern can be a &str, char, a slice of chars, or a +function or closure that determines if a character matches.

+

Equivalent to split, except that the trailing substring +is skipped if empty.

+

This method can be used for string data that is terminated, +rather than separated by a pattern.

+
§Iterator behavior
+

The returned iterator will be a DoubleEndedIterator if the pattern +allows a reverse search and forward/reverse search yields the same +elements. This is true for, e.g., char, but not for &str.

+

If the pattern allows a reverse search but its results might differ +from a forward search, the rsplit_terminator method can be used.

+
§Examples
+
let v: Vec<&str> = "A.B.".split_terminator('.').collect();
+assert_eq!(v, ["A", "B"]);
+
+let v: Vec<&str> = "A..B..".split_terminator(".").collect();
+assert_eq!(v, ["A", "", "B", ""]);
+
+let v: Vec<&str> = "A.B:C.D".split_terminator(&['.', ':'][..]).collect();
+assert_eq!(v, ["A", "B", "C", "D"]);
+
1.0.0 · source

pub fn rsplit_terminator<P>(&self, pat: P) -> RSplitTerminator<'_, P>
where + P: Pattern, + <P as Pattern>::Searcher<'a>: for<'a> ReverseSearcher<'a>,

Returns an iterator over substrings of self, separated by characters +matched by a pattern and yielded in reverse order.

+

The pattern can be a &str, char, a slice of chars, or a +function or closure that determines if a character matches.

+

Equivalent to split, except that the trailing substring is +skipped if empty.

+

This method can be used for string data that is terminated, +rather than separated by a pattern.

+
§Iterator behavior
+

The returned iterator requires that the pattern supports a +reverse search, and it will be double ended if a forward/reverse +search yields the same elements.

+

For iterating from the front, the split_terminator method can be +used.

+
§Examples
+
let v: Vec<&str> = "A.B.".rsplit_terminator('.').collect();
+assert_eq!(v, ["B", "A"]);
+
+let v: Vec<&str> = "A..B..".rsplit_terminator(".").collect();
+assert_eq!(v, ["", "B", "", "A"]);
+
+let v: Vec<&str> = "A.B:C.D".rsplit_terminator(&['.', ':'][..]).collect();
+assert_eq!(v, ["D", "C", "B", "A"]);
+
1.0.0 · source

pub fn splitn<P>(&self, n: usize, pat: P) -> SplitN<'_, P>
where + P: Pattern,

Returns an iterator over substrings of the given string slice, separated +by a pattern, restricted to returning at most n items.

+

If n substrings are returned, the last substring (the nth substring) +will contain the remainder of the string.

+

The pattern can be a &str, char, a slice of chars, or a +function or closure that determines if a character matches.

+
§Iterator behavior
+

The returned iterator will not be double ended, because it is +not efficient to support.

+

If the pattern allows a reverse search, the rsplitn method can be +used.

+
§Examples
+

Simple patterns:

+ +
let v: Vec<&str> = "Mary had a little lambda".splitn(3, ' ').collect();
+assert_eq!(v, ["Mary", "had", "a little lambda"]);
+
+let v: Vec<&str> = "lionXXtigerXleopard".splitn(3, "X").collect();
+assert_eq!(v, ["lion", "", "tigerXleopard"]);
+
+let v: Vec<&str> = "abcXdef".splitn(1, 'X').collect();
+assert_eq!(v, ["abcXdef"]);
+
+let v: Vec<&str> = "".splitn(1, 'X').collect();
+assert_eq!(v, [""]);
+

A more complex pattern, using a closure:

+ +
let v: Vec<&str> = "abc1defXghi".splitn(2, |c| c == '1' || c == 'X').collect();
+assert_eq!(v, ["abc", "defXghi"]);
+
1.0.0 · source

pub fn rsplitn<P>(&self, n: usize, pat: P) -> RSplitN<'_, P>
where + P: Pattern, + <P as Pattern>::Searcher<'a>: for<'a> ReverseSearcher<'a>,

Returns an iterator over substrings of this string slice, separated by a +pattern, starting from the end of the string, restricted to returning at +most n items.

+

If n substrings are returned, the last substring (the nth substring) +will contain the remainder of the string.

+

The pattern can be a &str, char, a slice of chars, or a +function or closure that determines if a character matches.

+
§Iterator behavior
+

The returned iterator will not be double ended, because it is not +efficient to support.

+

For splitting from the front, the splitn method can be used.

+
§Examples
+

Simple patterns:

+ +
let v: Vec<&str> = "Mary had a little lamb".rsplitn(3, ' ').collect();
+assert_eq!(v, ["lamb", "little", "Mary had a"]);
+
+let v: Vec<&str> = "lionXXtigerXleopard".rsplitn(3, 'X').collect();
+assert_eq!(v, ["leopard", "tiger", "lionX"]);
+
+let v: Vec<&str> = "lion::tiger::leopard".rsplitn(2, "::").collect();
+assert_eq!(v, ["leopard", "lion::tiger"]);
+

A more complex pattern, using a closure:

+ +
let v: Vec<&str> = "abc1defXghi".rsplitn(2, |c| c == '1' || c == 'X').collect();
+assert_eq!(v, ["ghi", "abc1def"]);
+
1.52.0 · source

pub fn split_once<P>(&self, delimiter: P) -> Option<(&str, &str)>
where + P: Pattern,

Splits the string on the first occurrence of the specified delimiter and +returns prefix before delimiter and suffix after delimiter.

+
§Examples
+
assert_eq!("cfg".split_once('='), None);
+assert_eq!("cfg=".split_once('='), Some(("cfg", "")));
+assert_eq!("cfg=foo".split_once('='), Some(("cfg", "foo")));
+assert_eq!("cfg=foo=bar".split_once('='), Some(("cfg", "foo=bar")));
+
1.52.0 · source

pub fn rsplit_once<P>(&self, delimiter: P) -> Option<(&str, &str)>
where + P: Pattern, + <P as Pattern>::Searcher<'a>: for<'a> ReverseSearcher<'a>,

Splits the string on the last occurrence of the specified delimiter and +returns prefix before delimiter and suffix after delimiter.

+
§Examples
+
assert_eq!("cfg".rsplit_once('='), None);
+assert_eq!("cfg=foo".rsplit_once('='), Some(("cfg", "foo")));
+assert_eq!("cfg=foo=bar".rsplit_once('='), Some(("cfg=foo", "bar")));
+
1.2.0 · source

pub fn matches<P>(&self, pat: P) -> Matches<'_, P>
where + P: Pattern,

Returns an iterator over the disjoint matches of a pattern within the +given string slice.

+

The pattern can be a &str, char, a slice of chars, or a +function or closure that determines if a character matches.

+
§Iterator behavior
+

The returned iterator will be a DoubleEndedIterator if the pattern +allows a reverse search and forward/reverse search yields the same +elements. This is true for, e.g., char, but not for &str.

+

If the pattern allows a reverse search but its results might differ +from a forward search, the rmatches method can be used.

+
§Examples
+
let v: Vec<&str> = "abcXXXabcYYYabc".matches("abc").collect();
+assert_eq!(v, ["abc", "abc", "abc"]);
+
+let v: Vec<&str> = "1abc2abc3".matches(char::is_numeric).collect();
+assert_eq!(v, ["1", "2", "3"]);
+
1.2.0 · source

pub fn rmatches<P>(&self, pat: P) -> RMatches<'_, P>
where + P: Pattern, + <P as Pattern>::Searcher<'a>: for<'a> ReverseSearcher<'a>,

Returns an iterator over the disjoint matches of a pattern within this +string slice, yielded in reverse order.

+

The pattern can be a &str, char, a slice of chars, or a +function or closure that determines if a character matches.

+
§Iterator behavior
+

The returned iterator requires that the pattern supports a reverse +search, and it will be a DoubleEndedIterator if a forward/reverse +search yields the same elements.

+

For iterating from the front, the matches method can be used.

+
§Examples
+
let v: Vec<&str> = "abcXXXabcYYYabc".rmatches("abc").collect();
+assert_eq!(v, ["abc", "abc", "abc"]);
+
+let v: Vec<&str> = "1abc2abc3".rmatches(char::is_numeric).collect();
+assert_eq!(v, ["3", "2", "1"]);
+
1.5.0 · source

pub fn match_indices<P>(&self, pat: P) -> MatchIndices<'_, P>
where + P: Pattern,

Returns an iterator over the disjoint matches of a pattern within this string +slice as well as the index that the match starts at.

+

For matches of pat within self that overlap, only the indices +corresponding to the first match are returned.

+

The pattern can be a &str, char, a slice of chars, or a +function or closure that determines if a character matches.

+
§Iterator behavior
+

The returned iterator will be a DoubleEndedIterator if the pattern +allows a reverse search and forward/reverse search yields the same +elements. This is true for, e.g., char, but not for &str.

+

If the pattern allows a reverse search but its results might differ +from a forward search, the rmatch_indices method can be used.

+
§Examples
+
let v: Vec<_> = "abcXXXabcYYYabc".match_indices("abc").collect();
+assert_eq!(v, [(0, "abc"), (6, "abc"), (12, "abc")]);
+
+let v: Vec<_> = "1abcabc2".match_indices("abc").collect();
+assert_eq!(v, [(1, "abc"), (4, "abc")]);
+
+let v: Vec<_> = "ababa".match_indices("aba").collect();
+assert_eq!(v, [(0, "aba")]); // only the first `aba`
+
1.5.0 · source

pub fn rmatch_indices<P>(&self, pat: P) -> RMatchIndices<'_, P>
where + P: Pattern, + <P as Pattern>::Searcher<'a>: for<'a> ReverseSearcher<'a>,

Returns an iterator over the disjoint matches of a pattern within self, +yielded in reverse order along with the index of the match.

+

For matches of pat within self that overlap, only the indices +corresponding to the last match are returned.

+

The pattern can be a &str, char, a slice of chars, or a +function or closure that determines if a character matches.

+
§Iterator behavior
+

The returned iterator requires that the pattern supports a reverse +search, and it will be a DoubleEndedIterator if a forward/reverse +search yields the same elements.

+

For iterating from the front, the match_indices method can be used.

+
§Examples
+
let v: Vec<_> = "abcXXXabcYYYabc".rmatch_indices("abc").collect();
+assert_eq!(v, [(12, "abc"), (6, "abc"), (0, "abc")]);
+
+let v: Vec<_> = "1abcabc2".rmatch_indices("abc").collect();
+assert_eq!(v, [(4, "abc"), (1, "abc")]);
+
+let v: Vec<_> = "ababa".rmatch_indices("aba").collect();
+assert_eq!(v, [(2, "aba")]); // only the last `aba`
+
1.0.0 · source

pub fn trim(&self) -> &str

Returns a string slice with leading and trailing whitespace removed.

+

‘Whitespace’ is defined according to the terms of the Unicode Derived +Core Property White_Space, which includes newlines.

+
§Examples
+
let s = "\n Hello\tworld\t\n";
+
+assert_eq!("Hello\tworld", s.trim());
+
1.30.0 · source

pub fn trim_start(&self) -> &str

Returns a string slice with leading whitespace removed.

+

‘Whitespace’ is defined according to the terms of the Unicode Derived +Core Property White_Space, which includes newlines.

+
§Text directionality
+

A string is a sequence of bytes. start in this context means the first +position of that byte string; for a left-to-right language like English or +Russian, this will be left side, and for right-to-left languages like +Arabic or Hebrew, this will be the right side.

+
§Examples
+

Basic usage:

+ +
let s = "\n Hello\tworld\t\n";
+assert_eq!("Hello\tworld\t\n", s.trim_start());
+

Directionality:

+ +
let s = "  English  ";
+assert!(Some('E') == s.trim_start().chars().next());
+
+let s = "  עברית  ";
+assert!(Some('ע') == s.trim_start().chars().next());
+
1.30.0 · source

pub fn trim_end(&self) -> &str

Returns a string slice with trailing whitespace removed.

+

‘Whitespace’ is defined according to the terms of the Unicode Derived +Core Property White_Space, which includes newlines.

+
§Text directionality
+

A string is a sequence of bytes. end in this context means the last +position of that byte string; for a left-to-right language like English or +Russian, this will be right side, and for right-to-left languages like +Arabic or Hebrew, this will be the left side.

+
§Examples
+

Basic usage:

+ +
let s = "\n Hello\tworld\t\n";
+assert_eq!("\n Hello\tworld", s.trim_end());
+

Directionality:

+ +
let s = "  English  ";
+assert!(Some('h') == s.trim_end().chars().rev().next());
+
+let s = "  עברית  ";
+assert!(Some('ת') == s.trim_end().chars().rev().next());
+
1.0.0 · source

pub fn trim_left(&self) -> &str

👎Deprecated since 1.33.0: superseded by trim_start

Returns a string slice with leading whitespace removed.

+

‘Whitespace’ is defined according to the terms of the Unicode Derived +Core Property White_Space.

+
§Text directionality
+

A string is a sequence of bytes. ‘Left’ in this context means the first +position of that byte string; for a language like Arabic or Hebrew +which are ‘right to left’ rather than ‘left to right’, this will be +the right side, not the left.

+
§Examples
+

Basic usage:

+ +
let s = " Hello\tworld\t";
+
+assert_eq!("Hello\tworld\t", s.trim_left());
+

Directionality:

+ +
let s = "  English";
+assert!(Some('E') == s.trim_left().chars().next());
+
+let s = "  עברית";
+assert!(Some('ע') == s.trim_left().chars().next());
+
1.0.0 · source

pub fn trim_right(&self) -> &str

👎Deprecated since 1.33.0: superseded by trim_end

Returns a string slice with trailing whitespace removed.

+

‘Whitespace’ is defined according to the terms of the Unicode Derived +Core Property White_Space.

+
§Text directionality
+

A string is a sequence of bytes. ‘Right’ in this context means the last +position of that byte string; for a language like Arabic or Hebrew +which are ‘right to left’ rather than ‘left to right’, this will be +the left side, not the right.

+
§Examples
+

Basic usage:

+ +
let s = " Hello\tworld\t";
+
+assert_eq!(" Hello\tworld", s.trim_right());
+

Directionality:

+ +
let s = "English  ";
+assert!(Some('h') == s.trim_right().chars().rev().next());
+
+let s = "עברית  ";
+assert!(Some('ת') == s.trim_right().chars().rev().next());
+
1.0.0 · source

pub fn trim_matches<P>(&self, pat: P) -> &str
where + P: Pattern, + <P as Pattern>::Searcher<'a>: for<'a> DoubleEndedSearcher<'a>,

Returns a string slice with all prefixes and suffixes that match a +pattern repeatedly removed.

+

The pattern can be a char, a slice of chars, or a function +or closure that determines if a character matches.

+
§Examples
+

Simple patterns:

+ +
assert_eq!("11foo1bar11".trim_matches('1'), "foo1bar");
+assert_eq!("123foo1bar123".trim_matches(char::is_numeric), "foo1bar");
+
+let x: &[_] = &['1', '2'];
+assert_eq!("12foo1bar12".trim_matches(x), "foo1bar");
+

A more complex pattern, using a closure:

+ +
assert_eq!("1foo1barXX".trim_matches(|c| c == '1' || c == 'X'), "foo1bar");
+
1.30.0 · source

pub fn trim_start_matches<P>(&self, pat: P) -> &str
where + P: Pattern,

Returns a string slice with all prefixes that match a pattern +repeatedly removed.

+

The pattern can be a &str, char, a slice of chars, or a +function or closure that determines if a character matches.

+
§Text directionality
+

A string is a sequence of bytes. start in this context means the first +position of that byte string; for a left-to-right language like English or +Russian, this will be left side, and for right-to-left languages like +Arabic or Hebrew, this will be the right side.

+
§Examples
+
assert_eq!("11foo1bar11".trim_start_matches('1'), "foo1bar11");
+assert_eq!("123foo1bar123".trim_start_matches(char::is_numeric), "foo1bar123");
+
+let x: &[_] = &['1', '2'];
+assert_eq!("12foo1bar12".trim_start_matches(x), "foo1bar12");
+
1.45.0 · source

pub fn strip_prefix<P>(&self, prefix: P) -> Option<&str>
where + P: Pattern,

Returns a string slice with the prefix removed.

+

If the string starts with the pattern prefix, returns the substring after the prefix, +wrapped in Some. Unlike trim_start_matches, this method removes the prefix exactly once.

+

If the string does not start with prefix, returns None.

+

The pattern can be a &str, char, a slice of chars, or a +function or closure that determines if a character matches.

+
§Examples
+
assert_eq!("foo:bar".strip_prefix("foo:"), Some("bar"));
+assert_eq!("foo:bar".strip_prefix("bar"), None);
+assert_eq!("foofoo".strip_prefix("foo"), Some("foo"));
+
1.45.0 · source

pub fn strip_suffix<P>(&self, suffix: P) -> Option<&str>
where + P: Pattern, + <P as Pattern>::Searcher<'a>: for<'a> ReverseSearcher<'a>,

Returns a string slice with the suffix removed.

+

If the string ends with the pattern suffix, returns the substring before the suffix, +wrapped in Some. Unlike trim_end_matches, this method removes the suffix exactly once.

+

If the string does not end with suffix, returns None.

+

The pattern can be a &str, char, a slice of chars, or a +function or closure that determines if a character matches.

+
§Examples
+
assert_eq!("bar:foo".strip_suffix(":foo"), Some("bar"));
+assert_eq!("bar:foo".strip_suffix("bar"), None);
+assert_eq!("foofoo".strip_suffix("foo"), Some("foo"));
+
1.30.0 · source

pub fn trim_end_matches<P>(&self, pat: P) -> &str
where + P: Pattern, + <P as Pattern>::Searcher<'a>: for<'a> ReverseSearcher<'a>,

Returns a string slice with all suffixes that match a pattern +repeatedly removed.

+

The pattern can be a &str, char, a slice of chars, or a +function or closure that determines if a character matches.

+
§Text directionality
+

A string is a sequence of bytes. end in this context means the last +position of that byte string; for a left-to-right language like English or +Russian, this will be right side, and for right-to-left languages like +Arabic or Hebrew, this will be the left side.

+
§Examples
+

Simple patterns:

+ +
assert_eq!("11foo1bar11".trim_end_matches('1'), "11foo1bar");
+assert_eq!("123foo1bar123".trim_end_matches(char::is_numeric), "123foo1bar");
+
+let x: &[_] = &['1', '2'];
+assert_eq!("12foo1bar12".trim_end_matches(x), "12foo1bar");
+

A more complex pattern, using a closure:

+ +
assert_eq!("1fooX".trim_end_matches(|c| c == '1' || c == 'X'), "1foo");
+
1.0.0 · source

pub fn trim_left_matches<P>(&self, pat: P) -> &str
where + P: Pattern,

👎Deprecated since 1.33.0: superseded by trim_start_matches

Returns a string slice with all prefixes that match a pattern +repeatedly removed.

+

The pattern can be a &str, char, a slice of chars, or a +function or closure that determines if a character matches.

+
§Text directionality
+

A string is a sequence of bytes. ‘Left’ in this context means the first +position of that byte string; for a language like Arabic or Hebrew +which are ‘right to left’ rather than ‘left to right’, this will be +the right side, not the left.

+
§Examples
+
assert_eq!("11foo1bar11".trim_left_matches('1'), "foo1bar11");
+assert_eq!("123foo1bar123".trim_left_matches(char::is_numeric), "foo1bar123");
+
+let x: &[_] = &['1', '2'];
+assert_eq!("12foo1bar12".trim_left_matches(x), "foo1bar12");
+
1.0.0 · source

pub fn trim_right_matches<P>(&self, pat: P) -> &str
where + P: Pattern, + <P as Pattern>::Searcher<'a>: for<'a> ReverseSearcher<'a>,

👎Deprecated since 1.33.0: superseded by trim_end_matches

Returns a string slice with all suffixes that match a pattern +repeatedly removed.

+

The pattern can be a &str, char, a slice of chars, or a +function or closure that determines if a character matches.

+
§Text directionality
+

A string is a sequence of bytes. ‘Right’ in this context means the last +position of that byte string; for a language like Arabic or Hebrew +which are ‘right to left’ rather than ‘left to right’, this will be +the left side, not the right.

+
§Examples
+

Simple patterns:

+ +
assert_eq!("11foo1bar11".trim_right_matches('1'), "11foo1bar");
+assert_eq!("123foo1bar123".trim_right_matches(char::is_numeric), "123foo1bar");
+
+let x: &[_] = &['1', '2'];
+assert_eq!("12foo1bar12".trim_right_matches(x), "12foo1bar");
+

A more complex pattern, using a closure:

+ +
assert_eq!("1fooX".trim_right_matches(|c| c == '1' || c == 'X'), "1foo");
+
1.0.0 · source

pub fn parse<F>(&self) -> Result<F, <F as FromStr>::Err>
where + F: FromStr,

Parses this string slice into another type.

+

Because parse is so general, it can cause problems with type +inference. As such, parse is one of the few times you’ll see +the syntax affectionately known as the ‘turbofish’: ::<>. This +helps the inference algorithm understand specifically which type +you’re trying to parse into.

+

parse can parse into any type that implements the FromStr trait.

+
§Errors
+

Will return Err if it’s not possible to parse this string slice into +the desired type.

+
§Examples
+

Basic usage

+ +
let four: u32 = "4".parse().unwrap();
+
+assert_eq!(4, four);
+

Using the ‘turbofish’ instead of annotating four:

+ +
let four = "4".parse::<u32>();
+
+assert_eq!(Ok(4), four);
+

Failing to parse:

+ +
let nope = "j".parse::<u32>();
+
+assert!(nope.is_err());
+
1.23.0 · source

pub fn is_ascii(&self) -> bool

Checks if all characters in this string are within the ASCII range.

+
§Examples
+
let ascii = "hello!\n";
+let non_ascii = "Grüße, Jürgen ❤";
+
+assert!(ascii.is_ascii());
+assert!(!non_ascii.is_ascii());
+
source

pub fn as_ascii(&self) -> Option<&[AsciiChar]>

🔬This is a nightly-only experimental API. (ascii_char)

If this string slice is_ascii, returns it as a slice +of ASCII characters, otherwise returns None.

+
1.23.0 · source

pub fn eq_ignore_ascii_case(&self, other: &str) -> bool

Checks that two strings are an ASCII case-insensitive match.

+

Same as to_ascii_lowercase(a) == to_ascii_lowercase(b), +but without allocating and copying temporaries.

+
§Examples
+
assert!("Ferris".eq_ignore_ascii_case("FERRIS"));
+assert!("Ferrös".eq_ignore_ascii_case("FERRöS"));
+assert!(!"Ferrös".eq_ignore_ascii_case("FERRÖS"));
+
1.80.0 · source

pub fn trim_ascii_start(&self) -> &str

Returns a string slice with leading ASCII whitespace removed.

+

‘Whitespace’ refers to the definition used by +u8::is_ascii_whitespace.

+
§Examples
+
assert_eq!(" \t \u{3000}hello world\n".trim_ascii_start(), "\u{3000}hello world\n");
+assert_eq!("  ".trim_ascii_start(), "");
+assert_eq!("".trim_ascii_start(), "");
+
1.80.0 · source

pub fn trim_ascii_end(&self) -> &str

Returns a string slice with trailing ASCII whitespace removed.

+

‘Whitespace’ refers to the definition used by +u8::is_ascii_whitespace.

+
§Examples
+
assert_eq!("\r hello world\u{3000}\n ".trim_ascii_end(), "\r hello world\u{3000}");
+assert_eq!("  ".trim_ascii_end(), "");
+assert_eq!("".trim_ascii_end(), "");
+
1.80.0 · source

pub fn trim_ascii(&self) -> &str

Returns a string slice with leading and trailing ASCII whitespace +removed.

+

‘Whitespace’ refers to the definition used by +u8::is_ascii_whitespace.

+
§Examples
+
assert_eq!("\r hello world\n ".trim_ascii(), "hello world");
+assert_eq!("  ".trim_ascii(), "");
+assert_eq!("".trim_ascii(), "");
+
1.34.0 · source

pub fn escape_debug(&self) -> EscapeDebug<'_>

Returns an iterator that escapes each char in self with char::escape_debug.

+

Note: only extended grapheme codepoints that begin the string will be +escaped.

+
§Examples
+

As an iterator:

+ +
for c in "❤\n!".escape_debug() {
+    print!("{c}");
+}
+println!();
+

Using println! directly:

+ +
println!("{}", "❤\n!".escape_debug());
+

Both are equivalent to:

+ +
println!("❤\\n!");
+

Using to_string:

+ +
assert_eq!("❤\n!".escape_debug().to_string(), "❤\\n!");
+
1.34.0 · source

pub fn escape_default(&self) -> EscapeDefault<'_>

Returns an iterator that escapes each char in self with char::escape_default.

+
§Examples
+

As an iterator:

+ +
for c in "❤\n!".escape_default() {
+    print!("{c}");
+}
+println!();
+

Using println! directly:

+ +
println!("{}", "❤\n!".escape_default());
+

Both are equivalent to:

+ +
println!("\\u{{2764}}\\n!");
+

Using to_string:

+ +
assert_eq!("❤\n!".escape_default().to_string(), "\\u{2764}\\n!");
+
1.34.0 · source

pub fn escape_unicode(&self) -> EscapeUnicode<'_>

Returns an iterator that escapes each char in self with char::escape_unicode.

+
§Examples
+

As an iterator:

+ +
for c in "❤\n!".escape_unicode() {
+    print!("{c}");
+}
+println!();
+

Using println! directly:

+ +
println!("{}", "❤\n!".escape_unicode());
+

Both are equivalent to:

+ +
println!("\\u{{2764}}\\u{{a}}\\u{{21}}");
+

Using to_string:

+ +
assert_eq!("❤\n!".escape_unicode().to_string(), "\\u{2764}\\u{a}\\u{21}");
+
source

pub fn substr_range(&self, substr: &str) -> Option<Range<usize>>

🔬This is a nightly-only experimental API. (substr_range)

Returns the range that a substring points to.

+

Returns None if substr does not point within self.

+

Unlike str::find, this does not search through the string. +Instead, it uses pointer arithmetic to find where in the string +substr is derived from.

+

This is useful for extending str::split and similar methods.

+

Note that this method may return false positives (typically either +Some(0..0) or Some(self.len()..self.len())) if substr is a +zero-length str that points at the beginning or end of another, +independent, str.

+
§Examples
+
#![feature(substr_range)]
+
+let data = "a, b, b, a";
+let mut iter = data.split(", ").map(|s| data.substr_range(s).unwrap());
+
+assert_eq!(iter.next(), Some(0..1));
+assert_eq!(iter.next(), Some(3..4));
+assert_eq!(iter.next(), Some(6..7));
+assert_eq!(iter.next(), Some(9..10));
+
1.0.0 · source

pub fn replace<P>(&self, from: P, to: &str) -> String
where + P: Pattern,

Replaces all matches of a pattern with another string.

+

replace creates a new String, and copies the data from this string slice into it. +While doing so, it attempts to find matches of a pattern. If it finds any, it +replaces them with the replacement string slice.

+
§Examples
+

Basic usage:

+ +
let s = "this is old";
+
+assert_eq!("this is new", s.replace("old", "new"));
+assert_eq!("than an old", s.replace("is", "an"));
+

When the pattern doesn’t match, it returns this string slice as String:

+ +
let s = "this is old";
+assert_eq!(s, s.replace("cookie monster", "little lamb"));
+
1.16.0 · source

pub fn replacen<P>(&self, pat: P, to: &str, count: usize) -> String
where + P: Pattern,

Replaces first N matches of a pattern with another string.

+

replacen creates a new String, and copies the data from this string slice into it. +While doing so, it attempts to find matches of a pattern. If it finds any, it +replaces them with the replacement string slice at most count times.

+
§Examples
+

Basic usage:

+ +
let s = "foo foo 123 foo";
+assert_eq!("new new 123 foo", s.replacen("foo", "new", 2));
+assert_eq!("faa fao 123 foo", s.replacen('o', "a", 3));
+assert_eq!("foo foo new23 foo", s.replacen(char::is_numeric, "new", 1));
+

When the pattern doesn’t match, it returns this string slice as String:

+ +
let s = "this is old";
+assert_eq!(s, s.replacen("cookie monster", "little lamb", 10));
+
1.2.0 · source

pub fn to_lowercase(&self) -> String

Returns the lowercase equivalent of this string slice, as a new String.

+

‘Lowercase’ is defined according to the terms of the Unicode Derived Core Property +Lowercase.

+

Since some characters can expand into multiple characters when changing +the case, this function returns a String instead of modifying the +parameter in-place.

+
§Examples
+

Basic usage:

+ +
let s = "HELLO";
+
+assert_eq!("hello", s.to_lowercase());
+

A tricky example, with sigma:

+ +
let sigma = "Σ";
+
+assert_eq!("σ", sigma.to_lowercase());
+
+// but at the end of a word, it's ς, not σ:
+let odysseus = "ὈΔΥΣΣΕΎΣ";
+
+assert_eq!("ὀδυσσεύς", odysseus.to_lowercase());
+

Languages without case are not changed:

+ +
let new_year = "农历新年";
+
+assert_eq!(new_year, new_year.to_lowercase());
+
1.2.0 · source

pub fn to_uppercase(&self) -> String

Returns the uppercase equivalent of this string slice, as a new String.

+

‘Uppercase’ is defined according to the terms of the Unicode Derived Core Property +Uppercase.

+

Since some characters can expand into multiple characters when changing +the case, this function returns a String instead of modifying the +parameter in-place.

+
§Examples
+

Basic usage:

+ +
let s = "hello";
+
+assert_eq!("HELLO", s.to_uppercase());
+

Scripts without case are not changed:

+ +
let new_year = "农历新年";
+
+assert_eq!(new_year, new_year.to_uppercase());
+

One character can become multiple:

+ +
let s = "tschüß";
+
+assert_eq!("TSCHÜSS", s.to_uppercase());
+
1.16.0 · source

pub fn repeat(&self, n: usize) -> String

Creates a new String by repeating a string n times.

+
§Panics
+

This function will panic if the capacity would overflow.

+
§Examples
+

Basic usage:

+ +
assert_eq!("abc".repeat(4), String::from("abcabcabcabc"));
+

A panic upon overflow:

+ +
// this will panic at runtime
+let huge = "0123456789abcdef".repeat(usize::MAX);
+
1.23.0 · source

pub fn to_ascii_uppercase(&self) -> String

Returns a copy of this string where each character is mapped to its +ASCII upper case equivalent.

+

ASCII letters ‘a’ to ‘z’ are mapped to ‘A’ to ‘Z’, +but non-ASCII letters are unchanged.

+

To uppercase the value in-place, use make_ascii_uppercase.

+

To uppercase ASCII characters in addition to non-ASCII characters, use +to_uppercase.

+
§Examples
+
let s = "Grüße, Jürgen ❤";
+
+assert_eq!("GRüßE, JüRGEN ❤", s.to_ascii_uppercase());
+
1.23.0 · source

pub fn to_ascii_lowercase(&self) -> String

Returns a copy of this string where each character is mapped to its +ASCII lower case equivalent.

+

ASCII letters ‘A’ to ‘Z’ are mapped to ‘a’ to ‘z’, +but non-ASCII letters are unchanged.

+

To lowercase the value in-place, use make_ascii_lowercase.

+

To lowercase ASCII characters in addition to non-ASCII characters, use +to_lowercase.

+
§Examples
+
let s = "Grüße, Jürgen ❤";
+
+assert_eq!("grüße, jürgen ❤", s.to_ascii_lowercase());
+

Trait Implementations§

§

impl Archive for SmolStr

§

type Archived = ArchivedString

The archived representation of this type. Read more
§

type Resolver = StringResolver

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
§

fn resolve( + &self, + resolver: <SmolStr as Archive>::Resolver, + out: Place<<SmolStr as Archive>::Archived>, +)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
§

impl AsRef<[u8]> for SmolStr

§

fn as_ref(&self) -> &[u8]

Converts this type into a shared reference of the (usually inferred) input type.
§

impl AsRef<OsStr> for SmolStr

§

fn as_ref(&self) -> &OsStr

Converts this type into a shared reference of the (usually inferred) input type.
§

impl AsRef<Path> for SmolStr

§

fn as_ref(&self) -> &Path

Converts this type into a shared reference of the (usually inferred) input type.
§

impl AsRef<str> for SmolStr

§

fn as_ref(&self) -> &str

Converts this type into a shared reference of the (usually inferred) input type.
§

impl Borrow<str> for SmolStr

§

fn borrow(&self) -> &str

Immutably borrows from an owned value. Read more
§

impl Clone for SmolStr

§

fn clone(&self) -> SmolStr

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for SmolStr

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl Default for SmolStr

§

fn default() -> SmolStr

Returns the “default value” for a type. Read more
§

impl Deref for SmolStr

§

type Target = str

The resulting type after dereferencing.
§

fn deref(&self) -> &str

Dereferences the value.
§

impl<'de> Deserialize<'de> for SmolStr

§

fn deserialize<D>( + deserializer: D, +) -> Result<SmolStr, <D as Deserializer<'de>>::Error>
where + D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
§

impl Display for SmolStr

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl From<&String> for SmolStr

§

fn from(s: &String) -> SmolStr

Converts to this type from the input type.
§

impl From<&mut str> for SmolStr

§

fn from(s: &mut str) -> SmolStr

Converts to this type from the input type.
§

impl From<&str> for SmolStr

§

fn from(s: &str) -> SmolStr

Converts to this type from the input type.
§

impl From<Arc<str>> for SmolStr

§

fn from(s: Arc<str>) -> SmolStr

Converts to this type from the input type.
§

impl From<Box<str>> for SmolStr

§

fn from(s: Box<str>) -> SmolStr

Converts to this type from the input type.
§

impl<'a> From<Cow<'a, str>> for SmolStr

§

fn from(s: Cow<'a, str>) -> SmolStr

Converts to this type from the input type.
source§

impl<const N: usize> From<FixedStr<N>> for SmolStr

source§

fn from(fixed: FixedStr<N>) -> Self

Converts to this type from the input type.
§

impl From<SmolStr> for Arc<str>

§

fn from(text: SmolStr) -> Arc<str>

Converts to this type from the input type.
§

impl From<SmolStrBuilder> for SmolStr

§

fn from(value: SmolStrBuilder) -> SmolStr

Converts to this type from the input type.
§

impl From<String> for SmolStr

§

fn from(text: String) -> SmolStr

Converts to this type from the input type.
§

impl<'a> FromIterator<&'a String> for SmolStr

§

fn from_iter<I>(iter: I) -> SmolStr
where + I: IntoIterator<Item = &'a String>,

Creates a value from an iterator. Read more
§

impl<'a> FromIterator<&'a str> for SmolStr

§

fn from_iter<I>(iter: I) -> SmolStr
where + I: IntoIterator<Item = &'a str>,

Creates a value from an iterator. Read more
§

impl FromIterator<String> for SmolStr

§

fn from_iter<I>(iter: I) -> SmolStr
where + I: IntoIterator<Item = String>,

Creates a value from an iterator. Read more
§

impl FromIterator<char> for SmolStr

§

fn from_iter<I>(iter: I) -> SmolStr
where + I: IntoIterator<Item = char>,

Creates a value from an iterator. Read more
§

impl FromStr for SmolStr

§

type Err = Infallible

The associated error which can be returned from parsing.
§

fn from_str(s: &str) -> Result<SmolStr, <SmolStr as FromStr>::Err>

Parses a string s to return a value of this type. Read more
§

impl Hash for SmolStr

§

fn hash<H>(&self, hasher: &mut H)
where + H: Hasher,

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where + H: Hasher, + Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
§

impl Ord for SmolStr

§

fn cmp(&self, other: &SmolStr) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Self
where + Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Self
where + Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · source§

fn clamp(self, min: Self, max: Self) -> Self
where + Self: Sized + PartialOrd,

Restrict a value to a certain interval. Read more
§

impl<'a> PartialEq<&'a String> for SmolStr

§

fn eq(&self, other: &&'a String) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
§

impl<'a> PartialEq<&'a str> for SmolStr

§

fn eq(&self, other: &&'a str) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
§

impl<'a> PartialEq<SmolStr> for &'a str

§

fn eq(&self, other: &SmolStr) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
§

impl PartialEq<SmolStr> for str

§

fn eq(&self, other: &SmolStr) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
§

impl PartialEq<String> for SmolStr

§

fn eq(&self, other: &String) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
§

impl PartialEq<str> for SmolStr

§

fn eq(&self, other: &str) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
§

impl PartialEq for SmolStr

§

fn eq(&self, other: &SmolStr) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
§

impl PartialOrd for SmolStr

§

fn partial_cmp(&self, other: &SmolStr) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the +<= operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > +operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by +the >= operator. Read more
§

impl<S> Serialize<S> for SmolStr
where + S: Fallible + Allocator + Writer + ?Sized, + <S as Fallible>::Error: Source,

§

fn serialize( + &self, + serializer: &mut S, +) -> Result<<SmolStr as Archive>::Resolver, <S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.
§

impl Serialize for SmolStr

§

fn serialize<S>( + &self, + serializer: S, +) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
where + S: Serializer,

Serialize this value into the given Serde serializer. Read more
§

impl Eq for SmolStr

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where + T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
§

impl<Q, K> Comparable<K> for Q
where + Q: Ord + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn compare(&self, key: &K) -> Ordering

Compare self to key and return their ordering.
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T> ToOwned for T
where + T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
§

impl<T> ToSmolStr for T
where + T: Display + ?Sized,

§

fn to_smolstr(&self) -> SmolStr

source§

impl<T> ToString for T
where + T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
source§

impl<T> CommandBody for T
where + T: Send + Serialize + Archive,

source§

impl<T> CommandResult for T
where + T: Send + DeserializeOwned + Serialize + Archive,

source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/struct.Snowflake.html b/client_sdk/models/struct.Snowflake.html new file mode 100644 index 000000000..68235d6bf --- /dev/null +++ b/client_sdk/models/struct.Snowflake.html @@ -0,0 +1,113 @@ +Snowflake in client_sdk::models - Rust

Struct client_sdk::models::Snowflake

#[repr(transparent)]
pub struct Snowflake(pub NonZero<u64>);
Expand description

Snowflake Identifier as used in Lantern Chat.

+

Tuple Fields§

§0: NonZero<u64>

Implementations§

§

impl Snowflake

pub const unsafe fn from_u64_unchecked(value: u64) -> Snowflake

Create a new Snowflake from the given 64-bit unsigned integer without checking +whether the value is non-zero. This results in undefined behaviour if the value is zero.

+
§Safety
+

The value must not be zero.

+

pub const fn null() -> Snowflake

Generate the simplest valid Snowflake, the value 1.

+

pub const fn raw_timestamp(&self) -> u64

Returns the timestamp bits of the Snowflake.

+

pub const fn id(&self) -> u16

Returns the ID bits of the Snowflake, which typically represents +the originating system the Snowflake was generated on.

+

pub const fn incr(&self) -> u16

Returns the increment bits of the Snowflake.

+

pub const fn to_u64(self) -> u64

Returns the Snowflake as a 64-bit unsigned integer.

+

pub const fn to_i64(self) -> i64

Returns the Snowflake as a 64-bit signed integer.

+

pub const fn max_safe_value() -> Snowflake

Snowflake set to the max Signed 64-bit value, what PostgreSQL uses for bigint

+
§

impl Snowflake

pub const fn from_unix_ms(epoch: u64, ms: u64) -> Option<Snowflake>

Create a valid Snowflake from the given unix timestamp in milliseconds.

+

This sets the ID to 0 and the increment to 1.

+

This can be used as a sentinel value for database queries.

+

Trait Implementations§

§

impl Archive for Snowflake

§

type Archived = ArchivedSnowflake

The archived representation of this type. Read more
§

type Resolver = ()

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
§

const COPY_OPTIMIZATION: CopyOptimization<Snowflake> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
§

fn resolve( + &self, + _: <Snowflake as Archive>::Resolver, + out: Place<<Snowflake as Archive>::Archived>, +)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
§

impl Clone for Snowflake

§

fn clone(&self) -> Snowflake

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for Snowflake

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl<'de> Deserialize<'de> for Snowflake

§

fn deserialize<D>( + deserializer: D, +) -> Result<Snowflake, <D as Deserializer<'de>>::Error>
where + D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
§

impl Display for Snowflake

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl From<ArchivedSnowflake> for Snowflake

§

fn from(sf: ArchivedSnowflake) -> Snowflake

Converts to this type from the input type.
§

impl<'a> FromSql<'a> for Snowflake

§

fn from_sql( + ty: &Type, + raw: &'a [u8], +) -> Result<Snowflake, Box<dyn Error + Sync + Send>>

Creates a new value of this type from a buffer of data of the specified +Postgres Type in its binary format. Read more
§

fn accepts(ty: &Type) -> bool

Determines if a value of this type can be created from the specified +Postgres Type.
§

fn from_sql_null(ty: &Type) -> Result<Self, Box<dyn Error + Sync + Send>>

Creates a new value of this type from a NULL SQL value. Read more
§

fn from_sql_nullable( + ty: &Type, + raw: Option<&'a [u8]>, +) -> Result<Self, Box<dyn Error + Sync + Send>>

A convenience function that delegates to from_sql and from_sql_null depending on the +value of raw.
§

impl FromSql for Snowflake

§

fn column_result(value: ValueRef<'_>) -> Result<Snowflake, FromSqlError>

Converts SQLite value into Rust value.
§

impl FromStr for Snowflake

§

type Err = <NonZero<u64> as FromStr>::Err

The associated error which can be returned from parsing.
§

fn from_str(s: &str) -> Result<Snowflake, <Snowflake as FromStr>::Err>

Parses a string s to return a value of this type. Read more
§

impl Hash for Snowflake

§

fn hash<__H>(&self, state: &mut __H)
where + __H: Hasher,

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where + H: Hasher, + Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
§

impl Ord for Snowflake

§

fn cmp(&self, other: &Snowflake) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Self
where + Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Self
where + Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · source§

fn clamp(self, min: Self, max: Self) -> Self
where + Self: Sized + PartialOrd,

Restrict a value to a certain interval. Read more
§

impl PartialEq<ArchivedSnowflake> for Snowflake

§

fn eq(&self, other: &ArchivedSnowflake) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
§

impl PartialEq for Snowflake

§

fn eq(&self, other: &Snowflake) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
§

impl PartialOrd for Snowflake

§

fn partial_cmp(&self, other: &Snowflake) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the +<= operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > +operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by +the >= operator. Read more
§

impl<S> Serialize<S> for Snowflake
where + S: Fallible + ?Sized,

§

fn serialize( + &self, + _: &mut S, +) -> Result<<Snowflake as Archive>::Resolver, <S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.
§

impl Serialize for Snowflake

§

fn serialize<S>( + &self, + serializer: S, +) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
where + S: Serializer,

Serialize this value into the given Serde serializer. Read more
§

impl ToSql for Snowflake

§

fn to_sql( + &self, + ty: &Type, + out: &mut BytesMut, +) -> Result<IsNull, Box<dyn Error + Sync + Send>>
where + Snowflake: Sized,

Converts the value of self into the binary format of the specified +Postgres Type, appending it to out. Read more
§

fn accepts(ty: &Type) -> bool

Determines if a value of this type can be converted to the specified +Postgres Type.
§

fn to_sql_checked( + &self, + ty: &Type, + out: &mut BytesMut, +) -> Result<IsNull, Box<dyn Error + Sync + Send>>

An adaptor method used internally by Rust-Postgres. Read more
§

fn encode_format(&self, _ty: &Type) -> Format

Specify the encode format
§

impl ToSql for Snowflake

§

fn to_sql(&self) -> Result<ToSqlOutput<'_>, Error>

Converts Rust value to SQLite value
§

impl Copy for Snowflake

§

impl Eq for Snowflake

§

impl StructuralPartialEq for Snowflake

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> BorrowToSql for T
where + T: ToSql,

§

fn borrow_to_sql(&self) -> &dyn ToSql

Returns a reference to self as a ToSql trait object.
source§

impl<T> CloneToUninit for T
where + T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
§

impl<Q, K> Comparable<K> for Q
where + Q: Ord + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn compare(&self, key: &K) -> Ordering

Compare self to key and return their ordering.
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T> ToOwned for T
where + T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
§

impl<T> ToSmolStr for T
where + T: Display + ?Sized,

§

fn to_smolstr(&self) -> SmolStr

source§

impl<T> ToString for T
where + T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
source§

impl<T> CommandBody for T
where + T: Send + Serialize + Archive,

source§

impl<T> CommandResult for T
where + T: Send + DeserializeOwned + Serialize + Archive,

source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> FromSqlOwned for T
where + T: for<'a> FromSql<'a>,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/struct.ThinVec.html b/client_sdk/models/struct.ThinVec.html new file mode 100644 index 000000000..b3e66f5dc --- /dev/null +++ b/client_sdk/models/struct.ThinVec.html @@ -0,0 +1,3164 @@ +ThinVec in client_sdk::models - Rust

Struct client_sdk::models::ThinVec

#[repr(C)]
pub struct ThinVec<T> { /* private fields */ }
Expand description

See the crate’s top level documentation for a description of this type.

+

Implementations§

§

impl<T> ThinVec<T>

pub fn new() -> ThinVec<T>

Creates a new empty ThinVec.

+

This will not allocate.

+

pub fn with_capacity(cap: usize) -> ThinVec<T>

Constructs a new, empty ThinVec<T> with at least the specified capacity.

+

The vector will be able to hold at least capacity elements without +reallocating. This method is allowed to allocate for more elements than +capacity. If capacity is 0, the vector will not allocate.

+

It is important to note that although the returned vector has the +minimum capacity specified, the vector will have a zero length.

+

If it is important to know the exact allocated capacity of a ThinVec, +always use the capacity method after construction.

+

NOTE: unlike Vec, ThinVec MUST allocate once to keep track of non-zero +lengths. As such, we cannot provide the same guarantees about ThinVecs +of ZSTs not allocating. However the allocation never needs to be resized +to add more ZSTs, since the underlying array is still length 0.

+
§Panics
+

Panics if the new capacity exceeds isize::MAX bytes.

+
§Examples
+
use thin_vec::ThinVec;
+
+let mut vec = ThinVec::with_capacity(10);
+
+// The vector contains no items, even though it has capacity for more
+assert_eq!(vec.len(), 0);
+assert!(vec.capacity() >= 10);
+
+// These are all done without reallocating...
+for i in 0..10 {
+    vec.push(i);
+}
+assert_eq!(vec.len(), 10);
+assert!(vec.capacity() >= 10);
+
+// ...but this may make the vector reallocate
+vec.push(11);
+assert_eq!(vec.len(), 11);
+assert!(vec.capacity() >= 11);
+
+// A vector of a zero-sized type will always over-allocate, since no
+// space is needed to store the actual elements.
+let vec_units = ThinVec::<()>::with_capacity(10);
+
+// Only true **without** the gecko-ffi feature!
+// assert_eq!(vec_units.capacity(), usize::MAX);
+

pub fn len(&self) -> usize

Returns the number of elements in the vector, also referred to +as its ‘length’.

+
§Examples
+
use thin_vec::thin_vec;
+
+let a = thin_vec![1, 2, 3];
+assert_eq!(a.len(), 3);
+

pub fn is_empty(&self) -> bool

Returns true if the vector contains no elements.

+
§Examples
+
use thin_vec::ThinVec;
+
+let mut v = ThinVec::new();
+assert!(v.is_empty());
+
+v.push(1);
+assert!(!v.is_empty());
+

pub fn capacity(&self) -> usize

Returns the number of elements the vector can hold without +reallocating.

+
§Examples
+
use thin_vec::ThinVec;
+
+let vec: ThinVec<i32> = ThinVec::with_capacity(10);
+assert_eq!(vec.capacity(), 10);
+

pub fn has_capacity(&self) -> bool

Returns true if the vector has the capacity to hold any element.

+

pub unsafe fn set_len(&mut self, len: usize)

Forces the length of the vector to new_len.

+

This is a low-level operation that maintains none of the normal +invariants of the type. Normally changing the length of a vector +is done using one of the safe operations instead, such as +truncate, resize, extend, or clear.

+
§Safety
+
    +
  • new_len must be less than or equal to capacity().
  • +
  • The elements at old_len..new_len must be initialized.
  • +
+
§Examples
+

This method can be useful for situations in which the vector +is serving as a buffer for other code, particularly over FFI:

+ +
use thin_vec::ThinVec;
+
+pub fn get_dictionary(&self) -> Option<ThinVec<u8>> {
+    // Per the FFI method's docs, "32768 bytes is always enough".
+    let mut dict = ThinVec::with_capacity(32_768);
+    let mut dict_length = 0;
+    // SAFETY: When `deflateGetDictionary` returns `Z_OK`, it holds that:
+    // 1. `dict_length` elements were initialized.
+    // 2. `dict_length` <= the capacity (32_768)
+    // which makes `set_len` safe to call.
+    unsafe {
+        // Make the FFI call...
+        let r = deflateGetDictionary(self.strm, dict.as_mut_ptr(), &mut dict_length);
+        if r == Z_OK {
+            // ...and update the length to what was initialized.
+            dict.set_len(dict_length);
+            Some(dict)
+        } else {
+            None
+        }
+    }
+}
+

While the following example is sound, there is a memory leak since +the inner vectors were not freed prior to the set_len call:

+ +
use thin_vec::thin_vec;
+
+let mut vec = thin_vec![thin_vec![1, 0, 0],
+                   thin_vec![0, 1, 0],
+                   thin_vec![0, 0, 1]];
+// SAFETY:
+// 1. `old_len..0` is empty so no elements need to be initialized.
+// 2. `0 <= capacity` always holds whatever `capacity` is.
+unsafe {
+    vec.set_len(0);
+}
+

Normally, here, one would use clear instead to correctly drop +the contents and thus not leak memory.

+

pub fn push(&mut self, val: T)

Appends an element to the back of a collection.

+
§Panics
+

Panics if the new capacity exceeds isize::MAX bytes.

+
§Examples
+
use thin_vec::thin_vec;
+
+let mut vec = thin_vec![1, 2];
+vec.push(3);
+assert_eq!(vec, [1, 2, 3]);
+

pub fn pop(&mut self) -> Option<T>

Removes the last element from a vector and returns it, or None if it +is empty.

+
§Examples
+
use thin_vec::thin_vec;
+
+let mut vec = thin_vec![1, 2, 3];
+assert_eq!(vec.pop(), Some(3));
+assert_eq!(vec, [1, 2]);
+

pub fn insert(&mut self, idx: usize, elem: T)

Inserts an element at position index within the vector, shifting all +elements after it to the right.

+
§Panics
+

Panics if index > len.

+
§Examples
+
use thin_vec::thin_vec;
+
+let mut vec = thin_vec![1, 2, 3];
+vec.insert(1, 4);
+assert_eq!(vec, [1, 4, 2, 3]);
+vec.insert(4, 5);
+assert_eq!(vec, [1, 4, 2, 3, 5]);
+

pub fn remove(&mut self, idx: usize) -> T

Removes and returns the element at position index within the vector, +shifting all elements after it to the left.

+

Note: Because this shifts over the remaining elements, it has a +worst-case performance of O(n). If you don’t need the order of elements +to be preserved, use swap_remove instead. If you’d like to remove +elements from the beginning of the ThinVec, consider using std::collections::VecDeque.

+
§Panics
+

Panics if index is out of bounds.

+
§Examples
+
use thin_vec::thin_vec;
+
+let mut v = thin_vec![1, 2, 3];
+assert_eq!(v.remove(1), 2);
+assert_eq!(v, [1, 3]);
+

pub fn swap_remove(&mut self, idx: usize) -> T

Removes an element from the vector and returns it.

+

The removed element is replaced by the last element of the vector.

+

This does not preserve ordering, but is O(1). +If you need to preserve the element order, use remove instead.

+
§Panics
+

Panics if index is out of bounds.

+
§Examples
+
use thin_vec::thin_vec;
+
+let mut v = thin_vec!["foo", "bar", "baz", "qux"];
+
+assert_eq!(v.swap_remove(1), "bar");
+assert_eq!(v, ["foo", "qux", "baz"]);
+
+assert_eq!(v.swap_remove(0), "foo");
+assert_eq!(v, ["baz", "qux"]);
+

pub fn truncate(&mut self, len: usize)

Shortens the vector, keeping the first len elements and dropping +the rest.

+

If len is greater than the vector’s current length, this has no +effect.

+

The drain method can emulate truncate, but causes the excess +elements to be returned instead of dropped.

+

Note that this method has no effect on the allocated capacity +of the vector.

+
§Examples
+

Truncating a five element vector to two elements:

+ +
use thin_vec::thin_vec;
+
+let mut vec = thin_vec![1, 2, 3, 4, 5];
+vec.truncate(2);
+assert_eq!(vec, [1, 2]);
+

No truncation occurs when len is greater than the vector’s current +length:

+ +
use thin_vec::thin_vec;
+
+let mut vec = thin_vec![1, 2, 3];
+vec.truncate(8);
+assert_eq!(vec, [1, 2, 3]);
+

Truncating when len == 0 is equivalent to calling the clear +method.

+ +
use thin_vec::thin_vec;
+
+let mut vec = thin_vec![1, 2, 3];
+vec.truncate(0);
+assert_eq!(vec, []);
+

pub fn clear(&mut self)

Clears the vector, removing all values.

+

Note that this method has no effect on the allocated capacity +of the vector.

+
§Examples
+
use thin_vec::thin_vec;
+
+let mut v = thin_vec![1, 2, 3];
+v.clear();
+assert!(v.is_empty());
+

pub fn as_slice(&self) -> &[T]

Extracts a slice containing the entire vector.

+

Equivalent to &s[..].

+
§Examples
+
use thin_vec::thin_vec;
+use std::io::{self, Write};
+let buffer = thin_vec![1, 2, 3, 5, 8];
+io::sink().write(buffer.as_slice()).unwrap();
+

pub fn as_mut_slice(&mut self) -> &mut [T]

Extracts a mutable slice of the entire vector.

+

Equivalent to &mut s[..].

+
§Examples
+
use thin_vec::thin_vec;
+use std::io::{self, Read};
+let mut buffer = vec![0; 3];
+io::repeat(0b101).read_exact(buffer.as_mut_slice()).unwrap();
+

pub fn reserve(&mut self, additional: usize)

Reserve capacity for at least additional more elements to be inserted.

+

May reserve more space than requested, to avoid frequent reallocations.

+

Panics if the new capacity overflows usize.

+

Re-allocates only if self.capacity() < self.len() + additional.

+

pub fn reserve_exact(&mut self, additional: usize)

Reserves the minimum capacity for additional more elements to be inserted.

+

Panics if the new capacity overflows usize.

+

Re-allocates only if self.capacity() < self.len() + additional.

+

pub fn shrink_to_fit(&mut self)

Shrinks the capacity of the vector as much as possible.

+

It will drop down as close as possible to the length but the allocator +may still inform the vector that there is space for a few more elements.

+
§Examples
+
use thin_vec::ThinVec;
+
+let mut vec = ThinVec::with_capacity(10);
+vec.extend([1, 2, 3]);
+assert_eq!(vec.capacity(), 10);
+vec.shrink_to_fit();
+assert!(vec.capacity() >= 3);
+

pub fn retain<F>(&mut self, f: F)
where + F: FnMut(&T) -> bool,

Retains only the elements specified by the predicate.

+

In other words, remove all elements e such that f(&e) returns false. +This method operates in place and preserves the order of the retained +elements.

+
§Examples
+
let mut vec = thin_vec![1, 2, 3, 4];
+vec.retain(|&x| x%2 == 0);
+assert_eq!(vec, [2, 4]);
+

pub fn retain_mut<F>(&mut self, f: F)
where + F: FnMut(&mut T) -> bool,

Retains only the elements specified by the predicate, passing a mutable reference to it.

+

In other words, remove all elements e such that f(&mut e) returns false. +This method operates in place and preserves the order of the retained +elements.

+
§Examples
+
let mut vec = thin_vec![1, 2, 3, 4, 5];
+vec.retain_mut(|x| {
+    *x += 1;
+    (*x)%2 == 0
+});
+assert_eq!(vec, [2, 4, 6]);
+

pub fn dedup_by_key<F, K>(&mut self, key: F)
where + F: FnMut(&mut T) -> K, + K: PartialEq,

Removes consecutive elements in the vector that resolve to the same key.

+

If the vector is sorted, this removes all duplicates.

+
§Examples
+
let mut vec = thin_vec![10, 20, 21, 30, 20];
+
+vec.dedup_by_key(|i| *i / 10);
+
+assert_eq!(vec, [10, 20, 30, 20]);
+

pub fn dedup_by<F>(&mut self, same_bucket: F)
where + F: FnMut(&mut T, &mut T) -> bool,

Removes consecutive elements in the vector according to a predicate.

+

The same_bucket function is passed references to two elements from the vector, and +returns true if the elements compare equal, or false if they do not. Only the first +of adjacent equal items is kept.

+

If the vector is sorted, this removes all duplicates.

+
§Examples
+
let mut vec = thin_vec!["foo", "bar", "Bar", "baz", "bar"];
+
+vec.dedup_by(|a, b| a.eq_ignore_ascii_case(b));
+
+assert_eq!(vec, ["foo", "bar", "baz", "bar"]);
+

pub fn split_off(&mut self, at: usize) -> ThinVec<T>

Splits the collection into two at the given index.

+

Returns a newly allocated vector containing the elements in the range +[at, len). After the call, the original vector will be left containing +the elements [0, at) with its previous capacity unchanged.

+
§Panics
+

Panics if at > len.

+
§Examples
+
use thin_vec::thin_vec;
+
+let mut vec = thin_vec![1, 2, 3];
+let vec2 = vec.split_off(1);
+assert_eq!(vec, [1]);
+assert_eq!(vec2, [2, 3]);
+

pub fn append(&mut self, other: &mut ThinVec<T>)

Moves all the elements of other into self, leaving other empty.

+
§Panics
+

Panics if the new capacity exceeds isize::MAX bytes.

+
§Examples
+
use thin_vec::thin_vec;
+
+let mut vec = thin_vec![1, 2, 3];
+let mut vec2 = thin_vec![4, 5, 6];
+vec.append(&mut vec2);
+assert_eq!(vec, [1, 2, 3, 4, 5, 6]);
+assert_eq!(vec2, []);
+

pub fn drain<R>(&mut self, range: R) -> Drain<'_, T>
where + R: RangeBounds<usize>,

Removes the specified range from the vector in bulk, returning all +removed elements as an iterator. If the iterator is dropped before +being fully consumed, it drops the remaining removed elements.

+

The returned iterator keeps a mutable borrow on the vector to optimize +its implementation.

+
§Panics
+

Panics if the starting point is greater than the end point or if +the end point is greater than the length of the vector.

+
§Leaking
+

If the returned iterator goes out of scope without being dropped (due to +mem::forget, for example), the vector may have lost and leaked +elements arbitrarily, including elements outside the range.

+
§Examples
+
use thin_vec::{ThinVec, thin_vec};
+
+let mut v = thin_vec![1, 2, 3];
+let u: ThinVec<_> = v.drain(1..).collect();
+assert_eq!(v, &[1]);
+assert_eq!(u, &[2, 3]);
+
+// A full range clears the vector, like `clear()` does
+v.drain(..);
+assert_eq!(v, &[]);
+

pub fn splice<R, I>( + &mut self, + range: R, + replace_with: I, +) -> Splice<'_, <I as IntoIterator>::IntoIter>
where + R: RangeBounds<usize>, + I: IntoIterator<Item = T>,

Creates a splicing iterator that replaces the specified range in the vector +with the given replace_with iterator and yields the removed items. +replace_with does not need to be the same length as range.

+

range is removed even if the iterator is not consumed until the end.

+

It is unspecified how many elements are removed from the vector +if the Splice value is leaked.

+

The input iterator replace_with is only consumed when the Splice value is dropped.

+

This is optimal if:

+
    +
  • The tail (elements in the vector after range) is empty,
  • +
  • or replace_with yields fewer or equal elements than range’s length
  • +
  • or the lower bound of its size_hint() is exact.
  • +
+

Otherwise, a temporary vector is allocated and the tail is moved twice.

+
§Panics
+

Panics if the starting point is greater than the end point or if +the end point is greater than the length of the vector.

+
§Examples
+
use thin_vec::{ThinVec, thin_vec};
+
+let mut v = thin_vec![1, 2, 3, 4];
+let new = [7, 8, 9];
+let u: ThinVec<_> = v.splice(1..3, new).collect();
+assert_eq!(v, &[1, 7, 8, 9, 4]);
+assert_eq!(u, &[2, 3]);
+
§

impl<T> ThinVec<T>
where + T: Clone,

pub fn resize(&mut self, new_len: usize, value: T)

Resizes the Vec in-place so that len() is equal to new_len.

+

If new_len is greater than len(), the Vec is extended by the +difference, with each additional slot filled with value. +If new_len is less than len(), the Vec is simply truncated.

+
§Examples
+
let mut vec = thin_vec!["hello"];
+vec.resize(3, "world");
+assert_eq!(vec, ["hello", "world", "world"]);
+
+let mut vec = thin_vec![1, 2, 3, 4];
+vec.resize(2, 0);
+assert_eq!(vec, [1, 2]);
+

pub fn extend_from_slice(&mut self, other: &[T])

Clones and appends all elements in a slice to the ThinVec.

+

Iterates over the slice other, clones each element, and then appends +it to this ThinVec. The other slice is traversed in-order.

+

Note that this function is same as extend except that it is +specialized to work with slices instead. If and when Rust gets +specialization this function will likely be deprecated (but still +available).

+
§Examples
+
use thin_vec::thin_vec;
+
+let mut vec = thin_vec![1];
+vec.extend_from_slice(&[2, 3, 4]);
+assert_eq!(vec, [1, 2, 3, 4]);
+
§

impl<T> ThinVec<T>
where + T: PartialEq,

pub fn dedup(&mut self)

Removes consecutive repeated elements in the vector.

+

If the vector is sorted, this removes all duplicates.

+
§Examples
+
let mut vec = thin_vec![1, 2, 2, 3, 2];
+
+vec.dedup();
+
+assert_eq!(vec, [1, 2, 3, 2]);
+

Methods from Deref<Target = [T]>§

source

pub fn as_str(&self) -> &str

🔬This is a nightly-only experimental API. (ascii_char)

Views this slice of ASCII characters as a UTF-8 str.

+
source

pub fn as_bytes(&self) -> &[u8]

🔬This is a nightly-only experimental API. (ascii_char)

Views this slice of ASCII characters as a slice of u8 bytes.

+
1.23.0 · source

pub fn is_ascii(&self) -> bool

Checks if all bytes in this slice are within the ASCII range.

+
source

pub fn as_ascii(&self) -> Option<&[AsciiChar]>

🔬This is a nightly-only experimental API. (ascii_char)

If this slice is_ascii, returns it as a slice of +ASCII characters, otherwise returns None.

+
source

pub unsafe fn as_ascii_unchecked(&self) -> &[AsciiChar]

🔬This is a nightly-only experimental API. (ascii_char)

Converts this slice of bytes into a slice of ASCII characters, +without checking whether they’re valid.

+
§Safety
+

Every byte in the slice must be in 0..=127, or else this is UB.

+
1.23.0 · source

pub fn eq_ignore_ascii_case(&self, other: &[u8]) -> bool

Checks that two slices are an ASCII case-insensitive match.

+

Same as to_ascii_lowercase(a) == to_ascii_lowercase(b), +but without allocating and copying temporaries.

+
1.23.0 · source

pub fn make_ascii_uppercase(&mut self)

Converts this slice to its ASCII upper case equivalent in-place.

+

ASCII letters ‘a’ to ‘z’ are mapped to ‘A’ to ‘Z’, +but non-ASCII letters are unchanged.

+

To return a new uppercased value without modifying the existing one, use +to_ascii_uppercase.

+
1.23.0 · source

pub fn make_ascii_lowercase(&mut self)

Converts this slice to its ASCII lower case equivalent in-place.

+

ASCII letters ‘A’ to ‘Z’ are mapped to ‘a’ to ‘z’, +but non-ASCII letters are unchanged.

+

To return a new lowercased value without modifying the existing one, use +to_ascii_lowercase.

+
1.60.0 · source

pub fn escape_ascii(&self) -> EscapeAscii<'_>

Returns an iterator that produces an escaped version of this slice, +treating it as an ASCII string.

+
§Examples
+

+let s = b"0\t\r\n'\"\\\x9d";
+let escaped = s.escape_ascii().to_string();
+assert_eq!(escaped, "0\\t\\r\\n\\'\\\"\\\\\\x9d");
+
1.80.0 · source

pub fn trim_ascii_start(&self) -> &[u8]

Returns a byte slice with leading ASCII whitespace bytes removed.

+

‘Whitespace’ refers to the definition used by +u8::is_ascii_whitespace.

+
§Examples
+
assert_eq!(b" \t hello world\n".trim_ascii_start(), b"hello world\n");
+assert_eq!(b"  ".trim_ascii_start(), b"");
+assert_eq!(b"".trim_ascii_start(), b"");
+
1.80.0 · source

pub fn trim_ascii_end(&self) -> &[u8]

Returns a byte slice with trailing ASCII whitespace bytes removed.

+

‘Whitespace’ refers to the definition used by +u8::is_ascii_whitespace.

+
§Examples
+
assert_eq!(b"\r hello world\n ".trim_ascii_end(), b"\r hello world");
+assert_eq!(b"  ".trim_ascii_end(), b"");
+assert_eq!(b"".trim_ascii_end(), b"");
+
1.80.0 · source

pub fn trim_ascii(&self) -> &[u8]

Returns a byte slice with leading and trailing ASCII whitespace bytes +removed.

+

‘Whitespace’ refers to the definition used by +u8::is_ascii_whitespace.

+
§Examples
+
assert_eq!(b"\r hello world\n ".trim_ascii(), b"hello world");
+assert_eq!(b"  ".trim_ascii(), b"");
+assert_eq!(b"".trim_ascii(), b"");
+
1.0.0 · source

pub fn len(&self) -> usize

Returns the number of elements in the slice.

+
§Examples
+
let a = [1, 2, 3];
+assert_eq!(a.len(), 3);
+
1.0.0 · source

pub fn is_empty(&self) -> bool

Returns true if the slice has a length of 0.

+
§Examples
+
let a = [1, 2, 3];
+assert!(!a.is_empty());
+
+let b: &[i32] = &[];
+assert!(b.is_empty());
+
1.0.0 · source

pub fn first(&self) -> Option<&T>

Returns the first element of the slice, or None if it is empty.

+
§Examples
+
let v = [10, 40, 30];
+assert_eq!(Some(&10), v.first());
+
+let w: &[i32] = &[];
+assert_eq!(None, w.first());
+
1.0.0 · source

pub fn first_mut(&mut self) -> Option<&mut T>

Returns a mutable pointer to the first element of the slice, or None if it is empty.

+
§Examples
+
let x = &mut [0, 1, 2];
+
+if let Some(first) = x.first_mut() {
+    *first = 5;
+}
+assert_eq!(x, &[5, 1, 2]);
+
+let y: &mut [i32] = &mut [];
+assert_eq!(None, y.first_mut());
+
1.5.0 · source

pub fn split_first(&self) -> Option<(&T, &[T])>

Returns the first and all the rest of the elements of the slice, or None if it is empty.

+
§Examples
+
let x = &[0, 1, 2];
+
+if let Some((first, elements)) = x.split_first() {
+    assert_eq!(first, &0);
+    assert_eq!(elements, &[1, 2]);
+}
+
1.5.0 · source

pub fn split_first_mut(&mut self) -> Option<(&mut T, &mut [T])>

Returns the first and all the rest of the elements of the slice, or None if it is empty.

+
§Examples
+
let x = &mut [0, 1, 2];
+
+if let Some((first, elements)) = x.split_first_mut() {
+    *first = 3;
+    elements[0] = 4;
+    elements[1] = 5;
+}
+assert_eq!(x, &[3, 4, 5]);
+
1.5.0 · source

pub fn split_last(&self) -> Option<(&T, &[T])>

Returns the last and all the rest of the elements of the slice, or None if it is empty.

+
§Examples
+
let x = &[0, 1, 2];
+
+if let Some((last, elements)) = x.split_last() {
+    assert_eq!(last, &2);
+    assert_eq!(elements, &[0, 1]);
+}
+
1.5.0 · source

pub fn split_last_mut(&mut self) -> Option<(&mut T, &mut [T])>

Returns the last and all the rest of the elements of the slice, or None if it is empty.

+
§Examples
+
let x = &mut [0, 1, 2];
+
+if let Some((last, elements)) = x.split_last_mut() {
+    *last = 3;
+    elements[0] = 4;
+    elements[1] = 5;
+}
+assert_eq!(x, &[4, 5, 3]);
+
1.0.0 · source

pub fn last(&self) -> Option<&T>

Returns the last element of the slice, or None if it is empty.

+
§Examples
+
let v = [10, 40, 30];
+assert_eq!(Some(&30), v.last());
+
+let w: &[i32] = &[];
+assert_eq!(None, w.last());
+
1.0.0 · source

pub fn last_mut(&mut self) -> Option<&mut T>

Returns a mutable reference to the last item in the slice, or None if it is empty.

+
§Examples
+
let x = &mut [0, 1, 2];
+
+if let Some(last) = x.last_mut() {
+    *last = 10;
+}
+assert_eq!(x, &[0, 1, 10]);
+
+let y: &mut [i32] = &mut [];
+assert_eq!(None, y.last_mut());
+
1.77.0 · source

pub fn first_chunk<const N: usize>(&self) -> Option<&[T; N]>

Returns an array reference to the first N items in the slice.

+

If the slice is not at least N in length, this will return None.

+
§Examples
+
let u = [10, 40, 30];
+assert_eq!(Some(&[10, 40]), u.first_chunk::<2>());
+
+let v: &[i32] = &[10];
+assert_eq!(None, v.first_chunk::<2>());
+
+let w: &[i32] = &[];
+assert_eq!(Some(&[]), w.first_chunk::<0>());
+
1.77.0 · source

pub fn first_chunk_mut<const N: usize>(&mut self) -> Option<&mut [T; N]>

Returns a mutable array reference to the first N items in the slice.

+

If the slice is not at least N in length, this will return None.

+
§Examples
+
let x = &mut [0, 1, 2];
+
+if let Some(first) = x.first_chunk_mut::<2>() {
+    first[0] = 5;
+    first[1] = 4;
+}
+assert_eq!(x, &[5, 4, 2]);
+
+assert_eq!(None, x.first_chunk_mut::<4>());
+
1.77.0 · source

pub fn split_first_chunk<const N: usize>(&self) -> Option<(&[T; N], &[T])>

Returns an array reference to the first N items in the slice and the remaining slice.

+

If the slice is not at least N in length, this will return None.

+
§Examples
+
let x = &[0, 1, 2];
+
+if let Some((first, elements)) = x.split_first_chunk::<2>() {
+    assert_eq!(first, &[0, 1]);
+    assert_eq!(elements, &[2]);
+}
+
+assert_eq!(None, x.split_first_chunk::<4>());
+
1.77.0 · source

pub fn split_first_chunk_mut<const N: usize>( + &mut self, +) -> Option<(&mut [T; N], &mut [T])>

Returns a mutable array reference to the first N items in the slice and the remaining +slice.

+

If the slice is not at least N in length, this will return None.

+
§Examples
+
let x = &mut [0, 1, 2];
+
+if let Some((first, elements)) = x.split_first_chunk_mut::<2>() {
+    first[0] = 3;
+    first[1] = 4;
+    elements[0] = 5;
+}
+assert_eq!(x, &[3, 4, 5]);
+
+assert_eq!(None, x.split_first_chunk_mut::<4>());
+
1.77.0 · source

pub fn split_last_chunk<const N: usize>(&self) -> Option<(&[T], &[T; N])>

Returns an array reference to the last N items in the slice and the remaining slice.

+

If the slice is not at least N in length, this will return None.

+
§Examples
+
let x = &[0, 1, 2];
+
+if let Some((elements, last)) = x.split_last_chunk::<2>() {
+    assert_eq!(elements, &[0]);
+    assert_eq!(last, &[1, 2]);
+}
+
+assert_eq!(None, x.split_last_chunk::<4>());
+
1.77.0 · source

pub fn split_last_chunk_mut<const N: usize>( + &mut self, +) -> Option<(&mut [T], &mut [T; N])>

Returns a mutable array reference to the last N items in the slice and the remaining +slice.

+

If the slice is not at least N in length, this will return None.

+
§Examples
+
let x = &mut [0, 1, 2];
+
+if let Some((elements, last)) = x.split_last_chunk_mut::<2>() {
+    last[0] = 3;
+    last[1] = 4;
+    elements[0] = 5;
+}
+assert_eq!(x, &[5, 3, 4]);
+
+assert_eq!(None, x.split_last_chunk_mut::<4>());
+
1.77.0 · source

pub fn last_chunk<const N: usize>(&self) -> Option<&[T; N]>

Returns an array reference to the last N items in the slice.

+

If the slice is not at least N in length, this will return None.

+
§Examples
+
let u = [10, 40, 30];
+assert_eq!(Some(&[40, 30]), u.last_chunk::<2>());
+
+let v: &[i32] = &[10];
+assert_eq!(None, v.last_chunk::<2>());
+
+let w: &[i32] = &[];
+assert_eq!(Some(&[]), w.last_chunk::<0>());
+
1.77.0 · source

pub fn last_chunk_mut<const N: usize>(&mut self) -> Option<&mut [T; N]>

Returns a mutable array reference to the last N items in the slice.

+

If the slice is not at least N in length, this will return None.

+
§Examples
+
let x = &mut [0, 1, 2];
+
+if let Some(last) = x.last_chunk_mut::<2>() {
+    last[0] = 10;
+    last[1] = 20;
+}
+assert_eq!(x, &[0, 10, 20]);
+
+assert_eq!(None, x.last_chunk_mut::<4>());
+
1.0.0 · source

pub fn get<I>(&self, index: I) -> Option<&<I as SliceIndex<[T]>>::Output>
where + I: SliceIndex<[T]>,

Returns a reference to an element or subslice depending on the type of +index.

+
    +
  • If given a position, returns a reference to the element at that +position or None if out of bounds.
  • +
  • If given a range, returns the subslice corresponding to that range, +or None if out of bounds.
  • +
+
§Examples
+
let v = [10, 40, 30];
+assert_eq!(Some(&40), v.get(1));
+assert_eq!(Some(&[10, 40][..]), v.get(0..2));
+assert_eq!(None, v.get(3));
+assert_eq!(None, v.get(0..4));
+
1.0.0 · source

pub fn get_mut<I>( + &mut self, + index: I, +) -> Option<&mut <I as SliceIndex<[T]>>::Output>
where + I: SliceIndex<[T]>,

Returns a mutable reference to an element or subslice depending on the +type of index (see get) or None if the index is out of bounds.

+
§Examples
+
let x = &mut [0, 1, 2];
+
+if let Some(elem) = x.get_mut(1) {
+    *elem = 42;
+}
+assert_eq!(x, &[0, 42, 2]);
+
1.0.0 · source

pub unsafe fn get_unchecked<I>( + &self, + index: I, +) -> &<I as SliceIndex<[T]>>::Output
where + I: SliceIndex<[T]>,

Returns a reference to an element or subslice, without doing bounds +checking.

+

For a safe alternative see get.

+
§Safety
+

Calling this method with an out-of-bounds index is undefined behavior +even if the resulting reference is not used.

+

You can think of this like .get(index).unwrap_unchecked(). It’s UB +to call .get_unchecked(len), even if you immediately convert to a +pointer. And it’s UB to call .get_unchecked(..len + 1), +.get_unchecked(..=len), or similar.

+
§Examples
+
let x = &[1, 2, 4];
+
+unsafe {
+    assert_eq!(x.get_unchecked(1), &2);
+}
+
1.0.0 · source

pub unsafe fn get_unchecked_mut<I>( + &mut self, + index: I, +) -> &mut <I as SliceIndex<[T]>>::Output
where + I: SliceIndex<[T]>,

Returns a mutable reference to an element or subslice, without doing +bounds checking.

+

For a safe alternative see get_mut.

+
§Safety
+

Calling this method with an out-of-bounds index is undefined behavior +even if the resulting reference is not used.

+

You can think of this like .get_mut(index).unwrap_unchecked(). It’s +UB to call .get_unchecked_mut(len), even if you immediately convert +to a pointer. And it’s UB to call .get_unchecked_mut(..len + 1), +.get_unchecked_mut(..=len), or similar.

+
§Examples
+
let x = &mut [1, 2, 4];
+
+unsafe {
+    let elem = x.get_unchecked_mut(1);
+    *elem = 13;
+}
+assert_eq!(x, &[1, 13, 4]);
+
1.0.0 · source

pub fn as_ptr(&self) -> *const T

Returns a raw pointer to the slice’s buffer.

+

The caller must ensure that the slice outlives the pointer this +function returns, or else it will end up dangling.

+

The caller must also ensure that the memory the pointer (non-transitively) points to +is never written to (except inside an UnsafeCell) using this pointer or any pointer +derived from it. If you need to mutate the contents of the slice, use as_mut_ptr.

+

Modifying the container referenced by this slice may cause its buffer +to be reallocated, which would also make any pointers to it invalid.

+
§Examples
+
let x = &[1, 2, 4];
+let x_ptr = x.as_ptr();
+
+unsafe {
+    for i in 0..x.len() {
+        assert_eq!(x.get_unchecked(i), &*x_ptr.add(i));
+    }
+}
+
1.0.0 · source

pub fn as_mut_ptr(&mut self) -> *mut T

Returns an unsafe mutable pointer to the slice’s buffer.

+

The caller must ensure that the slice outlives the pointer this +function returns, or else it will end up dangling.

+

Modifying the container referenced by this slice may cause its buffer +to be reallocated, which would also make any pointers to it invalid.

+
§Examples
+
let x = &mut [1, 2, 4];
+let x_ptr = x.as_mut_ptr();
+
+unsafe {
+    for i in 0..x.len() {
+        *x_ptr.add(i) += 2;
+    }
+}
+assert_eq!(x, &[3, 4, 6]);
+
1.48.0 · source

pub fn as_ptr_range(&self) -> Range<*const T>

Returns the two raw pointers spanning the slice.

+

The returned range is half-open, which means that the end pointer +points one past the last element of the slice. This way, an empty +slice is represented by two equal pointers, and the difference between +the two pointers represents the size of the slice.

+

See as_ptr for warnings on using these pointers. The end pointer +requires extra caution, as it does not point to a valid element in the +slice.

+

This function is useful for interacting with foreign interfaces which +use two pointers to refer to a range of elements in memory, as is +common in C++.

+

It can also be useful to check if a pointer to an element refers to an +element of this slice:

+ +
let a = [1, 2, 3];
+let x = &a[1] as *const _;
+let y = &5 as *const _;
+
+assert!(a.as_ptr_range().contains(&x));
+assert!(!a.as_ptr_range().contains(&y));
+
1.48.0 · source

pub fn as_mut_ptr_range(&mut self) -> Range<*mut T>

Returns the two unsafe mutable pointers spanning the slice.

+

The returned range is half-open, which means that the end pointer +points one past the last element of the slice. This way, an empty +slice is represented by two equal pointers, and the difference between +the two pointers represents the size of the slice.

+

See as_mut_ptr for warnings on using these pointers. The end +pointer requires extra caution, as it does not point to a valid element +in the slice.

+

This function is useful for interacting with foreign interfaces which +use two pointers to refer to a range of elements in memory, as is +common in C++.

+
1.0.0 · source

pub fn swap(&mut self, a: usize, b: usize)

Swaps two elements in the slice.

+

If a equals to b, it’s guaranteed that elements won’t change value.

+
§Arguments
+
    +
  • a - The index of the first element
  • +
  • b - The index of the second element
  • +
+
§Panics
+

Panics if a or b are out of bounds.

+
§Examples
+
let mut v = ["a", "b", "c", "d", "e"];
+v.swap(2, 4);
+assert!(v == ["a", "b", "e", "d", "c"]);
+
source

pub unsafe fn swap_unchecked(&mut self, a: usize, b: usize)

🔬This is a nightly-only experimental API. (slice_swap_unchecked)

Swaps two elements in the slice, without doing bounds checking.

+

For a safe alternative see swap.

+
§Arguments
+
    +
  • a - The index of the first element
  • +
  • b - The index of the second element
  • +
+
§Safety
+

Calling this method with an out-of-bounds index is undefined behavior. +The caller has to ensure that a < self.len() and b < self.len().

+
§Examples
+
#![feature(slice_swap_unchecked)]
+
+let mut v = ["a", "b", "c", "d"];
+// SAFETY: we know that 1 and 3 are both indices of the slice
+unsafe { v.swap_unchecked(1, 3) };
+assert!(v == ["a", "d", "c", "b"]);
+
1.0.0 · source

pub fn reverse(&mut self)

Reverses the order of elements in the slice, in place.

+
§Examples
+
let mut v = [1, 2, 3];
+v.reverse();
+assert!(v == [3, 2, 1]);
+
1.0.0 · source

pub fn iter(&self) -> Iter<'_, T>

Returns an iterator over the slice.

+

The iterator yields all items from start to end.

+
§Examples
+
let x = &[1, 2, 4];
+let mut iterator = x.iter();
+
+assert_eq!(iterator.next(), Some(&1));
+assert_eq!(iterator.next(), Some(&2));
+assert_eq!(iterator.next(), Some(&4));
+assert_eq!(iterator.next(), None);
+
1.0.0 · source

pub fn iter_mut(&mut self) -> IterMut<'_, T>

Returns an iterator that allows modifying each value.

+

The iterator yields all items from start to end.

+
§Examples
+
let x = &mut [1, 2, 4];
+for elem in x.iter_mut() {
+    *elem += 2;
+}
+assert_eq!(x, &[3, 4, 6]);
+
1.0.0 · source

pub fn windows(&self, size: usize) -> Windows<'_, T>

Returns an iterator over all contiguous windows of length +size. The windows overlap. If the slice is shorter than +size, the iterator returns no values.

+
§Panics
+

Panics if size is 0.

+
§Examples
+
let slice = ['l', 'o', 'r', 'e', 'm'];
+let mut iter = slice.windows(3);
+assert_eq!(iter.next().unwrap(), &['l', 'o', 'r']);
+assert_eq!(iter.next().unwrap(), &['o', 'r', 'e']);
+assert_eq!(iter.next().unwrap(), &['r', 'e', 'm']);
+assert!(iter.next().is_none());
+

If the slice is shorter than size:

+ +
let slice = ['f', 'o', 'o'];
+let mut iter = slice.windows(4);
+assert!(iter.next().is_none());
+

There’s no windows_mut, as that existing would let safe code violate the +“only one &mut at a time to the same thing” rule. However, you can sometimes +use Cell::as_slice_of_cells in +conjunction with windows to accomplish something similar:

+ +
use std::cell::Cell;
+
+let mut array = ['R', 'u', 's', 't', ' ', '2', '0', '1', '5'];
+let slice = &mut array[..];
+let slice_of_cells: &[Cell<char>] = Cell::from_mut(slice).as_slice_of_cells();
+for w in slice_of_cells.windows(3) {
+    Cell::swap(&w[0], &w[2]);
+}
+assert_eq!(array, ['s', 't', ' ', '2', '0', '1', '5', 'u', 'R']);
+
1.0.0 · source

pub fn chunks(&self, chunk_size: usize) -> Chunks<'_, T>

Returns an iterator over chunk_size elements of the slice at a time, starting at the +beginning of the slice.

+

The chunks are slices and do not overlap. If chunk_size does not divide the length of the +slice, then the last chunk will not have length chunk_size.

+

See chunks_exact for a variant of this iterator that returns chunks of always exactly +chunk_size elements, and rchunks for the same iterator but starting at the end of the +slice.

+
§Panics
+

Panics if chunk_size is 0.

+
§Examples
+
let slice = ['l', 'o', 'r', 'e', 'm'];
+let mut iter = slice.chunks(2);
+assert_eq!(iter.next().unwrap(), &['l', 'o']);
+assert_eq!(iter.next().unwrap(), &['r', 'e']);
+assert_eq!(iter.next().unwrap(), &['m']);
+assert!(iter.next().is_none());
+
1.0.0 · source

pub fn chunks_mut(&mut self, chunk_size: usize) -> ChunksMut<'_, T>

Returns an iterator over chunk_size elements of the slice at a time, starting at the +beginning of the slice.

+

The chunks are mutable slices, and do not overlap. If chunk_size does not divide the +length of the slice, then the last chunk will not have length chunk_size.

+

See chunks_exact_mut for a variant of this iterator that returns chunks of always +exactly chunk_size elements, and rchunks_mut for the same iterator but starting at +the end of the slice.

+
§Panics
+

Panics if chunk_size is 0.

+
§Examples
+
let v = &mut [0, 0, 0, 0, 0];
+let mut count = 1;
+
+for chunk in v.chunks_mut(2) {
+    for elem in chunk.iter_mut() {
+        *elem += count;
+    }
+    count += 1;
+}
+assert_eq!(v, &[1, 1, 2, 2, 3]);
+
1.31.0 · source

pub fn chunks_exact(&self, chunk_size: usize) -> ChunksExact<'_, T>

Returns an iterator over chunk_size elements of the slice at a time, starting at the +beginning of the slice.

+

The chunks are slices and do not overlap. If chunk_size does not divide the length of the +slice, then the last up to chunk_size-1 elements will be omitted and can be retrieved +from the remainder function of the iterator.

+

Due to each chunk having exactly chunk_size elements, the compiler can often optimize the +resulting code better than in the case of chunks.

+

See chunks for a variant of this iterator that also returns the remainder as a smaller +chunk, and rchunks_exact for the same iterator but starting at the end of the slice.

+
§Panics
+

Panics if chunk_size is 0.

+
§Examples
+
let slice = ['l', 'o', 'r', 'e', 'm'];
+let mut iter = slice.chunks_exact(2);
+assert_eq!(iter.next().unwrap(), &['l', 'o']);
+assert_eq!(iter.next().unwrap(), &['r', 'e']);
+assert!(iter.next().is_none());
+assert_eq!(iter.remainder(), &['m']);
+
1.31.0 · source

pub fn chunks_exact_mut(&mut self, chunk_size: usize) -> ChunksExactMut<'_, T>

Returns an iterator over chunk_size elements of the slice at a time, starting at the +beginning of the slice.

+

The chunks are mutable slices, and do not overlap. If chunk_size does not divide the +length of the slice, then the last up to chunk_size-1 elements will be omitted and can be +retrieved from the into_remainder function of the iterator.

+

Due to each chunk having exactly chunk_size elements, the compiler can often optimize the +resulting code better than in the case of chunks_mut.

+

See chunks_mut for a variant of this iterator that also returns the remainder as a +smaller chunk, and rchunks_exact_mut for the same iterator but starting at the end of +the slice.

+
§Panics
+

Panics if chunk_size is 0.

+
§Examples
+
let v = &mut [0, 0, 0, 0, 0];
+let mut count = 1;
+
+for chunk in v.chunks_exact_mut(2) {
+    for elem in chunk.iter_mut() {
+        *elem += count;
+    }
+    count += 1;
+}
+assert_eq!(v, &[1, 1, 2, 2, 0]);
+
source

pub unsafe fn as_chunks_unchecked<const N: usize>(&self) -> &[[T; N]]

🔬This is a nightly-only experimental API. (slice_as_chunks)

Splits the slice into a slice of N-element arrays, +assuming that there’s no remainder.

+
§Safety
+

This may only be called when

+
    +
  • The slice splits exactly into N-element chunks (aka self.len() % N == 0).
  • +
  • N != 0.
  • +
+
§Examples
+
#![feature(slice_as_chunks)]
+let slice: &[char] = &['l', 'o', 'r', 'e', 'm', '!'];
+let chunks: &[[char; 1]] =
+    // SAFETY: 1-element chunks never have remainder
+    unsafe { slice.as_chunks_unchecked() };
+assert_eq!(chunks, &[['l'], ['o'], ['r'], ['e'], ['m'], ['!']]);
+let chunks: &[[char; 3]] =
+    // SAFETY: The slice length (6) is a multiple of 3
+    unsafe { slice.as_chunks_unchecked() };
+assert_eq!(chunks, &[['l', 'o', 'r'], ['e', 'm', '!']]);
+
+// These would be unsound:
+// let chunks: &[[_; 5]] = slice.as_chunks_unchecked() // The slice length is not a multiple of 5
+// let chunks: &[[_; 0]] = slice.as_chunks_unchecked() // Zero-length chunks are never allowed
+
source

pub fn as_chunks<const N: usize>(&self) -> (&[[T; N]], &[T])

🔬This is a nightly-only experimental API. (slice_as_chunks)

Splits the slice into a slice of N-element arrays, +starting at the beginning of the slice, +and a remainder slice with length strictly less than N.

+
§Panics
+

Panics if N is 0. This check will most probably get changed to a compile time +error before this method gets stabilized.

+
§Examples
+
#![feature(slice_as_chunks)]
+let slice = ['l', 'o', 'r', 'e', 'm'];
+let (chunks, remainder) = slice.as_chunks();
+assert_eq!(chunks, &[['l', 'o'], ['r', 'e']]);
+assert_eq!(remainder, &['m']);
+

If you expect the slice to be an exact multiple, you can combine +let-else with an empty slice pattern:

+ +
#![feature(slice_as_chunks)]
+let slice = ['R', 'u', 's', 't'];
+let (chunks, []) = slice.as_chunks::<2>() else {
+    panic!("slice didn't have even length")
+};
+assert_eq!(chunks, &[['R', 'u'], ['s', 't']]);
+
source

pub fn as_rchunks<const N: usize>(&self) -> (&[T], &[[T; N]])

🔬This is a nightly-only experimental API. (slice_as_chunks)

Splits the slice into a slice of N-element arrays, +starting at the end of the slice, +and a remainder slice with length strictly less than N.

+
§Panics
+

Panics if N is 0. This check will most probably get changed to a compile time +error before this method gets stabilized.

+
§Examples
+
#![feature(slice_as_chunks)]
+let slice = ['l', 'o', 'r', 'e', 'm'];
+let (remainder, chunks) = slice.as_rchunks();
+assert_eq!(remainder, &['l']);
+assert_eq!(chunks, &[['o', 'r'], ['e', 'm']]);
+
source

pub fn array_chunks<const N: usize>(&self) -> ArrayChunks<'_, T, N>

🔬This is a nightly-only experimental API. (array_chunks)

Returns an iterator over N elements of the slice at a time, starting at the +beginning of the slice.

+

The chunks are array references and do not overlap. If N does not divide the +length of the slice, then the last up to N-1 elements will be omitted and can be +retrieved from the remainder function of the iterator.

+

This method is the const generic equivalent of chunks_exact.

+
§Panics
+

Panics if N is 0. This check will most probably get changed to a compile time +error before this method gets stabilized.

+
§Examples
+
#![feature(array_chunks)]
+let slice = ['l', 'o', 'r', 'e', 'm'];
+let mut iter = slice.array_chunks();
+assert_eq!(iter.next().unwrap(), &['l', 'o']);
+assert_eq!(iter.next().unwrap(), &['r', 'e']);
+assert!(iter.next().is_none());
+assert_eq!(iter.remainder(), &['m']);
+
source

pub unsafe fn as_chunks_unchecked_mut<const N: usize>( + &mut self, +) -> &mut [[T; N]]

🔬This is a nightly-only experimental API. (slice_as_chunks)

Splits the slice into a slice of N-element arrays, +assuming that there’s no remainder.

+
§Safety
+

This may only be called when

+
    +
  • The slice splits exactly into N-element chunks (aka self.len() % N == 0).
  • +
  • N != 0.
  • +
+
§Examples
+
#![feature(slice_as_chunks)]
+let slice: &mut [char] = &mut ['l', 'o', 'r', 'e', 'm', '!'];
+let chunks: &mut [[char; 1]] =
+    // SAFETY: 1-element chunks never have remainder
+    unsafe { slice.as_chunks_unchecked_mut() };
+chunks[0] = ['L'];
+assert_eq!(chunks, &[['L'], ['o'], ['r'], ['e'], ['m'], ['!']]);
+let chunks: &mut [[char; 3]] =
+    // SAFETY: The slice length (6) is a multiple of 3
+    unsafe { slice.as_chunks_unchecked_mut() };
+chunks[1] = ['a', 'x', '?'];
+assert_eq!(slice, &['L', 'o', 'r', 'a', 'x', '?']);
+
+// These would be unsound:
+// let chunks: &[[_; 5]] = slice.as_chunks_unchecked_mut() // The slice length is not a multiple of 5
+// let chunks: &[[_; 0]] = slice.as_chunks_unchecked_mut() // Zero-length chunks are never allowed
+
source

pub fn as_chunks_mut<const N: usize>(&mut self) -> (&mut [[T; N]], &mut [T])

🔬This is a nightly-only experimental API. (slice_as_chunks)

Splits the slice into a slice of N-element arrays, +starting at the beginning of the slice, +and a remainder slice with length strictly less than N.

+
§Panics
+

Panics if N is 0. This check will most probably get changed to a compile time +error before this method gets stabilized.

+
§Examples
+
#![feature(slice_as_chunks)]
+let v = &mut [0, 0, 0, 0, 0];
+let mut count = 1;
+
+let (chunks, remainder) = v.as_chunks_mut();
+remainder[0] = 9;
+for chunk in chunks {
+    *chunk = [count; 2];
+    count += 1;
+}
+assert_eq!(v, &[1, 1, 2, 2, 9]);
+
source

pub fn as_rchunks_mut<const N: usize>(&mut self) -> (&mut [T], &mut [[T; N]])

🔬This is a nightly-only experimental API. (slice_as_chunks)

Splits the slice into a slice of N-element arrays, +starting at the end of the slice, +and a remainder slice with length strictly less than N.

+
§Panics
+

Panics if N is 0. This check will most probably get changed to a compile time +error before this method gets stabilized.

+
§Examples
+
#![feature(slice_as_chunks)]
+let v = &mut [0, 0, 0, 0, 0];
+let mut count = 1;
+
+let (remainder, chunks) = v.as_rchunks_mut();
+remainder[0] = 9;
+for chunk in chunks {
+    *chunk = [count; 2];
+    count += 1;
+}
+assert_eq!(v, &[9, 1, 1, 2, 2]);
+
source

pub fn array_chunks_mut<const N: usize>(&mut self) -> ArrayChunksMut<'_, T, N>

🔬This is a nightly-only experimental API. (array_chunks)

Returns an iterator over N elements of the slice at a time, starting at the +beginning of the slice.

+

The chunks are mutable array references and do not overlap. If N does not divide +the length of the slice, then the last up to N-1 elements will be omitted and +can be retrieved from the into_remainder function of the iterator.

+

This method is the const generic equivalent of chunks_exact_mut.

+
§Panics
+

Panics if N is 0. This check will most probably get changed to a compile time +error before this method gets stabilized.

+
§Examples
+
#![feature(array_chunks)]
+let v = &mut [0, 0, 0, 0, 0];
+let mut count = 1;
+
+for chunk in v.array_chunks_mut() {
+    *chunk = [count; 2];
+    count += 1;
+}
+assert_eq!(v, &[1, 1, 2, 2, 0]);
+
source

pub fn array_windows<const N: usize>(&self) -> ArrayWindows<'_, T, N>

🔬This is a nightly-only experimental API. (array_windows)

Returns an iterator over overlapping windows of N elements of a slice, +starting at the beginning of the slice.

+

This is the const generic equivalent of windows.

+

If N is greater than the size of the slice, it will return no windows.

+
§Panics
+

Panics if N is 0. This check will most probably get changed to a compile time +error before this method gets stabilized.

+
§Examples
+
#![feature(array_windows)]
+let slice = [0, 1, 2, 3];
+let mut iter = slice.array_windows();
+assert_eq!(iter.next().unwrap(), &[0, 1]);
+assert_eq!(iter.next().unwrap(), &[1, 2]);
+assert_eq!(iter.next().unwrap(), &[2, 3]);
+assert!(iter.next().is_none());
+
1.31.0 · source

pub fn rchunks(&self, chunk_size: usize) -> RChunks<'_, T>

Returns an iterator over chunk_size elements of the slice at a time, starting at the end +of the slice.

+

The chunks are slices and do not overlap. If chunk_size does not divide the length of the +slice, then the last chunk will not have length chunk_size.

+

See rchunks_exact for a variant of this iterator that returns chunks of always exactly +chunk_size elements, and chunks for the same iterator but starting at the beginning +of the slice.

+
§Panics
+

Panics if chunk_size is 0.

+
§Examples
+
let slice = ['l', 'o', 'r', 'e', 'm'];
+let mut iter = slice.rchunks(2);
+assert_eq!(iter.next().unwrap(), &['e', 'm']);
+assert_eq!(iter.next().unwrap(), &['o', 'r']);
+assert_eq!(iter.next().unwrap(), &['l']);
+assert!(iter.next().is_none());
+
1.31.0 · source

pub fn rchunks_mut(&mut self, chunk_size: usize) -> RChunksMut<'_, T>

Returns an iterator over chunk_size elements of the slice at a time, starting at the end +of the slice.

+

The chunks are mutable slices, and do not overlap. If chunk_size does not divide the +length of the slice, then the last chunk will not have length chunk_size.

+

See rchunks_exact_mut for a variant of this iterator that returns chunks of always +exactly chunk_size elements, and chunks_mut for the same iterator but starting at the +beginning of the slice.

+
§Panics
+

Panics if chunk_size is 0.

+
§Examples
+
let v = &mut [0, 0, 0, 0, 0];
+let mut count = 1;
+
+for chunk in v.rchunks_mut(2) {
+    for elem in chunk.iter_mut() {
+        *elem += count;
+    }
+    count += 1;
+}
+assert_eq!(v, &[3, 2, 2, 1, 1]);
+
1.31.0 · source

pub fn rchunks_exact(&self, chunk_size: usize) -> RChunksExact<'_, T>

Returns an iterator over chunk_size elements of the slice at a time, starting at the +end of the slice.

+

The chunks are slices and do not overlap. If chunk_size does not divide the length of the +slice, then the last up to chunk_size-1 elements will be omitted and can be retrieved +from the remainder function of the iterator.

+

Due to each chunk having exactly chunk_size elements, the compiler can often optimize the +resulting code better than in the case of rchunks.

+

See rchunks for a variant of this iterator that also returns the remainder as a smaller +chunk, and chunks_exact for the same iterator but starting at the beginning of the +slice.

+
§Panics
+

Panics if chunk_size is 0.

+
§Examples
+
let slice = ['l', 'o', 'r', 'e', 'm'];
+let mut iter = slice.rchunks_exact(2);
+assert_eq!(iter.next().unwrap(), &['e', 'm']);
+assert_eq!(iter.next().unwrap(), &['o', 'r']);
+assert!(iter.next().is_none());
+assert_eq!(iter.remainder(), &['l']);
+
1.31.0 · source

pub fn rchunks_exact_mut(&mut self, chunk_size: usize) -> RChunksExactMut<'_, T>

Returns an iterator over chunk_size elements of the slice at a time, starting at the end +of the slice.

+

The chunks are mutable slices, and do not overlap. If chunk_size does not divide the +length of the slice, then the last up to chunk_size-1 elements will be omitted and can be +retrieved from the into_remainder function of the iterator.

+

Due to each chunk having exactly chunk_size elements, the compiler can often optimize the +resulting code better than in the case of chunks_mut.

+

See rchunks_mut for a variant of this iterator that also returns the remainder as a +smaller chunk, and chunks_exact_mut for the same iterator but starting at the beginning +of the slice.

+
§Panics
+

Panics if chunk_size is 0.

+
§Examples
+
let v = &mut [0, 0, 0, 0, 0];
+let mut count = 1;
+
+for chunk in v.rchunks_exact_mut(2) {
+    for elem in chunk.iter_mut() {
+        *elem += count;
+    }
+    count += 1;
+}
+assert_eq!(v, &[0, 2, 2, 1, 1]);
+
1.77.0 · source

pub fn chunk_by<F>(&self, pred: F) -> ChunkBy<'_, T, F>
where + F: FnMut(&T, &T) -> bool,

Returns an iterator over the slice producing non-overlapping runs +of elements using the predicate to separate them.

+

The predicate is called for every pair of consecutive elements, +meaning that it is called on slice[0] and slice[1], +followed by slice[1] and slice[2], and so on.

+
§Examples
+
let slice = &[1, 1, 1, 3, 3, 2, 2, 2];
+
+let mut iter = slice.chunk_by(|a, b| a == b);
+
+assert_eq!(iter.next(), Some(&[1, 1, 1][..]));
+assert_eq!(iter.next(), Some(&[3, 3][..]));
+assert_eq!(iter.next(), Some(&[2, 2, 2][..]));
+assert_eq!(iter.next(), None);
+

This method can be used to extract the sorted subslices:

+ +
let slice = &[1, 1, 2, 3, 2, 3, 2, 3, 4];
+
+let mut iter = slice.chunk_by(|a, b| a <= b);
+
+assert_eq!(iter.next(), Some(&[1, 1, 2, 3][..]));
+assert_eq!(iter.next(), Some(&[2, 3][..]));
+assert_eq!(iter.next(), Some(&[2, 3, 4][..]));
+assert_eq!(iter.next(), None);
+
1.77.0 · source

pub fn chunk_by_mut<F>(&mut self, pred: F) -> ChunkByMut<'_, T, F>
where + F: FnMut(&T, &T) -> bool,

Returns an iterator over the slice producing non-overlapping mutable +runs of elements using the predicate to separate them.

+

The predicate is called for every pair of consecutive elements, +meaning that it is called on slice[0] and slice[1], +followed by slice[1] and slice[2], and so on.

+
§Examples
+
let slice = &mut [1, 1, 1, 3, 3, 2, 2, 2];
+
+let mut iter = slice.chunk_by_mut(|a, b| a == b);
+
+assert_eq!(iter.next(), Some(&mut [1, 1, 1][..]));
+assert_eq!(iter.next(), Some(&mut [3, 3][..]));
+assert_eq!(iter.next(), Some(&mut [2, 2, 2][..]));
+assert_eq!(iter.next(), None);
+

This method can be used to extract the sorted subslices:

+ +
let slice = &mut [1, 1, 2, 3, 2, 3, 2, 3, 4];
+
+let mut iter = slice.chunk_by_mut(|a, b| a <= b);
+
+assert_eq!(iter.next(), Some(&mut [1, 1, 2, 3][..]));
+assert_eq!(iter.next(), Some(&mut [2, 3][..]));
+assert_eq!(iter.next(), Some(&mut [2, 3, 4][..]));
+assert_eq!(iter.next(), None);
+
1.0.0 · source

pub fn split_at(&self, mid: usize) -> (&[T], &[T])

Divides one slice into two at an index.

+

The first will contain all indices from [0, mid) (excluding +the index mid itself) and the second will contain all +indices from [mid, len) (excluding the index len itself).

+
§Panics
+

Panics if mid > len. For a non-panicking alternative see +split_at_checked.

+
§Examples
+
let v = [1, 2, 3, 4, 5, 6];
+
+{
+   let (left, right) = v.split_at(0);
+   assert_eq!(left, []);
+   assert_eq!(right, [1, 2, 3, 4, 5, 6]);
+}
+
+{
+    let (left, right) = v.split_at(2);
+    assert_eq!(left, [1, 2]);
+    assert_eq!(right, [3, 4, 5, 6]);
+}
+
+{
+    let (left, right) = v.split_at(6);
+    assert_eq!(left, [1, 2, 3, 4, 5, 6]);
+    assert_eq!(right, []);
+}
+
1.0.0 · source

pub fn split_at_mut(&mut self, mid: usize) -> (&mut [T], &mut [T])

Divides one mutable slice into two at an index.

+

The first will contain all indices from [0, mid) (excluding +the index mid itself) and the second will contain all +indices from [mid, len) (excluding the index len itself).

+
§Panics
+

Panics if mid > len. For a non-panicking alternative see +split_at_mut_checked.

+
§Examples
+
let mut v = [1, 0, 3, 0, 5, 6];
+let (left, right) = v.split_at_mut(2);
+assert_eq!(left, [1, 0]);
+assert_eq!(right, [3, 0, 5, 6]);
+left[1] = 2;
+right[1] = 4;
+assert_eq!(v, [1, 2, 3, 4, 5, 6]);
+
1.79.0 · source

pub unsafe fn split_at_unchecked(&self, mid: usize) -> (&[T], &[T])

Divides one slice into two at an index, without doing bounds checking.

+

The first will contain all indices from [0, mid) (excluding +the index mid itself) and the second will contain all +indices from [mid, len) (excluding the index len itself).

+

For a safe alternative see split_at.

+
§Safety
+

Calling this method with an out-of-bounds index is undefined behavior +even if the resulting reference is not used. The caller has to ensure that +0 <= mid <= self.len().

+
§Examples
+
let v = [1, 2, 3, 4, 5, 6];
+
+unsafe {
+   let (left, right) = v.split_at_unchecked(0);
+   assert_eq!(left, []);
+   assert_eq!(right, [1, 2, 3, 4, 5, 6]);
+}
+
+unsafe {
+    let (left, right) = v.split_at_unchecked(2);
+    assert_eq!(left, [1, 2]);
+    assert_eq!(right, [3, 4, 5, 6]);
+}
+
+unsafe {
+    let (left, right) = v.split_at_unchecked(6);
+    assert_eq!(left, [1, 2, 3, 4, 5, 6]);
+    assert_eq!(right, []);
+}
+
1.79.0 · source

pub unsafe fn split_at_mut_unchecked( + &mut self, + mid: usize, +) -> (&mut [T], &mut [T])

Divides one mutable slice into two at an index, without doing bounds checking.

+

The first will contain all indices from [0, mid) (excluding +the index mid itself) and the second will contain all +indices from [mid, len) (excluding the index len itself).

+

For a safe alternative see split_at_mut.

+
§Safety
+

Calling this method with an out-of-bounds index is undefined behavior +even if the resulting reference is not used. The caller has to ensure that +0 <= mid <= self.len().

+
§Examples
+
let mut v = [1, 0, 3, 0, 5, 6];
+// scoped to restrict the lifetime of the borrows
+unsafe {
+    let (left, right) = v.split_at_mut_unchecked(2);
+    assert_eq!(left, [1, 0]);
+    assert_eq!(right, [3, 0, 5, 6]);
+    left[1] = 2;
+    right[1] = 4;
+}
+assert_eq!(v, [1, 2, 3, 4, 5, 6]);
+
1.80.0 · source

pub fn split_at_checked(&self, mid: usize) -> Option<(&[T], &[T])>

Divides one slice into two at an index, returning None if the slice is +too short.

+

If mid ≤ len returns a pair of slices where the first will contain all +indices from [0, mid) (excluding the index mid itself) and the +second will contain all indices from [mid, len) (excluding the index +len itself).

+

Otherwise, if mid > len, returns None.

+
§Examples
+
let v = [1, -2, 3, -4, 5, -6];
+
+{
+   let (left, right) = v.split_at_checked(0).unwrap();
+   assert_eq!(left, []);
+   assert_eq!(right, [1, -2, 3, -4, 5, -6]);
+}
+
+{
+    let (left, right) = v.split_at_checked(2).unwrap();
+    assert_eq!(left, [1, -2]);
+    assert_eq!(right, [3, -4, 5, -6]);
+}
+
+{
+    let (left, right) = v.split_at_checked(6).unwrap();
+    assert_eq!(left, [1, -2, 3, -4, 5, -6]);
+    assert_eq!(right, []);
+}
+
+assert_eq!(None, v.split_at_checked(7));
+
1.80.0 · source

pub fn split_at_mut_checked( + &mut self, + mid: usize, +) -> Option<(&mut [T], &mut [T])>

Divides one mutable slice into two at an index, returning None if the +slice is too short.

+

If mid ≤ len returns a pair of slices where the first will contain all +indices from [0, mid) (excluding the index mid itself) and the +second will contain all indices from [mid, len) (excluding the index +len itself).

+

Otherwise, if mid > len, returns None.

+
§Examples
+
let mut v = [1, 0, 3, 0, 5, 6];
+
+if let Some((left, right)) = v.split_at_mut_checked(2) {
+    assert_eq!(left, [1, 0]);
+    assert_eq!(right, [3, 0, 5, 6]);
+    left[1] = 2;
+    right[1] = 4;
+}
+assert_eq!(v, [1, 2, 3, 4, 5, 6]);
+
+assert_eq!(None, v.split_at_mut_checked(7));
+
1.0.0 · source

pub fn split<F>(&self, pred: F) -> Split<'_, T, F>
where + F: FnMut(&T) -> bool,

Returns an iterator over subslices separated by elements that match +pred. The matched element is not contained in the subslices.

+
§Examples
+
let slice = [10, 40, 33, 20];
+let mut iter = slice.split(|num| num % 3 == 0);
+
+assert_eq!(iter.next().unwrap(), &[10, 40]);
+assert_eq!(iter.next().unwrap(), &[20]);
+assert!(iter.next().is_none());
+

If the first element is matched, an empty slice will be the first item +returned by the iterator. Similarly, if the last element in the slice +is matched, an empty slice will be the last item returned by the +iterator:

+ +
let slice = [10, 40, 33];
+let mut iter = slice.split(|num| num % 3 == 0);
+
+assert_eq!(iter.next().unwrap(), &[10, 40]);
+assert_eq!(iter.next().unwrap(), &[]);
+assert!(iter.next().is_none());
+

If two matched elements are directly adjacent, an empty slice will be +present between them:

+ +
let slice = [10, 6, 33, 20];
+let mut iter = slice.split(|num| num % 3 == 0);
+
+assert_eq!(iter.next().unwrap(), &[10]);
+assert_eq!(iter.next().unwrap(), &[]);
+assert_eq!(iter.next().unwrap(), &[20]);
+assert!(iter.next().is_none());
+
1.0.0 · source

pub fn split_mut<F>(&mut self, pred: F) -> SplitMut<'_, T, F>
where + F: FnMut(&T) -> bool,

Returns an iterator over mutable subslices separated by elements that +match pred. The matched element is not contained in the subslices.

+
§Examples
+
let mut v = [10, 40, 30, 20, 60, 50];
+
+for group in v.split_mut(|num| *num % 3 == 0) {
+    group[0] = 1;
+}
+assert_eq!(v, [1, 40, 30, 1, 60, 1]);
+
1.51.0 · source

pub fn split_inclusive<F>(&self, pred: F) -> SplitInclusive<'_, T, F>
where + F: FnMut(&T) -> bool,

Returns an iterator over subslices separated by elements that match +pred. The matched element is contained in the end of the previous +subslice as a terminator.

+
§Examples
+
let slice = [10, 40, 33, 20];
+let mut iter = slice.split_inclusive(|num| num % 3 == 0);
+
+assert_eq!(iter.next().unwrap(), &[10, 40, 33]);
+assert_eq!(iter.next().unwrap(), &[20]);
+assert!(iter.next().is_none());
+

If the last element of the slice is matched, +that element will be considered the terminator of the preceding slice. +That slice will be the last item returned by the iterator.

+ +
let slice = [3, 10, 40, 33];
+let mut iter = slice.split_inclusive(|num| num % 3 == 0);
+
+assert_eq!(iter.next().unwrap(), &[3]);
+assert_eq!(iter.next().unwrap(), &[10, 40, 33]);
+assert!(iter.next().is_none());
+
1.51.0 · source

pub fn split_inclusive_mut<F>(&mut self, pred: F) -> SplitInclusiveMut<'_, T, F>
where + F: FnMut(&T) -> bool,

Returns an iterator over mutable subslices separated by elements that +match pred. The matched element is contained in the previous +subslice as a terminator.

+
§Examples
+
let mut v = [10, 40, 30, 20, 60, 50];
+
+for group in v.split_inclusive_mut(|num| *num % 3 == 0) {
+    let terminator_idx = group.len()-1;
+    group[terminator_idx] = 1;
+}
+assert_eq!(v, [10, 40, 1, 20, 1, 1]);
+
1.27.0 · source

pub fn rsplit<F>(&self, pred: F) -> RSplit<'_, T, F>
where + F: FnMut(&T) -> bool,

Returns an iterator over subslices separated by elements that match +pred, starting at the end of the slice and working backwards. +The matched element is not contained in the subslices.

+
§Examples
+
let slice = [11, 22, 33, 0, 44, 55];
+let mut iter = slice.rsplit(|num| *num == 0);
+
+assert_eq!(iter.next().unwrap(), &[44, 55]);
+assert_eq!(iter.next().unwrap(), &[11, 22, 33]);
+assert_eq!(iter.next(), None);
+

As with split(), if the first or last element is matched, an empty +slice will be the first (or last) item returned by the iterator.

+ +
let v = &[0, 1, 1, 2, 3, 5, 8];
+let mut it = v.rsplit(|n| *n % 2 == 0);
+assert_eq!(it.next().unwrap(), &[]);
+assert_eq!(it.next().unwrap(), &[3, 5]);
+assert_eq!(it.next().unwrap(), &[1, 1]);
+assert_eq!(it.next().unwrap(), &[]);
+assert_eq!(it.next(), None);
+
1.27.0 · source

pub fn rsplit_mut<F>(&mut self, pred: F) -> RSplitMut<'_, T, F>
where + F: FnMut(&T) -> bool,

Returns an iterator over mutable subslices separated by elements that +match pred, starting at the end of the slice and working +backwards. The matched element is not contained in the subslices.

+
§Examples
+
let mut v = [100, 400, 300, 200, 600, 500];
+
+let mut count = 0;
+for group in v.rsplit_mut(|num| *num % 3 == 0) {
+    count += 1;
+    group[0] = count;
+}
+assert_eq!(v, [3, 400, 300, 2, 600, 1]);
+
1.0.0 · source

pub fn splitn<F>(&self, n: usize, pred: F) -> SplitN<'_, T, F>
where + F: FnMut(&T) -> bool,

Returns an iterator over subslices separated by elements that match +pred, limited to returning at most n items. The matched element is +not contained in the subslices.

+

The last element returned, if any, will contain the remainder of the +slice.

+
§Examples
+

Print the slice split once by numbers divisible by 3 (i.e., [10, 40], +[20, 60, 50]):

+ +
let v = [10, 40, 30, 20, 60, 50];
+
+for group in v.splitn(2, |num| *num % 3 == 0) {
+    println!("{group:?}");
+}
+
1.0.0 · source

pub fn splitn_mut<F>(&mut self, n: usize, pred: F) -> SplitNMut<'_, T, F>
where + F: FnMut(&T) -> bool,

Returns an iterator over mutable subslices separated by elements that match +pred, limited to returning at most n items. The matched element is +not contained in the subslices.

+

The last element returned, if any, will contain the remainder of the +slice.

+
§Examples
+
let mut v = [10, 40, 30, 20, 60, 50];
+
+for group in v.splitn_mut(2, |num| *num % 3 == 0) {
+    group[0] = 1;
+}
+assert_eq!(v, [1, 40, 30, 1, 60, 50]);
+
1.0.0 · source

pub fn rsplitn<F>(&self, n: usize, pred: F) -> RSplitN<'_, T, F>
where + F: FnMut(&T) -> bool,

Returns an iterator over subslices separated by elements that match +pred limited to returning at most n items. This starts at the end of +the slice and works backwards. The matched element is not contained in +the subslices.

+

The last element returned, if any, will contain the remainder of the +slice.

+
§Examples
+

Print the slice split once, starting from the end, by numbers divisible +by 3 (i.e., [50], [10, 40, 30, 20]):

+ +
let v = [10, 40, 30, 20, 60, 50];
+
+for group in v.rsplitn(2, |num| *num % 3 == 0) {
+    println!("{group:?}");
+}
+
1.0.0 · source

pub fn rsplitn_mut<F>(&mut self, n: usize, pred: F) -> RSplitNMut<'_, T, F>
where + F: FnMut(&T) -> bool,

Returns an iterator over subslices separated by elements that match +pred limited to returning at most n items. This starts at the end of +the slice and works backwards. The matched element is not contained in +the subslices.

+

The last element returned, if any, will contain the remainder of the +slice.

+
§Examples
+
let mut s = [10, 40, 30, 20, 60, 50];
+
+for group in s.rsplitn_mut(2, |num| *num % 3 == 0) {
+    group[0] = 1;
+}
+assert_eq!(s, [1, 40, 30, 20, 60, 1]);
+
source

pub fn split_once<F>(&self, pred: F) -> Option<(&[T], &[T])>
where + F: FnMut(&T) -> bool,

🔬This is a nightly-only experimental API. (slice_split_once)

Splits the slice on the first element that matches the specified +predicate.

+

If any matching elements are present in the slice, returns the prefix +before the match and suffix after. The matching element itself is not +included. If no elements match, returns None.

+
§Examples
+
#![feature(slice_split_once)]
+let s = [1, 2, 3, 2, 4];
+assert_eq!(s.split_once(|&x| x == 2), Some((
+    &[1][..],
+    &[3, 2, 4][..]
+)));
+assert_eq!(s.split_once(|&x| x == 0), None);
+
source

pub fn rsplit_once<F>(&self, pred: F) -> Option<(&[T], &[T])>
where + F: FnMut(&T) -> bool,

🔬This is a nightly-only experimental API. (slice_split_once)

Splits the slice on the last element that matches the specified +predicate.

+

If any matching elements are present in the slice, returns the prefix +before the match and suffix after. The matching element itself is not +included. If no elements match, returns None.

+
§Examples
+
#![feature(slice_split_once)]
+let s = [1, 2, 3, 2, 4];
+assert_eq!(s.rsplit_once(|&x| x == 2), Some((
+    &[1, 2, 3][..],
+    &[4][..]
+)));
+assert_eq!(s.rsplit_once(|&x| x == 0), None);
+
1.0.0 · source

pub fn contains(&self, x: &T) -> bool
where + T: PartialEq,

Returns true if the slice contains an element with the given value.

+

This operation is O(n).

+

Note that if you have a sorted slice, binary_search may be faster.

+
§Examples
+
let v = [10, 40, 30];
+assert!(v.contains(&30));
+assert!(!v.contains(&50));
+

If you do not have a &T, but some other value that you can compare +with one (for example, String implements PartialEq<str>), you can +use iter().any:

+ +
let v = [String::from("hello"), String::from("world")]; // slice of `String`
+assert!(v.iter().any(|e| e == "hello")); // search with `&str`
+assert!(!v.iter().any(|e| e == "hi"));
+
1.0.0 · source

pub fn starts_with(&self, needle: &[T]) -> bool
where + T: PartialEq,

Returns true if needle is a prefix of the slice or equal to the slice.

+
§Examples
+
let v = [10, 40, 30];
+assert!(v.starts_with(&[10]));
+assert!(v.starts_with(&[10, 40]));
+assert!(v.starts_with(&v));
+assert!(!v.starts_with(&[50]));
+assert!(!v.starts_with(&[10, 50]));
+

Always returns true if needle is an empty slice:

+ +
let v = &[10, 40, 30];
+assert!(v.starts_with(&[]));
+let v: &[u8] = &[];
+assert!(v.starts_with(&[]));
+
1.0.0 · source

pub fn ends_with(&self, needle: &[T]) -> bool
where + T: PartialEq,

Returns true if needle is a suffix of the slice or equal to the slice.

+
§Examples
+
let v = [10, 40, 30];
+assert!(v.ends_with(&[30]));
+assert!(v.ends_with(&[40, 30]));
+assert!(v.ends_with(&v));
+assert!(!v.ends_with(&[50]));
+assert!(!v.ends_with(&[50, 30]));
+

Always returns true if needle is an empty slice:

+ +
let v = &[10, 40, 30];
+assert!(v.ends_with(&[]));
+let v: &[u8] = &[];
+assert!(v.ends_with(&[]));
+
1.51.0 · source

pub fn strip_prefix<P>(&self, prefix: &P) -> Option<&[T]>
where + P: SlicePattern<Item = T> + ?Sized, + T: PartialEq,

Returns a subslice with the prefix removed.

+

If the slice starts with prefix, returns the subslice after the prefix, wrapped in Some. +If prefix is empty, simply returns the original slice. If prefix is equal to the +original slice, returns an empty slice.

+

If the slice does not start with prefix, returns None.

+
§Examples
+
let v = &[10, 40, 30];
+assert_eq!(v.strip_prefix(&[10]), Some(&[40, 30][..]));
+assert_eq!(v.strip_prefix(&[10, 40]), Some(&[30][..]));
+assert_eq!(v.strip_prefix(&[10, 40, 30]), Some(&[][..]));
+assert_eq!(v.strip_prefix(&[50]), None);
+assert_eq!(v.strip_prefix(&[10, 50]), None);
+
+let prefix : &str = "he";
+assert_eq!(b"hello".strip_prefix(prefix.as_bytes()),
+           Some(b"llo".as_ref()));
+
1.51.0 · source

pub fn strip_suffix<P>(&self, suffix: &P) -> Option<&[T]>
where + P: SlicePattern<Item = T> + ?Sized, + T: PartialEq,

Returns a subslice with the suffix removed.

+

If the slice ends with suffix, returns the subslice before the suffix, wrapped in Some. +If suffix is empty, simply returns the original slice. If suffix is equal to the +original slice, returns an empty slice.

+

If the slice does not end with suffix, returns None.

+
§Examples
+
let v = &[10, 40, 30];
+assert_eq!(v.strip_suffix(&[30]), Some(&[10, 40][..]));
+assert_eq!(v.strip_suffix(&[40, 30]), Some(&[10][..]));
+assert_eq!(v.strip_suffix(&[10, 40, 30]), Some(&[][..]));
+assert_eq!(v.strip_suffix(&[50]), None);
+assert_eq!(v.strip_suffix(&[50, 30]), None);
+

Binary searches this slice for a given element. +If the slice is not sorted, the returned result is unspecified and +meaningless.

+

If the value is found then Result::Ok is returned, containing the +index of the matching element. If there are multiple matches, then any +one of the matches could be returned. The index is chosen +deterministically, but is subject to change in future versions of Rust. +If the value is not found then Result::Err is returned, containing +the index where a matching element could be inserted while maintaining +sorted order.

+

See also binary_search_by, binary_search_by_key, and partition_point.

+
§Examples
+

Looks up a series of four elements. The first is found, with a +uniquely determined position; the second and third are not +found; the fourth could match any position in [1, 4].

+ +
let s = [0, 1, 1, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55];
+
+assert_eq!(s.binary_search(&13),  Ok(9));
+assert_eq!(s.binary_search(&4),   Err(7));
+assert_eq!(s.binary_search(&100), Err(13));
+let r = s.binary_search(&1);
+assert!(match r { Ok(1..=4) => true, _ => false, });
+

If you want to find that whole range of matching items, rather than +an arbitrary matching one, that can be done using partition_point:

+ +
let s = [0, 1, 1, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55];
+
+let low = s.partition_point(|x| x < &1);
+assert_eq!(low, 1);
+let high = s.partition_point(|x| x <= &1);
+assert_eq!(high, 5);
+let r = s.binary_search(&1);
+assert!((low..high).contains(&r.unwrap()));
+
+assert!(s[..low].iter().all(|&x| x < 1));
+assert!(s[low..high].iter().all(|&x| x == 1));
+assert!(s[high..].iter().all(|&x| x > 1));
+
+// For something not found, the "range" of equal items is empty
+assert_eq!(s.partition_point(|x| x < &11), 9);
+assert_eq!(s.partition_point(|x| x <= &11), 9);
+assert_eq!(s.binary_search(&11), Err(9));
+

If you want to insert an item to a sorted vector, while maintaining +sort order, consider using partition_point:

+ +
let mut s = vec![0, 1, 1, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55];
+let num = 42;
+let idx = s.partition_point(|&x| x <= num);
+// If `num` is unique, `s.partition_point(|&x| x < num)` (with `<`) is equivalent to
+// `s.binary_search(&num).unwrap_or_else(|x| x)`, but using `<=` will allow `insert`
+// to shift less elements.
+s.insert(idx, num);
+assert_eq!(s, [0, 1, 1, 1, 1, 2, 3, 5, 8, 13, 21, 34, 42, 55]);
+
1.0.0 · source

pub fn binary_search_by<'a, F>(&'a self, f: F) -> Result<usize, usize>
where + F: FnMut(&'a T) -> Ordering,

Binary searches this slice with a comparator function.

+

The comparator function should return an order code that indicates +whether its argument is Less, Equal or Greater the desired +target. +If the slice is not sorted or if the comparator function does not +implement an order consistent with the sort order of the underlying +slice, the returned result is unspecified and meaningless.

+

If the value is found then Result::Ok is returned, containing the +index of the matching element. If there are multiple matches, then any +one of the matches could be returned. The index is chosen +deterministically, but is subject to change in future versions of Rust. +If the value is not found then Result::Err is returned, containing +the index where a matching element could be inserted while maintaining +sorted order.

+

See also binary_search, binary_search_by_key, and partition_point.

+
§Examples
+

Looks up a series of four elements. The first is found, with a +uniquely determined position; the second and third are not +found; the fourth could match any position in [1, 4].

+ +
let s = [0, 1, 1, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55];
+
+let seek = 13;
+assert_eq!(s.binary_search_by(|probe| probe.cmp(&seek)), Ok(9));
+let seek = 4;
+assert_eq!(s.binary_search_by(|probe| probe.cmp(&seek)), Err(7));
+let seek = 100;
+assert_eq!(s.binary_search_by(|probe| probe.cmp(&seek)), Err(13));
+let seek = 1;
+let r = s.binary_search_by(|probe| probe.cmp(&seek));
+assert!(match r { Ok(1..=4) => true, _ => false, });
+
1.10.0 · source

pub fn binary_search_by_key<'a, B, F>( + &'a self, + b: &B, + f: F, +) -> Result<usize, usize>
where + F: FnMut(&'a T) -> B, + B: Ord,

Binary searches this slice with a key extraction function.

+

Assumes that the slice is sorted by the key, for instance with +sort_by_key using the same key extraction function. +If the slice is not sorted by the key, the returned result is +unspecified and meaningless.

+

If the value is found then Result::Ok is returned, containing the +index of the matching element. If there are multiple matches, then any +one of the matches could be returned. The index is chosen +deterministically, but is subject to change in future versions of Rust. +If the value is not found then Result::Err is returned, containing +the index where a matching element could be inserted while maintaining +sorted order.

+

See also binary_search, binary_search_by, and partition_point.

+
§Examples
+

Looks up a series of four elements in a slice of pairs sorted by +their second elements. The first is found, with a uniquely +determined position; the second and third are not found; the +fourth could match any position in [1, 4].

+ +
let s = [(0, 0), (2, 1), (4, 1), (5, 1), (3, 1),
+         (1, 2), (2, 3), (4, 5), (5, 8), (3, 13),
+         (1, 21), (2, 34), (4, 55)];
+
+assert_eq!(s.binary_search_by_key(&13, |&(a, b)| b),  Ok(9));
+assert_eq!(s.binary_search_by_key(&4, |&(a, b)| b),   Err(7));
+assert_eq!(s.binary_search_by_key(&100, |&(a, b)| b), Err(13));
+let r = s.binary_search_by_key(&1, |&(a, b)| b);
+assert!(match r { Ok(1..=4) => true, _ => false, });
+
1.20.0 · source

pub fn sort_unstable(&mut self)
where + T: Ord,

Sorts the slice without preserving the initial order of equal elements.

+

This sort is unstable (i.e., may reorder equal elements), in-place (i.e., does not +allocate), and O(n * log(n)) worst-case.

+

If the implementation of Ord for T does not implement a total order the resulting +order of elements in the slice is unspecified. All original elements will remain in the +slice and any possible modifications via interior mutability are observed in the input. Same +is true if the implementation of Ord for T panics.

+

Sorting types that only implement PartialOrd such as f32 and f64 require +additional precautions. For example, f32::NAN != f32::NAN, which doesn’t fulfill the +reflexivity requirement of Ord. By using an alternative comparison function with +slice::sort_unstable_by such as f32::total_cmp or f64::total_cmp that defines a +total order users can sort slices containing floating-point values. Alternatively, if all +values in the slice are guaranteed to be in a subset for which PartialOrd::partial_cmp +forms a total order, it’s possible to sort the slice with sort_unstable_by(|a, b| a.partial_cmp(b).unwrap()).

+
§Current implementation
+

The current implementation is based on ipnsort by Lukas Bergdoll and Orson Peters, which +combines the fast average case of quicksort with the fast worst case of heapsort, achieving +linear time on fully sorted and reversed inputs. On inputs with k distinct elements, the +expected time to sort the data is O(n * log(k)).

+

It is typically faster than stable sorting, except in a few special cases, e.g., when the +slice is partially sorted.

+
§Panics
+

May panic if the implementation of Ord for T does not implement a total order.

+
§Examples
+
let mut v = [4, -5, 1, -3, 2];
+
+v.sort_unstable();
+assert_eq!(v, [-5, -3, 1, 2, 4]);
+
1.20.0 · source

pub fn sort_unstable_by<F>(&mut self, compare: F)
where + F: FnMut(&T, &T) -> Ordering,

Sorts the slice with a comparison function, without preserving the initial order of +equal elements.

+

This sort is unstable (i.e., may reorder equal elements), in-place (i.e., does not +allocate), and O(n * log(n)) worst-case.

+

If the comparison function compare does not implement a total order the resulting order +of elements in the slice is unspecified. All original elements will remain in the slice and +any possible modifications via interior mutability are observed in the input. Same is true +if compare panics.

+

For example |a, b| (a - b).cmp(a) is a comparison function that is neither transitive nor +reflexive nor total, a < b < c < a with a = 1, b = 2, c = 3. For more information and +examples see the Ord documentation.

+
§Current implementation
+

The current implementation is based on ipnsort by Lukas Bergdoll and Orson Peters, which +combines the fast average case of quicksort with the fast worst case of heapsort, achieving +linear time on fully sorted and reversed inputs. On inputs with k distinct elements, the +expected time to sort the data is O(n * log(k)).

+

It is typically faster than stable sorting, except in a few special cases, e.g., when the +slice is partially sorted.

+
§Panics
+

May panic if compare does not implement a total order.

+
§Examples
+
let mut v = [4, -5, 1, -3, 2];
+v.sort_unstable_by(|a, b| a.cmp(b));
+assert_eq!(v, [-5, -3, 1, 2, 4]);
+
+// reverse sorting
+v.sort_unstable_by(|a, b| b.cmp(a));
+assert_eq!(v, [4, 2, 1, -3, -5]);
+
1.20.0 · source

pub fn sort_unstable_by_key<K, F>(&mut self, f: F)
where + F: FnMut(&T) -> K, + K: Ord,

Sorts the slice with a key extraction function, without preserving the initial order of +equal elements.

+

This sort is unstable (i.e., may reorder equal elements), in-place (i.e., does not +allocate), and O(n * log(n)) worst-case.

+

If the implementation of Ord for K does not implement a total order the resulting +order of elements in the slice is unspecified. All original elements will remain in the +slice and any possible modifications via interior mutability are observed in the input. Same +is true if the implementation of Ord for K panics.

+
§Current implementation
+

The current implementation is based on ipnsort by Lukas Bergdoll and Orson Peters, which +combines the fast average case of quicksort with the fast worst case of heapsort, achieving +linear time on fully sorted and reversed inputs. On inputs with k distinct elements, the +expected time to sort the data is O(n * log(k)).

+

It is typically faster than stable sorting, except in a few special cases, e.g., when the +slice is partially sorted.

+
§Panics
+

May panic if the implementation of Ord for K does not implement a total order.

+
§Examples
+
let mut v = [4i32, -5, 1, -3, 2];
+
+v.sort_unstable_by_key(|k| k.abs());
+assert_eq!(v, [1, 2, -3, 4, -5]);
+
1.49.0 · source

pub fn select_nth_unstable( + &mut self, + index: usize, +) -> (&mut [T], &mut T, &mut [T])
where + T: Ord,

Reorders the slice such that the element at index after the reordering is at its final +sorted position.

+

This reordering has the additional property that any value at position i < index will be +less than or equal to any value at a position j > index. Additionally, this reordering is +unstable (i.e. any number of equal elements may end up at position index), in-place (i.e. +does not allocate), and runs in O(n) time. This function is also known as “kth element” +in other libraries.

+

It returns a triplet of the following from the reordered slice: the subslice prior to +index, the element at index, and the subslice after index; accordingly, the values in +those two subslices will respectively all be less-than-or-equal-to and +greater-than-or-equal-to the value of the element at index.

+
§Current implementation
+

The current algorithm is an introselect implementation based on ipnsort by Lukas Bergdoll +and Orson Peters, which is also the basis for sort_unstable. The fallback algorithm is +Median of Medians using Tukey’s Ninther for pivot selection, which guarantees linear runtime +for all inputs.

+
§Panics
+

Panics when index >= len(), meaning it always panics on empty slices.

+

May panic if the implementation of Ord for T does not implement a total order.

+
§Examples
+
let mut v = [-5i32, 4, 2, -3, 1];
+
+// Find the items less than or equal to the median, the median, and greater than or equal to
+// the median.
+let (lesser, median, greater) = v.select_nth_unstable(2);
+
+assert!(lesser == [-3, -5] || lesser == [-5, -3]);
+assert_eq!(median, &mut 1);
+assert!(greater == [4, 2] || greater == [2, 4]);
+
+// We are only guaranteed the slice will be one of the following, based on the way we sort
+// about the specified index.
+assert!(v == [-3, -5, 1, 2, 4] ||
+        v == [-5, -3, 1, 2, 4] ||
+        v == [-3, -5, 1, 4, 2] ||
+        v == [-5, -3, 1, 4, 2]);
+
1.49.0 · source

pub fn select_nth_unstable_by<F>( + &mut self, + index: usize, + compare: F, +) -> (&mut [T], &mut T, &mut [T])
where + F: FnMut(&T, &T) -> Ordering,

Reorders the slice with a comparator function such that the element at index after the +reordering is at its final sorted position.

+

This reordering has the additional property that any value at position i < index will be +less than or equal to any value at a position j > index using the comparator function. +Additionally, this reordering is unstable (i.e. any number of equal elements may end up at +position index), in-place (i.e. does not allocate), and runs in O(n) time. This +function is also known as “kth element” in other libraries.

+

It returns a triplet of the following from the slice reordered according to the provided +comparator function: the subslice prior to index, the element at index, and the subslice +after index; accordingly, the values in those two subslices will respectively all be +less-than-or-equal-to and greater-than-or-equal-to the value of the element at index.

+
§Current implementation
+

The current algorithm is an introselect implementation based on ipnsort by Lukas Bergdoll +and Orson Peters, which is also the basis for sort_unstable. The fallback algorithm is +Median of Medians using Tukey’s Ninther for pivot selection, which guarantees linear runtime +for all inputs.

+
§Panics
+

Panics when index >= len(), meaning it always panics on empty slices.

+

May panic if compare does not implement a total order.

+
§Examples
+
let mut v = [-5i32, 4, 2, -3, 1];
+
+// Find the items less than or equal to the median, the median, and greater than or equal to
+// the median as if the slice were sorted in descending order.
+let (lesser, median, greater) = v.select_nth_unstable_by(2, |a, b| b.cmp(a));
+
+assert!(lesser == [4, 2] || lesser == [2, 4]);
+assert_eq!(median, &mut 1);
+assert!(greater == [-3, -5] || greater == [-5, -3]);
+
+// We are only guaranteed the slice will be one of the following, based on the way we sort
+// about the specified index.
+assert!(v == [2, 4, 1, -5, -3] ||
+        v == [2, 4, 1, -3, -5] ||
+        v == [4, 2, 1, -5, -3] ||
+        v == [4, 2, 1, -3, -5]);
+
1.49.0 · source

pub fn select_nth_unstable_by_key<K, F>( + &mut self, + index: usize, + f: F, +) -> (&mut [T], &mut T, &mut [T])
where + F: FnMut(&T) -> K, + K: Ord,

Reorders the slice with a key extraction function such that the element at index after the +reordering is at its final sorted position.

+

This reordering has the additional property that any value at position i < index will be +less than or equal to any value at a position j > index using the key extraction function. +Additionally, this reordering is unstable (i.e. any number of equal elements may end up at +position index), in-place (i.e. does not allocate), and runs in O(n) time. This +function is also known as “kth element” in other libraries.

+

It returns a triplet of the following from the slice reordered according to the provided key +extraction function: the subslice prior to index, the element at index, and the subslice +after index; accordingly, the values in those two subslices will respectively all be +less-than-or-equal-to and greater-than-or-equal-to the value of the element at index.

+
§Current implementation
+

The current algorithm is an introselect implementation based on ipnsort by Lukas Bergdoll +and Orson Peters, which is also the basis for sort_unstable. The fallback algorithm is +Median of Medians using Tukey’s Ninther for pivot selection, which guarantees linear runtime +for all inputs.

+
§Panics
+

Panics when index >= len(), meaning it always panics on empty slices.

+

May panic if K: Ord does not implement a total order.

+
§Examples
+
let mut v = [-5i32, 4, 1, -3, 2];
+
+// Find the items less than or equal to the median, the median, and greater than or equal to
+// the median as if the slice were sorted according to absolute value.
+let (lesser, median, greater) = v.select_nth_unstable_by_key(2, |a| a.abs());
+
+assert!(lesser == [1, 2] || lesser == [2, 1]);
+assert_eq!(median, &mut -3);
+assert!(greater == [4, -5] || greater == [-5, 4]);
+
+// We are only guaranteed the slice will be one of the following, based on the way we sort
+// about the specified index.
+assert!(v == [1, 2, -3, 4, -5] ||
+        v == [1, 2, -3, -5, 4] ||
+        v == [2, 1, -3, 4, -5] ||
+        v == [2, 1, -3, -5, 4]);
+
source

pub fn partition_dedup(&mut self) -> (&mut [T], &mut [T])
where + T: PartialEq,

🔬This is a nightly-only experimental API. (slice_partition_dedup)

Moves all consecutive repeated elements to the end of the slice according to the +PartialEq trait implementation.

+

Returns two slices. The first contains no consecutive repeated elements. +The second contains all the duplicates in no specified order.

+

If the slice is sorted, the first returned slice contains no duplicates.

+
§Examples
+
#![feature(slice_partition_dedup)]
+
+let mut slice = [1, 2, 2, 3, 3, 2, 1, 1];
+
+let (dedup, duplicates) = slice.partition_dedup();
+
+assert_eq!(dedup, [1, 2, 3, 2, 1]);
+assert_eq!(duplicates, [2, 3, 1]);
+
source

pub fn partition_dedup_by<F>(&mut self, same_bucket: F) -> (&mut [T], &mut [T])
where + F: FnMut(&mut T, &mut T) -> bool,

🔬This is a nightly-only experimental API. (slice_partition_dedup)

Moves all but the first of consecutive elements to the end of the slice satisfying +a given equality relation.

+

Returns two slices. The first contains no consecutive repeated elements. +The second contains all the duplicates in no specified order.

+

The same_bucket function is passed references to two elements from the slice and +must determine if the elements compare equal. The elements are passed in opposite order +from their order in the slice, so if same_bucket(a, b) returns true, a is moved +at the end of the slice.

+

If the slice is sorted, the first returned slice contains no duplicates.

+
§Examples
+
#![feature(slice_partition_dedup)]
+
+let mut slice = ["foo", "Foo", "BAZ", "Bar", "bar", "baz", "BAZ"];
+
+let (dedup, duplicates) = slice.partition_dedup_by(|a, b| a.eq_ignore_ascii_case(b));
+
+assert_eq!(dedup, ["foo", "BAZ", "Bar", "baz"]);
+assert_eq!(duplicates, ["bar", "Foo", "BAZ"]);
+
source

pub fn partition_dedup_by_key<K, F>(&mut self, key: F) -> (&mut [T], &mut [T])
where + F: FnMut(&mut T) -> K, + K: PartialEq,

🔬This is a nightly-only experimental API. (slice_partition_dedup)

Moves all but the first of consecutive elements to the end of the slice that resolve +to the same key.

+

Returns two slices. The first contains no consecutive repeated elements. +The second contains all the duplicates in no specified order.

+

If the slice is sorted, the first returned slice contains no duplicates.

+
§Examples
+
#![feature(slice_partition_dedup)]
+
+let mut slice = [10, 20, 21, 30, 30, 20, 11, 13];
+
+let (dedup, duplicates) = slice.partition_dedup_by_key(|i| *i / 10);
+
+assert_eq!(dedup, [10, 20, 30, 20, 11]);
+assert_eq!(duplicates, [21, 30, 13]);
+
1.26.0 · source

pub fn rotate_left(&mut self, mid: usize)

Rotates the slice in-place such that the first mid elements of the +slice move to the end while the last self.len() - mid elements move to +the front.

+

After calling rotate_left, the element previously at index mid will +become the first element in the slice.

+
§Panics
+

This function will panic if mid is greater than the length of the +slice. Note that mid == self.len() does not panic and is a no-op +rotation.

+
§Complexity
+

Takes linear (in self.len()) time.

+
§Examples
+
let mut a = ['a', 'b', 'c', 'd', 'e', 'f'];
+a.rotate_left(2);
+assert_eq!(a, ['c', 'd', 'e', 'f', 'a', 'b']);
+

Rotating a subslice:

+ +
let mut a = ['a', 'b', 'c', 'd', 'e', 'f'];
+a[1..5].rotate_left(1);
+assert_eq!(a, ['a', 'c', 'd', 'e', 'b', 'f']);
+
1.26.0 · source

pub fn rotate_right(&mut self, k: usize)

Rotates the slice in-place such that the first self.len() - k +elements of the slice move to the end while the last k elements move +to the front.

+

After calling rotate_right, the element previously at index +self.len() - k will become the first element in the slice.

+
§Panics
+

This function will panic if k is greater than the length of the +slice. Note that k == self.len() does not panic and is a no-op +rotation.

+
§Complexity
+

Takes linear (in self.len()) time.

+
§Examples
+
let mut a = ['a', 'b', 'c', 'd', 'e', 'f'];
+a.rotate_right(2);
+assert_eq!(a, ['e', 'f', 'a', 'b', 'c', 'd']);
+

Rotating a subslice:

+ +
let mut a = ['a', 'b', 'c', 'd', 'e', 'f'];
+a[1..5].rotate_right(1);
+assert_eq!(a, ['a', 'e', 'b', 'c', 'd', 'f']);
+
1.50.0 · source

pub fn fill(&mut self, value: T)
where + T: Clone,

Fills self with elements by cloning value.

+
§Examples
+
let mut buf = vec![0; 10];
+buf.fill(1);
+assert_eq!(buf, vec![1; 10]);
+
1.51.0 · source

pub fn fill_with<F>(&mut self, f: F)
where + F: FnMut() -> T,

Fills self with elements returned by calling a closure repeatedly.

+

This method uses a closure to create new values. If you’d rather +Clone a given value, use fill. If you want to use the Default +trait to generate values, you can pass Default::default as the +argument.

+
§Examples
+
let mut buf = vec![1; 10];
+buf.fill_with(Default::default);
+assert_eq!(buf, vec![0; 10]);
+
1.7.0 · source

pub fn clone_from_slice(&mut self, src: &[T])
where + T: Clone,

Copies the elements from src into self.

+

The length of src must be the same as self.

+
§Panics
+

This function will panic if the two slices have different lengths.

+
§Examples
+

Cloning two elements from a slice into another:

+ +
let src = [1, 2, 3, 4];
+let mut dst = [0, 0];
+
+// Because the slices have to be the same length,
+// we slice the source slice from four elements
+// to two. It will panic if we don't do this.
+dst.clone_from_slice(&src[2..]);
+
+assert_eq!(src, [1, 2, 3, 4]);
+assert_eq!(dst, [3, 4]);
+

Rust enforces that there can only be one mutable reference with no +immutable references to a particular piece of data in a particular +scope. Because of this, attempting to use clone_from_slice on a +single slice will result in a compile failure:

+ +
let mut slice = [1, 2, 3, 4, 5];
+
+slice[..2].clone_from_slice(&slice[3..]); // compile fail!
+

To work around this, we can use split_at_mut to create two distinct +sub-slices from a slice:

+ +
let mut slice = [1, 2, 3, 4, 5];
+
+{
+    let (left, right) = slice.split_at_mut(2);
+    left.clone_from_slice(&right[1..]);
+}
+
+assert_eq!(slice, [4, 5, 3, 4, 5]);
+
1.9.0 · source

pub fn copy_from_slice(&mut self, src: &[T])
where + T: Copy,

Copies all elements from src into self, using a memcpy.

+

The length of src must be the same as self.

+

If T does not implement Copy, use clone_from_slice.

+
§Panics
+

This function will panic if the two slices have different lengths.

+
§Examples
+

Copying two elements from a slice into another:

+ +
let src = [1, 2, 3, 4];
+let mut dst = [0, 0];
+
+// Because the slices have to be the same length,
+// we slice the source slice from four elements
+// to two. It will panic if we don't do this.
+dst.copy_from_slice(&src[2..]);
+
+assert_eq!(src, [1, 2, 3, 4]);
+assert_eq!(dst, [3, 4]);
+

Rust enforces that there can only be one mutable reference with no +immutable references to a particular piece of data in a particular +scope. Because of this, attempting to use copy_from_slice on a +single slice will result in a compile failure:

+ +
let mut slice = [1, 2, 3, 4, 5];
+
+slice[..2].copy_from_slice(&slice[3..]); // compile fail!
+

To work around this, we can use split_at_mut to create two distinct +sub-slices from a slice:

+ +
let mut slice = [1, 2, 3, 4, 5];
+
+{
+    let (left, right) = slice.split_at_mut(2);
+    left.copy_from_slice(&right[1..]);
+}
+
+assert_eq!(slice, [4, 5, 3, 4, 5]);
+
1.37.0 · source

pub fn copy_within<R>(&mut self, src: R, dest: usize)
where + R: RangeBounds<usize>, + T: Copy,

Copies elements from one part of the slice to another part of itself, +using a memmove.

+

src is the range within self to copy from. dest is the starting +index of the range within self to copy to, which will have the same +length as src. The two ranges may overlap. The ends of the two ranges +must be less than or equal to self.len().

+
§Panics
+

This function will panic if either range exceeds the end of the slice, +or if the end of src is before the start.

+
§Examples
+

Copying four bytes within a slice:

+ +
let mut bytes = *b"Hello, World!";
+
+bytes.copy_within(1..5, 8);
+
+assert_eq!(&bytes, b"Hello, Wello!");
+
1.27.0 · source

pub fn swap_with_slice(&mut self, other: &mut [T])

Swaps all elements in self with those in other.

+

The length of other must be the same as self.

+
§Panics
+

This function will panic if the two slices have different lengths.

+
§Example
+

Swapping two elements across slices:

+ +
let mut slice1 = [0, 0];
+let mut slice2 = [1, 2, 3, 4];
+
+slice1.swap_with_slice(&mut slice2[2..]);
+
+assert_eq!(slice1, [3, 4]);
+assert_eq!(slice2, [1, 2, 0, 0]);
+

Rust enforces that there can only be one mutable reference to a +particular piece of data in a particular scope. Because of this, +attempting to use swap_with_slice on a single slice will result in +a compile failure:

+ +
let mut slice = [1, 2, 3, 4, 5];
+slice[..2].swap_with_slice(&mut slice[3..]); // compile fail!
+

To work around this, we can use split_at_mut to create two distinct +mutable sub-slices from a slice:

+ +
let mut slice = [1, 2, 3, 4, 5];
+
+{
+    let (left, right) = slice.split_at_mut(2);
+    left.swap_with_slice(&mut right[1..]);
+}
+
+assert_eq!(slice, [4, 5, 3, 1, 2]);
+
1.30.0 · source

pub unsafe fn align_to<U>(&self) -> (&[T], &[U], &[T])

Transmutes the slice to a slice of another type, ensuring alignment of the types is +maintained.

+

This method splits the slice into three distinct slices: prefix, correctly aligned middle +slice of a new type, and the suffix slice. The middle part will be as big as possible under +the given alignment constraint and element size.

+

This method has no purpose when either input element T or output element U are +zero-sized and will return the original slice without splitting anything.

+
§Safety
+

This method is essentially a transmute with respect to the elements in the returned +middle slice, so all the usual caveats pertaining to transmute::<T, U> also apply here.

+
§Examples
+

Basic usage:

+ +
unsafe {
+    let bytes: [u8; 7] = [1, 2, 3, 4, 5, 6, 7];
+    let (prefix, shorts, suffix) = bytes.align_to::<u16>();
+    // less_efficient_algorithm_for_bytes(prefix);
+    // more_efficient_algorithm_for_aligned_shorts(shorts);
+    // less_efficient_algorithm_for_bytes(suffix);
+}
+
1.30.0 · source

pub unsafe fn align_to_mut<U>(&mut self) -> (&mut [T], &mut [U], &mut [T])

Transmutes the mutable slice to a mutable slice of another type, ensuring alignment of the +types is maintained.

+

This method splits the slice into three distinct slices: prefix, correctly aligned middle +slice of a new type, and the suffix slice. The middle part will be as big as possible under +the given alignment constraint and element size.

+

This method has no purpose when either input element T or output element U are +zero-sized and will return the original slice without splitting anything.

+
§Safety
+

This method is essentially a transmute with respect to the elements in the returned +middle slice, so all the usual caveats pertaining to transmute::<T, U> also apply here.

+
§Examples
+

Basic usage:

+ +
unsafe {
+    let mut bytes: [u8; 7] = [1, 2, 3, 4, 5, 6, 7];
+    let (prefix, shorts, suffix) = bytes.align_to_mut::<u16>();
+    // less_efficient_algorithm_for_bytes(prefix);
+    // more_efficient_algorithm_for_aligned_shorts(shorts);
+    // less_efficient_algorithm_for_bytes(suffix);
+}
+
source

pub fn as_simd<const LANES: usize>(&self) -> (&[T], &[Simd<T, LANES>], &[T])
where + Simd<T, LANES>: AsRef<[T; LANES]>, + T: SimdElement, + LaneCount<LANES>: SupportedLaneCount,

🔬This is a nightly-only experimental API. (portable_simd)

Splits a slice into a prefix, a middle of aligned SIMD types, and a suffix.

+

This is a safe wrapper around slice::align_to, so inherits the same +guarantees as that method.

+
§Panics
+

This will panic if the size of the SIMD type is different from +LANES times that of the scalar.

+

At the time of writing, the trait restrictions on Simd<T, LANES> keeps +that from ever happening, as only power-of-two numbers of lanes are +supported. It’s possible that, in the future, those restrictions might +be lifted in a way that would make it possible to see panics from this +method for something like LANES == 3.

+
§Examples
+
#![feature(portable_simd)]
+use core::simd::prelude::*;
+
+let short = &[1, 2, 3];
+let (prefix, middle, suffix) = short.as_simd::<4>();
+assert_eq!(middle, []); // Not enough elements for anything in the middle
+
+// They might be split in any possible way between prefix and suffix
+let it = prefix.iter().chain(suffix).copied();
+assert_eq!(it.collect::<Vec<_>>(), vec![1, 2, 3]);
+
+fn basic_simd_sum(x: &[f32]) -> f32 {
+    use std::ops::Add;
+    let (prefix, middle, suffix) = x.as_simd();
+    let sums = f32x4::from_array([
+        prefix.iter().copied().sum(),
+        0.0,
+        0.0,
+        suffix.iter().copied().sum(),
+    ]);
+    let sums = middle.iter().copied().fold(sums, f32x4::add);
+    sums.reduce_sum()
+}
+
+let numbers: Vec<f32> = (1..101).map(|x| x as _).collect();
+assert_eq!(basic_simd_sum(&numbers[1..99]), 4949.0);
+
source

pub fn as_simd_mut<const LANES: usize>( + &mut self, +) -> (&mut [T], &mut [Simd<T, LANES>], &mut [T])
where + Simd<T, LANES>: AsMut<[T; LANES]>, + T: SimdElement, + LaneCount<LANES>: SupportedLaneCount,

🔬This is a nightly-only experimental API. (portable_simd)

Splits a mutable slice into a mutable prefix, a middle of aligned SIMD types, +and a mutable suffix.

+

This is a safe wrapper around slice::align_to_mut, so inherits the same +guarantees as that method.

+

This is the mutable version of slice::as_simd; see that for examples.

+
§Panics
+

This will panic if the size of the SIMD type is different from +LANES times that of the scalar.

+

At the time of writing, the trait restrictions on Simd<T, LANES> keeps +that from ever happening, as only power-of-two numbers of lanes are +supported. It’s possible that, in the future, those restrictions might +be lifted in a way that would make it possible to see panics from this +method for something like LANES == 3.

+
1.82.0 · source

pub fn is_sorted(&self) -> bool
where + T: PartialOrd,

Checks if the elements of this slice are sorted.

+

That is, for each element a and its following element b, a <= b must hold. If the +slice yields exactly zero or one element, true is returned.

+

Note that if Self::Item is only PartialOrd, but not Ord, the above definition +implies that this function returns false if any two consecutive items are not +comparable.

+
§Examples
+
let empty: [i32; 0] = [];
+
+assert!([1, 2, 2, 9].is_sorted());
+assert!(![1, 3, 2, 4].is_sorted());
+assert!([0].is_sorted());
+assert!(empty.is_sorted());
+assert!(![0.0, 1.0, f32::NAN].is_sorted());
+
1.82.0 · source

pub fn is_sorted_by<'a, F>(&'a self, compare: F) -> bool
where + F: FnMut(&'a T, &'a T) -> bool,

Checks if the elements of this slice are sorted using the given comparator function.

+

Instead of using PartialOrd::partial_cmp, this function uses the given compare +function to determine whether two elements are to be considered in sorted order.

+
§Examples
+
assert!([1, 2, 2, 9].is_sorted_by(|a, b| a <= b));
+assert!(![1, 2, 2, 9].is_sorted_by(|a, b| a < b));
+
+assert!([0].is_sorted_by(|a, b| true));
+assert!([0].is_sorted_by(|a, b| false));
+
+let empty: [i32; 0] = [];
+assert!(empty.is_sorted_by(|a, b| false));
+assert!(empty.is_sorted_by(|a, b| true));
+
1.82.0 · source

pub fn is_sorted_by_key<'a, F, K>(&'a self, f: F) -> bool
where + F: FnMut(&'a T) -> K, + K: PartialOrd,

Checks if the elements of this slice are sorted using the given key extraction function.

+

Instead of comparing the slice’s elements directly, this function compares the keys of the +elements, as determined by f. Apart from that, it’s equivalent to is_sorted; see its +documentation for more information.

+
§Examples
+
assert!(["c", "bb", "aaa"].is_sorted_by_key(|s| s.len()));
+assert!(![-2i32, -1, 0, 3].is_sorted_by_key(|n| n.abs()));
+
1.52.0 · source

pub fn partition_point<P>(&self, pred: P) -> usize
where + P: FnMut(&T) -> bool,

Returns the index of the partition point according to the given predicate +(the index of the first element of the second partition).

+

The slice is assumed to be partitioned according to the given predicate. +This means that all elements for which the predicate returns true are at the start of the slice +and all elements for which the predicate returns false are at the end. +For example, [7, 15, 3, 5, 4, 12, 6] is partitioned under the predicate x % 2 != 0 +(all odd numbers are at the start, all even at the end).

+

If this slice is not partitioned, the returned result is unspecified and meaningless, +as this method performs a kind of binary search.

+

See also binary_search, binary_search_by, and binary_search_by_key.

+
§Examples
+
let v = [1, 2, 3, 3, 5, 6, 7];
+let i = v.partition_point(|&x| x < 5);
+
+assert_eq!(i, 4);
+assert!(v[..i].iter().all(|&x| x < 5));
+assert!(v[i..].iter().all(|&x| !(x < 5)));
+

If all elements of the slice match the predicate, including if the slice +is empty, then the length of the slice will be returned:

+ +
let a = [2, 4, 8];
+assert_eq!(a.partition_point(|x| x < &100), a.len());
+let a: [i32; 0] = [];
+assert_eq!(a.partition_point(|x| x < &100), 0);
+

If you want to insert an item to a sorted vector, while maintaining +sort order:

+ +
let mut s = vec![0, 1, 1, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55];
+let num = 42;
+let idx = s.partition_point(|&x| x <= num);
+s.insert(idx, num);
+assert_eq!(s, [0, 1, 1, 1, 1, 2, 3, 5, 8, 13, 21, 34, 42, 55]);
+
source

pub fn take<'a, R>(self: &mut &'a [T], range: R) -> Option<&'a [T]>
where + R: OneSidedRange<usize>,

🔬This is a nightly-only experimental API. (slice_take)

Removes the subslice corresponding to the given range +and returns a reference to it.

+

Returns None and does not modify the slice if the given +range is out of bounds.

+

Note that this method only accepts one-sided ranges such as +2.. or ..6, but not 2..6.

+
§Examples
+

Taking the first three elements of a slice:

+ +
#![feature(slice_take)]
+
+let mut slice: &[_] = &['a', 'b', 'c', 'd'];
+let mut first_three = slice.take(..3).unwrap();
+
+assert_eq!(slice, &['d']);
+assert_eq!(first_three, &['a', 'b', 'c']);
+

Taking the last two elements of a slice:

+ +
#![feature(slice_take)]
+
+let mut slice: &[_] = &['a', 'b', 'c', 'd'];
+let mut tail = slice.take(2..).unwrap();
+
+assert_eq!(slice, &['a', 'b']);
+assert_eq!(tail, &['c', 'd']);
+

Getting None when range is out of bounds:

+ +
#![feature(slice_take)]
+
+let mut slice: &[_] = &['a', 'b', 'c', 'd'];
+
+assert_eq!(None, slice.take(5..));
+assert_eq!(None, slice.take(..5));
+assert_eq!(None, slice.take(..=4));
+let expected: &[char] = &['a', 'b', 'c', 'd'];
+assert_eq!(Some(expected), slice.take(..4));
+
source

pub fn take_mut<'a, R>(self: &mut &'a mut [T], range: R) -> Option<&'a mut [T]>
where + R: OneSidedRange<usize>,

🔬This is a nightly-only experimental API. (slice_take)

Removes the subslice corresponding to the given range +and returns a mutable reference to it.

+

Returns None and does not modify the slice if the given +range is out of bounds.

+

Note that this method only accepts one-sided ranges such as +2.. or ..6, but not 2..6.

+
§Examples
+

Taking the first three elements of a slice:

+ +
#![feature(slice_take)]
+
+let mut slice: &mut [_] = &mut ['a', 'b', 'c', 'd'];
+let mut first_three = slice.take_mut(..3).unwrap();
+
+assert_eq!(slice, &mut ['d']);
+assert_eq!(first_three, &mut ['a', 'b', 'c']);
+

Taking the last two elements of a slice:

+ +
#![feature(slice_take)]
+
+let mut slice: &mut [_] = &mut ['a', 'b', 'c', 'd'];
+let mut tail = slice.take_mut(2..).unwrap();
+
+assert_eq!(slice, &mut ['a', 'b']);
+assert_eq!(tail, &mut ['c', 'd']);
+

Getting None when range is out of bounds:

+ +
#![feature(slice_take)]
+
+let mut slice: &mut [_] = &mut ['a', 'b', 'c', 'd'];
+
+assert_eq!(None, slice.take_mut(5..));
+assert_eq!(None, slice.take_mut(..5));
+assert_eq!(None, slice.take_mut(..=4));
+let expected: &mut [_] = &mut ['a', 'b', 'c', 'd'];
+assert_eq!(Some(expected), slice.take_mut(..4));
+
source

pub fn take_first<'a>(self: &mut &'a [T]) -> Option<&'a T>

🔬This is a nightly-only experimental API. (slice_take)

Removes the first element of the slice and returns a reference +to it.

+

Returns None if the slice is empty.

+
§Examples
+
#![feature(slice_take)]
+
+let mut slice: &[_] = &['a', 'b', 'c'];
+let first = slice.take_first().unwrap();
+
+assert_eq!(slice, &['b', 'c']);
+assert_eq!(first, &'a');
+
source

pub fn take_first_mut<'a>(self: &mut &'a mut [T]) -> Option<&'a mut T>

🔬This is a nightly-only experimental API. (slice_take)

Removes the first element of the slice and returns a mutable +reference to it.

+

Returns None if the slice is empty.

+
§Examples
+
#![feature(slice_take)]
+
+let mut slice: &mut [_] = &mut ['a', 'b', 'c'];
+let first = slice.take_first_mut().unwrap();
+*first = 'd';
+
+assert_eq!(slice, &['b', 'c']);
+assert_eq!(first, &'d');
+
source

pub fn take_last<'a>(self: &mut &'a [T]) -> Option<&'a T>

🔬This is a nightly-only experimental API. (slice_take)

Removes the last element of the slice and returns a reference +to it.

+

Returns None if the slice is empty.

+
§Examples
+
#![feature(slice_take)]
+
+let mut slice: &[_] = &['a', 'b', 'c'];
+let last = slice.take_last().unwrap();
+
+assert_eq!(slice, &['a', 'b']);
+assert_eq!(last, &'c');
+
source

pub fn take_last_mut<'a>(self: &mut &'a mut [T]) -> Option<&'a mut T>

🔬This is a nightly-only experimental API. (slice_take)

Removes the last element of the slice and returns a mutable +reference to it.

+

Returns None if the slice is empty.

+
§Examples
+
#![feature(slice_take)]
+
+let mut slice: &mut [_] = &mut ['a', 'b', 'c'];
+let last = slice.take_last_mut().unwrap();
+*last = 'd';
+
+assert_eq!(slice, &['a', 'b']);
+assert_eq!(last, &'d');
+
source

pub unsafe fn get_many_unchecked_mut<const N: usize>( + &mut self, + indices: [usize; N], +) -> [&mut T; N]

🔬This is a nightly-only experimental API. (get_many_mut)

Returns mutable references to many indices at once, without doing any checks.

+

For a safe alternative see get_many_mut.

+
§Safety
+

Calling this method with overlapping or out-of-bounds indices is undefined behavior +even if the resulting references are not used.

+
§Examples
+
#![feature(get_many_mut)]
+
+let x = &mut [1, 2, 4];
+
+unsafe {
+    let [a, b] = x.get_many_unchecked_mut([0, 2]);
+    *a *= 10;
+    *b *= 100;
+}
+assert_eq!(x, &[10, 2, 400]);
+
source

pub fn get_many_mut<const N: usize>( + &mut self, + indices: [usize; N], +) -> Result<[&mut T; N], GetManyMutError<N>>

🔬This is a nightly-only experimental API. (get_many_mut)

Returns mutable references to many indices at once.

+

Returns an error if any index is out-of-bounds, or if the same index was +passed more than once.

+
§Examples
+
#![feature(get_many_mut)]
+
+let v = &mut [1, 2, 3];
+if let Ok([a, b]) = v.get_many_mut([0, 2]) {
+    *a = 413;
+    *b = 612;
+}
+assert_eq!(v, &[413, 2, 612]);
+
source

pub fn elem_offset(&self, element: &T) -> Option<usize>

🔬This is a nightly-only experimental API. (substr_range)

Returns the index that an element reference points to.

+

Returns None if element does not point within the slice or if it points between elements.

+

This method is useful for extending slice iterators like slice::split.

+

Note that this uses pointer arithmetic and does not compare elements. +To find the index of an element via comparison, use +.iter().position() instead.

+
§Panics
+

Panics if T is zero-sized.

+
§Examples
+

Basic usage:

+ +
#![feature(substr_range)]
+
+let nums: &[u32] = &[1, 7, 1, 1];
+let num = &nums[2];
+
+assert_eq!(num, &1);
+assert_eq!(nums.elem_offset(num), Some(2));
+

Returning None with an in-between element:

+ +
#![feature(substr_range)]
+
+let arr: &[[u32; 2]] = &[[0, 1], [2, 3]];
+let flat_arr: &[u32] = arr.as_flattened();
+
+let ok_elm: &[u32; 2] = flat_arr[0..2].try_into().unwrap();
+let weird_elm: &[u32; 2] = flat_arr[1..3].try_into().unwrap();
+
+assert_eq!(ok_elm, &[0, 1]);
+assert_eq!(weird_elm, &[1, 2]);
+
+assert_eq!(arr.elem_offset(ok_elm), Some(0)); // Points to element 0
+assert_eq!(arr.elem_offset(weird_elm), None); // Points between element 0 and 1
+
source

pub fn subslice_range(&self, subslice: &[T]) -> Option<Range<usize>>

🔬This is a nightly-only experimental API. (substr_range)

Returns the range of indices that a subslice points to.

+

Returns None if subslice does not point within the slice or if it points between elements.

+

This method does not compare elements. Instead, this method finds the location in the slice that +subslice was obtained from. To find the index of a subslice via comparison, instead use +.windows().position().

+

This method is useful for extending slice iterators like slice::split.

+

Note that this may return a false positive (either Some(0..0) or Some(self.len()..self.len())) +if subslice has a length of zero and points to the beginning or end of another, separate, slice.

+
§Panics
+

Panics if T is zero-sized.

+
§Examples
+

Basic usage:

+ +
#![feature(substr_range)]
+
+let nums = &[0, 5, 10, 0, 0, 5];
+
+let mut iter = nums
+    .split(|t| *t == 0)
+    .map(|n| nums.subslice_range(n).unwrap());
+
+assert_eq!(iter.next(), Some(0..0));
+assert_eq!(iter.next(), Some(1..3));
+assert_eq!(iter.next(), Some(4..4));
+assert_eq!(iter.next(), Some(5..6));
+
1.80.0 · source

pub fn as_flattened(&self) -> &[T]

Takes a &[[T; N]], and flattens it to a &[T].

+
§Panics
+

This panics if the length of the resulting slice would overflow a usize.

+

This is only possible when flattening a slice of arrays of zero-sized +types, and thus tends to be irrelevant in practice. If +size_of::<T>() > 0, this will never panic.

+
§Examples
+
assert_eq!([[1, 2, 3], [4, 5, 6]].as_flattened(), &[1, 2, 3, 4, 5, 6]);
+
+assert_eq!(
+    [[1, 2, 3], [4, 5, 6]].as_flattened(),
+    [[1, 2], [3, 4], [5, 6]].as_flattened(),
+);
+
+let slice_of_empty_arrays: &[[i32; 0]] = &[[], [], [], [], []];
+assert!(slice_of_empty_arrays.as_flattened().is_empty());
+
+let empty_slice_of_arrays: &[[u32; 10]] = &[];
+assert!(empty_slice_of_arrays.as_flattened().is_empty());
+
1.80.0 · source

pub fn as_flattened_mut(&mut self) -> &mut [T]

Takes a &mut [[T; N]], and flattens it to a &mut [T].

+
§Panics
+

This panics if the length of the resulting slice would overflow a usize.

+

This is only possible when flattening a slice of arrays of zero-sized +types, and thus tends to be irrelevant in practice. If +size_of::<T>() > 0, this will never panic.

+
§Examples
+
fn add_5_to_all(slice: &mut [i32]) {
+    for i in slice {
+        *i += 5;
+    }
+}
+
+let mut array = [[1, 2, 3], [4, 5, 6], [7, 8, 9]];
+add_5_to_all(array.as_flattened_mut());
+assert_eq!(array, [[6, 7, 8], [9, 10, 11], [12, 13, 14]]);
+
source

pub fn sort_floats(&mut self)

🔬This is a nightly-only experimental API. (sort_floats)

Sorts the slice of floats.

+

This sort is in-place (i.e. does not allocate), O(n * log(n)) worst-case, and uses +the ordering defined by f32::total_cmp.

+
§Current implementation
+

This uses the same sorting algorithm as sort_unstable_by.

+
§Examples
+
#![feature(sort_floats)]
+let mut v = [2.6, -5e-8, f32::NAN, 8.29, f32::INFINITY, -1.0, 0.0, -f32::INFINITY, -0.0];
+
+v.sort_floats();
+let sorted = [-f32::INFINITY, -1.0, -5e-8, -0.0, 0.0, 2.6, 8.29, f32::INFINITY, f32::NAN];
+assert_eq!(&v[..8], &sorted[..8]);
+assert!(v[8].is_nan());
+
source

pub fn sort_floats(&mut self)

🔬This is a nightly-only experimental API. (sort_floats)

Sorts the slice of floats.

+

This sort is in-place (i.e. does not allocate), O(n * log(n)) worst-case, and uses +the ordering defined by f64::total_cmp.

+
§Current implementation
+

This uses the same sorting algorithm as sort_unstable_by.

+
§Examples
+
#![feature(sort_floats)]
+let mut v = [2.6, -5e-8, f64::NAN, 8.29, f64::INFINITY, -1.0, 0.0, -f64::INFINITY, -0.0];
+
+v.sort_floats();
+let sorted = [-f64::INFINITY, -1.0, -5e-8, -0.0, 0.0, 2.6, 8.29, f64::INFINITY, f64::NAN];
+assert_eq!(&v[..8], &sorted[..8]);
+assert!(v[8].is_nan());
+
1.79.0 · source

pub fn utf8_chunks(&self) -> Utf8Chunks<'_>

Creates an iterator over the contiguous valid UTF-8 ranges of this +slice, and the non-UTF-8 fragments in between.

+
§Examples
+

This function formats arbitrary but mostly-UTF-8 bytes into Rust source +code in the form of a C-string literal (c"...").

+ +
use std::fmt::Write as _;
+
+pub fn cstr_literal(bytes: &[u8]) -> String {
+    let mut repr = String::new();
+    repr.push_str("c\"");
+    for chunk in bytes.utf8_chunks() {
+        for ch in chunk.valid().chars() {
+            // Escapes \0, \t, \r, \n, \\, \', \", and uses \u{...} for non-printable characters.
+            write!(repr, "{}", ch.escape_debug()).unwrap();
+        }
+        for byte in chunk.invalid() {
+            write!(repr, "\\x{:02X}", byte).unwrap();
+        }
+    }
+    repr.push('"');
+    repr
+}
+
+fn main() {
+    let lit = cstr_literal(b"\xferris the \xf0\x9f\xa6\x80\x07");
+    let expected = stringify!(c"\xFErris the 🦀\u{7}");
+    assert_eq!(lit, expected);
+}
+
1.0.0 · source

pub fn sort(&mut self)
where + T: Ord,

Sorts the slice, preserving initial order of equal elements.

+

This sort is stable (i.e., does not reorder equal elements) and O(n * log(n)) +worst-case.

+

If the implementation of Ord for T does not implement a total order the resulting +order of elements in the slice is unspecified. All original elements will remain in the +slice and any possible modifications via interior mutability are observed in the input. Same +is true if the implementation of Ord for T panics.

+

When applicable, unstable sorting is preferred because it is generally faster than stable +sorting and it doesn’t allocate auxiliary memory. See +sort_unstable. The exception are partially sorted slices, which +may be better served with slice::sort.

+

Sorting types that only implement PartialOrd such as f32 and f64 require +additional precautions. For example, f32::NAN != f32::NAN, which doesn’t fulfill the +reflexivity requirement of Ord. By using an alternative comparison function with +slice::sort_by such as f32::total_cmp or f64::total_cmp that defines a total +order users can sort slices containing floating-point values. Alternatively, if all values +in the slice are guaranteed to be in a subset for which PartialOrd::partial_cmp forms a +total order, it’s possible to sort the slice with sort_by(|a, b| a.partial_cmp(b).unwrap()).

+
§Current implementation
+

The current implementation is based on driftsort by Orson Peters and Lukas Bergdoll, which +combines the fast average case of quicksort with the fast worst case and partial run +detection of mergesort, achieving linear time on fully sorted and reversed inputs. On inputs +with k distinct elements, the expected time to sort the data is O(n * log(k)).

+

The auxiliary memory allocation behavior depends on the input length. Short slices are +handled without allocation, medium sized slices allocate self.len() and beyond that it +clamps at self.len() / 2.

+
§Panics
+

May panic if the implementation of Ord for T does not implement a total order.

+
§Examples
+
let mut v = [4, -5, 1, -3, 2];
+
+v.sort();
+assert_eq!(v, [-5, -3, 1, 2, 4]);
+
1.0.0 · source

pub fn sort_by<F>(&mut self, compare: F)
where + F: FnMut(&T, &T) -> Ordering,

Sorts the slice with a comparison function, preserving initial order of equal elements.

+

This sort is stable (i.e., does not reorder equal elements) and O(n * log(n)) +worst-case.

+

If the comparison function compare does not implement a total order the resulting order +of elements in the slice is unspecified. All original elements will remain in the slice and +any possible modifications via interior mutability are observed in the input. Same is true +if compare panics.

+

For example |a, b| (a - b).cmp(a) is a comparison function that is neither transitive nor +reflexive nor total, a < b < c < a with a = 1, b = 2, c = 3. For more information and +examples see the Ord documentation.

+
§Current implementation
+

The current implementation is based on driftsort by Orson Peters and Lukas Bergdoll, which +combines the fast average case of quicksort with the fast worst case and partial run +detection of mergesort, achieving linear time on fully sorted and reversed inputs. On inputs +with k distinct elements, the expected time to sort the data is O(n * log(k)).

+

The auxiliary memory allocation behavior depends on the input length. Short slices are +handled without allocation, medium sized slices allocate self.len() and beyond that it +clamps at self.len() / 2.

+
§Panics
+

May panic if compare does not implement a total order.

+
§Examples
+
let mut v = [4, -5, 1, -3, 2];
+v.sort_by(|a, b| a.cmp(b));
+assert_eq!(v, [-5, -3, 1, 2, 4]);
+
+// reverse sorting
+v.sort_by(|a, b| b.cmp(a));
+assert_eq!(v, [4, 2, 1, -3, -5]);
+
1.7.0 · source

pub fn sort_by_key<K, F>(&mut self, f: F)
where + F: FnMut(&T) -> K, + K: Ord,

Sorts the slice with a key extraction function, preserving initial order of equal elements.

+

This sort is stable (i.e., does not reorder equal elements) and O(m * n * log(n)) +worst-case, where the key function is O(m).

+

If the implementation of Ord for K does not implement a total order the resulting +order of elements in the slice is unspecified. All original elements will remain in the +slice and any possible modifications via interior mutability are observed in the input. Same +is true if the implementation of Ord for K panics.

+
§Current implementation
+

The current implementation is based on driftsort by Orson Peters and Lukas Bergdoll, which +combines the fast average case of quicksort with the fast worst case and partial run +detection of mergesort, achieving linear time on fully sorted and reversed inputs. On inputs +with k distinct elements, the expected time to sort the data is O(n * log(k)).

+

The auxiliary memory allocation behavior depends on the input length. Short slices are +handled without allocation, medium sized slices allocate self.len() and beyond that it +clamps at self.len() / 2.

+
§Panics
+

May panic if the implementation of Ord for K does not implement a total order.

+
§Examples
+
let mut v = [4i32, -5, 1, -3, 2];
+
+v.sort_by_key(|k| k.abs());
+assert_eq!(v, [1, 2, -3, 4, -5]);
+
1.34.0 · source

pub fn sort_by_cached_key<K, F>(&mut self, f: F)
where + F: FnMut(&T) -> K, + K: Ord,

Sorts the slice with a key extraction function, preserving initial order of equal elements.

+

This sort is stable (i.e., does not reorder equal elements) and O(m * n + n * +log(n)) worst-case, where the key function is O(m).

+

During sorting, the key function is called at most once per element, by using temporary +storage to remember the results of key evaluation. The order of calls to the key function is +unspecified and may change in future versions of the standard library.

+

If the implementation of Ord for K does not implement a total order the resulting +order of elements in the slice is unspecified. All original elements will remain in the +slice and any possible modifications via interior mutability are observed in the input. Same +is true if the implementation of Ord for K panics.

+

For simple key functions (e.g., functions that are property accesses or basic operations), +sort_by_key is likely to be faster.

+
§Current implementation
+

The current implementation is based on instruction-parallel-network sort by Lukas +Bergdoll, which combines the fast average case of randomized quicksort with the fast worst +case of heapsort, while achieving linear time on fully sorted and reversed inputs. And +O(k * log(n)) where k is the number of distinct elements in the input. It leverages +superscalar out-of-order execution capabilities commonly found in CPUs, to efficiently +perform the operation.

+

In the worst case, the algorithm allocates temporary storage in a Vec<(K, usize)> the +length of the slice.

+
§Panics
+

May panic if the implementation of Ord for K does not implement a total order.

+
§Examples
+
let mut v = [4i32, -5, 1, -3, 2, 10];
+
+// Strings are sorted by lexicographical order.
+v.sort_by_cached_key(|k| k.to_string());
+assert_eq!(v, [-3, -5, 1, 10, 2, 4]);
+
1.0.0 · source

pub fn to_vec(&self) -> Vec<T>
where + T: Clone,

Copies self into a new Vec.

+
§Examples
+
let s = [10, 40, 30];
+let x = s.to_vec();
+// Here, `s` and `x` can be modified independently.
+
source

pub fn to_vec_in<A>(&self, alloc: A) -> Vec<T, A>
where + A: Allocator, + T: Clone,

🔬This is a nightly-only experimental API. (allocator_api)

Copies self into a new Vec with an allocator.

+
§Examples
+
#![feature(allocator_api)]
+
+use std::alloc::System;
+
+let s = [10, 40, 30];
+let x = s.to_vec_in(System);
+// Here, `s` and `x` can be modified independently.
+
1.40.0 · source

pub fn repeat(&self, n: usize) -> Vec<T>
where + T: Copy,

Creates a vector by copying a slice n times.

+
§Panics
+

This function will panic if the capacity would overflow.

+
§Examples
+

Basic usage:

+ +
assert_eq!([1, 2].repeat(3), vec![1, 2, 1, 2, 1, 2]);
+

A panic upon overflow:

+ +
// this will panic at runtime
+b"0123456789abcdef".repeat(usize::MAX);
+
1.0.0 · source

pub fn concat<Item>(&self) -> <[T] as Concat<Item>>::Output
where + [T]: Concat<Item>, + Item: ?Sized,

Flattens a slice of T into a single value Self::Output.

+
§Examples
+
assert_eq!(["hello", "world"].concat(), "helloworld");
+assert_eq!([[1, 2], [3, 4]].concat(), [1, 2, 3, 4]);
+
1.3.0 · source

pub fn join<Separator>( + &self, + sep: Separator, +) -> <[T] as Join<Separator>>::Output
where + [T]: Join<Separator>,

Flattens a slice of T into a single value Self::Output, placing a +given separator between each.

+
§Examples
+
assert_eq!(["hello", "world"].join(" "), "hello world");
+assert_eq!([[1, 2], [3, 4]].join(&0), [1, 2, 0, 3, 4]);
+assert_eq!([[1, 2], [3, 4]].join(&[0, 0][..]), [1, 2, 0, 0, 3, 4]);
+
1.0.0 · source

pub fn connect<Separator>( + &self, + sep: Separator, +) -> <[T] as Join<Separator>>::Output
where + [T]: Join<Separator>,

👎Deprecated since 1.3.0: renamed to join

Flattens a slice of T into a single value Self::Output, placing a +given separator between each.

+
§Examples
+
assert_eq!(["hello", "world"].connect(" "), "hello world");
+assert_eq!([[1, 2], [3, 4]].connect(&0), [1, 2, 0, 3, 4]);
+
1.23.0 · source

pub fn to_ascii_uppercase(&self) -> Vec<u8>

Returns a vector containing a copy of this slice where each byte +is mapped to its ASCII upper case equivalent.

+

ASCII letters ‘a’ to ‘z’ are mapped to ‘A’ to ‘Z’, +but non-ASCII letters are unchanged.

+

To uppercase the value in-place, use make_ascii_uppercase.

+
1.23.0 · source

pub fn to_ascii_lowercase(&self) -> Vec<u8>

Returns a vector containing a copy of this slice where each byte +is mapped to its ASCII lower case equivalent.

+

ASCII letters ‘A’ to ‘Z’ are mapped to ‘a’ to ‘z’, +but non-ASCII letters are unchanged.

+

To lowercase the value in-place, use make_ascii_lowercase.

+

Trait Implementations§

§

impl<T> Archive for ThinVec<T>
where + T: Archive,

§

type Archived = ArchivedVec<<T as Archive>::Archived>

The archived representation of this type. Read more
§

type Resolver = VecResolver

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
§

fn resolve( + &self, + resolver: <ThinVec<T> as Archive>::Resolver, + out: Place<<ThinVec<T> as Archive>::Archived>, +)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
§

impl<T> AsRef<[T]> for ThinVec<T>

§

fn as_ref(&self) -> &[T]

Converts this type into a shared reference of the (usually inferred) input type.
§

impl<T> Borrow<[T]> for ThinVec<T>

§

fn borrow(&self) -> &[T]

Immutably borrows from an owned value. Read more
§

impl<T> BorrowMut<[T]> for ThinVec<T>

§

fn borrow_mut(&mut self) -> &mut [T]

Mutably borrows from an owned value. Read more
§

impl<T> Clone for ThinVec<T>
where + T: Clone,

§

fn clone(&self) -> ThinVec<T>

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl<T> Debug for ThinVec<T>
where + T: Debug,

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl<T> Default for ThinVec<T>

§

fn default() -> ThinVec<T>

Returns the “default value” for a type. Read more
§

impl<T> Deref for ThinVec<T>

§

type Target = [T]

The resulting type after dereferencing.
§

fn deref(&self) -> &[T]

Dereferences the value.
§

impl<T> DerefMut for ThinVec<T>

§

fn deref_mut(&mut self) -> &mut [T]

Mutably dereferences the value.
§

impl<'de, T> Deserialize<'de> for ThinVec<T>
where + T: Deserialize<'de>,

§

fn deserialize<D>( + deserializer: D, +) -> Result<ThinVec<T>, <D as Deserializer<'de>>::Error>
where + D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
§

impl<T> Drop for ThinVec<T>

§

fn drop(&mut self)

Executes the destructor for this type. Read more
§

impl<T> Extend<T> for ThinVec<T>

§

fn extend<I>(&mut self, iter: I)
where + I: IntoIterator<Item = T>,

Extends a collection with the contents of an iterator. Read more
source§

fn extend_one(&mut self, item: A)

🔬This is a nightly-only experimental API. (extend_one)
Extends a collection with exactly one element.
source§

fn extend_reserve(&mut self, additional: usize)

🔬This is a nightly-only experimental API. (extend_one)
Reserves capacity in a collection for the given number of additional elements. Read more
§

impl<T> From<&[T]> for ThinVec<T>
where + T: Clone,

§

fn from(s: &[T]) -> ThinVec<T>

Allocate a ThinVec<T> and fill it by cloning s’s items.

+
§Examples
+
use thin_vec::{ThinVec, thin_vec};
+
+assert_eq!(ThinVec::from(&[1, 2, 3][..]), thin_vec![1, 2, 3]);
+
§

impl<T> From<&mut [T]> for ThinVec<T>
where + T: Clone,

§

fn from(s: &mut [T]) -> ThinVec<T>

Allocate a ThinVec<T> and fill it by cloning s’s items.

+
§Examples
+
use thin_vec::{ThinVec, thin_vec};
+
+assert_eq!(ThinVec::from(&mut [1, 2, 3][..]), thin_vec![1, 2, 3]);
+
§

impl From<&str> for ThinVec<u8>

§

fn from(s: &str) -> ThinVec<u8>

Allocate a ThinVec<u8> and fill it with a UTF-8 string.

+
§Examples
+
use thin_vec::{ThinVec, thin_vec};
+
+assert_eq!(ThinVec::from("123"), thin_vec![b'1', b'2', b'3']);
+
§

impl<T, const N: usize> From<[T; N]> for ThinVec<T>

§

fn from(s: [T; N]) -> ThinVec<T>

Allocate a ThinVec<T> and move s’s items into it.

+
§Examples
+
use thin_vec::{ThinVec, thin_vec};
+
+assert_eq!(ThinVec::from([1, 2, 3]), thin_vec![1, 2, 3]);
+
§

impl<T> From<Box<[T]>> for ThinVec<T>

§

fn from(s: Box<[T]>) -> ThinVec<T>

Convert a boxed slice into a vector by transferring ownership of +the existing heap allocation.

+

NOTE: unlike std, this must reallocate to change the layout!

+
§Examples
+
use thin_vec::{ThinVec, thin_vec};
+
+let b: Box<[i32]> = thin_vec![1, 2, 3].into_iter().collect();
+assert_eq!(ThinVec::from(b), thin_vec![1, 2, 3]);
+
§

impl<T> From<ThinVec<T>> for Box<[T]>

§

fn from(v: ThinVec<T>) -> Box<[T]>

Convert a vector into a boxed slice.

+

If v has excess capacity, its items will be moved into a +newly-allocated buffer with exactly the right capacity.

+

NOTE: unlike std, this must reallocate to change the layout!

+
§Examples
+
use thin_vec::{ThinVec, thin_vec};
+assert_eq!(Box::from(thin_vec![1, 2, 3]), thin_vec![1, 2, 3].into_iter().collect());
+
§

impl<T> From<Vec<T>> for ThinVec<T>

§

fn from(s: Vec<T>) -> ThinVec<T>

Convert a std::Vec into a ThinVec.

+

NOTE: this must reallocate to change the layout!

+
§Examples
+
use thin_vec::{ThinVec, thin_vec};
+
+let b: Vec<i32> = vec![1, 2, 3];
+assert_eq!(ThinVec::from(b), thin_vec![1, 2, 3]);
+
§

impl<T> FromIterator<T> for ThinVec<T>

§

fn from_iter<I>(iter: I) -> ThinVec<T>
where + I: IntoIterator<Item = T>,

Creates a value from an iterator. Read more
§

impl<T> Hash for ThinVec<T>
where + T: Hash,

§

fn hash<H>(&self, state: &mut H)
where + H: Hasher,

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where + H: Hasher, + Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
§

impl<'a, T> IntoIterator for &'a ThinVec<T>

§

type Item = &'a T

The type of the elements being iterated over.
§

type IntoIter = Iter<'a, T>

Which kind of iterator are we turning this into?
§

fn into_iter(self) -> Iter<'a, T>

Creates an iterator from a value. Read more
§

impl<'a, T> IntoIterator for &'a mut ThinVec<T>

§

type Item = &'a mut T

The type of the elements being iterated over.
§

type IntoIter = IterMut<'a, T>

Which kind of iterator are we turning this into?
§

fn into_iter(self) -> IterMut<'a, T>

Creates an iterator from a value. Read more
§

impl<T> IntoIterator for ThinVec<T>

§

type Item = T

The type of the elements being iterated over.
§

type IntoIter = IntoIter<T>

Which kind of iterator are we turning this into?
§

fn into_iter(self) -> IntoIter<T>

Creates an iterator from a value. Read more
§

impl<T> Ord for ThinVec<T>
where + T: Ord,

§

fn cmp(&self, other: &ThinVec<T>) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Self
where + Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Self
where + Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · source§

fn clamp(self, min: Self, max: Self) -> Self
where + Self: Sized + PartialOrd,

Restrict a value to a certain interval. Read more
§

impl<'a, A, B> PartialEq<&'a [B]> for ThinVec<A>
where + A: PartialEq<B>,

§

fn eq(&self, other: &&'a [B]) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
§

impl<'a, A, B> PartialEq<&'a [B; 0]> for ThinVec<A>
where + A: PartialEq<B>,

§

fn eq(&self, other: &&'a [B; 0]) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
§

impl<'a, A, B> PartialEq<&'a [B; 1]> for ThinVec<A>
where + A: PartialEq<B>,

§

fn eq(&self, other: &&'a [B; 1]) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
§

impl<'a, A, B> PartialEq<&'a [B; 10]> for ThinVec<A>
where + A: PartialEq<B>,

§

fn eq(&self, other: &&'a [B; 10]) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
§

impl<'a, A, B> PartialEq<&'a [B; 11]> for ThinVec<A>
where + A: PartialEq<B>,

§

fn eq(&self, other: &&'a [B; 11]) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
§

impl<'a, A, B> PartialEq<&'a [B; 12]> for ThinVec<A>
where + A: PartialEq<B>,

§

fn eq(&self, other: &&'a [B; 12]) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
§

impl<'a, A, B> PartialEq<&'a [B; 13]> for ThinVec<A>
where + A: PartialEq<B>,

§

fn eq(&self, other: &&'a [B; 13]) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
§

impl<'a, A, B> PartialEq<&'a [B; 14]> for ThinVec<A>
where + A: PartialEq<B>,

§

fn eq(&self, other: &&'a [B; 14]) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
§

impl<'a, A, B> PartialEq<&'a [B; 15]> for ThinVec<A>
where + A: PartialEq<B>,

§

fn eq(&self, other: &&'a [B; 15]) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
§

impl<'a, A, B> PartialEq<&'a [B; 16]> for ThinVec<A>
where + A: PartialEq<B>,

§

fn eq(&self, other: &&'a [B; 16]) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
§

impl<'a, A, B> PartialEq<&'a [B; 17]> for ThinVec<A>
where + A: PartialEq<B>,

§

fn eq(&self, other: &&'a [B; 17]) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
§

impl<'a, A, B> PartialEq<&'a [B; 18]> for ThinVec<A>
where + A: PartialEq<B>,

§

fn eq(&self, other: &&'a [B; 18]) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
§

impl<'a, A, B> PartialEq<&'a [B; 19]> for ThinVec<A>
where + A: PartialEq<B>,

§

fn eq(&self, other: &&'a [B; 19]) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
§

impl<'a, A, B> PartialEq<&'a [B; 2]> for ThinVec<A>
where + A: PartialEq<B>,

§

fn eq(&self, other: &&'a [B; 2]) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
§

impl<'a, A, B> PartialEq<&'a [B; 20]> for ThinVec<A>
where + A: PartialEq<B>,

§

fn eq(&self, other: &&'a [B; 20]) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
§

impl<'a, A, B> PartialEq<&'a [B; 21]> for ThinVec<A>
where + A: PartialEq<B>,

§

fn eq(&self, other: &&'a [B; 21]) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
§

impl<'a, A, B> PartialEq<&'a [B; 22]> for ThinVec<A>
where + A: PartialEq<B>,

§

fn eq(&self, other: &&'a [B; 22]) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
§

impl<'a, A, B> PartialEq<&'a [B; 23]> for ThinVec<A>
where + A: PartialEq<B>,

§

fn eq(&self, other: &&'a [B; 23]) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
§

impl<'a, A, B> PartialEq<&'a [B; 24]> for ThinVec<A>
where + A: PartialEq<B>,

§

fn eq(&self, other: &&'a [B; 24]) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
§

impl<'a, A, B> PartialEq<&'a [B; 25]> for ThinVec<A>
where + A: PartialEq<B>,

§

fn eq(&self, other: &&'a [B; 25]) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
§

impl<'a, A, B> PartialEq<&'a [B; 26]> for ThinVec<A>
where + A: PartialEq<B>,

§

fn eq(&self, other: &&'a [B; 26]) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
§

impl<'a, A, B> PartialEq<&'a [B; 27]> for ThinVec<A>
where + A: PartialEq<B>,

§

fn eq(&self, other: &&'a [B; 27]) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
§

impl<'a, A, B> PartialEq<&'a [B; 28]> for ThinVec<A>
where + A: PartialEq<B>,

§

fn eq(&self, other: &&'a [B; 28]) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
§

impl<'a, A, B> PartialEq<&'a [B; 29]> for ThinVec<A>
where + A: PartialEq<B>,

§

fn eq(&self, other: &&'a [B; 29]) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
§

impl<'a, A, B> PartialEq<&'a [B; 3]> for ThinVec<A>
where + A: PartialEq<B>,

§

fn eq(&self, other: &&'a [B; 3]) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
§

impl<'a, A, B> PartialEq<&'a [B; 30]> for ThinVec<A>
where + A: PartialEq<B>,

§

fn eq(&self, other: &&'a [B; 30]) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
§

impl<'a, A, B> PartialEq<&'a [B; 31]> for ThinVec<A>
where + A: PartialEq<B>,

§

fn eq(&self, other: &&'a [B; 31]) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
§

impl<'a, A, B> PartialEq<&'a [B; 32]> for ThinVec<A>
where + A: PartialEq<B>,

§

fn eq(&self, other: &&'a [B; 32]) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
§

impl<'a, A, B> PartialEq<&'a [B; 4]> for ThinVec<A>
where + A: PartialEq<B>,

§

fn eq(&self, other: &&'a [B; 4]) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
§

impl<'a, A, B> PartialEq<&'a [B; 5]> for ThinVec<A>
where + A: PartialEq<B>,

§

fn eq(&self, other: &&'a [B; 5]) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
§

impl<'a, A, B> PartialEq<&'a [B; 6]> for ThinVec<A>
where + A: PartialEq<B>,

§

fn eq(&self, other: &&'a [B; 6]) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
§

impl<'a, A, B> PartialEq<&'a [B; 7]> for ThinVec<A>
where + A: PartialEq<B>,

§

fn eq(&self, other: &&'a [B; 7]) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
§

impl<'a, A, B> PartialEq<&'a [B; 8]> for ThinVec<A>
where + A: PartialEq<B>,

§

fn eq(&self, other: &&'a [B; 8]) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
§

impl<'a, A, B> PartialEq<&'a [B; 9]> for ThinVec<A>
where + A: PartialEq<B>,

§

fn eq(&self, other: &&'a [B; 9]) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
§

impl<A, B> PartialEq<[B]> for ThinVec<A>
where + A: PartialEq<B>,

§

fn eq(&self, other: &[B]) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
§

impl<A, B> PartialEq<[B; 0]> for ThinVec<A>
where + A: PartialEq<B>,

§

fn eq(&self, other: &[B; 0]) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
§

impl<A, B> PartialEq<[B; 1]> for ThinVec<A>
where + A: PartialEq<B>,

§

fn eq(&self, other: &[B; 1]) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
§

impl<A, B> PartialEq<[B; 10]> for ThinVec<A>
where + A: PartialEq<B>,

§

fn eq(&self, other: &[B; 10]) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
§

impl<A, B> PartialEq<[B; 11]> for ThinVec<A>
where + A: PartialEq<B>,

§

fn eq(&self, other: &[B; 11]) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
§

impl<A, B> PartialEq<[B; 12]> for ThinVec<A>
where + A: PartialEq<B>,

§

fn eq(&self, other: &[B; 12]) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
§

impl<A, B> PartialEq<[B; 13]> for ThinVec<A>
where + A: PartialEq<B>,

§

fn eq(&self, other: &[B; 13]) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
§

impl<A, B> PartialEq<[B; 14]> for ThinVec<A>
where + A: PartialEq<B>,

§

fn eq(&self, other: &[B; 14]) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
§

impl<A, B> PartialEq<[B; 15]> for ThinVec<A>
where + A: PartialEq<B>,

§

fn eq(&self, other: &[B; 15]) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
§

impl<A, B> PartialEq<[B; 16]> for ThinVec<A>
where + A: PartialEq<B>,

§

fn eq(&self, other: &[B; 16]) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
§

impl<A, B> PartialEq<[B; 17]> for ThinVec<A>
where + A: PartialEq<B>,

§

fn eq(&self, other: &[B; 17]) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
§

impl<A, B> PartialEq<[B; 18]> for ThinVec<A>
where + A: PartialEq<B>,

§

fn eq(&self, other: &[B; 18]) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
§

impl<A, B> PartialEq<[B; 19]> for ThinVec<A>
where + A: PartialEq<B>,

§

fn eq(&self, other: &[B; 19]) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
§

impl<A, B> PartialEq<[B; 2]> for ThinVec<A>
where + A: PartialEq<B>,

§

fn eq(&self, other: &[B; 2]) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
§

impl<A, B> PartialEq<[B; 20]> for ThinVec<A>
where + A: PartialEq<B>,

§

fn eq(&self, other: &[B; 20]) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
§

impl<A, B> PartialEq<[B; 21]> for ThinVec<A>
where + A: PartialEq<B>,

§

fn eq(&self, other: &[B; 21]) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
§

impl<A, B> PartialEq<[B; 22]> for ThinVec<A>
where + A: PartialEq<B>,

§

fn eq(&self, other: &[B; 22]) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
§

impl<A, B> PartialEq<[B; 23]> for ThinVec<A>
where + A: PartialEq<B>,

§

fn eq(&self, other: &[B; 23]) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
§

impl<A, B> PartialEq<[B; 24]> for ThinVec<A>
where + A: PartialEq<B>,

§

fn eq(&self, other: &[B; 24]) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
§

impl<A, B> PartialEq<[B; 25]> for ThinVec<A>
where + A: PartialEq<B>,

§

fn eq(&self, other: &[B; 25]) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
§

impl<A, B> PartialEq<[B; 26]> for ThinVec<A>
where + A: PartialEq<B>,

§

fn eq(&self, other: &[B; 26]) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
§

impl<A, B> PartialEq<[B; 27]> for ThinVec<A>
where + A: PartialEq<B>,

§

fn eq(&self, other: &[B; 27]) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
§

impl<A, B> PartialEq<[B; 28]> for ThinVec<A>
where + A: PartialEq<B>,

§

fn eq(&self, other: &[B; 28]) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
§

impl<A, B> PartialEq<[B; 29]> for ThinVec<A>
where + A: PartialEq<B>,

§

fn eq(&self, other: &[B; 29]) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
§

impl<A, B> PartialEq<[B; 3]> for ThinVec<A>
where + A: PartialEq<B>,

§

fn eq(&self, other: &[B; 3]) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
§

impl<A, B> PartialEq<[B; 30]> for ThinVec<A>
where + A: PartialEq<B>,

§

fn eq(&self, other: &[B; 30]) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
§

impl<A, B> PartialEq<[B; 31]> for ThinVec<A>
where + A: PartialEq<B>,

§

fn eq(&self, other: &[B; 31]) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
§

impl<A, B> PartialEq<[B; 32]> for ThinVec<A>
where + A: PartialEq<B>,

§

fn eq(&self, other: &[B; 32]) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
§

impl<A, B> PartialEq<[B; 4]> for ThinVec<A>
where + A: PartialEq<B>,

§

fn eq(&self, other: &[B; 4]) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
§

impl<A, B> PartialEq<[B; 5]> for ThinVec<A>
where + A: PartialEq<B>,

§

fn eq(&self, other: &[B; 5]) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
§

impl<A, B> PartialEq<[B; 6]> for ThinVec<A>
where + A: PartialEq<B>,

§

fn eq(&self, other: &[B; 6]) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
§

impl<A, B> PartialEq<[B; 7]> for ThinVec<A>
where + A: PartialEq<B>,

§

fn eq(&self, other: &[B; 7]) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
§

impl<A, B> PartialEq<[B; 8]> for ThinVec<A>
where + A: PartialEq<B>,

§

fn eq(&self, other: &[B; 8]) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
§

impl<A, B> PartialEq<[B; 9]> for ThinVec<A>
where + A: PartialEq<B>,

§

fn eq(&self, other: &[B; 9]) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
§

impl<A, B> PartialEq<ThinVec<B>> for ThinVec<A>
where + A: PartialEq<B>,

§

fn eq(&self, other: &ThinVec<B>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
§

impl<A, B> PartialEq<Vec<B>> for ThinVec<A>
where + A: PartialEq<B>,

§

fn eq(&self, other: &Vec<B>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
§

impl<T> PartialOrd for ThinVec<T>
where + T: PartialOrd,

§

fn partial_cmp(&self, other: &ThinVec<T>) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the +<= operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > +operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by +the >= operator. Read more
§

impl<T, S> Serialize<S> for ThinVec<T>
where + T: Serialize<S>, + S: Allocator + Writer + Fallible + ?Sized,

§

fn serialize( + &self, + serializer: &mut S, +) -> Result<<ThinVec<T> as Archive>::Resolver, <S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.
§

impl<T> Serialize for ThinVec<T>
where + T: Serialize,

§

fn serialize<S>( + &self, + serializer: S, +) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
where + S: Serializer,

Serialize this value into the given Serde serializer. Read more
§

impl Write for ThinVec<u8>

Write is implemented for ThinVec<u8> by appending to the vector. +The vector will grow as needed. +This implementation is identical to the one for Vec<u8>.

+
§

fn write(&mut self, buf: &[u8]) -> Result<usize, Error>

Writes a buffer into this writer, returning how many bytes were written. Read more
§

fn write_all(&mut self, buf: &[u8]) -> Result<(), Error>

Attempts to write an entire buffer into this writer. Read more
§

fn flush(&mut self) -> Result<(), Error>

Flushes this output stream, ensuring that all intermediately buffered +contents reach their destination. Read more
1.36.0 · source§

fn write_vectored(&mut self, bufs: &[IoSlice<'_>]) -> Result<usize, Error>

Like write, except that it writes from a slice of buffers. Read more
source§

fn is_write_vectored(&self) -> bool

🔬This is a nightly-only experimental API. (can_vector)
Determines if this Writer has an efficient write_vectored +implementation. Read more
source§

fn write_all_vectored(&mut self, bufs: &mut [IoSlice<'_>]) -> Result<(), Error>

🔬This is a nightly-only experimental API. (write_all_vectored)
Attempts to write multiple buffers into this writer. Read more
1.0.0 · source§

fn write_fmt(&mut self, fmt: Arguments<'_>) -> Result<(), Error>

Writes a formatted string into this writer, returning any error +encountered. Read more
1.0.0 · source§

fn by_ref(&mut self) -> &mut Self
where + Self: Sized,

Creates a “by reference” adapter for this instance of Write. Read more
§

impl<T> Eq for ThinVec<T>
where + T: Eq,

§

impl<T> Send for ThinVec<T>
where + T: Send,

§

impl<T> Sync for ThinVec<T>
where + T: Sync,

Auto Trait Implementations§

§

impl<T> Freeze for ThinVec<T>

§

impl<T> RefUnwindSafe for ThinVec<T>
where + T: RefUnwindSafe,

§

impl<T> Unpin for ThinVec<T>
where + T: Unpin,

§

impl<T> UnwindSafe for ThinVec<T>
where + T: UnwindSafe,

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where + T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
§

impl<Q, K> Comparable<K> for Q
where + Q: Ord + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn compare(&self, key: &K) -> Ordering

Compare self to key and return their ordering.
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T> ToOwned for T
where + T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> Write for T
where + T: Write,

§

type Error = Error

The error type
§

fn write_all(&mut self, data: &[u8]) -> Result<(), <T as Write>::Error>

Writes all bytes from data or fails
§

fn flush(&mut self) -> Result<(), <T as Write>::Error>

Flushes all output
§

impl<W> WriteBytesExt for W
where + W: Write + ?Sized,

§

fn write_u8(&mut self, n: u8) -> Result<(), Error>

Writes an unsigned 8 bit integer to the underlying writer. Read more
§

fn write_i8(&mut self, n: i8) -> Result<(), Error>

Writes a signed 8 bit integer to the underlying writer. Read more
§

fn write_u16<T>(&mut self, n: u16) -> Result<(), Error>
where + T: ByteOrder,

Writes an unsigned 16 bit integer to the underlying writer. Read more
§

fn write_i16<T>(&mut self, n: i16) -> Result<(), Error>
where + T: ByteOrder,

Writes a signed 16 bit integer to the underlying writer. Read more
§

fn write_u24<T>(&mut self, n: u32) -> Result<(), Error>
where + T: ByteOrder,

Writes an unsigned 24 bit integer to the underlying writer. Read more
§

fn write_i24<T>(&mut self, n: i32) -> Result<(), Error>
where + T: ByteOrder,

Writes a signed 24 bit integer to the underlying writer. Read more
§

fn write_u32<T>(&mut self, n: u32) -> Result<(), Error>
where + T: ByteOrder,

Writes an unsigned 32 bit integer to the underlying writer. Read more
§

fn write_i32<T>(&mut self, n: i32) -> Result<(), Error>
where + T: ByteOrder,

Writes a signed 32 bit integer to the underlying writer. Read more
§

fn write_u48<T>(&mut self, n: u64) -> Result<(), Error>
where + T: ByteOrder,

Writes an unsigned 48 bit integer to the underlying writer. Read more
§

fn write_i48<T>(&mut self, n: i64) -> Result<(), Error>
where + T: ByteOrder,

Writes a signed 48 bit integer to the underlying writer. Read more
§

fn write_u64<T>(&mut self, n: u64) -> Result<(), Error>
where + T: ByteOrder,

Writes an unsigned 64 bit integer to the underlying writer. Read more
§

fn write_i64<T>(&mut self, n: i64) -> Result<(), Error>
where + T: ByteOrder,

Writes a signed 64 bit integer to the underlying writer. Read more
§

fn write_u128<T>(&mut self, n: u128) -> Result<(), Error>
where + T: ByteOrder,

Writes an unsigned 128 bit integer to the underlying writer.
§

fn write_i128<T>(&mut self, n: i128) -> Result<(), Error>
where + T: ByteOrder,

Writes a signed 128 bit integer to the underlying writer.
§

fn write_uint<T>(&mut self, n: u64, nbytes: usize) -> Result<(), Error>
where + T: ByteOrder,

Writes an unsigned n-bytes integer to the underlying writer. Read more
§

fn write_int<T>(&mut self, n: i64, nbytes: usize) -> Result<(), Error>
where + T: ByteOrder,

Writes a signed n-bytes integer to the underlying writer. Read more
§

fn write_uint128<T>(&mut self, n: u128, nbytes: usize) -> Result<(), Error>
where + T: ByteOrder,

Writes an unsigned n-bytes integer to the underlying writer. Read more
§

fn write_int128<T>(&mut self, n: i128, nbytes: usize) -> Result<(), Error>
where + T: ByteOrder,

Writes a signed n-bytes integer to the underlying writer. Read more
§

fn write_f32<T>(&mut self, n: f32) -> Result<(), Error>
where + T: ByteOrder,

Writes a IEEE754 single-precision (4 bytes) floating point number to +the underlying writer. Read more
§

fn write_f64<T>(&mut self, n: f64) -> Result<(), Error>
where + T: ByteOrder,

Writes a IEEE754 double-precision (8 bytes) floating point number to +the underlying writer. Read more
source§

impl<T> CommandBody for T
where + T: Send + Serialize + Archive,

source§

impl<T> CommandResult for T
where + T: Send + DeserializeOwned + Serialize + Archive,

source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/struct.Timestamp.html b/client_sdk/models/struct.Timestamp.html new file mode 100644 index 000000000..0e02b2201 --- /dev/null +++ b/client_sdk/models/struct.Timestamp.html @@ -0,0 +1,157 @@ +Timestamp in client_sdk::models - Rust

Struct client_sdk::models::Timestamp

pub struct Timestamp(/* private fields */);
Expand description

UTC Timestamp with nanosecond precision, millisecond-precision when serialized to serde (JSON).

+

A Deref/DerefMut implementation is provided to gain access to the inner PrimitiveDateTime object.

+

Implementations§

§

impl Timestamp

pub fn to_calendar_date(&self) -> (i32, Month, u8)

Get the year, month, and day.

+

Like PrimitiveDateTime::to_calendar_date, but optimized for SSE2/AVX2 when available.

+ +
assert_eq!(
+    Timestamp::from(datetime!(2019-01-01 0:00)).to_calendar_date(),
+    (2019, Month::January, 1)
+);
+
§

impl Timestamp

pub fn now_utc() -> Timestamp

Get the current time, assuming UTC.

+
§

impl Timestamp

pub const UNIX_EPOCH: Timestamp = _

Unix Epoch – 1970-01-01 Midnight

+

pub const fn from_primitive_datetime(dt: PrimitiveDateTime) -> Timestamp

Constructs a Timestamp from a [PrimitiveDateTime]

+

pub fn duration_since(self, earlier: Timestamp) -> Duration

Returns the amount of time elapsed from an earlier point in time.

+

pub fn format_raw<F, O, P>( + &self, + offset: UtcOffset, +) -> TimestampStr<FormatString<F, O, P>>
where + F: Bit, + O: Bit, + P: Unsigned, + FormatString<F, O, P>: IsValidFormat,

Formats the timestamp given the provided formatting parameters

+

pub fn format_with_precision<P>(&self) -> TimestampStr<FormatString<B1, B0, P>>
where + P: Unsigned, + FormatString<B1, B0, P>: IsValidFormat,

Formats a full timestamp without offset, using the given subsecond precision level.

+

pub fn format( + &self, +) -> TimestampStr<FormatString<B1, B0, UInt<UInt<UTerm, B1>, B1>>>

Format timestamp to ISO8601 with full punctuation, to millisecond precision.

+

pub fn format_nanoseconds( + &self, +) -> TimestampStr<FormatString<B1, B0, UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B1>>>

Format timestamp to ISO8601 with extended precision to nanoseconds.

+

pub fn format_microseconds( + &self, +) -> TimestampStr<FormatString<B1, B0, UInt<UInt<UInt<UTerm, B1>, B1>, B0>>>

Format timestamp to ISO8601 with extended precision to microseconds.

+

pub fn format_short( + &self, +) -> TimestampStr<FormatString<B0, B0, UInt<UInt<UTerm, B1>, B1>>>

Format timestamp to ISO8601 without most punctuation, to millisecond precision.

+

pub fn format_with_offset( + &self, + offset: UtcOffset, +) -> TimestampStr<FormatString<B1, B1, UInt<UInt<UTerm, B1>, B1>>>

Format timestamp to ISO8601 with arbitrary UTC offset. Any offset is formatted as +HH:MM, +and no timezone conversions are done. It is interpreted literally.

+

pub fn format_with_offset_and_precision<P>( + &self, + offset: UtcOffset, +) -> TimestampStr<FormatString<B1, B1, P>>
where + P: Unsigned, + FormatString<B1, B1, P>: IsValidFormat,

Formats a full timestamp with timezone offset, and the provided level of subsecond precision.

+

pub fn parse(ts: &str) -> Option<Timestamp>

Parse to UTC timestamp from any ISO8601 string. Offsets are applied during parsing.

+

pub const fn assume_offset(self, offset: UtcOffset) -> OffsetDateTime

Convert to time::OffsetDateTime with the given offset.

+

pub const fn checked_add(self, duration: Duration) -> Option<Timestamp>

Computes self + duration, returning None if an overflow occurred.

+

See [PrimitiveDateTime::checked_add] for more implementation details

+

pub const fn checked_sub(self, duration: Duration) -> Option<Timestamp>

Computes self - duration, returning None if an overflow occurred.

+

See [PrimitiveDateTime::checked_sub] for more implementation details

+

pub const fn saturating_add(self, duration: Duration) -> Timestamp

Computes self + duration, saturating value on overflow.

+

See [PrimitiveDateTime::saturating_add] for more implementation details

+

pub const fn saturating_sub(self, duration: Duration) -> Timestamp

Computes self - duration, saturating value on overflow.

+

See [PrimitiveDateTime::saturating_sub] for more implementation details

+

Methods from Deref<Target = PrimitiveDateTime>§

pub const MIN: PrimitiveDateTime = _

pub const MAX: PrimitiveDateTime = _

Trait Implementations§

§

impl<T> Add<T> for Timestamp
where + PrimitiveDateTime: Add<T, Output = PrimitiveDateTime>,

§

type Output = Timestamp

The resulting type after applying the + operator.
§

fn add(self, rhs: T) -> <Timestamp as Add<T>>::Output

Performs the + operation. Read more
§

impl<T> AddAssign<T> for Timestamp
where + PrimitiveDateTime: AddAssign<T>,

§

fn add_assign(&mut self, rhs: T)

Performs the += operation. Read more
§

impl Archive for Timestamp

§

type Archived = ArchivedTimestamp

The archived representation of this type. Read more
§

type Resolver = ()

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
§

fn resolve( + &self, + _resolver: <Timestamp as Archive>::Resolver, + out: Place<<Timestamp as Archive>::Archived>, +)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
§

impl Clone for Timestamp

§

fn clone(&self) -> Timestamp

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for Timestamp

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl Deref for Timestamp

§

type Target = PrimitiveDateTime

The resulting type after dereferencing.
§

fn deref(&self) -> &<Timestamp as Deref>::Target

Dereferences the value.
§

impl DerefMut for Timestamp

§

fn deref_mut(&mut self) -> &mut <Timestamp as Deref>::Target

Mutably dereferences the value.
§

impl<'de> Deserialize<'de> for Timestamp

§

fn deserialize<D>( + deserializer: D, +) -> Result<Timestamp, <D as Deserializer<'de>>::Error>
where + D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
§

impl Display for Timestamp

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl From<ArchivedTimestamp> for Timestamp

§

fn from(value: ArchivedTimestamp) -> Timestamp

Converts to this type from the input type.
§

impl From<OffsetDateTime> for Timestamp

§

fn from(ts: OffsetDateTime) -> Timestamp

Converts to this type from the input type.
§

impl From<PrimitiveDateTime> for Timestamp

§

fn from(ts: PrimitiveDateTime) -> Timestamp

Converts to this type from the input type.
§

impl From<SystemTime> for Timestamp

§

fn from(ts: SystemTime) -> Timestamp

Converts to this type from the input type.
§

impl<'a> FromSql<'a> for Timestamp

§

fn from_sql( + ty: &Type, + raw: &'a [u8], +) -> Result<Timestamp, Box<dyn Error + Sync + Send>>

Creates a new value of this type from a buffer of data of the specified +Postgres Type in its binary format. Read more
§

fn accepts(ty: &Type) -> bool

Determines if a value of this type can be created from the specified +Postgres Type.
§

fn from_sql_null(ty: &Type) -> Result<Self, Box<dyn Error + Sync + Send>>

Creates a new value of this type from a NULL SQL value. Read more
§

fn from_sql_nullable( + ty: &Type, + raw: Option<&'a [u8]>, +) -> Result<Self, Box<dyn Error + Sync + Send>>

A convenience function that delegates to from_sql and from_sql_null depending on the +value of raw.
§

impl FromSql for Timestamp

§

fn column_result(value: ValueRef<'_>) -> Result<Timestamp, FromSqlError>

Converts SQLite value into Rust value.
§

impl Hash for Timestamp

§

fn hash<__H>(&self, state: &mut __H)
where + __H: Hasher,

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where + H: Hasher, + Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
§

impl Ord for Timestamp

§

fn cmp(&self, other: &Timestamp) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Self
where + Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Self
where + Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · source§

fn clamp(self, min: Self, max: Self) -> Self
where + Self: Sized + PartialOrd,

Restrict a value to a certain interval. Read more
§

impl PartialEq for Timestamp

§

fn eq(&self, other: &Timestamp) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
§

impl PartialOrd for Timestamp

§

fn partial_cmp(&self, other: &Timestamp) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the +<= operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > +operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by +the >= operator. Read more
§

impl<S> Serialize<S> for Timestamp
where + S: Fallible + ?Sized,

§

fn serialize( + &self, + _serializer: &mut S, +) -> Result<<Timestamp as Archive>::Resolver, <S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.
§

impl Serialize for Timestamp

§

fn serialize<S>( + &self, + serializer: S, +) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
where + S: Serializer,

Serialize this value into the given Serde serializer. Read more
§

impl<T> Sub<T> for Timestamp
where + PrimitiveDateTime: Sub<T, Output = PrimitiveDateTime>,

§

type Output = Timestamp

The resulting type after applying the - operator.
§

fn sub(self, rhs: T) -> <Timestamp as Sub<T>>::Output

Performs the - operation. Read more
§

impl<T> SubAssign<T> for Timestamp
where + PrimitiveDateTime: SubAssign<T>,

§

fn sub_assign(&mut self, rhs: T)

Performs the -= operation. Read more
§

impl ToSql for Timestamp

§

fn to_sql( + &self, + ty: &Type, + out: &mut BytesMut, +) -> Result<IsNull, Box<dyn Error + Sync + Send>>
where + Timestamp: Sized,

Converts the value of self into the binary format of the specified +Postgres Type, appending it to out. Read more
§

fn accepts(ty: &Type) -> bool

Determines if a value of this type can be converted to the specified +Postgres Type.
§

fn to_sql_checked( + &self, + ty: &Type, + out: &mut BytesMut, +) -> Result<IsNull, Box<dyn Error + Sync + Send>>

An adaptor method used internally by Rust-Postgres. Read more
§

fn encode_format(&self, _ty: &Type) -> Format

Specify the encode format
§

impl ToSql for Timestamp

§

fn to_sql(&self) -> Result<ToSqlOutput<'_>, Error>

Converts Rust value to SQLite value
§

impl Copy for Timestamp

§

impl Eq for Timestamp

§

impl StructuralPartialEq for Timestamp

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> BorrowToSql for T
where + T: ToSql,

§

fn borrow_to_sql(&self) -> &dyn ToSql

Returns a reference to self as a ToSql trait object.
source§

impl<T> CloneToUninit for T
where + T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
§

impl<Q, K> Comparable<K> for Q
where + Q: Ord + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn compare(&self, key: &K) -> Ordering

Compare self to key and return their ordering.
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T> ToOwned for T
where + T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
§

impl<T> ToSmolStr for T
where + T: Display + ?Sized,

§

fn to_smolstr(&self) -> SmolStr

source§

impl<T> ToString for T
where + T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
source§

impl<T> CommandBody for T
where + T: Send + Serialize + Archive,

source§

impl<T> CommandResult for T
where + T: Send + DeserializeOwned + Serialize + Archive,

source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> FromSqlOwned for T
where + T: for<'a> FromSql<'a>,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/thread/index.html b/client_sdk/models/thread/index.html new file mode 100644 index 000000000..3ac0304aa --- /dev/null +++ b/client_sdk/models/thread/index.html @@ -0,0 +1,2 @@ +client_sdk::models::thread - Rust

Module client_sdk::models::thread

source ·

Structs§

\ No newline at end of file diff --git a/client_sdk/models/thread/sidebar-items.js b/client_sdk/models/thread/sidebar-items.js new file mode 100644 index 000000000..432edd23a --- /dev/null +++ b/client_sdk/models/thread/sidebar-items.js @@ -0,0 +1 @@ +window.SIDEBAR_ITEMS = {"struct":["ArchivedThread","ArchivedThreadFlags","Thread","ThreadFlags","ThreadResolver"]}; \ No newline at end of file diff --git a/client_sdk/models/thread/struct.ArchivedThread.html b/client_sdk/models/thread/struct.ArchivedThread.html new file mode 100644 index 000000000..ebd93bcae --- /dev/null +++ b/client_sdk/models/thread/struct.ArchivedThread.html @@ -0,0 +1,45 @@ +ArchivedThread in client_sdk::models::thread - Rust

Struct client_sdk::models::thread::ArchivedThread

source ·
#[repr(C)]
pub struct ArchivedThread
where + ThreadId: Archive, + Message: Archive, + ThreadFlags: Archive,
{ + pub id: <ThreadId as Archive>::Archived, + pub parent: <Message as Archive>::Archived, + pub flags: <ThreadFlags as Archive>::Archived, +}
Expand description

An archived Thread

+

Fields§

§id: <ThreadId as Archive>::Archived§parent: <Message as Archive>::Archived§flags: <ThreadFlags as Archive>::Archived

Trait Implementations§

source§

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedThread
where + ThreadId: Archive, + Message: Archive, + ThreadFlags: Archive, + <__C as Fallible>::Error: Trace, + <ThreadId as Archive>::Archived: CheckBytes<__C>, + <Message as Archive>::Archived: CheckBytes<__C>, + <ThreadFlags as Archive>::Archived: CheckBytes<__C>,

source§

unsafe fn check_bytes( + value: *const Self, + context: &mut __C, +) -> Result<(), <__C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Portable for ArchivedThread
where + ThreadId: Archive, + Message: Archive, + ThreadFlags: Archive, + <ThreadId as Archive>::Archived: Portable, + <Message as Archive>::Archived: Portable, + <ThreadFlags as Archive>::Archived: Portable,

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/thread/struct.ArchivedThreadFlags.html b/client_sdk/models/thread/struct.ArchivedThreadFlags.html new file mode 100644 index 000000000..3d2d942dd --- /dev/null +++ b/client_sdk/models/thread/struct.ArchivedThreadFlags.html @@ -0,0 +1,71 @@ +ArchivedThreadFlags in client_sdk::models::thread - Rust

Struct client_sdk::models::thread::ArchivedThreadFlags

source ·
#[repr(transparent)]
pub struct ArchivedThreadFlags(pub Archived<i16>);
Expand description

Archived version of ThreadFlags, automatically made endian-agnostic. +When comparing with the native bitflags, the archived bitflags will truncate any extra bits.

+

Tuple Fields§

§0: Archived<i16>

Implementations§

source§

impl ArchivedThreadFlags

source

pub const fn to_native(&self) -> Option<ThreadFlags>

Converts this archived bitflags to the native bitflags type, returning None if any +bits are set that are not part of the bitflags.

+

See ThreadFlags::from_bits for more information.

+
source

pub const fn to_native_truncate(&self) -> ThreadFlags

Converts this archived bitflags to the native bitflags type, truncating any extra bits.

+

See ThreadFlags::from_bits_truncate for more information.

+
source

pub const fn to_native_retain(&self) -> ThreadFlags

Converts this archived bitflags to the native bitflags type, retaining all bits, even +if they are not part of the bitflags.

+

See ThreadFlags::from_bits_retain for more information.

+
source

pub const fn from_native(native: ThreadFlags) -> Self

Converts the native bitflags type to an archived bitflags.

+
source

pub const fn contains(&self, other: ThreadFlags) -> bool

Check if the archived bitflags contains all the given bitflags.

+

See ThreadFlags::contains for more information.

+
source

pub const fn intersects(&self, other: ThreadFlags) -> bool

Check if the archived bitflags intersect with any of the given bitflags.

+

See ThreadFlags::intersects for more information.

+
source

pub const fn is_empty(&self) -> bool

Whether all bits in this flags value are unset.

+
source

pub const fn is_all(&self) -> bool

Whether all known bits in this flags value are set.

+
source

pub const fn bits(&self) -> i16

Get the underlying raw bits value.

+

Note that this may contain bits that are not part of the original bitflags, +if serialized with a different version of the bitflags. Use to_native or +to_native_truncate to convert to the native bitflags type +without extra bits.

+

Trait Implementations§

source§

impl<C> CheckBytes<C> for ArchivedThreadFlags
where + C: Fallible + ?Sized, + <C as Fallible>::Error: Source,

source§

unsafe fn check_bytes( + value: *const Self, + ctx: &mut C, +) -> Result<(), <C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Clone for ArchivedThreadFlags

source§

fn clone(&self) -> ArchivedThreadFlags

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ArchivedThreadFlags

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<D: Fallible + ?Sized> Deserialize<ThreadFlags, D> for ArchivedThreadFlags

source§

fn deserialize(&self, _: &mut D) -> Result<ThreadFlags, D::Error>

Deserializes using the given deserializer
source§

impl From<ArchivedThreadFlags> for ThreadFlags

source§

fn from(archived: ArchivedThreadFlags) -> Self

Converts to this type from the input type.
source§

impl PartialEq<ArchivedThreadFlags> for ThreadFlags

source§

fn eq(&self, other: &ArchivedThreadFlags) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl PartialEq<ThreadFlags> for ArchivedThreadFlags

source§

fn eq(&self, other: &ThreadFlags) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl PartialEq for ArchivedThreadFlags

source§

fn eq(&self, other: &ArchivedThreadFlags) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl ToSql for ArchivedThreadFlags

source§

fn to_sql( + &self, + ty: &Type, + out: &mut BytesMut, +) -> Result<IsNull, Box<dyn Error + Sync + Send>>
where + Self: Sized,

Converts the value of self into the binary format of the specified +Postgres Type, appending it to out. Read more
source§

fn accepts(ty: &Type) -> bool

Determines if a value of this type can be converted to the specified +Postgres Type.
source§

fn to_sql_checked( + &self, + ty: &Type, + out: &mut BytesMut, +) -> Result<IsNull, Box<dyn Error + Sync + Send>>

An adaptor method used internally by Rust-Postgres. Read more
§

fn encode_format(&self, _ty: &Type) -> Format

Specify the encode format
source§

impl Copy for ArchivedThreadFlags

source§

impl Eq for ArchivedThreadFlags

source§

impl NoUndef for ArchivedThreadFlags

source§

impl Portable for ArchivedThreadFlags

source§

impl StructuralPartialEq for ArchivedThreadFlags

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> BorrowToSql for T
where + T: ToSql,

§

fn borrow_to_sql(&self) -> &dyn ToSql

Returns a reference to self as a ToSql trait object.
source§

impl<T> CloneToUninit for T
where + T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where + T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/thread/struct.Thread.html b/client_sdk/models/thread/struct.Thread.html new file mode 100644 index 000000000..731737722 --- /dev/null +++ b/client_sdk/models/thread/struct.Thread.html @@ -0,0 +1,63 @@ +Thread in client_sdk::models::thread - Rust

Struct client_sdk::models::thread::Thread

source ·
pub struct Thread {
+    pub id: ThreadId,
+    pub parent: Message,
+    pub flags: ThreadFlags,
+}

Fields§

§id: ThreadId§parent: Message§flags: ThreadFlags

Trait Implementations§

source§

impl Archive for Thread
where + ThreadId: Archive, + Message: Archive, + ThreadFlags: Archive,

source§

type Archived = ArchivedThread

The archived representation of this type. Read more
source§

type Resolver = ThreadResolver

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
source§

impl Clone for Thread

source§

fn clone(&self) -> Thread

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Thread

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for Thread

source§

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<__D: Fallible + ?Sized> Deserialize<Thread, __D> for Archived<Thread>
where + ThreadId: Archive, + <ThreadId as Archive>::Archived: Deserialize<ThreadId, __D>, + Message: Archive, + <Message as Archive>::Archived: Deserialize<Message, __D>, + ThreadFlags: Archive, + <ThreadFlags as Archive>::Archived: Deserialize<ThreadFlags, __D>,

source§

fn deserialize( + &self, + deserializer: &mut __D, +) -> Result<Thread, <__D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<__S: Fallible + ?Sized> Serialize<__S> for Thread
where + ThreadId: Serialize<__S>, + Message: Serialize<__S>, + ThreadFlags: Serialize<__S>,

source§

fn serialize( + &self, + serializer: &mut __S, +) -> Result<<Self as Archive>::Resolver, <__S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.
source§

impl Serialize for Thread

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

§

impl Freeze for Thread

§

impl RefUnwindSafe for Thread

§

impl Send for Thread

§

impl Sync for Thread

§

impl Unpin for Thread

§

impl UnwindSafe for Thread

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where + T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T> ToOwned for T
where + T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
source§

impl<T> CommandBody for T
where + T: Send + Serialize + Archive,

source§

impl<T> CommandResult for T
where + T: Send + DeserializeOwned + Serialize + Archive,

source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/thread/struct.ThreadFlags.html b/client_sdk/models/thread/struct.ThreadFlags.html new file mode 100644 index 000000000..b50b227da --- /dev/null +++ b/client_sdk/models/thread/struct.ThreadFlags.html @@ -0,0 +1,130 @@ +ThreadFlags in client_sdk::models::thread - Rust

Struct client_sdk::models::thread::ThreadFlags

source ·
pub struct ThreadFlags(/* private fields */);

Implementations§

source§

impl ThreadFlags

source

pub const FORUM: Self = _

Forum-style thread

+
source§

impl ThreadFlags

source

pub const fn empty() -> Self

Get a flags value with all bits unset.

+
source

pub const fn all() -> Self

Get a flags value with all known bits set.

+
source

pub const fn bits(&self) -> i16

Get the underlying bits value.

+

The returned value is exactly the bits set in this flags value.

+
source

pub const fn from_bits(bits: i16) -> Option<Self>

Convert from a bits value.

+

This method will return None if any unknown bits are set.

+
source

pub const fn from_bits_truncate(bits: i16) -> Self

Convert from a bits value, unsetting any unknown bits.

+
source

pub const fn from_bits_retain(bits: i16) -> Self

Convert from a bits value exactly.

+
source

pub fn from_name(name: &str) -> Option<Self>

Get a flags value with the bits of a flag with the given name set.

+

This method will return None if name is empty or doesn’t +correspond to any named flag.

+
source

pub const fn is_empty(&self) -> bool

Whether all bits in this flags value are unset.

+
source

pub const fn is_all(&self) -> bool

Whether all known bits in this flags value are set.

+
source

pub const fn intersects(&self, other: Self) -> bool

Whether any set bits in a source flags value are also set in a target flags value.

+
source

pub const fn contains(&self, other: Self) -> bool

Whether all set bits in a source flags value are also set in a target flags value.

+
source

pub fn insert(&mut self, other: Self)

The bitwise or (|) of the bits in two flags values.

+
source

pub fn remove(&mut self, other: Self)

The intersection of a source flags value with the complement of a target flags value (&!).

+

This method is not equivalent to self & !other when other has unknown bits set. +remove won’t truncate other, but the ! operator will.

+
source

pub fn toggle(&mut self, other: Self)

The bitwise exclusive-or (^) of the bits in two flags values.

+
source

pub fn set(&mut self, other: Self, value: bool)

Call insert when value is true or remove when value is false.

+
source

pub const fn intersection(self, other: Self) -> Self

The bitwise and (&) of the bits in two flags values.

+
source

pub const fn union(self, other: Self) -> Self

The bitwise or (|) of the bits in two flags values.

+
source

pub const fn difference(self, other: Self) -> Self

The intersection of a source flags value with the complement of a target flags value (&!).

+

This method is not equivalent to self & !other when other has unknown bits set. +difference won’t truncate other, but the ! operator will.

+
source

pub const fn symmetric_difference(self, other: Self) -> Self

The bitwise exclusive-or (^) of the bits in two flags values.

+
source

pub const fn complement(self) -> Self

The bitwise negation (!) of the bits in a flags value, truncating the result.

+
source§

impl ThreadFlags

source

pub const fn iter(&self) -> Iter<ThreadFlags>

Yield a set of contained flags values.

+

Each yielded flags value will correspond to a defined named flag. Any unknown bits +will be yielded together as a final flags value.

+
source

pub const fn iter_names(&self) -> IterNames<ThreadFlags>

Yield a set of contained named flags values.

+

This method is like iter, except only yields bits in contained named flags. +Any unknown bits, or bits not corresponding to a contained flag will not be yielded.

+

Trait Implementations§

source§

impl Archive for ThreadFlags

source§

type Archived = ArchivedThreadFlags

The archived representation of this type. Read more
source§

type Resolver = ()

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

fn resolve(&self, _: (), out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
source§

impl Binary for ThreadFlags

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl BitAnd for ThreadFlags

source§

fn bitand(self, other: Self) -> Self

The bitwise and (&) of the bits in two flags values.

+
source§

type Output = ThreadFlags

The resulting type after applying the & operator.
source§

impl BitAndAssign for ThreadFlags

source§

fn bitand_assign(&mut self, other: Self)

The bitwise and (&) of the bits in two flags values.

+
source§

impl BitOr for ThreadFlags

source§

fn bitor(self, other: ThreadFlags) -> Self

The bitwise or (|) of the bits in two flags values.

+
source§

type Output = ThreadFlags

The resulting type after applying the | operator.
source§

impl BitOrAssign for ThreadFlags

source§

fn bitor_assign(&mut self, other: Self)

The bitwise or (|) of the bits in two flags values.

+
source§

impl BitXor for ThreadFlags

source§

fn bitxor(self, other: Self) -> Self

The bitwise exclusive-or (^) of the bits in two flags values.

+
source§

type Output = ThreadFlags

The resulting type after applying the ^ operator.
source§

impl BitXorAssign for ThreadFlags

source§

fn bitxor_assign(&mut self, other: Self)

The bitwise exclusive-or (^) of the bits in two flags values.

+
source§

impl Clone for ThreadFlags

source§

fn clone(&self) -> ThreadFlags

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ThreadFlags

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for ThreadFlags

source§

fn deserialize<D>(deserializer: D) -> Result<ThreadFlags, D::Error>
where + D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl<D: Fallible + ?Sized> Deserialize<ThreadFlags, D> for ArchivedThreadFlags

source§

fn deserialize(&self, _: &mut D) -> Result<ThreadFlags, D::Error>

Deserializes using the given deserializer
source§

impl Extend<ThreadFlags> for ThreadFlags

source§

fn extend<T: IntoIterator<Item = Self>>(&mut self, iterator: T)

The bitwise or (|) of the bits in each flags value.

+
source§

fn extend_one(&mut self, item: A)

🔬This is a nightly-only experimental API. (extend_one)
Extends a collection with exactly one element.
source§

fn extend_reserve(&mut self, additional: usize)

🔬This is a nightly-only experimental API. (extend_one)
Reserves capacity in a collection for the given number of additional elements. Read more
source§

impl Flags for ThreadFlags

source§

const FLAGS: &'static [Flag<ThreadFlags>] = _

The set of defined flags.
source§

type Bits = i16

The underlying bits type.
source§

fn bits(&self) -> i16

Get the underlying bits value. Read more
source§

fn from_bits_retain(bits: i16) -> ThreadFlags

Convert from a bits value exactly.
§

fn empty() -> Self

Get a flags value with all bits unset.
§

fn all() -> Self

Get a flags value with all known bits set.
§

fn from_bits(bits: Self::Bits) -> Option<Self>

Convert from a bits value. Read more
§

fn from_bits_truncate(bits: Self::Bits) -> Self

Convert from a bits value, unsetting any unknown bits.
§

fn from_name(name: &str) -> Option<Self>

Get a flags value with the bits of a flag with the given name set. Read more
§

fn iter(&self) -> Iter<Self>

Yield a set of contained flags values. Read more
§

fn iter_names(&self) -> IterNames<Self>

Yield a set of contained named flags values. Read more
§

fn is_empty(&self) -> bool

Whether all bits in this flags value are unset.
§

fn is_all(&self) -> bool

Whether all known bits in this flags value are set.
§

fn intersects(&self, other: Self) -> bool
where + Self: Sized,

Whether any set bits in a source flags value are also set in a target flags value.
§

fn contains(&self, other: Self) -> bool
where + Self: Sized,

Whether all set bits in a source flags value are also set in a target flags value.
§

fn insert(&mut self, other: Self)
where + Self: Sized,

The bitwise or (|) of the bits in two flags values.
§

fn remove(&mut self, other: Self)
where + Self: Sized,

The intersection of a source flags value with the complement of a target flags value (&!). Read more
§

fn toggle(&mut self, other: Self)
where + Self: Sized,

The bitwise exclusive-or (^) of the bits in two flags values.
§

fn set(&mut self, other: Self, value: bool)
where + Self: Sized,

Call [Flags::insert] when value is true or [Flags::remove] when value is false.
§

fn intersection(self, other: Self) -> Self

The bitwise and (&) of the bits in two flags values.
§

fn union(self, other: Self) -> Self

The bitwise or (|) of the bits in two flags values.
§

fn difference(self, other: Self) -> Self

The intersection of a source flags value with the complement of a target flags value (&!). Read more
§

fn symmetric_difference(self, other: Self) -> Self

The bitwise exclusive-or (^) of the bits in two flags values.
§

fn complement(self) -> Self

The bitwise negation (!) of the bits in a flags value, truncating the result.
source§

impl From<ArchivedThreadFlags> for ThreadFlags

source§

fn from(archived: ArchivedThreadFlags) -> Self

Converts to this type from the input type.
source§

impl FromIterator<ThreadFlags> for ThreadFlags

source§

fn from_iter<T: IntoIterator<Item = Self>>(iterator: T) -> Self

The bitwise or (|) of the bits in each flags value.

+
source§

impl<'a> FromSql<'a> for ThreadFlags

source§

fn from_sql( + ty: &Type, + raw: &'a [u8], +) -> Result<Self, Box<dyn Error + Sync + Send>>

Creates a new value of this type from a buffer of data of the specified +Postgres Type in its binary format. Read more
source§

fn accepts(ty: &Type) -> bool

Determines if a value of this type can be created from the specified +Postgres Type.
§

fn from_sql_null(ty: &Type) -> Result<Self, Box<dyn Error + Sync + Send>>

Creates a new value of this type from a NULL SQL value. Read more
§

fn from_sql_nullable( + ty: &Type, + raw: Option<&'a [u8]>, +) -> Result<Self, Box<dyn Error + Sync + Send>>

A convenience function that delegates to from_sql and from_sql_null depending on the +value of raw.
source§

impl FromSql for ThreadFlags

source§

fn column_result(value: ValueRef<'_>) -> FromSqlResult<Self>

Converts SQLite value into Rust value.
source§

impl Hash for ThreadFlags

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where + H: Hasher, + Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl IntoIterator for ThreadFlags

source§

type Item = ThreadFlags

The type of the elements being iterated over.
source§

type IntoIter = Iter<ThreadFlags>

Which kind of iterator are we turning this into?
source§

fn into_iter(self) -> Self::IntoIter

Creates an iterator from a value. Read more
source§

impl LowerHex for ThreadFlags

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Not for ThreadFlags

source§

fn not(self) -> Self

The bitwise negation (!) of the bits in a flags value, truncating the result.

+
source§

type Output = ThreadFlags

The resulting type after applying the ! operator.
source§

impl Octal for ThreadFlags

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl PartialEq<ArchivedThreadFlags> for ThreadFlags

source§

fn eq(&self, other: &ArchivedThreadFlags) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl PartialEq<ThreadFlags> for ArchivedThreadFlags

source§

fn eq(&self, other: &ThreadFlags) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl PartialEq for ThreadFlags

source§

fn eq(&self, other: &ThreadFlags) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl PublicFlags for ThreadFlags

source§

type Primitive = i16

The type of the underlying storage.
source§

type Internal = InternalBitFlags

The type of the internal field on the generated flags type.
source§

impl<S: Fallible + ?Sized> Serialize<S> for ThreadFlags

source§

fn serialize(&self, _: &mut S) -> Result<(), S::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.
source§

impl Serialize for ThreadFlags

source§

fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
where + S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Sub for ThreadFlags

source§

fn sub(self, other: Self) -> Self

The intersection of a source flags value with the complement of a target flags value (&!).

+

This method is not equivalent to self & !other when other has unknown bits set. +difference won’t truncate other, but the ! operator will.

+
source§

type Output = ThreadFlags

The resulting type after applying the - operator.
source§

impl SubAssign for ThreadFlags

source§

fn sub_assign(&mut self, other: Self)

The intersection of a source flags value with the complement of a target flags value (&!).

+

This method is not equivalent to self & !other when other has unknown bits set. +difference won’t truncate other, but the ! operator will.

+
source§

impl ToSql for ThreadFlags

source§

fn to_sql(&self) -> Result<ToSqlOutput<'_>>

Converts Rust value to SQLite value
source§

impl ToSql for ThreadFlags

source§

fn to_sql( + &self, + ty: &Type, + out: &mut BytesMut, +) -> Result<IsNull, Box<dyn Error + Sync + Send>>
where + Self: Sized,

Converts the value of self into the binary format of the specified +Postgres Type, appending it to out. Read more
source§

fn accepts(ty: &Type) -> bool

Determines if a value of this type can be converted to the specified +Postgres Type.
source§

fn to_sql_checked( + &self, + ty: &Type, + out: &mut BytesMut, +) -> Result<IsNull, Box<dyn Error + Sync + Send>>

An adaptor method used internally by Rust-Postgres. Read more
§

fn encode_format(&self, _ty: &Type) -> Format

Specify the encode format
source§

impl UpperHex for ThreadFlags

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Copy for ThreadFlags

source§

impl Eq for ThreadFlags

source§

impl StructuralPartialEq for ThreadFlags

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> BorrowToSql for T
where + T: ToSql,

§

fn borrow_to_sql(&self) -> &dyn ToSql

Returns a reference to self as a ToSql trait object.
source§

impl<T> CloneToUninit for T
where + T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T> ToOwned for T
where + T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
source§

impl<T> CommandBody for T
where + T: Send + Serialize + Archive,

source§

impl<T> CommandResult for T
where + T: Send + DeserializeOwned + Serialize + Archive,

source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> FromSqlOwned for T
where + T: for<'a> FromSql<'a>,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/thread/struct.ThreadResolver.html b/client_sdk/models/thread/struct.ThreadResolver.html new file mode 100644 index 000000000..9073f41b5 --- /dev/null +++ b/client_sdk/models/thread/struct.ThreadResolver.html @@ -0,0 +1,24 @@ +ThreadResolver in client_sdk::models::thread - Rust

Struct client_sdk::models::thread::ThreadResolver

source ·
pub struct ThreadResolver
where + ThreadId: Archive, + Message: Archive, + ThreadFlags: Archive,
{ /* private fields */ }
Expand description

The resolver for an archived Thread

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/type.EncryptedSnowflake.html b/client_sdk/models/type.EncryptedSnowflake.html new file mode 100644 index 000000000..4567edb99 --- /dev/null +++ b/client_sdk/models/type.EncryptedSnowflake.html @@ -0,0 +1,3 @@ +EncryptedSnowflake in client_sdk::models - Rust

Type Alias client_sdk::models::EncryptedSnowflake

source ·
pub type EncryptedSnowflake = FixedStr<22>;
Expand description

Encrypted Snowflake, used for obfuscating IDs in URLs.

+

Used for certain asset IDs, such as avatars.

+

Aliased Type§

struct EncryptedSnowflake { /* private fields */ }
\ No newline at end of file diff --git a/client_sdk/models/user/enum.ElevationLevel.html b/client_sdk/models/user/enum.ElevationLevel.html new file mode 100644 index 000000000..afb120a7a --- /dev/null +++ b/client_sdk/models/user/enum.ElevationLevel.html @@ -0,0 +1,45 @@ +ElevationLevel in client_sdk::models::user - Rust

Enum client_sdk::models::user::ElevationLevel

source ·
#[repr(u8)]
pub enum ElevationLevel { + None = 0, + Bot = 1, + Reserved = 2, + Staff = 3, + System = 4, +}

Variants§

§

None = 0

§

Bot = 1

§

Reserved = 2

§

Staff = 3

§

System = 4

Trait Implementations§

source§

impl Clone for ElevationLevel

source§

fn clone(&self) -> ElevationLevel

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ElevationLevel

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Hash for ElevationLevel

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where + H: Hasher, + Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl Ord for ElevationLevel

source§

fn cmp(&self, other: &ElevationLevel) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Self
where + Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Self
where + Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · source§

fn clamp(self, min: Self, max: Self) -> Self
where + Self: Sized + PartialOrd,

Restrict a value to a certain interval. Read more
source§

impl PartialEq for ElevationLevel

source§

fn eq(&self, other: &ElevationLevel) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl PartialOrd for ElevationLevel

source§

fn partial_cmp(&self, other: &ElevationLevel) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the +<= operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > +operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by +the >= operator. Read more
source§

impl Copy for ElevationLevel

source§

impl Eq for ElevationLevel

source§

impl StructuralPartialEq for ElevationLevel

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where + T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
§

impl<Q, K> Comparable<K> for Q
where + Q: Ord + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn compare(&self, key: &K) -> Ordering

Compare self to key and return their ordering.
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where + T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/user/enum.Font.html b/client_sdk/models/user/enum.Font.html new file mode 100644 index 000000000..500d1a974 --- /dev/null +++ b/client_sdk/models/user/enum.Font.html @@ -0,0 +1,58 @@ +Font in client_sdk::models::user - Rust

Enum client_sdk::models::user::Font

source ·
#[repr(u16)]
pub enum Font { + SansSerif = 0, + Serif = 1, + Monospace = 2, + Cursive = 3, + ComicSans = 4, + OpenDyslexic = 30, + AtkinsonHyperlegible = 31, +}

Variants§

§

SansSerif = 0

§

Serif = 1

§

Monospace = 2

§

Cursive = 3

§

ComicSans = 4

§

OpenDyslexic = 30

§

AtkinsonHyperlegible = 31

Trait Implementations§

source§

impl Archive for Font

source§

type Archived = ArchivedFont

The archived representation of this type. Read more
source§

type Resolver = ()

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

fn resolve(&self, _: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
source§

impl Clone for Font

source§

fn clone(&self) -> Font

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Font

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for Font

source§

fn default() -> Font

Returns the “default value” for a type. Read more
source§

impl<'de> Deserialize<'de> for Font

source§

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<D: Fallible + ?Sized> Deserialize<Font, D> for ArchivedFont

source§

fn deserialize(&self, _: &mut D) -> Result<Font, D::Error>

Deserializes using the given deserializer
source§

impl Hash for Font

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where + H: Hasher, + Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl PartialEq for Font

source§

fn eq(&self, other: &Font) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl<S: Fallible + ?Sized> Serialize<S> for Font

source§

fn serialize(&self, _: &mut S) -> Result<(), S::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.
source§

impl Serialize for Font

source§

fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
where + S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Copy for Font

source§

impl Eq for Font

source§

impl StructuralPartialEq for Font

Auto Trait Implementations§

§

impl Freeze for Font

§

impl RefUnwindSafe for Font

§

impl Send for Font

§

impl Sync for Font

§

impl Unpin for Font

§

impl UnwindSafe for Font

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where + T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T> ToOwned for T
where + T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
source§

impl<T> CommandBody for T
where + T: Send + Serialize + Archive,

source§

impl<T> CommandResult for T
where + T: Send + DeserializeOwned + Serialize + Archive,

source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/user/enum.FriendAddability.html b/client_sdk/models/user/enum.FriendAddability.html new file mode 100644 index 000000000..66c7e26fe --- /dev/null +++ b/client_sdk/models/user/enum.FriendAddability.html @@ -0,0 +1,55 @@ +FriendAddability in client_sdk::models::user - Rust

Enum client_sdk::models::user::FriendAddability

source ·
#[repr(u8)]
pub enum FriendAddability { + None = 0, + FriendsOfFriends = 10, + ServerMembers = 20, + Anyone = 30, +}

Variants§

§

None = 0

§

FriendsOfFriends = 10

§

ServerMembers = 20

§

Anyone = 30

Trait Implementations§

source§

impl Archive for FriendAddability

source§

type Archived = ArchivedFriendAddability

The archived representation of this type. Read more
source§

type Resolver = ()

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

fn resolve(&self, _: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
source§

impl Clone for FriendAddability

source§

fn clone(&self) -> FriendAddability

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for FriendAddability

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for FriendAddability

source§

fn default() -> FriendAddability

Returns the “default value” for a type. Read more
source§

impl<'de> Deserialize<'de> for FriendAddability

source§

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<D: Fallible + ?Sized> Deserialize<FriendAddability, D> for ArchivedFriendAddability

source§

fn deserialize(&self, _: &mut D) -> Result<FriendAddability, D::Error>

Deserializes using the given deserializer
source§

impl Hash for FriendAddability

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where + H: Hasher, + Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl PartialEq for FriendAddability

source§

fn eq(&self, other: &FriendAddability) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl<S: Fallible + ?Sized> Serialize<S> for FriendAddability

source§

fn serialize(&self, _: &mut S) -> Result<(), S::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.
source§

impl Serialize for FriendAddability

source§

fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
where + S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Copy for FriendAddability

source§

impl Eq for FriendAddability

source§

impl StructuralPartialEq for FriendAddability

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where + T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T> ToOwned for T
where + T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
source§

impl<T> CommandBody for T
where + T: Send + Serialize + Archive,

source§

impl<T> CommandResult for T
where + T: Send + DeserializeOwned + Serialize + Archive,

source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/user/enum.Locale.html b/client_sdk/models/user/enum.Locale.html new file mode 100644 index 000000000..c49570e87 --- /dev/null +++ b/client_sdk/models/user/enum.Locale.html @@ -0,0 +1,52 @@ +Locale in client_sdk::models::user - Rust

Enum client_sdk::models::user::Locale

source ·
#[repr(u16)]
pub enum Locale { + enUS = 0, +}

Variants§

§

enUS = 0

Trait Implementations§

source§

impl Archive for Locale

source§

type Archived = ArchivedLocale

The archived representation of this type. Read more
source§

type Resolver = ()

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

fn resolve(&self, _: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
source§

impl Clone for Locale

source§

fn clone(&self) -> Locale

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Locale

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for Locale

source§

fn default() -> Locale

Returns the “default value” for a type. Read more
source§

impl<'de> Deserialize<'de> for Locale

source§

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<D: Fallible + ?Sized> Deserialize<Locale, D> for ArchivedLocale

source§

fn deserialize(&self, _: &mut D) -> Result<Locale, D::Error>

Deserializes using the given deserializer
source§

impl Hash for Locale

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where + H: Hasher, + Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl PartialEq for Locale

source§

fn eq(&self, other: &Locale) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl<S: Fallible + ?Sized> Serialize<S> for Locale

source§

fn serialize(&self, _: &mut S) -> Result<(), S::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.
source§

impl Serialize for Locale

source§

fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
where + S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Copy for Locale

source§

impl Eq for Locale

source§

impl StructuralPartialEq for Locale

Auto Trait Implementations§

§

impl Freeze for Locale

§

impl RefUnwindSafe for Locale

§

impl Send for Locale

§

impl Sync for Locale

§

impl Unpin for Locale

§

impl UnwindSafe for Locale

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where + T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T> ToOwned for T
where + T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
source§

impl<T> CommandBody for T
where + T: Send + Serialize + Archive,

source§

impl<T> CommandResult for T
where + T: Send + DeserializeOwned + Serialize + Archive,

source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/user/enum.UserRelationship.html b/client_sdk/models/user/enum.UserRelationship.html new file mode 100644 index 000000000..8df48d575 --- /dev/null +++ b/client_sdk/models/user/enum.UserRelationship.html @@ -0,0 +1,114 @@ +UserRelationship in client_sdk::models::user - Rust

Enum client_sdk::models::user::UserRelationship

source ·
#[repr(i8)]
pub enum UserRelationship { + None = 0, + Friend = 1, + Blocked = 100, + BlockedDangerous = 101, +}

Variants§

§

None = 0

§

Friend = 1

§

Blocked = 100

Normal user blocking

+
§

BlockedDangerous = 101

Blocking + hide messages from the blocked user

+

Trait Implementations§

source§

impl Archive for UserRelationship

source§

type Archived = ArchivedUserRelationship

The archived representation of this type. Read more
source§

type Resolver = ()

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

fn resolve(&self, _: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
source§

impl Clone for UserRelationship

source§

fn clone(&self) -> UserRelationship

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for UserRelationship

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for UserRelationship

source§

fn default() -> UserRelationship

Returns the “default value” for a type. Read more
source§

impl<'de> Deserialize<'de> for UserRelationship

source§

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<D: Fallible + ?Sized> Deserialize<UserRelationship, D> for ArchivedUserRelationship

source§

fn deserialize(&self, _: &mut D) -> Result<UserRelationship, D::Error>

Deserializes using the given deserializer
source§

impl FromPrimitive for UserRelationship

source§

fn from_u64(val: u64) -> Option<Self>

Converts an u64 to return an optional value of this type. If the +value cannot be represented by this type, then None is returned.
source§

fn from_i64(val: i64) -> Option<Self>

Converts an i64 to return an optional value of this type. If the +value cannot be represented by this type, then None is returned.
source§

fn from_isize(n: isize) -> Option<Self>

Converts an isize to return an optional value of this type. If the +value cannot be represented by this type, then None is returned.
source§

fn from_i8(n: i8) -> Option<Self>

Converts an i8 to return an optional value of this type. If the +value cannot be represented by this type, then None is returned.
source§

fn from_i16(n: i16) -> Option<Self>

Converts an i16 to return an optional value of this type. If the +value cannot be represented by this type, then None is returned.
source§

fn from_i32(n: i32) -> Option<Self>

Converts an i32 to return an optional value of this type. If the +value cannot be represented by this type, then None is returned.
source§

fn from_i128(n: i128) -> Option<Self>

Converts an i128 to return an optional value of this type. If the +value cannot be represented by this type, then None is returned. Read more
source§

fn from_usize(n: usize) -> Option<Self>

Converts a usize to return an optional value of this type. If the +value cannot be represented by this type, then None is returned.
source§

fn from_u8(n: u8) -> Option<Self>

Converts an u8 to return an optional value of this type. If the +value cannot be represented by this type, then None is returned.
source§

fn from_u16(n: u16) -> Option<Self>

Converts an u16 to return an optional value of this type. If the +value cannot be represented by this type, then None is returned.
source§

fn from_u32(n: u32) -> Option<Self>

Converts an u32 to return an optional value of this type. If the +value cannot be represented by this type, then None is returned.
source§

fn from_u128(n: u128) -> Option<Self>

Converts an u128 to return an optional value of this type. If the +value cannot be represented by this type, then None is returned. Read more
source§

fn from_f32(n: f32) -> Option<Self>

Converts a f32 to return an optional value of this type. If the +value cannot be represented by this type, then None is returned.
source§

fn from_f64(n: f64) -> Option<Self>

Converts a f64 to return an optional value of this type. If the +value cannot be represented by this type, then None is returned. Read more
source§

impl<'a> FromSql<'a> for UserRelationship

source§

fn from_sql( + ty: &Type, + raw: &'a [u8], +) -> Result<Self, Box<dyn Error + Sync + Send>>

Creates a new value of this type from a buffer of data of the specified +Postgres Type in its binary format. Read more
source§

fn accepts(ty: &Type) -> bool

Determines if a value of this type can be created from the specified +Postgres Type.
§

fn from_sql_null(ty: &Type) -> Result<Self, Box<dyn Error + Sync + Send>>

Creates a new value of this type from a NULL SQL value. Read more
§

fn from_sql_nullable( + ty: &Type, + raw: Option<&'a [u8]>, +) -> Result<Self, Box<dyn Error + Sync + Send>>

A convenience function that delegates to from_sql and from_sql_null depending on the +value of raw.
source§

impl FromSql for UserRelationship

source§

fn column_result(value: ValueRef<'_>) -> FromSqlResult<Self>

Converts SQLite value into Rust value.
source§

impl Hash for UserRelationship

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where + H: Hasher, + Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl PartialEq for UserRelationship

source§

fn eq(&self, other: &UserRelationship) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl PartialOrd for UserRelationship

source§

fn partial_cmp(&self, other: &UserRelationship) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the +<= operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > +operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by +the >= operator. Read more
source§

impl<S: Fallible + ?Sized> Serialize<S> for UserRelationship

source§

fn serialize(&self, _: &mut S) -> Result<(), S::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.
source§

impl Serialize for UserRelationship

source§

fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
where + S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl ToPrimitive for UserRelationship

source§

fn to_u64(&self) -> Option<u64>

Converts the value of self to a u64. If the value cannot be +represented by a u64, then None is returned.
source§

fn to_i64(&self) -> Option<i64>

Converts the value of self to an i64. If the value cannot be +represented by an i64, then None is returned.
source§

fn to_isize(&self) -> Option<isize>

Converts the value of self to an isize. If the value cannot be +represented by an isize, then None is returned.
source§

fn to_i8(&self) -> Option<i8>

Converts the value of self to an i8. If the value cannot be +represented by an i8, then None is returned.
source§

fn to_i16(&self) -> Option<i16>

Converts the value of self to an i16. If the value cannot be +represented by an i16, then None is returned.
source§

fn to_i32(&self) -> Option<i32>

Converts the value of self to an i32. If the value cannot be +represented by an i32, then None is returned.
source§

fn to_i128(&self) -> Option<i128>

Converts the value of self to an i128. If the value cannot be +represented by an i128 (i64 under the default implementation), then +None is returned. Read more
source§

fn to_usize(&self) -> Option<usize>

Converts the value of self to a usize. If the value cannot be +represented by a usize, then None is returned.
source§

fn to_u8(&self) -> Option<u8>

Converts the value of self to a u8. If the value cannot be +represented by a u8, then None is returned.
source§

fn to_u16(&self) -> Option<u16>

Converts the value of self to a u16. If the value cannot be +represented by a u16, then None is returned.
source§

fn to_u32(&self) -> Option<u32>

Converts the value of self to a u32. If the value cannot be +represented by a u32, then None is returned.
source§

fn to_u128(&self) -> Option<u128>

Converts the value of self to a u128. If the value cannot be +represented by a u128 (u64 under the default implementation), then +None is returned. Read more
source§

fn to_f32(&self) -> Option<f32>

Converts the value of self to an f32. Overflows may map to positive +or negative inifinity, otherwise None is returned if the value cannot +be represented by an f32.
source§

fn to_f64(&self) -> Option<f64>

Converts the value of self to an f64. Overflows may map to positive +or negative inifinity, otherwise None is returned if the value cannot +be represented by an f64. Read more
source§

impl ToSql for UserRelationship

source§

fn to_sql(&self) -> Result<ToSqlOutput<'_>>

Converts Rust value to SQLite value
source§

impl ToSql for UserRelationship

source§

fn to_sql( + &self, + ty: &Type, + out: &mut BytesMut, +) -> Result<IsNull, Box<dyn Error + Sync + Send>>
where + Self: Sized,

Converts the value of self into the binary format of the specified +Postgres Type, appending it to out. Read more
source§

fn accepts(ty: &Type) -> bool

Determines if a value of this type can be converted to the specified +Postgres Type.
source§

fn to_sql_checked( + &self, + ty: &Type, + out: &mut BytesMut, +) -> Result<IsNull, Box<dyn Error + Sync + Send>>

An adaptor method used internally by Rust-Postgres. Read more
§

fn encode_format(&self, _ty: &Type) -> Format

Specify the encode format
source§

impl TryFrom<i16> for UserRelationship

source§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_from(value: i16) -> Result<Self, <Self as TryFrom<i16>>::Error>

Performs the conversion.
source§

impl TryFrom<i32> for UserRelationship

source§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_from(value: i32) -> Result<Self, <Self as TryFrom<i32>>::Error>

Performs the conversion.
source§

impl TryFrom<i64> for UserRelationship

source§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_from(value: i64) -> Result<Self, <Self as TryFrom<i64>>::Error>

Performs the conversion.
source§

impl TryFrom<i8> for UserRelationship

source§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_from(value: i8) -> Result<Self, <Self as TryFrom<i8>>::Error>

Performs the conversion.
source§

impl TryFrom<u16> for UserRelationship

source§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_from(value: u16) -> Result<Self, <Self as TryFrom<u16>>::Error>

Performs the conversion.
source§

impl TryFrom<u32> for UserRelationship

source§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_from(value: u32) -> Result<Self, <Self as TryFrom<u32>>::Error>

Performs the conversion.
source§

impl TryFrom<u64> for UserRelationship

source§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_from(value: u64) -> Result<Self, <Self as TryFrom<u64>>::Error>

Performs the conversion.
source§

impl TryFrom<u8> for UserRelationship

source§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_from(value: u8) -> Result<Self, <Self as TryFrom<u8>>::Error>

Performs the conversion.
source§

impl Copy for UserRelationship

source§

impl Eq for UserRelationship

source§

impl StructuralPartialEq for UserRelationship

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> BorrowToSql for T
where + T: ToSql,

§

fn borrow_to_sql(&self) -> &dyn ToSql

Returns a reference to self as a ToSql trait object.
source§

impl<T> CloneToUninit for T
where + T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T> ToOwned for T
where + T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
source§

impl<T> CommandBody for T
where + T: Send + Serialize + Archive,

source§

impl<T> CommandResult for T
where + T: Send + DeserializeOwned + Serialize + Archive,

source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> FromSqlOwned for T
where + T: for<'a> FromSql<'a>,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/user/index.html b/client_sdk/models/user/index.html new file mode 100644 index 000000000..87b18deeb --- /dev/null +++ b/client_sdk/models/user/index.html @@ -0,0 +1,5 @@ +client_sdk::models::user - Rust

Module client_sdk::models::user

source ·

Modules§

Structs§

Enums§

\ No newline at end of file diff --git a/client_sdk/models/user/preferences/index.html b/client_sdk/models/user/preferences/index.html new file mode 100644 index 000000000..5ecba4452 --- /dev/null +++ b/client_sdk/models/user/preferences/index.html @@ -0,0 +1 @@ +client_sdk::models::user::preferences - Rust

Module client_sdk::models::user::preferences

source ·

Structs§

\ No newline at end of file diff --git a/client_sdk/models/user/preferences/sidebar-items.js b/client_sdk/models/user/preferences/sidebar-items.js new file mode 100644 index 000000000..56bb89313 --- /dev/null +++ b/client_sdk/models/user/preferences/sidebar-items.js @@ -0,0 +1 @@ +window.SIDEBAR_ITEMS = {"struct":["ArchivedFontSize","ArchivedPadding","ArchivedTabSize","ArchivedTemperature","FontSize","FontSizeResolver","Padding","PaddingResolver","TabSize","TabSizeResolver","Temperature","TemperatureResolver"]}; \ No newline at end of file diff --git a/client_sdk/models/user/preferences/struct.ArchivedFontSize.html b/client_sdk/models/user/preferences/struct.ArchivedFontSize.html new file mode 100644 index 000000000..ed8641c5c --- /dev/null +++ b/client_sdk/models/user/preferences/struct.ArchivedFontSize.html @@ -0,0 +1,32 @@ +ArchivedFontSize in client_sdk::models::user::preferences - Rust

Struct client_sdk::models::user::preferences::ArchivedFontSize

source ·
#[repr(C)]
pub struct ArchivedFontSize(pub <f32 as Archive>::Archived) +where + f32: Archive;
Expand description

An archived FontSize

+

Tuple Fields§

§0: <f32 as Archive>::Archived

Trait Implementations§

source§

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedFontSize
where + f32: Archive, + <__C as Fallible>::Error: Trace, + <f32 as Archive>::Archived: CheckBytes<__C>,

source§

unsafe fn check_bytes( + value: *const Self, + context: &mut __C, +) -> Result<(), <__C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Portable for ArchivedFontSize
where + f32: Archive, + <f32 as Archive>::Archived: Portable,

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/user/preferences/struct.ArchivedPadding.html b/client_sdk/models/user/preferences/struct.ArchivedPadding.html new file mode 100644 index 000000000..aa81d1174 --- /dev/null +++ b/client_sdk/models/user/preferences/struct.ArchivedPadding.html @@ -0,0 +1,32 @@ +ArchivedPadding in client_sdk::models::user::preferences - Rust

Struct client_sdk::models::user::preferences::ArchivedPadding

source ·
#[repr(C)]
pub struct ArchivedPadding(pub <u8 as Archive>::Archived) +where + u8: Archive;
Expand description

An archived Padding

+

Tuple Fields§

§0: <u8 as Archive>::Archived

Trait Implementations§

source§

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedPadding
where + u8: Archive, + <__C as Fallible>::Error: Trace, + <u8 as Archive>::Archived: CheckBytes<__C>,

source§

unsafe fn check_bytes( + value: *const Self, + context: &mut __C, +) -> Result<(), <__C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Portable for ArchivedPadding
where + u8: Archive, + <u8 as Archive>::Archived: Portable,

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/user/preferences/struct.ArchivedTabSize.html b/client_sdk/models/user/preferences/struct.ArchivedTabSize.html new file mode 100644 index 000000000..5b3932e57 --- /dev/null +++ b/client_sdk/models/user/preferences/struct.ArchivedTabSize.html @@ -0,0 +1,32 @@ +ArchivedTabSize in client_sdk::models::user::preferences - Rust

Struct client_sdk::models::user::preferences::ArchivedTabSize

source ·
#[repr(C)]
pub struct ArchivedTabSize(pub <u8 as Archive>::Archived) +where + u8: Archive;
Expand description

An archived TabSize

+

Tuple Fields§

§0: <u8 as Archive>::Archived

Trait Implementations§

source§

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedTabSize
where + u8: Archive, + <__C as Fallible>::Error: Trace, + <u8 as Archive>::Archived: CheckBytes<__C>,

source§

unsafe fn check_bytes( + value: *const Self, + context: &mut __C, +) -> Result<(), <__C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Portable for ArchivedTabSize
where + u8: Archive, + <u8 as Archive>::Archived: Portable,

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/user/preferences/struct.ArchivedTemperature.html b/client_sdk/models/user/preferences/struct.ArchivedTemperature.html new file mode 100644 index 000000000..54e7f3885 --- /dev/null +++ b/client_sdk/models/user/preferences/struct.ArchivedTemperature.html @@ -0,0 +1,32 @@ +ArchivedTemperature in client_sdk::models::user::preferences - Rust

Struct client_sdk::models::user::preferences::ArchivedTemperature

source ·
#[repr(C)]
pub struct ArchivedTemperature(pub <u16 as Archive>::Archived) +where + u16: Archive;
Expand description

An archived Temperature

+

Tuple Fields§

§0: <u16 as Archive>::Archived

Trait Implementations§

source§

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedTemperature
where + u16: Archive, + <__C as Fallible>::Error: Trace, + <u16 as Archive>::Archived: CheckBytes<__C>,

source§

unsafe fn check_bytes( + value: *const Self, + context: &mut __C, +) -> Result<(), <__C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Portable for ArchivedTemperature
where + u16: Archive, + <u16 as Archive>::Archived: Portable,

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/user/preferences/struct.FontSize.html b/client_sdk/models/user/preferences/struct.FontSize.html new file mode 100644 index 000000000..5428b71eb --- /dev/null +++ b/client_sdk/models/user/preferences/struct.FontSize.html @@ -0,0 +1,108 @@ +FontSize in client_sdk::models::user::preferences - Rust

Struct client_sdk::models::user::preferences::FontSize

source ·
#[repr(transparent)]
pub struct FontSize(pub f32);

Tuple Fields§

§0: f32

Methods from Deref<Target = f32>§

1.43.0 · source

pub const RADIX: u32 = 2u32

1.43.0 · source

pub const MANTISSA_DIGITS: u32 = 24u32

1.43.0 · source

pub const DIGITS: u32 = 6u32

1.43.0 · source

pub const EPSILON: f32 = 1.1920929E-7f32

1.43.0 · source

pub const MIN: f32 = -3.40282347E+38f32

1.43.0 · source

pub const MIN_POSITIVE: f32 = 1.17549435E-38f32

1.43.0 · source

pub const MAX: f32 = 3.40282347E+38f32

1.43.0 · source

pub const MIN_EXP: i32 = -125i32

1.43.0 · source

pub const MAX_EXP: i32 = 128i32

1.43.0 · source

pub const MIN_10_EXP: i32 = -37i32

1.43.0 · source

pub const MAX_10_EXP: i32 = 38i32

1.43.0 · source

pub const NAN: f32 = NaN_f32

1.43.0 · source

pub const INFINITY: f32 = +Inf_f32

1.43.0 · source

pub const NEG_INFINITY: f32 = -Inf_f32

1.62.0 · source

pub fn total_cmp(&self, other: &f32) -> Ordering

Returns the ordering between self and other.

+

Unlike the standard partial comparison between floating point numbers, +this comparison always produces an ordering in accordance to +the totalOrder predicate as defined in the IEEE 754 (2008 revision) +floating point standard. The values are ordered in the following sequence:

+
    +
  • negative quiet NaN
  • +
  • negative signaling NaN
  • +
  • negative infinity
  • +
  • negative numbers
  • +
  • negative subnormal numbers
  • +
  • negative zero
  • +
  • positive zero
  • +
  • positive subnormal numbers
  • +
  • positive numbers
  • +
  • positive infinity
  • +
  • positive signaling NaN
  • +
  • positive quiet NaN.
  • +
+

The ordering established by this function does not always agree with the +PartialOrd and PartialEq implementations of f32. For example, +they consider negative and positive zero equal, while total_cmp +doesn’t.

+

The interpretation of the signaling NaN bit follows the definition in +the IEEE 754 standard, which may not match the interpretation by some of +the older, non-conformant (e.g. MIPS) hardware implementations.

+
§Example
+
struct GoodBoy {
+    name: String,
+    weight: f32,
+}
+
+let mut bois = vec![
+    GoodBoy { name: "Pucci".to_owned(), weight: 0.1 },
+    GoodBoy { name: "Woofer".to_owned(), weight: 99.0 },
+    GoodBoy { name: "Yapper".to_owned(), weight: 10.0 },
+    GoodBoy { name: "Chonk".to_owned(), weight: f32::INFINITY },
+    GoodBoy { name: "Abs. Unit".to_owned(), weight: f32::NAN },
+    GoodBoy { name: "Floaty".to_owned(), weight: -5.0 },
+];
+
+bois.sort_by(|a, b| a.weight.total_cmp(&b.weight));
+
+// `f32::NAN` could be positive or negative, which will affect the sort order.
+if f32::NAN.is_sign_negative() {
+    assert!(bois.into_iter().map(|b| b.weight)
+        .zip([f32::NAN, -5.0, 0.1, 10.0, 99.0, f32::INFINITY].iter())
+        .all(|(a, b)| a.to_bits() == b.to_bits()))
+} else {
+    assert!(bois.into_iter().map(|b| b.weight)
+        .zip([-5.0, 0.1, 10.0, 99.0, f32::INFINITY, f32::NAN].iter())
+        .all(|(a, b)| a.to_bits() == b.to_bits()))
+}
+

Trait Implementations§

source§

impl Archive for FontSize
where + f32: Archive,

source§

type Archived = ArchivedFontSize

The archived representation of this type. Read more
source§

type Resolver = FontSizeResolver

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
source§

impl Clone for FontSize

source§

fn clone(&self) -> FontSize

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for FontSize

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for FontSize

source§

fn default() -> Self

Returns the “default value” for a type. Read more
source§

impl Deref for FontSize

source§

type Target = f32

The resulting type after dereferencing.
source§

fn deref(&self) -> &f32

Dereferences the value.
source§

impl DerefMut for FontSize

source§

fn deref_mut(&mut self) -> &mut f32

Mutably dereferences the value.
source§

impl<'de> Deserialize<'de> for FontSize

source§

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<__D: Fallible + ?Sized> Deserialize<FontSize, __D> for Archived<FontSize>
where + f32: Archive, + <f32 as Archive>::Archived: Deserialize<f32, __D>,

source§

fn deserialize( + &self, + deserializer: &mut __D, +) -> Result<FontSize, <__D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl PartialEq for FontSize

source§

fn eq(&self, other: &FontSize) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl PartialOrd for FontSize

source§

fn partial_cmp(&self, other: &FontSize) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the +<= operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > +operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by +the >= operator. Read more
source§

impl<__S: Fallible + ?Sized> Serialize<__S> for FontSize
where + f32: Serialize<__S>,

source§

fn serialize( + &self, + serializer: &mut __S, +) -> Result<<Self as Archive>::Resolver, <__S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.
source§

impl Serialize for FontSize

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Copy for FontSize

source§

impl StructuralPartialEq for FontSize

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where + T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T> ToOwned for T
where + T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
source§

impl<T> CommandBody for T
where + T: Send + Serialize + Archive,

source§

impl<T> CommandResult for T
where + T: Send + DeserializeOwned + Serialize + Archive,

source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/user/preferences/struct.FontSizeResolver.html b/client_sdk/models/user/preferences/struct.FontSizeResolver.html new file mode 100644 index 000000000..27ef2ee28 --- /dev/null +++ b/client_sdk/models/user/preferences/struct.FontSizeResolver.html @@ -0,0 +1,23 @@ +FontSizeResolver in client_sdk::models::user::preferences - Rust

Struct client_sdk::models::user::preferences::FontSizeResolver

source ·
pub struct FontSizeResolver(/* private fields */)
+where
+    f32: Archive;
Expand description

The resolver for an archived FontSize

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/user/preferences/struct.Padding.html b/client_sdk/models/user/preferences/struct.Padding.html new file mode 100644 index 000000000..4435dbf29 --- /dev/null +++ b/client_sdk/models/user/preferences/struct.Padding.html @@ -0,0 +1,378 @@ +Padding in client_sdk::models::user::preferences - Rust

Struct client_sdk::models::user::preferences::Padding

source ·
#[repr(transparent)]
pub struct Padding(pub u8);

Tuple Fields§

§0: u8

Methods from Deref<Target = u8>§

1.43.0 · source

pub const MIN: u8 = 0u8

1.43.0 · source

pub const MAX: u8 = 255u8

1.53.0 · source

pub const BITS: u32 = 8u32

1.23.0 · source

pub fn is_ascii(&self) -> bool

Checks if the value is within the ASCII range.

+
§Examples
+
let ascii = 97u8;
+let non_ascii = 150u8;
+
+assert!(ascii.is_ascii());
+assert!(!non_ascii.is_ascii());
+
source

pub fn as_ascii(&self) -> Option<AsciiChar>

🔬This is a nightly-only experimental API. (ascii_char)

If the value of this byte is within the ASCII range, returns it as an +ASCII character. Otherwise, returns None.

+
1.23.0 · source

pub fn to_ascii_uppercase(&self) -> u8

Makes a copy of the value in its ASCII upper case equivalent.

+

ASCII letters ‘a’ to ‘z’ are mapped to ‘A’ to ‘Z’, +but non-ASCII letters are unchanged.

+

To uppercase the value in-place, use make_ascii_uppercase.

+
§Examples
+
let lowercase_a = 97u8;
+
+assert_eq!(65, lowercase_a.to_ascii_uppercase());
+
1.23.0 · source

pub fn to_ascii_lowercase(&self) -> u8

Makes a copy of the value in its ASCII lower case equivalent.

+

ASCII letters ‘A’ to ‘Z’ are mapped to ‘a’ to ‘z’, +but non-ASCII letters are unchanged.

+

To lowercase the value in-place, use make_ascii_lowercase.

+
§Examples
+
let uppercase_a = 65u8;
+
+assert_eq!(97, uppercase_a.to_ascii_lowercase());
+
1.23.0 · source

pub fn eq_ignore_ascii_case(&self, other: &u8) -> bool

Checks that two values are an ASCII case-insensitive match.

+

This is equivalent to to_ascii_lowercase(a) == to_ascii_lowercase(b).

+
§Examples
+
let lowercase_a = 97u8;
+let uppercase_a = 65u8;
+
+assert!(lowercase_a.eq_ignore_ascii_case(&uppercase_a));
+
1.23.0 · source

pub fn make_ascii_uppercase(&mut self)

Converts this value to its ASCII upper case equivalent in-place.

+

ASCII letters ‘a’ to ‘z’ are mapped to ‘A’ to ‘Z’, +but non-ASCII letters are unchanged.

+

To return a new uppercased value without modifying the existing one, use +to_ascii_uppercase.

+
§Examples
+
let mut byte = b'a';
+
+byte.make_ascii_uppercase();
+
+assert_eq!(b'A', byte);
+
1.23.0 · source

pub fn make_ascii_lowercase(&mut self)

Converts this value to its ASCII lower case equivalent in-place.

+

ASCII letters ‘A’ to ‘Z’ are mapped to ‘a’ to ‘z’, +but non-ASCII letters are unchanged.

+

To return a new lowercased value without modifying the existing one, use +to_ascii_lowercase.

+
§Examples
+
let mut byte = b'A';
+
+byte.make_ascii_lowercase();
+
+assert_eq!(b'a', byte);
+
1.24.0 · source

pub fn is_ascii_alphabetic(&self) -> bool

Checks if the value is an ASCII alphabetic character:

+
    +
  • U+0041 ‘A’ ..= U+005A ‘Z’, or
  • +
  • U+0061 ‘a’ ..= U+007A ‘z’.
  • +
+
§Examples
+
let uppercase_a = b'A';
+let uppercase_g = b'G';
+let a = b'a';
+let g = b'g';
+let zero = b'0';
+let percent = b'%';
+let space = b' ';
+let lf = b'\n';
+let esc = b'\x1b';
+
+assert!(uppercase_a.is_ascii_alphabetic());
+assert!(uppercase_g.is_ascii_alphabetic());
+assert!(a.is_ascii_alphabetic());
+assert!(g.is_ascii_alphabetic());
+assert!(!zero.is_ascii_alphabetic());
+assert!(!percent.is_ascii_alphabetic());
+assert!(!space.is_ascii_alphabetic());
+assert!(!lf.is_ascii_alphabetic());
+assert!(!esc.is_ascii_alphabetic());
+
1.24.0 · source

pub fn is_ascii_uppercase(&self) -> bool

Checks if the value is an ASCII uppercase character: +U+0041 ‘A’ ..= U+005A ‘Z’.

+
§Examples
+
let uppercase_a = b'A';
+let uppercase_g = b'G';
+let a = b'a';
+let g = b'g';
+let zero = b'0';
+let percent = b'%';
+let space = b' ';
+let lf = b'\n';
+let esc = b'\x1b';
+
+assert!(uppercase_a.is_ascii_uppercase());
+assert!(uppercase_g.is_ascii_uppercase());
+assert!(!a.is_ascii_uppercase());
+assert!(!g.is_ascii_uppercase());
+assert!(!zero.is_ascii_uppercase());
+assert!(!percent.is_ascii_uppercase());
+assert!(!space.is_ascii_uppercase());
+assert!(!lf.is_ascii_uppercase());
+assert!(!esc.is_ascii_uppercase());
+
1.24.0 · source

pub fn is_ascii_lowercase(&self) -> bool

Checks if the value is an ASCII lowercase character: +U+0061 ‘a’ ..= U+007A ‘z’.

+
§Examples
+
let uppercase_a = b'A';
+let uppercase_g = b'G';
+let a = b'a';
+let g = b'g';
+let zero = b'0';
+let percent = b'%';
+let space = b' ';
+let lf = b'\n';
+let esc = b'\x1b';
+
+assert!(!uppercase_a.is_ascii_lowercase());
+assert!(!uppercase_g.is_ascii_lowercase());
+assert!(a.is_ascii_lowercase());
+assert!(g.is_ascii_lowercase());
+assert!(!zero.is_ascii_lowercase());
+assert!(!percent.is_ascii_lowercase());
+assert!(!space.is_ascii_lowercase());
+assert!(!lf.is_ascii_lowercase());
+assert!(!esc.is_ascii_lowercase());
+
1.24.0 · source

pub fn is_ascii_alphanumeric(&self) -> bool

Checks if the value is an ASCII alphanumeric character:

+
    +
  • U+0041 ‘A’ ..= U+005A ‘Z’, or
  • +
  • U+0061 ‘a’ ..= U+007A ‘z’, or
  • +
  • U+0030 ‘0’ ..= U+0039 ‘9’.
  • +
+
§Examples
+
let uppercase_a = b'A';
+let uppercase_g = b'G';
+let a = b'a';
+let g = b'g';
+let zero = b'0';
+let percent = b'%';
+let space = b' ';
+let lf = b'\n';
+let esc = b'\x1b';
+
+assert!(uppercase_a.is_ascii_alphanumeric());
+assert!(uppercase_g.is_ascii_alphanumeric());
+assert!(a.is_ascii_alphanumeric());
+assert!(g.is_ascii_alphanumeric());
+assert!(zero.is_ascii_alphanumeric());
+assert!(!percent.is_ascii_alphanumeric());
+assert!(!space.is_ascii_alphanumeric());
+assert!(!lf.is_ascii_alphanumeric());
+assert!(!esc.is_ascii_alphanumeric());
+
1.24.0 · source

pub fn is_ascii_digit(&self) -> bool

Checks if the value is an ASCII decimal digit: +U+0030 ‘0’ ..= U+0039 ‘9’.

+
§Examples
+
let uppercase_a = b'A';
+let uppercase_g = b'G';
+let a = b'a';
+let g = b'g';
+let zero = b'0';
+let percent = b'%';
+let space = b' ';
+let lf = b'\n';
+let esc = b'\x1b';
+
+assert!(!uppercase_a.is_ascii_digit());
+assert!(!uppercase_g.is_ascii_digit());
+assert!(!a.is_ascii_digit());
+assert!(!g.is_ascii_digit());
+assert!(zero.is_ascii_digit());
+assert!(!percent.is_ascii_digit());
+assert!(!space.is_ascii_digit());
+assert!(!lf.is_ascii_digit());
+assert!(!esc.is_ascii_digit());
+
source

pub fn is_ascii_octdigit(&self) -> bool

🔬This is a nightly-only experimental API. (is_ascii_octdigit)

Checks if the value is an ASCII octal digit: +U+0030 ‘0’ ..= U+0037 ‘7’.

+
§Examples
+
#![feature(is_ascii_octdigit)]
+
+let uppercase_a = b'A';
+let a = b'a';
+let zero = b'0';
+let seven = b'7';
+let nine = b'9';
+let percent = b'%';
+let lf = b'\n';
+
+assert!(!uppercase_a.is_ascii_octdigit());
+assert!(!a.is_ascii_octdigit());
+assert!(zero.is_ascii_octdigit());
+assert!(seven.is_ascii_octdigit());
+assert!(!nine.is_ascii_octdigit());
+assert!(!percent.is_ascii_octdigit());
+assert!(!lf.is_ascii_octdigit());
+
1.24.0 · source

pub fn is_ascii_hexdigit(&self) -> bool

Checks if the value is an ASCII hexadecimal digit:

+
    +
  • U+0030 ‘0’ ..= U+0039 ‘9’, or
  • +
  • U+0041 ‘A’ ..= U+0046 ‘F’, or
  • +
  • U+0061 ‘a’ ..= U+0066 ‘f’.
  • +
+
§Examples
+
let uppercase_a = b'A';
+let uppercase_g = b'G';
+let a = b'a';
+let g = b'g';
+let zero = b'0';
+let percent = b'%';
+let space = b' ';
+let lf = b'\n';
+let esc = b'\x1b';
+
+assert!(uppercase_a.is_ascii_hexdigit());
+assert!(!uppercase_g.is_ascii_hexdigit());
+assert!(a.is_ascii_hexdigit());
+assert!(!g.is_ascii_hexdigit());
+assert!(zero.is_ascii_hexdigit());
+assert!(!percent.is_ascii_hexdigit());
+assert!(!space.is_ascii_hexdigit());
+assert!(!lf.is_ascii_hexdigit());
+assert!(!esc.is_ascii_hexdigit());
+
1.24.0 · source

pub fn is_ascii_punctuation(&self) -> bool

Checks if the value is an ASCII punctuation character:

+
    +
  • U+0021 ..= U+002F ! " # $ % & ' ( ) * + , - . /, or
  • +
  • U+003A ..= U+0040 : ; < = > ? @, or
  • +
  • U+005B ..= U+0060 [ \ ] ^ _ `, or
  • +
  • U+007B ..= U+007E { | } ~
  • +
+
§Examples
+
let uppercase_a = b'A';
+let uppercase_g = b'G';
+let a = b'a';
+let g = b'g';
+let zero = b'0';
+let percent = b'%';
+let space = b' ';
+let lf = b'\n';
+let esc = b'\x1b';
+
+assert!(!uppercase_a.is_ascii_punctuation());
+assert!(!uppercase_g.is_ascii_punctuation());
+assert!(!a.is_ascii_punctuation());
+assert!(!g.is_ascii_punctuation());
+assert!(!zero.is_ascii_punctuation());
+assert!(percent.is_ascii_punctuation());
+assert!(!space.is_ascii_punctuation());
+assert!(!lf.is_ascii_punctuation());
+assert!(!esc.is_ascii_punctuation());
+
1.24.0 · source

pub fn is_ascii_graphic(&self) -> bool

Checks if the value is an ASCII graphic character: +U+0021 ‘!’ ..= U+007E ‘~’.

+
§Examples
+
let uppercase_a = b'A';
+let uppercase_g = b'G';
+let a = b'a';
+let g = b'g';
+let zero = b'0';
+let percent = b'%';
+let space = b' ';
+let lf = b'\n';
+let esc = b'\x1b';
+
+assert!(uppercase_a.is_ascii_graphic());
+assert!(uppercase_g.is_ascii_graphic());
+assert!(a.is_ascii_graphic());
+assert!(g.is_ascii_graphic());
+assert!(zero.is_ascii_graphic());
+assert!(percent.is_ascii_graphic());
+assert!(!space.is_ascii_graphic());
+assert!(!lf.is_ascii_graphic());
+assert!(!esc.is_ascii_graphic());
+
1.24.0 · source

pub fn is_ascii_whitespace(&self) -> bool

Checks if the value is an ASCII whitespace character: +U+0020 SPACE, U+0009 HORIZONTAL TAB, U+000A LINE FEED, +U+000C FORM FEED, or U+000D CARRIAGE RETURN.

+

Rust uses the WhatWG Infra Standard’s definition of ASCII +whitespace. There are several other definitions in +wide use. For instance, the POSIX locale includes +U+000B VERTICAL TAB as well as all the above characters, +but—from the very same specification—the default rule for +“field splitting” in the Bourne shell considers only +SPACE, HORIZONTAL TAB, and LINE FEED as whitespace.

+

If you are writing a program that will process an existing +file format, check what that format’s definition of whitespace is +before using this function.

+
§Examples
+
let uppercase_a = b'A';
+let uppercase_g = b'G';
+let a = b'a';
+let g = b'g';
+let zero = b'0';
+let percent = b'%';
+let space = b' ';
+let lf = b'\n';
+let esc = b'\x1b';
+
+assert!(!uppercase_a.is_ascii_whitespace());
+assert!(!uppercase_g.is_ascii_whitespace());
+assert!(!a.is_ascii_whitespace());
+assert!(!g.is_ascii_whitespace());
+assert!(!zero.is_ascii_whitespace());
+assert!(!percent.is_ascii_whitespace());
+assert!(space.is_ascii_whitespace());
+assert!(lf.is_ascii_whitespace());
+assert!(!esc.is_ascii_whitespace());
+
1.24.0 · source

pub fn is_ascii_control(&self) -> bool

Checks if the value is an ASCII control character: +U+0000 NUL ..= U+001F UNIT SEPARATOR, or U+007F DELETE. +Note that most ASCII whitespace characters are control +characters, but SPACE is not.

+
§Examples
+
let uppercase_a = b'A';
+let uppercase_g = b'G';
+let a = b'a';
+let g = b'g';
+let zero = b'0';
+let percent = b'%';
+let space = b' ';
+let lf = b'\n';
+let esc = b'\x1b';
+
+assert!(!uppercase_a.is_ascii_control());
+assert!(!uppercase_g.is_ascii_control());
+assert!(!a.is_ascii_control());
+assert!(!g.is_ascii_control());
+assert!(!zero.is_ascii_control());
+assert!(!percent.is_ascii_control());
+assert!(!space.is_ascii_control());
+assert!(lf.is_ascii_control());
+assert!(esc.is_ascii_control());
+

Trait Implementations§

source§

impl Archive for Padding
where + u8: Archive,

source§

type Archived = ArchivedPadding

The archived representation of this type. Read more
source§

type Resolver = PaddingResolver

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
source§

impl Clone for Padding

source§

fn clone(&self) -> Padding

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Padding

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for Padding

source§

fn default() -> Self

Returns the “default value” for a type. Read more
source§

impl Deref for Padding

source§

type Target = u8

The resulting type after dereferencing.
source§

fn deref(&self) -> &u8

Dereferences the value.
source§

impl DerefMut for Padding

source§

fn deref_mut(&mut self) -> &mut u8

Mutably dereferences the value.
source§

impl<'de> Deserialize<'de> for Padding

source§

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<__D: Fallible + ?Sized> Deserialize<Padding, __D> for Archived<Padding>
where + u8: Archive, + <u8 as Archive>::Archived: Deserialize<u8, __D>,

source§

fn deserialize( + &self, + deserializer: &mut __D, +) -> Result<Padding, <__D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl PartialEq for Padding

source§

fn eq(&self, other: &Padding) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl PartialOrd for Padding

source§

fn partial_cmp(&self, other: &Padding) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the +<= operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > +operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by +the >= operator. Read more
source§

impl<__S: Fallible + ?Sized> Serialize<__S> for Padding
where + u8: Serialize<__S>,

source§

fn serialize( + &self, + serializer: &mut __S, +) -> Result<<Self as Archive>::Resolver, <__S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.
source§

impl Serialize for Padding

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Copy for Padding

source§

impl StructuralPartialEq for Padding

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where + T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T> ToOwned for T
where + T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
source§

impl<T> CommandBody for T
where + T: Send + Serialize + Archive,

source§

impl<T> CommandResult for T
where + T: Send + DeserializeOwned + Serialize + Archive,

source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/user/preferences/struct.PaddingResolver.html b/client_sdk/models/user/preferences/struct.PaddingResolver.html new file mode 100644 index 000000000..08cffad2d --- /dev/null +++ b/client_sdk/models/user/preferences/struct.PaddingResolver.html @@ -0,0 +1,23 @@ +PaddingResolver in client_sdk::models::user::preferences - Rust

Struct client_sdk::models::user::preferences::PaddingResolver

source ·
pub struct PaddingResolver(/* private fields */)
+where
+    u8: Archive;
Expand description

The resolver for an archived Padding

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/user/preferences/struct.TabSize.html b/client_sdk/models/user/preferences/struct.TabSize.html new file mode 100644 index 000000000..4285cec3a --- /dev/null +++ b/client_sdk/models/user/preferences/struct.TabSize.html @@ -0,0 +1,378 @@ +TabSize in client_sdk::models::user::preferences - Rust

Struct client_sdk::models::user::preferences::TabSize

source ·
#[repr(transparent)]
pub struct TabSize(pub u8);

Tuple Fields§

§0: u8

Methods from Deref<Target = u8>§

1.43.0 · source

pub const MIN: u8 = 0u8

1.43.0 · source

pub const MAX: u8 = 255u8

1.53.0 · source

pub const BITS: u32 = 8u32

1.23.0 · source

pub fn is_ascii(&self) -> bool

Checks if the value is within the ASCII range.

+
§Examples
+
let ascii = 97u8;
+let non_ascii = 150u8;
+
+assert!(ascii.is_ascii());
+assert!(!non_ascii.is_ascii());
+
source

pub fn as_ascii(&self) -> Option<AsciiChar>

🔬This is a nightly-only experimental API. (ascii_char)

If the value of this byte is within the ASCII range, returns it as an +ASCII character. Otherwise, returns None.

+
1.23.0 · source

pub fn to_ascii_uppercase(&self) -> u8

Makes a copy of the value in its ASCII upper case equivalent.

+

ASCII letters ‘a’ to ‘z’ are mapped to ‘A’ to ‘Z’, +but non-ASCII letters are unchanged.

+

To uppercase the value in-place, use make_ascii_uppercase.

+
§Examples
+
let lowercase_a = 97u8;
+
+assert_eq!(65, lowercase_a.to_ascii_uppercase());
+
1.23.0 · source

pub fn to_ascii_lowercase(&self) -> u8

Makes a copy of the value in its ASCII lower case equivalent.

+

ASCII letters ‘A’ to ‘Z’ are mapped to ‘a’ to ‘z’, +but non-ASCII letters are unchanged.

+

To lowercase the value in-place, use make_ascii_lowercase.

+
§Examples
+
let uppercase_a = 65u8;
+
+assert_eq!(97, uppercase_a.to_ascii_lowercase());
+
1.23.0 · source

pub fn eq_ignore_ascii_case(&self, other: &u8) -> bool

Checks that two values are an ASCII case-insensitive match.

+

This is equivalent to to_ascii_lowercase(a) == to_ascii_lowercase(b).

+
§Examples
+
let lowercase_a = 97u8;
+let uppercase_a = 65u8;
+
+assert!(lowercase_a.eq_ignore_ascii_case(&uppercase_a));
+
1.23.0 · source

pub fn make_ascii_uppercase(&mut self)

Converts this value to its ASCII upper case equivalent in-place.

+

ASCII letters ‘a’ to ‘z’ are mapped to ‘A’ to ‘Z’, +but non-ASCII letters are unchanged.

+

To return a new uppercased value without modifying the existing one, use +to_ascii_uppercase.

+
§Examples
+
let mut byte = b'a';
+
+byte.make_ascii_uppercase();
+
+assert_eq!(b'A', byte);
+
1.23.0 · source

pub fn make_ascii_lowercase(&mut self)

Converts this value to its ASCII lower case equivalent in-place.

+

ASCII letters ‘A’ to ‘Z’ are mapped to ‘a’ to ‘z’, +but non-ASCII letters are unchanged.

+

To return a new lowercased value without modifying the existing one, use +to_ascii_lowercase.

+
§Examples
+
let mut byte = b'A';
+
+byte.make_ascii_lowercase();
+
+assert_eq!(b'a', byte);
+
1.24.0 · source

pub fn is_ascii_alphabetic(&self) -> bool

Checks if the value is an ASCII alphabetic character:

+
    +
  • U+0041 ‘A’ ..= U+005A ‘Z’, or
  • +
  • U+0061 ‘a’ ..= U+007A ‘z’.
  • +
+
§Examples
+
let uppercase_a = b'A';
+let uppercase_g = b'G';
+let a = b'a';
+let g = b'g';
+let zero = b'0';
+let percent = b'%';
+let space = b' ';
+let lf = b'\n';
+let esc = b'\x1b';
+
+assert!(uppercase_a.is_ascii_alphabetic());
+assert!(uppercase_g.is_ascii_alphabetic());
+assert!(a.is_ascii_alphabetic());
+assert!(g.is_ascii_alphabetic());
+assert!(!zero.is_ascii_alphabetic());
+assert!(!percent.is_ascii_alphabetic());
+assert!(!space.is_ascii_alphabetic());
+assert!(!lf.is_ascii_alphabetic());
+assert!(!esc.is_ascii_alphabetic());
+
1.24.0 · source

pub fn is_ascii_uppercase(&self) -> bool

Checks if the value is an ASCII uppercase character: +U+0041 ‘A’ ..= U+005A ‘Z’.

+
§Examples
+
let uppercase_a = b'A';
+let uppercase_g = b'G';
+let a = b'a';
+let g = b'g';
+let zero = b'0';
+let percent = b'%';
+let space = b' ';
+let lf = b'\n';
+let esc = b'\x1b';
+
+assert!(uppercase_a.is_ascii_uppercase());
+assert!(uppercase_g.is_ascii_uppercase());
+assert!(!a.is_ascii_uppercase());
+assert!(!g.is_ascii_uppercase());
+assert!(!zero.is_ascii_uppercase());
+assert!(!percent.is_ascii_uppercase());
+assert!(!space.is_ascii_uppercase());
+assert!(!lf.is_ascii_uppercase());
+assert!(!esc.is_ascii_uppercase());
+
1.24.0 · source

pub fn is_ascii_lowercase(&self) -> bool

Checks if the value is an ASCII lowercase character: +U+0061 ‘a’ ..= U+007A ‘z’.

+
§Examples
+
let uppercase_a = b'A';
+let uppercase_g = b'G';
+let a = b'a';
+let g = b'g';
+let zero = b'0';
+let percent = b'%';
+let space = b' ';
+let lf = b'\n';
+let esc = b'\x1b';
+
+assert!(!uppercase_a.is_ascii_lowercase());
+assert!(!uppercase_g.is_ascii_lowercase());
+assert!(a.is_ascii_lowercase());
+assert!(g.is_ascii_lowercase());
+assert!(!zero.is_ascii_lowercase());
+assert!(!percent.is_ascii_lowercase());
+assert!(!space.is_ascii_lowercase());
+assert!(!lf.is_ascii_lowercase());
+assert!(!esc.is_ascii_lowercase());
+
1.24.0 · source

pub fn is_ascii_alphanumeric(&self) -> bool

Checks if the value is an ASCII alphanumeric character:

+
    +
  • U+0041 ‘A’ ..= U+005A ‘Z’, or
  • +
  • U+0061 ‘a’ ..= U+007A ‘z’, or
  • +
  • U+0030 ‘0’ ..= U+0039 ‘9’.
  • +
+
§Examples
+
let uppercase_a = b'A';
+let uppercase_g = b'G';
+let a = b'a';
+let g = b'g';
+let zero = b'0';
+let percent = b'%';
+let space = b' ';
+let lf = b'\n';
+let esc = b'\x1b';
+
+assert!(uppercase_a.is_ascii_alphanumeric());
+assert!(uppercase_g.is_ascii_alphanumeric());
+assert!(a.is_ascii_alphanumeric());
+assert!(g.is_ascii_alphanumeric());
+assert!(zero.is_ascii_alphanumeric());
+assert!(!percent.is_ascii_alphanumeric());
+assert!(!space.is_ascii_alphanumeric());
+assert!(!lf.is_ascii_alphanumeric());
+assert!(!esc.is_ascii_alphanumeric());
+
1.24.0 · source

pub fn is_ascii_digit(&self) -> bool

Checks if the value is an ASCII decimal digit: +U+0030 ‘0’ ..= U+0039 ‘9’.

+
§Examples
+
let uppercase_a = b'A';
+let uppercase_g = b'G';
+let a = b'a';
+let g = b'g';
+let zero = b'0';
+let percent = b'%';
+let space = b' ';
+let lf = b'\n';
+let esc = b'\x1b';
+
+assert!(!uppercase_a.is_ascii_digit());
+assert!(!uppercase_g.is_ascii_digit());
+assert!(!a.is_ascii_digit());
+assert!(!g.is_ascii_digit());
+assert!(zero.is_ascii_digit());
+assert!(!percent.is_ascii_digit());
+assert!(!space.is_ascii_digit());
+assert!(!lf.is_ascii_digit());
+assert!(!esc.is_ascii_digit());
+
source

pub fn is_ascii_octdigit(&self) -> bool

🔬This is a nightly-only experimental API. (is_ascii_octdigit)

Checks if the value is an ASCII octal digit: +U+0030 ‘0’ ..= U+0037 ‘7’.

+
§Examples
+
#![feature(is_ascii_octdigit)]
+
+let uppercase_a = b'A';
+let a = b'a';
+let zero = b'0';
+let seven = b'7';
+let nine = b'9';
+let percent = b'%';
+let lf = b'\n';
+
+assert!(!uppercase_a.is_ascii_octdigit());
+assert!(!a.is_ascii_octdigit());
+assert!(zero.is_ascii_octdigit());
+assert!(seven.is_ascii_octdigit());
+assert!(!nine.is_ascii_octdigit());
+assert!(!percent.is_ascii_octdigit());
+assert!(!lf.is_ascii_octdigit());
+
1.24.0 · source

pub fn is_ascii_hexdigit(&self) -> bool

Checks if the value is an ASCII hexadecimal digit:

+
    +
  • U+0030 ‘0’ ..= U+0039 ‘9’, or
  • +
  • U+0041 ‘A’ ..= U+0046 ‘F’, or
  • +
  • U+0061 ‘a’ ..= U+0066 ‘f’.
  • +
+
§Examples
+
let uppercase_a = b'A';
+let uppercase_g = b'G';
+let a = b'a';
+let g = b'g';
+let zero = b'0';
+let percent = b'%';
+let space = b' ';
+let lf = b'\n';
+let esc = b'\x1b';
+
+assert!(uppercase_a.is_ascii_hexdigit());
+assert!(!uppercase_g.is_ascii_hexdigit());
+assert!(a.is_ascii_hexdigit());
+assert!(!g.is_ascii_hexdigit());
+assert!(zero.is_ascii_hexdigit());
+assert!(!percent.is_ascii_hexdigit());
+assert!(!space.is_ascii_hexdigit());
+assert!(!lf.is_ascii_hexdigit());
+assert!(!esc.is_ascii_hexdigit());
+
1.24.0 · source

pub fn is_ascii_punctuation(&self) -> bool

Checks if the value is an ASCII punctuation character:

+
    +
  • U+0021 ..= U+002F ! " # $ % & ' ( ) * + , - . /, or
  • +
  • U+003A ..= U+0040 : ; < = > ? @, or
  • +
  • U+005B ..= U+0060 [ \ ] ^ _ `, or
  • +
  • U+007B ..= U+007E { | } ~
  • +
+
§Examples
+
let uppercase_a = b'A';
+let uppercase_g = b'G';
+let a = b'a';
+let g = b'g';
+let zero = b'0';
+let percent = b'%';
+let space = b' ';
+let lf = b'\n';
+let esc = b'\x1b';
+
+assert!(!uppercase_a.is_ascii_punctuation());
+assert!(!uppercase_g.is_ascii_punctuation());
+assert!(!a.is_ascii_punctuation());
+assert!(!g.is_ascii_punctuation());
+assert!(!zero.is_ascii_punctuation());
+assert!(percent.is_ascii_punctuation());
+assert!(!space.is_ascii_punctuation());
+assert!(!lf.is_ascii_punctuation());
+assert!(!esc.is_ascii_punctuation());
+
1.24.0 · source

pub fn is_ascii_graphic(&self) -> bool

Checks if the value is an ASCII graphic character: +U+0021 ‘!’ ..= U+007E ‘~’.

+
§Examples
+
let uppercase_a = b'A';
+let uppercase_g = b'G';
+let a = b'a';
+let g = b'g';
+let zero = b'0';
+let percent = b'%';
+let space = b' ';
+let lf = b'\n';
+let esc = b'\x1b';
+
+assert!(uppercase_a.is_ascii_graphic());
+assert!(uppercase_g.is_ascii_graphic());
+assert!(a.is_ascii_graphic());
+assert!(g.is_ascii_graphic());
+assert!(zero.is_ascii_graphic());
+assert!(percent.is_ascii_graphic());
+assert!(!space.is_ascii_graphic());
+assert!(!lf.is_ascii_graphic());
+assert!(!esc.is_ascii_graphic());
+
1.24.0 · source

pub fn is_ascii_whitespace(&self) -> bool

Checks if the value is an ASCII whitespace character: +U+0020 SPACE, U+0009 HORIZONTAL TAB, U+000A LINE FEED, +U+000C FORM FEED, or U+000D CARRIAGE RETURN.

+

Rust uses the WhatWG Infra Standard’s definition of ASCII +whitespace. There are several other definitions in +wide use. For instance, the POSIX locale includes +U+000B VERTICAL TAB as well as all the above characters, +but—from the very same specification—the default rule for +“field splitting” in the Bourne shell considers only +SPACE, HORIZONTAL TAB, and LINE FEED as whitespace.

+

If you are writing a program that will process an existing +file format, check what that format’s definition of whitespace is +before using this function.

+
§Examples
+
let uppercase_a = b'A';
+let uppercase_g = b'G';
+let a = b'a';
+let g = b'g';
+let zero = b'0';
+let percent = b'%';
+let space = b' ';
+let lf = b'\n';
+let esc = b'\x1b';
+
+assert!(!uppercase_a.is_ascii_whitespace());
+assert!(!uppercase_g.is_ascii_whitespace());
+assert!(!a.is_ascii_whitespace());
+assert!(!g.is_ascii_whitespace());
+assert!(!zero.is_ascii_whitespace());
+assert!(!percent.is_ascii_whitespace());
+assert!(space.is_ascii_whitespace());
+assert!(lf.is_ascii_whitespace());
+assert!(!esc.is_ascii_whitespace());
+
1.24.0 · source

pub fn is_ascii_control(&self) -> bool

Checks if the value is an ASCII control character: +U+0000 NUL ..= U+001F UNIT SEPARATOR, or U+007F DELETE. +Note that most ASCII whitespace characters are control +characters, but SPACE is not.

+
§Examples
+
let uppercase_a = b'A';
+let uppercase_g = b'G';
+let a = b'a';
+let g = b'g';
+let zero = b'0';
+let percent = b'%';
+let space = b' ';
+let lf = b'\n';
+let esc = b'\x1b';
+
+assert!(!uppercase_a.is_ascii_control());
+assert!(!uppercase_g.is_ascii_control());
+assert!(!a.is_ascii_control());
+assert!(!g.is_ascii_control());
+assert!(!zero.is_ascii_control());
+assert!(!percent.is_ascii_control());
+assert!(!space.is_ascii_control());
+assert!(lf.is_ascii_control());
+assert!(esc.is_ascii_control());
+

Trait Implementations§

source§

impl Archive for TabSize
where + u8: Archive,

source§

type Archived = ArchivedTabSize

The archived representation of this type. Read more
source§

type Resolver = TabSizeResolver

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
source§

impl Clone for TabSize

source§

fn clone(&self) -> TabSize

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for TabSize

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for TabSize

source§

fn default() -> Self

Returns the “default value” for a type. Read more
source§

impl Deref for TabSize

source§

type Target = u8

The resulting type after dereferencing.
source§

fn deref(&self) -> &u8

Dereferences the value.
source§

impl DerefMut for TabSize

source§

fn deref_mut(&mut self) -> &mut u8

Mutably dereferences the value.
source§

impl<'de> Deserialize<'de> for TabSize

source§

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<__D: Fallible + ?Sized> Deserialize<TabSize, __D> for Archived<TabSize>
where + u8: Archive, + <u8 as Archive>::Archived: Deserialize<u8, __D>,

source§

fn deserialize( + &self, + deserializer: &mut __D, +) -> Result<TabSize, <__D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl PartialEq for TabSize

source§

fn eq(&self, other: &TabSize) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl PartialOrd for TabSize

source§

fn partial_cmp(&self, other: &TabSize) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the +<= operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > +operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by +the >= operator. Read more
source§

impl<__S: Fallible + ?Sized> Serialize<__S> for TabSize
where + u8: Serialize<__S>,

source§

fn serialize( + &self, + serializer: &mut __S, +) -> Result<<Self as Archive>::Resolver, <__S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.
source§

impl Serialize for TabSize

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Copy for TabSize

source§

impl StructuralPartialEq for TabSize

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where + T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T> ToOwned for T
where + T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
source§

impl<T> CommandBody for T
where + T: Send + Serialize + Archive,

source§

impl<T> CommandResult for T
where + T: Send + DeserializeOwned + Serialize + Archive,

source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/user/preferences/struct.TabSizeResolver.html b/client_sdk/models/user/preferences/struct.TabSizeResolver.html new file mode 100644 index 000000000..2a35cbe4c --- /dev/null +++ b/client_sdk/models/user/preferences/struct.TabSizeResolver.html @@ -0,0 +1,23 @@ +TabSizeResolver in client_sdk::models::user::preferences - Rust

Struct client_sdk::models::user::preferences::TabSizeResolver

source ·
pub struct TabSizeResolver(/* private fields */)
+where
+    u8: Archive;
Expand description

The resolver for an archived TabSize

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/user/preferences/struct.Temperature.html b/client_sdk/models/user/preferences/struct.Temperature.html new file mode 100644 index 000000000..4d380ad8f --- /dev/null +++ b/client_sdk/models/user/preferences/struct.Temperature.html @@ -0,0 +1,55 @@ +Temperature in client_sdk::models::user::preferences - Rust

Struct client_sdk::models::user::preferences::Temperature

source ·
#[repr(transparent)]
pub struct Temperature(pub u16);

Tuple Fields§

§0: u16

Methods from Deref<Target = u16>§

1.43.0 · source

pub const MIN: u16 = 0u16

1.43.0 · source

pub const MAX: u16 = 65_535u16

1.53.0 · source

pub const BITS: u32 = 16u32

Trait Implementations§

source§

impl Archive for Temperature
where + u16: Archive,

source§

type Archived = ArchivedTemperature

The archived representation of this type. Read more
source§

type Resolver = TemperatureResolver

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
source§

impl Clone for Temperature

source§

fn clone(&self) -> Temperature

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Temperature

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for Temperature

source§

fn default() -> Self

Returns the “default value” for a type. Read more
source§

impl Deref for Temperature

source§

type Target = u16

The resulting type after dereferencing.
source§

fn deref(&self) -> &u16

Dereferences the value.
source§

impl DerefMut for Temperature

source§

fn deref_mut(&mut self) -> &mut u16

Mutably dereferences the value.
source§

impl<'de> Deserialize<'de> for Temperature

source§

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<__D: Fallible + ?Sized> Deserialize<Temperature, __D> for Archived<Temperature>
where + u16: Archive, + <u16 as Archive>::Archived: Deserialize<u16, __D>,

source§

fn deserialize( + &self, + deserializer: &mut __D, +) -> Result<Temperature, <__D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl PartialEq for Temperature

source§

fn eq(&self, other: &Temperature) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl PartialOrd for Temperature

source§

fn partial_cmp(&self, other: &Temperature) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the +<= operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > +operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by +the >= operator. Read more
source§

impl<__S: Fallible + ?Sized> Serialize<__S> for Temperature
where + u16: Serialize<__S>,

source§

fn serialize( + &self, + serializer: &mut __S, +) -> Result<<Self as Archive>::Resolver, <__S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.
source§

impl Serialize for Temperature

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Copy for Temperature

source§

impl StructuralPartialEq for Temperature

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where + T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T> ToOwned for T
where + T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
source§

impl<T> CommandBody for T
where + T: Send + Serialize + Archive,

source§

impl<T> CommandResult for T
where + T: Send + DeserializeOwned + Serialize + Archive,

source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/user/preferences/struct.TemperatureResolver.html b/client_sdk/models/user/preferences/struct.TemperatureResolver.html new file mode 100644 index 000000000..92497cdd4 --- /dev/null +++ b/client_sdk/models/user/preferences/struct.TemperatureResolver.html @@ -0,0 +1,23 @@ +TemperatureResolver in client_sdk::models::user::preferences - Rust

Struct client_sdk::models::user::preferences::TemperatureResolver

source ·
pub struct TemperatureResolver(/* private fields */)
+where
+    u16: Archive;
Expand description

The resolver for an archived Temperature

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/user/prefs/font_impl/enum.Font.html b/client_sdk/models/user/prefs/font_impl/enum.Font.html new file mode 100644 index 000000000..e6b9ed1d5 --- /dev/null +++ b/client_sdk/models/user/prefs/font_impl/enum.Font.html @@ -0,0 +1,11 @@ + + + + + Redirection + + +

Redirecting to ../../../../../client_sdk/models/user/enum.Font.html...

+ + + \ No newline at end of file diff --git a/client_sdk/models/user/prefs/font_impl/struct.ArchivedFont.html b/client_sdk/models/user/prefs/font_impl/struct.ArchivedFont.html new file mode 100644 index 000000000..84b818c0d --- /dev/null +++ b/client_sdk/models/user/prefs/font_impl/struct.ArchivedFont.html @@ -0,0 +1,11 @@ + + + + + Redirection + + +

Redirecting to ../../../../../client_sdk/models/user/struct.ArchivedFont.html...

+ + + \ No newline at end of file diff --git a/client_sdk/models/user/prefs/friend_addability_impl/enum.FriendAddability.html b/client_sdk/models/user/prefs/friend_addability_impl/enum.FriendAddability.html new file mode 100644 index 000000000..7e9e84f5c --- /dev/null +++ b/client_sdk/models/user/prefs/friend_addability_impl/enum.FriendAddability.html @@ -0,0 +1,11 @@ + + + + + Redirection + + +

Redirecting to ../../../../../client_sdk/models/user/enum.FriendAddability.html...

+ + + \ No newline at end of file diff --git a/client_sdk/models/user/prefs/friend_addability_impl/struct.ArchivedFriendAddability.html b/client_sdk/models/user/prefs/friend_addability_impl/struct.ArchivedFriendAddability.html new file mode 100644 index 000000000..6dbcaaa7f --- /dev/null +++ b/client_sdk/models/user/prefs/friend_addability_impl/struct.ArchivedFriendAddability.html @@ -0,0 +1,11 @@ + + + + + Redirection + + +

Redirecting to ../../../../../client_sdk/models/user/struct.ArchivedFriendAddability.html...

+ + + \ No newline at end of file diff --git a/client_sdk/models/user/prefs/locale_impl/enum.Locale.html b/client_sdk/models/user/prefs/locale_impl/enum.Locale.html new file mode 100644 index 000000000..0965147c7 --- /dev/null +++ b/client_sdk/models/user/prefs/locale_impl/enum.Locale.html @@ -0,0 +1,11 @@ + + + + + Redirection + + +

Redirecting to ../../../../../client_sdk/models/user/enum.Locale.html...

+ + + \ No newline at end of file diff --git a/client_sdk/models/user/prefs/locale_impl/struct.ArchivedLocale.html b/client_sdk/models/user/prefs/locale_impl/struct.ArchivedLocale.html new file mode 100644 index 000000000..28c6cfabe --- /dev/null +++ b/client_sdk/models/user/prefs/locale_impl/struct.ArchivedLocale.html @@ -0,0 +1,11 @@ + + + + + Redirection + + +

Redirecting to ../../../../../client_sdk/models/user/struct.ArchivedLocale.html...

+ + + \ No newline at end of file diff --git a/client_sdk/models/user/prefs/preferences/index.html b/client_sdk/models/user/prefs/preferences/index.html new file mode 100644 index 000000000..ae2b0ca94 --- /dev/null +++ b/client_sdk/models/user/prefs/preferences/index.html @@ -0,0 +1,11 @@ + + + + + Redirection + + +

Redirecting to ../../../../../client_sdk/models/user/preferences/index.html...

+ + + \ No newline at end of file diff --git a/client_sdk/models/user/prefs/preferences/struct.ArchivedFontSize.html b/client_sdk/models/user/prefs/preferences/struct.ArchivedFontSize.html new file mode 100644 index 000000000..eec7c3100 --- /dev/null +++ b/client_sdk/models/user/prefs/preferences/struct.ArchivedFontSize.html @@ -0,0 +1,11 @@ + + + + + Redirection + + +

Redirecting to ../../../../../client_sdk/models/user/preferences/struct.ArchivedFontSize.html...

+ + + \ No newline at end of file diff --git a/client_sdk/models/user/prefs/preferences/struct.ArchivedPadding.html b/client_sdk/models/user/prefs/preferences/struct.ArchivedPadding.html new file mode 100644 index 000000000..6e3de93d5 --- /dev/null +++ b/client_sdk/models/user/prefs/preferences/struct.ArchivedPadding.html @@ -0,0 +1,11 @@ + + + + + Redirection + + +

Redirecting to ../../../../../client_sdk/models/user/preferences/struct.ArchivedPadding.html...

+ + + \ No newline at end of file diff --git a/client_sdk/models/user/prefs/preferences/struct.ArchivedTabSize.html b/client_sdk/models/user/prefs/preferences/struct.ArchivedTabSize.html new file mode 100644 index 000000000..24c5ee0bc --- /dev/null +++ b/client_sdk/models/user/prefs/preferences/struct.ArchivedTabSize.html @@ -0,0 +1,11 @@ + + + + + Redirection + + +

Redirecting to ../../../../../client_sdk/models/user/preferences/struct.ArchivedTabSize.html...

+ + + \ No newline at end of file diff --git a/client_sdk/models/user/prefs/preferences/struct.ArchivedTemperature.html b/client_sdk/models/user/prefs/preferences/struct.ArchivedTemperature.html new file mode 100644 index 000000000..f50c76c79 --- /dev/null +++ b/client_sdk/models/user/prefs/preferences/struct.ArchivedTemperature.html @@ -0,0 +1,11 @@ + + + + + Redirection + + +

Redirecting to ../../../../../client_sdk/models/user/preferences/struct.ArchivedTemperature.html...

+ + + \ No newline at end of file diff --git a/client_sdk/models/user/prefs/preferences/struct.FontSize.html b/client_sdk/models/user/prefs/preferences/struct.FontSize.html new file mode 100644 index 000000000..010278945 --- /dev/null +++ b/client_sdk/models/user/prefs/preferences/struct.FontSize.html @@ -0,0 +1,11 @@ + + + + + Redirection + + +

Redirecting to ../../../../../client_sdk/models/user/preferences/struct.FontSize.html...

+ + + \ No newline at end of file diff --git a/client_sdk/models/user/prefs/preferences/struct.FontSizeResolver.html b/client_sdk/models/user/prefs/preferences/struct.FontSizeResolver.html new file mode 100644 index 000000000..3b2daedab --- /dev/null +++ b/client_sdk/models/user/prefs/preferences/struct.FontSizeResolver.html @@ -0,0 +1,11 @@ + + + + + Redirection + + +

Redirecting to ../../../../../client_sdk/models/user/preferences/struct.FontSizeResolver.html...

+ + + \ No newline at end of file diff --git a/client_sdk/models/user/prefs/preferences/struct.Padding.html b/client_sdk/models/user/prefs/preferences/struct.Padding.html new file mode 100644 index 000000000..d64155aa9 --- /dev/null +++ b/client_sdk/models/user/prefs/preferences/struct.Padding.html @@ -0,0 +1,11 @@ + + + + + Redirection + + +

Redirecting to ../../../../../client_sdk/models/user/preferences/struct.Padding.html...

+ + + \ No newline at end of file diff --git a/client_sdk/models/user/prefs/preferences/struct.PaddingResolver.html b/client_sdk/models/user/prefs/preferences/struct.PaddingResolver.html new file mode 100644 index 000000000..13af0096b --- /dev/null +++ b/client_sdk/models/user/prefs/preferences/struct.PaddingResolver.html @@ -0,0 +1,11 @@ + + + + + Redirection + + +

Redirecting to ../../../../../client_sdk/models/user/preferences/struct.PaddingResolver.html...

+ + + \ No newline at end of file diff --git a/client_sdk/models/user/prefs/preferences/struct.TabSize.html b/client_sdk/models/user/prefs/preferences/struct.TabSize.html new file mode 100644 index 000000000..d78814b42 --- /dev/null +++ b/client_sdk/models/user/prefs/preferences/struct.TabSize.html @@ -0,0 +1,11 @@ + + + + + Redirection + + +

Redirecting to ../../../../../client_sdk/models/user/preferences/struct.TabSize.html...

+ + + \ No newline at end of file diff --git a/client_sdk/models/user/prefs/preferences/struct.TabSizeResolver.html b/client_sdk/models/user/prefs/preferences/struct.TabSizeResolver.html new file mode 100644 index 000000000..2fea608b6 --- /dev/null +++ b/client_sdk/models/user/prefs/preferences/struct.TabSizeResolver.html @@ -0,0 +1,11 @@ + + + + + Redirection + + +

Redirecting to ../../../../../client_sdk/models/user/preferences/struct.TabSizeResolver.html...

+ + + \ No newline at end of file diff --git a/client_sdk/models/user/prefs/preferences/struct.Temperature.html b/client_sdk/models/user/prefs/preferences/struct.Temperature.html new file mode 100644 index 000000000..5e024a4e1 --- /dev/null +++ b/client_sdk/models/user/prefs/preferences/struct.Temperature.html @@ -0,0 +1,11 @@ + + + + + Redirection + + +

Redirecting to ../../../../../client_sdk/models/user/preferences/struct.Temperature.html...

+ + + \ No newline at end of file diff --git a/client_sdk/models/user/prefs/preferences/struct.TemperatureResolver.html b/client_sdk/models/user/prefs/preferences/struct.TemperatureResolver.html new file mode 100644 index 000000000..1a2fba5a0 --- /dev/null +++ b/client_sdk/models/user/prefs/preferences/struct.TemperatureResolver.html @@ -0,0 +1,11 @@ + + + + + Redirection + + +

Redirecting to ../../../../../client_sdk/models/user/preferences/struct.TemperatureResolver.html...

+ + + \ No newline at end of file diff --git a/client_sdk/models/user/prefs/struct.ArchivedUserPreferences.html b/client_sdk/models/user/prefs/struct.ArchivedUserPreferences.html new file mode 100644 index 000000000..f9eec4c4b --- /dev/null +++ b/client_sdk/models/user/prefs/struct.ArchivedUserPreferences.html @@ -0,0 +1,11 @@ + + + + + Redirection + + +

Redirecting to ../../../../client_sdk/models/user/struct.ArchivedUserPreferences.html...

+ + + \ No newline at end of file diff --git a/client_sdk/models/user/prefs/struct.ArchivedUserPrefsFlags.html b/client_sdk/models/user/prefs/struct.ArchivedUserPrefsFlags.html new file mode 100644 index 000000000..1df9b5f3b --- /dev/null +++ b/client_sdk/models/user/prefs/struct.ArchivedUserPrefsFlags.html @@ -0,0 +1,11 @@ + + + + + Redirection + + +

Redirecting to ../../../../client_sdk/models/user/struct.ArchivedUserPrefsFlags.html...

+ + + \ No newline at end of file diff --git a/client_sdk/models/user/prefs/struct.UserPreferences.html b/client_sdk/models/user/prefs/struct.UserPreferences.html new file mode 100644 index 000000000..0378707ef --- /dev/null +++ b/client_sdk/models/user/prefs/struct.UserPreferences.html @@ -0,0 +1,11 @@ + + + + + Redirection + + +

Redirecting to ../../../../client_sdk/models/user/struct.UserPreferences.html...

+ + + \ No newline at end of file diff --git a/client_sdk/models/user/prefs/struct.UserPreferencesResolver.html b/client_sdk/models/user/prefs/struct.UserPreferencesResolver.html new file mode 100644 index 000000000..cdffd29a2 --- /dev/null +++ b/client_sdk/models/user/prefs/struct.UserPreferencesResolver.html @@ -0,0 +1,11 @@ + + + + + Redirection + + +

Redirecting to ../../../../client_sdk/models/user/struct.UserPreferencesResolver.html...

+ + + \ No newline at end of file diff --git a/client_sdk/models/user/prefs/struct.UserPrefsFlags.html b/client_sdk/models/user/prefs/struct.UserPrefsFlags.html new file mode 100644 index 000000000..fb5939f39 --- /dev/null +++ b/client_sdk/models/user/prefs/struct.UserPrefsFlags.html @@ -0,0 +1,11 @@ + + + + + Redirection + + +

Redirecting to ../../../../client_sdk/models/user/struct.UserPrefsFlags.html...

+ + + \ No newline at end of file diff --git a/client_sdk/models/user/sidebar-items.js b/client_sdk/models/user/sidebar-items.js new file mode 100644 index 000000000..77dd4beca --- /dev/null +++ b/client_sdk/models/user/sidebar-items.js @@ -0,0 +1 @@ +window.SIDEBAR_ITEMS = {"enum":["ElevationLevel","Font","FriendAddability","Locale","UserRelationship"],"mod":["preferences"],"struct":["ArchivedExtraUserProfileBits","ArchivedFont","ArchivedFriendAddability","ArchivedLocale","ArchivedRelationship","ArchivedUser","ArchivedUserFlags","ArchivedUserPreferences","ArchivedUserPrefsFlags","ArchivedUserProfile","ArchivedUserProfileBits","ArchivedUserRelationship","ExtraUserProfileBits","Relationship","RelationshipResolver","User","UserFlags","UserPreferences","UserPreferencesResolver","UserPrefsFlags","UserProfile","UserProfileBits","UserProfileResolver","UserResolver"]}; \ No newline at end of file diff --git a/client_sdk/models/user/struct.ArchivedExtraUserProfileBits.html b/client_sdk/models/user/struct.ArchivedExtraUserProfileBits.html new file mode 100644 index 000000000..40d49797f --- /dev/null +++ b/client_sdk/models/user/struct.ArchivedExtraUserProfileBits.html @@ -0,0 +1,71 @@ +ArchivedExtraUserProfileBits in client_sdk::models::user - Rust

Struct client_sdk::models::user::ArchivedExtraUserProfileBits

source ·
#[repr(transparent)]
pub struct ArchivedExtraUserProfileBits(pub Archived<i32>);
Expand description

Archived version of ExtraUserProfileBits, automatically made endian-agnostic. +When comparing with the native bitflags, the archived bitflags will truncate any extra bits.

+

Tuple Fields§

§0: Archived<i32>

Implementations§

source§

impl ArchivedExtraUserProfileBits

source

pub const fn to_native(&self) -> Option<ExtraUserProfileBits>

Converts this archived bitflags to the native bitflags type, returning None if any +bits are set that are not part of the bitflags.

+

See ExtraUserProfileBits::from_bits for more information.

+
source

pub const fn to_native_truncate(&self) -> ExtraUserProfileBits

Converts this archived bitflags to the native bitflags type, truncating any extra bits.

+

See ExtraUserProfileBits::from_bits_truncate for more information.

+
source

pub const fn to_native_retain(&self) -> ExtraUserProfileBits

Converts this archived bitflags to the native bitflags type, retaining all bits, even +if they are not part of the bitflags.

+

See ExtraUserProfileBits::from_bits_retain for more information.

+
source

pub const fn from_native(native: ExtraUserProfileBits) -> Self

Converts the native bitflags type to an archived bitflags.

+
source

pub const fn contains(&self, other: ExtraUserProfileBits) -> bool

Check if the archived bitflags contains all the given bitflags.

+

See ExtraUserProfileBits::contains for more information.

+
source

pub const fn intersects(&self, other: ExtraUserProfileBits) -> bool

Check if the archived bitflags intersect with any of the given bitflags.

+

See ExtraUserProfileBits::intersects for more information.

+
source

pub const fn is_empty(&self) -> bool

Whether all bits in this flags value are unset.

+
source

pub const fn is_all(&self) -> bool

Whether all known bits in this flags value are set.

+
source

pub const fn bits(&self) -> i32

Get the underlying raw bits value.

+

Note that this may contain bits that are not part of the original bitflags, +if serialized with a different version of the bitflags. Use to_native or +to_native_truncate to convert to the native bitflags type +without extra bits.

+

Trait Implementations§

source§

impl<C> CheckBytes<C> for ArchivedExtraUserProfileBits
where + C: Fallible + ?Sized, + <C as Fallible>::Error: Source,

source§

unsafe fn check_bytes( + value: *const Self, + ctx: &mut C, +) -> Result<(), <C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Clone for ArchivedExtraUserProfileBits

source§

fn clone(&self) -> ArchivedExtraUserProfileBits

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ArchivedExtraUserProfileBits

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<D: Fallible + ?Sized> Deserialize<ExtraUserProfileBits, D> for ArchivedExtraUserProfileBits

source§

fn deserialize(&self, _: &mut D) -> Result<ExtraUserProfileBits, D::Error>

Deserializes using the given deserializer
source§

impl From<ArchivedExtraUserProfileBits> for ExtraUserProfileBits

source§

fn from(archived: ArchivedExtraUserProfileBits) -> Self

Converts to this type from the input type.
source§

impl PartialEq<ArchivedExtraUserProfileBits> for ExtraUserProfileBits

source§

fn eq(&self, other: &ArchivedExtraUserProfileBits) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl PartialEq<ExtraUserProfileBits> for ArchivedExtraUserProfileBits

source§

fn eq(&self, other: &ExtraUserProfileBits) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl PartialEq for ArchivedExtraUserProfileBits

source§

fn eq(&self, other: &ArchivedExtraUserProfileBits) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl ToSql for ArchivedExtraUserProfileBits

source§

fn to_sql( + &self, + ty: &Type, + out: &mut BytesMut, +) -> Result<IsNull, Box<dyn Error + Sync + Send>>
where + Self: Sized,

Converts the value of self into the binary format of the specified +Postgres Type, appending it to out. Read more
source§

fn accepts(ty: &Type) -> bool

Determines if a value of this type can be converted to the specified +Postgres Type.
source§

fn to_sql_checked( + &self, + ty: &Type, + out: &mut BytesMut, +) -> Result<IsNull, Box<dyn Error + Sync + Send>>

An adaptor method used internally by Rust-Postgres. Read more
§

fn encode_format(&self, _ty: &Type) -> Format

Specify the encode format
source§

impl Copy for ArchivedExtraUserProfileBits

source§

impl Eq for ArchivedExtraUserProfileBits

source§

impl NoUndef for ArchivedExtraUserProfileBits

source§

impl Portable for ArchivedExtraUserProfileBits

source§

impl StructuralPartialEq for ArchivedExtraUserProfileBits

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> BorrowToSql for T
where + T: ToSql,

§

fn borrow_to_sql(&self) -> &dyn ToSql

Returns a reference to self as a ToSql trait object.
source§

impl<T> CloneToUninit for T
where + T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where + T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/user/struct.ArchivedFont.html b/client_sdk/models/user/struct.ArchivedFont.html new file mode 100644 index 000000000..38fd17b6f --- /dev/null +++ b/client_sdk/models/user/struct.ArchivedFont.html @@ -0,0 +1,45 @@ +ArchivedFont in client_sdk::models::user - Rust

Struct client_sdk::models::user::ArchivedFont

source ·
pub struct ArchivedFont(/* private fields */);

Implementations§

source§

impl ArchivedFont

source

pub const fn get(&self) -> Font

Trait Implementations§

source§

impl<C> CheckBytes<C> for ArchivedFont
where + C: Fallible + ?Sized, + <C as Fallible>::Error: Source,

source§

unsafe fn check_bytes( + value: *const Self, + _: &mut C, +) -> Result<(), <C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Clone for ArchivedFont

source§

fn clone(&self) -> ArchivedFont

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ArchivedFont

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<D: Fallible + ?Sized> Deserialize<Font, D> for ArchivedFont

source§

fn deserialize(&self, _: &mut D) -> Result<Font, D::Error>

Deserializes using the given deserializer
source§

impl Hash for ArchivedFont

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where + H: Hasher, + Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl Ord for ArchivedFont

source§

fn cmp(&self, other: &ArchivedFont) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Self
where + Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Self
where + Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · source§

fn clamp(self, min: Self, max: Self) -> Self
where + Self: Sized + PartialOrd,

Restrict a value to a certain interval. Read more
source§

impl PartialEq for ArchivedFont

source§

fn eq(&self, other: &ArchivedFont) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl PartialOrd for ArchivedFont

source§

fn partial_cmp(&self, other: &ArchivedFont) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the +<= operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > +operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by +the >= operator. Read more
source§

impl Copy for ArchivedFont

source§

impl Eq for ArchivedFont

source§

impl NoUndef for ArchivedFont

source§

impl Portable for ArchivedFont

source§

impl StructuralPartialEq for ArchivedFont

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where + T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
§

impl<Q, K> Comparable<K> for Q
where + Q: Ord + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn compare(&self, key: &K) -> Ordering

Compare self to key and return their ordering.
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where + T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/user/struct.ArchivedFriendAddability.html b/client_sdk/models/user/struct.ArchivedFriendAddability.html new file mode 100644 index 000000000..31cfecaab --- /dev/null +++ b/client_sdk/models/user/struct.ArchivedFriendAddability.html @@ -0,0 +1,45 @@ +ArchivedFriendAddability in client_sdk::models::user - Rust

Struct client_sdk::models::user::ArchivedFriendAddability

source ·
pub struct ArchivedFriendAddability(/* private fields */);

Implementations§

Trait Implementations§

source§

impl<C> CheckBytes<C> for ArchivedFriendAddability
where + C: Fallible + ?Sized, + <C as Fallible>::Error: Source,

source§

unsafe fn check_bytes( + value: *const Self, + _: &mut C, +) -> Result<(), <C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Clone for ArchivedFriendAddability

source§

fn clone(&self) -> ArchivedFriendAddability

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ArchivedFriendAddability

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<D: Fallible + ?Sized> Deserialize<FriendAddability, D> for ArchivedFriendAddability

source§

fn deserialize(&self, _: &mut D) -> Result<FriendAddability, D::Error>

Deserializes using the given deserializer
source§

impl Hash for ArchivedFriendAddability

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where + H: Hasher, + Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl Ord for ArchivedFriendAddability

source§

fn cmp(&self, other: &ArchivedFriendAddability) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Self
where + Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Self
where + Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · source§

fn clamp(self, min: Self, max: Self) -> Self
where + Self: Sized + PartialOrd,

Restrict a value to a certain interval. Read more
source§

impl PartialEq for ArchivedFriendAddability

source§

fn eq(&self, other: &ArchivedFriendAddability) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl PartialOrd for ArchivedFriendAddability

source§

fn partial_cmp(&self, other: &ArchivedFriendAddability) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the +<= operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > +operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by +the >= operator. Read more
source§

impl Copy for ArchivedFriendAddability

source§

impl Eq for ArchivedFriendAddability

source§

impl NoUndef for ArchivedFriendAddability

source§

impl Portable for ArchivedFriendAddability

source§

impl StructuralPartialEq for ArchivedFriendAddability

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where + T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
§

impl<Q, K> Comparable<K> for Q
where + Q: Ord + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn compare(&self, key: &K) -> Ordering

Compare self to key and return their ordering.
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where + T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/user/struct.ArchivedLocale.html b/client_sdk/models/user/struct.ArchivedLocale.html new file mode 100644 index 000000000..585e4e7b6 --- /dev/null +++ b/client_sdk/models/user/struct.ArchivedLocale.html @@ -0,0 +1,45 @@ +ArchivedLocale in client_sdk::models::user - Rust

Struct client_sdk::models::user::ArchivedLocale

source ·
pub struct ArchivedLocale(/* private fields */);

Implementations§

source§

impl ArchivedLocale

source

pub const fn get(&self) -> Locale

Trait Implementations§

source§

impl<C> CheckBytes<C> for ArchivedLocale
where + C: Fallible + ?Sized, + <C as Fallible>::Error: Source,

source§

unsafe fn check_bytes( + value: *const Self, + _: &mut C, +) -> Result<(), <C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Clone for ArchivedLocale

source§

fn clone(&self) -> ArchivedLocale

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ArchivedLocale

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<D: Fallible + ?Sized> Deserialize<Locale, D> for ArchivedLocale

source§

fn deserialize(&self, _: &mut D) -> Result<Locale, D::Error>

Deserializes using the given deserializer
source§

impl Hash for ArchivedLocale

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where + H: Hasher, + Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl Ord for ArchivedLocale

source§

fn cmp(&self, other: &ArchivedLocale) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Self
where + Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Self
where + Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · source§

fn clamp(self, min: Self, max: Self) -> Self
where + Self: Sized + PartialOrd,

Restrict a value to a certain interval. Read more
source§

impl PartialEq for ArchivedLocale

source§

fn eq(&self, other: &ArchivedLocale) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl PartialOrd for ArchivedLocale

source§

fn partial_cmp(&self, other: &ArchivedLocale) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the +<= operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > +operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by +the >= operator. Read more
source§

impl Copy for ArchivedLocale

source§

impl Eq for ArchivedLocale

source§

impl NoUndef for ArchivedLocale

source§

impl Portable for ArchivedLocale

source§

impl StructuralPartialEq for ArchivedLocale

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where + T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
§

impl<Q, K> Comparable<K> for Q
where + Q: Ord + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn compare(&self, key: &K) -> Ordering

Compare self to key and return their ordering.
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where + T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/user/struct.ArchivedRelationship.html b/client_sdk/models/user/struct.ArchivedRelationship.html new file mode 100644 index 000000000..06d009ef0 --- /dev/null +++ b/client_sdk/models/user/struct.ArchivedRelationship.html @@ -0,0 +1,57 @@ +ArchivedRelationship in client_sdk::models::user - Rust

Struct client_sdk::models::user::ArchivedRelationship

source ·
#[repr(C)]
pub struct ArchivedRelationship
where + Option<SmolStr>: Archive, + User: Archive, + Timestamp: Archive, + UserRelationship: Archive, + bool: Archive,
{ + pub note: <Option<SmolStr> as Archive>::Archived, + pub user: <User as Archive>::Archived, + pub since: <Timestamp as Archive>::Archived, + pub rel: <UserRelationship as Archive>::Archived, + pub pending: <bool as Archive>::Archived, +}
Expand description

An archived Relationship

+

Fields§

§note: <Option<SmolStr> as Archive>::Archived§user: <User as Archive>::Archived§since: <Timestamp as Archive>::Archived§rel: <UserRelationship as Archive>::Archived§pending: <bool as Archive>::Archived

Trait Implementations§

source§

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedRelationship
where + Option<SmolStr>: Archive, + User: Archive, + Timestamp: Archive, + UserRelationship: Archive, + bool: Archive, + <__C as Fallible>::Error: Trace, + <Option<SmolStr> as Archive>::Archived: CheckBytes<__C>, + <User as Archive>::Archived: CheckBytes<__C>, + <Timestamp as Archive>::Archived: CheckBytes<__C>, + <UserRelationship as Archive>::Archived: CheckBytes<__C>, + <bool as Archive>::Archived: CheckBytes<__C>,

source§

unsafe fn check_bytes( + value: *const Self, + context: &mut __C, +) -> Result<(), <__C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Portable for ArchivedRelationship
where + Option<SmolStr>: Archive, + User: Archive, + Timestamp: Archive, + UserRelationship: Archive, + bool: Archive, + <Option<SmolStr> as Archive>::Archived: Portable, + <User as Archive>::Archived: Portable, + <Timestamp as Archive>::Archived: Portable, + <UserRelationship as Archive>::Archived: Portable, + <bool as Archive>::Archived: Portable,

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/user/struct.ArchivedUser.html b/client_sdk/models/user/struct.ArchivedUser.html new file mode 100644 index 000000000..eec35df3b --- /dev/null +++ b/client_sdk/models/user/struct.ArchivedUser.html @@ -0,0 +1,75 @@ +ArchivedUser in client_sdk::models::user - Rust

Struct client_sdk::models::user::ArchivedUser

source ·
#[repr(C)]
pub struct ArchivedUser
where + UserId: Archive, + SmolStr: Archive, + i32: Archive, + UserFlags: Archive, + Nullable<Arc<UserProfile>>: Archive, + Option<SmolStr>: Archive, + Option<UserPreferences>: Archive, + Option<UserPresence>: Archive,
{ + pub id: <UserId as Archive>::Archived, + pub username: <SmolStr as Archive>::Archived, + pub discriminator: <i32 as Archive>::Archived, + pub flags: <UserFlags as Archive>::Archived, + pub profile: <Nullable<Arc<UserProfile>> as Archive>::Archived, + pub email: <Option<SmolStr> as Archive>::Archived, + pub preferences: <Option<UserPreferences> as Archive>::Archived, + pub presence: <Option<UserPresence> as Archive>::Archived, +}
Expand description

An archived User

+

Fields§

§id: <UserId as Archive>::Archived§username: <SmolStr as Archive>::Archived§discriminator: <i32 as Archive>::Archived§flags: <UserFlags as Archive>::Archived§profile: <Nullable<Arc<UserProfile>> as Archive>::Archived§email: <Option<SmolStr> as Archive>::Archived§preferences: <Option<UserPreferences> as Archive>::Archived§presence: <Option<UserPresence> as Archive>::Archived

Trait Implementations§

source§

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedUser
where + UserId: Archive, + SmolStr: Archive, + i32: Archive, + UserFlags: Archive, + Nullable<Arc<UserProfile>>: Archive, + Option<SmolStr>: Archive, + Option<UserPreferences>: Archive, + Option<UserPresence>: Archive, + <__C as Fallible>::Error: Trace, + <UserId as Archive>::Archived: CheckBytes<__C>, + <SmolStr as Archive>::Archived: CheckBytes<__C>, + <i32 as Archive>::Archived: CheckBytes<__C>, + <UserFlags as Archive>::Archived: CheckBytes<__C>, + <Nullable<Arc<UserProfile>> as Archive>::Archived: CheckBytes<__C>, + <Option<SmolStr> as Archive>::Archived: CheckBytes<__C>, + <Option<UserPreferences> as Archive>::Archived: CheckBytes<__C>, + <Option<UserPresence> as Archive>::Archived: CheckBytes<__C>,

source§

unsafe fn check_bytes( + value: *const Self, + context: &mut __C, +) -> Result<(), <__C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Portable for ArchivedUser
where + UserId: Archive, + SmolStr: Archive, + i32: Archive, + UserFlags: Archive, + Nullable<Arc<UserProfile>>: Archive, + Option<SmolStr>: Archive, + Option<UserPreferences>: Archive, + Option<UserPresence>: Archive, + <UserId as Archive>::Archived: Portable, + <SmolStr as Archive>::Archived: Portable, + <i32 as Archive>::Archived: Portable, + <UserFlags as Archive>::Archived: Portable, + <Nullable<Arc<UserProfile>> as Archive>::Archived: Portable, + <Option<SmolStr> as Archive>::Archived: Portable, + <Option<UserPreferences> as Archive>::Archived: Portable, + <Option<UserPresence> as Archive>::Archived: Portable,

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/user/struct.ArchivedUserFlags.html b/client_sdk/models/user/struct.ArchivedUserFlags.html new file mode 100644 index 000000000..b87405b27 --- /dev/null +++ b/client_sdk/models/user/struct.ArchivedUserFlags.html @@ -0,0 +1,59 @@ +ArchivedUserFlags in client_sdk::models::user - Rust

Struct client_sdk::models::user::ArchivedUserFlags

source ·
#[repr(transparent)]
pub struct ArchivedUserFlags(pub Archived<i32>);
Expand description

Archived version of UserFlags, automatically made endian-agnostic. +When comparing with the native bitflags, the archived bitflags will truncate any extra bits.

+

Tuple Fields§

§0: Archived<i32>

Implementations§

source§

impl ArchivedUserFlags

source

pub const fn to_native(&self) -> Option<UserFlags>

Converts this archived bitflags to the native bitflags type, returning None if any +bits are set that are not part of the bitflags.

+

See UserFlags::from_bits for more information.

+
source

pub const fn to_native_truncate(&self) -> UserFlags

Converts this archived bitflags to the native bitflags type, truncating any extra bits.

+

See UserFlags::from_bits_truncate for more information.

+
source

pub const fn to_native_retain(&self) -> UserFlags

Converts this archived bitflags to the native bitflags type, retaining all bits, even +if they are not part of the bitflags.

+

See UserFlags::from_bits_retain for more information.

+
source

pub const fn from_native(native: UserFlags) -> Self

Converts the native bitflags type to an archived bitflags.

+
source

pub const fn contains(&self, other: UserFlags) -> bool

Check if the archived bitflags contains all the given bitflags.

+

See UserFlags::contains for more information.

+
source

pub const fn intersects(&self, other: UserFlags) -> bool

Check if the archived bitflags intersect with any of the given bitflags.

+

See UserFlags::intersects for more information.

+
source

pub const fn is_empty(&self) -> bool

Whether all bits in this flags value are unset.

+
source

pub const fn is_all(&self) -> bool

Whether all known bits in this flags value are set.

+
source

pub const fn bits(&self) -> i32

Get the underlying raw bits value.

+

Note that this may contain bits that are not part of the original bitflags, +if serialized with a different version of the bitflags. Use to_native or +to_native_truncate to convert to the native bitflags type +without extra bits.

+

Trait Implementations§

source§

impl<C> CheckBytes<C> for ArchivedUserFlags
where + C: Fallible + ?Sized, + <C as Fallible>::Error: Source,

source§

unsafe fn check_bytes( + value: *const Self, + ctx: &mut C, +) -> Result<(), <C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Clone for ArchivedUserFlags

source§

fn clone(&self) -> ArchivedUserFlags

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ArchivedUserFlags

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<D: Fallible + ?Sized> Deserialize<UserFlags, D> for ArchivedUserFlags

source§

fn deserialize(&self, _: &mut D) -> Result<UserFlags, D::Error>

Deserializes using the given deserializer
source§

impl From<ArchivedUserFlags> for UserFlags

source§

fn from(archived: ArchivedUserFlags) -> Self

Converts to this type from the input type.
source§

impl PartialEq<ArchivedUserFlags> for UserFlags

source§

fn eq(&self, other: &ArchivedUserFlags) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl PartialEq<UserFlags> for ArchivedUserFlags

source§

fn eq(&self, other: &UserFlags) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl PartialEq for ArchivedUserFlags

source§

fn eq(&self, other: &ArchivedUserFlags) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl Copy for ArchivedUserFlags

source§

impl Eq for ArchivedUserFlags

source§

impl NoUndef for ArchivedUserFlags

source§

impl Portable for ArchivedUserFlags

source§

impl StructuralPartialEq for ArchivedUserFlags

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where + T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where + T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/user/struct.ArchivedUserPreferences.html b/client_sdk/models/user/struct.ArchivedUserPreferences.html new file mode 100644 index 000000000..413e899b4 --- /dev/null +++ b/client_sdk/models/user/struct.ArchivedUserPreferences.html @@ -0,0 +1,77 @@ +ArchivedUserPreferences in client_sdk::models::user - Rust

Struct client_sdk::models::user::ArchivedUserPreferences

source ·
#[repr(C)]
pub struct ArchivedUserPreferences
where + Locale: Archive, + UserPrefsFlags: Archive, + FriendAddability: Archive, + Temperature: Archive, + Font: Archive, + FontSize: Archive, + Padding: Archive, + TabSize: Archive,
{ + pub l: <Locale as Archive>::Archived, + pub f: <UserPrefsFlags as Archive>::Archived, + pub friend: <FriendAddability as Archive>::Archived, + pub temp: <Temperature as Archive>::Archived, + pub cf: <Font as Archive>::Archived, + pub uf: <Font as Archive>::Archived, + pub cfs: <FontSize as Archive>::Archived, + pub ufs: <FontSize as Archive>::Archived, + pub pad: <Padding as Archive>::Archived, + pub tab: <TabSize as Archive>::Archived, +}
Expand description

An archived UserPreferences

+

Fields§

§l: <Locale as Archive>::Archived§f: <UserPrefsFlags as Archive>::Archived§friend: <FriendAddability as Archive>::Archived§temp: <Temperature as Archive>::Archived§cf: <Font as Archive>::Archived§uf: <Font as Archive>::Archived§cfs: <FontSize as Archive>::Archived§ufs: <FontSize as Archive>::Archived§pad: <Padding as Archive>::Archived§tab: <TabSize as Archive>::Archived

Trait Implementations§

source§

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedUserPreferences
where + Locale: Archive, + UserPrefsFlags: Archive, + FriendAddability: Archive, + Temperature: Archive, + Font: Archive, + FontSize: Archive, + Padding: Archive, + TabSize: Archive, + <__C as Fallible>::Error: Trace, + <Locale as Archive>::Archived: CheckBytes<__C>, + <UserPrefsFlags as Archive>::Archived: CheckBytes<__C>, + <FriendAddability as Archive>::Archived: CheckBytes<__C>, + <Temperature as Archive>::Archived: CheckBytes<__C>, + <Font as Archive>::Archived: CheckBytes<__C>, + <FontSize as Archive>::Archived: CheckBytes<__C>, + <Padding as Archive>::Archived: CheckBytes<__C>, + <TabSize as Archive>::Archived: CheckBytes<__C>,

source§

unsafe fn check_bytes( + value: *const Self, + context: &mut __C, +) -> Result<(), <__C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Portable for ArchivedUserPreferences
where + Locale: Archive, + UserPrefsFlags: Archive, + FriendAddability: Archive, + Temperature: Archive, + Font: Archive, + FontSize: Archive, + Padding: Archive, + TabSize: Archive, + <Locale as Archive>::Archived: Portable, + <UserPrefsFlags as Archive>::Archived: Portable, + <FriendAddability as Archive>::Archived: Portable, + <Temperature as Archive>::Archived: Portable, + <Font as Archive>::Archived: Portable, + <FontSize as Archive>::Archived: Portable, + <Padding as Archive>::Archived: Portable, + <TabSize as Archive>::Archived: Portable,

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/user/struct.ArchivedUserPrefsFlags.html b/client_sdk/models/user/struct.ArchivedUserPrefsFlags.html new file mode 100644 index 000000000..edc7ea6a0 --- /dev/null +++ b/client_sdk/models/user/struct.ArchivedUserPrefsFlags.html @@ -0,0 +1,71 @@ +ArchivedUserPrefsFlags in client_sdk::models::user - Rust

Struct client_sdk::models::user::ArchivedUserPrefsFlags

source ·
#[repr(transparent)]
pub struct ArchivedUserPrefsFlags(pub Archived<i32>);
Expand description

Archived version of UserPrefsFlags, automatically made endian-agnostic. +When comparing with the native bitflags, the archived bitflags will truncate any extra bits.

+

Tuple Fields§

§0: Archived<i32>

Implementations§

source§

impl ArchivedUserPrefsFlags

source

pub const fn to_native(&self) -> Option<UserPrefsFlags>

Converts this archived bitflags to the native bitflags type, returning None if any +bits are set that are not part of the bitflags.

+

See UserPrefsFlags::from_bits for more information.

+
source

pub const fn to_native_truncate(&self) -> UserPrefsFlags

Converts this archived bitflags to the native bitflags type, truncating any extra bits.

+

See UserPrefsFlags::from_bits_truncate for more information.

+
source

pub const fn to_native_retain(&self) -> UserPrefsFlags

Converts this archived bitflags to the native bitflags type, retaining all bits, even +if they are not part of the bitflags.

+

See UserPrefsFlags::from_bits_retain for more information.

+
source

pub const fn from_native(native: UserPrefsFlags) -> Self

Converts the native bitflags type to an archived bitflags.

+
source

pub const fn contains(&self, other: UserPrefsFlags) -> bool

Check if the archived bitflags contains all the given bitflags.

+

See UserPrefsFlags::contains for more information.

+
source

pub const fn intersects(&self, other: UserPrefsFlags) -> bool

Check if the archived bitflags intersect with any of the given bitflags.

+

See UserPrefsFlags::intersects for more information.

+
source

pub const fn is_empty(&self) -> bool

Whether all bits in this flags value are unset.

+
source

pub const fn is_all(&self) -> bool

Whether all known bits in this flags value are set.

+
source

pub const fn bits(&self) -> i32

Get the underlying raw bits value.

+

Note that this may contain bits that are not part of the original bitflags, +if serialized with a different version of the bitflags. Use to_native or +to_native_truncate to convert to the native bitflags type +without extra bits.

+

Trait Implementations§

source§

impl<C> CheckBytes<C> for ArchivedUserPrefsFlags
where + C: Fallible + ?Sized, + <C as Fallible>::Error: Source,

source§

unsafe fn check_bytes( + value: *const Self, + ctx: &mut C, +) -> Result<(), <C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Clone for ArchivedUserPrefsFlags

source§

fn clone(&self) -> ArchivedUserPrefsFlags

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ArchivedUserPrefsFlags

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<D: Fallible + ?Sized> Deserialize<UserPrefsFlags, D> for ArchivedUserPrefsFlags

source§

fn deserialize(&self, _: &mut D) -> Result<UserPrefsFlags, D::Error>

Deserializes using the given deserializer
source§

impl From<ArchivedUserPrefsFlags> for UserPrefsFlags

source§

fn from(archived: ArchivedUserPrefsFlags) -> Self

Converts to this type from the input type.
source§

impl PartialEq<ArchivedUserPrefsFlags> for UserPrefsFlags

source§

fn eq(&self, other: &ArchivedUserPrefsFlags) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl PartialEq<UserPrefsFlags> for ArchivedUserPrefsFlags

source§

fn eq(&self, other: &UserPrefsFlags) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl PartialEq for ArchivedUserPrefsFlags

source§

fn eq(&self, other: &ArchivedUserPrefsFlags) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl ToSql for ArchivedUserPrefsFlags

source§

fn to_sql( + &self, + ty: &Type, + out: &mut BytesMut, +) -> Result<IsNull, Box<dyn Error + Sync + Send>>
where + Self: Sized,

Converts the value of self into the binary format of the specified +Postgres Type, appending it to out. Read more
source§

fn accepts(ty: &Type) -> bool

Determines if a value of this type can be converted to the specified +Postgres Type.
source§

fn to_sql_checked( + &self, + ty: &Type, + out: &mut BytesMut, +) -> Result<IsNull, Box<dyn Error + Sync + Send>>

An adaptor method used internally by Rust-Postgres. Read more
§

fn encode_format(&self, _ty: &Type) -> Format

Specify the encode format
source§

impl Copy for ArchivedUserPrefsFlags

source§

impl Eq for ArchivedUserPrefsFlags

source§

impl NoUndef for ArchivedUserPrefsFlags

source§

impl Portable for ArchivedUserPrefsFlags

source§

impl StructuralPartialEq for ArchivedUserPrefsFlags

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> BorrowToSql for T
where + T: ToSql,

§

fn borrow_to_sql(&self) -> &dyn ToSql

Returns a reference to self as a ToSql trait object.
source§

impl<T> CloneToUninit for T
where + T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where + T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/user/struct.ArchivedUserProfile.html b/client_sdk/models/user/struct.ArchivedUserProfile.html new file mode 100644 index 000000000..88c9f05ea --- /dev/null +++ b/client_sdk/models/user/struct.ArchivedUserProfile.html @@ -0,0 +1,54 @@ +ArchivedUserProfile in client_sdk::models::user - Rust

Struct client_sdk::models::user::ArchivedUserProfile

source ·
#[repr(C)]
pub struct ArchivedUserProfile
where + UserProfileBits: Archive, + ExtraUserProfileBits: Archive, + Nullable<SmolStr>: Archive, + Nullable<EncryptedSnowflake>: Archive,
{ + pub bits: <UserProfileBits as Archive>::Archived, + pub extra: <ExtraUserProfileBits as Archive>::Archived, + pub nick: <Nullable<SmolStr> as Archive>::Archived, + pub avatar: <Nullable<EncryptedSnowflake> as Archive>::Archived, + pub banner: <Nullable<EncryptedSnowflake> as Archive>::Archived, + pub status: <Nullable<SmolStr> as Archive>::Archived, + pub bio: <Nullable<SmolStr> as Archive>::Archived, +}
Expand description

An archived UserProfile

+

Fields§

§bits: <UserProfileBits as Archive>::Archived§extra: <ExtraUserProfileBits as Archive>::Archived§nick: <Nullable<SmolStr> as Archive>::Archived§avatar: <Nullable<EncryptedSnowflake> as Archive>::Archived§banner: <Nullable<EncryptedSnowflake> as Archive>::Archived§status: <Nullable<SmolStr> as Archive>::Archived§bio: <Nullable<SmolStr> as Archive>::Archived

Trait Implementations§

source§

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedUserProfile
where + UserProfileBits: Archive, + ExtraUserProfileBits: Archive, + Nullable<SmolStr>: Archive, + Nullable<EncryptedSnowflake>: Archive, + <__C as Fallible>::Error: Trace, + <UserProfileBits as Archive>::Archived: CheckBytes<__C>, + <ExtraUserProfileBits as Archive>::Archived: CheckBytes<__C>, + <Nullable<SmolStr> as Archive>::Archived: CheckBytes<__C>, + <Nullable<EncryptedSnowflake> as Archive>::Archived: CheckBytes<__C>,

source§

unsafe fn check_bytes( + value: *const Self, + context: &mut __C, +) -> Result<(), <__C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Portable for ArchivedUserProfile
where + UserProfileBits: Archive, + ExtraUserProfileBits: Archive, + Nullable<SmolStr>: Archive, + Nullable<EncryptedSnowflake>: Archive, + <UserProfileBits as Archive>::Archived: Portable, + <ExtraUserProfileBits as Archive>::Archived: Portable, + <Nullable<SmolStr> as Archive>::Archived: Portable, + <Nullable<EncryptedSnowflake> as Archive>::Archived: Portable,

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/user/struct.ArchivedUserProfileBits.html b/client_sdk/models/user/struct.ArchivedUserProfileBits.html new file mode 100644 index 000000000..df8c22758 --- /dev/null +++ b/client_sdk/models/user/struct.ArchivedUserProfileBits.html @@ -0,0 +1,71 @@ +ArchivedUserProfileBits in client_sdk::models::user - Rust

Struct client_sdk::models::user::ArchivedUserProfileBits

source ·
#[repr(transparent)]
pub struct ArchivedUserProfileBits(pub Archived<i32>);
Expand description

Archived version of UserProfileBits, automatically made endian-agnostic. +When comparing with the native bitflags, the archived bitflags will truncate any extra bits.

+

Tuple Fields§

§0: Archived<i32>

Implementations§

source§

impl ArchivedUserProfileBits

source

pub const fn to_native(&self) -> Option<UserProfileBits>

Converts this archived bitflags to the native bitflags type, returning None if any +bits are set that are not part of the bitflags.

+

See UserProfileBits::from_bits for more information.

+
source

pub const fn to_native_truncate(&self) -> UserProfileBits

Converts this archived bitflags to the native bitflags type, truncating any extra bits.

+

See UserProfileBits::from_bits_truncate for more information.

+
source

pub const fn to_native_retain(&self) -> UserProfileBits

Converts this archived bitflags to the native bitflags type, retaining all bits, even +if they are not part of the bitflags.

+

See UserProfileBits::from_bits_retain for more information.

+
source

pub const fn from_native(native: UserProfileBits) -> Self

Converts the native bitflags type to an archived bitflags.

+
source

pub const fn contains(&self, other: UserProfileBits) -> bool

Check if the archived bitflags contains all the given bitflags.

+

See UserProfileBits::contains for more information.

+
source

pub const fn intersects(&self, other: UserProfileBits) -> bool

Check if the archived bitflags intersect with any of the given bitflags.

+

See UserProfileBits::intersects for more information.

+
source

pub const fn is_empty(&self) -> bool

Whether all bits in this flags value are unset.

+
source

pub const fn is_all(&self) -> bool

Whether all known bits in this flags value are set.

+
source

pub const fn bits(&self) -> i32

Get the underlying raw bits value.

+

Note that this may contain bits that are not part of the original bitflags, +if serialized with a different version of the bitflags. Use to_native or +to_native_truncate to convert to the native bitflags type +without extra bits.

+

Trait Implementations§

source§

impl<C> CheckBytes<C> for ArchivedUserProfileBits
where + C: Fallible + ?Sized, + <C as Fallible>::Error: Source,

source§

unsafe fn check_bytes( + value: *const Self, + ctx: &mut C, +) -> Result<(), <C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Clone for ArchivedUserProfileBits

source§

fn clone(&self) -> ArchivedUserProfileBits

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ArchivedUserProfileBits

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<D: Fallible + ?Sized> Deserialize<UserProfileBits, D> for ArchivedUserProfileBits

source§

fn deserialize(&self, _: &mut D) -> Result<UserProfileBits, D::Error>

Deserializes using the given deserializer
source§

impl From<ArchivedUserProfileBits> for UserProfileBits

source§

fn from(archived: ArchivedUserProfileBits) -> Self

Converts to this type from the input type.
source§

impl PartialEq<ArchivedUserProfileBits> for UserProfileBits

source§

fn eq(&self, other: &ArchivedUserProfileBits) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl PartialEq<UserProfileBits> for ArchivedUserProfileBits

source§

fn eq(&self, other: &UserProfileBits) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl PartialEq for ArchivedUserProfileBits

source§

fn eq(&self, other: &ArchivedUserProfileBits) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl ToSql for ArchivedUserProfileBits

source§

fn to_sql( + &self, + ty: &Type, + out: &mut BytesMut, +) -> Result<IsNull, Box<dyn Error + Sync + Send>>
where + Self: Sized,

Converts the value of self into the binary format of the specified +Postgres Type, appending it to out. Read more
source§

fn accepts(ty: &Type) -> bool

Determines if a value of this type can be converted to the specified +Postgres Type.
source§

fn to_sql_checked( + &self, + ty: &Type, + out: &mut BytesMut, +) -> Result<IsNull, Box<dyn Error + Sync + Send>>

An adaptor method used internally by Rust-Postgres. Read more
§

fn encode_format(&self, _ty: &Type) -> Format

Specify the encode format
source§

impl Copy for ArchivedUserProfileBits

source§

impl Eq for ArchivedUserProfileBits

source§

impl NoUndef for ArchivedUserProfileBits

source§

impl Portable for ArchivedUserProfileBits

source§

impl StructuralPartialEq for ArchivedUserProfileBits

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> BorrowToSql for T
where + T: ToSql,

§

fn borrow_to_sql(&self) -> &dyn ToSql

Returns a reference to self as a ToSql trait object.
source§

impl<T> CloneToUninit for T
where + T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where + T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/user/struct.ArchivedUserRelationship.html b/client_sdk/models/user/struct.ArchivedUserRelationship.html new file mode 100644 index 000000000..cb1c9a651 --- /dev/null +++ b/client_sdk/models/user/struct.ArchivedUserRelationship.html @@ -0,0 +1,45 @@ +ArchivedUserRelationship in client_sdk::models::user - Rust

Struct client_sdk::models::user::ArchivedUserRelationship

source ·
pub struct ArchivedUserRelationship(/* private fields */);

Implementations§

Trait Implementations§

source§

impl<C> CheckBytes<C> for ArchivedUserRelationship
where + C: Fallible + ?Sized, + <C as Fallible>::Error: Source,

source§

unsafe fn check_bytes( + value: *const Self, + _: &mut C, +) -> Result<(), <C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl Clone for ArchivedUserRelationship

source§

fn clone(&self) -> ArchivedUserRelationship

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ArchivedUserRelationship

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<D: Fallible + ?Sized> Deserialize<UserRelationship, D> for ArchivedUserRelationship

source§

fn deserialize(&self, _: &mut D) -> Result<UserRelationship, D::Error>

Deserializes using the given deserializer
source§

impl Hash for ArchivedUserRelationship

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where + H: Hasher, + Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl Ord for ArchivedUserRelationship

source§

fn cmp(&self, other: &ArchivedUserRelationship) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Self
where + Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Self
where + Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · source§

fn clamp(self, min: Self, max: Self) -> Self
where + Self: Sized + PartialOrd,

Restrict a value to a certain interval. Read more
source§

impl PartialEq for ArchivedUserRelationship

source§

fn eq(&self, other: &ArchivedUserRelationship) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl PartialOrd for ArchivedUserRelationship

source§

fn partial_cmp(&self, other: &ArchivedUserRelationship) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the +<= operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > +operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by +the >= operator. Read more
source§

impl Copy for ArchivedUserRelationship

source§

impl Eq for ArchivedUserRelationship

source§

impl NoUndef for ArchivedUserRelationship

source§

impl Portable for ArchivedUserRelationship

source§

impl StructuralPartialEq for ArchivedUserRelationship

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where + T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
§

impl<Q, K> Comparable<K> for Q
where + Q: Ord + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn compare(&self, key: &K) -> Ordering

Compare self to key and return their ordering.
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where + T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/user/struct.ExtraUserProfileBits.html b/client_sdk/models/user/struct.ExtraUserProfileBits.html new file mode 100644 index 000000000..d05942de8 --- /dev/null +++ b/client_sdk/models/user/struct.ExtraUserProfileBits.html @@ -0,0 +1,129 @@ +ExtraUserProfileBits in client_sdk::models::user - Rust

Struct client_sdk::models::user::ExtraUserProfileBits

source ·
pub struct ExtraUserProfileBits(/* private fields */);

Implementations§

source§

impl ExtraUserProfileBits

source

pub const OVERRIDE_COLOR: Self = _

source

pub const SECONDARY_COLOR: Self = _

source§

impl ExtraUserProfileBits

source

pub const fn empty() -> Self

Get a flags value with all bits unset.

+
source

pub const fn all() -> Self

Get a flags value with all known bits set.

+
source

pub const fn bits(&self) -> i32

Get the underlying bits value.

+

The returned value is exactly the bits set in this flags value.

+
source

pub const fn from_bits(bits: i32) -> Option<Self>

Convert from a bits value.

+

This method will return None if any unknown bits are set.

+
source

pub const fn from_bits_truncate(bits: i32) -> Self

Convert from a bits value, unsetting any unknown bits.

+
source

pub const fn from_bits_retain(bits: i32) -> Self

Convert from a bits value exactly.

+
source

pub fn from_name(name: &str) -> Option<Self>

Get a flags value with the bits of a flag with the given name set.

+

This method will return None if name is empty or doesn’t +correspond to any named flag.

+
source

pub const fn is_empty(&self) -> bool

Whether all bits in this flags value are unset.

+
source

pub const fn is_all(&self) -> bool

Whether all known bits in this flags value are set.

+
source

pub const fn intersects(&self, other: Self) -> bool

Whether any set bits in a source flags value are also set in a target flags value.

+
source

pub const fn contains(&self, other: Self) -> bool

Whether all set bits in a source flags value are also set in a target flags value.

+
source

pub fn insert(&mut self, other: Self)

The bitwise or (|) of the bits in two flags values.

+
source

pub fn remove(&mut self, other: Self)

The intersection of a source flags value with the complement of a target flags value (&!).

+

This method is not equivalent to self & !other when other has unknown bits set. +remove won’t truncate other, but the ! operator will.

+
source

pub fn toggle(&mut self, other: Self)

The bitwise exclusive-or (^) of the bits in two flags values.

+
source

pub fn set(&mut self, other: Self, value: bool)

Call insert when value is true or remove when value is false.

+
source

pub const fn intersection(self, other: Self) -> Self

The bitwise and (&) of the bits in two flags values.

+
source

pub const fn union(self, other: Self) -> Self

The bitwise or (|) of the bits in two flags values.

+
source

pub const fn difference(self, other: Self) -> Self

The intersection of a source flags value with the complement of a target flags value (&!).

+

This method is not equivalent to self & !other when other has unknown bits set. +difference won’t truncate other, but the ! operator will.

+
source

pub const fn symmetric_difference(self, other: Self) -> Self

The bitwise exclusive-or (^) of the bits in two flags values.

+
source

pub const fn complement(self) -> Self

The bitwise negation (!) of the bits in a flags value, truncating the result.

+
source§

impl ExtraUserProfileBits

source

pub const fn iter(&self) -> Iter<ExtraUserProfileBits>

Yield a set of contained flags values.

+

Each yielded flags value will correspond to a defined named flag. Any unknown bits +will be yielded together as a final flags value.

+
source

pub const fn iter_names(&self) -> IterNames<ExtraUserProfileBits>

Yield a set of contained named flags values.

+

This method is like iter, except only yields bits in contained named flags. +Any unknown bits, or bits not corresponding to a contained flag will not be yielded.

+

Trait Implementations§

source§

impl Archive for ExtraUserProfileBits

source§

type Archived = ArchivedExtraUserProfileBits

The archived representation of this type. Read more
source§

type Resolver = ()

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

fn resolve(&self, _: (), out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
source§

impl Binary for ExtraUserProfileBits

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl BitAnd for ExtraUserProfileBits

source§

fn bitand(self, other: Self) -> Self

The bitwise and (&) of the bits in two flags values.

+
source§

type Output = ExtraUserProfileBits

The resulting type after applying the & operator.
source§

impl BitAndAssign for ExtraUserProfileBits

source§

fn bitand_assign(&mut self, other: Self)

The bitwise and (&) of the bits in two flags values.

+
source§

impl BitOr for ExtraUserProfileBits

source§

fn bitor(self, other: ExtraUserProfileBits) -> Self

The bitwise or (|) of the bits in two flags values.

+
source§

type Output = ExtraUserProfileBits

The resulting type after applying the | operator.
source§

impl BitOrAssign for ExtraUserProfileBits

source§

fn bitor_assign(&mut self, other: Self)

The bitwise or (|) of the bits in two flags values.

+
source§

impl BitXor for ExtraUserProfileBits

source§

fn bitxor(self, other: Self) -> Self

The bitwise exclusive-or (^) of the bits in two flags values.

+
source§

type Output = ExtraUserProfileBits

The resulting type after applying the ^ operator.
source§

impl BitXorAssign for ExtraUserProfileBits

source§

fn bitxor_assign(&mut self, other: Self)

The bitwise exclusive-or (^) of the bits in two flags values.

+
source§

impl Clone for ExtraUserProfileBits

source§

fn clone(&self) -> ExtraUserProfileBits

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ExtraUserProfileBits

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for ExtraUserProfileBits

source§

fn default() -> ExtraUserProfileBits

Returns the “default value” for a type. Read more
source§

impl<'de> Deserialize<'de> for ExtraUserProfileBits

source§

fn deserialize<D>(deserializer: D) -> Result<ExtraUserProfileBits, D::Error>
where + D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl<D: Fallible + ?Sized> Deserialize<ExtraUserProfileBits, D> for ArchivedExtraUserProfileBits

source§

fn deserialize(&self, _: &mut D) -> Result<ExtraUserProfileBits, D::Error>

Deserializes using the given deserializer
source§

impl Extend<ExtraUserProfileBits> for ExtraUserProfileBits

source§

fn extend<T: IntoIterator<Item = Self>>(&mut self, iterator: T)

The bitwise or (|) of the bits in each flags value.

+
source§

fn extend_one(&mut self, item: A)

🔬This is a nightly-only experimental API. (extend_one)
Extends a collection with exactly one element.
source§

fn extend_reserve(&mut self, additional: usize)

🔬This is a nightly-only experimental API. (extend_one)
Reserves capacity in a collection for the given number of additional elements. Read more
source§

impl Flags for ExtraUserProfileBits

source§

const FLAGS: &'static [Flag<ExtraUserProfileBits>] = _

The set of defined flags.
source§

type Bits = i32

The underlying bits type.
source§

fn bits(&self) -> i32

Get the underlying bits value. Read more
source§

fn from_bits_retain(bits: i32) -> ExtraUserProfileBits

Convert from a bits value exactly.
§

fn empty() -> Self

Get a flags value with all bits unset.
§

fn all() -> Self

Get a flags value with all known bits set.
§

fn from_bits(bits: Self::Bits) -> Option<Self>

Convert from a bits value. Read more
§

fn from_bits_truncate(bits: Self::Bits) -> Self

Convert from a bits value, unsetting any unknown bits.
§

fn from_name(name: &str) -> Option<Self>

Get a flags value with the bits of a flag with the given name set. Read more
§

fn iter(&self) -> Iter<Self>

Yield a set of contained flags values. Read more
§

fn iter_names(&self) -> IterNames<Self>

Yield a set of contained named flags values. Read more
§

fn is_empty(&self) -> bool

Whether all bits in this flags value are unset.
§

fn is_all(&self) -> bool

Whether all known bits in this flags value are set.
§

fn intersects(&self, other: Self) -> bool
where + Self: Sized,

Whether any set bits in a source flags value are also set in a target flags value.
§

fn contains(&self, other: Self) -> bool
where + Self: Sized,

Whether all set bits in a source flags value are also set in a target flags value.
§

fn insert(&mut self, other: Self)
where + Self: Sized,

The bitwise or (|) of the bits in two flags values.
§

fn remove(&mut self, other: Self)
where + Self: Sized,

The intersection of a source flags value with the complement of a target flags value (&!). Read more
§

fn toggle(&mut self, other: Self)
where + Self: Sized,

The bitwise exclusive-or (^) of the bits in two flags values.
§

fn set(&mut self, other: Self, value: bool)
where + Self: Sized,

Call [Flags::insert] when value is true or [Flags::remove] when value is false.
§

fn intersection(self, other: Self) -> Self

The bitwise and (&) of the bits in two flags values.
§

fn union(self, other: Self) -> Self

The bitwise or (|) of the bits in two flags values.
§

fn difference(self, other: Self) -> Self

The intersection of a source flags value with the complement of a target flags value (&!). Read more
§

fn symmetric_difference(self, other: Self) -> Self

The bitwise exclusive-or (^) of the bits in two flags values.
§

fn complement(self) -> Self

The bitwise negation (!) of the bits in a flags value, truncating the result.
source§

impl From<ArchivedExtraUserProfileBits> for ExtraUserProfileBits

source§

fn from(archived: ArchivedExtraUserProfileBits) -> Self

Converts to this type from the input type.
source§

impl FromIterator<ExtraUserProfileBits> for ExtraUserProfileBits

source§

fn from_iter<T: IntoIterator<Item = Self>>(iterator: T) -> Self

The bitwise or (|) of the bits in each flags value.

+
source§

impl<'a> FromSql<'a> for ExtraUserProfileBits

source§

fn from_sql( + ty: &Type, + raw: &'a [u8], +) -> Result<Self, Box<dyn Error + Sync + Send>>

Creates a new value of this type from a buffer of data of the specified +Postgres Type in its binary format. Read more
source§

fn accepts(ty: &Type) -> bool

Determines if a value of this type can be created from the specified +Postgres Type.
§

fn from_sql_null(ty: &Type) -> Result<Self, Box<dyn Error + Sync + Send>>

Creates a new value of this type from a NULL SQL value. Read more
§

fn from_sql_nullable( + ty: &Type, + raw: Option<&'a [u8]>, +) -> Result<Self, Box<dyn Error + Sync + Send>>

A convenience function that delegates to from_sql and from_sql_null depending on the +value of raw.
source§

impl FromSql for ExtraUserProfileBits

source§

fn column_result(value: ValueRef<'_>) -> FromSqlResult<Self>

Converts SQLite value into Rust value.
source§

impl Hash for ExtraUserProfileBits

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where + H: Hasher, + Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl IntoIterator for ExtraUserProfileBits

source§

type Item = ExtraUserProfileBits

The type of the elements being iterated over.
source§

type IntoIter = Iter<ExtraUserProfileBits>

Which kind of iterator are we turning this into?
source§

fn into_iter(self) -> Self::IntoIter

Creates an iterator from a value. Read more
source§

impl LowerHex for ExtraUserProfileBits

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Not for ExtraUserProfileBits

source§

fn not(self) -> Self

The bitwise negation (!) of the bits in a flags value, truncating the result.

+
source§

type Output = ExtraUserProfileBits

The resulting type after applying the ! operator.
source§

impl Octal for ExtraUserProfileBits

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl PartialEq<ArchivedExtraUserProfileBits> for ExtraUserProfileBits

source§

fn eq(&self, other: &ArchivedExtraUserProfileBits) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl PartialEq<ExtraUserProfileBits> for ArchivedExtraUserProfileBits

source§

fn eq(&self, other: &ExtraUserProfileBits) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl PartialEq for ExtraUserProfileBits

source§

fn eq(&self, other: &ExtraUserProfileBits) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl PublicFlags for ExtraUserProfileBits

source§

type Primitive = i32

The type of the underlying storage.
source§

type Internal = InternalBitFlags

The type of the internal field on the generated flags type.
source§

impl<S: Fallible + ?Sized> Serialize<S> for ExtraUserProfileBits

source§

fn serialize(&self, _: &mut S) -> Result<(), S::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.
source§

impl Serialize for ExtraUserProfileBits

source§

fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
where + S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Sub for ExtraUserProfileBits

source§

fn sub(self, other: Self) -> Self

The intersection of a source flags value with the complement of a target flags value (&!).

+

This method is not equivalent to self & !other when other has unknown bits set. +difference won’t truncate other, but the ! operator will.

+
source§

type Output = ExtraUserProfileBits

The resulting type after applying the - operator.
source§

impl SubAssign for ExtraUserProfileBits

source§

fn sub_assign(&mut self, other: Self)

The intersection of a source flags value with the complement of a target flags value (&!).

+

This method is not equivalent to self & !other when other has unknown bits set. +difference won’t truncate other, but the ! operator will.

+
source§

impl ToSql for ExtraUserProfileBits

source§

fn to_sql(&self) -> Result<ToSqlOutput<'_>>

Converts Rust value to SQLite value
source§

impl ToSql for ExtraUserProfileBits

source§

fn to_sql( + &self, + ty: &Type, + out: &mut BytesMut, +) -> Result<IsNull, Box<dyn Error + Sync + Send>>
where + Self: Sized,

Converts the value of self into the binary format of the specified +Postgres Type, appending it to out. Read more
source§

fn accepts(ty: &Type) -> bool

Determines if a value of this type can be converted to the specified +Postgres Type.
source§

fn to_sql_checked( + &self, + ty: &Type, + out: &mut BytesMut, +) -> Result<IsNull, Box<dyn Error + Sync + Send>>

An adaptor method used internally by Rust-Postgres. Read more
§

fn encode_format(&self, _ty: &Type) -> Format

Specify the encode format
source§

impl UpperHex for ExtraUserProfileBits

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Copy for ExtraUserProfileBits

source§

impl Eq for ExtraUserProfileBits

source§

impl StructuralPartialEq for ExtraUserProfileBits

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> BorrowToSql for T
where + T: ToSql,

§

fn borrow_to_sql(&self) -> &dyn ToSql

Returns a reference to self as a ToSql trait object.
source§

impl<T> CloneToUninit for T
where + T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T> ToOwned for T
where + T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
source§

impl<T> CommandBody for T
where + T: Send + Serialize + Archive,

source§

impl<T> CommandResult for T
where + T: Send + DeserializeOwned + Serialize + Archive,

source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> FromSqlOwned for T
where + T: for<'a> FromSql<'a>,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/user/struct.Relationship.html b/client_sdk/models/user/struct.Relationship.html new file mode 100644 index 000000000..dbc597c24 --- /dev/null +++ b/client_sdk/models/user/struct.Relationship.html @@ -0,0 +1,74 @@ +Relationship in client_sdk::models::user - Rust

Struct client_sdk::models::user::Relationship

source ·
pub struct Relationship {
+    pub note: Option<SmolStr>,
+    pub user: User,
+    pub since: Timestamp,
+    pub rel: UserRelationship,
+    pub pending: bool,
+}

Fields§

§note: Option<SmolStr>§user: User§since: Timestamp§rel: UserRelationship§pending: bool

If this relationship is awaiting action from you

+

Trait Implementations§

source§

impl Archive for Relationship
where + Option<SmolStr>: Archive, + User: Archive, + Timestamp: Archive, + UserRelationship: Archive, + bool: Archive,

source§

type Archived = ArchivedRelationship

The archived representation of this type. Read more
source§

type Resolver = RelationshipResolver

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
source§

impl Clone for Relationship

source§

fn clone(&self) -> Relationship

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Relationship

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for Relationship

source§

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<__D: Fallible + ?Sized> Deserialize<Relationship, __D> for Archived<Relationship>
where + Option<SmolStr>: Archive, + <Option<SmolStr> as Archive>::Archived: Deserialize<Option<SmolStr>, __D>, + User: Archive, + <User as Archive>::Archived: Deserialize<User, __D>, + Timestamp: Archive, + <Timestamp as Archive>::Archived: Deserialize<Timestamp, __D>, + UserRelationship: Archive, + <UserRelationship as Archive>::Archived: Deserialize<UserRelationship, __D>, + bool: Archive, + <bool as Archive>::Archived: Deserialize<bool, __D>,

source§

fn deserialize( + &self, + deserializer: &mut __D, +) -> Result<Relationship, <__D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<__S: Fallible + ?Sized> Serialize<__S> for Relationship
where + Option<SmolStr>: Serialize<__S>, + User: Serialize<__S>, + Timestamp: Serialize<__S>, + UserRelationship: Serialize<__S>, + bool: Serialize<__S>,

source§

fn serialize( + &self, + serializer: &mut __S, +) -> Result<<Self as Archive>::Resolver, <__S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.
source§

impl Serialize for Relationship

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where + T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T> ToOwned for T
where + T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
source§

impl<T> CommandBody for T
where + T: Send + Serialize + Archive,

source§

impl<T> CommandResult for T
where + T: Send + DeserializeOwned + Serialize + Archive,

source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/user/struct.RelationshipResolver.html b/client_sdk/models/user/struct.RelationshipResolver.html new file mode 100644 index 000000000..7f86a191d --- /dev/null +++ b/client_sdk/models/user/struct.RelationshipResolver.html @@ -0,0 +1,26 @@ +RelationshipResolver in client_sdk::models::user - Rust

Struct client_sdk::models::user::RelationshipResolver

source ·
pub struct RelationshipResolver
where + Option<SmolStr>: Archive, + User: Archive, + Timestamp: Archive, + UserRelationship: Archive, + bool: Archive,
{ /* private fields */ }
Expand description

The resolver for an archived Relationship

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/user/struct.User.html b/client_sdk/models/user/struct.User.html new file mode 100644 index 000000000..3255cc467 --- /dev/null +++ b/client_sdk/models/user/struct.User.html @@ -0,0 +1,91 @@ +User in client_sdk::models::user - Rust

Struct client_sdk::models::user::User

source ·
pub struct User {
+    pub id: UserId,
+    pub username: SmolStr,
+    pub discriminator: i32,
+    pub flags: UserFlags,
+    pub profile: Nullable<Arc<UserProfile>>,
+    pub email: Option<SmolStr>,
+    pub preferences: Option<UserPreferences>,
+    pub presence: Option<UserPresence>,
+}

Fields§

§id: UserId§username: SmolStr§discriminator: i32

Unsigned 16-bit integer

+
§flags: UserFlags§profile: Nullable<Arc<UserProfile>>§email: Option<SmolStr>

Not present when user isn’t self

+
§preferences: Option<UserPreferences>

Not present when user isn’t self

+
§presence: Option<UserPresence>

Trait Implementations§

source§

impl Archive for User
where + UserId: Archive, + SmolStr: Archive, + i32: Archive, + UserFlags: Archive, + Nullable<Arc<UserProfile>>: Archive, + Option<SmolStr>: Archive, + Option<UserPreferences>: Archive, + Option<UserPresence>: Archive,

source§

type Archived = ArchivedUser

The archived representation of this type. Read more
source§

type Resolver = UserResolver

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
source§

impl Clone for User

source§

fn clone(&self) -> User

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for User

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for User

source§

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<__D: Fallible + ?Sized> Deserialize<User, __D> for Archived<User>
where + UserId: Archive, + <UserId as Archive>::Archived: Deserialize<UserId, __D>, + SmolStr: Archive, + <SmolStr as Archive>::Archived: Deserialize<SmolStr, __D>, + i32: Archive, + <i32 as Archive>::Archived: Deserialize<i32, __D>, + UserFlags: Archive, + <UserFlags as Archive>::Archived: Deserialize<UserFlags, __D>, + Nullable<Arc<UserProfile>>: Archive, + <Nullable<Arc<UserProfile>> as Archive>::Archived: Deserialize<Nullable<Arc<UserProfile>>, __D>, + Option<SmolStr>: Archive, + <Option<SmolStr> as Archive>::Archived: Deserialize<Option<SmolStr>, __D>, + Option<UserPreferences>: Archive, + <Option<UserPreferences> as Archive>::Archived: Deserialize<Option<UserPreferences>, __D>, + Option<UserPresence>: Archive, + <Option<UserPresence> as Archive>::Archived: Deserialize<Option<UserPresence>, __D>,

source§

fn deserialize( + &self, + deserializer: &mut __D, +) -> Result<User, <__D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<__S: Fallible + ?Sized> Serialize<__S> for User
where + UserId: Serialize<__S>, + SmolStr: Serialize<__S>, + i32: Serialize<__S>, + UserFlags: Serialize<__S>, + Nullable<Arc<UserProfile>>: Serialize<__S>, + Option<SmolStr>: Serialize<__S>, + Option<UserPreferences>: Serialize<__S>, + Option<UserPresence>: Serialize<__S>,

source§

fn serialize( + &self, + serializer: &mut __S, +) -> Result<<Self as Archive>::Resolver, <__S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.
source§

impl Serialize for User

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

§

impl Freeze for User

§

impl RefUnwindSafe for User

§

impl Send for User

§

impl Sync for User

§

impl Unpin for User

§

impl UnwindSafe for User

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where + T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T> ToOwned for T
where + T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
source§

impl<T> CommandBody for T
where + T: Send + Serialize + Archive,

source§

impl<T> CommandResult for T
where + T: Send + DeserializeOwned + Serialize + Archive,

source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/user/struct.UserFlags.html b/client_sdk/models/user/struct.UserFlags.html new file mode 100644 index 000000000..38ece5a95 --- /dev/null +++ b/client_sdk/models/user/struct.UserFlags.html @@ -0,0 +1,112 @@ +UserFlags in client_sdk::models::user - Rust

Struct client_sdk::models::user::UserFlags

source ·
pub struct UserFlags(/* private fields */);
Expand description

NOTE: Remember to clear flag caches when they change

+

Implementations§

source§

impl UserFlags

source

pub const BANNED: Self = _

source

pub const VERIFIED: Self = _

source

pub const MFA_ENABLED: Self = _

source

pub const NEEDS_PASSWORD_RESET: Self = _

source

pub const RESERVED_1: Self = _

source

pub const RESERVED_2: Self = _

source

pub const ELEVATION_1: Self = _

source

pub const ELEVATION_2: Self = _

source

pub const ELEVATION_3: Self = _

source

pub const PREMIUM_1: Self = _

source

pub const PREMIUM_2: Self = _

source

pub const PREMIUM_3: Self = _

source

pub const RESERVED_3: Self = _

source

pub const EXTRA_STORAGE_1: Self = _

source

pub const EXTRA_STORAGE_2: Self = _

source

pub const RESERVED_4: Self = _

source

pub const RESERVED: Self = _

source

pub const PRIVATE_FLAGS: Self = _

Always strip these from public responses

+
source

pub const ELEVATION: Self = _

elevation level integer

+
source

pub const PREMIUM: Self = _

premium level integer

+
source

pub const EXTRA_STORAGE: Self = _

extra storage level integer

+
source§

impl UserFlags

source

pub const fn empty() -> Self

Get a flags value with all bits unset.

+
source

pub const fn all() -> Self

Get a flags value with all known bits set.

+
source

pub const fn bits(&self) -> i32

Get the underlying bits value.

+

The returned value is exactly the bits set in this flags value.

+
source

pub const fn from_bits(bits: i32) -> Option<Self>

Convert from a bits value.

+

This method will return None if any unknown bits are set.

+
source

pub const fn from_bits_truncate(bits: i32) -> Self

Convert from a bits value, unsetting any unknown bits.

+
source

pub const fn from_bits_retain(bits: i32) -> Self

Convert from a bits value exactly.

+
source

pub fn from_name(name: &str) -> Option<Self>

Get a flags value with the bits of a flag with the given name set.

+

This method will return None if name is empty or doesn’t +correspond to any named flag.

+
source

pub const fn is_empty(&self) -> bool

Whether all bits in this flags value are unset.

+
source

pub const fn is_all(&self) -> bool

Whether all known bits in this flags value are set.

+
source

pub const fn intersects(&self, other: Self) -> bool

Whether any set bits in a source flags value are also set in a target flags value.

+
source

pub const fn contains(&self, other: Self) -> bool

Whether all set bits in a source flags value are also set in a target flags value.

+
source

pub fn insert(&mut self, other: Self)

The bitwise or (|) of the bits in two flags values.

+
source

pub fn remove(&mut self, other: Self)

The intersection of a source flags value with the complement of a target flags value (&!).

+

This method is not equivalent to self & !other when other has unknown bits set. +remove won’t truncate other, but the ! operator will.

+
source

pub fn toggle(&mut self, other: Self)

The bitwise exclusive-or (^) of the bits in two flags values.

+
source

pub fn set(&mut self, other: Self, value: bool)

Call insert when value is true or remove when value is false.

+
source

pub const fn intersection(self, other: Self) -> Self

The bitwise and (&) of the bits in two flags values.

+
source

pub const fn union(self, other: Self) -> Self

The bitwise or (|) of the bits in two flags values.

+
source

pub const fn difference(self, other: Self) -> Self

The intersection of a source flags value with the complement of a target flags value (&!).

+

This method is not equivalent to self & !other when other has unknown bits set. +difference won’t truncate other, but the ! operator will.

+
source

pub const fn symmetric_difference(self, other: Self) -> Self

The bitwise exclusive-or (^) of the bits in two flags values.

+
source

pub const fn complement(self) -> Self

The bitwise negation (!) of the bits in a flags value, truncating the result.

+
source§

impl UserFlags

source

pub const fn iter(&self) -> Iter<UserFlags>

Yield a set of contained flags values.

+

Each yielded flags value will correspond to a defined named flag. Any unknown bits +will be yielded together as a final flags value.

+
source

pub const fn iter_names(&self) -> IterNames<UserFlags>

Yield a set of contained named flags values.

+

This method is like iter, except only yields bits in contained named flags. +Any unknown bits, or bits not corresponding to a contained flag will not be yielded.

+
source§

impl UserFlags

source

pub const fn from_bits_truncate_public(bits: i32) -> Self

source

pub const fn elevation(self) -> ElevationLevel

source

pub const fn with_elevation(self, ev: ElevationLevel) -> Self

source

pub const fn premium_level(self) -> u8

source

pub const fn extra_storage_tier(self) -> u8

source

pub const SYSTEM_USER: UserFlags = _

Trait Implementations§

source§

impl Archive for UserFlags

source§

type Archived = ArchivedUserFlags

The archived representation of this type. Read more
source§

type Resolver = ()

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

fn resolve(&self, _: (), out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
source§

impl Binary for UserFlags

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl BitAnd for UserFlags

source§

fn bitand(self, other: Self) -> Self

The bitwise and (&) of the bits in two flags values.

+
source§

type Output = UserFlags

The resulting type after applying the & operator.
source§

impl BitAndAssign for UserFlags

source§

fn bitand_assign(&mut self, other: Self)

The bitwise and (&) of the bits in two flags values.

+
source§

impl BitOr for UserFlags

source§

fn bitor(self, other: UserFlags) -> Self

The bitwise or (|) of the bits in two flags values.

+
source§

type Output = UserFlags

The resulting type after applying the | operator.
source§

impl BitOrAssign for UserFlags

source§

fn bitor_assign(&mut self, other: Self)

The bitwise or (|) of the bits in two flags values.

+
source§

impl BitXor for UserFlags

source§

fn bitxor(self, other: Self) -> Self

The bitwise exclusive-or (^) of the bits in two flags values.

+
source§

type Output = UserFlags

The resulting type after applying the ^ operator.
source§

impl BitXorAssign for UserFlags

source§

fn bitxor_assign(&mut self, other: Self)

The bitwise exclusive-or (^) of the bits in two flags values.

+
source§

impl Clone for UserFlags

source§

fn clone(&self) -> UserFlags

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for UserFlags

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for UserFlags

source§

fn deserialize<D>(deserializer: D) -> Result<UserFlags, D::Error>
where + D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl<D: Fallible + ?Sized> Deserialize<UserFlags, D> for ArchivedUserFlags

source§

fn deserialize(&self, _: &mut D) -> Result<UserFlags, D::Error>

Deserializes using the given deserializer
source§

impl Extend<UserFlags> for UserFlags

source§

fn extend<T: IntoIterator<Item = Self>>(&mut self, iterator: T)

The bitwise or (|) of the bits in each flags value.

+
source§

fn extend_one(&mut self, item: A)

🔬This is a nightly-only experimental API. (extend_one)
Extends a collection with exactly one element.
source§

fn extend_reserve(&mut self, additional: usize)

🔬This is a nightly-only experimental API. (extend_one)
Reserves capacity in a collection for the given number of additional elements. Read more
source§

impl Flags for UserFlags

source§

const FLAGS: &'static [Flag<UserFlags>] = _

The set of defined flags.
source§

type Bits = i32

The underlying bits type.
source§

fn bits(&self) -> i32

Get the underlying bits value. Read more
source§

fn from_bits_retain(bits: i32) -> UserFlags

Convert from a bits value exactly.
§

fn empty() -> Self

Get a flags value with all bits unset.
§

fn all() -> Self

Get a flags value with all known bits set.
§

fn from_bits(bits: Self::Bits) -> Option<Self>

Convert from a bits value. Read more
§

fn from_bits_truncate(bits: Self::Bits) -> Self

Convert from a bits value, unsetting any unknown bits.
§

fn from_name(name: &str) -> Option<Self>

Get a flags value with the bits of a flag with the given name set. Read more
§

fn iter(&self) -> Iter<Self>

Yield a set of contained flags values. Read more
§

fn iter_names(&self) -> IterNames<Self>

Yield a set of contained named flags values. Read more
§

fn is_empty(&self) -> bool

Whether all bits in this flags value are unset.
§

fn is_all(&self) -> bool

Whether all known bits in this flags value are set.
§

fn intersects(&self, other: Self) -> bool
where + Self: Sized,

Whether any set bits in a source flags value are also set in a target flags value.
§

fn contains(&self, other: Self) -> bool
where + Self: Sized,

Whether all set bits in a source flags value are also set in a target flags value.
§

fn insert(&mut self, other: Self)
where + Self: Sized,

The bitwise or (|) of the bits in two flags values.
§

fn remove(&mut self, other: Self)
where + Self: Sized,

The intersection of a source flags value with the complement of a target flags value (&!). Read more
§

fn toggle(&mut self, other: Self)
where + Self: Sized,

The bitwise exclusive-or (^) of the bits in two flags values.
§

fn set(&mut self, other: Self, value: bool)
where + Self: Sized,

Call [Flags::insert] when value is true or [Flags::remove] when value is false.
§

fn intersection(self, other: Self) -> Self

The bitwise and (&) of the bits in two flags values.
§

fn union(self, other: Self) -> Self

The bitwise or (|) of the bits in two flags values.
§

fn difference(self, other: Self) -> Self

The intersection of a source flags value with the complement of a target flags value (&!). Read more
§

fn symmetric_difference(self, other: Self) -> Self

The bitwise exclusive-or (^) of the bits in two flags values.
§

fn complement(self) -> Self

The bitwise negation (!) of the bits in a flags value, truncating the result.
source§

impl From<ArchivedUserFlags> for UserFlags

source§

fn from(archived: ArchivedUserFlags) -> Self

Converts to this type from the input type.
source§

impl FromIterator<UserFlags> for UserFlags

source§

fn from_iter<T: IntoIterator<Item = Self>>(iterator: T) -> Self

The bitwise or (|) of the bits in each flags value.

+
source§

impl Hash for UserFlags

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where + H: Hasher, + Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl IntoIterator for UserFlags

source§

type Item = UserFlags

The type of the elements being iterated over.
source§

type IntoIter = Iter<UserFlags>

Which kind of iterator are we turning this into?
source§

fn into_iter(self) -> Self::IntoIter

Creates an iterator from a value. Read more
source§

impl LowerHex for UserFlags

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Not for UserFlags

source§

fn not(self) -> Self

The bitwise negation (!) of the bits in a flags value, truncating the result.

+
source§

type Output = UserFlags

The resulting type after applying the ! operator.
source§

impl Octal for UserFlags

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl PartialEq<ArchivedUserFlags> for UserFlags

source§

fn eq(&self, other: &ArchivedUserFlags) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl PartialEq<UserFlags> for ArchivedUserFlags

source§

fn eq(&self, other: &UserFlags) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl PartialEq for UserFlags

source§

fn eq(&self, other: &UserFlags) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl PublicFlags for UserFlags

source§

type Primitive = i32

The type of the underlying storage.
source§

type Internal = InternalBitFlags

The type of the internal field on the generated flags type.
source§

impl<S: Fallible + ?Sized> Serialize<S> for UserFlags

source§

fn serialize(&self, _: &mut S) -> Result<(), S::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.
source§

impl Serialize for UserFlags

source§

fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
where + S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Sub for UserFlags

source§

fn sub(self, other: Self) -> Self

The intersection of a source flags value with the complement of a target flags value (&!).

+

This method is not equivalent to self & !other when other has unknown bits set. +difference won’t truncate other, but the ! operator will.

+
source§

type Output = UserFlags

The resulting type after applying the - operator.
source§

impl SubAssign for UserFlags

source§

fn sub_assign(&mut self, other: Self)

The intersection of a source flags value with the complement of a target flags value (&!).

+

This method is not equivalent to self & !other when other has unknown bits set. +difference won’t truncate other, but the ! operator will.

+
source§

impl UpperHex for UserFlags

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Copy for UserFlags

source§

impl Eq for UserFlags

source§

impl StructuralPartialEq for UserFlags

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where + T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T> ToOwned for T
where + T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
source§

impl<T> CommandBody for T
where + T: Send + Serialize + Archive,

source§

impl<T> CommandResult for T
where + T: Send + DeserializeOwned + Serialize + Archive,

source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/user/struct.UserPreferences.html b/client_sdk/models/user/struct.UserPreferences.html new file mode 100644 index 000000000..74d84ec23 --- /dev/null +++ b/client_sdk/models/user/struct.UserPreferences.html @@ -0,0 +1,90 @@ +UserPreferences in client_sdk::models::user - Rust

Struct client_sdk::models::user::UserPreferences

source ·
pub struct UserPreferences {
+    pub l: Locale,
+    pub f: UserPrefsFlags,
+    pub friend: FriendAddability,
+    pub temp: Temperature,
+    pub cf: Font,
+    pub uf: Font,
+    pub cfs: FontSize,
+    pub ufs: FontSize,
+    pub pad: Padding,
+    pub tab: TabSize,
+}

Fields§

§l: Locale§f: UserPrefsFlags§friend: FriendAddability§temp: Temperature§cf: Font§uf: Font§cfs: FontSize§ufs: FontSize§pad: Padding§tab: TabSize

Implementations§

source§

impl UserPreferences

source

pub fn clean(&mut self)

Trait Implementations§

source§

impl Archive for UserPreferences
where + Locale: Archive, + UserPrefsFlags: Archive, + FriendAddability: Archive, + Temperature: Archive, + Font: Archive, + FontSize: Archive, + Padding: Archive, + TabSize: Archive,

source§

type Archived = ArchivedUserPreferences

The archived representation of this type. Read more
source§

type Resolver = UserPreferencesResolver

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
source§

impl Clone for UserPreferences

source§

fn clone(&self) -> UserPreferences

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for UserPreferences

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for UserPreferences

source§

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<__D: Fallible + ?Sized> Deserialize<UserPreferences, __D> for Archived<UserPreferences>
where + Locale: Archive, + <Locale as Archive>::Archived: Deserialize<Locale, __D>, + UserPrefsFlags: Archive, + <UserPrefsFlags as Archive>::Archived: Deserialize<UserPrefsFlags, __D>, + FriendAddability: Archive, + <FriendAddability as Archive>::Archived: Deserialize<FriendAddability, __D>, + Temperature: Archive, + <Temperature as Archive>::Archived: Deserialize<Temperature, __D>, + Font: Archive, + <Font as Archive>::Archived: Deserialize<Font, __D>, + FontSize: Archive, + <FontSize as Archive>::Archived: Deserialize<FontSize, __D>, + Padding: Archive, + <Padding as Archive>::Archived: Deserialize<Padding, __D>, + TabSize: Archive, + <TabSize as Archive>::Archived: Deserialize<TabSize, __D>,

source§

fn deserialize( + &self, + deserializer: &mut __D, +) -> Result<UserPreferences, <__D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl From<UserPreferences> for UpdateUserPrefsBody

source§

fn from(inner: UserPreferences) -> UpdateUserPrefsBody

Converts to this type from the input type.
source§

impl<__S: Fallible + ?Sized> Serialize<__S> for UserPreferences
where + Locale: Serialize<__S>, + UserPrefsFlags: Serialize<__S>, + FriendAddability: Serialize<__S>, + Temperature: Serialize<__S>, + Font: Serialize<__S>, + FontSize: Serialize<__S>, + Padding: Serialize<__S>, + TabSize: Serialize<__S>,

source§

fn serialize( + &self, + serializer: &mut __S, +) -> Result<<Self as Archive>::Resolver, <__S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.
source§

impl Serialize for UserPreferences

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where + T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T> ToOwned for T
where + T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
source§

impl<T> CommandBody for T
where + T: Send + Serialize + Archive,

source§

impl<T> CommandResult for T
where + T: Send + DeserializeOwned + Serialize + Archive,

source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/user/struct.UserPreferencesResolver.html b/client_sdk/models/user/struct.UserPreferencesResolver.html new file mode 100644 index 000000000..fc44615f3 --- /dev/null +++ b/client_sdk/models/user/struct.UserPreferencesResolver.html @@ -0,0 +1,29 @@ +UserPreferencesResolver in client_sdk::models::user - Rust

Struct client_sdk::models::user::UserPreferencesResolver

source ·
pub struct UserPreferencesResolver
where + Locale: Archive, + UserPrefsFlags: Archive, + FriendAddability: Archive, + Temperature: Archive, + Font: Archive, + FontSize: Archive, + Padding: Archive, + TabSize: Archive,
{ /* private fields */ }
Expand description

The resolver for an archived UserPreferences

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/user/struct.UserPrefsFlags.html b/client_sdk/models/user/struct.UserPrefsFlags.html new file mode 100644 index 000000000..f08043915 --- /dev/null +++ b/client_sdk/models/user/struct.UserPrefsFlags.html @@ -0,0 +1,142 @@ +UserPrefsFlags in client_sdk::models::user - Rust

Struct client_sdk::models::user::UserPrefsFlags

source ·
pub struct UserPrefsFlags(/* private fields */);

Implementations§

source§

impl UserPrefsFlags

source

pub const REDUCE_ANIMATIONS: Self = _

Reduce movement and animations in the UI

+
source

pub const UNFOCUS_PAUSE: Self = _

Pause animations on window unfocus

+
source

pub const LIGHT_MODE: Self = _

source

pub const ALLOW_DMS: Self = _

Allow direct messages from shared server memmbers

+
source

pub const GROUP_LINES: Self = _

Show small lines between message groups

+
source

pub const HIDE_AVATARS: Self = _

source

pub const OLED_MODE: Self = _

Display dark theme in an OLED-compatible mode

+
source

pub const MUTE_MEDIA: Self = _

Mute videos/audio by default

+
source

pub const HIDE_UNKNOWN_DIMENSIONS: Self = _

Hide images/video with unknown dimensions

+
source

pub const COMPACT_VIEW: Self = _

source

pub const USE_PLATFORM_EMOJIS: Self = _

Prefer browser/platform emojis rather than twemoji

+
source

pub const ENABLE_SPELLCHECK: Self = _

source

pub const LOW_BANDWIDTH_MODE: Self = _

source

pub const FORCE_COLOR_CONSTRAST: Self = _

source

pub const SHOW_MEDIA_METADATA: Self = _

Displays information like mime type and file size

+
source

pub const DEVELOPER_MODE: Self = _

source

pub const SHOW_DATE_CHANGE: Self = _

source

pub const HIDE_LAST_ACTIVE: Self = _

source

pub const SHOW_GREY_IMAGE_BG: Self = _

Show grey background color for images +(helps keep transparent pixels consistent)

+
source

pub const SHOW_ATTACHMENT_GRID: Self = _

When multiple attachments are present, condense them +into a grid to avoid cluttering the channel

+
source

pub const SMALLER_ATTACHMENTS: Self = _

source

pub const HIDE_ALL_EMBEDS: Self = _

source

pub const HIDE_NSFW_EMBEDS: Self = _

source

pub const DEFAULT_FLAGS: Self = _

source§

impl UserPrefsFlags

source

pub const fn empty() -> Self

Get a flags value with all bits unset.

+
source

pub const fn all() -> Self

Get a flags value with all known bits set.

+
source

pub const fn bits(&self) -> i32

Get the underlying bits value.

+

The returned value is exactly the bits set in this flags value.

+
source

pub const fn from_bits(bits: i32) -> Option<Self>

Convert from a bits value.

+

This method will return None if any unknown bits are set.

+
source

pub const fn from_bits_truncate(bits: i32) -> Self

Convert from a bits value, unsetting any unknown bits.

+
source

pub const fn from_bits_retain(bits: i32) -> Self

Convert from a bits value exactly.

+
source

pub fn from_name(name: &str) -> Option<Self>

Get a flags value with the bits of a flag with the given name set.

+

This method will return None if name is empty or doesn’t +correspond to any named flag.

+
source

pub const fn is_empty(&self) -> bool

Whether all bits in this flags value are unset.

+
source

pub const fn is_all(&self) -> bool

Whether all known bits in this flags value are set.

+
source

pub const fn intersects(&self, other: Self) -> bool

Whether any set bits in a source flags value are also set in a target flags value.

+
source

pub const fn contains(&self, other: Self) -> bool

Whether all set bits in a source flags value are also set in a target flags value.

+
source

pub fn insert(&mut self, other: Self)

The bitwise or (|) of the bits in two flags values.

+
source

pub fn remove(&mut self, other: Self)

The intersection of a source flags value with the complement of a target flags value (&!).

+

This method is not equivalent to self & !other when other has unknown bits set. +remove won’t truncate other, but the ! operator will.

+
source

pub fn toggle(&mut self, other: Self)

The bitwise exclusive-or (^) of the bits in two flags values.

+
source

pub fn set(&mut self, other: Self, value: bool)

Call insert when value is true or remove when value is false.

+
source

pub const fn intersection(self, other: Self) -> Self

The bitwise and (&) of the bits in two flags values.

+
source

pub const fn union(self, other: Self) -> Self

The bitwise or (|) of the bits in two flags values.

+
source

pub const fn difference(self, other: Self) -> Self

The intersection of a source flags value with the complement of a target flags value (&!).

+

This method is not equivalent to self & !other when other has unknown bits set. +difference won’t truncate other, but the ! operator will.

+
source

pub const fn symmetric_difference(self, other: Self) -> Self

The bitwise exclusive-or (^) of the bits in two flags values.

+
source

pub const fn complement(self) -> Self

The bitwise negation (!) of the bits in a flags value, truncating the result.

+
source§

impl UserPrefsFlags

source

pub const fn iter(&self) -> Iter<UserPrefsFlags>

Yield a set of contained flags values.

+

Each yielded flags value will correspond to a defined named flag. Any unknown bits +will be yielded together as a final flags value.

+
source

pub const fn iter_names(&self) -> IterNames<UserPrefsFlags>

Yield a set of contained named flags values.

+

This method is like iter, except only yields bits in contained named flags. +Any unknown bits, or bits not corresponding to a contained flag will not be yielded.

+

Trait Implementations§

source§

impl Archive for UserPrefsFlags

source§

type Archived = ArchivedUserPrefsFlags

The archived representation of this type. Read more
source§

type Resolver = ()

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

fn resolve(&self, _: (), out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
source§

impl Binary for UserPrefsFlags

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl BitAnd for UserPrefsFlags

source§

fn bitand(self, other: Self) -> Self

The bitwise and (&) of the bits in two flags values.

+
source§

type Output = UserPrefsFlags

The resulting type after applying the & operator.
source§

impl BitAndAssign for UserPrefsFlags

source§

fn bitand_assign(&mut self, other: Self)

The bitwise and (&) of the bits in two flags values.

+
source§

impl BitOr for UserPrefsFlags

source§

fn bitor(self, other: UserPrefsFlags) -> Self

The bitwise or (|) of the bits in two flags values.

+
source§

type Output = UserPrefsFlags

The resulting type after applying the | operator.
source§

impl BitOrAssign for UserPrefsFlags

source§

fn bitor_assign(&mut self, other: Self)

The bitwise or (|) of the bits in two flags values.

+
source§

impl BitXor for UserPrefsFlags

source§

fn bitxor(self, other: Self) -> Self

The bitwise exclusive-or (^) of the bits in two flags values.

+
source§

type Output = UserPrefsFlags

The resulting type after applying the ^ operator.
source§

impl BitXorAssign for UserPrefsFlags

source§

fn bitxor_assign(&mut self, other: Self)

The bitwise exclusive-or (^) of the bits in two flags values.

+
source§

impl Clone for UserPrefsFlags

source§

fn clone(&self) -> UserPrefsFlags

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for UserPrefsFlags

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for UserPrefsFlags

source§

fn default() -> Self

Returns the “default value” for a type. Read more
source§

impl<'de> Deserialize<'de> for UserPrefsFlags

source§

fn deserialize<D>(deserializer: D) -> Result<UserPrefsFlags, D::Error>
where + D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl<D: Fallible + ?Sized> Deserialize<UserPrefsFlags, D> for ArchivedUserPrefsFlags

source§

fn deserialize(&self, _: &mut D) -> Result<UserPrefsFlags, D::Error>

Deserializes using the given deserializer
source§

impl Extend<UserPrefsFlags> for UserPrefsFlags

source§

fn extend<T: IntoIterator<Item = Self>>(&mut self, iterator: T)

The bitwise or (|) of the bits in each flags value.

+
source§

fn extend_one(&mut self, item: A)

🔬This is a nightly-only experimental API. (extend_one)
Extends a collection with exactly one element.
source§

fn extend_reserve(&mut self, additional: usize)

🔬This is a nightly-only experimental API. (extend_one)
Reserves capacity in a collection for the given number of additional elements. Read more
source§

impl Flags for UserPrefsFlags

source§

const FLAGS: &'static [Flag<UserPrefsFlags>] = _

The set of defined flags.
source§

type Bits = i32

The underlying bits type.
source§

fn bits(&self) -> i32

Get the underlying bits value. Read more
source§

fn from_bits_retain(bits: i32) -> UserPrefsFlags

Convert from a bits value exactly.
§

fn empty() -> Self

Get a flags value with all bits unset.
§

fn all() -> Self

Get a flags value with all known bits set.
§

fn from_bits(bits: Self::Bits) -> Option<Self>

Convert from a bits value. Read more
§

fn from_bits_truncate(bits: Self::Bits) -> Self

Convert from a bits value, unsetting any unknown bits.
§

fn from_name(name: &str) -> Option<Self>

Get a flags value with the bits of a flag with the given name set. Read more
§

fn iter(&self) -> Iter<Self>

Yield a set of contained flags values. Read more
§

fn iter_names(&self) -> IterNames<Self>

Yield a set of contained named flags values. Read more
§

fn is_empty(&self) -> bool

Whether all bits in this flags value are unset.
§

fn is_all(&self) -> bool

Whether all known bits in this flags value are set.
§

fn intersects(&self, other: Self) -> bool
where + Self: Sized,

Whether any set bits in a source flags value are also set in a target flags value.
§

fn contains(&self, other: Self) -> bool
where + Self: Sized,

Whether all set bits in a source flags value are also set in a target flags value.
§

fn insert(&mut self, other: Self)
where + Self: Sized,

The bitwise or (|) of the bits in two flags values.
§

fn remove(&mut self, other: Self)
where + Self: Sized,

The intersection of a source flags value with the complement of a target flags value (&!). Read more
§

fn toggle(&mut self, other: Self)
where + Self: Sized,

The bitwise exclusive-or (^) of the bits in two flags values.
§

fn set(&mut self, other: Self, value: bool)
where + Self: Sized,

Call [Flags::insert] when value is true or [Flags::remove] when value is false.
§

fn intersection(self, other: Self) -> Self

The bitwise and (&) of the bits in two flags values.
§

fn union(self, other: Self) -> Self

The bitwise or (|) of the bits in two flags values.
§

fn difference(self, other: Self) -> Self

The intersection of a source flags value with the complement of a target flags value (&!). Read more
§

fn symmetric_difference(self, other: Self) -> Self

The bitwise exclusive-or (^) of the bits in two flags values.
§

fn complement(self) -> Self

The bitwise negation (!) of the bits in a flags value, truncating the result.
source§

impl From<ArchivedUserPrefsFlags> for UserPrefsFlags

source§

fn from(archived: ArchivedUserPrefsFlags) -> Self

Converts to this type from the input type.
source§

impl From<u64> for UserPrefsFlags

source§

fn from(value: u64) -> Self

Converts to this type from the input type.
source§

impl FromIterator<UserPrefsFlags> for UserPrefsFlags

source§

fn from_iter<T: IntoIterator<Item = Self>>(iterator: T) -> Self

The bitwise or (|) of the bits in each flags value.

+
source§

impl<'a> FromSql<'a> for UserPrefsFlags

source§

fn from_sql( + ty: &Type, + raw: &'a [u8], +) -> Result<Self, Box<dyn Error + Sync + Send>>

Creates a new value of this type from a buffer of data of the specified +Postgres Type in its binary format. Read more
source§

fn accepts(ty: &Type) -> bool

Determines if a value of this type can be created from the specified +Postgres Type.
§

fn from_sql_null(ty: &Type) -> Result<Self, Box<dyn Error + Sync + Send>>

Creates a new value of this type from a NULL SQL value. Read more
§

fn from_sql_nullable( + ty: &Type, + raw: Option<&'a [u8]>, +) -> Result<Self, Box<dyn Error + Sync + Send>>

A convenience function that delegates to from_sql and from_sql_null depending on the +value of raw.
source§

impl FromSql for UserPrefsFlags

source§

fn column_result(value: ValueRef<'_>) -> FromSqlResult<Self>

Converts SQLite value into Rust value.
source§

impl Hash for UserPrefsFlags

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where + H: Hasher, + Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl IntoIterator for UserPrefsFlags

source§

type Item = UserPrefsFlags

The type of the elements being iterated over.
source§

type IntoIter = Iter<UserPrefsFlags>

Which kind of iterator are we turning this into?
source§

fn into_iter(self) -> Self::IntoIter

Creates an iterator from a value. Read more
source§

impl LowerHex for UserPrefsFlags

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Not for UserPrefsFlags

source§

fn not(self) -> Self

The bitwise negation (!) of the bits in a flags value, truncating the result.

+
source§

type Output = UserPrefsFlags

The resulting type after applying the ! operator.
source§

impl Octal for UserPrefsFlags

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl PartialEq<ArchivedUserPrefsFlags> for UserPrefsFlags

source§

fn eq(&self, other: &ArchivedUserPrefsFlags) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl PartialEq<UserPrefsFlags> for ArchivedUserPrefsFlags

source§

fn eq(&self, other: &UserPrefsFlags) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl PartialEq for UserPrefsFlags

source§

fn eq(&self, other: &UserPrefsFlags) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl PublicFlags for UserPrefsFlags

source§

type Primitive = i32

The type of the underlying storage.
source§

type Internal = InternalBitFlags

The type of the internal field on the generated flags type.
source§

impl<S: Fallible + ?Sized> Serialize<S> for UserPrefsFlags

source§

fn serialize(&self, _: &mut S) -> Result<(), S::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.
source§

impl Serialize for UserPrefsFlags

source§

fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
where + S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Sub for UserPrefsFlags

source§

fn sub(self, other: Self) -> Self

The intersection of a source flags value with the complement of a target flags value (&!).

+

This method is not equivalent to self & !other when other has unknown bits set. +difference won’t truncate other, but the ! operator will.

+
source§

type Output = UserPrefsFlags

The resulting type after applying the - operator.
source§

impl SubAssign for UserPrefsFlags

source§

fn sub_assign(&mut self, other: Self)

The intersection of a source flags value with the complement of a target flags value (&!).

+

This method is not equivalent to self & !other when other has unknown bits set. +difference won’t truncate other, but the ! operator will.

+
source§

impl ToSql for UserPrefsFlags

source§

fn to_sql(&self) -> Result<ToSqlOutput<'_>>

Converts Rust value to SQLite value
source§

impl ToSql for UserPrefsFlags

source§

fn to_sql( + &self, + ty: &Type, + out: &mut BytesMut, +) -> Result<IsNull, Box<dyn Error + Sync + Send>>
where + Self: Sized,

Converts the value of self into the binary format of the specified +Postgres Type, appending it to out. Read more
source§

fn accepts(ty: &Type) -> bool

Determines if a value of this type can be converted to the specified +Postgres Type.
source§

fn to_sql_checked( + &self, + ty: &Type, + out: &mut BytesMut, +) -> Result<IsNull, Box<dyn Error + Sync + Send>>

An adaptor method used internally by Rust-Postgres. Read more
§

fn encode_format(&self, _ty: &Type) -> Format

Specify the encode format
source§

impl UpperHex for UserPrefsFlags

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Copy for UserPrefsFlags

source§

impl Eq for UserPrefsFlags

source§

impl StructuralPartialEq for UserPrefsFlags

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> BorrowToSql for T
where + T: ToSql,

§

fn borrow_to_sql(&self) -> &dyn ToSql

Returns a reference to self as a ToSql trait object.
source§

impl<T> CloneToUninit for T
where + T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T> ToOwned for T
where + T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
source§

impl<T> CommandBody for T
where + T: Send + Serialize + Archive,

source§

impl<T> CommandResult for T
where + T: Send + DeserializeOwned + Serialize + Archive,

source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> FromSqlOwned for T
where + T: for<'a> FromSql<'a>,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/user/struct.UserProfile.html b/client_sdk/models/user/struct.UserProfile.html new file mode 100644 index 000000000..360346100 --- /dev/null +++ b/client_sdk/models/user/struct.UserProfile.html @@ -0,0 +1,71 @@ +UserProfile in client_sdk::models::user - Rust

Struct client_sdk::models::user::UserProfile

source ·
pub struct UserProfile {
+    pub bits: UserProfileBits,
+    pub extra: ExtraUserProfileBits,
+    pub nick: Nullable<SmolStr>,
+    pub avatar: Nullable<EncryptedSnowflake>,
+    pub banner: Nullable<EncryptedSnowflake>,
+    pub status: Nullable<SmolStr>,
+    pub bio: Nullable<SmolStr>,
+}

Fields§

§bits: UserProfileBits§extra: ExtraUserProfileBits§nick: Nullable<SmolStr>§avatar: Nullable<EncryptedSnowflake>§banner: Nullable<EncryptedSnowflake>§status: Nullable<SmolStr>§bio: Nullable<SmolStr>

Implementations§

source§

impl UserProfile

source

pub fn roundedness(&self) -> f32

source

pub fn override_color(&self) -> bool

source

pub fn color(&self) -> u32

Trait Implementations§

source§

impl Archive for UserProfile
where + UserProfileBits: Archive, + ExtraUserProfileBits: Archive, + Nullable<SmolStr>: Archive, + Nullable<EncryptedSnowflake>: Archive,

source§

type Archived = ArchivedUserProfile

The archived representation of this type. Read more
source§

type Resolver = UserProfileResolver

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
source§

impl Clone for UserProfile

source§

fn clone(&self) -> UserProfile

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for UserProfile

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for UserProfile

source§

fn default() -> UserProfile

Returns the “default value” for a type. Read more
source§

impl<'de> Deserialize<'de> for UserProfile

source§

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<__D: Fallible + ?Sized> Deserialize<UserProfile, __D> for Archived<UserProfile>
where + UserProfileBits: Archive, + <UserProfileBits as Archive>::Archived: Deserialize<UserProfileBits, __D>, + ExtraUserProfileBits: Archive, + <ExtraUserProfileBits as Archive>::Archived: Deserialize<ExtraUserProfileBits, __D>, + Nullable<SmolStr>: Archive, + <Nullable<SmolStr> as Archive>::Archived: Deserialize<Nullable<SmolStr>, __D>, + Nullable<EncryptedSnowflake>: Archive, + <Nullable<EncryptedSnowflake> as Archive>::Archived: Deserialize<Nullable<EncryptedSnowflake>, __D>,

source§

fn deserialize( + &self, + deserializer: &mut __D, +) -> Result<UserProfile, <__D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<__S: Fallible + ?Sized> Serialize<__S> for UserProfile
where + UserProfileBits: Serialize<__S>, + ExtraUserProfileBits: Serialize<__S>, + Nullable<SmolStr>: Serialize<__S>, + Nullable<EncryptedSnowflake>: Serialize<__S>,

source§

fn serialize( + &self, + serializer: &mut __S, +) -> Result<<Self as Archive>::Resolver, <__S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.
source§

impl Serialize for UserProfile

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where + T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T> ToOwned for T
where + T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
source§

impl<T> CommandBody for T
where + T: Send + Serialize + Archive,

source§

impl<T> CommandResult for T
where + T: Send + DeserializeOwned + Serialize + Archive,

source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/user/struct.UserProfileBits.html b/client_sdk/models/user/struct.UserProfileBits.html new file mode 100644 index 000000000..c51ec13aa --- /dev/null +++ b/client_sdk/models/user/struct.UserProfileBits.html @@ -0,0 +1,129 @@ +UserProfileBits in client_sdk::models::user - Rust

Struct client_sdk::models::user::UserProfileBits

source ·
pub struct UserProfileBits(/* private fields */);

Implementations§

source§

impl UserProfileBits

source

pub const AVATAR_ROUNDNESS: Self = _

source

pub const OVERRIDE_COLOR: Self = _

source

pub const PRIMARY_COLOR: Self = _

source§

impl UserProfileBits

source

pub const fn empty() -> Self

Get a flags value with all bits unset.

+
source

pub const fn all() -> Self

Get a flags value with all known bits set.

+
source

pub const fn bits(&self) -> i32

Get the underlying bits value.

+

The returned value is exactly the bits set in this flags value.

+
source

pub const fn from_bits(bits: i32) -> Option<Self>

Convert from a bits value.

+

This method will return None if any unknown bits are set.

+
source

pub const fn from_bits_truncate(bits: i32) -> Self

Convert from a bits value, unsetting any unknown bits.

+
source

pub const fn from_bits_retain(bits: i32) -> Self

Convert from a bits value exactly.

+
source

pub fn from_name(name: &str) -> Option<Self>

Get a flags value with the bits of a flag with the given name set.

+

This method will return None if name is empty or doesn’t +correspond to any named flag.

+
source

pub const fn is_empty(&self) -> bool

Whether all bits in this flags value are unset.

+
source

pub const fn is_all(&self) -> bool

Whether all known bits in this flags value are set.

+
source

pub const fn intersects(&self, other: Self) -> bool

Whether any set bits in a source flags value are also set in a target flags value.

+
source

pub const fn contains(&self, other: Self) -> bool

Whether all set bits in a source flags value are also set in a target flags value.

+
source

pub fn insert(&mut self, other: Self)

The bitwise or (|) of the bits in two flags values.

+
source

pub fn remove(&mut self, other: Self)

The intersection of a source flags value with the complement of a target flags value (&!).

+

This method is not equivalent to self & !other when other has unknown bits set. +remove won’t truncate other, but the ! operator will.

+
source

pub fn toggle(&mut self, other: Self)

The bitwise exclusive-or (^) of the bits in two flags values.

+
source

pub fn set(&mut self, other: Self, value: bool)

Call insert when value is true or remove when value is false.

+
source

pub const fn intersection(self, other: Self) -> Self

The bitwise and (&) of the bits in two flags values.

+
source

pub const fn union(self, other: Self) -> Self

The bitwise or (|) of the bits in two flags values.

+
source

pub const fn difference(self, other: Self) -> Self

The intersection of a source flags value with the complement of a target flags value (&!).

+

This method is not equivalent to self & !other when other has unknown bits set. +difference won’t truncate other, but the ! operator will.

+
source

pub const fn symmetric_difference(self, other: Self) -> Self

The bitwise exclusive-or (^) of the bits in two flags values.

+
source

pub const fn complement(self) -> Self

The bitwise negation (!) of the bits in a flags value, truncating the result.

+
source§

impl UserProfileBits

source

pub const fn iter(&self) -> Iter<UserProfileBits>

Yield a set of contained flags values.

+

Each yielded flags value will correspond to a defined named flag. Any unknown bits +will be yielded together as a final flags value.

+
source

pub const fn iter_names(&self) -> IterNames<UserProfileBits>

Yield a set of contained named flags values.

+

This method is like iter, except only yields bits in contained named flags. +Any unknown bits, or bits not corresponding to a contained flag will not be yielded.

+

Trait Implementations§

source§

impl Archive for UserProfileBits

source§

type Archived = ArchivedUserProfileBits

The archived representation of this type. Read more
source§

type Resolver = ()

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

fn resolve(&self, _: (), out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
source§

impl Binary for UserProfileBits

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl BitAnd for UserProfileBits

source§

fn bitand(self, other: Self) -> Self

The bitwise and (&) of the bits in two flags values.

+
source§

type Output = UserProfileBits

The resulting type after applying the & operator.
source§

impl BitAndAssign for UserProfileBits

source§

fn bitand_assign(&mut self, other: Self)

The bitwise and (&) of the bits in two flags values.

+
source§

impl BitOr for UserProfileBits

source§

fn bitor(self, other: UserProfileBits) -> Self

The bitwise or (|) of the bits in two flags values.

+
source§

type Output = UserProfileBits

The resulting type after applying the | operator.
source§

impl BitOrAssign for UserProfileBits

source§

fn bitor_assign(&mut self, other: Self)

The bitwise or (|) of the bits in two flags values.

+
source§

impl BitXor for UserProfileBits

source§

fn bitxor(self, other: Self) -> Self

The bitwise exclusive-or (^) of the bits in two flags values.

+
source§

type Output = UserProfileBits

The resulting type after applying the ^ operator.
source§

impl BitXorAssign for UserProfileBits

source§

fn bitxor_assign(&mut self, other: Self)

The bitwise exclusive-or (^) of the bits in two flags values.

+
source§

impl Clone for UserProfileBits

source§

fn clone(&self) -> UserProfileBits

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for UserProfileBits

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for UserProfileBits

source§

fn default() -> UserProfileBits

Returns the “default value” for a type. Read more
source§

impl<'de> Deserialize<'de> for UserProfileBits

source§

fn deserialize<D>(deserializer: D) -> Result<UserProfileBits, D::Error>
where + D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl<D: Fallible + ?Sized> Deserialize<UserProfileBits, D> for ArchivedUserProfileBits

source§

fn deserialize(&self, _: &mut D) -> Result<UserProfileBits, D::Error>

Deserializes using the given deserializer
source§

impl Extend<UserProfileBits> for UserProfileBits

source§

fn extend<T: IntoIterator<Item = Self>>(&mut self, iterator: T)

The bitwise or (|) of the bits in each flags value.

+
source§

fn extend_one(&mut self, item: A)

🔬This is a nightly-only experimental API. (extend_one)
Extends a collection with exactly one element.
source§

fn extend_reserve(&mut self, additional: usize)

🔬This is a nightly-only experimental API. (extend_one)
Reserves capacity in a collection for the given number of additional elements. Read more
source§

impl Flags for UserProfileBits

source§

const FLAGS: &'static [Flag<UserProfileBits>] = _

The set of defined flags.
source§

type Bits = i32

The underlying bits type.
source§

fn bits(&self) -> i32

Get the underlying bits value. Read more
source§

fn from_bits_retain(bits: i32) -> UserProfileBits

Convert from a bits value exactly.
§

fn empty() -> Self

Get a flags value with all bits unset.
§

fn all() -> Self

Get a flags value with all known bits set.
§

fn from_bits(bits: Self::Bits) -> Option<Self>

Convert from a bits value. Read more
§

fn from_bits_truncate(bits: Self::Bits) -> Self

Convert from a bits value, unsetting any unknown bits.
§

fn from_name(name: &str) -> Option<Self>

Get a flags value with the bits of a flag with the given name set. Read more
§

fn iter(&self) -> Iter<Self>

Yield a set of contained flags values. Read more
§

fn iter_names(&self) -> IterNames<Self>

Yield a set of contained named flags values. Read more
§

fn is_empty(&self) -> bool

Whether all bits in this flags value are unset.
§

fn is_all(&self) -> bool

Whether all known bits in this flags value are set.
§

fn intersects(&self, other: Self) -> bool
where + Self: Sized,

Whether any set bits in a source flags value are also set in a target flags value.
§

fn contains(&self, other: Self) -> bool
where + Self: Sized,

Whether all set bits in a source flags value are also set in a target flags value.
§

fn insert(&mut self, other: Self)
where + Self: Sized,

The bitwise or (|) of the bits in two flags values.
§

fn remove(&mut self, other: Self)
where + Self: Sized,

The intersection of a source flags value with the complement of a target flags value (&!). Read more
§

fn toggle(&mut self, other: Self)
where + Self: Sized,

The bitwise exclusive-or (^) of the bits in two flags values.
§

fn set(&mut self, other: Self, value: bool)
where + Self: Sized,

Call [Flags::insert] when value is true or [Flags::remove] when value is false.
§

fn intersection(self, other: Self) -> Self

The bitwise and (&) of the bits in two flags values.
§

fn union(self, other: Self) -> Self

The bitwise or (|) of the bits in two flags values.
§

fn difference(self, other: Self) -> Self

The intersection of a source flags value with the complement of a target flags value (&!). Read more
§

fn symmetric_difference(self, other: Self) -> Self

The bitwise exclusive-or (^) of the bits in two flags values.
§

fn complement(self) -> Self

The bitwise negation (!) of the bits in a flags value, truncating the result.
source§

impl From<ArchivedUserProfileBits> for UserProfileBits

source§

fn from(archived: ArchivedUserProfileBits) -> Self

Converts to this type from the input type.
source§

impl FromIterator<UserProfileBits> for UserProfileBits

source§

fn from_iter<T: IntoIterator<Item = Self>>(iterator: T) -> Self

The bitwise or (|) of the bits in each flags value.

+
source§

impl<'a> FromSql<'a> for UserProfileBits

source§

fn from_sql( + ty: &Type, + raw: &'a [u8], +) -> Result<Self, Box<dyn Error + Sync + Send>>

Creates a new value of this type from a buffer of data of the specified +Postgres Type in its binary format. Read more
source§

fn accepts(ty: &Type) -> bool

Determines if a value of this type can be created from the specified +Postgres Type.
§

fn from_sql_null(ty: &Type) -> Result<Self, Box<dyn Error + Sync + Send>>

Creates a new value of this type from a NULL SQL value. Read more
§

fn from_sql_nullable( + ty: &Type, + raw: Option<&'a [u8]>, +) -> Result<Self, Box<dyn Error + Sync + Send>>

A convenience function that delegates to from_sql and from_sql_null depending on the +value of raw.
source§

impl FromSql for UserProfileBits

source§

fn column_result(value: ValueRef<'_>) -> FromSqlResult<Self>

Converts SQLite value into Rust value.
source§

impl Hash for UserProfileBits

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where + H: Hasher, + Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl IntoIterator for UserProfileBits

source§

type Item = UserProfileBits

The type of the elements being iterated over.
source§

type IntoIter = Iter<UserProfileBits>

Which kind of iterator are we turning this into?
source§

fn into_iter(self) -> Self::IntoIter

Creates an iterator from a value. Read more
source§

impl LowerHex for UserProfileBits

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Not for UserProfileBits

source§

fn not(self) -> Self

The bitwise negation (!) of the bits in a flags value, truncating the result.

+
source§

type Output = UserProfileBits

The resulting type after applying the ! operator.
source§

impl Octal for UserProfileBits

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl PartialEq<ArchivedUserProfileBits> for UserProfileBits

source§

fn eq(&self, other: &ArchivedUserProfileBits) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl PartialEq<UserProfileBits> for ArchivedUserProfileBits

source§

fn eq(&self, other: &UserProfileBits) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl PartialEq for UserProfileBits

source§

fn eq(&self, other: &UserProfileBits) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl PublicFlags for UserProfileBits

source§

type Primitive = i32

The type of the underlying storage.
source§

type Internal = InternalBitFlags

The type of the internal field on the generated flags type.
source§

impl<S: Fallible + ?Sized> Serialize<S> for UserProfileBits

source§

fn serialize(&self, _: &mut S) -> Result<(), S::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.
source§

impl Serialize for UserProfileBits

source§

fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
where + S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Sub for UserProfileBits

source§

fn sub(self, other: Self) -> Self

The intersection of a source flags value with the complement of a target flags value (&!).

+

This method is not equivalent to self & !other when other has unknown bits set. +difference won’t truncate other, but the ! operator will.

+
source§

type Output = UserProfileBits

The resulting type after applying the - operator.
source§

impl SubAssign for UserProfileBits

source§

fn sub_assign(&mut self, other: Self)

The intersection of a source flags value with the complement of a target flags value (&!).

+

This method is not equivalent to self & !other when other has unknown bits set. +difference won’t truncate other, but the ! operator will.

+
source§

impl ToSql for UserProfileBits

source§

fn to_sql(&self) -> Result<ToSqlOutput<'_>>

Converts Rust value to SQLite value
source§

impl ToSql for UserProfileBits

source§

fn to_sql( + &self, + ty: &Type, + out: &mut BytesMut, +) -> Result<IsNull, Box<dyn Error + Sync + Send>>
where + Self: Sized,

Converts the value of self into the binary format of the specified +Postgres Type, appending it to out. Read more
source§

fn accepts(ty: &Type) -> bool

Determines if a value of this type can be converted to the specified +Postgres Type.
source§

fn to_sql_checked( + &self, + ty: &Type, + out: &mut BytesMut, +) -> Result<IsNull, Box<dyn Error + Sync + Send>>

An adaptor method used internally by Rust-Postgres. Read more
§

fn encode_format(&self, _ty: &Type) -> Format

Specify the encode format
source§

impl UpperHex for UserProfileBits

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Copy for UserProfileBits

source§

impl Eq for UserProfileBits

source§

impl StructuralPartialEq for UserProfileBits

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> BorrowToSql for T
where + T: ToSql,

§

fn borrow_to_sql(&self) -> &dyn ToSql

Returns a reference to self as a ToSql trait object.
source§

impl<T> CloneToUninit for T
where + T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T> ToOwned for T
where + T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
source§

impl<T> CommandBody for T
where + T: Send + Serialize + Archive,

source§

impl<T> CommandResult for T
where + T: Send + DeserializeOwned + Serialize + Archive,

source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> FromSqlOwned for T
where + T: for<'a> FromSql<'a>,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/user/struct.UserProfileResolver.html b/client_sdk/models/user/struct.UserProfileResolver.html new file mode 100644 index 000000000..dd9db7f95 --- /dev/null +++ b/client_sdk/models/user/struct.UserProfileResolver.html @@ -0,0 +1,25 @@ +UserProfileResolver in client_sdk::models::user - Rust

Struct client_sdk::models::user::UserProfileResolver

source ·
pub struct UserProfileResolver
where + UserProfileBits: Archive, + ExtraUserProfileBits: Archive, + Nullable<SmolStr>: Archive, + Nullable<EncryptedSnowflake>: Archive,
{ /* private fields */ }
Expand description

The resolver for an archived UserProfile

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/user/struct.UserResolver.html b/client_sdk/models/user/struct.UserResolver.html new file mode 100644 index 000000000..03baebe78 --- /dev/null +++ b/client_sdk/models/user/struct.UserResolver.html @@ -0,0 +1,29 @@ +UserResolver in client_sdk::models::user - Rust

Struct client_sdk::models::user::UserResolver

source ·
pub struct UserResolver
where + UserId: Archive, + SmolStr: Archive, + i32: Archive, + UserFlags: Archive, + Nullable<Arc<UserProfile>>: Archive, + Option<SmolStr>: Archive, + Option<UserPreferences>: Archive, + Option<UserPresence>: Archive,
{ /* private fields */ }
Expand description

The resolver for an archived User

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/user/user_relationship_impl/enum.UserRelationship.html b/client_sdk/models/user/user_relationship_impl/enum.UserRelationship.html new file mode 100644 index 000000000..7638c26c8 --- /dev/null +++ b/client_sdk/models/user/user_relationship_impl/enum.UserRelationship.html @@ -0,0 +1,11 @@ + + + + + Redirection + + +

Redirecting to ../../../../client_sdk/models/user/enum.UserRelationship.html...

+ + + \ No newline at end of file diff --git a/client_sdk/models/user/user_relationship_impl/struct.ArchivedUserRelationship.html b/client_sdk/models/user/user_relationship_impl/struct.ArchivedUserRelationship.html new file mode 100644 index 000000000..153729833 --- /dev/null +++ b/client_sdk/models/user/user_relationship_impl/struct.ArchivedUserRelationship.html @@ -0,0 +1,11 @@ + + + + + Redirection + + +

Redirecting to ../../../../client_sdk/models/user/struct.ArchivedUserRelationship.html...

+ + + \ No newline at end of file diff --git a/client_sdk/models/util/fixed_str/index.html b/client_sdk/models/util/fixed_str/index.html new file mode 100644 index 000000000..2e3a638a4 --- /dev/null +++ b/client_sdk/models/util/fixed_str/index.html @@ -0,0 +1,2 @@ +client_sdk::models::util::fixed_str - Rust

Module client_sdk::models::util::fixed_str

source ·
Expand description

Small fixed-size string type that can only be a given length, no more or less, exactly N bytes.

+

Structs§

  • Fixed-size String that can only be a given length, no more or less, exactly N bytes
\ No newline at end of file diff --git a/client_sdk/models/util/fixed_str/sidebar-items.js b/client_sdk/models/util/fixed_str/sidebar-items.js new file mode 100644 index 000000000..ec5094e23 --- /dev/null +++ b/client_sdk/models/util/fixed_str/sidebar-items.js @@ -0,0 +1 @@ +window.SIDEBAR_ITEMS = {"struct":["FixedStr"]}; \ No newline at end of file diff --git a/client_sdk/models/util/fixed_str/struct.FixedStr.html b/client_sdk/models/util/fixed_str/struct.FixedStr.html new file mode 100644 index 000000000..fa9161eaa --- /dev/null +++ b/client_sdk/models/util/fixed_str/struct.FixedStr.html @@ -0,0 +1,1481 @@ +FixedStr in client_sdk::models::util::fixed_str - Rust

Struct client_sdk::models::util::fixed_str::FixedStr

source ·
pub struct FixedStr<const N: usize> { /* private fields */ }
Expand description

Fixed-size String that can only be a given length, no more or less, exactly N bytes

+

Implementations§

source§

impl<const N: usize> FixedStr<N>

source

pub const LEN: usize = N

source

pub const fn repeat_ascii(c: char) -> FixedStr<N>

Construct a new FixedStr from a given ASCII character repeated for the entire length

+
§Panics
+
    +
  • if the character is not ASCII
  • +
+
source

pub const fn new(s: &str) -> FixedStr<N>

Construct a new FixedStr from a &str if the length is correct.

+
§Panics
+
    +
  • if the length is not exactly correct.
  • +
+
source

pub const unsafe fn from_bytes(bytes: [u8; N]) -> FixedStr<N>

Construct a new FixedStr from a byte array, assuming valid utf-8.

+
§Safety
+

This function is unsafe because in release-mode it does not check if the +bytes are valid utf-8.

+
§Panics
+
    +
  • In debug mode, this function will panic if the bytes are not valid utf-8.
  • +
  • In release mode, this function will not check the bytes.
  • +
+
source

pub const fn try_from(s: &str) -> Option<FixedStr<N>>

Construct a new FixedStr from a &str if the length is correct.

+
source

pub fn as_str(&self) -> &str

Methods from Deref<Target = str>§

1.0.0 · source

pub fn len(&self) -> usize

Returns the length of self.

+

This length is in bytes, not chars or graphemes. In other words, +it might not be what a human considers the length of the string.

+
§Examples
+
let len = "foo".len();
+assert_eq!(3, len);
+
+assert_eq!("ƒoo".len(), 4); // fancy f!
+assert_eq!("ƒoo".chars().count(), 3);
+
1.0.0 · source

pub fn is_empty(&self) -> bool

Returns true if self has a length of zero bytes.

+
§Examples
+
let s = "";
+assert!(s.is_empty());
+
+let s = "not empty";
+assert!(!s.is_empty());
+
1.9.0 · source

pub fn is_char_boundary(&self, index: usize) -> bool

Checks that index-th byte is the first byte in a UTF-8 code point +sequence or the end of the string.

+

The start and end of the string (when index == self.len()) are +considered to be boundaries.

+

Returns false if index is greater than self.len().

+
§Examples
+
let s = "Löwe 老虎 Léopard";
+assert!(s.is_char_boundary(0));
+// start of `老`
+assert!(s.is_char_boundary(6));
+assert!(s.is_char_boundary(s.len()));
+
+// second byte of `ö`
+assert!(!s.is_char_boundary(2));
+
+// third byte of `老`
+assert!(!s.is_char_boundary(8));
+
source

pub fn floor_char_boundary(&self, index: usize) -> usize

🔬This is a nightly-only experimental API. (round_char_boundary)

Finds the closest x not exceeding index where is_char_boundary(x) is true.

+

This method can help you truncate a string so that it’s still valid UTF-8, but doesn’t +exceed a given number of bytes. Note that this is done purely at the character level +and can still visually split graphemes, even though the underlying characters aren’t +split. For example, the emoji 🧑‍🔬 (scientist) could be split so that the string only +includes 🧑 (person) instead.

+
§Examples
+
#![feature(round_char_boundary)]
+let s = "❤️🧡💛💚💙💜";
+assert_eq!(s.len(), 26);
+assert!(!s.is_char_boundary(13));
+
+let closest = s.floor_char_boundary(13);
+assert_eq!(closest, 10);
+assert_eq!(&s[..closest], "❤️🧡");
+
source

pub fn ceil_char_boundary(&self, index: usize) -> usize

🔬This is a nightly-only experimental API. (round_char_boundary)

Finds the closest x not below index where is_char_boundary(x) is true.

+

If index is greater than the length of the string, this returns the length of the string.

+

This method is the natural complement to floor_char_boundary. See that method +for more details.

+
§Examples
+
#![feature(round_char_boundary)]
+let s = "❤️🧡💛💚💙💜";
+assert_eq!(s.len(), 26);
+assert!(!s.is_char_boundary(13));
+
+let closest = s.ceil_char_boundary(13);
+assert_eq!(closest, 14);
+assert_eq!(&s[..closest], "❤️🧡💛");
+
1.0.0 · source

pub fn as_bytes(&self) -> &[u8]

Converts a string slice to a byte slice. To convert the byte slice back +into a string slice, use the from_utf8 function.

+
§Examples
+
let bytes = "bors".as_bytes();
+assert_eq!(b"bors", bytes);
+
1.20.0 · source

pub unsafe fn as_bytes_mut(&mut self) -> &mut [u8]

Converts a mutable string slice to a mutable byte slice.

+
§Safety
+

The caller must ensure that the content of the slice is valid UTF-8 +before the borrow ends and the underlying str is used.

+

Use of a str whose contents are not valid UTF-8 is undefined behavior.

+
§Examples
+

Basic usage:

+ +
let mut s = String::from("Hello");
+let bytes = unsafe { s.as_bytes_mut() };
+
+assert_eq!(b"Hello", bytes);
+

Mutability:

+ +
let mut s = String::from("🗻∈🌏");
+
+unsafe {
+    let bytes = s.as_bytes_mut();
+
+    bytes[0] = 0xF0;
+    bytes[1] = 0x9F;
+    bytes[2] = 0x8D;
+    bytes[3] = 0x94;
+}
+
+assert_eq!("🍔∈🌏", s);
+
1.0.0 · source

pub fn as_ptr(&self) -> *const u8

Converts a string slice to a raw pointer.

+

As string slices are a slice of bytes, the raw pointer points to a +u8. This pointer will be pointing to the first byte of the string +slice.

+

The caller must ensure that the returned pointer is never written to. +If you need to mutate the contents of the string slice, use as_mut_ptr.

+
§Examples
+
let s = "Hello";
+let ptr = s.as_ptr();
+
1.36.0 · source

pub fn as_mut_ptr(&mut self) -> *mut u8

Converts a mutable string slice to a raw pointer.

+

As string slices are a slice of bytes, the raw pointer points to a +u8. This pointer will be pointing to the first byte of the string +slice.

+

It is your responsibility to make sure that the string slice only gets +modified in a way that it remains valid UTF-8.

+
1.20.0 · source

pub fn get<I>(&self, i: I) -> Option<&<I as SliceIndex<str>>::Output>
where + I: SliceIndex<str>,

Returns a subslice of str.

+

This is the non-panicking alternative to indexing the str. Returns +None whenever equivalent indexing operation would panic.

+
§Examples
+
let v = String::from("🗻∈🌏");
+
+assert_eq!(Some("🗻"), v.get(0..4));
+
+// indices not on UTF-8 sequence boundaries
+assert!(v.get(1..).is_none());
+assert!(v.get(..8).is_none());
+
+// out of bounds
+assert!(v.get(..42).is_none());
+
1.20.0 · source

pub fn get_mut<I>( + &mut self, + i: I, +) -> Option<&mut <I as SliceIndex<str>>::Output>
where + I: SliceIndex<str>,

Returns a mutable subslice of str.

+

This is the non-panicking alternative to indexing the str. Returns +None whenever equivalent indexing operation would panic.

+
§Examples
+
let mut v = String::from("hello");
+// correct length
+assert!(v.get_mut(0..5).is_some());
+// out of bounds
+assert!(v.get_mut(..42).is_none());
+assert_eq!(Some("he"), v.get_mut(0..2).map(|v| &*v));
+
+assert_eq!("hello", v);
+{
+    let s = v.get_mut(0..2);
+    let s = s.map(|s| {
+        s.make_ascii_uppercase();
+        &*s
+    });
+    assert_eq!(Some("HE"), s);
+}
+assert_eq!("HEllo", v);
+
1.20.0 · source

pub unsafe fn get_unchecked<I>(&self, i: I) -> &<I as SliceIndex<str>>::Output
where + I: SliceIndex<str>,

Returns an unchecked subslice of str.

+

This is the unchecked alternative to indexing the str.

+
§Safety
+

Callers of this function are responsible that these preconditions are +satisfied:

+
    +
  • The starting index must not exceed the ending index;
  • +
  • Indexes must be within bounds of the original slice;
  • +
  • Indexes must lie on UTF-8 sequence boundaries.
  • +
+

Failing that, the returned string slice may reference invalid memory or +violate the invariants communicated by the str type.

+
§Examples
+
let v = "🗻∈🌏";
+unsafe {
+    assert_eq!("🗻", v.get_unchecked(0..4));
+    assert_eq!("∈", v.get_unchecked(4..7));
+    assert_eq!("🌏", v.get_unchecked(7..11));
+}
+
1.20.0 · source

pub unsafe fn get_unchecked_mut<I>( + &mut self, + i: I, +) -> &mut <I as SliceIndex<str>>::Output
where + I: SliceIndex<str>,

Returns a mutable, unchecked subslice of str.

+

This is the unchecked alternative to indexing the str.

+
§Safety
+

Callers of this function are responsible that these preconditions are +satisfied:

+
    +
  • The starting index must not exceed the ending index;
  • +
  • Indexes must be within bounds of the original slice;
  • +
  • Indexes must lie on UTF-8 sequence boundaries.
  • +
+

Failing that, the returned string slice may reference invalid memory or +violate the invariants communicated by the str type.

+
§Examples
+
let mut v = String::from("🗻∈🌏");
+unsafe {
+    assert_eq!("🗻", v.get_unchecked_mut(0..4));
+    assert_eq!("∈", v.get_unchecked_mut(4..7));
+    assert_eq!("🌏", v.get_unchecked_mut(7..11));
+}
+
1.0.0 · source

pub unsafe fn slice_unchecked(&self, begin: usize, end: usize) -> &str

👎Deprecated since 1.29.0: use get_unchecked(begin..end) instead

Creates a string slice from another string slice, bypassing safety +checks.

+

This is generally not recommended, use with caution! For a safe +alternative see str and Index.

+

This new slice goes from begin to end, including begin but +excluding end.

+

To get a mutable string slice instead, see the +slice_mut_unchecked method.

+
§Safety
+

Callers of this function are responsible that three preconditions are +satisfied:

+
    +
  • begin must not exceed end.
  • +
  • begin and end must be byte positions within the string slice.
  • +
  • begin and end must lie on UTF-8 sequence boundaries.
  • +
+
§Examples
+
let s = "Löwe 老虎 Léopard";
+
+unsafe {
+    assert_eq!("Löwe 老虎 Léopard", s.slice_unchecked(0, 21));
+}
+
+let s = "Hello, world!";
+
+unsafe {
+    assert_eq!("world", s.slice_unchecked(7, 12));
+}
+
1.5.0 · source

pub unsafe fn slice_mut_unchecked( + &mut self, + begin: usize, + end: usize, +) -> &mut str

👎Deprecated since 1.29.0: use get_unchecked_mut(begin..end) instead

Creates a string slice from another string slice, bypassing safety +checks.

+

This is generally not recommended, use with caution! For a safe +alternative see str and IndexMut.

+

This new slice goes from begin to end, including begin but +excluding end.

+

To get an immutable string slice instead, see the +slice_unchecked method.

+
§Safety
+

Callers of this function are responsible that three preconditions are +satisfied:

+
    +
  • begin must not exceed end.
  • +
  • begin and end must be byte positions within the string slice.
  • +
  • begin and end must lie on UTF-8 sequence boundaries.
  • +
+
1.4.0 · source

pub fn split_at(&self, mid: usize) -> (&str, &str)

Divides one string slice into two at an index.

+

The argument, mid, should be a byte offset from the start of the +string. It must also be on the boundary of a UTF-8 code point.

+

The two slices returned go from the start of the string slice to mid, +and from mid to the end of the string slice.

+

To get mutable string slices instead, see the split_at_mut +method.

+
§Panics
+

Panics if mid is not on a UTF-8 code point boundary, or if it is past +the end of the last code point of the string slice. For a non-panicking +alternative see split_at_checked.

+
§Examples
+
let s = "Per Martin-Löf";
+
+let (first, last) = s.split_at(3);
+
+assert_eq!("Per", first);
+assert_eq!(" Martin-Löf", last);
+
1.4.0 · source

pub fn split_at_mut(&mut self, mid: usize) -> (&mut str, &mut str)

Divides one mutable string slice into two at an index.

+

The argument, mid, should be a byte offset from the start of the +string. It must also be on the boundary of a UTF-8 code point.

+

The two slices returned go from the start of the string slice to mid, +and from mid to the end of the string slice.

+

To get immutable string slices instead, see the split_at method.

+
§Panics
+

Panics if mid is not on a UTF-8 code point boundary, or if it is past +the end of the last code point of the string slice. For a non-panicking +alternative see split_at_mut_checked.

+
§Examples
+
let mut s = "Per Martin-Löf".to_string();
+{
+    let (first, last) = s.split_at_mut(3);
+    first.make_ascii_uppercase();
+    assert_eq!("PER", first);
+    assert_eq!(" Martin-Löf", last);
+}
+assert_eq!("PER Martin-Löf", s);
+
1.80.0 · source

pub fn split_at_checked(&self, mid: usize) -> Option<(&str, &str)>

Divides one string slice into two at an index.

+

The argument, mid, should be a valid byte offset from the start of the +string. It must also be on the boundary of a UTF-8 code point. The +method returns None if that’s not the case.

+

The two slices returned go from the start of the string slice to mid, +and from mid to the end of the string slice.

+

To get mutable string slices instead, see the split_at_mut_checked +method.

+
§Examples
+
let s = "Per Martin-Löf";
+
+let (first, last) = s.split_at_checked(3).unwrap();
+assert_eq!("Per", first);
+assert_eq!(" Martin-Löf", last);
+
+assert_eq!(None, s.split_at_checked(13));  // Inside “ö”
+assert_eq!(None, s.split_at_checked(16));  // Beyond the string length
+
1.80.0 · source

pub fn split_at_mut_checked( + &mut self, + mid: usize, +) -> Option<(&mut str, &mut str)>

Divides one mutable string slice into two at an index.

+

The argument, mid, should be a valid byte offset from the start of the +string. It must also be on the boundary of a UTF-8 code point. The +method returns None if that’s not the case.

+

The two slices returned go from the start of the string slice to mid, +and from mid to the end of the string slice.

+

To get immutable string slices instead, see the split_at_checked method.

+
§Examples
+
let mut s = "Per Martin-Löf".to_string();
+if let Some((first, last)) = s.split_at_mut_checked(3) {
+    first.make_ascii_uppercase();
+    assert_eq!("PER", first);
+    assert_eq!(" Martin-Löf", last);
+}
+assert_eq!("PER Martin-Löf", s);
+
+assert_eq!(None, s.split_at_mut_checked(13));  // Inside “ö”
+assert_eq!(None, s.split_at_mut_checked(16));  // Beyond the string length
+
1.0.0 · source

pub fn chars(&self) -> Chars<'_>

Returns an iterator over the chars of a string slice.

+

As a string slice consists of valid UTF-8, we can iterate through a +string slice by char. This method returns such an iterator.

+

It’s important to remember that char represents a Unicode Scalar +Value, and might not match your idea of what a ‘character’ is. Iteration +over grapheme clusters may be what you actually want. This functionality +is not provided by Rust’s standard library, check crates.io instead.

+
§Examples
+

Basic usage:

+ +
let word = "goodbye";
+
+let count = word.chars().count();
+assert_eq!(7, count);
+
+let mut chars = word.chars();
+
+assert_eq!(Some('g'), chars.next());
+assert_eq!(Some('o'), chars.next());
+assert_eq!(Some('o'), chars.next());
+assert_eq!(Some('d'), chars.next());
+assert_eq!(Some('b'), chars.next());
+assert_eq!(Some('y'), chars.next());
+assert_eq!(Some('e'), chars.next());
+
+assert_eq!(None, chars.next());
+

Remember, chars might not match your intuition about characters:

+ +
let y = "y̆";
+
+let mut chars = y.chars();
+
+assert_eq!(Some('y'), chars.next()); // not 'y̆'
+assert_eq!(Some('\u{0306}'), chars.next());
+
+assert_eq!(None, chars.next());
+
1.0.0 · source

pub fn char_indices(&self) -> CharIndices<'_>

Returns an iterator over the chars of a string slice, and their +positions.

+

As a string slice consists of valid UTF-8, we can iterate through a +string slice by char. This method returns an iterator of both +these chars, as well as their byte positions.

+

The iterator yields tuples. The position is first, the char is +second.

+
§Examples
+

Basic usage:

+ +
let word = "goodbye";
+
+let count = word.char_indices().count();
+assert_eq!(7, count);
+
+let mut char_indices = word.char_indices();
+
+assert_eq!(Some((0, 'g')), char_indices.next());
+assert_eq!(Some((1, 'o')), char_indices.next());
+assert_eq!(Some((2, 'o')), char_indices.next());
+assert_eq!(Some((3, 'd')), char_indices.next());
+assert_eq!(Some((4, 'b')), char_indices.next());
+assert_eq!(Some((5, 'y')), char_indices.next());
+assert_eq!(Some((6, 'e')), char_indices.next());
+
+assert_eq!(None, char_indices.next());
+

Remember, chars might not match your intuition about characters:

+ +
let yes = "y̆es";
+
+let mut char_indices = yes.char_indices();
+
+assert_eq!(Some((0, 'y')), char_indices.next()); // not (0, 'y̆')
+assert_eq!(Some((1, '\u{0306}')), char_indices.next());
+
+// note the 3 here - the previous character took up two bytes
+assert_eq!(Some((3, 'e')), char_indices.next());
+assert_eq!(Some((4, 's')), char_indices.next());
+
+assert_eq!(None, char_indices.next());
+
1.0.0 · source

pub fn bytes(&self) -> Bytes<'_>

Returns an iterator over the bytes of a string slice.

+

As a string slice consists of a sequence of bytes, we can iterate +through a string slice by byte. This method returns such an iterator.

+
§Examples
+
let mut bytes = "bors".bytes();
+
+assert_eq!(Some(b'b'), bytes.next());
+assert_eq!(Some(b'o'), bytes.next());
+assert_eq!(Some(b'r'), bytes.next());
+assert_eq!(Some(b's'), bytes.next());
+
+assert_eq!(None, bytes.next());
+
1.1.0 · source

pub fn split_whitespace(&self) -> SplitWhitespace<'_>

Splits a string slice by whitespace.

+

The iterator returned will return string slices that are sub-slices of +the original string slice, separated by any amount of whitespace.

+

‘Whitespace’ is defined according to the terms of the Unicode Derived +Core Property White_Space. If you only want to split on ASCII whitespace +instead, use split_ascii_whitespace.

+
§Examples
+

Basic usage:

+ +
let mut iter = "A few words".split_whitespace();
+
+assert_eq!(Some("A"), iter.next());
+assert_eq!(Some("few"), iter.next());
+assert_eq!(Some("words"), iter.next());
+
+assert_eq!(None, iter.next());
+

All kinds of whitespace are considered:

+ +
let mut iter = " Mary   had\ta\u{2009}little  \n\t lamb".split_whitespace();
+assert_eq!(Some("Mary"), iter.next());
+assert_eq!(Some("had"), iter.next());
+assert_eq!(Some("a"), iter.next());
+assert_eq!(Some("little"), iter.next());
+assert_eq!(Some("lamb"), iter.next());
+
+assert_eq!(None, iter.next());
+

If the string is empty or all whitespace, the iterator yields no string slices:

+ +
assert_eq!("".split_whitespace().next(), None);
+assert_eq!("   ".split_whitespace().next(), None);
+
1.34.0 · source

pub fn split_ascii_whitespace(&self) -> SplitAsciiWhitespace<'_>

Splits a string slice by ASCII whitespace.

+

The iterator returned will return string slices that are sub-slices of +the original string slice, separated by any amount of ASCII whitespace.

+

To split by Unicode Whitespace instead, use split_whitespace.

+
§Examples
+

Basic usage:

+ +
let mut iter = "A few words".split_ascii_whitespace();
+
+assert_eq!(Some("A"), iter.next());
+assert_eq!(Some("few"), iter.next());
+assert_eq!(Some("words"), iter.next());
+
+assert_eq!(None, iter.next());
+

All kinds of ASCII whitespace are considered:

+ +
let mut iter = " Mary   had\ta little  \n\t lamb".split_ascii_whitespace();
+assert_eq!(Some("Mary"), iter.next());
+assert_eq!(Some("had"), iter.next());
+assert_eq!(Some("a"), iter.next());
+assert_eq!(Some("little"), iter.next());
+assert_eq!(Some("lamb"), iter.next());
+
+assert_eq!(None, iter.next());
+

If the string is empty or all ASCII whitespace, the iterator yields no string slices:

+ +
assert_eq!("".split_ascii_whitespace().next(), None);
+assert_eq!("   ".split_ascii_whitespace().next(), None);
+
1.0.0 · source

pub fn lines(&self) -> Lines<'_>

Returns an iterator over the lines of a string, as string slices.

+

Lines are split at line endings that are either newlines (\n) or +sequences of a carriage return followed by a line feed (\r\n).

+

Line terminators are not included in the lines returned by the iterator.

+

Note that any carriage return (\r) not immediately followed by a +line feed (\n) does not split a line. These carriage returns are +thereby included in the produced lines.

+

The final line ending is optional. A string that ends with a final line +ending will return the same lines as an otherwise identical string +without a final line ending.

+
§Examples
+

Basic usage:

+ +
let text = "foo\r\nbar\n\nbaz\r";
+let mut lines = text.lines();
+
+assert_eq!(Some("foo"), lines.next());
+assert_eq!(Some("bar"), lines.next());
+assert_eq!(Some(""), lines.next());
+// Trailing carriage return is included in the last line
+assert_eq!(Some("baz\r"), lines.next());
+
+assert_eq!(None, lines.next());
+

The final line does not require any ending:

+ +
let text = "foo\nbar\n\r\nbaz";
+let mut lines = text.lines();
+
+assert_eq!(Some("foo"), lines.next());
+assert_eq!(Some("bar"), lines.next());
+assert_eq!(Some(""), lines.next());
+assert_eq!(Some("baz"), lines.next());
+
+assert_eq!(None, lines.next());
+
1.0.0 · source

pub fn lines_any(&self) -> LinesAny<'_>

👎Deprecated since 1.4.0: use lines() instead now

Returns an iterator over the lines of a string.

+
1.8.0 · source

pub fn encode_utf16(&self) -> EncodeUtf16<'_>

Returns an iterator of u16 over the string encoded as UTF-16.

+
§Examples
+
let text = "Zażółć gęślą jaźń";
+
+let utf8_len = text.len();
+let utf16_len = text.encode_utf16().count();
+
+assert!(utf16_len <= utf8_len);
+
1.0.0 · source

pub fn contains<P>(&self, pat: P) -> bool
where + P: Pattern,

Returns true if the given pattern matches a sub-slice of +this string slice.

+

Returns false if it does not.

+

The pattern can be a &str, char, a slice of chars, or a +function or closure that determines if a character matches.

+
§Examples
+
let bananas = "bananas";
+
+assert!(bananas.contains("nana"));
+assert!(!bananas.contains("apples"));
+
1.0.0 · source

pub fn starts_with<P>(&self, pat: P) -> bool
where + P: Pattern,

Returns true if the given pattern matches a prefix of this +string slice.

+

Returns false if it does not.

+

The pattern can be a &str, in which case this function will return true if +the &str is a prefix of this string slice.

+

The pattern can also be a char, a slice of chars, or a +function or closure that determines if a character matches. +These will only be checked against the first character of this string slice. +Look at the second example below regarding behavior for slices of chars.

+
§Examples
+
let bananas = "bananas";
+
+assert!(bananas.starts_with("bana"));
+assert!(!bananas.starts_with("nana"));
+ +
let bananas = "bananas";
+
+// Note that both of these assert successfully.
+assert!(bananas.starts_with(&['b', 'a', 'n', 'a']));
+assert!(bananas.starts_with(&['a', 'b', 'c', 'd']));
+
1.0.0 · source

pub fn ends_with<P>(&self, pat: P) -> bool
where + P: Pattern, + <P as Pattern>::Searcher<'a>: for<'a> ReverseSearcher<'a>,

Returns true if the given pattern matches a suffix of this +string slice.

+

Returns false if it does not.

+

The pattern can be a &str, char, a slice of chars, or a +function or closure that determines if a character matches.

+
§Examples
+
let bananas = "bananas";
+
+assert!(bananas.ends_with("anas"));
+assert!(!bananas.ends_with("nana"));
+
1.0.0 · source

pub fn find<P>(&self, pat: P) -> Option<usize>
where + P: Pattern,

Returns the byte index of the first character of this string slice that +matches the pattern.

+

Returns None if the pattern doesn’t match.

+

The pattern can be a &str, char, a slice of chars, or a +function or closure that determines if a character matches.

+
§Examples
+

Simple patterns:

+ +
let s = "Löwe 老虎 Léopard Gepardi";
+
+assert_eq!(s.find('L'), Some(0));
+assert_eq!(s.find('é'), Some(14));
+assert_eq!(s.find("pard"), Some(17));
+

More complex patterns using point-free style and closures:

+ +
let s = "Löwe 老虎 Léopard";
+
+assert_eq!(s.find(char::is_whitespace), Some(5));
+assert_eq!(s.find(char::is_lowercase), Some(1));
+assert_eq!(s.find(|c: char| c.is_whitespace() || c.is_lowercase()), Some(1));
+assert_eq!(s.find(|c: char| (c < 'o') && (c > 'a')), Some(4));
+

Not finding the pattern:

+ +
let s = "Löwe 老虎 Léopard";
+let x: &[_] = &['1', '2'];
+
+assert_eq!(s.find(x), None);
+
1.0.0 · source

pub fn rfind<P>(&self, pat: P) -> Option<usize>
where + P: Pattern, + <P as Pattern>::Searcher<'a>: for<'a> ReverseSearcher<'a>,

Returns the byte index for the first character of the last match of the pattern in +this string slice.

+

Returns None if the pattern doesn’t match.

+

The pattern can be a &str, char, a slice of chars, or a +function or closure that determines if a character matches.

+
§Examples
+

Simple patterns:

+ +
let s = "Löwe 老虎 Léopard Gepardi";
+
+assert_eq!(s.rfind('L'), Some(13));
+assert_eq!(s.rfind('é'), Some(14));
+assert_eq!(s.rfind("pard"), Some(24));
+

More complex patterns with closures:

+ +
let s = "Löwe 老虎 Léopard";
+
+assert_eq!(s.rfind(char::is_whitespace), Some(12));
+assert_eq!(s.rfind(char::is_lowercase), Some(20));
+

Not finding the pattern:

+ +
let s = "Löwe 老虎 Léopard";
+let x: &[_] = &['1', '2'];
+
+assert_eq!(s.rfind(x), None);
+
1.0.0 · source

pub fn split<P>(&self, pat: P) -> Split<'_, P>
where + P: Pattern,

Returns an iterator over substrings of this string slice, separated by +characters matched by a pattern.

+

The pattern can be a &str, char, a slice of chars, or a +function or closure that determines if a character matches.

+
§Iterator behavior
+

The returned iterator will be a DoubleEndedIterator if the pattern +allows a reverse search and forward/reverse search yields the same +elements. This is true for, e.g., char, but not for &str.

+

If the pattern allows a reverse search but its results might differ +from a forward search, the rsplit method can be used.

+
§Examples
+

Simple patterns:

+ +
let v: Vec<&str> = "Mary had a little lamb".split(' ').collect();
+assert_eq!(v, ["Mary", "had", "a", "little", "lamb"]);
+
+let v: Vec<&str> = "".split('X').collect();
+assert_eq!(v, [""]);
+
+let v: Vec<&str> = "lionXXtigerXleopard".split('X').collect();
+assert_eq!(v, ["lion", "", "tiger", "leopard"]);
+
+let v: Vec<&str> = "lion::tiger::leopard".split("::").collect();
+assert_eq!(v, ["lion", "tiger", "leopard"]);
+
+let v: Vec<&str> = "abc1def2ghi".split(char::is_numeric).collect();
+assert_eq!(v, ["abc", "def", "ghi"]);
+
+let v: Vec<&str> = "lionXtigerXleopard".split(char::is_uppercase).collect();
+assert_eq!(v, ["lion", "tiger", "leopard"]);
+

If the pattern is a slice of chars, split on each occurrence of any of the characters:

+ +
let v: Vec<&str> = "2020-11-03 23:59".split(&['-', ' ', ':', '@'][..]).collect();
+assert_eq!(v, ["2020", "11", "03", "23", "59"]);
+

A more complex pattern, using a closure:

+ +
let v: Vec<&str> = "abc1defXghi".split(|c| c == '1' || c == 'X').collect();
+assert_eq!(v, ["abc", "def", "ghi"]);
+

If a string contains multiple contiguous separators, you will end up +with empty strings in the output:

+ +
let x = "||||a||b|c".to_string();
+let d: Vec<_> = x.split('|').collect();
+
+assert_eq!(d, &["", "", "", "", "a", "", "b", "c"]);
+

Contiguous separators are separated by the empty string.

+ +
let x = "(///)".to_string();
+let d: Vec<_> = x.split('/').collect();
+
+assert_eq!(d, &["(", "", "", ")"]);
+

Separators at the start or end of a string are neighbored +by empty strings.

+ +
let d: Vec<_> = "010".split("0").collect();
+assert_eq!(d, &["", "1", ""]);
+

When the empty string is used as a separator, it separates +every character in the string, along with the beginning +and end of the string.

+ +
let f: Vec<_> = "rust".split("").collect();
+assert_eq!(f, &["", "r", "u", "s", "t", ""]);
+

Contiguous separators can lead to possibly surprising behavior +when whitespace is used as the separator. This code is correct:

+ +
let x = "    a  b c".to_string();
+let d: Vec<_> = x.split(' ').collect();
+
+assert_eq!(d, &["", "", "", "", "a", "", "b", "c"]);
+

It does not give you:

+ +
assert_eq!(d, &["a", "b", "c"]);
+

Use split_whitespace for this behavior.

+
1.51.0 · source

pub fn split_inclusive<P>(&self, pat: P) -> SplitInclusive<'_, P>
where + P: Pattern,

Returns an iterator over substrings of this string slice, separated by +characters matched by a pattern.

+

Differs from the iterator produced by split in that split_inclusive +leaves the matched part as the terminator of the substring.

+

The pattern can be a &str, char, a slice of chars, or a +function or closure that determines if a character matches.

+
§Examples
+
let v: Vec<&str> = "Mary had a little lamb\nlittle lamb\nlittle lamb."
+    .split_inclusive('\n').collect();
+assert_eq!(v, ["Mary had a little lamb\n", "little lamb\n", "little lamb."]);
+

If the last element of the string is matched, +that element will be considered the terminator of the preceding substring. +That substring will be the last item returned by the iterator.

+ +
let v: Vec<&str> = "Mary had a little lamb\nlittle lamb\nlittle lamb.\n"
+    .split_inclusive('\n').collect();
+assert_eq!(v, ["Mary had a little lamb\n", "little lamb\n", "little lamb.\n"]);
+
1.0.0 · source

pub fn rsplit<P>(&self, pat: P) -> RSplit<'_, P>
where + P: Pattern, + <P as Pattern>::Searcher<'a>: for<'a> ReverseSearcher<'a>,

Returns an iterator over substrings of the given string slice, separated +by characters matched by a pattern and yielded in reverse order.

+

The pattern can be a &str, char, a slice of chars, or a +function or closure that determines if a character matches.

+
§Iterator behavior
+

The returned iterator requires that the pattern supports a reverse +search, and it will be a DoubleEndedIterator if a forward/reverse +search yields the same elements.

+

For iterating from the front, the split method can be used.

+
§Examples
+

Simple patterns:

+ +
let v: Vec<&str> = "Mary had a little lamb".rsplit(' ').collect();
+assert_eq!(v, ["lamb", "little", "a", "had", "Mary"]);
+
+let v: Vec<&str> = "".rsplit('X').collect();
+assert_eq!(v, [""]);
+
+let v: Vec<&str> = "lionXXtigerXleopard".rsplit('X').collect();
+assert_eq!(v, ["leopard", "tiger", "", "lion"]);
+
+let v: Vec<&str> = "lion::tiger::leopard".rsplit("::").collect();
+assert_eq!(v, ["leopard", "tiger", "lion"]);
+

A more complex pattern, using a closure:

+ +
let v: Vec<&str> = "abc1defXghi".rsplit(|c| c == '1' || c == 'X').collect();
+assert_eq!(v, ["ghi", "def", "abc"]);
+
1.0.0 · source

pub fn split_terminator<P>(&self, pat: P) -> SplitTerminator<'_, P>
where + P: Pattern,

Returns an iterator over substrings of the given string slice, separated +by characters matched by a pattern.

+

The pattern can be a &str, char, a slice of chars, or a +function or closure that determines if a character matches.

+

Equivalent to split, except that the trailing substring +is skipped if empty.

+

This method can be used for string data that is terminated, +rather than separated by a pattern.

+
§Iterator behavior
+

The returned iterator will be a DoubleEndedIterator if the pattern +allows a reverse search and forward/reverse search yields the same +elements. This is true for, e.g., char, but not for &str.

+

If the pattern allows a reverse search but its results might differ +from a forward search, the rsplit_terminator method can be used.

+
§Examples
+
let v: Vec<&str> = "A.B.".split_terminator('.').collect();
+assert_eq!(v, ["A", "B"]);
+
+let v: Vec<&str> = "A..B..".split_terminator(".").collect();
+assert_eq!(v, ["A", "", "B", ""]);
+
+let v: Vec<&str> = "A.B:C.D".split_terminator(&['.', ':'][..]).collect();
+assert_eq!(v, ["A", "B", "C", "D"]);
+
1.0.0 · source

pub fn rsplit_terminator<P>(&self, pat: P) -> RSplitTerminator<'_, P>
where + P: Pattern, + <P as Pattern>::Searcher<'a>: for<'a> ReverseSearcher<'a>,

Returns an iterator over substrings of self, separated by characters +matched by a pattern and yielded in reverse order.

+

The pattern can be a &str, char, a slice of chars, or a +function or closure that determines if a character matches.

+

Equivalent to split, except that the trailing substring is +skipped if empty.

+

This method can be used for string data that is terminated, +rather than separated by a pattern.

+
§Iterator behavior
+

The returned iterator requires that the pattern supports a +reverse search, and it will be double ended if a forward/reverse +search yields the same elements.

+

For iterating from the front, the split_terminator method can be +used.

+
§Examples
+
let v: Vec<&str> = "A.B.".rsplit_terminator('.').collect();
+assert_eq!(v, ["B", "A"]);
+
+let v: Vec<&str> = "A..B..".rsplit_terminator(".").collect();
+assert_eq!(v, ["", "B", "", "A"]);
+
+let v: Vec<&str> = "A.B:C.D".rsplit_terminator(&['.', ':'][..]).collect();
+assert_eq!(v, ["D", "C", "B", "A"]);
+
1.0.0 · source

pub fn splitn<P>(&self, n: usize, pat: P) -> SplitN<'_, P>
where + P: Pattern,

Returns an iterator over substrings of the given string slice, separated +by a pattern, restricted to returning at most n items.

+

If n substrings are returned, the last substring (the nth substring) +will contain the remainder of the string.

+

The pattern can be a &str, char, a slice of chars, or a +function or closure that determines if a character matches.

+
§Iterator behavior
+

The returned iterator will not be double ended, because it is +not efficient to support.

+

If the pattern allows a reverse search, the rsplitn method can be +used.

+
§Examples
+

Simple patterns:

+ +
let v: Vec<&str> = "Mary had a little lambda".splitn(3, ' ').collect();
+assert_eq!(v, ["Mary", "had", "a little lambda"]);
+
+let v: Vec<&str> = "lionXXtigerXleopard".splitn(3, "X").collect();
+assert_eq!(v, ["lion", "", "tigerXleopard"]);
+
+let v: Vec<&str> = "abcXdef".splitn(1, 'X').collect();
+assert_eq!(v, ["abcXdef"]);
+
+let v: Vec<&str> = "".splitn(1, 'X').collect();
+assert_eq!(v, [""]);
+

A more complex pattern, using a closure:

+ +
let v: Vec<&str> = "abc1defXghi".splitn(2, |c| c == '1' || c == 'X').collect();
+assert_eq!(v, ["abc", "defXghi"]);
+
1.0.0 · source

pub fn rsplitn<P>(&self, n: usize, pat: P) -> RSplitN<'_, P>
where + P: Pattern, + <P as Pattern>::Searcher<'a>: for<'a> ReverseSearcher<'a>,

Returns an iterator over substrings of this string slice, separated by a +pattern, starting from the end of the string, restricted to returning at +most n items.

+

If n substrings are returned, the last substring (the nth substring) +will contain the remainder of the string.

+

The pattern can be a &str, char, a slice of chars, or a +function or closure that determines if a character matches.

+
§Iterator behavior
+

The returned iterator will not be double ended, because it is not +efficient to support.

+

For splitting from the front, the splitn method can be used.

+
§Examples
+

Simple patterns:

+ +
let v: Vec<&str> = "Mary had a little lamb".rsplitn(3, ' ').collect();
+assert_eq!(v, ["lamb", "little", "Mary had a"]);
+
+let v: Vec<&str> = "lionXXtigerXleopard".rsplitn(3, 'X').collect();
+assert_eq!(v, ["leopard", "tiger", "lionX"]);
+
+let v: Vec<&str> = "lion::tiger::leopard".rsplitn(2, "::").collect();
+assert_eq!(v, ["leopard", "lion::tiger"]);
+

A more complex pattern, using a closure:

+ +
let v: Vec<&str> = "abc1defXghi".rsplitn(2, |c| c == '1' || c == 'X').collect();
+assert_eq!(v, ["ghi", "abc1def"]);
+
1.52.0 · source

pub fn split_once<P>(&self, delimiter: P) -> Option<(&str, &str)>
where + P: Pattern,

Splits the string on the first occurrence of the specified delimiter and +returns prefix before delimiter and suffix after delimiter.

+
§Examples
+
assert_eq!("cfg".split_once('='), None);
+assert_eq!("cfg=".split_once('='), Some(("cfg", "")));
+assert_eq!("cfg=foo".split_once('='), Some(("cfg", "foo")));
+assert_eq!("cfg=foo=bar".split_once('='), Some(("cfg", "foo=bar")));
+
1.52.0 · source

pub fn rsplit_once<P>(&self, delimiter: P) -> Option<(&str, &str)>
where + P: Pattern, + <P as Pattern>::Searcher<'a>: for<'a> ReverseSearcher<'a>,

Splits the string on the last occurrence of the specified delimiter and +returns prefix before delimiter and suffix after delimiter.

+
§Examples
+
assert_eq!("cfg".rsplit_once('='), None);
+assert_eq!("cfg=foo".rsplit_once('='), Some(("cfg", "foo")));
+assert_eq!("cfg=foo=bar".rsplit_once('='), Some(("cfg=foo", "bar")));
+
1.2.0 · source

pub fn matches<P>(&self, pat: P) -> Matches<'_, P>
where + P: Pattern,

Returns an iterator over the disjoint matches of a pattern within the +given string slice.

+

The pattern can be a &str, char, a slice of chars, or a +function or closure that determines if a character matches.

+
§Iterator behavior
+

The returned iterator will be a DoubleEndedIterator if the pattern +allows a reverse search and forward/reverse search yields the same +elements. This is true for, e.g., char, but not for &str.

+

If the pattern allows a reverse search but its results might differ +from a forward search, the rmatches method can be used.

+
§Examples
+
let v: Vec<&str> = "abcXXXabcYYYabc".matches("abc").collect();
+assert_eq!(v, ["abc", "abc", "abc"]);
+
+let v: Vec<&str> = "1abc2abc3".matches(char::is_numeric).collect();
+assert_eq!(v, ["1", "2", "3"]);
+
1.2.0 · source

pub fn rmatches<P>(&self, pat: P) -> RMatches<'_, P>
where + P: Pattern, + <P as Pattern>::Searcher<'a>: for<'a> ReverseSearcher<'a>,

Returns an iterator over the disjoint matches of a pattern within this +string slice, yielded in reverse order.

+

The pattern can be a &str, char, a slice of chars, or a +function or closure that determines if a character matches.

+
§Iterator behavior
+

The returned iterator requires that the pattern supports a reverse +search, and it will be a DoubleEndedIterator if a forward/reverse +search yields the same elements.

+

For iterating from the front, the matches method can be used.

+
§Examples
+
let v: Vec<&str> = "abcXXXabcYYYabc".rmatches("abc").collect();
+assert_eq!(v, ["abc", "abc", "abc"]);
+
+let v: Vec<&str> = "1abc2abc3".rmatches(char::is_numeric).collect();
+assert_eq!(v, ["3", "2", "1"]);
+
1.5.0 · source

pub fn match_indices<P>(&self, pat: P) -> MatchIndices<'_, P>
where + P: Pattern,

Returns an iterator over the disjoint matches of a pattern within this string +slice as well as the index that the match starts at.

+

For matches of pat within self that overlap, only the indices +corresponding to the first match are returned.

+

The pattern can be a &str, char, a slice of chars, or a +function or closure that determines if a character matches.

+
§Iterator behavior
+

The returned iterator will be a DoubleEndedIterator if the pattern +allows a reverse search and forward/reverse search yields the same +elements. This is true for, e.g., char, but not for &str.

+

If the pattern allows a reverse search but its results might differ +from a forward search, the rmatch_indices method can be used.

+
§Examples
+
let v: Vec<_> = "abcXXXabcYYYabc".match_indices("abc").collect();
+assert_eq!(v, [(0, "abc"), (6, "abc"), (12, "abc")]);
+
+let v: Vec<_> = "1abcabc2".match_indices("abc").collect();
+assert_eq!(v, [(1, "abc"), (4, "abc")]);
+
+let v: Vec<_> = "ababa".match_indices("aba").collect();
+assert_eq!(v, [(0, "aba")]); // only the first `aba`
+
1.5.0 · source

pub fn rmatch_indices<P>(&self, pat: P) -> RMatchIndices<'_, P>
where + P: Pattern, + <P as Pattern>::Searcher<'a>: for<'a> ReverseSearcher<'a>,

Returns an iterator over the disjoint matches of a pattern within self, +yielded in reverse order along with the index of the match.

+

For matches of pat within self that overlap, only the indices +corresponding to the last match are returned.

+

The pattern can be a &str, char, a slice of chars, or a +function or closure that determines if a character matches.

+
§Iterator behavior
+

The returned iterator requires that the pattern supports a reverse +search, and it will be a DoubleEndedIterator if a forward/reverse +search yields the same elements.

+

For iterating from the front, the match_indices method can be used.

+
§Examples
+
let v: Vec<_> = "abcXXXabcYYYabc".rmatch_indices("abc").collect();
+assert_eq!(v, [(12, "abc"), (6, "abc"), (0, "abc")]);
+
+let v: Vec<_> = "1abcabc2".rmatch_indices("abc").collect();
+assert_eq!(v, [(4, "abc"), (1, "abc")]);
+
+let v: Vec<_> = "ababa".rmatch_indices("aba").collect();
+assert_eq!(v, [(2, "aba")]); // only the last `aba`
+
1.0.0 · source

pub fn trim(&self) -> &str

Returns a string slice with leading and trailing whitespace removed.

+

‘Whitespace’ is defined according to the terms of the Unicode Derived +Core Property White_Space, which includes newlines.

+
§Examples
+
let s = "\n Hello\tworld\t\n";
+
+assert_eq!("Hello\tworld", s.trim());
+
1.30.0 · source

pub fn trim_start(&self) -> &str

Returns a string slice with leading whitespace removed.

+

‘Whitespace’ is defined according to the terms of the Unicode Derived +Core Property White_Space, which includes newlines.

+
§Text directionality
+

A string is a sequence of bytes. start in this context means the first +position of that byte string; for a left-to-right language like English or +Russian, this will be left side, and for right-to-left languages like +Arabic or Hebrew, this will be the right side.

+
§Examples
+

Basic usage:

+ +
let s = "\n Hello\tworld\t\n";
+assert_eq!("Hello\tworld\t\n", s.trim_start());
+

Directionality:

+ +
let s = "  English  ";
+assert!(Some('E') == s.trim_start().chars().next());
+
+let s = "  עברית  ";
+assert!(Some('ע') == s.trim_start().chars().next());
+
1.30.0 · source

pub fn trim_end(&self) -> &str

Returns a string slice with trailing whitespace removed.

+

‘Whitespace’ is defined according to the terms of the Unicode Derived +Core Property White_Space, which includes newlines.

+
§Text directionality
+

A string is a sequence of bytes. end in this context means the last +position of that byte string; for a left-to-right language like English or +Russian, this will be right side, and for right-to-left languages like +Arabic or Hebrew, this will be the left side.

+
§Examples
+

Basic usage:

+ +
let s = "\n Hello\tworld\t\n";
+assert_eq!("\n Hello\tworld", s.trim_end());
+

Directionality:

+ +
let s = "  English  ";
+assert!(Some('h') == s.trim_end().chars().rev().next());
+
+let s = "  עברית  ";
+assert!(Some('ת') == s.trim_end().chars().rev().next());
+
1.0.0 · source

pub fn trim_left(&self) -> &str

👎Deprecated since 1.33.0: superseded by trim_start

Returns a string slice with leading whitespace removed.

+

‘Whitespace’ is defined according to the terms of the Unicode Derived +Core Property White_Space.

+
§Text directionality
+

A string is a sequence of bytes. ‘Left’ in this context means the first +position of that byte string; for a language like Arabic or Hebrew +which are ‘right to left’ rather than ‘left to right’, this will be +the right side, not the left.

+
§Examples
+

Basic usage:

+ +
let s = " Hello\tworld\t";
+
+assert_eq!("Hello\tworld\t", s.trim_left());
+

Directionality:

+ +
let s = "  English";
+assert!(Some('E') == s.trim_left().chars().next());
+
+let s = "  עברית";
+assert!(Some('ע') == s.trim_left().chars().next());
+
1.0.0 · source

pub fn trim_right(&self) -> &str

👎Deprecated since 1.33.0: superseded by trim_end

Returns a string slice with trailing whitespace removed.

+

‘Whitespace’ is defined according to the terms of the Unicode Derived +Core Property White_Space.

+
§Text directionality
+

A string is a sequence of bytes. ‘Right’ in this context means the last +position of that byte string; for a language like Arabic or Hebrew +which are ‘right to left’ rather than ‘left to right’, this will be +the left side, not the right.

+
§Examples
+

Basic usage:

+ +
let s = " Hello\tworld\t";
+
+assert_eq!(" Hello\tworld", s.trim_right());
+

Directionality:

+ +
let s = "English  ";
+assert!(Some('h') == s.trim_right().chars().rev().next());
+
+let s = "עברית  ";
+assert!(Some('ת') == s.trim_right().chars().rev().next());
+
1.0.0 · source

pub fn trim_matches<P>(&self, pat: P) -> &str
where + P: Pattern, + <P as Pattern>::Searcher<'a>: for<'a> DoubleEndedSearcher<'a>,

Returns a string slice with all prefixes and suffixes that match a +pattern repeatedly removed.

+

The pattern can be a char, a slice of chars, or a function +or closure that determines if a character matches.

+
§Examples
+

Simple patterns:

+ +
assert_eq!("11foo1bar11".trim_matches('1'), "foo1bar");
+assert_eq!("123foo1bar123".trim_matches(char::is_numeric), "foo1bar");
+
+let x: &[_] = &['1', '2'];
+assert_eq!("12foo1bar12".trim_matches(x), "foo1bar");
+

A more complex pattern, using a closure:

+ +
assert_eq!("1foo1barXX".trim_matches(|c| c == '1' || c == 'X'), "foo1bar");
+
1.30.0 · source

pub fn trim_start_matches<P>(&self, pat: P) -> &str
where + P: Pattern,

Returns a string slice with all prefixes that match a pattern +repeatedly removed.

+

The pattern can be a &str, char, a slice of chars, or a +function or closure that determines if a character matches.

+
§Text directionality
+

A string is a sequence of bytes. start in this context means the first +position of that byte string; for a left-to-right language like English or +Russian, this will be left side, and for right-to-left languages like +Arabic or Hebrew, this will be the right side.

+
§Examples
+
assert_eq!("11foo1bar11".trim_start_matches('1'), "foo1bar11");
+assert_eq!("123foo1bar123".trim_start_matches(char::is_numeric), "foo1bar123");
+
+let x: &[_] = &['1', '2'];
+assert_eq!("12foo1bar12".trim_start_matches(x), "foo1bar12");
+
1.45.0 · source

pub fn strip_prefix<P>(&self, prefix: P) -> Option<&str>
where + P: Pattern,

Returns a string slice with the prefix removed.

+

If the string starts with the pattern prefix, returns the substring after the prefix, +wrapped in Some. Unlike trim_start_matches, this method removes the prefix exactly once.

+

If the string does not start with prefix, returns None.

+

The pattern can be a &str, char, a slice of chars, or a +function or closure that determines if a character matches.

+
§Examples
+
assert_eq!("foo:bar".strip_prefix("foo:"), Some("bar"));
+assert_eq!("foo:bar".strip_prefix("bar"), None);
+assert_eq!("foofoo".strip_prefix("foo"), Some("foo"));
+
1.45.0 · source

pub fn strip_suffix<P>(&self, suffix: P) -> Option<&str>
where + P: Pattern, + <P as Pattern>::Searcher<'a>: for<'a> ReverseSearcher<'a>,

Returns a string slice with the suffix removed.

+

If the string ends with the pattern suffix, returns the substring before the suffix, +wrapped in Some. Unlike trim_end_matches, this method removes the suffix exactly once.

+

If the string does not end with suffix, returns None.

+

The pattern can be a &str, char, a slice of chars, or a +function or closure that determines if a character matches.

+
§Examples
+
assert_eq!("bar:foo".strip_suffix(":foo"), Some("bar"));
+assert_eq!("bar:foo".strip_suffix("bar"), None);
+assert_eq!("foofoo".strip_suffix("foo"), Some("foo"));
+
1.30.0 · source

pub fn trim_end_matches<P>(&self, pat: P) -> &str
where + P: Pattern, + <P as Pattern>::Searcher<'a>: for<'a> ReverseSearcher<'a>,

Returns a string slice with all suffixes that match a pattern +repeatedly removed.

+

The pattern can be a &str, char, a slice of chars, or a +function or closure that determines if a character matches.

+
§Text directionality
+

A string is a sequence of bytes. end in this context means the last +position of that byte string; for a left-to-right language like English or +Russian, this will be right side, and for right-to-left languages like +Arabic or Hebrew, this will be the left side.

+
§Examples
+

Simple patterns:

+ +
assert_eq!("11foo1bar11".trim_end_matches('1'), "11foo1bar");
+assert_eq!("123foo1bar123".trim_end_matches(char::is_numeric), "123foo1bar");
+
+let x: &[_] = &['1', '2'];
+assert_eq!("12foo1bar12".trim_end_matches(x), "12foo1bar");
+

A more complex pattern, using a closure:

+ +
assert_eq!("1fooX".trim_end_matches(|c| c == '1' || c == 'X'), "1foo");
+
1.0.0 · source

pub fn trim_left_matches<P>(&self, pat: P) -> &str
where + P: Pattern,

👎Deprecated since 1.33.0: superseded by trim_start_matches

Returns a string slice with all prefixes that match a pattern +repeatedly removed.

+

The pattern can be a &str, char, a slice of chars, or a +function or closure that determines if a character matches.

+
§Text directionality
+

A string is a sequence of bytes. ‘Left’ in this context means the first +position of that byte string; for a language like Arabic or Hebrew +which are ‘right to left’ rather than ‘left to right’, this will be +the right side, not the left.

+
§Examples
+
assert_eq!("11foo1bar11".trim_left_matches('1'), "foo1bar11");
+assert_eq!("123foo1bar123".trim_left_matches(char::is_numeric), "foo1bar123");
+
+let x: &[_] = &['1', '2'];
+assert_eq!("12foo1bar12".trim_left_matches(x), "foo1bar12");
+
1.0.0 · source

pub fn trim_right_matches<P>(&self, pat: P) -> &str
where + P: Pattern, + <P as Pattern>::Searcher<'a>: for<'a> ReverseSearcher<'a>,

👎Deprecated since 1.33.0: superseded by trim_end_matches

Returns a string slice with all suffixes that match a pattern +repeatedly removed.

+

The pattern can be a &str, char, a slice of chars, or a +function or closure that determines if a character matches.

+
§Text directionality
+

A string is a sequence of bytes. ‘Right’ in this context means the last +position of that byte string; for a language like Arabic or Hebrew +which are ‘right to left’ rather than ‘left to right’, this will be +the left side, not the right.

+
§Examples
+

Simple patterns:

+ +
assert_eq!("11foo1bar11".trim_right_matches('1'), "11foo1bar");
+assert_eq!("123foo1bar123".trim_right_matches(char::is_numeric), "123foo1bar");
+
+let x: &[_] = &['1', '2'];
+assert_eq!("12foo1bar12".trim_right_matches(x), "12foo1bar");
+

A more complex pattern, using a closure:

+ +
assert_eq!("1fooX".trim_right_matches(|c| c == '1' || c == 'X'), "1foo");
+
1.0.0 · source

pub fn parse<F>(&self) -> Result<F, <F as FromStr>::Err>
where + F: FromStr,

Parses this string slice into another type.

+

Because parse is so general, it can cause problems with type +inference. As such, parse is one of the few times you’ll see +the syntax affectionately known as the ‘turbofish’: ::<>. This +helps the inference algorithm understand specifically which type +you’re trying to parse into.

+

parse can parse into any type that implements the FromStr trait.

+
§Errors
+

Will return Err if it’s not possible to parse this string slice into +the desired type.

+
§Examples
+

Basic usage

+ +
let four: u32 = "4".parse().unwrap();
+
+assert_eq!(4, four);
+

Using the ‘turbofish’ instead of annotating four:

+ +
let four = "4".parse::<u32>();
+
+assert_eq!(Ok(4), four);
+

Failing to parse:

+ +
let nope = "j".parse::<u32>();
+
+assert!(nope.is_err());
+
1.23.0 · source

pub fn is_ascii(&self) -> bool

Checks if all characters in this string are within the ASCII range.

+
§Examples
+
let ascii = "hello!\n";
+let non_ascii = "Grüße, Jürgen ❤";
+
+assert!(ascii.is_ascii());
+assert!(!non_ascii.is_ascii());
+
source

pub fn as_ascii(&self) -> Option<&[AsciiChar]>

🔬This is a nightly-only experimental API. (ascii_char)

If this string slice is_ascii, returns it as a slice +of ASCII characters, otherwise returns None.

+
1.23.0 · source

pub fn eq_ignore_ascii_case(&self, other: &str) -> bool

Checks that two strings are an ASCII case-insensitive match.

+

Same as to_ascii_lowercase(a) == to_ascii_lowercase(b), +but without allocating and copying temporaries.

+
§Examples
+
assert!("Ferris".eq_ignore_ascii_case("FERRIS"));
+assert!("Ferrös".eq_ignore_ascii_case("FERRöS"));
+assert!(!"Ferrös".eq_ignore_ascii_case("FERRÖS"));
+
1.23.0 · source

pub fn make_ascii_uppercase(&mut self)

Converts this string to its ASCII upper case equivalent in-place.

+

ASCII letters ‘a’ to ‘z’ are mapped to ‘A’ to ‘Z’, +but non-ASCII letters are unchanged.

+

To return a new uppercased value without modifying the existing one, use +to_ascii_uppercase().

+
§Examples
+
let mut s = String::from("Grüße, Jürgen ❤");
+
+s.make_ascii_uppercase();
+
+assert_eq!("GRüßE, JüRGEN ❤", s);
+
1.23.0 · source

pub fn make_ascii_lowercase(&mut self)

Converts this string to its ASCII lower case equivalent in-place.

+

ASCII letters ‘A’ to ‘Z’ are mapped to ‘a’ to ‘z’, +but non-ASCII letters are unchanged.

+

To return a new lowercased value without modifying the existing one, use +to_ascii_lowercase().

+
§Examples
+
let mut s = String::from("GRÜßE, JÜRGEN ❤");
+
+s.make_ascii_lowercase();
+
+assert_eq!("grÜße, jÜrgen ❤", s);
+
1.80.0 · source

pub fn trim_ascii_start(&self) -> &str

Returns a string slice with leading ASCII whitespace removed.

+

‘Whitespace’ refers to the definition used by +u8::is_ascii_whitespace.

+
§Examples
+
assert_eq!(" \t \u{3000}hello world\n".trim_ascii_start(), "\u{3000}hello world\n");
+assert_eq!("  ".trim_ascii_start(), "");
+assert_eq!("".trim_ascii_start(), "");
+
1.80.0 · source

pub fn trim_ascii_end(&self) -> &str

Returns a string slice with trailing ASCII whitespace removed.

+

‘Whitespace’ refers to the definition used by +u8::is_ascii_whitespace.

+
§Examples
+
assert_eq!("\r hello world\u{3000}\n ".trim_ascii_end(), "\r hello world\u{3000}");
+assert_eq!("  ".trim_ascii_end(), "");
+assert_eq!("".trim_ascii_end(), "");
+
1.80.0 · source

pub fn trim_ascii(&self) -> &str

Returns a string slice with leading and trailing ASCII whitespace +removed.

+

‘Whitespace’ refers to the definition used by +u8::is_ascii_whitespace.

+
§Examples
+
assert_eq!("\r hello world\n ".trim_ascii(), "hello world");
+assert_eq!("  ".trim_ascii(), "");
+assert_eq!("".trim_ascii(), "");
+
1.34.0 · source

pub fn escape_debug(&self) -> EscapeDebug<'_>

Returns an iterator that escapes each char in self with char::escape_debug.

+

Note: only extended grapheme codepoints that begin the string will be +escaped.

+
§Examples
+

As an iterator:

+ +
for c in "❤\n!".escape_debug() {
+    print!("{c}");
+}
+println!();
+

Using println! directly:

+ +
println!("{}", "❤\n!".escape_debug());
+

Both are equivalent to:

+ +
println!("❤\\n!");
+

Using to_string:

+ +
assert_eq!("❤\n!".escape_debug().to_string(), "❤\\n!");
+
1.34.0 · source

pub fn escape_default(&self) -> EscapeDefault<'_>

Returns an iterator that escapes each char in self with char::escape_default.

+
§Examples
+

As an iterator:

+ +
for c in "❤\n!".escape_default() {
+    print!("{c}");
+}
+println!();
+

Using println! directly:

+ +
println!("{}", "❤\n!".escape_default());
+

Both are equivalent to:

+ +
println!("\\u{{2764}}\\n!");
+

Using to_string:

+ +
assert_eq!("❤\n!".escape_default().to_string(), "\\u{2764}\\n!");
+
1.34.0 · source

pub fn escape_unicode(&self) -> EscapeUnicode<'_>

Returns an iterator that escapes each char in self with char::escape_unicode.

+
§Examples
+

As an iterator:

+ +
for c in "❤\n!".escape_unicode() {
+    print!("{c}");
+}
+println!();
+

Using println! directly:

+ +
println!("{}", "❤\n!".escape_unicode());
+

Both are equivalent to:

+ +
println!("\\u{{2764}}\\u{{a}}\\u{{21}}");
+

Using to_string:

+ +
assert_eq!("❤\n!".escape_unicode().to_string(), "\\u{2764}\\u{a}\\u{21}");
+
source

pub fn substr_range(&self, substr: &str) -> Option<Range<usize>>

🔬This is a nightly-only experimental API. (substr_range)

Returns the range that a substring points to.

+

Returns None if substr does not point within self.

+

Unlike str::find, this does not search through the string. +Instead, it uses pointer arithmetic to find where in the string +substr is derived from.

+

This is useful for extending str::split and similar methods.

+

Note that this method may return false positives (typically either +Some(0..0) or Some(self.len()..self.len())) if substr is a +zero-length str that points at the beginning or end of another, +independent, str.

+
§Examples
+
#![feature(substr_range)]
+
+let data = "a, b, b, a";
+let mut iter = data.split(", ").map(|s| data.substr_range(s).unwrap());
+
+assert_eq!(iter.next(), Some(0..1));
+assert_eq!(iter.next(), Some(3..4));
+assert_eq!(iter.next(), Some(6..7));
+assert_eq!(iter.next(), Some(9..10));
+
1.0.0 · source

pub fn replace<P>(&self, from: P, to: &str) -> String
where + P: Pattern,

Replaces all matches of a pattern with another string.

+

replace creates a new String, and copies the data from this string slice into it. +While doing so, it attempts to find matches of a pattern. If it finds any, it +replaces them with the replacement string slice.

+
§Examples
+

Basic usage:

+ +
let s = "this is old";
+
+assert_eq!("this is new", s.replace("old", "new"));
+assert_eq!("than an old", s.replace("is", "an"));
+

When the pattern doesn’t match, it returns this string slice as String:

+ +
let s = "this is old";
+assert_eq!(s, s.replace("cookie monster", "little lamb"));
+
1.16.0 · source

pub fn replacen<P>(&self, pat: P, to: &str, count: usize) -> String
where + P: Pattern,

Replaces first N matches of a pattern with another string.

+

replacen creates a new String, and copies the data from this string slice into it. +While doing so, it attempts to find matches of a pattern. If it finds any, it +replaces them with the replacement string slice at most count times.

+
§Examples
+

Basic usage:

+ +
let s = "foo foo 123 foo";
+assert_eq!("new new 123 foo", s.replacen("foo", "new", 2));
+assert_eq!("faa fao 123 foo", s.replacen('o', "a", 3));
+assert_eq!("foo foo new23 foo", s.replacen(char::is_numeric, "new", 1));
+

When the pattern doesn’t match, it returns this string slice as String:

+ +
let s = "this is old";
+assert_eq!(s, s.replacen("cookie monster", "little lamb", 10));
+
1.2.0 · source

pub fn to_lowercase(&self) -> String

Returns the lowercase equivalent of this string slice, as a new String.

+

‘Lowercase’ is defined according to the terms of the Unicode Derived Core Property +Lowercase.

+

Since some characters can expand into multiple characters when changing +the case, this function returns a String instead of modifying the +parameter in-place.

+
§Examples
+

Basic usage:

+ +
let s = "HELLO";
+
+assert_eq!("hello", s.to_lowercase());
+

A tricky example, with sigma:

+ +
let sigma = "Σ";
+
+assert_eq!("σ", sigma.to_lowercase());
+
+// but at the end of a word, it's ς, not σ:
+let odysseus = "ὈΔΥΣΣΕΎΣ";
+
+assert_eq!("ὀδυσσεύς", odysseus.to_lowercase());
+

Languages without case are not changed:

+ +
let new_year = "农历新年";
+
+assert_eq!(new_year, new_year.to_lowercase());
+
1.2.0 · source

pub fn to_uppercase(&self) -> String

Returns the uppercase equivalent of this string slice, as a new String.

+

‘Uppercase’ is defined according to the terms of the Unicode Derived Core Property +Uppercase.

+

Since some characters can expand into multiple characters when changing +the case, this function returns a String instead of modifying the +parameter in-place.

+
§Examples
+

Basic usage:

+ +
let s = "hello";
+
+assert_eq!("HELLO", s.to_uppercase());
+

Scripts without case are not changed:

+ +
let new_year = "农历新年";
+
+assert_eq!(new_year, new_year.to_uppercase());
+

One character can become multiple:

+ +
let s = "tschüß";
+
+assert_eq!("TSCHÜSS", s.to_uppercase());
+
1.16.0 · source

pub fn repeat(&self, n: usize) -> String

Creates a new String by repeating a string n times.

+
§Panics
+

This function will panic if the capacity would overflow.

+
§Examples
+

Basic usage:

+ +
assert_eq!("abc".repeat(4), String::from("abcabcabcabc"));
+

A panic upon overflow:

+ +
// this will panic at runtime
+let huge = "0123456789abcdef".repeat(usize::MAX);
+
1.23.0 · source

pub fn to_ascii_uppercase(&self) -> String

Returns a copy of this string where each character is mapped to its +ASCII upper case equivalent.

+

ASCII letters ‘a’ to ‘z’ are mapped to ‘A’ to ‘Z’, +but non-ASCII letters are unchanged.

+

To uppercase the value in-place, use make_ascii_uppercase.

+

To uppercase ASCII characters in addition to non-ASCII characters, use +to_uppercase.

+
§Examples
+
let s = "Grüße, Jürgen ❤";
+
+assert_eq!("GRüßE, JüRGEN ❤", s.to_ascii_uppercase());
+
1.23.0 · source

pub fn to_ascii_lowercase(&self) -> String

Returns a copy of this string where each character is mapped to its +ASCII lower case equivalent.

+

ASCII letters ‘A’ to ‘Z’ are mapped to ‘a’ to ‘z’, +but non-ASCII letters are unchanged.

+

To lowercase the value in-place, use make_ascii_lowercase.

+

To lowercase ASCII characters in addition to non-ASCII characters, use +to_lowercase.

+
§Examples
+
let s = "Grüße, Jürgen ❤";
+
+assert_eq!("grüße, jürgen ❤", s.to_ascii_lowercase());
+

Trait Implementations§

source§

impl<const N: usize> Archive for FixedStr<N>

source§

type Archived = FixedStr<N>

The archived representation of this type. Read more
source§

type Resolver = ()

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

fn resolve(&self, _resolver: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
source§

impl<const N: usize> AsMut<str> for FixedStr<N>

source§

fn as_mut(&mut self) -> &mut str

Converts this type into a mutable reference of the (usually inferred) input type.
source§

impl<const N: usize> AsRef<[u8]> for FixedStr<N>

source§

fn as_ref(&self) -> &[u8]

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl<const N: usize> AsRef<str> for FixedStr<N>

source§

fn as_ref(&self) -> &str

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl<const N: usize, C> CheckBytes<C> for FixedStr<N>
where + C: Fallible + ?Sized, + C::Error: Source,

source§

unsafe fn check_bytes<'a>( + value: *const Self, + _context: &mut C, +) -> Result<(), C::Error>

Checks whether the given pointer points to a valid value within the +given context. Read more
source§

impl<const N: usize> Clone for FixedStr<N>

source§

fn clone(&self) -> FixedStr<N>

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl<const N: usize> Debug for FixedStr<N>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<const N: usize> Deref for FixedStr<N>

source§

type Target = str

The resulting type after dereferencing.
source§

fn deref(&self) -> &str

Dereferences the value.
source§

impl<const N: usize> DerefMut for FixedStr<N>

source§

fn deref_mut(&mut self) -> &mut str

Mutably dereferences the value.
source§

impl<'de, const N: usize> Deserialize<'de> for FixedStr<N>

source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
source§

impl<const N: usize, D> Deserialize<FixedStr<N>, D> for FixedStr<N>
where + D: Fallible + ?Sized,

source§

fn deserialize(&self, _deserializer: &mut D) -> Result<Self, D::Error>

Deserializes using the given deserializer
source§

impl<const N: usize> Display for FixedStr<N>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<const N: usize> From<FixedStr<N>> for SmolStr

source§

fn from(fixed: FixedStr<N>) -> Self

Converts to this type from the input type.
source§

impl<const N: usize> Hash for FixedStr<N>

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where + H: Hasher, + Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl<const N: usize> PartialEq for FixedStr<N>

source§

fn eq(&self, other: &FixedStr<N>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl<const N: usize, S> Serialize<S> for FixedStr<N>
where + S: Fallible + ?Sized,

source§

fn serialize(&self, _serializer: &mut S) -> Result<Self::Resolver, S::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.
source§

impl<const N: usize> Serialize for FixedStr<N>

source§

fn serialize<S: Serializer>(&self, serializer: S) -> Result<S::Ok, S::Error>

Serialize this value into the given Serde serializer. Read more
source§

impl<const N: usize> Copy for FixedStr<N>

source§

impl<const N: usize> Eq for FixedStr<N>

source§

impl<const N: usize> NoUndef for FixedStr<N>

source§

impl<const N: usize> Portable for FixedStr<N>

source§

impl<const N: usize> StructuralPartialEq for FixedStr<N>

Auto Trait Implementations§

§

impl<const N: usize> Freeze for FixedStr<N>

§

impl<const N: usize> RefUnwindSafe for FixedStr<N>

§

impl<const N: usize> Send for FixedStr<N>

§

impl<const N: usize> Sync for FixedStr<N>

§

impl<const N: usize> Unpin for FixedStr<N>

§

impl<const N: usize> UnwindSafe for FixedStr<N>

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where + T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T> ToOwned for T
where + T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
§

impl<T> ToSmolStr for T
where + T: Display + ?Sized,

§

fn to_smolstr(&self) -> SmolStr

source§

impl<T> ToString for T
where + T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
source§

impl<T> CommandBody for T
where + T: Send + Serialize + Archive,

source§

impl<T> CommandResult for T
where + T: Send + DeserializeOwned + Serialize + Archive,

source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/util/index.html b/client_sdk/models/util/index.html new file mode 100644 index 000000000..c191efccf --- /dev/null +++ b/client_sdk/models/util/index.html @@ -0,0 +1 @@ +client_sdk::models::util - Rust

Module client_sdk::models::util

source ·

Modules§

  • Small fixed-size string type that can only be a given length, no more or less, exactly N bytes.
  • String type built around ThinVec, so it only uses 8 bytes of stack space.
\ No newline at end of file diff --git a/client_sdk/models/util/macros/index.html b/client_sdk/models/util/macros/index.html new file mode 100644 index 000000000..d3c35fe16 --- /dev/null +++ b/client_sdk/models/util/macros/index.html @@ -0,0 +1 @@ +client_sdk::models::util::macros - Rust

Module client_sdk::models::util::macros

source ·
\ No newline at end of file diff --git a/client_sdk/models/util/macros/sidebar-items.js b/client_sdk/models/util/macros/sidebar-items.js new file mode 100644 index 000000000..5244ce01c --- /dev/null +++ b/client_sdk/models/util/macros/sidebar-items.js @@ -0,0 +1 @@ +window.SIDEBAR_ITEMS = {}; \ No newline at end of file diff --git a/client_sdk/models/util/sidebar-items.js b/client_sdk/models/util/sidebar-items.js new file mode 100644 index 000000000..8c620426b --- /dev/null +++ b/client_sdk/models/util/sidebar-items.js @@ -0,0 +1 @@ +window.SIDEBAR_ITEMS = {"mod":["fixed_str","macros","thin_str"]}; \ No newline at end of file diff --git a/client_sdk/models/util/thin_str/index.html b/client_sdk/models/util/thin_str/index.html new file mode 100644 index 000000000..138c26f92 --- /dev/null +++ b/client_sdk/models/util/thin_str/index.html @@ -0,0 +1,2 @@ +client_sdk::models::util::thin_str - Rust

Module client_sdk::models::util::thin_str

source ·
Expand description

String type built around ThinVec, so it only uses 8 bytes of stack space.

+

Structs§

\ No newline at end of file diff --git a/client_sdk/models/util/thin_str/sidebar-items.js b/client_sdk/models/util/thin_str/sidebar-items.js new file mode 100644 index 000000000..6b0b52198 --- /dev/null +++ b/client_sdk/models/util/thin_str/sidebar-items.js @@ -0,0 +1 @@ +window.SIDEBAR_ITEMS = {"struct":["FromUtf8Error","ThinString"]}; \ No newline at end of file diff --git a/client_sdk/models/util/thin_str/struct.FromUtf8Error.html b/client_sdk/models/util/thin_str/struct.FromUtf8Error.html new file mode 100644 index 000000000..9d3734a5a --- /dev/null +++ b/client_sdk/models/util/thin_str/struct.FromUtf8Error.html @@ -0,0 +1,31 @@ +FromUtf8Error in client_sdk::models::util::thin_str - Rust

Struct client_sdk::models::util::thin_str::FromUtf8Error

source ·
pub struct FromUtf8Error { /* private fields */ }

Implementations§

source§

impl FromUtf8Error

source

pub fn as_bytes(&self) -> &[u8]

source

pub fn into_bytes(self) -> ThinVec<u8>

source

pub fn utf8_error(&self) -> &Utf8Error

Trait Implementations§

source§

impl Clone for FromUtf8Error

source§

fn clone(&self) -> FromUtf8Error

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for FromUtf8Error

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Display for FromUtf8Error

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Error for FromUtf8Error

1.30.0 · source§

fn source(&self) -> Option<&(dyn Error + 'static)>

Returns the lower-level source of this error, if any. Read more
1.0.0 · source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.0.0 · source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
source§

fn provide<'a>(&'a self, request: &mut Request<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type-based access to context intended for error reports. Read more
source§

impl PartialEq for FromUtf8Error

source§

fn eq(&self, other: &FromUtf8Error) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl Eq for FromUtf8Error

source§

impl StructuralPartialEq for FromUtf8Error

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where + T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where + T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
§

impl<T> ToSmolStr for T
where + T: Display + ?Sized,

§

fn to_smolstr(&self) -> SmolStr

source§

impl<T> ToString for T
where + T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/models/util/thin_str/struct.ThinString.html b/client_sdk/models/util/thin_str/struct.ThinString.html new file mode 100644 index 000000000..1cf2c3b09 --- /dev/null +++ b/client_sdk/models/util/thin_str/struct.ThinString.html @@ -0,0 +1,1497 @@ +ThinString in client_sdk::models::util::thin_str - Rust

Struct client_sdk::models::util::thin_str::ThinString

source ·
pub struct ThinString(/* private fields */);

Implementations§

source§

impl ThinString

source

pub fn new() -> Self

source

pub fn with_capacity(capacity: usize) -> Self

source

pub fn from_utf8(vec: ThinVec<u8>) -> Result<Self, FromUtf8Error>

source

pub fn as_str(&self) -> &str

source

pub fn as_bytes(&self) -> &[u8]

source

pub fn push_str(&mut self, s: &str)

source

pub fn push(&mut self, c: char)

source

pub fn clear(&mut self)

source

pub fn reserve(&mut self, additional: usize)

source

pub fn reserve_exact(&mut self, additional: usize)

source

pub fn shrink_to_fit(&mut self)

source

pub fn into_bytes(self) -> ThinVec<u8>

source

pub fn as_mut_vec(&mut self) -> &mut ThinVec<u8>

source

pub fn len(&self) -> usize

source

pub fn is_empty(&self) -> bool

Methods from Deref<Target = str>§

1.0.0 · source

pub fn len(&self) -> usize

Returns the length of self.

+

This length is in bytes, not chars or graphemes. In other words, +it might not be what a human considers the length of the string.

+
§Examples
+
let len = "foo".len();
+assert_eq!(3, len);
+
+assert_eq!("ƒoo".len(), 4); // fancy f!
+assert_eq!("ƒoo".chars().count(), 3);
+
1.0.0 · source

pub fn is_empty(&self) -> bool

Returns true if self has a length of zero bytes.

+
§Examples
+
let s = "";
+assert!(s.is_empty());
+
+let s = "not empty";
+assert!(!s.is_empty());
+
1.9.0 · source

pub fn is_char_boundary(&self, index: usize) -> bool

Checks that index-th byte is the first byte in a UTF-8 code point +sequence or the end of the string.

+

The start and end of the string (when index == self.len()) are +considered to be boundaries.

+

Returns false if index is greater than self.len().

+
§Examples
+
let s = "Löwe 老虎 Léopard";
+assert!(s.is_char_boundary(0));
+// start of `老`
+assert!(s.is_char_boundary(6));
+assert!(s.is_char_boundary(s.len()));
+
+// second byte of `ö`
+assert!(!s.is_char_boundary(2));
+
+// third byte of `老`
+assert!(!s.is_char_boundary(8));
+
source

pub fn floor_char_boundary(&self, index: usize) -> usize

🔬This is a nightly-only experimental API. (round_char_boundary)

Finds the closest x not exceeding index where is_char_boundary(x) is true.

+

This method can help you truncate a string so that it’s still valid UTF-8, but doesn’t +exceed a given number of bytes. Note that this is done purely at the character level +and can still visually split graphemes, even though the underlying characters aren’t +split. For example, the emoji 🧑‍🔬 (scientist) could be split so that the string only +includes 🧑 (person) instead.

+
§Examples
+
#![feature(round_char_boundary)]
+let s = "❤️🧡💛💚💙💜";
+assert_eq!(s.len(), 26);
+assert!(!s.is_char_boundary(13));
+
+let closest = s.floor_char_boundary(13);
+assert_eq!(closest, 10);
+assert_eq!(&s[..closest], "❤️🧡");
+
source

pub fn ceil_char_boundary(&self, index: usize) -> usize

🔬This is a nightly-only experimental API. (round_char_boundary)

Finds the closest x not below index where is_char_boundary(x) is true.

+

If index is greater than the length of the string, this returns the length of the string.

+

This method is the natural complement to floor_char_boundary. See that method +for more details.

+
§Examples
+
#![feature(round_char_boundary)]
+let s = "❤️🧡💛💚💙💜";
+assert_eq!(s.len(), 26);
+assert!(!s.is_char_boundary(13));
+
+let closest = s.ceil_char_boundary(13);
+assert_eq!(closest, 14);
+assert_eq!(&s[..closest], "❤️🧡💛");
+
1.0.0 · source

pub fn as_bytes(&self) -> &[u8]

Converts a string slice to a byte slice. To convert the byte slice back +into a string slice, use the from_utf8 function.

+
§Examples
+
let bytes = "bors".as_bytes();
+assert_eq!(b"bors", bytes);
+
1.20.0 · source

pub unsafe fn as_bytes_mut(&mut self) -> &mut [u8]

Converts a mutable string slice to a mutable byte slice.

+
§Safety
+

The caller must ensure that the content of the slice is valid UTF-8 +before the borrow ends and the underlying str is used.

+

Use of a str whose contents are not valid UTF-8 is undefined behavior.

+
§Examples
+

Basic usage:

+ +
let mut s = String::from("Hello");
+let bytes = unsafe { s.as_bytes_mut() };
+
+assert_eq!(b"Hello", bytes);
+

Mutability:

+ +
let mut s = String::from("🗻∈🌏");
+
+unsafe {
+    let bytes = s.as_bytes_mut();
+
+    bytes[0] = 0xF0;
+    bytes[1] = 0x9F;
+    bytes[2] = 0x8D;
+    bytes[3] = 0x94;
+}
+
+assert_eq!("🍔∈🌏", s);
+
1.0.0 · source

pub fn as_ptr(&self) -> *const u8

Converts a string slice to a raw pointer.

+

As string slices are a slice of bytes, the raw pointer points to a +u8. This pointer will be pointing to the first byte of the string +slice.

+

The caller must ensure that the returned pointer is never written to. +If you need to mutate the contents of the string slice, use as_mut_ptr.

+
§Examples
+
let s = "Hello";
+let ptr = s.as_ptr();
+
1.36.0 · source

pub fn as_mut_ptr(&mut self) -> *mut u8

Converts a mutable string slice to a raw pointer.

+

As string slices are a slice of bytes, the raw pointer points to a +u8. This pointer will be pointing to the first byte of the string +slice.

+

It is your responsibility to make sure that the string slice only gets +modified in a way that it remains valid UTF-8.

+
1.20.0 · source

pub fn get<I>(&self, i: I) -> Option<&<I as SliceIndex<str>>::Output>
where + I: SliceIndex<str>,

Returns a subslice of str.

+

This is the non-panicking alternative to indexing the str. Returns +None whenever equivalent indexing operation would panic.

+
§Examples
+
let v = String::from("🗻∈🌏");
+
+assert_eq!(Some("🗻"), v.get(0..4));
+
+// indices not on UTF-8 sequence boundaries
+assert!(v.get(1..).is_none());
+assert!(v.get(..8).is_none());
+
+// out of bounds
+assert!(v.get(..42).is_none());
+
1.20.0 · source

pub fn get_mut<I>( + &mut self, + i: I, +) -> Option<&mut <I as SliceIndex<str>>::Output>
where + I: SliceIndex<str>,

Returns a mutable subslice of str.

+

This is the non-panicking alternative to indexing the str. Returns +None whenever equivalent indexing operation would panic.

+
§Examples
+
let mut v = String::from("hello");
+// correct length
+assert!(v.get_mut(0..5).is_some());
+// out of bounds
+assert!(v.get_mut(..42).is_none());
+assert_eq!(Some("he"), v.get_mut(0..2).map(|v| &*v));
+
+assert_eq!("hello", v);
+{
+    let s = v.get_mut(0..2);
+    let s = s.map(|s| {
+        s.make_ascii_uppercase();
+        &*s
+    });
+    assert_eq!(Some("HE"), s);
+}
+assert_eq!("HEllo", v);
+
1.20.0 · source

pub unsafe fn get_unchecked<I>(&self, i: I) -> &<I as SliceIndex<str>>::Output
where + I: SliceIndex<str>,

Returns an unchecked subslice of str.

+

This is the unchecked alternative to indexing the str.

+
§Safety
+

Callers of this function are responsible that these preconditions are +satisfied:

+
    +
  • The starting index must not exceed the ending index;
  • +
  • Indexes must be within bounds of the original slice;
  • +
  • Indexes must lie on UTF-8 sequence boundaries.
  • +
+

Failing that, the returned string slice may reference invalid memory or +violate the invariants communicated by the str type.

+
§Examples
+
let v = "🗻∈🌏";
+unsafe {
+    assert_eq!("🗻", v.get_unchecked(0..4));
+    assert_eq!("∈", v.get_unchecked(4..7));
+    assert_eq!("🌏", v.get_unchecked(7..11));
+}
+
1.20.0 · source

pub unsafe fn get_unchecked_mut<I>( + &mut self, + i: I, +) -> &mut <I as SliceIndex<str>>::Output
where + I: SliceIndex<str>,

Returns a mutable, unchecked subslice of str.

+

This is the unchecked alternative to indexing the str.

+
§Safety
+

Callers of this function are responsible that these preconditions are +satisfied:

+
    +
  • The starting index must not exceed the ending index;
  • +
  • Indexes must be within bounds of the original slice;
  • +
  • Indexes must lie on UTF-8 sequence boundaries.
  • +
+

Failing that, the returned string slice may reference invalid memory or +violate the invariants communicated by the str type.

+
§Examples
+
let mut v = String::from("🗻∈🌏");
+unsafe {
+    assert_eq!("🗻", v.get_unchecked_mut(0..4));
+    assert_eq!("∈", v.get_unchecked_mut(4..7));
+    assert_eq!("🌏", v.get_unchecked_mut(7..11));
+}
+
1.0.0 · source

pub unsafe fn slice_unchecked(&self, begin: usize, end: usize) -> &str

👎Deprecated since 1.29.0: use get_unchecked(begin..end) instead

Creates a string slice from another string slice, bypassing safety +checks.

+

This is generally not recommended, use with caution! For a safe +alternative see str and Index.

+

This new slice goes from begin to end, including begin but +excluding end.

+

To get a mutable string slice instead, see the +slice_mut_unchecked method.

+
§Safety
+

Callers of this function are responsible that three preconditions are +satisfied:

+
    +
  • begin must not exceed end.
  • +
  • begin and end must be byte positions within the string slice.
  • +
  • begin and end must lie on UTF-8 sequence boundaries.
  • +
+
§Examples
+
let s = "Löwe 老虎 Léopard";
+
+unsafe {
+    assert_eq!("Löwe 老虎 Léopard", s.slice_unchecked(0, 21));
+}
+
+let s = "Hello, world!";
+
+unsafe {
+    assert_eq!("world", s.slice_unchecked(7, 12));
+}
+
1.5.0 · source

pub unsafe fn slice_mut_unchecked( + &mut self, + begin: usize, + end: usize, +) -> &mut str

👎Deprecated since 1.29.0: use get_unchecked_mut(begin..end) instead

Creates a string slice from another string slice, bypassing safety +checks.

+

This is generally not recommended, use with caution! For a safe +alternative see str and IndexMut.

+

This new slice goes from begin to end, including begin but +excluding end.

+

To get an immutable string slice instead, see the +slice_unchecked method.

+
§Safety
+

Callers of this function are responsible that three preconditions are +satisfied:

+
    +
  • begin must not exceed end.
  • +
  • begin and end must be byte positions within the string slice.
  • +
  • begin and end must lie on UTF-8 sequence boundaries.
  • +
+
1.4.0 · source

pub fn split_at(&self, mid: usize) -> (&str, &str)

Divides one string slice into two at an index.

+

The argument, mid, should be a byte offset from the start of the +string. It must also be on the boundary of a UTF-8 code point.

+

The two slices returned go from the start of the string slice to mid, +and from mid to the end of the string slice.

+

To get mutable string slices instead, see the split_at_mut +method.

+
§Panics
+

Panics if mid is not on a UTF-8 code point boundary, or if it is past +the end of the last code point of the string slice. For a non-panicking +alternative see split_at_checked.

+
§Examples
+
let s = "Per Martin-Löf";
+
+let (first, last) = s.split_at(3);
+
+assert_eq!("Per", first);
+assert_eq!(" Martin-Löf", last);
+
1.4.0 · source

pub fn split_at_mut(&mut self, mid: usize) -> (&mut str, &mut str)

Divides one mutable string slice into two at an index.

+

The argument, mid, should be a byte offset from the start of the +string. It must also be on the boundary of a UTF-8 code point.

+

The two slices returned go from the start of the string slice to mid, +and from mid to the end of the string slice.

+

To get immutable string slices instead, see the split_at method.

+
§Panics
+

Panics if mid is not on a UTF-8 code point boundary, or if it is past +the end of the last code point of the string slice. For a non-panicking +alternative see split_at_mut_checked.

+
§Examples
+
let mut s = "Per Martin-Löf".to_string();
+{
+    let (first, last) = s.split_at_mut(3);
+    first.make_ascii_uppercase();
+    assert_eq!("PER", first);
+    assert_eq!(" Martin-Löf", last);
+}
+assert_eq!("PER Martin-Löf", s);
+
1.80.0 · source

pub fn split_at_checked(&self, mid: usize) -> Option<(&str, &str)>

Divides one string slice into two at an index.

+

The argument, mid, should be a valid byte offset from the start of the +string. It must also be on the boundary of a UTF-8 code point. The +method returns None if that’s not the case.

+

The two slices returned go from the start of the string slice to mid, +and from mid to the end of the string slice.

+

To get mutable string slices instead, see the split_at_mut_checked +method.

+
§Examples
+
let s = "Per Martin-Löf";
+
+let (first, last) = s.split_at_checked(3).unwrap();
+assert_eq!("Per", first);
+assert_eq!(" Martin-Löf", last);
+
+assert_eq!(None, s.split_at_checked(13));  // Inside “ö”
+assert_eq!(None, s.split_at_checked(16));  // Beyond the string length
+
1.80.0 · source

pub fn split_at_mut_checked( + &mut self, + mid: usize, +) -> Option<(&mut str, &mut str)>

Divides one mutable string slice into two at an index.

+

The argument, mid, should be a valid byte offset from the start of the +string. It must also be on the boundary of a UTF-8 code point. The +method returns None if that’s not the case.

+

The two slices returned go from the start of the string slice to mid, +and from mid to the end of the string slice.

+

To get immutable string slices instead, see the split_at_checked method.

+
§Examples
+
let mut s = "Per Martin-Löf".to_string();
+if let Some((first, last)) = s.split_at_mut_checked(3) {
+    first.make_ascii_uppercase();
+    assert_eq!("PER", first);
+    assert_eq!(" Martin-Löf", last);
+}
+assert_eq!("PER Martin-Löf", s);
+
+assert_eq!(None, s.split_at_mut_checked(13));  // Inside “ö”
+assert_eq!(None, s.split_at_mut_checked(16));  // Beyond the string length
+
1.0.0 · source

pub fn chars(&self) -> Chars<'_>

Returns an iterator over the chars of a string slice.

+

As a string slice consists of valid UTF-8, we can iterate through a +string slice by char. This method returns such an iterator.

+

It’s important to remember that char represents a Unicode Scalar +Value, and might not match your idea of what a ‘character’ is. Iteration +over grapheme clusters may be what you actually want. This functionality +is not provided by Rust’s standard library, check crates.io instead.

+
§Examples
+

Basic usage:

+ +
let word = "goodbye";
+
+let count = word.chars().count();
+assert_eq!(7, count);
+
+let mut chars = word.chars();
+
+assert_eq!(Some('g'), chars.next());
+assert_eq!(Some('o'), chars.next());
+assert_eq!(Some('o'), chars.next());
+assert_eq!(Some('d'), chars.next());
+assert_eq!(Some('b'), chars.next());
+assert_eq!(Some('y'), chars.next());
+assert_eq!(Some('e'), chars.next());
+
+assert_eq!(None, chars.next());
+

Remember, chars might not match your intuition about characters:

+ +
let y = "y̆";
+
+let mut chars = y.chars();
+
+assert_eq!(Some('y'), chars.next()); // not 'y̆'
+assert_eq!(Some('\u{0306}'), chars.next());
+
+assert_eq!(None, chars.next());
+
1.0.0 · source

pub fn char_indices(&self) -> CharIndices<'_>

Returns an iterator over the chars of a string slice, and their +positions.

+

As a string slice consists of valid UTF-8, we can iterate through a +string slice by char. This method returns an iterator of both +these chars, as well as their byte positions.

+

The iterator yields tuples. The position is first, the char is +second.

+
§Examples
+

Basic usage:

+ +
let word = "goodbye";
+
+let count = word.char_indices().count();
+assert_eq!(7, count);
+
+let mut char_indices = word.char_indices();
+
+assert_eq!(Some((0, 'g')), char_indices.next());
+assert_eq!(Some((1, 'o')), char_indices.next());
+assert_eq!(Some((2, 'o')), char_indices.next());
+assert_eq!(Some((3, 'd')), char_indices.next());
+assert_eq!(Some((4, 'b')), char_indices.next());
+assert_eq!(Some((5, 'y')), char_indices.next());
+assert_eq!(Some((6, 'e')), char_indices.next());
+
+assert_eq!(None, char_indices.next());
+

Remember, chars might not match your intuition about characters:

+ +
let yes = "y̆es";
+
+let mut char_indices = yes.char_indices();
+
+assert_eq!(Some((0, 'y')), char_indices.next()); // not (0, 'y̆')
+assert_eq!(Some((1, '\u{0306}')), char_indices.next());
+
+// note the 3 here - the previous character took up two bytes
+assert_eq!(Some((3, 'e')), char_indices.next());
+assert_eq!(Some((4, 's')), char_indices.next());
+
+assert_eq!(None, char_indices.next());
+
1.0.0 · source

pub fn bytes(&self) -> Bytes<'_>

Returns an iterator over the bytes of a string slice.

+

As a string slice consists of a sequence of bytes, we can iterate +through a string slice by byte. This method returns such an iterator.

+
§Examples
+
let mut bytes = "bors".bytes();
+
+assert_eq!(Some(b'b'), bytes.next());
+assert_eq!(Some(b'o'), bytes.next());
+assert_eq!(Some(b'r'), bytes.next());
+assert_eq!(Some(b's'), bytes.next());
+
+assert_eq!(None, bytes.next());
+
1.1.0 · source

pub fn split_whitespace(&self) -> SplitWhitespace<'_>

Splits a string slice by whitespace.

+

The iterator returned will return string slices that are sub-slices of +the original string slice, separated by any amount of whitespace.

+

‘Whitespace’ is defined according to the terms of the Unicode Derived +Core Property White_Space. If you only want to split on ASCII whitespace +instead, use split_ascii_whitespace.

+
§Examples
+

Basic usage:

+ +
let mut iter = "A few words".split_whitespace();
+
+assert_eq!(Some("A"), iter.next());
+assert_eq!(Some("few"), iter.next());
+assert_eq!(Some("words"), iter.next());
+
+assert_eq!(None, iter.next());
+

All kinds of whitespace are considered:

+ +
let mut iter = " Mary   had\ta\u{2009}little  \n\t lamb".split_whitespace();
+assert_eq!(Some("Mary"), iter.next());
+assert_eq!(Some("had"), iter.next());
+assert_eq!(Some("a"), iter.next());
+assert_eq!(Some("little"), iter.next());
+assert_eq!(Some("lamb"), iter.next());
+
+assert_eq!(None, iter.next());
+

If the string is empty or all whitespace, the iterator yields no string slices:

+ +
assert_eq!("".split_whitespace().next(), None);
+assert_eq!("   ".split_whitespace().next(), None);
+
1.34.0 · source

pub fn split_ascii_whitespace(&self) -> SplitAsciiWhitespace<'_>

Splits a string slice by ASCII whitespace.

+

The iterator returned will return string slices that are sub-slices of +the original string slice, separated by any amount of ASCII whitespace.

+

To split by Unicode Whitespace instead, use split_whitespace.

+
§Examples
+

Basic usage:

+ +
let mut iter = "A few words".split_ascii_whitespace();
+
+assert_eq!(Some("A"), iter.next());
+assert_eq!(Some("few"), iter.next());
+assert_eq!(Some("words"), iter.next());
+
+assert_eq!(None, iter.next());
+

All kinds of ASCII whitespace are considered:

+ +
let mut iter = " Mary   had\ta little  \n\t lamb".split_ascii_whitespace();
+assert_eq!(Some("Mary"), iter.next());
+assert_eq!(Some("had"), iter.next());
+assert_eq!(Some("a"), iter.next());
+assert_eq!(Some("little"), iter.next());
+assert_eq!(Some("lamb"), iter.next());
+
+assert_eq!(None, iter.next());
+

If the string is empty or all ASCII whitespace, the iterator yields no string slices:

+ +
assert_eq!("".split_ascii_whitespace().next(), None);
+assert_eq!("   ".split_ascii_whitespace().next(), None);
+
1.0.0 · source

pub fn lines(&self) -> Lines<'_>

Returns an iterator over the lines of a string, as string slices.

+

Lines are split at line endings that are either newlines (\n) or +sequences of a carriage return followed by a line feed (\r\n).

+

Line terminators are not included in the lines returned by the iterator.

+

Note that any carriage return (\r) not immediately followed by a +line feed (\n) does not split a line. These carriage returns are +thereby included in the produced lines.

+

The final line ending is optional. A string that ends with a final line +ending will return the same lines as an otherwise identical string +without a final line ending.

+
§Examples
+

Basic usage:

+ +
let text = "foo\r\nbar\n\nbaz\r";
+let mut lines = text.lines();
+
+assert_eq!(Some("foo"), lines.next());
+assert_eq!(Some("bar"), lines.next());
+assert_eq!(Some(""), lines.next());
+// Trailing carriage return is included in the last line
+assert_eq!(Some("baz\r"), lines.next());
+
+assert_eq!(None, lines.next());
+

The final line does not require any ending:

+ +
let text = "foo\nbar\n\r\nbaz";
+let mut lines = text.lines();
+
+assert_eq!(Some("foo"), lines.next());
+assert_eq!(Some("bar"), lines.next());
+assert_eq!(Some(""), lines.next());
+assert_eq!(Some("baz"), lines.next());
+
+assert_eq!(None, lines.next());
+
1.0.0 · source

pub fn lines_any(&self) -> LinesAny<'_>

👎Deprecated since 1.4.0: use lines() instead now

Returns an iterator over the lines of a string.

+
1.8.0 · source

pub fn encode_utf16(&self) -> EncodeUtf16<'_>

Returns an iterator of u16 over the string encoded as UTF-16.

+
§Examples
+
let text = "Zażółć gęślą jaźń";
+
+let utf8_len = text.len();
+let utf16_len = text.encode_utf16().count();
+
+assert!(utf16_len <= utf8_len);
+
1.0.0 · source

pub fn contains<P>(&self, pat: P) -> bool
where + P: Pattern,

Returns true if the given pattern matches a sub-slice of +this string slice.

+

Returns false if it does not.

+

The pattern can be a &str, char, a slice of chars, or a +function or closure that determines if a character matches.

+
§Examples
+
let bananas = "bananas";
+
+assert!(bananas.contains("nana"));
+assert!(!bananas.contains("apples"));
+
1.0.0 · source

pub fn starts_with<P>(&self, pat: P) -> bool
where + P: Pattern,

Returns true if the given pattern matches a prefix of this +string slice.

+

Returns false if it does not.

+

The pattern can be a &str, in which case this function will return true if +the &str is a prefix of this string slice.

+

The pattern can also be a char, a slice of chars, or a +function or closure that determines if a character matches. +These will only be checked against the first character of this string slice. +Look at the second example below regarding behavior for slices of chars.

+
§Examples
+
let bananas = "bananas";
+
+assert!(bananas.starts_with("bana"));
+assert!(!bananas.starts_with("nana"));
+ +
let bananas = "bananas";
+
+// Note that both of these assert successfully.
+assert!(bananas.starts_with(&['b', 'a', 'n', 'a']));
+assert!(bananas.starts_with(&['a', 'b', 'c', 'd']));
+
1.0.0 · source

pub fn ends_with<P>(&self, pat: P) -> bool
where + P: Pattern, + <P as Pattern>::Searcher<'a>: for<'a> ReverseSearcher<'a>,

Returns true if the given pattern matches a suffix of this +string slice.

+

Returns false if it does not.

+

The pattern can be a &str, char, a slice of chars, or a +function or closure that determines if a character matches.

+
§Examples
+
let bananas = "bananas";
+
+assert!(bananas.ends_with("anas"));
+assert!(!bananas.ends_with("nana"));
+
1.0.0 · source

pub fn find<P>(&self, pat: P) -> Option<usize>
where + P: Pattern,

Returns the byte index of the first character of this string slice that +matches the pattern.

+

Returns None if the pattern doesn’t match.

+

The pattern can be a &str, char, a slice of chars, or a +function or closure that determines if a character matches.

+
§Examples
+

Simple patterns:

+ +
let s = "Löwe 老虎 Léopard Gepardi";
+
+assert_eq!(s.find('L'), Some(0));
+assert_eq!(s.find('é'), Some(14));
+assert_eq!(s.find("pard"), Some(17));
+

More complex patterns using point-free style and closures:

+ +
let s = "Löwe 老虎 Léopard";
+
+assert_eq!(s.find(char::is_whitespace), Some(5));
+assert_eq!(s.find(char::is_lowercase), Some(1));
+assert_eq!(s.find(|c: char| c.is_whitespace() || c.is_lowercase()), Some(1));
+assert_eq!(s.find(|c: char| (c < 'o') && (c > 'a')), Some(4));
+

Not finding the pattern:

+ +
let s = "Löwe 老虎 Léopard";
+let x: &[_] = &['1', '2'];
+
+assert_eq!(s.find(x), None);
+
1.0.0 · source

pub fn rfind<P>(&self, pat: P) -> Option<usize>
where + P: Pattern, + <P as Pattern>::Searcher<'a>: for<'a> ReverseSearcher<'a>,

Returns the byte index for the first character of the last match of the pattern in +this string slice.

+

Returns None if the pattern doesn’t match.

+

The pattern can be a &str, char, a slice of chars, or a +function or closure that determines if a character matches.

+
§Examples
+

Simple patterns:

+ +
let s = "Löwe 老虎 Léopard Gepardi";
+
+assert_eq!(s.rfind('L'), Some(13));
+assert_eq!(s.rfind('é'), Some(14));
+assert_eq!(s.rfind("pard"), Some(24));
+

More complex patterns with closures:

+ +
let s = "Löwe 老虎 Léopard";
+
+assert_eq!(s.rfind(char::is_whitespace), Some(12));
+assert_eq!(s.rfind(char::is_lowercase), Some(20));
+

Not finding the pattern:

+ +
let s = "Löwe 老虎 Léopard";
+let x: &[_] = &['1', '2'];
+
+assert_eq!(s.rfind(x), None);
+
1.0.0 · source

pub fn split<P>(&self, pat: P) -> Split<'_, P>
where + P: Pattern,

Returns an iterator over substrings of this string slice, separated by +characters matched by a pattern.

+

The pattern can be a &str, char, a slice of chars, or a +function or closure that determines if a character matches.

+
§Iterator behavior
+

The returned iterator will be a DoubleEndedIterator if the pattern +allows a reverse search and forward/reverse search yields the same +elements. This is true for, e.g., char, but not for &str.

+

If the pattern allows a reverse search but its results might differ +from a forward search, the rsplit method can be used.

+
§Examples
+

Simple patterns:

+ +
let v: Vec<&str> = "Mary had a little lamb".split(' ').collect();
+assert_eq!(v, ["Mary", "had", "a", "little", "lamb"]);
+
+let v: Vec<&str> = "".split('X').collect();
+assert_eq!(v, [""]);
+
+let v: Vec<&str> = "lionXXtigerXleopard".split('X').collect();
+assert_eq!(v, ["lion", "", "tiger", "leopard"]);
+
+let v: Vec<&str> = "lion::tiger::leopard".split("::").collect();
+assert_eq!(v, ["lion", "tiger", "leopard"]);
+
+let v: Vec<&str> = "abc1def2ghi".split(char::is_numeric).collect();
+assert_eq!(v, ["abc", "def", "ghi"]);
+
+let v: Vec<&str> = "lionXtigerXleopard".split(char::is_uppercase).collect();
+assert_eq!(v, ["lion", "tiger", "leopard"]);
+

If the pattern is a slice of chars, split on each occurrence of any of the characters:

+ +
let v: Vec<&str> = "2020-11-03 23:59".split(&['-', ' ', ':', '@'][..]).collect();
+assert_eq!(v, ["2020", "11", "03", "23", "59"]);
+

A more complex pattern, using a closure:

+ +
let v: Vec<&str> = "abc1defXghi".split(|c| c == '1' || c == 'X').collect();
+assert_eq!(v, ["abc", "def", "ghi"]);
+

If a string contains multiple contiguous separators, you will end up +with empty strings in the output:

+ +
let x = "||||a||b|c".to_string();
+let d: Vec<_> = x.split('|').collect();
+
+assert_eq!(d, &["", "", "", "", "a", "", "b", "c"]);
+

Contiguous separators are separated by the empty string.

+ +
let x = "(///)".to_string();
+let d: Vec<_> = x.split('/').collect();
+
+assert_eq!(d, &["(", "", "", ")"]);
+

Separators at the start or end of a string are neighbored +by empty strings.

+ +
let d: Vec<_> = "010".split("0").collect();
+assert_eq!(d, &["", "1", ""]);
+

When the empty string is used as a separator, it separates +every character in the string, along with the beginning +and end of the string.

+ +
let f: Vec<_> = "rust".split("").collect();
+assert_eq!(f, &["", "r", "u", "s", "t", ""]);
+

Contiguous separators can lead to possibly surprising behavior +when whitespace is used as the separator. This code is correct:

+ +
let x = "    a  b c".to_string();
+let d: Vec<_> = x.split(' ').collect();
+
+assert_eq!(d, &["", "", "", "", "a", "", "b", "c"]);
+

It does not give you:

+ +
assert_eq!(d, &["a", "b", "c"]);
+

Use split_whitespace for this behavior.

+
1.51.0 · source

pub fn split_inclusive<P>(&self, pat: P) -> SplitInclusive<'_, P>
where + P: Pattern,

Returns an iterator over substrings of this string slice, separated by +characters matched by a pattern.

+

Differs from the iterator produced by split in that split_inclusive +leaves the matched part as the terminator of the substring.

+

The pattern can be a &str, char, a slice of chars, or a +function or closure that determines if a character matches.

+
§Examples
+
let v: Vec<&str> = "Mary had a little lamb\nlittle lamb\nlittle lamb."
+    .split_inclusive('\n').collect();
+assert_eq!(v, ["Mary had a little lamb\n", "little lamb\n", "little lamb."]);
+

If the last element of the string is matched, +that element will be considered the terminator of the preceding substring. +That substring will be the last item returned by the iterator.

+ +
let v: Vec<&str> = "Mary had a little lamb\nlittle lamb\nlittle lamb.\n"
+    .split_inclusive('\n').collect();
+assert_eq!(v, ["Mary had a little lamb\n", "little lamb\n", "little lamb.\n"]);
+
1.0.0 · source

pub fn rsplit<P>(&self, pat: P) -> RSplit<'_, P>
where + P: Pattern, + <P as Pattern>::Searcher<'a>: for<'a> ReverseSearcher<'a>,

Returns an iterator over substrings of the given string slice, separated +by characters matched by a pattern and yielded in reverse order.

+

The pattern can be a &str, char, a slice of chars, or a +function or closure that determines if a character matches.

+
§Iterator behavior
+

The returned iterator requires that the pattern supports a reverse +search, and it will be a DoubleEndedIterator if a forward/reverse +search yields the same elements.

+

For iterating from the front, the split method can be used.

+
§Examples
+

Simple patterns:

+ +
let v: Vec<&str> = "Mary had a little lamb".rsplit(' ').collect();
+assert_eq!(v, ["lamb", "little", "a", "had", "Mary"]);
+
+let v: Vec<&str> = "".rsplit('X').collect();
+assert_eq!(v, [""]);
+
+let v: Vec<&str> = "lionXXtigerXleopard".rsplit('X').collect();
+assert_eq!(v, ["leopard", "tiger", "", "lion"]);
+
+let v: Vec<&str> = "lion::tiger::leopard".rsplit("::").collect();
+assert_eq!(v, ["leopard", "tiger", "lion"]);
+

A more complex pattern, using a closure:

+ +
let v: Vec<&str> = "abc1defXghi".rsplit(|c| c == '1' || c == 'X').collect();
+assert_eq!(v, ["ghi", "def", "abc"]);
+
1.0.0 · source

pub fn split_terminator<P>(&self, pat: P) -> SplitTerminator<'_, P>
where + P: Pattern,

Returns an iterator over substrings of the given string slice, separated +by characters matched by a pattern.

+

The pattern can be a &str, char, a slice of chars, or a +function or closure that determines if a character matches.

+

Equivalent to split, except that the trailing substring +is skipped if empty.

+

This method can be used for string data that is terminated, +rather than separated by a pattern.

+
§Iterator behavior
+

The returned iterator will be a DoubleEndedIterator if the pattern +allows a reverse search and forward/reverse search yields the same +elements. This is true for, e.g., char, but not for &str.

+

If the pattern allows a reverse search but its results might differ +from a forward search, the rsplit_terminator method can be used.

+
§Examples
+
let v: Vec<&str> = "A.B.".split_terminator('.').collect();
+assert_eq!(v, ["A", "B"]);
+
+let v: Vec<&str> = "A..B..".split_terminator(".").collect();
+assert_eq!(v, ["A", "", "B", ""]);
+
+let v: Vec<&str> = "A.B:C.D".split_terminator(&['.', ':'][..]).collect();
+assert_eq!(v, ["A", "B", "C", "D"]);
+
1.0.0 · source

pub fn rsplit_terminator<P>(&self, pat: P) -> RSplitTerminator<'_, P>
where + P: Pattern, + <P as Pattern>::Searcher<'a>: for<'a> ReverseSearcher<'a>,

Returns an iterator over substrings of self, separated by characters +matched by a pattern and yielded in reverse order.

+

The pattern can be a &str, char, a slice of chars, or a +function or closure that determines if a character matches.

+

Equivalent to split, except that the trailing substring is +skipped if empty.

+

This method can be used for string data that is terminated, +rather than separated by a pattern.

+
§Iterator behavior
+

The returned iterator requires that the pattern supports a +reverse search, and it will be double ended if a forward/reverse +search yields the same elements.

+

For iterating from the front, the split_terminator method can be +used.

+
§Examples
+
let v: Vec<&str> = "A.B.".rsplit_terminator('.').collect();
+assert_eq!(v, ["B", "A"]);
+
+let v: Vec<&str> = "A..B..".rsplit_terminator(".").collect();
+assert_eq!(v, ["", "B", "", "A"]);
+
+let v: Vec<&str> = "A.B:C.D".rsplit_terminator(&['.', ':'][..]).collect();
+assert_eq!(v, ["D", "C", "B", "A"]);
+
1.0.0 · source

pub fn splitn<P>(&self, n: usize, pat: P) -> SplitN<'_, P>
where + P: Pattern,

Returns an iterator over substrings of the given string slice, separated +by a pattern, restricted to returning at most n items.

+

If n substrings are returned, the last substring (the nth substring) +will contain the remainder of the string.

+

The pattern can be a &str, char, a slice of chars, or a +function or closure that determines if a character matches.

+
§Iterator behavior
+

The returned iterator will not be double ended, because it is +not efficient to support.

+

If the pattern allows a reverse search, the rsplitn method can be +used.

+
§Examples
+

Simple patterns:

+ +
let v: Vec<&str> = "Mary had a little lambda".splitn(3, ' ').collect();
+assert_eq!(v, ["Mary", "had", "a little lambda"]);
+
+let v: Vec<&str> = "lionXXtigerXleopard".splitn(3, "X").collect();
+assert_eq!(v, ["lion", "", "tigerXleopard"]);
+
+let v: Vec<&str> = "abcXdef".splitn(1, 'X').collect();
+assert_eq!(v, ["abcXdef"]);
+
+let v: Vec<&str> = "".splitn(1, 'X').collect();
+assert_eq!(v, [""]);
+

A more complex pattern, using a closure:

+ +
let v: Vec<&str> = "abc1defXghi".splitn(2, |c| c == '1' || c == 'X').collect();
+assert_eq!(v, ["abc", "defXghi"]);
+
1.0.0 · source

pub fn rsplitn<P>(&self, n: usize, pat: P) -> RSplitN<'_, P>
where + P: Pattern, + <P as Pattern>::Searcher<'a>: for<'a> ReverseSearcher<'a>,

Returns an iterator over substrings of this string slice, separated by a +pattern, starting from the end of the string, restricted to returning at +most n items.

+

If n substrings are returned, the last substring (the nth substring) +will contain the remainder of the string.

+

The pattern can be a &str, char, a slice of chars, or a +function or closure that determines if a character matches.

+
§Iterator behavior
+

The returned iterator will not be double ended, because it is not +efficient to support.

+

For splitting from the front, the splitn method can be used.

+
§Examples
+

Simple patterns:

+ +
let v: Vec<&str> = "Mary had a little lamb".rsplitn(3, ' ').collect();
+assert_eq!(v, ["lamb", "little", "Mary had a"]);
+
+let v: Vec<&str> = "lionXXtigerXleopard".rsplitn(3, 'X').collect();
+assert_eq!(v, ["leopard", "tiger", "lionX"]);
+
+let v: Vec<&str> = "lion::tiger::leopard".rsplitn(2, "::").collect();
+assert_eq!(v, ["leopard", "lion::tiger"]);
+

A more complex pattern, using a closure:

+ +
let v: Vec<&str> = "abc1defXghi".rsplitn(2, |c| c == '1' || c == 'X').collect();
+assert_eq!(v, ["ghi", "abc1def"]);
+
1.52.0 · source

pub fn split_once<P>(&self, delimiter: P) -> Option<(&str, &str)>
where + P: Pattern,

Splits the string on the first occurrence of the specified delimiter and +returns prefix before delimiter and suffix after delimiter.

+
§Examples
+
assert_eq!("cfg".split_once('='), None);
+assert_eq!("cfg=".split_once('='), Some(("cfg", "")));
+assert_eq!("cfg=foo".split_once('='), Some(("cfg", "foo")));
+assert_eq!("cfg=foo=bar".split_once('='), Some(("cfg", "foo=bar")));
+
1.52.0 · source

pub fn rsplit_once<P>(&self, delimiter: P) -> Option<(&str, &str)>
where + P: Pattern, + <P as Pattern>::Searcher<'a>: for<'a> ReverseSearcher<'a>,

Splits the string on the last occurrence of the specified delimiter and +returns prefix before delimiter and suffix after delimiter.

+
§Examples
+
assert_eq!("cfg".rsplit_once('='), None);
+assert_eq!("cfg=foo".rsplit_once('='), Some(("cfg", "foo")));
+assert_eq!("cfg=foo=bar".rsplit_once('='), Some(("cfg=foo", "bar")));
+
1.2.0 · source

pub fn matches<P>(&self, pat: P) -> Matches<'_, P>
where + P: Pattern,

Returns an iterator over the disjoint matches of a pattern within the +given string slice.

+

The pattern can be a &str, char, a slice of chars, or a +function or closure that determines if a character matches.

+
§Iterator behavior
+

The returned iterator will be a DoubleEndedIterator if the pattern +allows a reverse search and forward/reverse search yields the same +elements. This is true for, e.g., char, but not for &str.

+

If the pattern allows a reverse search but its results might differ +from a forward search, the rmatches method can be used.

+
§Examples
+
let v: Vec<&str> = "abcXXXabcYYYabc".matches("abc").collect();
+assert_eq!(v, ["abc", "abc", "abc"]);
+
+let v: Vec<&str> = "1abc2abc3".matches(char::is_numeric).collect();
+assert_eq!(v, ["1", "2", "3"]);
+
1.2.0 · source

pub fn rmatches<P>(&self, pat: P) -> RMatches<'_, P>
where + P: Pattern, + <P as Pattern>::Searcher<'a>: for<'a> ReverseSearcher<'a>,

Returns an iterator over the disjoint matches of a pattern within this +string slice, yielded in reverse order.

+

The pattern can be a &str, char, a slice of chars, or a +function or closure that determines if a character matches.

+
§Iterator behavior
+

The returned iterator requires that the pattern supports a reverse +search, and it will be a DoubleEndedIterator if a forward/reverse +search yields the same elements.

+

For iterating from the front, the matches method can be used.

+
§Examples
+
let v: Vec<&str> = "abcXXXabcYYYabc".rmatches("abc").collect();
+assert_eq!(v, ["abc", "abc", "abc"]);
+
+let v: Vec<&str> = "1abc2abc3".rmatches(char::is_numeric).collect();
+assert_eq!(v, ["3", "2", "1"]);
+
1.5.0 · source

pub fn match_indices<P>(&self, pat: P) -> MatchIndices<'_, P>
where + P: Pattern,

Returns an iterator over the disjoint matches of a pattern within this string +slice as well as the index that the match starts at.

+

For matches of pat within self that overlap, only the indices +corresponding to the first match are returned.

+

The pattern can be a &str, char, a slice of chars, or a +function or closure that determines if a character matches.

+
§Iterator behavior
+

The returned iterator will be a DoubleEndedIterator if the pattern +allows a reverse search and forward/reverse search yields the same +elements. This is true for, e.g., char, but not for &str.

+

If the pattern allows a reverse search but its results might differ +from a forward search, the rmatch_indices method can be used.

+
§Examples
+
let v: Vec<_> = "abcXXXabcYYYabc".match_indices("abc").collect();
+assert_eq!(v, [(0, "abc"), (6, "abc"), (12, "abc")]);
+
+let v: Vec<_> = "1abcabc2".match_indices("abc").collect();
+assert_eq!(v, [(1, "abc"), (4, "abc")]);
+
+let v: Vec<_> = "ababa".match_indices("aba").collect();
+assert_eq!(v, [(0, "aba")]); // only the first `aba`
+
1.5.0 · source

pub fn rmatch_indices<P>(&self, pat: P) -> RMatchIndices<'_, P>
where + P: Pattern, + <P as Pattern>::Searcher<'a>: for<'a> ReverseSearcher<'a>,

Returns an iterator over the disjoint matches of a pattern within self, +yielded in reverse order along with the index of the match.

+

For matches of pat within self that overlap, only the indices +corresponding to the last match are returned.

+

The pattern can be a &str, char, a slice of chars, or a +function or closure that determines if a character matches.

+
§Iterator behavior
+

The returned iterator requires that the pattern supports a reverse +search, and it will be a DoubleEndedIterator if a forward/reverse +search yields the same elements.

+

For iterating from the front, the match_indices method can be used.

+
§Examples
+
let v: Vec<_> = "abcXXXabcYYYabc".rmatch_indices("abc").collect();
+assert_eq!(v, [(12, "abc"), (6, "abc"), (0, "abc")]);
+
+let v: Vec<_> = "1abcabc2".rmatch_indices("abc").collect();
+assert_eq!(v, [(4, "abc"), (1, "abc")]);
+
+let v: Vec<_> = "ababa".rmatch_indices("aba").collect();
+assert_eq!(v, [(2, "aba")]); // only the last `aba`
+
1.0.0 · source

pub fn trim(&self) -> &str

Returns a string slice with leading and trailing whitespace removed.

+

‘Whitespace’ is defined according to the terms of the Unicode Derived +Core Property White_Space, which includes newlines.

+
§Examples
+
let s = "\n Hello\tworld\t\n";
+
+assert_eq!("Hello\tworld", s.trim());
+
1.30.0 · source

pub fn trim_start(&self) -> &str

Returns a string slice with leading whitespace removed.

+

‘Whitespace’ is defined according to the terms of the Unicode Derived +Core Property White_Space, which includes newlines.

+
§Text directionality
+

A string is a sequence of bytes. start in this context means the first +position of that byte string; for a left-to-right language like English or +Russian, this will be left side, and for right-to-left languages like +Arabic or Hebrew, this will be the right side.

+
§Examples
+

Basic usage:

+ +
let s = "\n Hello\tworld\t\n";
+assert_eq!("Hello\tworld\t\n", s.trim_start());
+

Directionality:

+ +
let s = "  English  ";
+assert!(Some('E') == s.trim_start().chars().next());
+
+let s = "  עברית  ";
+assert!(Some('ע') == s.trim_start().chars().next());
+
1.30.0 · source

pub fn trim_end(&self) -> &str

Returns a string slice with trailing whitespace removed.

+

‘Whitespace’ is defined according to the terms of the Unicode Derived +Core Property White_Space, which includes newlines.

+
§Text directionality
+

A string is a sequence of bytes. end in this context means the last +position of that byte string; for a left-to-right language like English or +Russian, this will be right side, and for right-to-left languages like +Arabic or Hebrew, this will be the left side.

+
§Examples
+

Basic usage:

+ +
let s = "\n Hello\tworld\t\n";
+assert_eq!("\n Hello\tworld", s.trim_end());
+

Directionality:

+ +
let s = "  English  ";
+assert!(Some('h') == s.trim_end().chars().rev().next());
+
+let s = "  עברית  ";
+assert!(Some('ת') == s.trim_end().chars().rev().next());
+
1.0.0 · source

pub fn trim_left(&self) -> &str

👎Deprecated since 1.33.0: superseded by trim_start

Returns a string slice with leading whitespace removed.

+

‘Whitespace’ is defined according to the terms of the Unicode Derived +Core Property White_Space.

+
§Text directionality
+

A string is a sequence of bytes. ‘Left’ in this context means the first +position of that byte string; for a language like Arabic or Hebrew +which are ‘right to left’ rather than ‘left to right’, this will be +the right side, not the left.

+
§Examples
+

Basic usage:

+ +
let s = " Hello\tworld\t";
+
+assert_eq!("Hello\tworld\t", s.trim_left());
+

Directionality:

+ +
let s = "  English";
+assert!(Some('E') == s.trim_left().chars().next());
+
+let s = "  עברית";
+assert!(Some('ע') == s.trim_left().chars().next());
+
1.0.0 · source

pub fn trim_right(&self) -> &str

👎Deprecated since 1.33.0: superseded by trim_end

Returns a string slice with trailing whitespace removed.

+

‘Whitespace’ is defined according to the terms of the Unicode Derived +Core Property White_Space.

+
§Text directionality
+

A string is a sequence of bytes. ‘Right’ in this context means the last +position of that byte string; for a language like Arabic or Hebrew +which are ‘right to left’ rather than ‘left to right’, this will be +the left side, not the right.

+
§Examples
+

Basic usage:

+ +
let s = " Hello\tworld\t";
+
+assert_eq!(" Hello\tworld", s.trim_right());
+

Directionality:

+ +
let s = "English  ";
+assert!(Some('h') == s.trim_right().chars().rev().next());
+
+let s = "עברית  ";
+assert!(Some('ת') == s.trim_right().chars().rev().next());
+
1.0.0 · source

pub fn trim_matches<P>(&self, pat: P) -> &str
where + P: Pattern, + <P as Pattern>::Searcher<'a>: for<'a> DoubleEndedSearcher<'a>,

Returns a string slice with all prefixes and suffixes that match a +pattern repeatedly removed.

+

The pattern can be a char, a slice of chars, or a function +or closure that determines if a character matches.

+
§Examples
+

Simple patterns:

+ +
assert_eq!("11foo1bar11".trim_matches('1'), "foo1bar");
+assert_eq!("123foo1bar123".trim_matches(char::is_numeric), "foo1bar");
+
+let x: &[_] = &['1', '2'];
+assert_eq!("12foo1bar12".trim_matches(x), "foo1bar");
+

A more complex pattern, using a closure:

+ +
assert_eq!("1foo1barXX".trim_matches(|c| c == '1' || c == 'X'), "foo1bar");
+
1.30.0 · source

pub fn trim_start_matches<P>(&self, pat: P) -> &str
where + P: Pattern,

Returns a string slice with all prefixes that match a pattern +repeatedly removed.

+

The pattern can be a &str, char, a slice of chars, or a +function or closure that determines if a character matches.

+
§Text directionality
+

A string is a sequence of bytes. start in this context means the first +position of that byte string; for a left-to-right language like English or +Russian, this will be left side, and for right-to-left languages like +Arabic or Hebrew, this will be the right side.

+
§Examples
+
assert_eq!("11foo1bar11".trim_start_matches('1'), "foo1bar11");
+assert_eq!("123foo1bar123".trim_start_matches(char::is_numeric), "foo1bar123");
+
+let x: &[_] = &['1', '2'];
+assert_eq!("12foo1bar12".trim_start_matches(x), "foo1bar12");
+
1.45.0 · source

pub fn strip_prefix<P>(&self, prefix: P) -> Option<&str>
where + P: Pattern,

Returns a string slice with the prefix removed.

+

If the string starts with the pattern prefix, returns the substring after the prefix, +wrapped in Some. Unlike trim_start_matches, this method removes the prefix exactly once.

+

If the string does not start with prefix, returns None.

+

The pattern can be a &str, char, a slice of chars, or a +function or closure that determines if a character matches.

+
§Examples
+
assert_eq!("foo:bar".strip_prefix("foo:"), Some("bar"));
+assert_eq!("foo:bar".strip_prefix("bar"), None);
+assert_eq!("foofoo".strip_prefix("foo"), Some("foo"));
+
1.45.0 · source

pub fn strip_suffix<P>(&self, suffix: P) -> Option<&str>
where + P: Pattern, + <P as Pattern>::Searcher<'a>: for<'a> ReverseSearcher<'a>,

Returns a string slice with the suffix removed.

+

If the string ends with the pattern suffix, returns the substring before the suffix, +wrapped in Some. Unlike trim_end_matches, this method removes the suffix exactly once.

+

If the string does not end with suffix, returns None.

+

The pattern can be a &str, char, a slice of chars, or a +function or closure that determines if a character matches.

+
§Examples
+
assert_eq!("bar:foo".strip_suffix(":foo"), Some("bar"));
+assert_eq!("bar:foo".strip_suffix("bar"), None);
+assert_eq!("foofoo".strip_suffix("foo"), Some("foo"));
+
1.30.0 · source

pub fn trim_end_matches<P>(&self, pat: P) -> &str
where + P: Pattern, + <P as Pattern>::Searcher<'a>: for<'a> ReverseSearcher<'a>,

Returns a string slice with all suffixes that match a pattern +repeatedly removed.

+

The pattern can be a &str, char, a slice of chars, or a +function or closure that determines if a character matches.

+
§Text directionality
+

A string is a sequence of bytes. end in this context means the last +position of that byte string; for a left-to-right language like English or +Russian, this will be right side, and for right-to-left languages like +Arabic or Hebrew, this will be the left side.

+
§Examples
+

Simple patterns:

+ +
assert_eq!("11foo1bar11".trim_end_matches('1'), "11foo1bar");
+assert_eq!("123foo1bar123".trim_end_matches(char::is_numeric), "123foo1bar");
+
+let x: &[_] = &['1', '2'];
+assert_eq!("12foo1bar12".trim_end_matches(x), "12foo1bar");
+

A more complex pattern, using a closure:

+ +
assert_eq!("1fooX".trim_end_matches(|c| c == '1' || c == 'X'), "1foo");
+
1.0.0 · source

pub fn trim_left_matches<P>(&self, pat: P) -> &str
where + P: Pattern,

👎Deprecated since 1.33.0: superseded by trim_start_matches

Returns a string slice with all prefixes that match a pattern +repeatedly removed.

+

The pattern can be a &str, char, a slice of chars, or a +function or closure that determines if a character matches.

+
§Text directionality
+

A string is a sequence of bytes. ‘Left’ in this context means the first +position of that byte string; for a language like Arabic or Hebrew +which are ‘right to left’ rather than ‘left to right’, this will be +the right side, not the left.

+
§Examples
+
assert_eq!("11foo1bar11".trim_left_matches('1'), "foo1bar11");
+assert_eq!("123foo1bar123".trim_left_matches(char::is_numeric), "foo1bar123");
+
+let x: &[_] = &['1', '2'];
+assert_eq!("12foo1bar12".trim_left_matches(x), "foo1bar12");
+
1.0.0 · source

pub fn trim_right_matches<P>(&self, pat: P) -> &str
where + P: Pattern, + <P as Pattern>::Searcher<'a>: for<'a> ReverseSearcher<'a>,

👎Deprecated since 1.33.0: superseded by trim_end_matches

Returns a string slice with all suffixes that match a pattern +repeatedly removed.

+

The pattern can be a &str, char, a slice of chars, or a +function or closure that determines if a character matches.

+
§Text directionality
+

A string is a sequence of bytes. ‘Right’ in this context means the last +position of that byte string; for a language like Arabic or Hebrew +which are ‘right to left’ rather than ‘left to right’, this will be +the left side, not the right.

+
§Examples
+

Simple patterns:

+ +
assert_eq!("11foo1bar11".trim_right_matches('1'), "11foo1bar");
+assert_eq!("123foo1bar123".trim_right_matches(char::is_numeric), "123foo1bar");
+
+let x: &[_] = &['1', '2'];
+assert_eq!("12foo1bar12".trim_right_matches(x), "12foo1bar");
+

A more complex pattern, using a closure:

+ +
assert_eq!("1fooX".trim_right_matches(|c| c == '1' || c == 'X'), "1foo");
+
1.0.0 · source

pub fn parse<F>(&self) -> Result<F, <F as FromStr>::Err>
where + F: FromStr,

Parses this string slice into another type.

+

Because parse is so general, it can cause problems with type +inference. As such, parse is one of the few times you’ll see +the syntax affectionately known as the ‘turbofish’: ::<>. This +helps the inference algorithm understand specifically which type +you’re trying to parse into.

+

parse can parse into any type that implements the FromStr trait.

+
§Errors
+

Will return Err if it’s not possible to parse this string slice into +the desired type.

+
§Examples
+

Basic usage

+ +
let four: u32 = "4".parse().unwrap();
+
+assert_eq!(4, four);
+

Using the ‘turbofish’ instead of annotating four:

+ +
let four = "4".parse::<u32>();
+
+assert_eq!(Ok(4), four);
+

Failing to parse:

+ +
let nope = "j".parse::<u32>();
+
+assert!(nope.is_err());
+
1.23.0 · source

pub fn is_ascii(&self) -> bool

Checks if all characters in this string are within the ASCII range.

+
§Examples
+
let ascii = "hello!\n";
+let non_ascii = "Grüße, Jürgen ❤";
+
+assert!(ascii.is_ascii());
+assert!(!non_ascii.is_ascii());
+
source

pub fn as_ascii(&self) -> Option<&[AsciiChar]>

🔬This is a nightly-only experimental API. (ascii_char)

If this string slice is_ascii, returns it as a slice +of ASCII characters, otherwise returns None.

+
1.23.0 · source

pub fn eq_ignore_ascii_case(&self, other: &str) -> bool

Checks that two strings are an ASCII case-insensitive match.

+

Same as to_ascii_lowercase(a) == to_ascii_lowercase(b), +but without allocating and copying temporaries.

+
§Examples
+
assert!("Ferris".eq_ignore_ascii_case("FERRIS"));
+assert!("Ferrös".eq_ignore_ascii_case("FERRöS"));
+assert!(!"Ferrös".eq_ignore_ascii_case("FERRÖS"));
+
1.23.0 · source

pub fn make_ascii_uppercase(&mut self)

Converts this string to its ASCII upper case equivalent in-place.

+

ASCII letters ‘a’ to ‘z’ are mapped to ‘A’ to ‘Z’, +but non-ASCII letters are unchanged.

+

To return a new uppercased value without modifying the existing one, use +to_ascii_uppercase().

+
§Examples
+
let mut s = String::from("Grüße, Jürgen ❤");
+
+s.make_ascii_uppercase();
+
+assert_eq!("GRüßE, JüRGEN ❤", s);
+
1.23.0 · source

pub fn make_ascii_lowercase(&mut self)

Converts this string to its ASCII lower case equivalent in-place.

+

ASCII letters ‘A’ to ‘Z’ are mapped to ‘a’ to ‘z’, +but non-ASCII letters are unchanged.

+

To return a new lowercased value without modifying the existing one, use +to_ascii_lowercase().

+
§Examples
+
let mut s = String::from("GRÜßE, JÜRGEN ❤");
+
+s.make_ascii_lowercase();
+
+assert_eq!("grÜße, jÜrgen ❤", s);
+
1.80.0 · source

pub fn trim_ascii_start(&self) -> &str

Returns a string slice with leading ASCII whitespace removed.

+

‘Whitespace’ refers to the definition used by +u8::is_ascii_whitespace.

+
§Examples
+
assert_eq!(" \t \u{3000}hello world\n".trim_ascii_start(), "\u{3000}hello world\n");
+assert_eq!("  ".trim_ascii_start(), "");
+assert_eq!("".trim_ascii_start(), "");
+
1.80.0 · source

pub fn trim_ascii_end(&self) -> &str

Returns a string slice with trailing ASCII whitespace removed.

+

‘Whitespace’ refers to the definition used by +u8::is_ascii_whitespace.

+
§Examples
+
assert_eq!("\r hello world\u{3000}\n ".trim_ascii_end(), "\r hello world\u{3000}");
+assert_eq!("  ".trim_ascii_end(), "");
+assert_eq!("".trim_ascii_end(), "");
+
1.80.0 · source

pub fn trim_ascii(&self) -> &str

Returns a string slice with leading and trailing ASCII whitespace +removed.

+

‘Whitespace’ refers to the definition used by +u8::is_ascii_whitespace.

+
§Examples
+
assert_eq!("\r hello world\n ".trim_ascii(), "hello world");
+assert_eq!("  ".trim_ascii(), "");
+assert_eq!("".trim_ascii(), "");
+
1.34.0 · source

pub fn escape_debug(&self) -> EscapeDebug<'_>

Returns an iterator that escapes each char in self with char::escape_debug.

+

Note: only extended grapheme codepoints that begin the string will be +escaped.

+
§Examples
+

As an iterator:

+ +
for c in "❤\n!".escape_debug() {
+    print!("{c}");
+}
+println!();
+

Using println! directly:

+ +
println!("{}", "❤\n!".escape_debug());
+

Both are equivalent to:

+ +
println!("❤\\n!");
+

Using to_string:

+ +
assert_eq!("❤\n!".escape_debug().to_string(), "❤\\n!");
+
1.34.0 · source

pub fn escape_default(&self) -> EscapeDefault<'_>

Returns an iterator that escapes each char in self with char::escape_default.

+
§Examples
+

As an iterator:

+ +
for c in "❤\n!".escape_default() {
+    print!("{c}");
+}
+println!();
+

Using println! directly:

+ +
println!("{}", "❤\n!".escape_default());
+

Both are equivalent to:

+ +
println!("\\u{{2764}}\\n!");
+

Using to_string:

+ +
assert_eq!("❤\n!".escape_default().to_string(), "\\u{2764}\\n!");
+
1.34.0 · source

pub fn escape_unicode(&self) -> EscapeUnicode<'_>

Returns an iterator that escapes each char in self with char::escape_unicode.

+
§Examples
+

As an iterator:

+ +
for c in "❤\n!".escape_unicode() {
+    print!("{c}");
+}
+println!();
+

Using println! directly:

+ +
println!("{}", "❤\n!".escape_unicode());
+

Both are equivalent to:

+ +
println!("\\u{{2764}}\\u{{a}}\\u{{21}}");
+

Using to_string:

+ +
assert_eq!("❤\n!".escape_unicode().to_string(), "\\u{2764}\\u{a}\\u{21}");
+
source

pub fn substr_range(&self, substr: &str) -> Option<Range<usize>>

🔬This is a nightly-only experimental API. (substr_range)

Returns the range that a substring points to.

+

Returns None if substr does not point within self.

+

Unlike str::find, this does not search through the string. +Instead, it uses pointer arithmetic to find where in the string +substr is derived from.

+

This is useful for extending str::split and similar methods.

+

Note that this method may return false positives (typically either +Some(0..0) or Some(self.len()..self.len())) if substr is a +zero-length str that points at the beginning or end of another, +independent, str.

+
§Examples
+
#![feature(substr_range)]
+
+let data = "a, b, b, a";
+let mut iter = data.split(", ").map(|s| data.substr_range(s).unwrap());
+
+assert_eq!(iter.next(), Some(0..1));
+assert_eq!(iter.next(), Some(3..4));
+assert_eq!(iter.next(), Some(6..7));
+assert_eq!(iter.next(), Some(9..10));
+
1.0.0 · source

pub fn replace<P>(&self, from: P, to: &str) -> String
where + P: Pattern,

Replaces all matches of a pattern with another string.

+

replace creates a new String, and copies the data from this string slice into it. +While doing so, it attempts to find matches of a pattern. If it finds any, it +replaces them with the replacement string slice.

+
§Examples
+

Basic usage:

+ +
let s = "this is old";
+
+assert_eq!("this is new", s.replace("old", "new"));
+assert_eq!("than an old", s.replace("is", "an"));
+

When the pattern doesn’t match, it returns this string slice as String:

+ +
let s = "this is old";
+assert_eq!(s, s.replace("cookie monster", "little lamb"));
+
1.16.0 · source

pub fn replacen<P>(&self, pat: P, to: &str, count: usize) -> String
where + P: Pattern,

Replaces first N matches of a pattern with another string.

+

replacen creates a new String, and copies the data from this string slice into it. +While doing so, it attempts to find matches of a pattern. If it finds any, it +replaces them with the replacement string slice at most count times.

+
§Examples
+

Basic usage:

+ +
let s = "foo foo 123 foo";
+assert_eq!("new new 123 foo", s.replacen("foo", "new", 2));
+assert_eq!("faa fao 123 foo", s.replacen('o', "a", 3));
+assert_eq!("foo foo new23 foo", s.replacen(char::is_numeric, "new", 1));
+

When the pattern doesn’t match, it returns this string slice as String:

+ +
let s = "this is old";
+assert_eq!(s, s.replacen("cookie monster", "little lamb", 10));
+
1.2.0 · source

pub fn to_lowercase(&self) -> String

Returns the lowercase equivalent of this string slice, as a new String.

+

‘Lowercase’ is defined according to the terms of the Unicode Derived Core Property +Lowercase.

+

Since some characters can expand into multiple characters when changing +the case, this function returns a String instead of modifying the +parameter in-place.

+
§Examples
+

Basic usage:

+ +
let s = "HELLO";
+
+assert_eq!("hello", s.to_lowercase());
+

A tricky example, with sigma:

+ +
let sigma = "Σ";
+
+assert_eq!("σ", sigma.to_lowercase());
+
+// but at the end of a word, it's ς, not σ:
+let odysseus = "ὈΔΥΣΣΕΎΣ";
+
+assert_eq!("ὀδυσσεύς", odysseus.to_lowercase());
+

Languages without case are not changed:

+ +
let new_year = "农历新年";
+
+assert_eq!(new_year, new_year.to_lowercase());
+
1.2.0 · source

pub fn to_uppercase(&self) -> String

Returns the uppercase equivalent of this string slice, as a new String.

+

‘Uppercase’ is defined according to the terms of the Unicode Derived Core Property +Uppercase.

+

Since some characters can expand into multiple characters when changing +the case, this function returns a String instead of modifying the +parameter in-place.

+
§Examples
+

Basic usage:

+ +
let s = "hello";
+
+assert_eq!("HELLO", s.to_uppercase());
+

Scripts without case are not changed:

+ +
let new_year = "农历新年";
+
+assert_eq!(new_year, new_year.to_uppercase());
+

One character can become multiple:

+ +
let s = "tschüß";
+
+assert_eq!("TSCHÜSS", s.to_uppercase());
+
1.16.0 · source

pub fn repeat(&self, n: usize) -> String

Creates a new String by repeating a string n times.

+
§Panics
+

This function will panic if the capacity would overflow.

+
§Examples
+

Basic usage:

+ +
assert_eq!("abc".repeat(4), String::from("abcabcabcabc"));
+

A panic upon overflow:

+ +
// this will panic at runtime
+let huge = "0123456789abcdef".repeat(usize::MAX);
+
1.23.0 · source

pub fn to_ascii_uppercase(&self) -> String

Returns a copy of this string where each character is mapped to its +ASCII upper case equivalent.

+

ASCII letters ‘a’ to ‘z’ are mapped to ‘A’ to ‘Z’, +but non-ASCII letters are unchanged.

+

To uppercase the value in-place, use make_ascii_uppercase.

+

To uppercase ASCII characters in addition to non-ASCII characters, use +to_uppercase.

+
§Examples
+
let s = "Grüße, Jürgen ❤";
+
+assert_eq!("GRüßE, JüRGEN ❤", s.to_ascii_uppercase());
+
1.23.0 · source

pub fn to_ascii_lowercase(&self) -> String

Returns a copy of this string where each character is mapped to its +ASCII lower case equivalent.

+

ASCII letters ‘A’ to ‘Z’ are mapped to ‘a’ to ‘z’, +but non-ASCII letters are unchanged.

+

To lowercase the value in-place, use make_ascii_lowercase.

+

To lowercase ASCII characters in addition to non-ASCII characters, use +to_lowercase.

+
§Examples
+
let s = "Grüße, Jürgen ❤";
+
+assert_eq!("grüße, jürgen ❤", s.to_ascii_lowercase());
+

Trait Implementations§

source§

impl Archive for ThinString

source§

type Archived = ArchivedString

The archived representation of this type. Read more
source§

type Resolver = StringResolver

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
source§

fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
source§

impl AsMut<str> for ThinString

source§

fn as_mut(&mut self) -> &mut str

Converts this type into a mutable reference of the (usually inferred) input type.
source§

impl AsRef<[u8]> for ThinString

source§

fn as_ref(&self) -> &[u8]

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<str> for ThinString

source§

fn as_ref(&self) -> &str

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl Borrow<str> for ThinString

source§

fn borrow(&self) -> &str

Immutably borrows from an owned value. Read more
source§

impl BorrowMut<str> for ThinString

source§

fn borrow_mut(&mut self) -> &mut str

Mutably borrows from an owned value. Read more
source§

impl Clone for ThinString

source§

fn clone(&self) -> ThinString

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ThinString

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for ThinString

source§

fn default() -> ThinString

Returns the “default value” for a type. Read more
source§

impl Deref for ThinString

source§

type Target = str

The resulting type after dereferencing.
source§

fn deref(&self) -> &str

Dereferences the value.
source§

impl DerefMut for ThinString

source§

fn deref_mut(&mut self) -> &mut str

Mutably dereferences the value.
source§

impl<'de> Deserialize<'de> for ThinString

source§

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<D: Fallible + ?Sized> Deserialize<ThinString, D> for ArchivedString
where + str: DeserializeUnsized<str, D>,

source§

fn deserialize(&self, _: &mut D) -> Result<ThinString, D::Error>

Deserializes using the given deserializer
source§

impl Display for ThinString

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'a> Extend<&'a char> for ThinString

source§

fn extend<I: IntoIterator<Item = &'a char>>(&mut self, iter: I)

Extends a collection with the contents of an iterator. Read more
source§

fn extend_one(&mut self, item: A)

🔬This is a nightly-only experimental API. (extend_one)
Extends a collection with exactly one element.
source§

fn extend_reserve(&mut self, additional: usize)

🔬This is a nightly-only experimental API. (extend_one)
Reserves capacity in a collection for the given number of additional elements. Read more
source§

impl<'a> Extend<&'a str> for ThinString

source§

fn extend<T: IntoIterator<Item = &'a str>>(&mut self, iter: T)

Extends a collection with the contents of an iterator. Read more
source§

fn extend_one(&mut self, item: A)

🔬This is a nightly-only experimental API. (extend_one)
Extends a collection with exactly one element.
source§

fn extend_reserve(&mut self, additional: usize)

🔬This is a nightly-only experimental API. (extend_one)
Reserves capacity in a collection for the given number of additional elements. Read more
source§

impl Extend<Box<str>> for ThinString

source§

fn extend<I: IntoIterator<Item = Box<str>>>(&mut self, iter: I)

Extends a collection with the contents of an iterator. Read more
source§

fn extend_one(&mut self, item: A)

🔬This is a nightly-only experimental API. (extend_one)
Extends a collection with exactly one element.
source§

fn extend_reserve(&mut self, additional: usize)

🔬This is a nightly-only experimental API. (extend_one)
Reserves capacity in a collection for the given number of additional elements. Read more
source§

impl<'a> Extend<Cow<'a, str>> for ThinString

source§

fn extend<I: IntoIterator<Item = Cow<'a, str>>>(&mut self, iter: I)

Extends a collection with the contents of an iterator. Read more
source§

fn extend_one(&mut self, item: A)

🔬This is a nightly-only experimental API. (extend_one)
Extends a collection with exactly one element.
source§

fn extend_reserve(&mut self, additional: usize)

🔬This is a nightly-only experimental API. (extend_one)
Reserves capacity in a collection for the given number of additional elements. Read more
source§

impl Extend<String> for ThinString

source§

fn extend<I: IntoIterator<Item = String>>(&mut self, iter: I)

Extends a collection with the contents of an iterator. Read more
source§

fn extend_one(&mut self, item: A)

🔬This is a nightly-only experimental API. (extend_one)
Extends a collection with exactly one element.
source§

fn extend_reserve(&mut self, additional: usize)

🔬This is a nightly-only experimental API. (extend_one)
Reserves capacity in a collection for the given number of additional elements. Read more
source§

impl Extend<ThinString> for ThinString

source§

fn extend<I: IntoIterator<Item = ThinString>>(&mut self, iter: I)

Extends a collection with the contents of an iterator. Read more
source§

fn extend_one(&mut self, item: A)

🔬This is a nightly-only experimental API. (extend_one)
Extends a collection with exactly one element.
source§

fn extend_reserve(&mut self, additional: usize)

🔬This is a nightly-only experimental API. (extend_one)
Reserves capacity in a collection for the given number of additional elements. Read more
source§

impl Extend<char> for ThinString

source§

fn extend<I: IntoIterator<Item = char>>(&mut self, iter: I)

Extends a collection with the contents of an iterator. Read more
source§

fn extend_one(&mut self, item: A)

🔬This is a nightly-only experimental API. (extend_one)
Extends a collection with exactly one element.
source§

fn extend_reserve(&mut self, additional: usize)

🔬This is a nightly-only experimental API. (extend_one)
Reserves capacity in a collection for the given number of additional elements. Read more
source§

impl From<&String> for ThinString

source§

fn from(s: &String) -> Self

Converts to this type from the input type.
source§

impl From<&mut str> for ThinString

source§

fn from(s: &mut str) -> Self

Converts to this type from the input type.
source§

impl From<&str> for ThinString

source§

fn from(s: &str) -> Self

Converts to this type from the input type.
source§

impl From<Box<str>> for ThinString

source§

fn from(s: Box<str>) -> Self

Converts to this type from the input type.
source§

impl<'a> From<Cow<'a, str>> for ThinString

source§

fn from(s: Cow<'a, str>) -> Self

Converts to this type from the input type.
source§

impl From<String> for ThinString

source§

fn from(s: String) -> Self

Converts to this type from the input type.
source§

impl From<char> for ThinString

source§

fn from(c: char) -> Self

Converts to this type from the input type.
source§

impl<'a> FromIterator<&'a char> for ThinString

source§

fn from_iter<I: IntoIterator<Item = &'a char>>(iter: I) -> Self

Creates a value from an iterator. Read more
source§

impl<'a> FromIterator<&'a str> for ThinString

source§

fn from_iter<I: IntoIterator<Item = &'a str>>(iter: I) -> Self

Creates a value from an iterator. Read more
source§

impl FromIterator<String> for ThinString

source§

fn from_iter<I: IntoIterator<Item = String>>(iter: I) -> Self

Creates a value from an iterator. Read more
source§

impl FromIterator<ThinString> for ThinString

source§

fn from_iter<I: IntoIterator<Item = ThinString>>(iter: I) -> Self

Creates a value from an iterator. Read more
source§

impl FromIterator<char> for ThinString

source§

fn from_iter<I: IntoIterator<Item = char>>(iter: I) -> Self

Creates a value from an iterator. Read more
source§

impl<'a> FromSql<'a> for ThinString

source§

fn from_sql( + ty: &Type, + raw: &'a [u8], +) -> Result<Self, Box<dyn Error + Sync + Send>>

Creates a new value of this type from a buffer of data of the specified +Postgres Type in its binary format. Read more
source§

fn accepts(ty: &Type) -> bool

Determines if a value of this type can be created from the specified +Postgres Type.
§

fn from_sql_null(ty: &Type) -> Result<Self, Box<dyn Error + Sync + Send>>

Creates a new value of this type from a NULL SQL value. Read more
§

fn from_sql_nullable( + ty: &Type, + raw: Option<&'a [u8]>, +) -> Result<Self, Box<dyn Error + Sync + Send>>

A convenience function that delegates to from_sql and from_sql_null depending on the +value of raw.
source§

impl Hash for ThinString

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where + H: Hasher, + Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl Ord for ThinString

source§

fn cmp(&self, other: &ThinString) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Self
where + Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Self
where + Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · source§

fn clamp(self, min: Self, max: Self) -> Self
where + Self: Sized + PartialOrd,

Restrict a value to a certain interval. Read more
source§

impl<'a, 'b> PartialEq<&'a str> for ThinString

source§

fn eq(&self, other: &&'a str) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl<'a, 'b> PartialEq<Cow<'a, str>> for ThinString

source§

fn eq(&self, other: &Cow<'a, str>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl<'a, 'b> PartialEq<String> for ThinString

source§

fn eq(&self, other: &String) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl<'a, 'b> PartialEq<ThinString> for &'a str

source§

fn eq(&self, other: &ThinString) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl<'a, 'b> PartialEq<ThinString> for Cow<'a, str>

source§

fn eq(&self, other: &ThinString) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl<'a, 'b> PartialEq<ThinString> for String

source§

fn eq(&self, other: &ThinString) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl<'a, 'b> PartialEq<ThinString> for str

source§

fn eq(&self, other: &ThinString) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl<'a, 'b> PartialEq<str> for ThinString

source§

fn eq(&self, other: &str) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl PartialEq for ThinString

source§

fn eq(&self, other: &ThinString) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl PartialOrd for ThinString

source§

fn partial_cmp(&self, other: &ThinString) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the +<= operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > +operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by +the >= operator. Read more
source§

impl<S: Fallible + ?Sized> Serialize<S> for ThinString
where + S::Error: Source, + str: SerializeUnsized<S>,

source§

fn serialize(&self, serializer: &mut S) -> Result<Self::Resolver, S::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.
source§

impl Serialize for ThinString

source§

fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
where + S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl ToSql for ThinString

source§

fn to_sql( + &self, + ty: &Type, + out: &mut BytesMut, +) -> Result<IsNull, Box<dyn Error + Sync + Send>>
where + Self: Sized,

Converts the value of self into the binary format of the specified +Postgres Type, appending it to out. Read more
source§

fn accepts(ty: &Type) -> bool
where + Self: Sized,

Determines if a value of this type can be converted to the specified +Postgres Type.
source§

fn to_sql_checked( + &self, + ty: &Type, + out: &mut BytesMut, +) -> Result<IsNull, Box<dyn Error + Sync + Send>>

An adaptor method used internally by Rust-Postgres. Read more
§

fn encode_format(&self, _ty: &Type) -> Format

Specify the encode format
source§

impl Write for ThinString

source§

fn write_str(&mut self, s: &str) -> Result

Writes a string slice into this writer, returning whether the write +succeeded. Read more
1.1.0 · source§

fn write_char(&mut self, c: char) -> Result<(), Error>

Writes a char into this writer, returning whether the write succeeded. Read more
1.0.0 · source§

fn write_fmt(&mut self, args: Arguments<'_>) -> Result<(), Error>

Glue for usage of the write! macro with implementors of this trait. Read more
source§

impl Eq for ThinString

source§

impl StructuralPartialEq for ThinString

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> BorrowToSql for T
where + T: ToSql,

§

fn borrow_to_sql(&self) -> &dyn ToSql

Returns a reference to self as a ToSql trait object.
source§

impl<T> CloneToUninit for T
where + T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
§

impl<Q, K> Comparable<K> for Q
where + Q: Ord + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn compare(&self, key: &K) -> Ordering

Compare self to key and return their ordering.
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T> ToOwned for T
where + T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
§

impl<T> ToSmolStr for T
where + T: Display + ?Sized,

§

fn to_smolstr(&self) -> SmolStr

source§

impl<T> ToString for T
where + T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
source§

impl<T> CommandBody for T
where + T: Send + Serialize + Archive,

source§

impl<T> CommandResult for T
where + T: Send + DeserializeOwned + Serialize + Archive,

source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> FromSqlOwned for T
where + T: for<'a> FromSql<'a>,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/client_sdk/sidebar-items.js b/client_sdk/sidebar-items.js new file mode 100644 index 000000000..900463640 --- /dev/null +++ b/client_sdk/sidebar-items.js @@ -0,0 +1 @@ +window.SIDEBAR_ITEMS = {"macro":["perms"],"mod":["api","client","driver","framework","framework_utils","gateway","models"],"struct":["Snowflake"]}; \ No newline at end of file diff --git a/client_sdk/struct.Snowflake.html b/client_sdk/struct.Snowflake.html new file mode 100644 index 000000000..bb501a34f --- /dev/null +++ b/client_sdk/struct.Snowflake.html @@ -0,0 +1,113 @@ +Snowflake in client_sdk - Rust

Struct client_sdk::Snowflake

#[repr(transparent)]
pub struct Snowflake(pub NonZero<u64>);
Expand description

Snowflake Identifier as used in Lantern Chat.

+

Tuple Fields§

§0: NonZero<u64>

Implementations§

§

impl Snowflake

pub const unsafe fn from_u64_unchecked(value: u64) -> Snowflake

Create a new Snowflake from the given 64-bit unsigned integer without checking +whether the value is non-zero. This results in undefined behaviour if the value is zero.

+
§Safety
+

The value must not be zero.

+

pub const fn null() -> Snowflake

Generate the simplest valid Snowflake, the value 1.

+

pub const fn raw_timestamp(&self) -> u64

Returns the timestamp bits of the Snowflake.

+

pub const fn id(&self) -> u16

Returns the ID bits of the Snowflake, which typically represents +the originating system the Snowflake was generated on.

+

pub const fn incr(&self) -> u16

Returns the increment bits of the Snowflake.

+

pub const fn to_u64(self) -> u64

Returns the Snowflake as a 64-bit unsigned integer.

+

pub const fn to_i64(self) -> i64

Returns the Snowflake as a 64-bit signed integer.

+

pub const fn max_safe_value() -> Snowflake

Snowflake set to the max Signed 64-bit value, what PostgreSQL uses for bigint

+
§

impl Snowflake

pub const fn from_unix_ms(epoch: u64, ms: u64) -> Option<Snowflake>

Create a valid Snowflake from the given unix timestamp in milliseconds.

+

This sets the ID to 0 and the increment to 1.

+

This can be used as a sentinel value for database queries.

+

Trait Implementations§

§

impl Archive for Snowflake

§

type Archived = ArchivedSnowflake

The archived representation of this type. Read more
§

type Resolver = ()

The resolver for this type. It must contain all the additional +information from serializing needed to make the archived type from +the normal type.
§

const COPY_OPTIMIZATION: CopyOptimization<Snowflake> = _

An optimization flag that allows the bytes of this type to be copied +directly to a writer instead of calling serialize. Read more
§

fn resolve( + &self, + _: <Snowflake as Archive>::Resolver, + out: Place<<Snowflake as Archive>::Archived>, +)

Creates the archived version of this value at the given position and +writes it to the given output. Read more
§

impl Clone for Snowflake

§

fn clone(&self) -> Snowflake

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for Snowflake

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl<'de> Deserialize<'de> for Snowflake

§

fn deserialize<D>( + deserializer: D, +) -> Result<Snowflake, <D as Deserializer<'de>>::Error>
where + D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
§

impl Display for Snowflake

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl From<ArchivedSnowflake> for Snowflake

§

fn from(sf: ArchivedSnowflake) -> Snowflake

Converts to this type from the input type.
§

impl<'a> FromSql<'a> for Snowflake

§

fn from_sql( + ty: &Type, + raw: &'a [u8], +) -> Result<Snowflake, Box<dyn Error + Sync + Send>>

Creates a new value of this type from a buffer of data of the specified +Postgres Type in its binary format. Read more
§

fn accepts(ty: &Type) -> bool

Determines if a value of this type can be created from the specified +Postgres Type.
§

fn from_sql_null(ty: &Type) -> Result<Self, Box<dyn Error + Sync + Send>>

Creates a new value of this type from a NULL SQL value. Read more
§

fn from_sql_nullable( + ty: &Type, + raw: Option<&'a [u8]>, +) -> Result<Self, Box<dyn Error + Sync + Send>>

A convenience function that delegates to from_sql and from_sql_null depending on the +value of raw.
§

impl FromSql for Snowflake

§

fn column_result(value: ValueRef<'_>) -> Result<Snowflake, FromSqlError>

Converts SQLite value into Rust value.
§

impl FromStr for Snowflake

§

type Err = <NonZero<u64> as FromStr>::Err

The associated error which can be returned from parsing.
§

fn from_str(s: &str) -> Result<Snowflake, <Snowflake as FromStr>::Err>

Parses a string s to return a value of this type. Read more
§

impl Hash for Snowflake

§

fn hash<__H>(&self, state: &mut __H)
where + __H: Hasher,

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where + H: Hasher, + Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
§

impl Ord for Snowflake

§

fn cmp(&self, other: &Snowflake) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Self
where + Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Self
where + Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · source§

fn clamp(self, min: Self, max: Self) -> Self
where + Self: Sized + PartialOrd,

Restrict a value to a certain interval. Read more
§

impl PartialEq<ArchivedSnowflake> for Snowflake

§

fn eq(&self, other: &ArchivedSnowflake) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
§

impl PartialEq for Snowflake

§

fn eq(&self, other: &Snowflake) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
§

impl PartialOrd for Snowflake

§

fn partial_cmp(&self, other: &Snowflake) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the +<= operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > +operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by +the >= operator. Read more
§

impl<S> Serialize<S> for Snowflake
where + S: Fallible + ?Sized,

§

fn serialize( + &self, + _: &mut S, +) -> Result<<Snowflake as Archive>::Resolver, <S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can +create the archived type.
§

impl Serialize for Snowflake

§

fn serialize<S>( + &self, + serializer: S, +) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
where + S: Serializer,

Serialize this value into the given Serde serializer. Read more
§

impl ToSql for Snowflake

§

fn to_sql( + &self, + ty: &Type, + out: &mut BytesMut, +) -> Result<IsNull, Box<dyn Error + Sync + Send>>
where + Snowflake: Sized,

Converts the value of self into the binary format of the specified +Postgres Type, appending it to out. Read more
§

fn accepts(ty: &Type) -> bool

Determines if a value of this type can be converted to the specified +Postgres Type.
§

fn to_sql_checked( + &self, + ty: &Type, + out: &mut BytesMut, +) -> Result<IsNull, Box<dyn Error + Sync + Send>>

An adaptor method used internally by Rust-Postgres. Read more
§

fn encode_format(&self, _ty: &Type) -> Format

Specify the encode format
§

impl ToSql for Snowflake

§

fn to_sql(&self) -> Result<ToSqlOutput<'_>, Error>

Converts Rust value to SQLite value
§

impl Copy for Snowflake

§

impl Eq for Snowflake

§

impl StructuralPartialEq for Snowflake

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( + _: &<T as ArchivePointee>::ArchivedMetadata, +) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
§

impl<T> ArchiveUnsized for T
where + T: Archive,

§

type Archived = <T as Archive>::Archived

The archived counterpart of this type. Unlike Archive, it may be +unsized. Read more
§

fn archived_metadata( + &self, +) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata

Creates the archived version of the metadata for this value.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> BorrowToSql for T
where + T: ToSql,

§

fn borrow_to_sql(&self) -> &dyn ToSql

Returns a reference to self as a ToSql trait object.
source§

impl<T> CloneToUninit for T
where + T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
§

impl<Q, K> Comparable<K> for Q
where + Q: Ord + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn compare(&self, key: &K) -> Ordering

Compare self to key and return their ordering.
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<T, S> SerializeUnsized<S> for T
where + T: Serialize<S>, + S: Fallible + Writer + ?Sized,

§

fn serialize_unsized( + &self, + serializer: &mut S, +) -> Result<usize, <S as Fallible>::Error>

Writes the object and returns the position of the archived type.
source§

impl<T> ToOwned for T
where + T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
§

impl<T> ToSmolStr for T
where + T: Display + ?Sized,

§

fn to_smolstr(&self) -> SmolStr

source§

impl<T> ToString for T
where + T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
source§

impl<T> CommandBody for T
where + T: Send + Serialize + Archive,

source§

impl<T> CommandResult for T
where + T: Send + DeserializeOwned + Serialize + Archive,

source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where + T: 'static,

§

impl<T> FromSqlOwned for T
where + T: for<'a> FromSql<'a>,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/crates.js b/crates.js new file mode 100644 index 000000000..c1a90e089 --- /dev/null +++ b/crates.js @@ -0,0 +1,2 @@ +window.ALL_CRATES = ["client_sdk"]; +//{"start":21,"fragment_lengths":[12]} \ No newline at end of file diff --git a/help.html b/help.html new file mode 100644 index 000000000..a86d9cbc3 --- /dev/null +++ b/help.html @@ -0,0 +1 @@ +Help

Rustdoc help

Back
\ No newline at end of file diff --git a/index.html b/index.html new file mode 100644 index 000000000..20a77439d --- /dev/null +++ b/index.html @@ -0,0 +1 @@ + diff --git a/search-index.js b/search-index.js new file mode 100644 index 000000000..44874e1db --- /dev/null +++ b/search-index.js @@ -0,0 +1,4 @@ +var searchIndex = new Map(JSON.parse('[["client_sdk",{"t":"EFNNCNNNNCNNNNNNNCNNNNNNNNCCNNNNNNCNNNNNNCNNQNNNNNNNNNNNNNNNNNNTTTRKKFKTTTTTRFTTFRTTTNNNNCNNNNNNNNMNNNNNNNNONNNNNNNNNMCNNNNONNNNNNNNNNNNNNNNCNNNNNNNNNMNNNNNNNNNCNNNNNNNNNNNNNNNNMNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNEGPPNNNNNNNNNNNNNNNNNOOOOOCCCCCCCFFFNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNFFFFFFFFFFFFFFFFFFNNNNNNNNNOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOONNNNNNNOOOONNNNNNNNNNNNNNNNNNNNNNNNNNNOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOONNNNNNNNNNNNNNNNNNNNNNNNOOOOOONNNNNNNNNNNNNNNNNNNNNOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOONNNNNNNNNNNNNNNNNNOOFFFFFFFFFFFFNNNNNNNOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFGFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFPFFFFFFPPNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOOOOOONNNNNNNNNNNNNNNNNNOOOOOOOOOOOOOOOOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOONNNOONNNNNNNNNNNNNNNNNNOOOOOOOONNNNNNNNNNNOONNNNNNNNNNNOOOOOOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOOOOOOOOOOOOOONNNNNNNNNNNNNNNNNNOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOOOOOOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFNNNNNNNNNNNNNNNNNNNNNNNNOOOOOONNNNNNNNNNNNNNNNNNOOOOOOOOOOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOONNNNNNNNNNNNNNNNNNNNNOOOOOOOOOOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOOOOOOOOOOOOOOOOOOOOOOOOOONNNNNNNNNNNNNNNNNNOOOOOOOOOONNNNNNNNNNNNNNNNNNOOOOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOOOOOONNNNNNNNNNNNNNNNNNNNNNNNOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNFFFFFFFFFFFFFFFFFFFFFFFFFFFGPFFFFFFFFFFFFFFFFFFFFFFPFFFFFFFFPFFFFFFFFFFFFFFFFFFNNNNNNNNNNNNNNNNNNNNNNNNNNOOOOOOOOOOOONNNNNNNNNNNNNNOOOOOOOOOOOOOOOOOOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOOOONNNNNNNNNNOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOOOOOOOOOOOOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOONNOOOOOOOOOOOOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOOOOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNPFGFFFPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPNNNNNNNNNNNNNNNNNNNNNNNNNOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNEFNNNNNONNONNNNNNNNNNNNPFGPPPPPNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNPPPPFGGPPPPPPPPPPPNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNEEEECCPPPIFFIGKNNNNNNNNNNNCNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNCFFINNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNPPPPPPPFFGGFPPPPPPNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNPPPFGPPPGGIPPPEFEFFEFFTNNNNCNNNNNNNNNNNNNNNNNNNCNNNCNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNCNNNNNNNNNNNNNNNNNNNNNNNNCCNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNCNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNCNNNNNNNNNNNNNNNNNNNNNNNNNNCNNNNNNNNNNNNNNNNNNNNCNNNNNNNNNCNNNNNCCNNNNNNNNNCNNNNNNNNNNNNNCCNNNNNNNNNNNNNNNNNCNCNNNCNNNNCNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNCCNNNNNNNNNNNNNNIIIIIIIIIIIIIIIIIIIITFFTTTTTTTTTTTTNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNGGGPPPIPPPIFNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNFFIFFFFNNOOOOOONNNNNNNNNNNNOOOONNNNNNNNNNNNNNNNNNNNOONNNNNNNNNNNNOOOOOOOOOOOOOONNNNNNNNOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNGGGIPPPNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNCNNNTFFFFFFFGFPPPPPPFFKFFFFFFFFFFFGGFFPPPPPPPPPTIPPPKNNNNOONNNNNNNNNOOOONNNNNNNNNOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOONNNNNNNNNNNNNNOOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOONNNNNNNNNNNNNNOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOOOOOOOOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOOOOOOOONNOONNNNNNNNNNNNNNNNNNNNNNNNNNOOMNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOONNNOOOOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOONNNNNNNNNNNNNNNNNNNNNNNNNNNOOOOOOOOOOOONMNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOMMMMTFGFPPPFFPPPGFGTTNNNNNNNOOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOONNNNNNNNNNNNNNNNNNNNNNNNNNOONNNNNNNNNNNNNNNNNNNNNNNNNNNOONOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOFFFFNNNNNNNNNNNNNNOONNNNNOOOONNNNNNNNOONNNNOONNNNOONNNNNNNNNNNNNONNNNOOFTTTFTTTTTTTTTTTTTNNNNNNNNNNNNNNNNNNNNNNNNNNNNCNNNNNNNNNNNNNNNNNNNCNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNCNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNFFFFFFNNOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOONNNNNNNNNNNNNNNNNNOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNFFFFGFFFFFFFFPPPFFFFFFFFGGPPPFFFFFFFFFFFFFFFFNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOOOOOOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOONNNNNNNNNNNNNOOOOOOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOOOOOOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNGGGKGGFFPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPGKGGPPPPPPPPPPPPPPPPPPPPNNNNNNNNNNNNNNNNNNNNNNNNCNNNNNNNNNNNNNNMMNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNCNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNFFFFFFFFFFFFFFFFFFNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNFFFNNNNNNNNNNNOOOONOONNNNNNNOONNNOONNNOONNNNNNNNNNNNNNNNNFGFFGGFFFFTPPPPPPGGPPPPPTTTFFGFPPTTGFFGFFTTPPPTPPPPNNNNNNNNNNNNOOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOONNNNNNNNNNNNOOOOOOOONNNNNNNNNNNNNNNNNNNNNNNNOOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOONNNNNNNNNNNNNNNNNNNNNNOONOOOOOONNNNNNNNNNNNNNNNNNNNNNOONNNNNNNNNOOOOOOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOONNNNNNNNNNNNNNNNNNNNNNOOOOOOPGPPNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNTFFFFFFFFFTTTTTTTTTTFFFFFFFFFFFFFFTNNNNNNNNNNNNNNNNNNNNNNNNNOOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOONNNOOOONNNNNNNNNNNNNNNNNOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOOOOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOONNNNNNNNNNNNNNNNNNNNNNNOOOONNNNOOOONNNNNNNNNNNNNNNNNNNNNNNOONNNNNNNNNNNNNOOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOONNNNNNNNNNNNNNNNNNNNNNNTTTFFTTTTTTTTTTTTTTTTTTTTTFFTFTTTTTTTTTTNOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNTFFGGFGFFTTTTTPPPFFFOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOONNNNNNNNNNNNFFTTFFFNNNNNNOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOONNNNNOONNNNNNNNNNNNNNNNNNOONNNNNNNNNNNNNNNNNNNNNNOONNNNNNNNNNNNNNNNNNNNNNNOONOOOONNNNNOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNFFFGTPPPFFPPPTTFFGGFPPPPPPPPPNNNNNNNNOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOONOOOOOOOONNNNNNNNNNNOOOONNNNNOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNFFFFFFNNOONNNNNNNNNNNNNNNNNNNNNNOOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNSSSFFNNNNNNNNNNNNNNFFFFNNNNNNNNNNNNNNNNNNOONNNNNNNNNNNNNNOONNNNOONONNNNNNNNNNNNNNNNNNNNNNFFTFFFNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOONNNNNNNNNNNNNNNNNNNNNNOONNNNNNNNNNNNNNNNNNNNNNOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNTTPFFFFFFFFFFFFPTPPPTPPTTTTTTTTTTGFTGPGPTTTTTTTTGTTPTPPPTTTPTTTTTTTTTTTTFFPTTTTTTTPPPPPTTFFFFFFFFGFTNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOONOONNNNPNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOONOOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNOONNNNOONOONNNNNNOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNCOONOOOOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOONNNNNNNNNNNNOOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOONNNNOOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNFFFFFFFFFFFFNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNCCCFTNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNFFNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN","n":["FxRandomState2","Snowflake","accepts","","api","archived_metadata","borrow","borrow_mut","borrow_to_sql","client","clone","clone_into","clone_to_uninit","cmp","column_result","compare","deserialize","driver","eq","","equivalent","","","","fmt","","framework","framework_utils","from","","from_sql","from_str","from_u64_unchecked","from_unix_ms","gateway","hash","id","incr","into","layout_raw","max_safe_value","models","null","partial_cmp","perms","pointer_metadata","raw_timestamp","resolve","serialize","","serialize_unsized","to_i64","to_owned","to_smolstr","to_sql","","to_sql_checked","to_string","to_u64","try_from","try_into","type_id","vzip","ADMIN_ONLY","AUTHORIZED","BOTS_ONLY","Body","Command","CommandBody","CommandFlags","CommandResult","DEFAULT","FLAGS","HAS_BODY","HTTP_METHOD","IS_QUERY","Item","MissingItemError","RATE_LIMIT","ROUTE_PATTERN","RateLimit","Result","SERVER_TIMEOUT","STREAM","USERS_ONLY","add_headers","","all","archived_metadata","asset","bitand","bitand_assign","bitor","bitor_assign","bits","","bitxor","bitxor_assign","body","body_size_hint","","borrow","","","borrow_mut","","","burst_size","clone","","","clone_into","","","clone_to_uninit","","","collect","commands","complement","contains","default","difference","emission_interval","empty","eq","","","equivalent","","","","","","","","","","","","error","extend","fmt","","","","","","","","format_path","from","","","from_bits","from_bits_retain","","from_bits_truncate","from_iter","from_name","gateway","hash","insert","intersection","intersects","into","","","into_iter","is_all","is_empty","iter","iter_names","layout_raw","","","not","perms","pointer_metadata","","","remove","resolve","serialize","serialize_unsized","set","sub","sub_assign","symmetric_difference","to_owned","","","to_smolstr","to_string","toggle","try_from","","","try_into","","","type_id","","","union","vzip","","","AssetFlags","AssetQuery","Flags","HumanReadable","borrow","borrow_mut","clone","clone_into","clone_to_uninit","fmt","from","","into","layout_raw","pointer_metadata","serialize","to_owned","try_from","try_into","type_id","vzip","animated","ext","flags","quality","with_alpha","all","config","file","invite","party","room","user","ArchivedGetServerConfig","GetServerConfig","GetServerConfigResolver","archived_metadata","body","borrow","","","borrow_mut","","","check_bytes","collect","fmt","format_path","from","","","into","","","layout_raw","","","new","perms","pointer_metadata","","","resolve","serialize","serialize_unsized","try_from","","","try_into","","","type_id","","","vzip","","","ArchivedCreateFile","ArchivedCreateFileBody","ArchivedFileStatus","ArchivedFilesystemStatus","ArchivedGetFileStatus","ArchivedGetFilesystemStatus","CreateFile","CreateFileBody","CreateFileBodyResolver","CreateFileResolver","FileStatus","FileStatusResolver","FilesystemStatus","FilesystemStatusResolver","GetFileStatus","GetFileStatusResolver","GetFilesystemStatus","GetFilesystemStatusResolver","archived_metadata","","","","","","body","","","","","body_size_hint","borrow","","","","","","","","","","","","","","","","","","borrow_mut","","","","","","","","","","","","","","","","","","check_bytes","","","","","","clone","","clone_into","","clone_to_uninit","","collect","","","complete","","deref","deref_mut","deserialize","","","eq","","file_id","","filename","","fmt","","","","","","format_path","","","from","","","","","","","","","","","","","","","","","","height","","into","","","","","","","","","","","","","","","","","","layout_raw","","","","","","","","","","","","","","","","","","mime","","new","","","perms","","","pointer_metadata","","","","","","","","","","","","","","","","","","preview","","quota_total","","quota_used","","resolve","","","","","","serialize","","","","","","","","","serialize_unsized","","","","","","size","","to_owned","","try_from","","","","","","","","","","","","","","","","","","try_into","","","","","","","","","","","","","","","","","","type_id","","","","","","","","","","","","","","","","","","upload_offset","","vzip","","","","","","","","","","","","","","","","","","width","","ArchivedGetInvite","ArchivedRedeemInvite","ArchivedRedeemInviteBody","ArchivedRevokeInvite","GetInvite","GetInviteResolver","RedeemInvite","RedeemInviteBody","RedeemInviteBodyResolver","RedeemInviteResolver","RevokeInvite","RevokeInviteResolver","archived_metadata","","","","body","","","","","body_size_hint","borrow","","","","","","","","","","","","borrow_mut","","","","","","","","","","","","check_bytes","","","","code","","","","","","collect","","","deref","deref_mut","deserialize","fmt","","","","format_path","","","from","","","","","","","","","","","","into","","","","","","","","","","","","layout_raw","","","","","","","","","","","","new","","","nickname","","perms","","","pointer_metadata","","","","","","","","","","","","resolve","","","","serialize","","","","","serialize_unsized","","","","try_from","","","","","","","","","","","","try_into","","","","","","","","","","","","type_id","","","","","","","","","","","","vzip","","","","","","","","","","","","ArchivedCreateParty","ArchivedCreatePartyForm","ArchivedCreatePartyInvite","ArchivedCreatePartyInviteBody","ArchivedCreatePinFolder","ArchivedCreatePinFolderForm","ArchivedCreateRole","ArchivedCreateRoleForm","ArchivedCreateRoom","ArchivedCreateRoomForm","ArchivedDeleteParty","ArchivedDeleteRole","ArchivedGetMemberProfile","ArchivedGetParty","ArchivedGetPartyInvites","ArchivedGetPartyMember","ArchivedGetPartyMembers","ArchivedGetPartyRooms","ArchivedPartySettings","ArchivedPatchParty","ArchivedPatchPartyForm","ArchivedPatchRole","ArchivedPatchRoleForm","ArchivedSearchParty","ArchivedSearchQuery","ArchivedTransferOwnership","ArchivedUpdateMemberProfile","ArchivedUpdateMemberProfileBody","CreateParty","CreatePartyForm","CreatePartyFormResolver","CreatePartyInvite","CreatePartyInviteBody","CreatePartyInviteBodyResolver","CreatePartyInviteResolver","CreatePartyResolver","CreatePinFolder","CreatePinFolderForm","CreatePinFolderFormResolver","CreatePinFolderResolver","CreateRole","CreateRoleForm","CreateRoleFormResolver","CreateRoleResolver","CreateRoom","CreateRoomForm","CreateRoomFormResolver","CreateRoomKind","CreateRoomResolver","DeleteParty","DeletePartyResolver","DeleteRole","DeleteRoleResolver","GetMemberProfile","GetMemberProfileResolver","GetParty","GetPartyInvites","GetPartyInvitesResolver","GetPartyMember","GetPartyMemberResolver","GetPartyMembers","GetPartyMembersResolver","GetPartyResolver","GetPartyRooms","GetPartyRoomsResolver","PartySettings","PartySettingsResolver","PatchParty","PatchPartyForm","PatchPartyFormResolver","PatchPartyResolver","PatchRole","PatchRoleForm","PatchRoleFormResolver","PatchRoleResolver","SearchParty","SearchPartyResolver","SearchQuery","SearchQueryResolver","Text","TransferOwnership","TransferOwnershipResolver","UpdateMemberProfile","UpdateMemberProfileBody","UpdateMemberProfileBodyResolver","UpdateMemberProfileResolver","UserForum","Voice","archived_metadata","","","","","","","","","","","","","","","","","","","","","","","","","","","","","avatar","","","","banner","","banner_align","","body","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","body_size_hint","","","","","","","","","borrow","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","borrow_mut","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","check_bytes","","","","","","","","","","","","","","","","","","","","","","","","","","","","","clone","","clone_into","","clone_to_uninit","","collect","","","","","","","","","","","","","","","","","","color","","default","","","default_room","","deref","","","","","","","","","deref_mut","","","","","","","","","description","","","","","","","","deserialize","","","","","","","","","","","duration","","eq","","","","","","","equivalent","","","","flags","","","","","","","","fmt","","","","","","","","","","","","","","","","","","","","","","","","","","","","","format_path","","","","","","","","","","","","","","","","","","from","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","hash","into","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","kind","","layout_raw","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","max_uses","","member_id","","name","","","","","","","","","","","","new","","","","","","","","","","","","","","","","","","overwrites","","party_id","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","permissions","","perms","","","","","","","","","","","","","","","","","","pointer_metadata","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","position","","","","prefs","","profile","","query","","resolve","","","","","","","","","","","","","","","","","","","","","","","","","","","","","role_id","","","","serialize","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","serialize_unsized","","","","","","","","","","","","","","","","","","","","","","","","","","","","","to_owned","","topic","","try_from","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","try_into","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","type_id","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","user_id","","","","vzip","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","ArchivedCreateMessage","ArchivedCreateMessageBody","ArchivedDeleteAllReactions","ArchivedDeleteMessage","ArchivedDeleteOwnReaction","ArchivedDeleteRoom","ArchivedDeleteUserReaction","ArchivedEditMessage","ArchivedEditMessageBody","ArchivedGetMessage","ArchivedGetMessages","ArchivedGetMessagesQuery","ArchivedGetReactions","ArchivedGetReactionsForm","ArchivedGetRoom","ArchivedPatchRoom","ArchivedPatchRoomForm","ArchivedPinMessage","ArchivedPutReaction","ArchivedStarMessage","ArchivedStartTyping","ArchivedStartTypingBody","ArchivedUnpinMessage","ArchivedUnstarMessage","CreateMessage","CreateMessageBody","CreateMessageBodyResolver","CreateMessageResolver","DeleteAllReactions","DeleteAllReactionsResolver","DeleteMessage","DeleteMessageResolver","DeleteOwnReaction","DeleteOwnReactionResolver","DeleteRoom","DeleteRoomResolver","DeleteUserReaction","DeleteUserReactionResolver","EditMessage","EditMessageBody","EditMessageBodyResolver","EditMessageResolver","GetMessage","GetMessageResolver","GetMessages","GetMessagesQuery","GetMessagesQueryResolver","GetMessagesResolver","GetReactions","GetReactionsForm","GetReactionsFormResolver","GetReactionsResolver","GetRoom","GetRoomResolver","PatchRoom","PatchRoomForm","PatchRoomFormResolver","PatchRoomResolver","PinMessage","PinMessageResolver","PutReaction","PutReactionResolver","StarMessage","StarMessageResolver","StartTyping","StartTypingBody","StartTypingBodyResolver","StartTypingResolver","UnpinMessage","UnpinMessageResolver","UnstarMessage","UnstarMessageResolver","archived_metadata","","","","","","","","","","","","","","","","","","","","","","","","attachments","","","","avatar","","body","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","body_size_hint","","","","","","borrow","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","borrow_mut","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","check_bytes","","","","","","","","","","","","","","","","","","","","","","","","collect","","","","","","","","","","","","","","","","","","content","","","","default","","","deref","","","","","","deref_mut","","","","","","deserialize","","","","","","embeds","","emote_id","","","","","","","","ephemeral","","eq","","","fmt","","","","","","","","","","","","","","","","","","","","","","","","format_path","","","","","","","","","","","","","","","","","","from","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","into","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","layout_raw","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","limit","","msg_id","","","","","","","","","","","","","","","","","","","","","","","","name","","new","","","","","","","","","","","","","","","","","","nsfw","","overwrites","","parent","","","","","","perms","","","","","","","","","","","","","","","","","","pin_tag","","","","pinned","","pointer_metadata","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","position","","query","","recurse","","remove_overwrites","","resolve","","","","","","","","","","","","","","","","","","","","","","","","room_id","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","serialize","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","serialize_unsized","","","","","","","","","","","","","","","","","","","","","","","","starred","","topic","","try_from","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","try_into","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","tts","","type_id","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","user_id","","vzip","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Added2FA","Added2FAResolver","ArchivedAdded2FA","ArchivedChangePassword","ArchivedChangePasswordForm","ArchivedClearSessions","ArchivedClearSessionsForm","ArchivedConfirm2FA","ArchivedConfirm2FAForm","ArchivedEnable2FA","ArchivedEnable2FAForm","ArchivedGetRelationships","ArchivedGetSessions","ArchivedGetUser","ArchivedPatchRelationship","ArchivedPatchRelationshipBody","ArchivedRemove2FA","ArchivedRemove2FAForm","ArchivedUpdateUserPrefs","ArchivedUpdateUserPrefsBody","ArchivedUpdateUserProfile","ArchivedUpdateUserProfileBody","ArchivedUserLogin","ArchivedUserLoginForm","ArchivedUserLogout","ArchivedUserRegister","ArchivedUserRegisterForm","BannerAlign","Bottom","ChangePassword","ChangePasswordForm","ChangePasswordFormResolver","ChangePasswordResolver","ClearSessions","ClearSessionsForm","ClearSessionsFormResolver","ClearSessionsResolver","Confirm2FA","Confirm2FAForm","Confirm2FAFormResolver","Confirm2FAResolver","Enable2FA","Enable2FAForm","Enable2FAFormResolver","Enable2FAResolver","GetRelationships","GetRelationshipsResolver","GetSessions","GetSessionsResolver","GetUser","GetUserResolver","Middle","PatchRelationship","PatchRelationshipBody","PatchRelationshipBodyResolver","PatchRelationshipResolver","Remove2FA","Remove2FAForm","Remove2FAFormResolver","Remove2FAResolver","Top","UpdateUserPrefs","UpdateUserPrefsBody","UpdateUserPrefsBodyResolver","UpdateUserPrefsResolver","UpdateUserProfile","UpdateUserProfileBody","UpdateUserProfileBodyResolver","UpdateUserProfileResolver","UserLogin","UserLoginForm","UserLoginFormResolver","UserLoginResolver","UserLogout","UserLogoutResolver","UserRegister","UserRegisterForm","UserRegisterFormResolver","UserRegisterResolver","archived_metadata","","","","","","","","","","","","","","","","","","","","","","","","","","avatar","","backup","","banner","","banner_align","","bio","","bits","","body","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","body_size_hint","","","","","","","","","","borrow","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","borrow_mut","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","check_bytes","","","","","","","","","","","","","","","","","","","","","","","","","","clone","","clone_into","","clone_to_uninit","","collect","","","","","","","","","","","","","","current","","default","","","deref","","","","","","","","","","deref_mut","","","","","","","","","","deserialize","","","","","","","","","","","","","dob","","email","","","","eq","","equivalent","","","","","","","","extra","","fmt","","","","","","","","","","","","","","","","","","","","","","","","","","format_path","","","","","","","","","","","","","","from","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","hash","inner","","into","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","layout_raw","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","new","","","","","","","","","","","","","","","","nick","","note","","password","","","","","","","","","","perms","","","","","","","","","","","","","","pointer_metadata","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","rel","","resolve","","","","","","","","","","","","","","","","","","","","","","","","","","serialize","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","serialize_unsized","","","","","","","","","","","","","","","","","","","","","","","","","","status","","to_owned","","token","","","","totp","","","","","","","","","","try_from","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","try_into","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","type_id","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","url","","user_id","","","","username","","vzip","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","AlreadyExists","ApiError","ApiErrorCode","ApiErrorResolver","ArchivedApiError","ArchivedApiErrorCode","AuthTokenError","BadRequest","Banned","Base64DecodeError","Base85DecodeError","BincodeError","Blocked","BodyDeserializeError","CborError","ChecksumMismatch","Conflict","DbError","EventEncodingError","HashError","HeaderParseError","IOError","IncorrectRpcEndpoint","InsufficientAge","InternalError","InvalidAuthFormat","InvalidCaptcha","InvalidContent","InvalidCredentials","InvalidDate","InvalidEmail","InvalidHeaderValue","InvalidImageFormat","InvalidName","InvalidPassword","InvalidPreferences","InvalidPreview","InvalidTopic","InvalidUsername","JoinError","JsonError","MethodNotAllowed","MimeParseError","MissingAuthorizationHeader","MissingContentTypeHeader","MissingFilename","MissingMime","MissingUploadMetadataHeader","NoSession","NotFound","QueryParseError","RequestEntityTooLarge","RequestError","RequestTimeout","RkyvEncodingError","SearchError","SemaphoreError","TOTPRequired","TemporarilyDisabled","Unauthorized","Unimplemented","Unknown","UnsupportedMediaType","UploadError","UsernameUnavailable","Utf8ParseError","WebsocketError","XMLError","archived_metadata","","borrow","","","","","borrow_mut","","","","","check_bytes","","clone","","","clone_into","","","clone_to_uninit","","","cmp","code","","","compare","deserialize","","","eq","","equivalent","","","","","","","","fmt","","","","","from","","","","","","from_i64","from_u64","get","hash","","http_status","into","","","","","layout_raw","","","","","message","","partial_cmp","pointer_metadata","","","","","resolve","","serialize","","","","serialize_unsized","","to_i64","to_owned","","","to_smolstr","to_string","to_u64","try_from","","","","","","","","","","","","","try_into","","","","","type_id","","","","","vzip","","","","","Encoding","GatewayQueryParams","borrow","borrow_mut","clone","clone_into","clone_to_uninit","compress","default","deserialize","encoding","eq","fmt","from","into","layout_raw","pointer_metadata","serialize","to_owned","try_from","try_into","type_id","vzip","ApiError","Client","ClientError","DriverError","FileTooLarge","IOError","InvalidBearerToken","NotAFile","auth","borrow","","borrow_mut","","clone","clone_into","clone_to_uninit","driver","fmt","","from","","","","","from_client","into","","layout_raw","","new","pointer_metadata","","set_auth","set_preferred_encoding","source","to_owned","to_smolstr","to_string","try_from","","try_into","","type_id","","upload_plain_file","upload_stream","vzip","","ApiError","CBOR","CborDecodeError","CborEncodeError","Driver","DriverError","Encoding","FormatError","GenericDriverError","HeaderParseError","InvalidHeaderValue","JSON","JsonError","MissingAuthorization","ParseIntError","ReqwestError","UrlEncodingError","UrlParseError","borrow","","","borrow_mut","","","clone","","clone_into","","clone_to_uninit","","default","deserialize","eq","equivalent","","","","execute","execute_opt","fmt","","","from","","","","","","","","","","","","","hash","into","","","is_not_found","layout_raw","","","new","new_from_raw","new_shared","patch_file","pointer_metadata","","","serialize","set_token","source","to_owned","","to_smolstr","to_string","try_from","","","try_into","","","type_id","","","vzip","","","ClientMsg","DynamicServerMsgHandlers","ServerMsg","ServerMsgHandlers","md","standard","ClientError","DriverError","GatewayError","SimpleStandard","Standard","StandardContext","StandardDynamicHandler","StandardError","StandardErrorExt","borrow","","","borrow_mut","","","client","clone","clone_into","clone_to_uninit","close","cmd","ctx","driver","fmt","","from","","","","","","gateway_control","handlers","into","","","layout_raw","","","new","new_with_handlers","new_with_state","on_error","on_start","pointer_metadata","","","run","send","set_presence","source","to_owned","to_smolstr","to_string","try_from","","","try_into","","","type_id","","","vzip","","","args","Argument","ArgumentSplitter","ArgumentSplitterOwned","arguments","borrow","","borrow_mut","","clone","clone_into","clone_to_uninit","eq","equivalent","","","","fmt","from","","hash","inner","inner_str","into","","is_quoted","is_quoted_with","iter","layout_raw","","orig","","outer","outer_str","pointer_metadata","","split","split_delimiters","to_owned","try_from","","try_into","","type_id","","vzip","","AuthFailed","CborDecodeError","CborEncodeError","CloseError","CompressionError","DecodeError","Disconnected","GatewayConnection","GatewayConnectionControl","GatewayError","GatewayErrorCode","GatewaySocket","JsonError","NotAuthenticated","ReconnectLimitExceeded","UnknownError","UnknownOpcode","WSError","borrow","","","","","borrow_mut","","","","","clone","clone_into","clone_to_uninit","connect","","control","deserialize","eq","equivalent","","","","fmt","","","from","","","","","","","","","from_i64","from_u64","hash","into","","","","","layout_raw","","","","","new","noreconnect","pointer_metadata","","","","","poll_close","","poll_flush","","poll_next","","poll_ready","","reset","serialize","set_reconnect_limit","source","start_send","","to_i64","to_owned","to_smolstr","to_string","to_u64","try_from","","","","","","","","","","","","","try_into","","","","","try_poll_next","","type_id","","","","","vzip","","","","","After","","","Arc","ArchivedCursor","Before","","","Cursor","CursorResolver","EncryptedSnowflake","Exact","","","FixedStr","FxRandomState2","Nullable","SmolStr","Snowflake","ThinString","ThinVec","Timestamp","UNIX_EPOCH","accepts","","add","add_assign","aliases","alloc","append","archived_metadata","","","","","as_mut_ptr","as_mut_slice","","as_ptr","as_ref","","","","","","as_slice","as_str","asset","assume_init","","assume_offset","auth","borrow","","","","","","","","","","","borrow_arc","borrow_mut","","","","","","","","","borrow_to_sql","build_hasher","capacity","check_bytes","checked_add","checked_sub","clear","clone","","","","","","clone_into","","","","","","clone_to_uninit","","","","","","cmp","","","","column_result","compare","","","","config","count","dedup","dedup_by","dedup_by_key","default","","","","deref","","","","deref_mut","","deserialize","","","","","drain","drop","","","duration_since","embed","emote","eq","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","equivalent","","","","","","","","","","","","","","","","","","","","","","","","extend","extend_from_slice","file","flush","","fmt","","","","","","","","","","format","format_microseconds","format_nanoseconds","format_raw","format_short","format_with_offset","format_with_offset_and_precision","format_with_precision","from","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","from_header_and_iter","from_header_and_slice","from_header_and_str","from_header_and_vec","from_iter","","","","","","from_primitive_datetime","from_raw","from_raw_offset","from_raw_slice","from_sql","from_str","from_thin","from_value","gateway","ge","get_mut","get_unique","gt","has_capacity","hash","","","","","heap_ptr","insert","into","","","","","","","","into_iter","","","into_raw","into_raw_offset","into_thin","invite","is_empty","","is_heap_allocated","is_unique","layout_raw","","","","","","","","le","len","","load","","lt","make_mut","make_unique","message","ne","new","","","new_inline","new_static","new_uninit","new_uninit_slice","now_utc","nullable","parse","partial_cmp","","","","party","permission","pointer_metadata","","","","","","","","pop","presence","ptr_eq","push","remove","reserve","reserve_exact","resize","resolve","","","","","retain","retain_mut","role","room","saturating_add","saturating_sub","serialize","","","","","","","","","","serialize_unsized","","","","","session","set_len","sf","shrink_to_fit","splice","split_off","stats","strong_count","sub","sub_assign","swap_remove","thread","to_calendar_date","to_owned","","","","","","to_smolstr","","","to_sql","","to_sql_checked","to_string","","","truncate","try_from","","","","","","","","try_into","","","","","","","","try_unique","try_unwrap","type_id","","","","","","","","unwrap_or_clone","user","util","vzip","","","","","","","","with_capacity","with_raw_offset_arc","write","","write_all","","ArchivedEmoteId","ArchivedFileId","ArchivedFolderId","ArchivedInviteId","ArchivedMessageId","ArchivedPartyId","ArchivedRoleId","ArchivedRoomId","ArchivedThreadId","ArchivedUserId","EmoteId","FileId","FolderId","InviteId","MessageId","PartyId","RoleId","RoomId","ThreadId","UserId","ANIMATED","ArchivedAssetFlags","AssetFlags","FLAGS","FORMATS","FORMATS_AND_FLAGS","FORMAT_AVIF","FORMAT_GIF","FORMAT_JPEG","FORMAT_JXL","FORMAT_PNG","FORMAT_WEBM","HAS_ALPHA","MAYBE_UNSUPPORTED_FORMATS","QUALITY","accepts","","","all","archived_metadata","bitand","bitand_assign","bitor","bitor_assign","bits","","","bitxor","bitxor_assign","borrow","","borrow_mut","","borrow_to_sql","","check_bytes","clone","","clone_into","","clone_to_uninit","","column_result","complement","contains","","deserialize","","difference","empty","eq","","","","equivalent","","","","","","","","extend","fmt","","","","","","from","","","","from_bits","from_bits_retain","","from_bits_truncate","from_ext","from_iter","from_name","from_native","from_sql","hash","insert","intersection","intersects","","into","","into_iter","is_all","","is_empty","","iter","iter_names","layout_raw","","not","pointer_metadata","","quality","remove","resolve","serialize","","serialize_unsized","set","sub","sub_assign","symmetric_difference","to_native","to_native_retain","to_native_truncate","to_owned","","to_sql","","","to_sql_checked","","toggle","try_from","","try_into","","type_id","","union","vzip","","with_alpha","with_quality","ArchivedAuthToken","AuthToken","AuthTokenResolver","Bearer","","","BearerToken","Bot","","","BotToken","InvalidAuthToken","archived_metadata","borrow","","","","borrow_mut","","","","check_bytes","clone","clone_into","clone_to_uninit","deref","deserialize","fmt","","","","from","","","","from_header","from_str","headervalue","into","","","","layout_raw","","","","pointer_metadata","","","","raw_header","resolve","serialize","","serialize_unsized","to_owned","to_smolstr","","to_string","","try_from","","","","try_into","","","","type_id","","","","vzip","","","","ArchivedServerConfig","ArchivedServerLimits","HCaptchaSiteKey","ServerConfig","ServerConfigResolver","ServerLimits","ServerLimitsResolver","archived_metadata","","avatar_width","","banner_height","","banner_width","","borrow","","","","","","borrow_mut","","","","","","camo","","cdn","","check_bytes","","clone","","clone_into","","clone_to_uninit","","deserialize","","eq","","fmt","","from","","","","","","hcaptcha_sitekey","","into","","","","","","layout_raw","","","","","","limits","","max_avatar_pixels","","max_avatar_size","","max_banner_pixels","","max_banner_size","","max_upload_size","","min_age","","pointer_metadata","","","","","","resolve","","secure","","serialize","","","","serialize_unsized","","to_owned","","try_from","","","","","","try_into","","","","","","type_id","","","","","","vzip","","","","","","ArchivedEmbed","Embed","EmbedResolver","EmbedWithExpire","V1","","","archived_metadata","borrow","","","borrow_mut","","","check_bytes","clone","clone_into","clone_to_uninit","deserialize","fmt","from","","","into","","","layout_raw","","","pointer_metadata","","","resolve","serialize","","serialize_unsized","to_owned","try_from","","","try_into","","","type_id","","","url","v1","vzip","","","ADULT","ArchivedBasicEmbedMedia","ArchivedEmbedAuthor","ArchivedEmbedField","ArchivedEmbedFlags","ArchivedEmbedFooter","ArchivedEmbedMedia","ArchivedEmbedProvider","ArchivedEmbedType","ArchivedEmbedV1","Article","","","Audio","","","BasicEmbedMedia","BasicEmbedMediaResolver","BoxedEmbedMediaExt","EmbedAuthor","EmbedAuthorResolver","EmbedField","EmbedFieldResolver","EmbedFlags","EmbedFooter","EmbedFooterResolver","EmbedMedia","EmbedMediaResolver","EmbedProvider","EmbedProviderResolver","EmbedType","EmbedTypeResolver","EmbedV1","EmbedV1Resolver","Html","","","Img","","","Link","","","SPOILER","UrlSignature","Vid","","","VisitMedia","accepts","","","all","alts","","archived_metadata","","","","","","","","","audio","","author","","bitand","bitand_assign","bitor","bitor_assign","bits","","","bitxor","bitxor_assign","block","","borrow","","","","","","","","","","","","","","","","","","","","","","","","","","borrow_mut","","","","","","","","","","","","","","","","","","","","","","","","","","borrow_to_sql","","canonical","","check_bytes","","","","","","","","","clone","","","","","","","","","","clone_into","","","","","","","","","","clone_to_uninit","","","","","","","","","","color","","column_result","complement","contains","","default","","","","","","","deref","","deref_mut","description","","","","deserialize","","","","","","","","","","difference","empty","eq","","","","","equivalent","","","","","","","","","","","","extend","fields","","flags","","fmt","","","","","","","","","","","","","","footer","","from","","","","","","","","","","","","","","","","","","","","","","","","","","","from_bits","from_bits_retain","","from_bits_truncate","from_iter","from_name","from_native","from_sql","has_fullsize_media","hash","height","","icon","","","","","","img","","","","insert","intersection","intersects","","into","","","","","","","","","","","","","","","","","","","","","","","","","","into_iter","is_all","","is_empty","","","","is_none","","is_plain_link","iter","iter_names","layout_raw","","","","","","","","","","","","","","","","","","","","","","","","","","media","","mime","","name","","","","","","normalize","not","obj","","pointer_metadata","","","","","","","","","","","","","","","","","","","","","","","","","","provider","","read","remove","resolve","","","","","","","","","serialize","","","","","","","","","","","","","","","","","","serialize_unsized","","","","","","","","","set","signature","","sub","sub_assign","symmetric_difference","text","","thumb","","title","","to_native","to_native_retain","to_native_truncate","to_owned","","","","","","","","","","to_sql","","","to_sql_checked","","toggle","try_from","","","","","","","","","","","","","","","","","","","","","","","","","","try_into","","","","","","","","","","","","","","","","","","","","","","","","","","ts","","ty","","type_id","","","","","","","","","","","","","","","","","","","","","","","","","","union","url","","","","","","","","value","","video","","visit_full_media","visit_media","","","vzip","","","","","","","","","","","","","","","","","","","","","","","","","","width","","with_description","with_dims","with_mime","with_url","ANIMATED","ArchivedCustomEmote","ArchivedEmote","ArchivedEmoteFlags","Custom","","","CustomEmote","CustomEmoteResolver","Emoji","","","Emote","EmoteFlags","EmoteResolver","NSFW","STICKER","accepts","","","all","archived_metadata","","","aspect_ratio","","asset","","bitand","bitand_assign","bitor","bitor_assign","bits","","","bitxor","bitxor_assign","borrow","","","","","","","","borrow_mut","","","","","","","","borrow_to_sql","","check_bytes","","","clone","","","","clone_into","","","","clone_to_uninit","","","","column_result","complement","contains","","deserialize","","","","difference","empty","eq","","","","equivalent","","","","","","","","extend","flags","","fmt","","","","","","","","from","","","","","","","","","from_bits","from_bits_retain","","from_bits_truncate","from_iter","from_name","from_native","from_sql","hash","id","","insert","intersection","intersects","","into","","","","","","","","into_iter","is_all","","is_empty","","iter","iter_names","layout_raw","","","","","","","","name","","not","party_id","","pointer_metadata","","","","","","","","remove","resolve","","","serialize","","","","","","serialize_unsized","","","set","sub","sub_assign","symmetric_difference","to_native","to_native_retain","to_native_truncate","to_owned","","","","to_sql","","","to_sql_checked","","toggle","try_from","","","","","","","","try_into","","","","","","","","type_id","","","","","","","","union","vzip","","","","","","","","emoji","","","ArchivedFile","File","FileResolver","FileUpload","archived_metadata","borrow","","","","borrow_mut","","","","check_bytes","clone","clone_into","clone_to_uninit","deserialize","filename","","fmt","from","","","","height","","id","","into","","","","layout_raw","","","","mime","","pointer_metadata","","","","preview","","resolve","serialize","","serialize_unsized","size","","to_owned","try_from","","","","try_into","","","","type_id","","","","upload_url","vzip","","","","width","","ArchivedIntent","DIRECT_MESSAGES","DIRECT_MESSAGE_REACTIONS","DIRECT_MESSAGE_TYPING","Intent","MESSAGES","MESSAGE_REACTIONS","MESSAGE_TYPING","PARTIES","PARTY_BANS","PARTY_EMOTES","PARTY_INTEGRATIONS","PARTY_INVITES","PARTY_MEMBERS","PARTY_WEBHOOKS","PRESENCE","PROFILE_UPDATES","VOICE_STATUS","accepts","","","all","archived_metadata","bitand","bitand_assign","bitor","bitor_assign","bits","","","bitxor","bitxor_assign","borrow","","borrow_mut","","borrow_to_sql","","check_bytes","clone","","clone_into","","clone_to_uninit","","column_result","commands","complement","contains","","deserialize","","difference","empty","eq","","","","equivalent","","","","","","","","events","extend","fmt","","","","","","from","","","from_bits","from_bits_retain","","from_bits_truncate","from_iter","from_name","from_native","from_sql","hash","insert","intersection","intersects","","into","","into_iter","is_all","","is_empty","","iter","iter_names","layout_raw","","message","not","pointer_metadata","","remove","resolve","serialize","","serialize_unsized","set","sub","sub_assign","symmetric_difference","to_native","to_native_retain","to_native_truncate","to_owned","","to_sql","","","to_sql_checked","","toggle","try_from","","try_into","","type_id","","union","vzip","","ArchivedIdentify","ArchivedSetPresence","Identify","IdentifyResolver","SetPresence","SetPresenceResolver","archived_metadata","","auth","","borrow","","","","","","borrow_mut","","","","","","check_bytes","","clone","","clone_into","","clone_to_uninit","","deserialize","","fmt","","from","","","","","","intent","","into","","","","","","layout_raw","","","","","","pointer_metadata","","","","","","presence","","resolve","","serialize","","","","serialize_unsized","","to_owned","","try_from","","","","","","try_into","","","","","","type_id","","","","","","vzip","","","","","","ArchivedHello","ArchivedMessageDeleteEvent","ArchivedPartyMemberEvent","ArchivedPartyPositionUpdate","ArchivedPartyUpdateEvent","ArchivedProfileUpdateEvent","ArchivedReady","ArchivedReadyParty","ArchivedRoleDeleteEvent","ArchivedRoomDeleteEvent","ArchivedTypingStart","ArchivedUserPresenceEvent","ArchivedUserReactionEvent","Full","","","Hello","HelloResolver","MessageDeleteEvent","MessageDeleteEventResolver","PartyMemberEvent","PartyMemberEventResolver","PartyPositionUpdate","PartyPositionUpdateResolver","PartyUpdateEvent","PartyUpdateEventResolver","Position","","","ProfileUpdateEvent","ProfileUpdateEventResolver","Ready","ReadyParty","ReadyPartyResolver","ReadyResolver","RoleDeleteEvent","RoleDeleteEventResolver","RoomDeleteEvent","RoomDeleteEventResolver","TypingStart","TypingStartResolver","UserPresenceEvent","UserPresenceEventResolver","UserReactionEvent","UserReactionEventResolver","archived_metadata","","","","","","","","","","","","","borrow","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","borrow_mut","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","check_bytes","","","","","","","","","","","","","clone","","","","","clone_into","","","","","clone_to_uninit","","","","","default","deref","","deref_mut","deserialize","","","","","","","","","","","","","emote","","fmt","","","","","","","","","","","","","from","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","heartbeat_interval","","id","","","","","","","","into","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","layout_raw","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","me","","member","","","","","","msg_id","","parent","","parties","","party","","party_id","","","","","","","","","","","","","","","","pointer_metadata","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","position","","resolve","","","","","","","","","","","","","room_id","","","","","","rooms","","serialize","","","","","","","","","","","","","","","","","","","","","","","","","","serialize_unsized","","","","","","","","","","","","","session","","to_owned","","","","","try_from","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","try_into","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","type_id","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","user","","","","","","user_id","","","","vzip","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","ArchivedClientMsg","ArchivedServerMsg","ClientMsg","ClientMsgHandlers","ClientMsgOpcode","ClientMsgResolver","DynamicClientMsgHandlers","DynamicServerMsgHandlers","Heartbeat","","","","HeartbeatAck","","","","Hello","","","","Identify","","","","InvalidSession","","","","MemberAdd","","","","MemberBan","","","","MemberRemove","","","","MemberUnban","","","","MemberUpdate","","","","MessageCreate","","","","MessageDelete","","","","MessageReactionAdd","","","","MessageReactionRemove","","","","MessageReactionRemoveAll","","","","MessageReactionRemoveEmote","","","","MessageUpdate","","","","PartyCreate","","","","PartyDelete","","","","PartyUpdate","","","","PresenceUpdate","","","","ProfileUpdate","","","","Ready","","","","RelationAdd","","","","RelationRemove","","","","Resume","","","","RoleCreate","","","","RoleDelete","","","","RoleUpdate","","","","RoomCreate","","","","RoomDelete","","","","RoomPinsUpdate","","","","RoomUpdate","","","","ServerMsg","ServerMsgHandlers","ServerMsgOpcode","ServerMsgResolver","SetPresence","","","","Subscribe","","","","TypingStart","","","","Unsubscribe","","","","UserUpdate","","","","archived_metadata","","borrow","","","","","","","","","","borrow_mut","","","","","","","","","","check_bytes","","client_msg_payloads","clone","","clone_into","","clone_to_uninit","","default","","deserialize","","","","dispatch","","fallback","","","","fmt","","","","from","","","","","","","","","","","","heartbeat","","heartbeat_ack","","hello","","identify","","into","","","","","","","","","","invalid_session","","layout_raw","","","","","","","","","","matching_intent","member_add","","member_ban","","member_remove","","member_unban","","member_update","","message_create","","message_delete","","message_reaction_add","","message_reaction_remove","","message_reaction_remove_all","","message_reaction_remove_emote","","message_update","","new","","new_heartbeat","new_heartbeat_ack","new_hello","new_identify","new_invalid_session","new_member_add","new_member_ban","new_member_remove","new_member_unban","new_member_update","new_message_create","new_message_delete","new_message_reaction_add","new_message_reaction_remove","new_message_reaction_remove_all","new_message_reaction_remove_emote","new_message_update","new_party_create","new_party_delete","new_party_update","new_presence_update","new_profile_update","new_raw_with_state","","new_ready","new_relation_add","new_relation_remove","new_resume","new_role_create","new_role_delete","new_role_update","new_room_create","new_room_delete","new_room_pins_update","new_room_update","new_set_presence","new_subscribe","new_typing_start","new_unsubscribe","new_user_update","new_with_state","","on_heartbeat","on_heartbeat_ack","on_hello","on_identify","on_invalid_session","on_member_add","on_member_ban","on_member_remove","on_member_unban","on_member_update","on_message_create","on_message_delete","on_message_reaction_add","on_message_reaction_remove","on_message_reaction_remove_all","on_message_reaction_remove_emote","on_message_update","on_party_create","on_party_delete","on_party_update","on_presence_update","on_profile_update","on_ready","on_relation_add","on_relation_remove","on_resume","on_role_create","on_role_delete","on_role_update","on_room_create","on_room_delete","on_room_pins_update","on_room_update","on_set_presence","on_subscribe","on_typing_start","on_unsubscribe","on_user_update","opcode","","party_create","","party_delete","","party_update","","pointer_metadata","","","","","","","","","","presence_update","","profile_update","","ready","","relation_add","","relation_remove","","resolve","","resume","","role_create","","role_delete","","role_update","","room_create","","room_delete","","room_pins_update","","room_update","","serialize","","","","","","serialize_unsized","","server_msg_payloads","set_presence","","state","","subscribe","","to_owned","","try_from","","","","","","","","","","try_into","","","","","","","","","","type_id","","","","","","","","","","typing_start","","unsubscribe","","user_id","user_update","","vzip","","","","","","","","","","ArchivedHeartbeatPayload","ArchivedIdentifyPayload","ArchivedResumePayload","ArchivedSetPresencePayload","ArchivedSubscribePayload","ArchivedUnsubscribePayload","HeartbeatPayload","HeartbeatPayloadResolver","IdentifyPayload","IdentifyPayloadResolver","ResumePayload","ResumePayloadResolver","SetPresencePayload","SetPresencePayloadResolver","SubscribePayload","SubscribePayloadResolver","UnsubscribePayload","UnsubscribePayloadResolver","archived_metadata","","","","","","borrow","","","","","","","","","","","","","","","","","","borrow_mut","","","","","","","","","","","","","","","","","","check_bytes","","","","","","default","deref","","","","deserialize","","","","","","eq","equivalent","","","","fmt","","","","","","from","","","","","","","","","","","","","","","","","","inner","","","","into","","","","","","","","","","","","","","","","","","layout_raw","","","","","","","","","","","","","","","","","","party_id","","","","pointer_metadata","","","","","","","","","","","","","","","","","","resolve","","","","","","serialize","","","","","","","","","","","","serialize_unsized","","","","","","session","","try_from","","","","","","","","","","","","","","","","","","try_into","","","","","","","","","","","","","","","","","","type_id","","","","","","","","","","","","","","","","","","vzip","","","","","","","","","","","","","","","","","","ArchivedHeartbeatAckPayload","ArchivedHelloPayload","ArchivedInvalidSessionPayload","ArchivedMemberAddPayload","ArchivedMemberBanPayload","ArchivedMemberRemovePayload","ArchivedMemberUnbanPayload","ArchivedMemberUpdatePayload","ArchivedMessageCreatePayload","ArchivedMessageDeletePayload","ArchivedMessageReactionAddPayload","ArchivedMessageReactionRemoveAllPayload","ArchivedMessageReactionRemoveEmotePayload","ArchivedMessageReactionRemovePayload","ArchivedMessageUpdatePayload","ArchivedPartyCreatePayload","ArchivedPartyDeletePayload","ArchivedPartyUpdatePayload","ArchivedPresenceUpdatePayload","ArchivedProfileUpdatePayload","ArchivedReadyPayload","ArchivedRelationAddPayload","ArchivedRelationRemovePayload","ArchivedRoleCreatePayload","ArchivedRoleDeletePayload","ArchivedRoleUpdatePayload","ArchivedRoomCreatePayload","ArchivedRoomDeletePayload","ArchivedRoomPinsUpdatePayload","ArchivedRoomUpdatePayload","ArchivedTypingStartPayload","ArchivedUserUpdatePayload","HeartbeatAckPayload","HeartbeatAckPayloadResolver","HelloPayload","HelloPayloadResolver","InvalidSessionPayload","InvalidSessionPayloadResolver","MemberAddPayload","MemberAddPayloadResolver","MemberBanPayload","MemberBanPayloadResolver","MemberRemovePayload","MemberRemovePayloadResolver","MemberUnbanPayload","MemberUnbanPayloadResolver","MemberUpdatePayload","MemberUpdatePayloadResolver","MessageCreatePayload","MessageCreatePayloadResolver","MessageDeletePayload","MessageDeletePayloadResolver","MessageReactionAddPayload","MessageReactionAddPayloadResolver","MessageReactionRemoveAllPayload","MessageReactionRemoveAllPayloadResolver","MessageReactionRemoveEmotePayload","MessageReactionRemoveEmotePayloadResolver","MessageReactionRemovePayload","MessageReactionRemovePayloadResolver","MessageUpdatePayload","MessageUpdatePayloadResolver","PartyCreatePayload","PartyCreatePayloadResolver","PartyDeletePayload","PartyDeletePayloadResolver","PartyUpdatePayload","PartyUpdatePayloadResolver","PresenceUpdatePayload","PresenceUpdatePayloadResolver","ProfileUpdatePayload","ProfileUpdatePayloadResolver","ReadyPayload","ReadyPayloadResolver","RelationAddPayload","RelationAddPayloadResolver","RelationRemovePayload","RelationRemovePayloadResolver","RoleCreatePayload","RoleCreatePayloadResolver","RoleDeletePayload","RoleDeletePayloadResolver","RoleUpdatePayload","RoleUpdatePayloadResolver","RoomCreatePayload","RoomCreatePayloadResolver","RoomDeletePayload","RoomDeletePayloadResolver","RoomPinsUpdatePayload","RoomPinsUpdatePayloadResolver","RoomUpdatePayload","RoomUpdatePayloadResolver","TypingStartPayload","TypingStartPayloadResolver","UserUpdatePayload","UserUpdatePayloadResolver","archived_metadata","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","borrow","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","borrow_mut","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","check_bytes","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","default","","deref","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","deserialize","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","eq","","equivalent","","","","","","","","fmt","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","from","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","id","","inner","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","into","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","layout_raw","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","pointer_metadata","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","resolve","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","serialize","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","serialize_unsized","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","try_from","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","try_into","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","type_id","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","user","","user_id","","vzip","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","ArchivedInvite","Invite","InviteResolver","archived_metadata","borrow","","","borrow_mut","","","check_bytes","clone","clone_into","clone_to_uninit","code","","description","","deserialize","expires","","fmt","from","","","into","","","inviter","","layout_raw","","","party","","pointer_metadata","","","remaining","","resolve","serialize","","serialize_unsized","to_owned","try_from","","","try_into","","","type_id","","","vzip","","","ArchivedAttachment","ArchivedEmoteOrEmoji","ArchivedMessage","ArchivedMessageFlags","ArchivedMessageKind","ArchivedReaction","ArchivedReactionFull","ArchivedReactionShorthand","Attachment","AttachmentResolver","DELETED","Emoji","","","Emote","","","EmoteOrEmoji","EmoteOrEmojiResolver","Ephemeral","","Full","","","LANGUAGE","MENTIONS_EVERYONE","MENTIONS_HERE","Message","MessageFlags","MessageKind","MessageResolver","Normal","","PARENT","REMOVED","Reaction","ReactionFull","ReactionFullResolver","ReactionResolver","ReactionShorthand","ReactionShorthandResolver","STARRED","SUPRESS_EMBEDS","Shorthand","","","TTS","Unavailable","","Welcome","","accepts","","","all","archived_metadata","","","","","","","","attachments","","author","","bitand","bitand_assign","bitor","bitor_assign","bits","","","bitxor","bitxor_assign","borrow","","","","","","","","","","","","","","","","","","","","","","borrow_mut","","","","","","","","","","","","","","","","","","","","","","borrow_to_sql","","check_bytes","","","","","","","","clone","","","","","","","","","","clone_into","","","","","","","","","","clone_to_uninit","","","","","","","","","","column_result","complement","contains","","content","","count","","default","deserialize","","","","","","","","","","difference","edited_at","","embeds","","emote","","","","empty","eq","","","","","","equivalent","","","","","","","","","","","","","","","","extend","file","","flags","","fmt","","","","","","","","","","","","","","","from","","","","","","","","","","","","","","","","","","","","","","","from_bits","from_bits_retain","","from_bits_truncate","from_bits_truncate_public","from_i64","from_iter","from_name","from_native","from_sql","from_str","from_u64","get","hash","","","id","","insert","intersection","intersects","","into","","","","","","","","","","","","","","","","","","","","","","into_iter","is_all","","is_empty","","iter","iter_names","kind","","layout_raw","","","","","","","","","","","","","","","","","","","","","","me","","not","parent","","party_id","","pins","","pointer_metadata","","","","","","","","","","","","","","","","","","","","","","reactions","","remove","resolve","","","","","","","","role_mentions","","room_id","","room_mentions","","score","","serialize","","","","","","","","","","","","","","","","serialize_unsized","","","","","","","","set","sub","sub_assign","symmetric_difference","to_i64","to_native","to_native_retain","to_native_truncate","to_owned","","","","","","","","","","to_smolstr","to_sql","","","to_sql_checked","","to_string","to_u64","toggle","try_from","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","try_into","","","","","","","","","","","","","","","","","","","","","","type_id","","","","","","","","","","","","","","","","","","","","","","union","user_mentions","","users","","vzip","","","","","","","","","","","","","","","","","","","","","","emoji","emote","emoji","emote","emoji","emote","Null","Nullable","Some","Undefined","accepts","","archived_metadata","as_mut","as_ref","borrow","borrow_mut","borrow_to_sql","check_bytes","clone","clone_into","clone_to_uninit","column_result","convert","default","deserialize","","eq","fmt","from","","","","from_sql","from_sql_null","hash","into","is_null","is_some","is_undefined","layout_raw","map","pointer_metadata","resolve","serialize","","serialize_unsized","to_owned","to_sql","","to_sql_checked","try_from","try_into","type_id","vzip","ADULT","ArchivedPartialParty","ArchivedParty","ArchivedPartyFlags","ArchivedPartyMember","ArchivedPartyMemberFlags","ArchivedPartyPreferences","ArchivedPartyPrefsFlags","ArchivedPinFolder","ArchivedPinFolderFlags","BANNED","CLOSED","COLOR","DEFAULT_FLAGS","EMAIL","LANGUAGE","MFA_ENABLED","NEW_MEMBER","NEW_USER","PHONE","PartialParty","PartialPartyResolver","Party","PartyFlags","PartyMember","PartyMemberFlags","PartyMemberResolver","PartyPreferences","PartyPreferencesResolver","PartyPrefsFlags","PartyResolver","PinFolder","PinFolderFlags","PinFolderResolver","SECURITY","accepts","","","","","","","","","","","","all","","","","archived_metadata","","","","","","","","","avatar","","banner","","bitand","","","","bitand_assign","","","","bitor","","","","bitor_assign","","","","bits","","","","","","","","","","","","bitxor","","","","bitxor_assign","","","","borrow","","","","","","","","","","","","","","","","","","","","","","","borrow_mut","","","","","","","","","","","","","","","","","","","","","","","borrow_to_sql","","","","","","","","check_bytes","","","","","","","","","clone","","","","","","","","","","","","","clone_into","","","","","","","","","","","","","clone_to_uninit","","","","","","","","","","","","","column_result","","","","complement","","","","contains","","","","","","","","default","","","default_room","","deref","","","description","","","","deserialize","","","","","","","","","","","","","difference","","","","emotes","","empty","","","","eq","","","","","","","","","","","","","","","","equivalent","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","extend","","","","f","","flags","","","","","","fmt","","","","","","","","","","","","","","","","","","","","","","","","","","","","","folders","","from","","","","","","","","","","","","","","","","","","","","","","","","","","","","from_bits","","","","from_bits_retain","","","","","","","","from_bits_truncate","","","","from_iter","","","","from_name","","","","from_native","","","","from_sql","","","","hash","","","","id","","","","insert","","","","intersection","","","","intersects","","","","","","","","into","","","","","","","","","","","","","","","","","","","","","","","into_iter","","","","is_all","","","","","","","","is_empty","","","","","","","","iter","","","","iter_names","","","","joined_at","","l","","layout_raw","","","","","","","","","","","","","","","","","","","","","","","name","","","","not","","","","owner","","partial","","pointer_metadata","","","","","","","","","","","","","","","","","","","","","","","position","","remove","","","","resolve","","","","","","","","","roles","","","","serialize","","","","","","","","","","","","","","","","","","serialize_unsized","","","","","","","","","set","","","","sub","","","","sub_assign","","","","symmetric_difference","","","","to_native","","","","to_native_retain","","","","to_native_truncate","","","","to_owned","","","","","","","","","","","","","to_sql","","","","","","","","","","","","to_sql_checked","","","","","","","","toggle","","","","try_from","","","","","","","","","","","","","","","","","","","","","","","try_into","","","","","","","","","","","","","","","","","","","","","","","type_id","","","","","","","","","","","","","","","","","","","","","","","union","","","","user","","vzip","","","","","","","","","","","","","","","","","","","","","","","ADD_REACTIONS","ADMINISTRATOR","ATTACH_FILES","ArchivedOverwrite","ArchivedPermissions","BAN_MEMBERS","CHANGE_NICKNAME","CONNECT","CREATE_INVITE","DEAFEN_MEMBERS","DEFAULT","DEFAULT_ONLY","EDIT_NEW_ATTACHMENT","EMBED_LINKS","KICK_MEMBERS","MANAGE_EXPRESSIONS","MANAGE_MESSAGES","MANAGE_NICKNAMES","MANAGE_PARTY","MANAGE_PERMS","MANAGE_ROLES","MANAGE_ROOMS","MANAGE_WEBHOOKS","MENTION_EVERYONE","MOVE_MEMBERS","MUTE_MEMBERS","Overwrite","OverwriteResolver","PRIORITY_SPEAKER","Permissions","READ_MESSAGE_HISTORY","SEND_MESSAGES","SEND_TTS_MESSAGES","SPEAK","STREAM","USE_EXTERNAL_EMOTES","USE_SLASH_COMMANDS","VIEW_AUDIT_LOG","VIEW_ROOM","VIEW_STATISTICS","all","allow","","apply","archived_metadata","","bitand","bitand_assign","bitor","bitor_assign","bits","","","bitxor","bitxor_assign","borrow","","","","","borrow_mut","","","","","check_bytes","","clone","","","clone_into","","","clone_to_uninit","","","combine","complement","compute_overwrites","contains","","default","deny","","deserialize","","","difference","empty","eq","","","","","","","equivalent","","","","","","","","","","","","extend","fmt","","","","","","","from","","","","","","from_bits","from_bits_retain","","from_bits_truncate","from_i64","from_i64_opt","from_iter","from_name","from_native","hash","id","","insert","intersection","intersects","","into","","","","","into_iter","is_admin","is_all","","is_empty","","iter","iter_names","layout_raw","","","","","normalize","not","pointer_metadata","","","","","remove","resolve","","serialize","","","","serialize_unsized","","set","sub","sub_assign","symmetric_difference","to_i64","to_native","to_native_retain","to_native_truncate","to_owned","","","toggle","try_from","","","","","try_into","","","","","type_id","","","","","union","vzip","","","","","AWAY","Activity","ActivityResolver","AnyActivity","AnyActivityResolver","ArchivedActivity","ArchivedAnyActivity","ArchivedUserPresence","ArchivedUserPresenceFlags","BUSY","INVISIBLE","MOBILE","OFFLINE","ONLINE","Typed","","","UserPresence","UserPresenceFlags","UserPresenceResolver","activity","","all","archived_metadata","","","","bitand","bitand_assign","bitor","bitor_assign","bits","","","bitxor","bitxor_assign","borrow","","","","","","","","","","","borrow_mut","","","","","","","","","","","check_bytes","","","","clone","","","","","clone_into","","","","","clone_to_uninit","","","","","complement","contains","","deserialize","","","","","difference","empty","eq","","","","equivalent","","","","","","","","extend","flags","","fmt","","","","","","","","","from","","","","","","","","","","","","from_bits","from_bits_retain","","from_bits_truncate","from_bits_truncate_public","from_iter","from_name","from_native","hash","insert","intersection","intersects","","into","","","","","","","","","","","into_iter","is_all","","is_empty","","iter","iter_names","last_active","","layout_raw","","","","","","","","","","","new","not","pointer_metadata","","","","","","","","","","","remove","resolve","","","","serialize","","","","","","","","serialize_unsized","","","","set","sub","sub_assign","symmetric_difference","to_native","to_native_retain","to_native_truncate","to_owned","","","","","toggle","try_from","","","","","","","","","","","try_into","","","","","","","","","","","type_id","","","","","","","","","","","union","updated_at","","vzip","","","","","","","","","","","with_activty","ArchivedRole","ArchivedRoleFlags","HOIST","MENTIONABLE","Role","RoleFlags","RoleResolver","accepts","","","all","archived_metadata","","avatar","","bitand","bitand_assign","bitor","bitor_assign","bits","","","bitxor","bitxor_assign","borrow","","","","","borrow_mut","","","","","borrow_to_sql","","check_bytes","","clone","","","clone_into","","","clone_to_uninit","","","color","","column_result","complement","contains","","default","desc","","deserialize","","","difference","empty","eq","","","","equivalent","","","","","","","","extend","flags","","fmt","","","","","","","from","","","","","","from_bits","from_bits_retain","","from_bits_truncate","from_iter","from_name","from_native","from_sql","hash","id","","insert","intersection","intersects","","into","","","","","into_iter","is_admin","is_all","","is_empty","","is_mentionable","iter","iter_names","layout_raw","","","","","name","","not","party_id","","permissions","","pointer_metadata","","","","","position","","remove","resolve","","serialize","","","","serialize_unsized","","set","sub","sub_assign","symmetric_difference","to_native","to_native_retain","to_native_truncate","to_owned","","","to_sql","","","to_sql_checked","","toggle","try_from","","","","","try_into","","","","","type_id","","","","","union","vzip","","","","","ArchivedFullRoom","ArchivedRoom","ArchivedRoomFlags","ArchivedRoomKind","DEFAULT","DirectMessage","","","FullRoom","FullRoomResolver","GroupMessage","","","KIND","NSFW","Room","RoomFlags","RoomKind","RoomKindResolver","RoomResolver","Text","","","UserForum","","","Voice","","","accepts","","","all","archived_metadata","","","","avatar","","bitand","bitand_assign","bitor","bitor_assign","bits","","","bitxor","bitxor_assign","borrow","","","","","","","","","","","borrow_mut","","","","","","","","","","","borrow_to_sql","","check_bytes","","","","clone","","","","","clone_into","","","","","clone_to_uninit","","","","","column_result","complement","contains","","deserialize","","","","difference","empty","eq","","","","","equivalent","","","","","","","","","","","","extend","flags","","fmt","","","","","","","","","from","","","","","","","","","","","","","from_bits","from_bits_retain","","from_bits_truncate","from_i64","from_iter","from_name","from_native","from_sql","from_u64","hash","","id","","insert","intersection","intersects","","into","","","","","","","","","","","into_iter","is_all","","is_empty","","iter","iter_names","kind","layout_raw","","","","","","","","","","","name","","not","overwrites","","parent_id","","party_id","","perms","","pointer_metadata","","","","","","","","","","","position","","rate_limit_per_user","","remove","resolve","","","","room","","serialize","","","","","","","serialize_unsized","","","","set","sub","sub_assign","symmetric_difference","to_i64","to_native","to_native_retain","to_native_truncate","to_owned","","","","","to_sql","","","to_sql_checked","","to_u64","toggle","topic","","try_from","","","","","","","","","","","","","","","","","","","try_into","","","","","","","","","","","type_id","","","","","","","","","","","union","vzip","","","","","","","","","","","AnonymousSession","AnonymousSessionResolver","ArchivedAnonymousSession","ArchivedSession","Session","SessionResolver","archived_metadata","","auth","","borrow","","","","","","borrow_mut","","","","","","check_bytes","","clone","","clone_into","","clone_to_uninit","","deserialize","","expires","","","","fmt","","from","","","","","","into","","","","","","layout_raw","","","","","","pointer_metadata","","","","","","resolve","","serialize","","","","serialize_unsized","","to_owned","","try_from","","","","","","try_into","","","","","","type_id","","","","","","vzip","","","","","","LANTERN_EPOCH","LANTERN_EPOCH_ODT","LANTERN_EPOCH_PDT","NicheSnowflake","Snowflake","borrow","borrow_mut","deserialize_with","","from","into","layout_raw","pointer_metadata","resolve_with","serialize_with","try_from","try_into","type_id","vzip","ArchivedRoomStatistics","RoomStatistics","RoomStatisticsResolver","Statistics","archived_metadata","borrow","","","","borrow_mut","","","","check_bytes","clone","","clone_into","","clone_to_uninit","","deserialize","","files","","fmt","","from","","","","into","","","","layout_raw","","","","messages","","pointer_metadata","","","","prefixed","","resolve","rooms","serialize","","","serialize_unsized","to_owned","","try_from","","","","try_into","","","","type_id","","","","vzip","","","","ArchivedThread","ArchivedThreadFlags","FORUM","Thread","ThreadFlags","ThreadResolver","accepts","","","all","archived_metadata","","bitand","bitand_assign","bitor","bitor_assign","bits","","","bitxor","bitxor_assign","borrow","","","","","borrow_mut","","","","","borrow_to_sql","","check_bytes","","clone","","","clone_into","","","clone_to_uninit","","","column_result","complement","contains","","deserialize","","","difference","empty","eq","","","","equivalent","","","","","","","","extend","flags","","fmt","","","","","","","from","","","","","","from_bits","from_bits_retain","","from_bits_truncate","from_iter","from_name","from_native","from_sql","hash","id","","insert","intersection","intersects","","into","","","","","into_iter","is_all","","is_empty","","iter","iter_names","layout_raw","","","","","not","parent","","pointer_metadata","","","","","remove","resolve","","serialize","","","","serialize_unsized","","set","sub","sub_assign","symmetric_difference","to_native","to_native_retain","to_native_truncate","to_owned","","","to_sql","","","to_sql_checked","","toggle","try_from","","","","","try_into","","","","","type_id","","","","","union","vzip","","","","","ALLOW_DMS","AVATAR_ROUNDNESS","Anyone","ArchivedExtraUserProfileBits","ArchivedFont","ArchivedFriendAddability","ArchivedLocale","ArchivedRelationship","ArchivedUser","ArchivedUserFlags","ArchivedUserPreferences","ArchivedUserPrefsFlags","ArchivedUserProfile","ArchivedUserProfileBits","ArchivedUserRelationship","AtkinsonHyperlegible","BANNED","Blocked","BlockedDangerous","Bot","COMPACT_VIEW","ComicSans","Cursive","DEFAULT_FLAGS","DEVELOPER_MODE","ELEVATION","ELEVATION_1","ELEVATION_2","ELEVATION_3","ENABLE_SPELLCHECK","EXTRA_STORAGE","EXTRA_STORAGE_1","EXTRA_STORAGE_2","ElevationLevel","ExtraUserProfileBits","FORCE_COLOR_CONSTRAST","Font","Friend","FriendAddability","FriendsOfFriends","GROUP_LINES","HIDE_ALL_EMBEDS","HIDE_AVATARS","HIDE_LAST_ACTIVE","HIDE_NSFW_EMBEDS","HIDE_UNKNOWN_DIMENSIONS","LIGHT_MODE","LOW_BANDWIDTH_MODE","Locale","MFA_ENABLED","MUTE_MEDIA","Monospace","NEEDS_PASSWORD_RESET","None","","","OLED_MODE","OVERRIDE_COLOR","","OpenDyslexic","PREMIUM","PREMIUM_1","PREMIUM_2","PREMIUM_3","PRIMARY_COLOR","PRIVATE_FLAGS","REDUCE_ANIMATIONS","RESERVED","RESERVED_1","RESERVED_2","RESERVED_3","RESERVED_4","Relationship","RelationshipResolver","Reserved","SECONDARY_COLOR","SHOW_ATTACHMENT_GRID","SHOW_DATE_CHANGE","SHOW_GREY_IMAGE_BG","SHOW_MEDIA_METADATA","SMALLER_ATTACHMENTS","SYSTEM_USER","SansSerif","Serif","ServerMembers","Staff","System","UNFOCUS_PAUSE","USE_PLATFORM_EMOJIS","User","UserFlags","UserPreferences","UserPreferencesResolver","UserPrefsFlags","UserProfile","UserProfileBits","UserProfileResolver","UserRelationship","UserResolver","VERIFIED","accepts","","","","","","","","","","","all","","","","archived_metadata","","","","","","","","","","","","avatar","","banner","","bio","","bitand","","","","bitand_assign","","","","bitor","","","","bitor_assign","","","","bits","","","","","","","","","","","","","","bitxor","","","","bitxor_assign","","","","borrow","","","","","","","","","","","","","","","","","","","","","","","","","","","","","borrow_mut","","","","","","","","","","","","","","","","","","","","","","","","","","","","","borrow_to_sql","","","","","","","cf","","cfs","","check_bytes","","","","","","","","","","","","clean","clone","","","","","","","","","","","","","","","","","","","","","clone_into","","","","","","","","","","","","","","","","","","","","","clone_to_uninit","","","","","","","","","","","","","","","","","","","","","cmp","","","","","color","column_result","","","","compare","","","","","complement","","","","contains","","","","","","","","default","","","","","","","","deserialize","","","","","","","","","","","","","","","","","","","","difference","","","","discriminator","","elevation","email","","empty","","","","enUS","eq","","","","","","","","","","","","","","","","","","","","","","","","","equivalent","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","extend","","","","extra","","extra_storage_tier","f","","flags","","fmt","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","friend","","from","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","from_bits","","","","from_bits_retain","","","","","","","","from_bits_truncate","","","","from_bits_truncate_public","from_i64","from_iter","","","","from_name","","","","from_native","","","","from_sql","","","","from_u64","get","","","","hash","","","","","","","","","","","","","id","","insert","","","","intersection","","","","intersects","","","","","","","","into","","","","","","","","","","","","","","","","","","","","","","","","","","","","","into_iter","","","","is_all","","","","","","","","is_empty","","","","","","","","iter","","","","iter_names","","","","l","","layout_raw","","","","","","","","","","","","","","","","","","","","","","","","","","","","","nick","","not","","","","note","","override_color","pad","","partial_cmp","","","","","","pending","","pointer_metadata","","","","","","","","","","","","","","","","","","","","","","","","","","","","","preferences","","","premium_level","presence","","profile","","rel","","remove","","","","resolve","","","","","","","","","","","","roundedness","serialize","","","","","","","","","","","","","","","","","","","","","","","","serialize_unsized","","","","","","","","","","","","set","","","","since","","status","","sub","","","","sub_assign","","","","symmetric_difference","","","","tab","","temp","","to_i64","to_native","","","","to_native_retain","","","","to_native_truncate","","","","to_owned","","","","","","","","","","","","","","","","","","","","","to_sql","","","","","","","","","","","to_sql_checked","","","","","","","to_u64","toggle","","","","try_from","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","try_into","","","","","","","","","","","","","","","","","","","","","","","","","","","","","type_id","","","","","","","","","","","","","","","","","","","","","","","","","","","","","uf","","ufs","","union","","","","user","","username","","vzip","","","","","","","","","","","","","","","","","","","","","","","","","","","","","with_elevation","ArchivedFontSize","ArchivedPadding","ArchivedTabSize","ArchivedTemperature","FontSize","FontSizeResolver","Padding","PaddingResolver","TabSize","TabSizeResolver","Temperature","TemperatureResolver","archived_metadata","","","","borrow","","","","","","","","","","","","borrow_mut","","","","","","","","","","","","check_bytes","","","","clone","","","","clone_into","","","","clone_to_uninit","","","","default","","","","deref","","","","deref_mut","","","","deserialize","","","","eq","","","","fmt","","","","from","","","","","","","","","","","","into","","","","","","","","","","","","layout_raw","","","","","","","","","","","","partial_cmp","","","","pointer_metadata","","","","","","","","","","","","resolve","","","","serialize","","","","","","","","serialize_unsized","","","","to_owned","","","","try_from","","","","","","","","","","","","try_into","","","","","","","","","","","","type_id","","","","","","","","","","","","vzip","","","","","","","","","","","","fixed_str","macros","thin_str","FixedStr","LEN","archived_metadata","as_mut","as_ref","","as_str","borrow","borrow_mut","check_bytes","clone","clone_into","clone_to_uninit","deref","deref_mut","deserialize","","eq","equivalent","","","","fmt","","from","from_bytes","hash","into","layout_raw","new","pointer_metadata","repeat_ascii","resolve","serialize","","serialize_unsized","to_owned","to_smolstr","to_string","try_from","","try_into","type_id","vzip","FromUtf8Error","ThinString","accepts","","archived_metadata","as_bytes","","as_mut","as_mut_vec","as_ref","","as_str","borrow","","","borrow_mut","","","borrow_to_sql","clear","clone","","clone_into","","clone_to_uninit","","cmp","compare","default","deref","deref_mut","deserialize","eq","","","","","","equivalent","","","","","","","","extend","","","","","","","fmt","","","","from","","","","","","","","","from_iter","","","","","from_sql","from_utf8","hash","into","","into_bytes","","is_empty","layout_raw","","len","new","partial_cmp","pointer_metadata","","push","push_str","reserve","reserve_exact","resolve","serialize","","serialize_unsized","shrink_to_fit","to_owned","","to_smolstr","","to_sql","to_sql_checked","to_string","","try_from","","try_into","","type_id","","utf8_error","vzip","","with_capacity","write_str"],"q":[[0,"client_sdk"],[63,"client_sdk::api"],[208,"client_sdk::api::asset"],[229,"client_sdk::api::asset::AssetQuery"],[234,"client_sdk::api::commands"],[241,"client_sdk::api::commands::config"],[285,"client_sdk::api::commands::file"],[577,"client_sdk::api::commands::invite"],[763,"client_sdk::api::commands::party"],[2160,"client_sdk::api::commands::room"],[3352,"client_sdk::api::commands::user"],[4581,"client_sdk::api::error"],[4768,"client_sdk::api::gateway"],[4791,"client_sdk::client"],[4839,"client_sdk::driver"],[4928,"client_sdk::framework"],[4934,"client_sdk::framework::standard"],[5000,"client_sdk::framework_utils"],[5001,"client_sdk::framework_utils::args"],[5047,"client_sdk::gateway"],[5168,"client_sdk::models"],[5662,"client_sdk::models::aliases"],[5682,"client_sdk::models::asset"],[5815,"client_sdk::models::auth"],[5891,"client_sdk::models::config"],[6012,"client_sdk::models::embed"],[6063,"client_sdk::models::embed::v1"],[6666,"client_sdk::models::emote"],[6892,"client_sdk::models::emote::ArchivedEmote"],[6893,"client_sdk::models::emote::Emote"],[6894,"client_sdk::models::emote::EmoteResolver"],[6895,"client_sdk::models::file"],[6966,"client_sdk::models::gateway"],[7100,"client_sdk::models::gateway::commands"],[7196,"client_sdk::models::gateway::events"],[7825,"client_sdk::models::gateway::message"],[8295,"client_sdk::models::gateway::message::client_msg_payloads"],[8561,"client_sdk::models::gateway::message::server_msg_payloads"],[9985,"client_sdk::models::invite"],[10042,"client_sdk::models::message"],[10573,"client_sdk::models::message::ArchivedEmoteOrEmoji"],[10575,"client_sdk::models::message::EmoteOrEmoji"],[10577,"client_sdk::models::message::EmoteOrEmojiResolver"],[10579,"client_sdk::models::nullable"],[10628,"client_sdk::models::party"],[11378,"client_sdk::models::permission"],[11583,"client_sdk::models::presence"],[11841,"client_sdk::models::role"],[12024,"client_sdk::models::room"],[12334,"client_sdk::models::session"],[12430,"client_sdk::models::sf"],[12449,"client_sdk::models::stats"],[12519,"client_sdk::models::thread"],[12686,"client_sdk::models::user"],[13735,"client_sdk::models::user::preferences"],[13935,"client_sdk::models::util"],[13938,"client_sdk::models::util::fixed_str"],[13982,"client_sdk::models::util::thin_str"],[14096,"postgres_types"],[14097,"snowflake"],[14098,"core::cmp"],[14099,"rusqlite::types::value_ref"],[14100,"rusqlite::types::from_sql"],[14101,"core::result"],[14102,"serde::de"],[14103,"snowflake::rkyv_impl"],[14104,"core::fmt"],[14105,"core::error"],[14106,"alloc::boxed"],[14107,"core::option"],[14108,"core::hash"],[14109,"core::alloc::layout"],[14110,"rkyv::place"],[14111,"rancor"],[14112,"core::marker"],[14113,"serde::ser"],[14114,"smol_str"],[14115,"bytes::bytes_mut"],[14116,"rusqlite::types::to_sql"],[14117,"rusqlite::error"],[14118,"alloc::string"],[14119,"core::any"],[14120,"client_sdk::api::command"],[14121,"http::header::map"],[14122,"core::future::future"],[14123,"core::convert"],[14124,"futures_core::stream"],[14125,"core::iter::traits::collect"],[14126,"bitflags::iter"],[14127,"thin_vec"],[14128,"client_sdk::models::user::prefs"],[14129,"iso8601_timestamp"],[14130,"client_sdk::models::user::user_relationship_impl"],[14131,"client_sdk::api::error::api_error_code_impl"],[14132,"std::io::error"],[14133,"http::status"],[14134,"client_sdk::client::error"],[14135,"client_sdk::driver::error"],[14136,"reqwest::error"],[14137,"reqwest::async_impl::client"],[14138,"mime"],[14139,"tokio::fs::file"],[14140,"core::ops::function"],[14141,"tokio::io::async_read"],[14142,"ciborium::de::error"],[14143,"ciborium::ser::error"],[14144,"http::header::value"],[14145,"core::num::error"],[14146,"url::parser"],[14147,"serde_urlencoded::ser"],[14148,"serde_json::error"],[14149,"alloc::sync"],[14150,"bytes::bytes"],[14151,"client_sdk::framework::standard::ctx"],[14152,"client_sdk::framework::standard::error"],[14153,"client_sdk::gateway::error"],[14154,"client_sdk::gateway::conn"],[14155,"tokio::sync::mpsc::error"],[14156,"core::ops::range"],[14157,"core::iter::traits::iterator"],[14158,"client_sdk::gateway::socket"],[14159,"tungstenite::error"],[14160,"core::pin"],[14161,"core::task::wake"],[14162,"core::task::poll"],[14163,"core::num::nonzero"],[14164,"core::mem::maybe_uninit"],[14165,"triomphe::arc"],[14166,"std::ffi::os_str"],[14167,"std::path"],[14168,"time::utc_offset"],[14169,"time::offset_date_time"],[14170,"triomphe::arc_borrow"],[14171,"time::duration"],[14172,"core::clone"],[14173,"core::default"],[14174,"alloc::vec"],[14175,"typenum::bit"],[14176,"typenum::uint"],[14177,"iso8601_timestamp::ts_str"],[14178,"typenum::marker_traits"],[14179,"alloc::borrow"],[14180,"triomphe::header"],[14181,"iso8601_timestamp::rkyv_08_impl"],[14182,"time::primitive_date_time"],[14183,"std::time"],[14184,"core::iter::traits::exact_size"],[14185,"triomphe::offset_arc"],[14186,"triomphe::thin_arc"],[14187,"triomphe::unique_arc"],[14188,"core::ffi"],[14189,"core::slice::iter"],[14190,"arc_swap::access"],[14191,"rkyv::traits"],[14192,"rkyv::ser::allocator"],[14193,"rkyv::ser::writer"],[14194,"rkyv::ser::sharing"],[14195,"time::month"],[14196,"rusqlite"],[14197,"arrayvec::array_string"],[14198,"client_sdk::models::message::message_kind_impl"],[14199,"client_sdk::models::party::prefs"],[14200,"client_sdk::models::user::prefs::locale_impl"],[14201,"client_sdk::models::user::prefs::font_impl"],[14202,"client_sdk::models::user::prefs::friend_addability_impl"],[14203,"client_sdk::models::user::prefs::preferences"],[14204,"core::str::error"]],"i":"``l0`0000`0000000`00000000``000000`000000`00`000000000000000000En00Ef````F`12111`11`11121122`2222222211120Fb31013103103102`331313310333311110000`3333331002310333333`33333103333331032310333333333100033103103103310``Gj000000000000000000CLh0CLj11``````````Gn00CLlCLn210022221021021022210222210210210210``````````````````H`HjHbHdHfHh5325CM`66CMb16CMdCMf7CMhCMj8CMlCMn9CN`CNb:CNdCNfH`;3=<1;:098Hf87Hh765>18184532104553211004532105>104CMbCM`7CMdCMf7CMhCMj8CMlCMn9CN`CNb:CNdCNfH`<;Hj;:Hb:9Hd98Hf87Hh765CMbCM`6CMdCMf7CMhCMj8CMlCMn9CN`CNb:CNdCNf<0H`<;Hj;:Hb:9Hd98Hf87Hh764>````````````I`IbIdIf3211CNh24CNjCNl5CNnCO`6COb56COdCOf;65:439278105370;5:397;:9998;:98;:9;65:43927810;65:43927810;65:43927810;:980;:9;65:43927810;:98;:988;:98;65:43927810;65:43927810;65:43927810;65:43927810```````````````````````````````````````````````````````````````````````````````Kl``````00IhIjLdIlL`InJ`JbLfJdLbJfJhJjJlJnK`KbLhKdLjKfLlKhLnKjM`KlKnMbL`MdLb3232IhIjIlInJ`JbJdJfJhJjJlJnK`KbKdKfKhKjIjCOhIlCOjJbCOlJdCOnLh53LnM`??76>L`0MdLb0Kl0000=<42LhDDf:8IhIjLdIlL`InJ`JbLfJd<3210><:865AB`5;:A@fDJbA@hDJfA@jDJjA@nDG`AAlDFdABbAAj0Ob4OdAAnOfOhOjAAfOlAAhOnA@`A@bA@dA@fA@hA@jA@lA@nAB`AA`AAbAAjAAdObOdOfOhOjOlOnA@`A@bA@dA@fA@hA@jA@lA@nAA`AAbAAdObDGdDFhAAlDGfDFdOdDGhDFjAAnDGjDFfOfDGlDGnOhDH`DHbOjDHdDFlDHfDHhAAfOlDHjDFnDHlDHnAAhOnDI`DIbA@`DIdDIfA@bDIhDIjA@dDIlDInA@fDJ`DJbA@hDJdDJfA@jDJhDJjA@lDJlDJnA@nDK`DG`AB`DKbDKdAA`DKfDKhAAbDKjDGbDKlABbAAjAAdDKnDL`ObDGdDFhAAlDGfDFdOdDGhDFjAAnDGjDFfOfDGlDGnOhDH`DHbOjDHdDFlDHfDHhAAfOlDHjDFnDHlDHnAAhOnDI`DIbA@`DIdDIfA@bDIhDIjA@dDIlDInA@fDJ`DJbA@hDJdDJfA@jDJhDJjA@lDJlDJnA@nDK`DG`AB`DKbDKdAA`DKfDKhAAbDKjDGbDKlABbAAjAAdDKnDL`ObDGdDFhAAlDGfDFdOdDGhDFjAAnDGjDFfOfDGlDGnOhDH`DHbOjDHdDFlDHfDHhAAfOlDHjDFnDHlDHnAAhOnDI`DIbA@`DIdDIfA@bDIhDIjA@dDIlDInA@fDJ`DJbA@hDJdDJfA@jDJhDJjA@lDJlDJnA@nDK`DG`AB`DKbDKdAA`DKfDKhAAbDKjDGbDKlABbAAjAAdDKnDL`DHnAAhOdDFjOfDGnOhDHbOnDIbA@`DIfA@bDIjA@dDInA@fDJbA@hDJfA@jDJjA@lDJnA@nDG`ABbAAjObOdOfOhOjOlOnA@`A@bA@dA@fA@hA@jA@lA@nAA`AAbAAdABbAAj10AAlDFdDHhAAfDHnAAhObOdOfOhOjOlOnA@`A@bA@dA@fA@hA@jA@lA@nAA`AAbAAd;DIb;DIfDHnAAhObDGdDFhAAlDGfDFdOdDGhDFjAAnDGjDFfOfDGlDGnOhDH`DHbOjDHdDFlDHfDHhAAfOlDHjDFnDHlDHnAAhOnDI`DIbA@`DIdDIfA@bDIhDIjA@dDIlDInA@fDJ`DJbA@hDJdDJfA@jDJhDJjA@lDJlDJnA@nDK`DG`AB`DKbDKdAA`DKfDKhAAbDKjDGbDKlABbAAjAAdDKnDL`43DHnAAh1065ObAAlOdAAnOfOhOjAAfOl9OnA@`A@bA@dA@fA@hA@jA@lA@nAB`AA`AAbAAjAAdObDFhOdDFjOfDGnOhDHbOjDFlOlDFnOnDIbA@`DIfA@bDIjA@dDInA@fDJbA@hDJfA@jDJjA@lDJnA@nDG`AA`DKhAAbDGbAAdDL`ObAAl0OdAAn0OfOhOjAAf0OlAAh0OnA@`A@bA@dA@fA@hA@jA@lA@nAB`0AA`AAbAAj0AAdObAAlOdAAnOfOhOjAAfOlAAhOnA@`A@bA@dA@fA@hA@jA@lA@nAB`AA`AAbAAjAAdDHn?ABb3ObDGdDFhAAlDGfDFdOdDGhDFjAAnDGjDFfOfDGlDGnOhDH`DHbOjDHdDFlDHfDHhAAfOlDHjDFnDHlDHnAAhOnDI`DIbA@`DIdDIfA@bDIhDIjA@dDIlDInA@fDJ`DJbA@hDJdDJfA@jDJhDJjA@lDJlDJnA@nDK`DG`AB`DKbDKdAA`DKfDKhAAbDKjDGbDKlABbAAjAAdDKnDL`ObDGdDFhAAlDGfDFdOdDGhDFjAAnDGjDFfOfDGlDGnOhDH`DHbOjDHdDFlDHfDHhAAfOlDHjDFnDHlDHnAAhOnDI`DIbA@`DIdDIfA@bDIhDIjA@dDIlDInA@fDJ`DJbA@hDJdDJfA@jDJhDJjA@lDJlDJnA@nDK`DG`AB`DKbDKdAA`DKfDKhAAbDKjDGbDKlABbAAjAAdDKnDL`AAlDFdObDGdDFh4DGf4OdDGhDFjAAnDGjDFfOfDGlDGnOhDH`DHbOjDHdDFlDHfDHhAAfOlDHjDFnDHlDHnAAhOnDI`DIbA@`DIdDIfA@bDIhDIjA@dDIlDInA@fDJ`DJbA@hDJdDJfA@jDJhDJjA@lDJlDJnA@nDK`DG`AB`DKbDKdAA`DKfDKhAAbDKjDGbDKlABbAAjAAdDKnDL`A@jDJjObDGdDFhAAlDGfDFdOdDGhDFjAAnDGjDFfOfDGlDGnOhDH`DHbOjDHdDFlDHfDHhAAfOlDHjDFnDHlDHnAAhOnDI`DIbA@`DIdDIfA@bDIhDIjA@dDIlDInA@fDJ`DJbA@hDJdDJfA@jDJhDJjA@lDJlDJnA@nDK`DG`AB`DKbDKdAA`DKfDKhAAbDKjDGbDKlABbAAjAAdDKnDL`````````````````````````````N```````````````````````0````````0``````````````````AC`AE`ACbAEbACdACfAEdAChAEfACjAEhAClAEjACnAD`AElADbADdADnADfNjADhADjAEnN`ADlDLb61DLd17171717AC`ACbACdACfAChACjAClACnAD`ADbADdADfADhADj=DLf=DLh<6543210?>:7EDd27EDfEDh;8BFj876BFnBG`BGbBGdBGfBGh6>=<5432106>=<543210<;>>>=<543210484<;376>=<543210>>6>>==6666>>>>====><;<;6>>>>>=<543210<;6ECl;??>=EDd=7EDf<7EDj<7EDl<7EE`EEb8EEdEEf9EEhEDbBFf00000BFh1BFl2BGbEDnBFnEDhBGd<;9865320>BFfBFlED`BFjEClECn5BFh5EDd5BFnEDfEDhBG`EDjBGjBGbEDlEDnBGdEE`EEbBGfEEdEEfBGhEEhEDbBFlED`BGlBFfBFj14BFnBG`BGbBGd>;44558833221100>>;;4583210>;51EDn6664EDh:9:9BFh00780;6543BGf?9919198EClECn;3>EDd>:EDf6:EDjBGj;EDl:;EE`EEb9EEdEEfBGhEEhEDbBFj>=BFfBFhBFl?ED`BFnEDfEDhBG`EDjBGjBGbEDlEDnBGdEE`EEbBGfEEdEEfBGhEEhEDbBFlED`10BFjEClECnBFfBFh6EDd6BFnEDfEDhBG`EDjBGjBGbEDlEDnBGdEE`EEbBGfEEdEEfBGhEEhEDbBFfBFlED`><;98653101BGn2BG`BFjEClECn7BFh7EDd7BFnEDfEDh8EDjBGjBGbEDlEDnBGdEE`EEbBGfEEdEEfBGhEEhEDb;9BGl000BH````EEjEElBHf``210```3333BHb44BHd20EEn10666666266621EF`16547320165473315732473247324777373247777337777333372177777324773201654777777377217773732016547737377732016542172173201654772477224472477773337324773737732016547320165473201654773201654EFbEFdEFf````BHhEFh1EFjEFl23100333330323103030231023103023103033333032310231023102231030`BHj00`000000000000000BHl1111111101110101001010101`1101011110011110000`1111110110111111011111010110101110`11011111111100010110101101010110``````BHnBI`1EFn2EG`12EGbEGd52341030545454545452341053523410523410523410405455445454523410523410523410523410`````````````EGfEGhBJj``````````210````````````````BIbBIdBIfBIhBIjBJ`BJbBJdBJfBJh:BJlBJn;EGjEGlEHdEHf?EHhEHjBJ`EHlEHnBJbEI`EIbBJdEIdEIfBJfEIhEIjBJhEIlEInEGfEGhBJjBJlEJ`EJbBJnEJdEJfBIbEGjEGlBIdEGnBInBIfEH`EHbBIhEHdEHfBIjEHhEHjBJ`EHlEHnBJbEI`EIbBJdEIdEIfBJfEIhEIjBJhEIlEInEGfEGhBJjBJlEJ`EJbBJnEJdEJfEGlBInEHbEHfEHjEHnEIbEIfEIjEInEGh>;BIbBIdBIfBIhBIj432104321043>343210BJ`BJbBJdBJfBJhBJjBJlBJn1EJb=<;:987654321=EGjEGl>EGnBIn?EH`EHbBIhEHdEHfBIjEHhEHjBJ`EHlEHnBJbEI`EIbBJdEIdEIfBJfEIhEIjBJhEIlEInEGfEGhBJjBJlEJ`EJbBJnEJdEJfBIbEGlBIjEHjBJbEIbBJdEIfBJfEIj9EGj9BIdEGnBInBIfEH`EHbBIhEHdEHfBIjEHhEHjBJ`EHlEHnBJbEI`EIbBJdEIdEIfBJfEIhEIjBJhEIlEInEGfEGhBJjBJlEJ`EJbBJnEJdEJfBIbEGjEGlBIdEGnBInBIfEH`EHbBIhEHdEHfBIjEHhEHjBJ`EHlEHnBJbEI`EIbBJdEIdEIfBJfEIhEIjBJhEIlEInEGfEGhBJjBJlEJ`EJbBJnEJdEJfBIdBInBIhEHf?=979710BIfEHb5432BJ`EHnBJbEIbBJdEIfBJfEIjBJhEInBJlEJbBJnEJfBIbEGjEGlBIdEGnBInBIfEH`EHbBIhEHdEHfBIjEHhEHjBJ`EHlEHnBJbEI`EIbBJdEIdEIfBJfEIhEIjBJhEIlEInEGfEGhBJjBJlEJ`EJbBJnEJdEJfBIjEHjBIbBIdBIfBIh5BJ`BJbBJdBJfBJhBJjBJl?7EHf6EIb2EJb;EHb>>==<<;;BIj0;;::9988776655BJn0BIbBIdBIfBIh5BJ`BJbBJdBJfBJhBJjBJl;8=:987<:EGjEGl;EGnBInEHl>BJbEI`EIbBJdEIdEIfBJfEIhEIjBJhEIlEInEGfEGhBJjBJlEJ`EJbBJnEJdEJf````````BKbAKlEJhEJjBK`BKhEJlEJn3210765432103210321032103210321032103210321032103210321032103210321032103210321032103210321076543210321032103210321032103210````7654765432107654321026BKd4321BKf9876154320987626`595959105498AJlBKj103276;:3776542;;:9820313120376542;:9831376542;:98631313131313131313131313132:66:66666666666666666632666:6666666::6:632233233333333333333333333323333333223236:313131376542;:9831313131316:2031313131313131766;::6:`2032207;376542;:98376542;:98376542;:983120631376542;:98``````````````````BLdBLfBLnBLjBM`BMbEK`EKb76EKdBLh7EKfEKh8EKjBLl9EKlEKn:EL`ELb;:BLdBLf;:BLn:9BLj98BM`87BMb76EKb?=;9765?3;65432166666654321EK`176EKdBLh7EKfEKh8EKjBLl9EKlEKn:EL`ELbBLf9?5;>>>>>5>>>5:94FBd1>=<4FBfFBh5FBjFBl=<;6FBnFC`CDd=CDhCDj>9:FAjFAlABlCDl<;CDn;:FAnFB`CE`CEb=<;CDf0:FBb9FBhFBl6FC`CDd5CDhCDjBKl?>=:938210?>=:938210?>=:9333807>6238210?>=:930707>6=53338821333388882222111139407333338210??>=:9338210FBd8FAjFAlABlCDlFBf98545454543322551100>>998832510>9833332CDf00403CDj732CDn<;4662624566255555555518FBd8FAjFAl76FBfFBh5FBjFBlFAnFB`CE`CEbFBnFC`CDdCDfCDhCDjBKlFBdFBbFAjFAlABlCDlFBfFBhCDnFBjFBlFAnFB`CE`CEbFBnFC`CDdCDfCDhCDjBKlFBdFBbFAjFAlABlCDlFBfFBhCDnFBjFBlFAnFB`CE`CEbFBnFC`CDdBKlFBb;92CDfCDhCDj4FBd4FAjFAlABlCDlFBfFBhCDnFBjFBlFAnFB`CE`CEbFBnFC`FCbFCdFCfFChFCjFClMl`00000000000000000000000000000000000000000000000Mj`````````CEl1CEnCEj333333``````````````300CF`44CFb44CFd44CFf47654CFh8CFjBIl9CFl9CFn2CG`30:=<;:=<;:=<;:=<;::9==8<<7;;6:=<;:=<;:95FCnFD`?:6FDbFDd7FDf5CEl=8FDhFDjCEn?:FDlFDnCEjCF`CFh==BIl=CG`=CFdCFl>=CEn>=7654321=<;:98265743>;2781>;27>>==;;::22667744>>>>====;;;;::::2222666677774444>;27CFn987=287=28675=42386CFhFCnFD`:84FDbFDdBIlFDfCG`CEl=CFlFDhFDj>?CFnFDlFDn=;20CEjMj95<:<:1CF`CFhFCnFD`4CFbCFjFDbFDdBIlFDfCG`CElCFdCFlFDhFDjCEnCFfCFnFDlFDn<:CEjMj;61CFh1CFjBIl><970?<:4422331100>><<997742310><9743>943>943>943>9CF`CFb?:10?:10?:6145032CElCFdCFl>=<994883221>>=948321>=982>947FCnFD`:58FDbFDd9FDfCG`876FDhFDjCEnCFfCFnFDlFDnCEjCF`CFh?>MjCFbCFjFDbFDdBIlFDfCG`CElCFdCFlFDhFDjCEnCFfCFnFDlFDnCEjCF`CFhFCnFD`MjCFbCFjFDbFDdBIlFDfCG`CElCFdCFlFDhFDjCEnCFfCFnFDlFDnCEjMj;6971CF`CFhFCnFD`4CFbCFjFDbFDdBIlFDfCG`CElCFdCFlFDhFDjCEnCFfCFnFDlFDnGh00``000000000000000000000``0`00000000000CGfNl020222222CGd3330FE`324103213412412412244414324124444113224444111122224444441244103244444444143244414103244414144410324441032442442242444441114124410324103241032441032CGh````````00000FEbFEdCGl```AL`FEf5512CGn666666CGj77703FEh37652FEjFEl:36259874103580:3674:3674:3674::3:3674::::33::::3333:65:::::3674::3625987410:::::::3::::3:3625987410::3:3::65:36259874106::3625987410::674::667744:674::::333:3674::3625987410:3625987410:3625987410:65:36259874106``Nf0```00CH`11BL`0FEn333333233321FF`14320143314324324322144434214324444334444333342144444324432014444443442144434320142434324443201214212143201214424422424444333432443434432014320143201443201````CHbCHfFFbFFd``21033`````21021021033CHd434CHhCHj1FFf777777377654732FFh12FFjFFl987:6523410:676309:6549:6549:654:::6:654::9::669999::::6666:539:::::654987:::6523410::::9::6:99:53:::6987:6523410::6:6:::987:652341053:53535340987:65234105353:9:54409::55449:54::::96669:654::6:69:5399999999987:6523410987:6523410987:6523410:987:6523410``````CHlCHn1FFn2FG`12FGbFGd52341030545454545340545234105234105234105234105455445454523410523410523410523410`````FGf0000000000000````CIdCIb1FGhFGj2310023232323302323102310231030231030322333232310231023102310``CIf```00CIh11CIj222222122210FGlFGn432104330432432432444343244443344443333420444443244321044444434420444343210443434443210420432104424422424444333432443434432104321043210443210CIlAFfCK`````````````CJlCInAFd0CKd6336622226222``6`1`466666666`263240165AFh4333363733333``107777734451177``````````377CJ`7711CJdCJf55:693CJh89;AF`8;5CKfBLb9BKn2FH`3030CIl=AFf;1>0;1>0;1>0;11:>>CJb11<<:9632?1<2?1<8CJjCJlCJnCK`CKb7CJ`=FHbFHdCIn9CKd;AFhCJdCJfCKfFHfFH`BLbFHhFHjAFdCKhBKnFHlFHnCJhCJjCJlCJnCK`CKbCIlCJ`AF`FHbFHdCInCJbCKdAFfAFhCJdCJfCKfFHfFH`BLbFHhFHjAFdCKhBKnFHlFHnCIlCJ`AFfAFhCJdCJf:AF`FHd10CJjCJnCKb93CJb76FH`FHjCKh?8CJh7CJl7CK`7CIlCJ`=CIn9CKdAFfAFhCJdCJfCKfBLbAFd>BKn>CJj>CJn>CKb>=AF`=CJb=<;:9876CKh6CJh6CJl6CK`6CIlCJ`7CIn7CKdAFfAFhCJdCJfCKfBLbAFd>BKnCJjCJnCKb;CKh7?;:5321<0?=;:?>=CJb<;:9CJhCJlCK`CIlAFfAFh><5:49382CJ`AF`CIn943CJdCJfCKfBLbAFd?BKn;6:92FHj730<7;:??CJj?CJn?CKb??<<::CJb0CKdAFf0AFh0==<<9CKhCJh0008888CJl0008888CK`0008888CIl000CJ`000CIn000::::999988887777CJd000CJf000AFd000999953;:CKfFH`5AF`FHdBLbFHj>CJj>CJn>CKb>>>>>=6<<<<<8=CKhBKn<;CJh9CJl9CK`9CIl00CJ`AF`FHbFHdCIn0>=<<;;CJdCJfCKfFHfFH`BLbFHhFHjAFdCKhBKnFHlFHnCIl>AFfAFh22CIn0221130210830213021CJ`CJbCJdCJf765<CJh3CJl3CK`3=:CKd=;:CKfFHfFH`BLbFHhFHjAFdCKhBKnFHlFHn:8CIlCInAFfAFh64>AF`FHdCJjCJnCKbCKd>=<:CJh4CJl4CK`4<155443388229977661100>><<5438297610><8976<:1FH`9:879:879:873FHd40AFdCJ`CJbCJdCJf32103210CKhBKn88?5544=11:976CJh>CJl>CK`>=3AF`FHbFHd?CJb?>=CJdCJf>FHfFH`?FHhFHj>>>>>>>>>CKhBKnFHlFHnCJhCJjCJlCJnCK`CKbCIlCJ`AF`FHbFHdCInCJbCKdAFfAFhCJdCJfCKfFHfFH`BLbFHhFHjAFdCKhBKnFHlFHnCJhCJjCJlCJnCK`CKbCIlCJ`AF`FHbFHdCInCJbCKdAFfAFhCJdCJfCKfFHfFH`BLbFHhFHjAFdCKhBKnFHlFHnAF`FHd10CIlCInAFfAFh86=;CJhCJjCJlCJnCK`CKb9CJ`?>{dc{}}00{dDb}{dDl}{{{d{hEn}}En}n}{c{{Af{e}}}{}{}}00{{}{{Af{c}}}{}}00{dDn}00{{EnEn}En}{{}c{}}00````{d{{d{c}}}{}}{{{d{h}}}{{d{hc}}}{}}{{{d{Gj}}}Gj}{{d{d{hc}}}n{}}{dn}{{{d{Gj}}{d{hAl}}}G`}{GlGj}{cc{}}8{{}{{Af{CbCd}}}}{d}{{{d{Gj}}c}AfCl}{dc{}}{c{{Af{e}}}{}{}}{{}{{Af{c}}}{}}{dDn}?```````````````5{{{d{Gn}}}{{d{c}}}{}}???>>>{{{d{hc}}}{{Af{n}}}{ChCj}}{g{{Af{ie}}}{}{{Fj{Fb}}}{{Fl{}{{E`{{Af{ce}}}}}}Fh}{}}{{{d{Gn}}{d{hAl}}}G`}{{{d{Gn}}c}G`Gb}<<<{{}c{}}00<<<{{}Gn}{{{d{Gn}}}Gh}==={{{d{Gn}}c{Cf{e}}}n{}{}}{{{d{Gn}}{d{hc}}}{{Af{e}}}{ChCj}{}}{{d{d{hc}}}{{Af{Cn}}}{}}===<<<;;;555``````````````````{d}00000{{{d{H`}}}{{d{c}}}{}}{{{d{Hb}}}{{d{c}}}{}}{{{d{Hd}}}{{d{c}}}{}}``{{{d{H`}}}Cn}{d{{d{c}}}{}}00000000000000000{{{d{h}}}{{d{hc}}}{}}00000000000000000{{{d{hc}}}{{Af{n}}}{ChCj}}00000{{{d{Hf}}}Hf}{{{d{Hh}}}Hh}{{d{d{hc}}}n{}}0{dn}0{g{{Af{ie}}}{}{{Fj{Fb}}}{{Fl{}{{E`{{Af{ce}}}}}}Fh}{}}00``;{{{d{hH`}}}{{d{hc}}}{}}{c{{Af{Hj}}}Ah}{c{{Af{Hf}}}Ah}{c{{Af{Hh}}}Ah}{{{d{Hf}}{d{Hf}}}f}{{{d{Hh}}{d{Hh}}}f}````{{{d{H`}}{d{hAl}}}G`}{{{d{Hj}}{d{hAl}}}G`}{{{d{Hb}}{d{hAl}}}G`}{{{d{Hd}}{d{hAl}}}G`}{{{d{Hf}}{d{hAl}}}G`}{{{d{Hh}}{d{hAl}}}G`}{{{d{H`}}c}G`Gb}{{{d{Hb}}c}G`Gb}{{{d{Hd}}c}G`Gb}{cc{}}00000000000000000``{{}c{}}00000000000000000{{}{{Af{CbCd}}}}00000000000000000``{{DbHl{Bl{Db}}{Bl{Hl}}{Bl{Hl}}{Bl{Dl}}}H`}{{}Hb}{HnHd}{{{d{H`}}}Gh}{{{d{Hb}}}Gh}{{{d{Hd}}}Gh}{d}00000000000000000``````{{{d{H`}}c{Cf{e}}}n{}{}}{{{d{Hj}}c{Cf{e}}}n{}{}}{{{d{Hb}}c{Cf{e}}}n{}{}}{{{d{Hd}}c{Cf{e}}}n{}{}}{{{d{Hf}}c{Cf{e}}}n{}{}}{{{d{Hh}}c{Cf{e}}}n{}{}}{{{d{H`}}{d{hc}}}{{Af{e}}}{ChCj}{}}{{{d{Hj}}c}AfCl}{{{d{Hj}}{d{hc}}}{{Af{e}}}{ChCj}{}}{{{d{Hb}}{d{hc}}}{{Af{e}}}{ChCj}{}}{{{d{Hd}}{d{hc}}}{{Af{e}}}{ChCj}{}}{{{d{Hf}}{d{hc}}}{{Af{e}}}{ChCj}{}}{{{d{Hf}}c}AfCl}{{{d{Hh}}{d{hc}}}{{Af{e}}}{ChCj}{}}{{{d{Hh}}c}AfCl}{{d{d{hc}}}{{Af{Cn}}}{}}00000``{dc{}}0{c{{Af{e}}}{}{}}00000000000000000{{}{{Af{c}}}{}}00000000000000000{dDn}00000000000000000``{{}c{}}00000000000000000``````````````{d}000{{{d{I`}}}{{d{c}}}{}}{{{d{Ib}}}{{d{c}}}{}}{{{d{Id}}}{{d{c}}}{}}``{{{d{Id}}}Cn}{d{{d{c}}}{}}00000000000{{{d{h}}}{{d{hc}}}{}}00000000000{{{d{hc}}}{{Af{n}}}{ChCj}}000``````{g{{Af{ie}}}{}{{Fj{Fb}}}{{Fl{}{{E`{{Af{ce}}}}}}Fh}{}}005{{{d{hId}}}{{d{hc}}}{}}{c{{Af{If}}}Ah}{{{d{I`}}{d{hAl}}}G`}{{{d{Ib}}{d{hAl}}}G`}{{{d{Id}}{d{hAl}}}G`}{{{d{If}}{d{hAl}}}G`}{{{d{I`}}c}G`Gb}{{{d{Ib}}c}G`Gb}{{{d{Id}}c}G`Gb}{cc{}}00000000000{{}c{}}00000000000{{}{{Af{CbCd}}}}00000000000{DbI`}{DbIb}{{Db{Bl{Db}}}Id}``{{{d{I`}}}Gh}{{{d{Ib}}}Gh}{{{d{Id}}}Gh}{d}00000000000{{{d{I`}}c{Cf{e}}}n{}{}}{{{d{Ib}}c{Cf{e}}}n{}{}}{{{d{Id}}c{Cf{e}}}n{}{}}{{{d{If}}c{Cf{e}}}n{}{}}{{{d{I`}}{d{hc}}}{{Af{e}}}{ChCj}{}}{{{d{Ib}}{d{hc}}}{{Af{e}}}{ChCj}{}}{{{d{Id}}{d{hc}}}{{Af{e}}}{ChCj}{}}{{{d{If}}c}AfCl}{{{d{If}}{d{hc}}}{{Af{e}}}{ChCj}{}}{{d{d{hc}}}{{Af{Cn}}}{}}000{c{{Af{e}}}{}{}}00000000000{{}{{Af{c}}}{}}00000000000{dDn}00000000000{{}c{}}00000000000````````````````````````````````````````````````````````````````````````````````````````>>>>>>>>>>>>>>>>>>>>>>>>>>>>>````````{{{d{Ih}}}{{d{c}}}{}}{{{d{Ij}}}{{d{c}}}{}}{{{d{Il}}}{{d{c}}}{}}{{{d{In}}}{{d{c}}}{}}{{{d{J`}}}{{d{c}}}{}}{{{d{Jb}}}{{d{c}}}{}}{{{d{Jd}}}{{d{c}}}{}}{{{d{Jf}}}{{d{c}}}{}}{{{d{Jh}}}{{d{c}}}{}}{{{d{Jj}}}{{d{c}}}{}}{{{d{Jl}}}{{d{c}}}{}}{{{d{Jn}}}{{d{c}}}{}}{{{d{K`}}}{{d{c}}}{}}{{{d{Kb}}}{{d{c}}}{}}{{{d{Kd}}}{{d{c}}}{}}{{{d{Kf}}}{{d{c}}}{}}{{{d{Kh}}}{{d{c}}}{}}{{{d{Kj}}}{{d{c}}}{}}``````````````````{{{d{Ij}}}Cn}{{{d{Il}}}Cn}{{{d{Jb}}}Cn}{{{d{Jd}}}Cn}{{{d{Kb}}}Cn}{{{d{Kd}}}Cn}{{{d{Kf}}}Cn}{{{d{Kh}}}Cn}{{{d{Kj}}}Cn}{d{{d{c}}}{}}000000000000000000000000000000000000000000000000000000000000000000000000000000000000{{{d{h}}}{{d{hc}}}{}}000000000000000000000000000000000000000000000000000000000000000000000000000000000000{{{d{hc}}}{{Af{n}}}{ChCj}}0000000000000000000000000000{{{d{Kl}}}Kl}{{{d{Kn}}}Kn}{{d{d{hc}}}n{}}0{dn}0{g{{Af{ie}}}{}{{Fj{Fb}}}{{Fl{}{{E`{{Af{ce}}}}}}Fh}{}}00000000000000000``{{}L`}{{}Lb}{{}Kl}``{{{d{Ij}}}{{d{c}}}{}}{{{d{Il}}}{{d{c}}}{}}{{{d{Jb}}}{{d{c}}}{}}{{{d{Jd}}}{{d{c}}}{}}{{{d{Kb}}}{{d{c}}}{}}{{{d{Kd}}}{{d{c}}}{}}{{{d{Kf}}}{{d{c}}}{}}{{{d{Kh}}}{{d{c}}}{}}{{{d{Kj}}}{{d{c}}}{}}{{{d{hIj}}}{{d{hc}}}{}}{{{d{hIl}}}{{d{hc}}}{}}{{{d{hJb}}}{{d{hc}}}{}}{{{d{hJd}}}{{d{hc}}}{}}{{{d{hKb}}}{{d{hc}}}{}}{{{d{hKd}}}{{d{hc}}}{}}{{{d{hKf}}}{{d{hc}}}{}}{{{d{hKh}}}{{d{hc}}}{}}{{{d{hKj}}}{{d{hc}}}{}}````````{c{{Af{Ld}}}Ah}{c{{Af{L`}}}Ah}{c{{Af{Lf}}}Ah}{c{{Af{Lb}}}Ah}{c{{Af{Lh}}}Ah}{c{{Af{Lj}}}Ah}{c{{Af{Ll}}}Ah}{c{{Af{Ln}}}Ah}{c{{Af{M`}}}Ah}{c{{Af{Kl}}}Ah}{{{d{Kl}}{d{hc}}}{{Af{Kl}}}{ChCj}}``{{{d{Mb}}{d{L`}}}f}{{{d{L`}}{d{L`}}}f}{{{d{L`}}{d{Mb}}}f}{{{d{Md}}{d{Lb}}}f}{{{d{Lb}}{d{Md}}}f}{{{d{Lb}}{d{Lb}}}f}{{{d{Kl}}{d{Kl}}}f}{{d{d{c}}}f{}}000````````{{{d{Ih}}{d{hAl}}}G`}{{{d{Ij}}{d{hAl}}}G`}{{{d{Ld}}{d{hAl}}}G`}{{{d{Il}}{d{hAl}}}G`}{{{d{L`}}{d{hAl}}}G`}{{{d{In}}{d{hAl}}}G`}{{{d{J`}}{d{hAl}}}G`}{{{d{Jb}}{d{hAl}}}G`}{{{d{Lf}}{d{hAl}}}G`}{{{d{Jd}}{d{hAl}}}G`}{{{d{Lb}}{d{hAl}}}G`}{{{d{Jf}}{d{hAl}}}G`}{{{d{Jh}}{d{hAl}}}G`}{{{d{Jj}}{d{hAl}}}G`}{{{d{Jl}}{d{hAl}}}G`}{{{d{Jn}}{d{hAl}}}G`}{{{d{K`}}{d{hAl}}}G`}{{{d{Kb}}{d{hAl}}}G`}{{{d{Lh}}{d{hAl}}}G`}{{{d{Kd}}{d{hAl}}}G`}{{{d{Lj}}{d{hAl}}}G`}{{{d{Kf}}{d{hAl}}}G`}{{{d{Ll}}{d{hAl}}}G`}{{{d{Kh}}{d{hAl}}}G`}{{{d{Ln}}{d{hAl}}}G`}{{{d{Kj}}{d{hAl}}}G`}{{{d{M`}}{d{hAl}}}G`}{{{d{Kl}}{d{hAl}}}G`}{{{d{Kn}}{d{hAl}}}G`}{{{d{Ih}}c}G`Gb}{{{d{Ij}}c}G`Gb}{{{d{Il}}c}G`Gb}{{{d{In}}c}G`Gb}{{{d{J`}}c}G`Gb}{{{d{Jb}}c}G`Gb}{{{d{Jd}}c}G`Gb}{{{d{Jf}}c}G`Gb}{{{d{Jh}}c}G`Gb}{{{d{Jj}}c}G`Gb}{{{d{Jl}}c}G`Gb}{{{d{Jn}}c}G`Gb}{{{d{K`}}c}G`Gb}{{{d{Kb}}c}G`Gb}{{{d{Kd}}c}G`Gb}{{{d{Kf}}c}G`Gb}{{{d{Kh}}c}G`Gb}{{{d{Kj}}c}G`Gb}{cc{}}000000000000000000000000000000000000000000000000000000000000000000000000000000000000{{{d{Kl}}{d{hc}}}nBn}{{}c{}}000000000000000000000000000000000000000000000000000000000000000000000000000000000000``{{}{{Af{CbCd}}}}000000000000000000000000000000000000000000000000000000000000000000000000000000000000````````````````{MfIh}{{Db{Bl{Mh}}Mj}Ij}{{Mf{Bl{Db}}{Ml{Db}}{Bl{Mj}}{Bl{Mn}}{Ml{Hn}}{Ml{Hn}}N`}Il}{MfIn}{{MfNb}J`}{{MfDb}Jb}{{MfNd{Bl{Nf}}{Bl{Db}}{Bl{Nh}}{Bl{Gh}}{Ml{Hn}}{Bl{B`}}}Jd}{{MfNd}Jf}{MfJh}{{MfNb}Jj}{MfJl}{MfJn}{{MfNb}K`}{{MfNj}Kb}{{Mf{Bl{C`}}{Bl{Bj}}{Bl{Db}}}Kd}{{MfDb{Bl{Db}}}Kf}{{MfDb{Bl{Db}}Kl{Nn{Nl}}O`}Kh}{{MfMh}Kj}``````````````````````````````````````{{{d{Ih}}}Gh}{{{d{Ij}}}Gh}{{{d{Il}}}Gh}{{{d{In}}}Gh}{{{d{J`}}}Gh}{{{d{Jb}}}Gh}{{{d{Jd}}}Gh}{{{d{Jf}}}Gh}{{{d{Jh}}}Gh}{{{d{Jj}}}Gh}{{{d{Jl}}}Gh}{{{d{Jn}}}Gh}{{{d{K`}}}Gh}{{{d{Kb}}}Gh}{{{d{Kd}}}Gh}{{{d{Kf}}}Gh}{{{d{Kh}}}Gh}{{{d{Kj}}}Gh}{d}000000000000000000000000000000000000000000000000000000000000000000000000000000000000``````````{{{d{Ih}}c{Cf{e}}}n{}{}}{{{d{Ij}}c{Cf{e}}}n{}{}}{{{d{Ld}}c{Cf{e}}}n{}{}}{{{d{Il}}c{Cf{e}}}n{}{}}{{{d{L`}}c{Cf{e}}}n{}{}}{{{d{In}}c{Cf{e}}}n{}{}}{{{d{J`}}c{Cf{e}}}n{}{}}{{{d{Jb}}c{Cf{e}}}n{}{}}{{{d{Lf}}c{Cf{e}}}n{}{}}{{{d{Jd}}c{Cf{e}}}n{}{}}{{{d{Lb}}c{Cf{e}}}n{}{}}{{{d{Jf}}c{Cf{e}}}n{}{}}{{{d{Jh}}c{Cf{e}}}n{}{}}{{{d{Jj}}c{Cf{e}}}n{}{}}{{{d{Jl}}c{Cf{e}}}n{}{}}{{{d{Jn}}c{Cf{e}}}n{}{}}{{{d{K`}}c{Cf{e}}}n{}{}}{{{d{Kb}}c{Cf{e}}}n{}{}}{{{d{Lh}}c{Cf{e}}}n{}{}}{{{d{Kd}}c{Cf{e}}}n{}{}}{{{d{Lj}}c{Cf{e}}}n{}{}}{{{d{Kf}}c{Cf{e}}}n{}{}}{{{d{Ll}}c{Cf{e}}}n{}{}}{{{d{Kh}}c{Cf{e}}}n{}{}}{{{d{Ln}}c{Cf{e}}}n{}{}}{{{d{Kj}}c{Cf{e}}}n{}{}}{{{d{M`}}c{Cf{e}}}n{}{}}{{{d{Kl}}c{Cf{e}}}n{}{}}{{{d{Kn}}c{Cf{e}}}n{}{}}````{{{d{Ih}}{d{hc}}}{{Af{e}}}{ChCj}{}}{{{d{Ij}}{d{hc}}}{{Af{e}}}{ChCj}{}}{{{d{Ld}}{d{hc}}}{{Af{e}}}{ChCj}{}}{{{d{Ld}}c}AfCl}{{{d{Il}}{d{hc}}}{{Af{e}}}{ChCj}{}}{{{d{L`}}{d{hc}}}{{Af{e}}}{ChCj}{}}{{{d{L`}}c}AfCl}{{{d{In}}{d{hc}}}{{Af{e}}}{ChCj}{}}{{{d{J`}}{d{hc}}}{{Af{e}}}{ChCj}{}}{{{d{Jb}}{d{hc}}}{{Af{e}}}{ChCj}{}}{{{d{Lf}}{d{hc}}}{{Af{e}}}{ChCj}{}}{{{d{Lf}}c}AfCl}{{{d{Jd}}{d{hc}}}{{Af{e}}}{ChCj}{}}{{{d{Lb}}c}AfCl}{{{d{Lb}}{d{hc}}}{{Af{e}}}{ChCj}{}}{{{d{Jf}}{d{hc}}}{{Af{e}}}{ChCj}{}}{{{d{Jh}}{d{hc}}}{{Af{e}}}{ChCj}{}}{{{d{Jj}}{d{hc}}}{{Af{e}}}{ChCj}{}}{{{d{Jl}}{d{hc}}}{{Af{e}}}{ChCj}{}}{{{d{Jn}}{d{hc}}}{{Af{e}}}{ChCj}{}}{{{d{K`}}{d{hc}}}{{Af{e}}}{ChCj}{}}{{{d{Kb}}{d{hc}}}{{Af{e}}}{ChCj}{}}{{{d{Lh}}c}AfCl}{{{d{Lh}}{d{hc}}}{{Af{e}}}{ChCj}{}}{{{d{Kd}}{d{hc}}}{{Af{e}}}{ChCj}{}}{{{d{Lj}}{d{hc}}}{{Af{e}}}{ChCj}{}}{{{d{Lj}}c}AfCl}{{{d{Kf}}{d{hc}}}{{Af{e}}}{ChCj}{}}{{{d{Ll}}{d{hc}}}{{Af{e}}}{ChCj}{}}{{{d{Ll}}c}AfCl}{{{d{Kh}}{d{hc}}}{{Af{e}}}{ChCj}{}}{{{d{Ln}}{d{hc}}}{{Af{e}}}{ChCj}{}}{{{d{Ln}}c}AfCl}{{{d{Kj}}{d{hc}}}{{Af{e}}}{ChCj}{}}{{{d{M`}}{d{hc}}}{{Af{e}}}{ChCj}{}}{{{d{M`}}c}AfCl}{{{d{Kl}}c}AfCl}{{{d{Kl}}{d{hc}}}{{Af{n}}}{ChCj}}{{{d{Kn}}{d{hc}}}{{Af{e}}}{ChCj}{}}{{d{d{hc}}}{{Af{Cn}}}{}}0000000000000000000000000000{dc{}}0``{c{{Af{e}}}{}{}}000000000000000000000000000000000000000000000000000000000000000000000000000000000000{{}{{Af{c}}}{}}000000000000000000000000000000000000000000000000000000000000000000000000000000000000{dDn}000000000000000000000000000000000000000000000000000000000000000000000000000000000000````{{}c{}}000000000000000000000000000000000000000000000000000000000000000000000000000000000000````````````````````````````````````````````````````````````````````````{d}00000000000000000000000``````{{{d{Ob}}}{{d{c}}}{}}{{{d{Od}}}{{d{c}}}{}}{{{d{Of}}}{{d{c}}}{}}{{{d{Oh}}}{{d{c}}}{}}{{{d{Oj}}}{{d{c}}}{}}{{{d{Ol}}}{{d{c}}}{}}{{{d{On}}}{{d{c}}}{}}{{{d{A@`}}}{{d{c}}}{}}{{{d{A@b}}}{{d{c}}}{}}{{{d{A@d}}}{{d{c}}}{}}{{{d{A@f}}}{{d{c}}}{}}{{{d{A@h}}}{{d{c}}}{}}{{{d{A@j}}}{{d{c}}}{}}{{{d{A@l}}}{{d{c}}}{}}{{{d{A@n}}}{{d{c}}}{}}{{{d{AA`}}}{{d{c}}}{}}{{{d{AAb}}}{{d{c}}}{}}{{{d{AAd}}}{{d{c}}}{}}````````````{{{d{Ob}}}Cn}{{{d{Od}}}Cn}{{{d{Oj}}}Cn}{{{d{Ol}}}Cn}{{{d{A@n}}}Cn}{{{d{AAb}}}Cn}{d{{d{c}}}{}}00000000000000000000000000000000000000000000000000000000000000000000000{{{d{h}}}{{d{hc}}}{}}00000000000000000000000000000000000000000000000000000000000000000000000{{{d{hc}}}{{Af{n}}}{ChCj}}00000000000000000000000{g{{Af{ie}}}{}{{Fj{Fb}}}{{Fl{}{{E`{{Af{ce}}}}}}Fh}{}}00000000000000000````{{}AAf}{{}AAh}{{}AAj}{{{d{Ob}}}{{d{c}}}{}}{{{d{Od}}}{{d{c}}}{}}{{{d{Oj}}}{{d{c}}}{}}{{{d{Ol}}}{{d{c}}}{}}{{{d{A@n}}}{{d{c}}}{}}{{{d{AAb}}}{{d{c}}}{}}{{{d{hOb}}}{{d{hc}}}{}}{{{d{hOd}}}{{d{hc}}}{}}{{{d{hOj}}}{{d{hc}}}{}}{{{d{hOl}}}{{d{hc}}}{}}{{{d{hA@n}}}{{d{hc}}}{}}{{{d{hAAb}}}{{d{hc}}}{}}{c{{Af{AAl}}}Ah}{c{{Af{AAn}}}Ah}{c{{Af{AAf}}}Ah}{c{{Af{AAh}}}Ah}{c{{Af{AB`}}}Ah}{c{{Af{AAj}}}Ah}````````````{{{d{ABb}}{d{AAj}}}f}{{{d{AAj}}{d{ABb}}}f}{{{d{AAj}}{d{AAj}}}f}{{{d{Ob}}{d{hAl}}}G`}{{{d{AAl}}{d{hAl}}}G`}{{{d{Od}}{d{hAl}}}G`}{{{d{AAn}}{d{hAl}}}G`}{{{d{Of}}{d{hAl}}}G`}{{{d{Oh}}{d{hAl}}}G`}{{{d{Oj}}{d{hAl}}}G`}{{{d{AAf}}{d{hAl}}}G`}{{{d{Ol}}{d{hAl}}}G`}{{{d{AAh}}{d{hAl}}}G`}{{{d{On}}{d{hAl}}}G`}{{{d{A@`}}{d{hAl}}}G`}{{{d{A@b}}{d{hAl}}}G`}{{{d{A@d}}{d{hAl}}}G`}{{{d{A@f}}{d{hAl}}}G`}{{{d{A@h}}{d{hAl}}}G`}{{{d{A@j}}{d{hAl}}}G`}{{{d{A@l}}{d{hAl}}}G`}{{{d{A@n}}{d{hAl}}}G`}{{{d{AB`}}{d{hAl}}}G`}{{{d{AA`}}{d{hAl}}}G`}{{{d{AAb}}{d{hAl}}}G`}{{{d{AAj}}{d{hAl}}}G`}{{{d{AAd}}{d{hAl}}}G`}{{{d{Ob}}c}G`Gb}{{{d{Od}}c}G`Gb}{{{d{Of}}c}G`Gb}{{{d{Oh}}c}G`Gb}{{{d{Oj}}c}G`Gb}{{{d{Ol}}c}G`Gb}{{{d{On}}c}G`Gb}{{{d{A@`}}c}G`Gb}{{{d{A@b}}c}G`Gb}{{{d{A@d}}c}G`Gb}{{{d{A@f}}c}G`Gb}{{{d{A@h}}c}G`Gb}{{{d{A@j}}c}G`Gb}{{{d{A@l}}c}G`Gb}{{{d{A@n}}c}G`Gb}{{{d{AA`}}c}G`Gb}{{{d{AAb}}c}G`Gb}{{{d{AAd}}c}G`Gb}{cc{}}00000000000000000000000000000000000000000000000000000000000000000000000{{}c{}}00000000000000000000000000000000000000000000000000000000000000000000000{{}{{Af{CbCd}}}}00000000000000000000000000000000000000000000000000000000000000000000000````````````````````````````{{MnDb{Bl{Mn}}{Nn{Hn}}{Nn{ABd}}ff}Ob}{{MnABfDb{Nn{Hn}}}Od}{{MnABf}Of}{{MnABf}Oh}{{Mn{Bl{ABf}}}Oj}{{Mn{Bl{ABh}}{Bl{ABf}}{Bl{B`}}{Nn{ABj}}fB`}Ol}{{MnABfABj}On}{{MnABfABj}A@`}{{MnABf}A@b}{{MnABf}A@d}{{MnABfABl}A@f}{{MnABfABl}A@h}{{MnABfABlNb}A@j}{{MnABf}A@l}{{MnABfABl{Bl{l}}{Bl{ABn}}}A@n}{MnAA`}{{Mn{Bl{Db}}{Ml{Db}}{Ml{Hn}}{Bl{B`}}{Nn{l}}{Nn{Nl}}{Bl{f}}}AAb}{MnAAd}``````````{{{d{Ob}}}Gh}{{{d{Od}}}Gh}{{{d{Of}}}Gh}{{{d{Oh}}}Gh}{{{d{Oj}}}Gh}{{{d{Ol}}}Gh}{{{d{On}}}Gh}{{{d{A@`}}}Gh}{{{d{A@b}}}Gh}{{{d{A@d}}}Gh}{{{d{A@f}}}Gh}{{{d{A@h}}}Gh}{{{d{A@j}}}Gh}{{{d{A@l}}}Gh}{{{d{A@n}}}Gh}{{{d{AA`}}}Gh}{{{d{AAb}}}Gh}{{{d{AAd}}}Gh}``````{d}00000000000000000000000000000000000000000000000000000000000000000000000````````{{{d{Ob}}c{Cf{e}}}n{}{}}{{{d{AAl}}c{Cf{e}}}n{}{}}{{{d{Od}}c{Cf{e}}}n{}{}}{{{d{AAn}}c{Cf{e}}}n{}{}}{{{d{Of}}c{Cf{e}}}n{}{}}{{{d{Oh}}c{Cf{e}}}n{}{}}{{{d{Oj}}c{Cf{e}}}n{}{}}{{{d{AAf}}c{Cf{e}}}n{}{}}{{{d{Ol}}c{Cf{e}}}n{}{}}{{{d{AAh}}c{Cf{e}}}n{}{}}{{{d{On}}c{Cf{e}}}n{}{}}{{{d{A@`}}c{Cf{e}}}n{}{}}{{{d{A@b}}c{Cf{e}}}n{}{}}{{{d{A@d}}c{Cf{e}}}n{}{}}{{{d{A@f}}c{Cf{e}}}n{}{}}{{{d{A@h}}c{Cf{e}}}n{}{}}{{{d{A@j}}c{Cf{e}}}n{}{}}{{{d{A@l}}c{Cf{e}}}n{}{}}{{{d{A@n}}c{Cf{e}}}n{}{}}{{{d{AB`}}c{Cf{e}}}n{}{}}{{{d{AA`}}c{Cf{e}}}n{}{}}{{{d{AAb}}c{Cf{e}}}n{}{}}{{{d{AAj}}c{Cf{e}}}n{}{}}{{{d{AAd}}c{Cf{e}}}n{}{}}````````````````````````````````````{{{d{Ob}}{d{hc}}}{{Af{e}}}{ChCj}{}}{{{d{AAl}}{d{hc}}}{{Af{e}}}{ChCj}{}}{{{d{AAl}}c}AfCl}{{{d{Od}}{d{hc}}}{{Af{e}}}{ChCj}{}}{{{d{AAn}}c}AfCl}{{{d{AAn}}{d{hc}}}{{Af{e}}}{ChCj}{}}{{{d{Of}}{d{hc}}}{{Af{e}}}{ChCj}{}}{{{d{Oh}}{d{hc}}}{{Af{e}}}{ChCj}{}}{{{d{Oj}}{d{hc}}}{{Af{e}}}{ChCj}{}}{{{d{AAf}}{d{hc}}}{{Af{e}}}{ChCj}{}}{{{d{AAf}}c}AfCl}{{{d{Ol}}{d{hc}}}{{Af{e}}}{ChCj}{}}{{{d{AAh}}{d{hc}}}{{Af{e}}}{ChCj}{}}{{{d{AAh}}c}AfCl}{{{d{On}}{d{hc}}}{{Af{e}}}{ChCj}{}}{{{d{A@`}}{d{hc}}}{{Af{e}}}{ChCj}{}}{{{d{A@b}}{d{hc}}}{{Af{e}}}{ChCj}{}}{{{d{A@d}}{d{hc}}}{{Af{e}}}{ChCj}{}}{{{d{A@f}}{d{hc}}}{{Af{e}}}{ChCj}{}}{{{d{A@h}}{d{hc}}}{{Af{e}}}{ChCj}{}}{{{d{A@j}}{d{hc}}}{{Af{e}}}{ChCj}{}}{{{d{A@l}}{d{hc}}}{{Af{e}}}{ChCj}{}}{{{d{A@n}}{d{hc}}}{{Af{e}}}{ChCj}{}}{{{d{AB`}}{d{hc}}}{{Af{e}}}{ChCj}{}}{{{d{AB`}}c}AfCl}{{{d{AA`}}{d{hc}}}{{Af{e}}}{ChCj}{}}{{{d{AAb}}{d{hc}}}{{Af{e}}}{ChCj}{}}{{{d{AAj}}c}AfCl}{{{d{AAj}}{d{hc}}}{{Af{e}}}{ChCj}{}}{{{d{AAd}}{d{hc}}}{{Af{e}}}{ChCj}{}}{{d{d{hc}}}{{Af{Cn}}}{}}00000000000000000000000````{c{{Af{e}}}{}{}}00000000000000000000000000000000000000000000000000000000000000000000000{{}{{Af{c}}}{}}00000000000000000000000000000000000000000000000000000000000000000000000``{dDn}00000000000000000000000000000000000000000000000000000000000000000000000``{{}c{}}00000000000000000000000000000000000000000000000000000000000000000000000```````````````````````````````````````````````````````````````````````````````{d}0000000000000000000000000````````````{{{d{AC`}}}{{d{c}}}{}}{{{d{ACb}}}{{d{c}}}{}}{{{d{ACd}}}{{d{c}}}{}}{{{d{ACf}}}{{d{c}}}{}}{{{d{ACh}}}{{d{c}}}{}}{{{d{ACj}}}{{d{c}}}{}}{{{d{ACl}}}{{d{c}}}{}}{{{d{ACn}}}{{d{c}}}{}}{{{d{AD`}}}{{d{c}}}{}}{{{d{ADb}}}{{d{c}}}{}}{{{d{ADd}}}{{d{c}}}{}}{{{d{ADf}}}{{d{c}}}{}}{{{d{ADh}}}{{d{c}}}{}}{{{d{ADj}}}{{d{c}}}{}}````````````````````{{{d{AC`}}}Cn}{{{d{ACb}}}Cn}{{{d{ACf}}}Cn}{{{d{ACh}}}Cn}{{{d{ACj}}}Cn}{{{d{ACl}}}Cn}{{{d{AD`}}}Cn}{{{d{ADd}}}Cn}{{{d{ADf}}}Cn}{{{d{ADj}}}Cn}{d{{d{c}}}{}}000000000000000000000000000000000000000000000000000000000000000000000000000{{{d{h}}}{{d{hc}}}{}}000000000000000000000000000000000000000000000000000000000000000000000000000{{{d{hc}}}{{Af{n}}}{ChCj}}0000000000000000000000000{{{d{N`}}}N`}{{{d{ADl}}}ADl}{{d{d{hc}}}n{}}0{dn}0{g{{Af{ie}}}{}{{Fj{Fb}}}{{Fl{}{{E`{{Af{ce}}}}}}Fh}{}}0000000000000``{{}ADn}{{}Nj}{{}N`}{{{d{AC`}}}{{d{c}}}{}}{{{d{ACb}}}{{d{c}}}{}}{{{d{ACf}}}{{d{c}}}{}}{{{d{ACh}}}{{d{c}}}{}}{{{d{ACj}}}{{d{c}}}{}}{{{d{ACl}}}{{d{c}}}{}}{{{d{AD`}}}{{d{c}}}{}}{{{d{ADd}}}{{d{c}}}{}}{{{d{ADf}}}{{d{c}}}{}}{{{d{ADj}}}{{d{c}}}{}}{{{d{hAC`}}}{{d{hc}}}{}}{{{d{hACb}}}{{d{hc}}}{}}{{{d{hACf}}}{{d{hc}}}{}}{{{d{hACh}}}{{d{hc}}}{}}{{{d{hACj}}}{{d{hc}}}{}}{{{d{hACl}}}{{d{hc}}}{}}{{{d{hAD`}}}{{d{hc}}}{}}{{{d{hADd}}}{{d{hc}}}{}}{{{d{hADf}}}{{d{hc}}}{}}{{{d{hADj}}}{{d{hc}}}{}}{c{{Af{AE`}}}Ah}{c{{Af{AEb}}}Ah}{c{{Af{AEd}}}Ah}{c{{Af{AEf}}}Ah}{c{{Af{AEh}}}Ah}{c{{Af{AEj}}}Ah}{c{{Af{AEl}}}Ah}{c{{Af{ADn}}}Ah}{c{{Af{Nj}}}Ah}{c{{Af{AEn}}}Ah}{c{{Af{N`}}}Ah}{{{d{N`}}{d{hc}}}{{Af{N`}}}{ChCj}}{c{{Af{ADl}}}Ah}``````{{{d{N`}}{d{N`}}}f}{{{d{ADl}}{d{ADl}}}f}{{d{d{c}}}f{}}0000000``{{{d{AC`}}{d{hAl}}}G`}{{{d{AE`}}{d{hAl}}}G`}{{{d{ACb}}{d{hAl}}}G`}{{{d{AEb}}{d{hAl}}}G`}{{{d{ACd}}{d{hAl}}}G`}{{{d{ACf}}{d{hAl}}}G`}{{{d{AEd}}{d{hAl}}}G`}{{{d{ACh}}{d{hAl}}}G`}{{{d{AEf}}{d{hAl}}}G`}{{{d{ACj}}{d{hAl}}}G`}{{{d{AEh}}{d{hAl}}}G`}{{{d{ACl}}{d{hAl}}}G`}{{{d{AEj}}{d{hAl}}}G`}{{{d{ACn}}{d{hAl}}}G`}{{{d{AD`}}{d{hAl}}}G`}{{{d{AEl}}{d{hAl}}}G`}{{{d{ADb}}{d{hAl}}}G`}{{{d{ADd}}{d{hAl}}}G`}{{{d{ADn}}{d{hAl}}}G`}{{{d{ADf}}{d{hAl}}}G`}{{{d{Nj}}{d{hAl}}}G`}{{{d{ADh}}{d{hAl}}}G`}{{{d{ADj}}{d{hAl}}}G`}{{{d{AEn}}{d{hAl}}}G`}{{{d{N`}}{d{hAl}}}G`}{{{d{ADl}}{d{hAl}}}G`}{{{d{AC`}}c}G`Gb}{{{d{ACb}}c}G`Gb}{{{d{ACd}}c}G`Gb}{{{d{ACf}}c}G`Gb}{{{d{ACh}}c}G`Gb}{{{d{ACj}}c}G`Gb}{{{d{ACl}}c}G`Gb}{{{d{ACn}}c}G`Gb}{{{d{AD`}}c}G`Gb}{{{d{ADb}}c}G`Gb}{{{d{ADd}}c}G`Gb}{{{d{ADf}}c}G`Gb}{{{d{ADh}}c}G`Gb}{{{d{ADj}}c}G`Gb}{cc{}}00000000000000000000000000000000000000000000000000000000000000000000{AF`AEn}1111111{{{d{N`}}{d{hc}}}nBn}``{{}c{}}000000000000000000000000000000000000000000000000000000000000000000000000000{{}{{Af{CbCd}}}}000000000000000000000000000000000000000000000000000000000000000000000000000{{DbDbDbAFbDl}AC`}{{DbDb{Bl{Db}}}ACb}{{}ACd}{{DbDl}ACf}{{DbDb}ACh}{{DbDb}ACj}{{DbDb{Bl{Db}}}ACl}{{}ACn}{{{Bl{Db}}}AD`}{{}ADb}{{Nb{Ml{AFd}}{Ml{Db}}}ADd}{{AFfAFh{Ml{Db}}{Ml{Hn}}{Ml{Hn}}N`{Ml{Db}}{Ml{Db}}}ADf}{NbADh}{AF`ADj}````````````````{{{d{AC`}}}Gh}{{{d{ACb}}}Gh}{{{d{ACd}}}Gh}{{{d{ACf}}}Gh}{{{d{ACh}}}Gh}{{{d{ACj}}}Gh}{{{d{ACl}}}Gh}{{{d{ACn}}}Gh}{{{d{AD`}}}Gh}{{{d{ADb}}}Gh}{{{d{ADd}}}Gh}{{{d{ADf}}}Gh}{{{d{ADh}}}Gh}{{{d{ADj}}}Gh}{d}000000000000000000000000000000000000000000000000000000000000000000000000000``{{{d{AC`}}c{Cf{e}}}n{}{}}{{{d{AE`}}c{Cf{e}}}n{}{}}{{{d{ACb}}c{Cf{e}}}n{}{}}{{{d{AEb}}c{Cf{e}}}n{}{}}{{{d{ACd}}c{Cf{e}}}n{}{}}{{{d{ACf}}c{Cf{e}}}n{}{}}{{{d{AEd}}c{Cf{e}}}n{}{}}{{{d{ACh}}c{Cf{e}}}n{}{}}{{{d{AEf}}c{Cf{e}}}n{}{}}{{{d{ACj}}c{Cf{e}}}n{}{}}{{{d{AEh}}c{Cf{e}}}n{}{}}{{{d{ACl}}c{Cf{e}}}n{}{}}{{{d{AEj}}c{Cf{e}}}n{}{}}{{{d{ACn}}c{Cf{e}}}n{}{}}{{{d{AD`}}c{Cf{e}}}n{}{}}{{{d{AEl}}c{Cf{e}}}n{}{}}{{{d{ADb}}c{Cf{e}}}n{}{}}{{{d{ADd}}c{Cf{e}}}n{}{}}{{{d{ADn}}c{Cf{e}}}n{}{}}{{{d{ADf}}c{Cf{e}}}n{}{}}{{{d{Nj}}c{Cf{e}}}n{}{}}{{{d{ADh}}c{Cf{e}}}n{}{}}{{{d{ADj}}c{Cf{e}}}n{}{}}{{{d{AEn}}c{Cf{e}}}n{}{}}{{{d{N`}}c{Cf{e}}}n{}{}}{{{d{ADl}}c{Cf{e}}}n{}{}}{{{d{AC`}}{d{hc}}}{{Af{e}}}{ChCj}{}}{{{d{AE`}}{d{hc}}}{{Af{e}}}{ChCj}{}}{{{d{AE`}}c}AfCl}{{{d{ACb}}{d{hc}}}{{Af{e}}}{ChCj}{}}{{{d{AEb}}c}AfCl}{{{d{AEb}}{d{hc}}}{{Af{e}}}{ChCj}{}}{{{d{ACd}}{d{hc}}}{{Af{e}}}{ChCj}{}}{{{d{ACf}}{d{hc}}}{{Af{e}}}{ChCj}{}}{{{d{AEd}}c}AfCl}{{{d{AEd}}{d{hc}}}{{Af{e}}}{ChCj}{}}{{{d{ACh}}{d{hc}}}{{Af{e}}}{ChCj}{}}{{{d{AEf}}c}AfCl}{{{d{AEf}}{d{hc}}}{{Af{e}}}{ChCj}{}}{{{d{ACj}}{d{hc}}}{{Af{e}}}{ChCj}{}}{{{d{AEh}}c}AfCl}{{{d{AEh}}{d{hc}}}{{Af{e}}}{ChCj}{}}{{{d{ACl}}{d{hc}}}{{Af{e}}}{ChCj}{}}{{{d{AEj}}{d{hc}}}{{Af{e}}}{ChCj}{}}{{{d{AEj}}c}AfCl}{{{d{ACn}}{d{hc}}}{{Af{e}}}{ChCj}{}}{{{d{AD`}}{d{hc}}}{{Af{e}}}{ChCj}{}}{{{d{AEl}}c}AfCl}{{{d{AEl}}{d{hc}}}{{Af{e}}}{ChCj}{}}{{{d{ADb}}{d{hc}}}{{Af{e}}}{ChCj}{}}{{{d{ADd}}{d{hc}}}{{Af{e}}}{ChCj}{}}{{{d{ADn}}c}AfCl}{{{d{ADn}}{d{hc}}}{{Af{e}}}{ChCj}{}}{{{d{ADf}}{d{hc}}}{{Af{e}}}{ChCj}{}}{{{d{Nj}}c}AfCl}{{{d{Nj}}{d{hc}}}{{Af{e}}}{ChCj}{}}{{{d{ADh}}{d{hc}}}{{Af{e}}}{ChCj}{}}{{{d{ADj}}{d{hc}}}{{Af{e}}}{ChCj}{}}{{{d{AEn}}{d{hc}}}{{Af{e}}}{ChCj}{}}{{{d{AEn}}c}AfCl}{{{d{N`}}c}AfCl}{{{d{N`}}{d{hc}}}{{Af{n}}}{ChCj}}{{{d{ADl}}{d{hc}}}{{Af{e}}}{ChCj}{}}{{{d{ADl}}c}AfCl}{{d{d{hc}}}{{Af{Cn}}}{}}0000000000000000000000000``{dc{}}0``````````````{c{{Af{e}}}{}{}}000000000000000000000000000000000000000000000000000000000000000000000000000{{}{{Af{c}}}{}}000000000000000000000000000000000000000000000000000000000000000000000000000{dDn}000000000000000000000000000000000000000000000000000000000000000000000000000````````{{}c{}}000000000000000000000000000000000000000000000000000000000000000000000000000````````````````````````````````````````````````````````````````````{d}0{d{{d{c}}}{}}0000{{{d{h}}}{{d{hc}}}{}}0000{{{d{hc}}}{{Af{n}}}{ChCj}}0{{{d{AFj}}}AFj}{{{d{AFl}}}AFl}{{{d{AFn}}}AFn}{{d{d{hc}}}n{}}00{dn}00{{{d{AFn}}{d{AFn}}}A`}{{{d{AG`}}}AFl}``{{d{d{c}}}A`{}}{c{{Af{AFj}}}Ah}{c{{Af{AFl}}}Ah}{{{d{AFn}}{d{hc}}}{{Af{AFl}}}{ChCj}}{{{d{AFl}}{d{AFl}}}f}{{{d{AFn}}{d{AFn}}}f}{{d{d{c}}}f{}}0000000{{{d{AFj}}{d{hAl}}}G`}0{{{d{AG`}}{d{hAl}}}G`}{{{d{AFl}}{d{hAl}}}G`}{{{d{AFn}}{d{hAl}}}G`}{AGbAFj}{cc{}}0000{D`{{Bl{AFl}}}}{Bj{{Bl{AFl}}}}{{{d{AFn}}}AFl}{{{d{AFl}}{d{hc}}}nBn}{{{d{AFn}}{d{hc}}}nBn}{AFlAGd}{{}c{}}0000{{}{{Af{CbCd}}}}0000``{{{d{AFn}}{d{AFn}}}{{Bl{A`}}}}{d}0000{{{d{AFj}}c{Cf{e}}}n{}{}}{{{d{AFl}}c{Cf{e}}}n{}{}}{{{d{AFj}}{d{hc}}}{{Af{e}}}{ChCj}{}}{{{d{AFj}}c}AfCl}{{{d{AFl}}{d{hc}}}{{Af{n}}}{ChCj}}{{{d{AFl}}c}AfCl}{{d{d{hc}}}{{Af{Cn}}}{}}0{{{d{AFl}}}{{Bl{D`}}}}{dc{}}00{dDb}{dDl}{{{d{AFl}}}{{Bl{Bj}}}}{c{{Af{e}}}{}{}}00{Bj{{Af{AFlc}}}{}}{ABn{{Af{AFlc}}}{}}{O`{{Af{AFlc}}}{}}{Hl{{Af{AFlc}}}{}}4{D`{{Af{AFlc}}}{}}{B`{{Af{AFlc}}}{}}{C`{{Af{AFlc}}}{}}{Nh{{Af{AFlc}}}{}}8{{}{{Af{c}}}{}}0000{dDn}0000{{}c{}}0000``{d{{d{c}}}{}}{{{d{h}}}{{d{hc}}}{}}{{{d{AGf}}}AGf}{{d{d{hc}}}n{}}{dn}`{{}AGf}{c{{Af{AGf}}}Ah}`{{{d{AGf}}{d{AGf}}}f}{{{d{AGf}}{d{hAl}}}G`}{cc{}}:{{}{{Af{CbCd}}}}{d}{{{d{AGf}}c}AfCl}{dc{}}{c{{Af{e}}}{}{}}{{}{{Af{c}}}{}}{dDn}{{}c{}}````````{{{d{AGh}}}{{Bl{AGj}}}}{d{{d{c}}}{}}0{{{d{h}}}{{d{hc}}}{}}0{{{d{AGh}}}AGh}{{d{d{hc}}}n{}}{dn}{{{d{AGh}}}AGl}{{{d{AGn}}{d{hAl}}}G`}0{cc{}}{AGbAGn}{AH`AGn}{AHbAGn}3{{AHd{d{Bh}}}AGh}=={{}{{Af{CbCd}}}}0{{{d{Bh}}}{{Af{AGhAGn}}}}{d}0{{{d{AGh}}{Bl{AGj}}}{{Af{nAGn}}}}{{{d{AGh}}AHf}n}{{{d{AGn}}}{{Bl{{d{Bd}}}}}}{dc{}}{dDb}{dDl}{c{{Af{e}}}{}{}}0{{}{{Af{c}}}{}}0{dDn}0{{{d{AGh}}c{Bl{AHh}}{d{hAHj}}e}{{Af{lAGn}}}{{AHl{Db}}}{{AHn{BjBj}}}}{{{d{AGh}}Hjce}{{Af{lAGn}}}AI`{{AHn{BjBj}}}}{{}c{}}0``````````````````{d{{d{c}}}{}}00{{{d{h}}}{{d{hc}}}{}}00{{{d{AHf}}}AHf}{{{d{AGl}}}AGl}{{d{d{hc}}}n{}}0{dn}0{{}AHf}{c{{Af{AHf}}}Ah}{{{d{AHf}}{d{AHf}}}f}{{d{d{c}}}f{}}000{{{d{AGl}}c}{{Af{AH`}}}Ef}{{{d{AGl}}c}{{Af{BlAH`}}}Ef}{{{d{AH`}}{d{hAl}}}G`}0{{{d{AHf}}{d{hAl}}}G`}{{{AIb{AGb}}}AH`}{{{AId{AGb}}}AH`}{AHbAH`}{AIfAH`}{AIhAH`}{AnAH`}{AIjAH`}{AIlAH`}{AInAH`}{AJ`AH`}{cc{}}00{{{d{AHf}}{d{hc}}}nBn}{{}c{}}00{{{d{AH`}}}f}{{}{{Af{CbCd}}}}00{{{d{Bh}}}{{Af{AGlAH`}}}}{{{AJb{Bh}}AHd}AGl}{{{AJb{Bh}}}{{Af{AGlAH`}}}}{{{d{AGl}}HnBjAJd}{{Af{BjAH`}}}}{d}00{{{d{AHf}}c}AfCl}{{{d{hAGl}}{Bl{AGj}}}{{Af{nAH`}}}}{{{d{AH`}}}{{Bl{{d{Bd}}}}}}{dc{}}0{dDb}{dDl}{c{{Af{e}}}{}{}}00{{}{{Af{c}}}{}}00{dDn}00{{}c{}}00```````````````{d{{d{c}}}{}}00{{{d{h}}}{{d{hc}}}{}}00{{{d{AJf}}}{{d{AGh}}}}{{{d{AJf}}}AJf}{{d{d{hc}}}n{}}{dn}{{{d{AJf}}}f}`{{{d{{AJh{ec}}}}}{{d{AJf}}}AJj{{AJl{AJf{Af{nc}}}}}}{{{d{AJf}}}AGl}{{{d{AJn}}{d{hAl}}}G`}0{cc{}}0{AGnAJn}{AK`AJn}{AH`AJn}3{{{d{{AJh{ec}}}}}{{AJb{AKb}}}AJj{{AJl{AJf{Af{nc}}}}}}{{{d{h{AJh{ec}}}}}{{d{he}}}AJj{{AJl{AJf{Af{nc}}}}}}{{}c{}}00{{}{{Af{CbCd}}}}00{AGh{{AJh{{AKd{nc}}c}}}AJj}{{AGhe}{{AJh{ec}}}AJj{{AJl{AJf{Af{nc}}}}}}{{AGhc}{{AJh{{AKd{ce}}e}}}{FhAKf}AJj}{{{d{h{AJh{ec}}}}g}{{d{h{AJh{ec}}}}}AJj{{AJl{AJf{Af{nc}}}}}{{AKh{cAJf{d{e}}}}FhAKf}}{{{d{h{AJh{ec}}}}g}{{d{h{AJh{ec}}}}}AJj{{AJl{AJf{Af{nc}}}}}{{AKj{AJf{d{he}}}{{Fd{{Af{nc}}}}}}}}{d}00{{{AJh{ec}}}{{Af{nc}}}AJj{{AJl{AJf{Af{nc}}}}}}{{{d{AJf}}AKl}{{Af{n{AKn{AKl}}}}}}{{{d{AJf}}AL`}{{Af{n{AKn{AL`}}}}}}{{{d{AJn}}}{{Bl{{d{Bd}}}}}}{dc{}}{dDb}{dDl}{c{{Af{e}}}{}{}}00{{}{{Af{c}}}{}}00{dDn}00{{}c{}}00````{{{d{ALb}}}{{d{{Bb{ALd}}}}}}{d{{d{c}}}{}}0{{{d{h}}}{{d{hc}}}{}}0{{{d{ALd}}}ALd}{{d{d{hc}}}n{}}{dn}{{{d{ALd}}{d{ALd}}}f}{{d{d{c}}}f{}}000{{{d{ALd}}{d{hAl}}}G`}{cc{}}0{{{d{ALd}}{d{hc}}}nBn}{{{d{ALd}}}{{ALf{Cn}}}}{{{d{ALd}}}{{d{Bh}}}}=={{{d{ALd}}}f}{{{d{ALd}}{ALj{ALhALh}}}f}{{{d{ALb}}}{{`{{ALl{}{{E`{{d{Bh}}}}}}}}}}{{}{{Af{CbCd}}}}0{{{d{ALb}}}{{d{Bh}}}}565{d}0{{{d{Bh}}}ALb}{{{d{Bh}}{d{{Bb{{ALj{ALhALh}}}}}}}ALb}{dc{}}{c{{Af{e}}}{}{}}0{{}{{Af{c}}}{}}0{dDn}0{{}c{}}0``````````````````{d{{d{c}}}{}}0000{{{d{h}}}{{d{hc}}}{}}0000{{{d{ALn}}}ALn}{{d{d{hc}}}n{}}{dn}{{{d{hAM`}}}{{Af{nAK`}}}}{AGl{{Af{AMbAK`}}}}{{{d{AM`}}}{{AJb{AKb}}}}{c{{Af{ALn}}}Ah}{{{d{ALn}}{d{ALn}}}f}{{d{d{c}}}f{}}000{{{d{AK`}}{d{hAl}}}G`}0{{{d{ALn}}{d{hAl}}}G`}{cc{}}0{AInAK`}{AMdAK`}{{{AId{AGb}}}AK`}3{{{AIb{AGb}}}AK`}44{D`{{Bl{ALn}}}}{Bj{{Bl{ALn}}}}{{{d{ALn}}{d{hc}}}nBn}{{}c{}}0000{{}{{Af{CbCd}}}}0000{AGhAM`}{{{d{AKb}}}n}{d}0000{{{AMf{{d{hAM`}}}}{d{hAMh}}}{{AMj{{Af{nAK`}}}}}}{{{AMf{{d{hAMb}}}}{d{hAMh}}}{{AMj{{Af{nAK`}}}}}}10{{{AMf{{d{hAM`}}}}{d{hAMh}}}{{AMj{{Bl{c}}}}}{}}{{{AMf{{d{hAMb}}}}{d{hAMh}}}{{AMj{{Bl{c}}}}}{}}325{{{d{ALn}}c}AfCl}{{{d{AKb}}AMl}n}{{{d{AK`}}}{{Bl{{d{Bd}}}}}}{{{AMf{{d{hAM`}}}}AKl}{{Af{nAK`}}}}{{{AMf{{d{hAMb}}}}AKl}{{Af{nAK`}}}}{{{d{ALn}}}{{Bl{D`}}}}{dc{}}{dDb}{dDl}{{{d{ALn}}}{{Bl{Bj}}}}{c{{Af{e}}}{}{}}00{O`{{Af{ALnc}}}{}}{B`{{Af{ALnc}}}{}}{ABn{{Af{ALnc}}}{}}{Hl{{Af{ALnc}}}{}}{Bj{{Af{ALnc}}}{}}{Nh{{Af{ALnc}}}{}}6{D`{{Af{ALnc}}}{}}{C`{{Af{ALnc}}}{}}8{{}{{Af{c}}}{}}0000{{{AMf{{d{hc}}}}{d{hAMh}}}{{AMj{{Bl{Af}}}}}{}}0{dDn}0000{{}c{}}0000```````````````````````{{{d{b}}}f}0{{AFbc}{}{}}{{{d{hAFb}}c}n{}}`{{}{{Af{Cd}}}}{{{d{h{Nn{c}}}}{d{h{Nn{c}}}}}n{}}{d}0000{{{d{h{AN`{{AMn{c}}}}}}}AMn{}}{{{d{h{Nn{c}}}}}{{d{h{Bb{c}}}}}{}}{{{d{h{AN`{{Bb{{AMn{c}}}}}}}}}{{d{h{Bb{{AMn{c}}}}}}}{}}{{{d{{AN`{c}}}}}{}Cj}{{{d{Db}}}{{d{Bh}}}}{{{d{Db}}}{{d{{Bb{B`}}}}}}{{{d{Db}}}{{d{ANb}}}}{{{d{Db}}}{{d{ANd}}}}{{{d{{Nn{c}}}}}{{d{{Bb{c}}}}}{}}{{{d{{AN`{c}}}}}{{d{c}}}Cj}15`{{{AN`{{Bb{{AMn{c}}}}}}}{{AN`{{Bb{c}}}}}{}}{{{AN`{{AMn{c}}}}}{{AN`{c}}}{}}{{AFbANf}ANh}`8{d{{d{c}}}{}}500400000{{{d{{AN`{c}}}}}{{ANj{c}}}Cj}{{{d{h}}}{{d{hc}}}{}}0>000000{d{{d{j}}}}{{{d{ANl}}}c{}}{{{d{{Nn{c}}}}}Cn{}}{{{d{hc}}}{{Af{n}}}{ChCj}}{{AFbANn}{{Bl{AFb}}}}0{{{d{h{Nn{c}}}}}n{}}{{{d{Db}}}Db}{{{d{{Nn{c}}}}}{{Nn{c}}}AO`}{{{d{{AN`{c}}}}}{{AN`{c}}}Cj}{{{d{AFb}}}AFb}{{{d{ANl}}}ANl}{{{d{ABh}}}ABh}{{d{d{hc}}}n{}}00000{dn}00000{{{d{Db}}{d{Db}}}A`}{{{d{{Nn{c}}}}{d{{Nn{c}}}}}A`AOb}{{{d{{AN`{c}}}}{d{{AN`{c}}}}}A`{AObCj}}{{{d{AFb}}{d{AFb}}}A`}{Ab{{Af{AFbAd}}}}{{d{d{c}}}A`{}}000`{{{d{{AN`{c}}}}}CnCj}{{{d{h{Nn{c}}}}}nAOd}{{{d{h{Nn{c}}}}e}n{}{{AHn{{d{hc}}{d{hc}}}{{Fd{f}}}}}}{{{d{h{Nn{c}}}}g}n{}AOd{{AHn{{d{hc}}}{{Fd{e}}}}}}{{}Db}{{}{{Nn{c}}}{}}{{}{{AN`{c}}}AOf}{{}ANl}{{{d{Db}}}{{d{Bh}}}}{{{d{{Nn{c}}}}}{{d{{Bb{c}}}}}{}}{{{d{{AN`{c}}}}}{{d{c}}}Cj}{{{d{AFb}}}d}{{{d{h{Nn{c}}}}}{{d{h{Bb{c}}}}}{}}{{{d{hAFb}}}{{d{h}}}}{c{{Af{Db}}}Ah}{c{{Af{{Nn{e}}}}}AhAOh}{c{{Af{{AN`{e}}}}}AhAOh}{c{{Af{AFb}}}Ah}{c{{Af{ABh}}}Ah}{{{d{h{Nn{c}}}}e}{{AOj{c}}}{}{{AOl{Cn}}}}{{{d{h{Nn{c}}}}}n{}}{{}n}{{{d{h{AN`{c}}}}}nCj}{{AFbAFb}ANn}``{{{d{Db}}{d{Bh}}}f}{{{d{Db}}{d{Db}}}f}{{{d{Db}}{d{{d{Bh}}}}}f}{{{d{Db}}{d{Dl}}}f}{{{d{Db}}{d{{d{Dl}}}}}f}{{{d{{Nn{e}}}}{d{{AOn{c}}}}}f{}{{AOd{c}}}}00{{{d{{Nn{e}}}}{d{{d{{AOn{c}}}}}}}f{}{{AOd{c}}}}1011100101{{{d{{Nn{e}}}}{d{{Nn{c}}}}}f{}{{AOd{c}}}}{{{d{{Nn{e}}}}{d{{B@`{c}}}}}f{}{{AOd{c}}}}{{{d{{Nn{e}}}}{d{{Bb{c}}}}}f{}{{AOd{c}}}}{{{d{{Nn{e}}}}{d{{d{{Bb{c}}}}}}}f{}{{AOd{c}}}}5454545454545454545454545454545454545454545444545444{{{d{{AN`{c}}}}{d{{AN`{c}}}}}f{AOdCj}}{{{d{AFb}}{d{AFb}}}f}{{{d{ANl}}{d{ANl}}}f}{{{d{ABh}}{d{ABh}}}f}{{d{d{c}}}f{}}00000000000000000000000{{{d{h{Nn{c}}}}e}n{}{{Fn{}{{E`{c}}}}}}{{{d{h{Nn{c}}}}{d{{Bb{c}}}}}nAO`}`{{{d{h}}}{{Af{n}}}}{{{d{h{Nn{B`}}}}}{{Af{nAGb}}}}{{{d{Db}}{d{hAl}}}{{Af{nAn}}}}0{{{d{{Nn{c}}}}{d{hAl}}}{{Af{nAn}}}B@b}{{{d{{AN`{c}}}}{d{hAl}}}{{Af{nAn}}}{B@dCj}}{{{d{{AN`{c}}}}{d{hAl}}}{{Af{nAn}}}{B@bCj}}{{{d{{AN`{c}}}}{d{hAl}}}{{Af{nAn}}}Cj}{{{d{AFb}}{d{hAl}}}{{Af{nAn}}}}0{{{d{ANl}}{d{hAl}}}G`}{{{d{ABh}}{d{hAl}}}G`}{{{d{AFb}}}{{BA`{{B@n{B@fB@h{B@l{{B@l{B@jB@f}}B@f}}}}}}}}{{{d{AFb}}}{{BA`{{B@n{B@fB@h{B@l{{B@l{{B@l{B@jB@f}}B@f}}B@h}}}}}}}}{{{d{AFb}}}{{BA`{{B@n{B@fB@h{B@l{{B@l{{B@l{{B@l{B@jB@f}}B@h}}B@h}}B@f}}}}}}}}{{{d{AFb}}ANf}{{BA`{{B@n{ceg}}}}}BAbBAbBAd}{{{d{AFb}}}{{BA`{{B@n{B@hB@h{B@l{{B@l{B@jB@f}}B@f}}}}}}}}{{{d{AFb}}ANf}{{BA`{{B@n{B@fB@f{B@l{{B@l{B@jB@f}}B@f}}}}}}}}{{{d{AFb}}ANf}{{BA`{{B@n{B@fB@fc}}}}}BAd}{{{d{AFb}}}{{BA`{{B@n{B@fB@hc}}}}}BAd}{BAfDb}{BAhDb}{cc{}}{{{d{Bh}}}Db}{{{BAj{Bh}}}Db}{{{AJb{Bh}}}Db}{{{Bf{Bh}}}Db}{DlDb}{{{d{Dl}}}Db}{{{d{hBh}}}Db}7{{{d{Bh}}}{{Nn{B`}}}}{{{B@`{c}}}{{Nn{c}}}{}}{{{Bf{{Bb{c}}}}}{{Nn{c}}}{}}{{{AOn{c}}}{{Nn{c}}}{}}{{{d{h{Bb{c}}}}}{{Nn{c}}}AO`}{{{d{{Bb{c}}}}}{{Nn{c}}}AO`}{{{d{{Bb{c}}}}}{{AN`{{Bb{c}}}}}BAl}{c{{AN`{c}}}{}}{BAnc{}}{{{AN`{c}}}{{AN`{{BB`{nc}}}}}Cj}{cc{}}{{{Bf{c}}}{{AN`{c}}}{}}{{{d{Bh}}}{{AN`{Bh}}}}{Dl{{AN`{Bh}}}}{{{B@`{c}}}{{AN`{{Bb{c}}}}}{}}{{{AN`{{BB`{nc}}}}}{{AN`{c}}}Cj}{ANhAFb}{BBbAFb}{BBdAFb}8{BBfAFb}9999{{cg}{{AN`{{BB`{c{Bb{e}}}}}}}{}{}{{ALl{}{{E`{e}}}}BBh}}{{c{d{{Bb{e}}}}}{{AN`{{BB`{c{Bb{e}}}}}}}{}BAl}{{c{d{Bh}}}{{AN`{{BB`{cBh}}}}}{}}{{c{B@`{e}}}{{AN`{{BB`{c{Bb{e}}}}}}}{}{}}{cDb{{Fn{}{{E`{{d{Bh}}}}}}}}{cDb{{Fn{}{{E`{{d{Dl}}}}}}}}{cDb{{Fn{}{{E`{Dl}}}}}}{cDb{{Fn{}{{E`{ALh}}}}}}{e{{Nn{c}}}{}{{Fn{}{{E`{c}}}}}}{e{{AN`{{Bb{c}}}}}{}{{Fn{}{{E`{c}}}}}};{{}{{AN`{c}}}Cj}{{{BBj{c}}}{{AN`{c}}}{}}{Bb{{AN`{{Bb{c}}}}}{}}{{{d{b}}{d{{Bb{B`}}}}}{{Af{AFb{Bf{Bd}}}}}}{{{d{Bh}}}{{Af{Db}}}}{{{BBl{ce}}}{{AN`{{BB`{{BBn{c}}{Bb{e}}}}}}}{}{}}{{}}`{{{d{{AN`{c}}}}{d{{AN`{c}}}}}f{BC`Cj}}{{{d{h{AN`{c}}}}}{{Bl{{d{hc}}}}}Cj}{{{d{h{AN`{c}}}}}{{Bl{{d{h{BCb{c}}}}}}}Cj}2{{{d{{Nn{c}}}}}f{}}{{{d{Db}}{d{hc}}}nBn}{{{d{{Nn{c}}}}{d{he}}}nBCdBn}{{{d{{AN`{c}}}}{d{he}}}n{BCdCj}Bn}{{{d{AFb}}{d{hc}}}nBn}{{{d{ABh}}{d{hc}}}nBn}{{{d{{AN`{c}}}}}BCfCj}{{{d{h{Nn{c}}}}Cnc}n{}}{{}c{}}0000000{{{Nn{c}}}{{BCh{c}}}{}}{{{d{h{Nn{c}}}}}{{BCj{c}}}{}}{{{d{{Nn{c}}}}}{{BCl{c}}}{}}{{{AN`{c}}}{}Cj}{{{AN`{c}}}{{BBj{c}}}{}}{{{AN`{{BB`{{BBn{c}}{Bb{e}}}}}}}{{BBl{ce}}}{}{}}`{{{d{Db}}}f}?0{{{d{{AN`{c}}}}}fCj}{{}{{Af{CbCd}}}}0000000{{{d{{AN`{c}}}}{d{{AN`{c}}}}}f{BC`Cj}}{{{d{Db}}}Cn}{{{d{{Nn{c}}}}}Cn{}}{d{{BCn{c}}}{}}{d}4{{{d{h{AN`{c}}}}}{{d{hc}}}AO`}{{{d{h{AN`{c}}}}}{{d{h{BCb{c}}}}}AO`}`{{{d{{AN`{c}}}}{d{{AN`{c}}}}}f{AOdCj}}{cDb{{BD`{Bh}}}}{{}{{Nn{c}}}{}}{c{{AN`{c}}}{}}{{{d{Bh}}}Db}0{{}{{AN`{{AMn{c}}}}}{}}{Cn{{AN`{{Bb{{AMn{c}}}}}}}{}}{{}AFb}`{{{d{Bh}}}{{Bl{AFb}}}}{{{d{Db}}{d{Db}}}{{Bl{A`}}}}{{{d{{Nn{c}}}}{d{{Nn{c}}}}}{{Bl{A`}}}BC`}{{{d{{AN`{c}}}}{d{{AN`{c}}}}}{{Bl{A`}}}{BC`Cj}}{{{d{AFb}}{d{AFb}}}{{Bl{A`}}}}``????????{{{d{h{Nn{c}}}}}{{Bl{c}}}{}}`{{{d{{AN`{c}}}}{d{{AN`{c}}}}}fCj}{{{d{h{Nn{c}}}}c}n{}}{{{d{h{Nn{c}}}}Cn}c{}}{{{d{h{Nn{c}}}}Cn}n{}}0{{{d{h{Nn{c}}}}Cnc}nAO`}{{{d{Db}}Cf}n}{{{d{{Nn{c}}}}Cf}nBDb}{{{d{{AN`{c}}}}Cf}n{BDdCj}}{{{d{AFb}}Cf}n}{{{d{ABh}}c{Cf{e}}}n{}{}}{{{d{h{Nn{c}}}}e}n{}{{AHn{{d{c}}}{{Fd{f}}}}}}{{{d{h{Nn{c}}}}e}n{}{{AHn{{d{hc}}}{{Fd{f}}}}}}``{{AFbANn}AFb}0{{{d{Db}}{d{hc}}}Af{ChBDfBDhCj}}{{{d{Db}}c}AfCl}{{{d{{Nn{c}}}}e}AfBDjCl}{{{d{{Nn{e}}}}{d{hc}}}Af{BDfBDhChCj}{{BDl{c}}}}{{{d{{AN`{c}}}}e}AfBDjCl}{{{d{{AN`{e}}}}{d{hc}}}Af{BDhBDnChCj}{{BE`{c}}Cj}}{{{d{AFb}}{d{hc}}}Af{ChCj}}{{{d{AFb}}c}AfCl}{{{d{ABh}}{d{hc}}}{{Af{e}}}{ChCj}{}}{{{d{ABh}}c}AfCl}{{d{d{hc}}}{{Af{Cn}}}{}}0000`{{{d{h{Nn{c}}}}Cn}n{}}`{{{d{h{Nn{c}}}}}n{}}{{{d{h{Nn{c}}}}eg}BEb{}{{AOl{Cn}}}{{Fn{}{{E`{c}}}}}}{{{d{h{Nn{c}}}}Cn}{{Nn{c}}}{}}`{{{d{{AN`{c}}}}}CnCj}{{AFbc}{}{}}{{{d{hAFb}}c}n{}}{{{d{h{Nn{c}}}}Cn}c{}}`{{{d{AFb}}}{{ALj{HlBEdB`}}}}{dc{}}00000{dDb}00{{{d{AFb}}{d{b}}{d{hDd}}}{{Af{Df{Bf{Bd}}}}}}{{{d{AFb}}}{{Af{DhDj}}}}1{dDl}00={c{{Af{e}}}{}{}}0000000{{}{{Af{c}}}{}}0000000{{{AN`{c}}}{{Af{{BCb{c}}{AN`{c}}}}}Cj}{{{AN`{c}}}{{Af{c{AN`{c}}}}}{}}{dDn}0000000{{{AN`{c}}}cAO`}``{{}c{}}0000000{Cn{{Nn{c}}}{}}{{{d{{AN`{c}}}}g}e{}{}{{AKj{{d{{BBj{c}}}}}{{Fd{e}}}}}}{{{d{h{Nn{B`}}}}{d{{Bb{B`}}}}}{{Af{CnAGb}}}}{{{d{h{AN`{{AMn{c}}}}}}c}{{d{hc}}}{}}{{{d{h}}{d{{Bb{B`}}}}}{{Af{n}}}}{{{d{h{Nn{B`}}}}{d{{Bb{B`}}}}}{{Af{nAGb}}}}```````````````````````````````````{{{d{b}}}f}00{{}Gl}{d}{{GlGl}Gl}{{{d{hGl}}Gl}n}10{{{d{Gl}}}O`}0{{{d{BEf}}}O`}32{d{{d{c}}}{}}0{{{d{h}}}{{d{hc}}}{}}0{d{{d{j}}}}0{{{d{hc}}}{{Af{n}}}{ChCj}}{{{d{Gl}}}Gl}{{{d{BEf}}}BEf}{{d{d{hc}}}n{}}0{dn}0{Ab{{BEh{Gl}}}}{GlGl}{{{d{Gl}}Gl}f}{{{d{BEf}}Gl}f}{c{{Af{Gl}}}Ah}{{{d{BEf}}{d{hc}}}{{Af{Gl}}}{ChCj}}{{GlGl}Gl}{{}Gl}{{{d{Gl}}{d{BEf}}}f}{{{d{Gl}}{d{Gl}}}f}{{{d{BEf}}{d{Gl}}}f}{{{d{BEf}}{d{BEf}}}f}{{d{d{c}}}f{}}0000000{{{d{hGl}}c}n{{Fn{}{{E`{Gl}}}}}}{{{d{Gl}}{d{hAl}}}G`}0000{{{d{BEf}}{d{hAl}}}G`}{BEfGl}{GjGl}{cc{}}0{O`{{Bl{Gl}}}}{O`Gl}00{{{d{Bh}}}Gl}{cGl{{Fn{}{{E`{Gl}}}}}}{{{d{Bh}}}{{Bl{Gl}}}}{GlBEf}{{{d{b}}{d{{Bb{B`}}}}}{{Af{Gl{Bf{Bd}}}}}}{{{d{Gl}}{d{hc}}}nBn}{{{d{hGl}}Gl}n}{{GlGl}Gl}{{{d{Gl}}Gl}f}{{{d{BEf}}Gl}f}{{}c{}}0{Glc{}}{{{d{Gl}}}f}{{{d{BEf}}}f}10{{{d{Gl}}}{{Gd{Gl}}}}{{{d{Gl}}}{{Gf{Gl}}}}{{}{{Af{CbCd}}}}0{GlGl}{d}0{{{d{Gl}}}B`}={{{d{Gl}}n{Cf{c}}}n{}}{{{d{Gl}}{d{hc}}}{{Af{n}}}{ChCj}}{{{d{Gl}}c}AfCl}{{d{d{hc}}}{{Af{Cn}}}{}}{{{d{hGl}}Glf}n}{{GlGl}Gl}{{{d{hGl}}Gl}n}1{{{d{BEf}}}{{Bl{Gl}}}}{{{d{BEf}}}Gl}0{dc{}}0{{{d{Gl}}}{{BEj{Dh}}}}{{{d{Gl}}{d{b}}{d{hDd}}}{{Af{Df{Bf{Bd}}}}}}{{{d{BEf}}{d{b}}{d{hDd}}}{{Af{Df{Bf{Bd}}}}}}106{c{{Af{e}}}{}{}}0{{}{{Af{c}}}{}}0{dDn}0:{{}c{}}0{{{d{Gl}}f}Gl}{{GlB`}Gl}````````````{d}{d{{d{c}}}{}}000{{{d{h}}}{{d{hc}}}{}}000{{{d{hc}}}{{Af{n}}}{ChCj}}{{{d{AGj}}}AGj}{{d{d{hc}}}n{}}{dn}{{{d{AGj}}}{{d{Bh}}}}{c{{Af{AGj}}}Ah}{{{d{AGj}}{d{hAl}}}G`}0{{{d{BEl}}{d{hAl}}}G`}0{cc{}}000{{{d{Bh}}}{{Af{AGjBEl}}}}0{{{d{AGj}}}{{Af{BEnAJ`}}}}{{}c{}}000{{}{{Af{CbCd}}}}000????{{{d{AGj}}}BF`}{{{d{AGj}}c{Cf{e}}}n{}{}}{{{d{AGj}}{d{hc}}}{{Af{e}}}{ChCj}{}}{{{d{AGj}}c}AfCl}{{d{d{hc}}}{{Af{Cn}}}{}}{dc{}}{dDb}0{dDl}0{c{{Af{e}}}{}{}}000{{}{{Af{c}}}{}}000{dDn}000<<<<```````{d}0``````{d{{d{c}}}{}}00000{{{d{h}}}{{d{hc}}}{}}00000````{{{d{hc}}}{{Af{n}}}{ChCj}}0{{{d{BFb}}}BFb}{{{d{BFd}}}BFd}{{d{d{hc}}}n{}}0{dn}0{c{{Af{BFb}}}Ah}{c{{Af{BFd}}}Ah}{{{d{BFb}}{d{BFb}}}f}{{{d{BFd}}{d{BFd}}}f}{{{d{BFb}}{d{hAl}}}G`}{{{d{BFd}}{d{hAl}}}G`}{cc{}}00000``{{}c{}}00000{{}{{Af{CbCd}}}}00000``````````````{d}00000{{{d{BFb}}c{Cf{e}}}n{}{}}{{{d{BFd}}c{Cf{e}}}n{}{}}``{{{d{BFb}}c}AfCl}{{{d{BFb}}{d{hc}}}{{Af{e}}}{ChCj}{}}{{{d{BFd}}c}AfCl}{{{d{BFd}}{d{hc}}}{{Af{e}}}{ChCj}{}}{{d{d{hc}}}{{Af{Cn}}}{}}0{dc{}}0{c{{Af{e}}}{}{}}00000{{}{{Af{c}}}{}}00000{dDn}00000======```````;{d{{d{c}}}{}}00{{{d{h}}}{{d{hc}}}{}}00{{{d{hc}}}{{Af{n}}}{ChCj}}{{{d{ABd}}}ABd}{{d{d{hc}}}n{}}{dn}{c{{Af{ABd}}}Ah}{{{d{ABd}}{d{hAl}}}G`}{cc{}}00{{}c{}}00{{}{{Af{CbCd}}}}00{d}00{{{d{ABd}}c{Cf{e}}}n{}{}}{{{d{ABd}}c}AfCl}{{{d{ABd}}{d{hc}}}{{Af{e}}}{ChCj}{}}{{d{d{hc}}}{{Af{Cn}}}{}}{dc{}}{c{{Af{e}}}{}{}}00{{}{{Af{c}}}{}}00{dDn}00{{{d{ABd}}}{{Bl{{d{Bh}}}}}}`;;;`````````````````````````````````````````````````{{{d{b}}}f}00{{}BFf}``;;;;;;;;;````{{BFfBFf}BFf}{{{d{hBFf}}BFf}n}10{{{d{BFf}}}O`}0{{{d{BFh}}}O`}32``{d{{d{c}}}{}}0000000000000000000000000{{{d{h}}}{{d{hc}}}{}}0000000000000000000000000{d{{d{j}}}}0``{{{d{hc}}}{{Af{n}}}{ChCj}}00000000{{{d{BFj}}}BFj}{{{d{BFf}}}BFf}{{{d{BFh}}}BFh}{{{d{BFl}}}BFl}{{{d{BFn}}}BFn}{{{d{BG`}}}BG`}{{{d{BGb}}}BGb}{{{d{BGd}}}BGd}{{{d{BGf}}}BGf}{{{d{BGh}}}BGh}{{d{d{hc}}}n{}}000000000{dn}000000000``{Ab{{BEh{BFf}}}}{BFfBFf}{{{d{BFf}}BFf}f}{{{d{BFh}}BFf}f}{{}BFl}{{}BFn}{{}BG`}{{}BGb}{{}BGd}{{}BGf}{{}BGh}{{{d{BG`}}}{{d{BGb}}}}{{{d{BGj}}}{{d{c}}}{}}{{{d{hBG`}}}{{d{hBGb}}}}````{c{{Af{BFj}}}Ah}{c{{Af{BFf}}}Ah}{{{d{BFh}}{d{hc}}}{{Af{BFf}}}{ChCj}}{c{{Af{BFl}}}Ah}{c{{Af{BFn}}}Ah}{c{{Af{BG`}}}Ah}{c{{Af{BGb}}}Ah}{c{{Af{BGd}}}Ah}{c{{Af{BGf}}}Ah}{c{{Af{BGh}}}Ah}{{BFfBFf}BFf}{{}BFf}{{{d{BFj}}{d{BFj}}}f}{{{d{BFf}}{d{BFh}}}f}{{{d{BFf}}{d{BFf}}}f}{{{d{BFh}}{d{BFf}}}f}{{{d{BFh}}{d{BFh}}}f}{{d{d{c}}}f{}}00000000000{{{d{hBFf}}c}n{{Fn{}{{E`{BFf}}}}}}````{{{d{BFj}}{d{hAl}}}G`}{{{d{BFf}}{d{hAl}}}G`}0000{{{d{BFh}}{d{hAl}}}G`}{{{d{BFl}}{d{hAl}}}G`}{{{d{BFn}}{d{hAl}}}G`}{{{d{BG`}}{d{hAl}}}G`}{{{d{BGb}}{d{hAl}}}G`}{{{d{BGd}}{d{hAl}}}G`}{{{d{BGf}}{d{hAl}}}G`}{{{d{BGh}}{d{hAl}}}G`}``{cc{}}000{BFhBFf}1111111111111111111111{O`{{Bl{BFf}}}}{O`BFf}00{cBFf{{Fn{}{{E`{BFf}}}}}}{{{d{Bh}}}{{Bl{BFf}}}}{BFfBFh}{{{d{b}}{d{{Bb{B`}}}}}{{Af{BFf{Bf{Bd}}}}}}{{{d{BFl}}}f}{{{d{BFf}}{d{hc}}}nBn}````````````{{{d{hBFf}}BFf}n}{{BFfBFf}BFf}{{{d{BFf}}BFf}f}{{{d{BFh}}BFf}f}{{}c{}}0000000000000000000000000{BFfc{}}{{{d{BFf}}}f}{{{d{BFh}}}f}10{{{d{{Bl{{Bf{BG`}}}}}}}f}{{{d{BGh}}}f}{{{d{BGd}}}f}{{{d{{Bl{BGf}}}}}f}={{{d{BFf}}}{{Gd{BFf}}}}{{{d{BFf}}}{{Gf{BFf}}}}{{}{{Af{CbCd}}}}0000000000000000000000000``````````{{{d{hBG`}}}n}{BFfBFf}``{d}0000000000000000000000000``{BGlBG`}{{{d{hBFf}}BFf}n}{{{d{BFj}}c{Cf{e}}}n{}{}}{{{d{BFf}}n{Cf{c}}}n{}}{{{d{BFl}}c{Cf{e}}}n{}{}}{{{d{BFn}}c{Cf{e}}}n{}{}}{{{d{BG`}}c{Cf{e}}}n{}{}}{{{d{BGb}}c{Cf{e}}}n{}{}}{{{d{BGd}}c{Cf{e}}}n{}{}}{{{d{BGf}}c{Cf{e}}}n{}{}}{{{d{BGh}}c{Cf{e}}}n{}{}}{{{d{BFj}}{d{hc}}}{{Af{e}}}{ChCj}{}}{{{d{BFj}}c}AfCl}{{{d{BFf}}{d{hc}}}{{Af{n}}}{ChCj}}{{{d{BFf}}c}AfCl}{{{d{BFl}}c}AfCl}{{{d{BFl}}{d{hc}}}{{Af{e}}}{ChCj}{}}{{{d{BFn}}c}AfCl}{{{d{BFn}}{d{hc}}}{{Af{e}}}{ChCj}{}}{{{d{BG`}}c}AfCl}{{{d{BG`}}{d{hc}}}{{Af{e}}}{ChCj}{}}{{{d{BGb}}c}AfCl}{{{d{BGb}}{d{hc}}}{{Af{e}}}{ChCj}{}}{{{d{BGd}}{d{hc}}}{{Af{e}}}{ChCj}{}}{{{d{BGd}}c}AfCl}{{{d{BGf}}{d{hc}}}{{Af{e}}}{ChCj}{}}{{{d{BGf}}c}AfCl}{{{d{BGh}}c}AfCl}{{{d{BGh}}{d{hc}}}{{Af{e}}}{ChCj}{}}{{d{d{hc}}}{{Af{Cn}}}{}}00000000{{{d{hBFf}}BFff}n}``{{BFfBFf}BFf}{{{d{hBFf}}BFf}n}1``````{{{d{BFh}}}{{Bl{BFf}}}}{{{d{BFh}}}BFf}0{dc{}}000000000{{{d{BFf}}{d{b}}{d{hDd}}}{{Af{Df{Bf{Bd}}}}}}{{{d{BFf}}}{{BEj{Dh}}}}{{{d{BFh}}{d{b}}{d{hDd}}}{{Af{Df{Bf{Bd}}}}}}206{c{{Af{e}}}{}{}}0000000000000000000000000{{}{{Af{c}}}{}}0000000000000000000000000````{dDn}0000000000000000000000000:````````````{{{d{hBFl}}c}n{{AHn{{d{hBG`}}}}}}{{{d{hBGn}}c}n{{AHn{{d{hBGb}}}}}}{{{d{hBFl}}c}n{{AHn{{d{hBGb}}}}}}{{{d{hBG`}}c}n{{AHn{{d{hBGb}}}}}}{{}c{}}0000000000000000000000000``{{BGlc}BGl{{AHl{Mh}}}}{{BGlHlHl}BGl}{{BGlc}BGl{{AHl{Db}}}}2`````````````````{{{d{b}}}f}00{{}BH`}{d}00````{{BH`BH`}BH`}{{{d{hBH`}}BH`}n}10{{{d{BH`}}}O`}0{{{d{BHb}}}O`}32{d{{d{c}}}{}}0000000{{{d{h}}}{{d{hc}}}{}}0000000{d{{d{j}}}}0{{{d{hc}}}{{Af{n}}}{ChCj}}00{{{d{BH`}}}BH`}{{{d{BHb}}}BHb}{{{d{BHd}}}BHd}{{{d{BHf}}}BHf}{{d{d{hc}}}n{}}000{dn}000{Ab{{BEh{BH`}}}}{BH`BH`}{{{d{BH`}}BH`}f}{{{d{BHb}}BH`}f}{c{{Af{BH`}}}Ah}{{{d{BHb}}{d{hc}}}{{Af{BH`}}}{ChCj}}{c{{Af{BHd}}}Ah}{c{{Af{BHf}}}Ah}{{BH`BH`}BH`}{{}BH`}{{{d{BH`}}{d{BH`}}}f}{{{d{BH`}}{d{BHb}}}f}{{{d{BHb}}{d{BHb}}}f}{{{d{BHb}}{d{BH`}}}f}{{d{d{c}}}f{}}0000000{{{d{hBH`}}c}n{{Fn{}{{E`{BH`}}}}}}``{{{d{BH`}}{d{hAl}}}G`}0000{{{d{BHb}}{d{hAl}}}G`}{{{d{BHd}}{d{hAl}}}G`}{{{d{BHf}}{d{hAl}}}G`}{cc{}}{BHbBH`}1111111{O`{{Bl{BH`}}}}{O`BH`}00{cBH`{{Fn{}{{E`{BH`}}}}}}{{{d{Bh}}}{{Bl{BH`}}}}{BH`BHb}{{{d{b}}{d{{Bb{B`}}}}}{{Af{BH`{Bf{Bd}}}}}}{{{d{BH`}}{d{hc}}}nBn}``{{{d{hBH`}}BH`}n}{{BH`BH`}BH`}{{{d{BH`}}BH`}f}{{{d{BHb}}BH`}f}{{}c{}}0000000{BH`c{}}{{{d{BH`}}}f}{{{d{BHb}}}f}10{{{d{BH`}}}{{Gd{BH`}}}}{{{d{BH`}}}{{Gf{BH`}}}}{{}{{Af{CbCd}}}}0000000``{BH`BH`}``{d}0000000<{{{d{BH`}}n{Cf{c}}}n{}}{{{d{BHd}}c{Cf{e}}}n{}{}}{{{d{BHf}}c{Cf{e}}}n{}{}}{{{d{BH`}}c}AfCl}{{{d{BH`}}{d{hc}}}{{Af{n}}}{ChCj}}{{{d{BHd}}{d{hc}}}{{Af{e}}}{ChCj}{}}{{{d{BHd}}c}AfCl}{{{d{BHf}}c}AfCl}{{{d{BHf}}{d{hc}}}{{Af{e}}}{ChCj}{}}{{d{d{hc}}}{{Af{Cn}}}{}}00{{{d{hBH`}}BH`f}n}{{BH`BH`}BH`}{{{d{hBH`}}BH`}n}1{{{d{BHb}}}{{Bl{BH`}}}}{{{d{BHb}}}BH`}0{dc{}}000{{{d{BH`}}}{{BEj{Dh}}}}{{{d{BH`}}{d{b}}{d{hDd}}}{{Af{Df{Bf{Bd}}}}}}{{{d{BHb}}{d{b}}{d{hDd}}}{{Af{Df{Bf{Bd}}}}}}106{c{{Af{e}}}{}{}}0000000{{}{{Af{c}}}{}}0000000{dDn}0000000:{{}c{}}0000000```````{d}{d{{d{c}}}{}}000{{{d{h}}}{{d{hc}}}{}}000{{{d{hc}}}{{Af{n}}}{ChCj}}{{{d{BHh}}}BHh}{{d{d{hc}}}n{}}{dn}{c{{Af{BHh}}}Ah}``{{{d{BHh}}{d{hAl}}}G`}{cc{}}000````::::{{}{{Af{CbCd}}}}000``::::``{{{d{BHh}}c{Cf{e}}}n{}{}}{{{d{BHh}}c}AfCl}{{{d{BHh}}{d{hc}}}{{Af{e}}}{ChCj}{}}{{d{d{hc}}}{{Af{Cn}}}{}}``{dc{}}{c{{Af{e}}}{}{}}000{{}{{Af{c}}}{}}000{dDn}000`{{}c{}}000````````````````````{{{d{b}}}f}00{{}BHj}{d}{{BHjBHj}BHj}{{{d{hBHj}}BHj}n}10{{{d{BHj}}}Nh}0{{{d{BHl}}}Nh}32{d{{d{c}}}{}}0{{{d{h}}}{{d{hc}}}{}}0{d{{d{j}}}}0{{{d{hc}}}{{Af{n}}}{ChCj}}{{{d{BHj}}}BHj}{{{d{BHl}}}BHl}{{d{d{hc}}}n{}}0{dn}0{Ab{{BEh{BHj}}}}`{BHjBHj}{{{d{BHj}}BHj}f}{{{d{BHl}}BHj}f}{c{{Af{BHj}}}Ah}{{{d{BHl}}{d{hc}}}{{Af{BHj}}}{ChCj}}{{BHjBHj}BHj}{{}BHj}{{{d{BHj}}{d{BHl}}}f}{{{d{BHj}}{d{BHj}}}f}{{{d{BHl}}{d{BHl}}}f}{{{d{BHl}}{d{BHj}}}f}{{d{d{c}}}f{}}0000000`{{{d{hBHj}}c}n{{Fn{}{{E`{BHj}}}}}}{{{d{BHj}}{d{hAl}}}G`}0000{{{d{BHl}}{d{hAl}}}G`}{BHlBHj}{cc{}}0{Nh{{Bl{BHj}}}}{NhBHj}00{cBHj{{Fn{}{{E`{BHj}}}}}}{{{d{Bh}}}{{Bl{BHj}}}}{BHjBHl}{{{d{b}}{d{{Bb{B`}}}}}{{Af{BHj{Bf{Bd}}}}}}{{{d{BHj}}{d{hc}}}nBn}{{{d{hBHj}}BHj}n}{{BHjBHj}BHj}{{{d{BHj}}BHj}f}{{{d{BHl}}BHj}f}{{}c{}}0{BHjc{}}{{{d{BHj}}}f}{{{d{BHl}}}f}10{{{d{BHj}}}{{Gd{BHj}}}}{{{d{BHj}}}{{Gf{BHj}}}}{{}{{Af{CbCd}}}}0`{BHjBHj}{d}0<{{{d{BHj}}n{Cf{c}}}n{}}{{{d{BHj}}c}AfCl}{{{d{BHj}}{d{hc}}}{{Af{n}}}{ChCj}}{{d{d{hc}}}{{Af{Cn}}}{}}{{{d{hBHj}}BHjf}n}{{BHjBHj}BHj}{{{d{hBHj}}BHj}n}1{{{d{BHl}}}{{Bl{BHj}}}}{{{d{BHl}}}BHj}0{dc{}}0{{{d{BHj}}}{{BEj{Dh}}}}{{{d{BHj}}{d{b}}{d{hDd}}}{{Af{Df{Bf{Bd}}}}}}{{{d{BHl}}{d{b}}{d{hDd}}}{{Af{Df{Bf{Bd}}}}}}106{c{{Af{e}}}{}{}}0{{}{{Af{c}}}{}}0{dDn}0:{{}c{}}0``````{d}0``{d{{d{c}}}{}}00000{{{d{h}}}{{d{hc}}}{}}00000{{{d{hc}}}{{Af{n}}}{ChCj}}0{{{d{BHn}}}BHn}{{{d{BI`}}}BI`}{{d{d{hc}}}n{}}0{dn}0{c{{Af{BHn}}}Ah}{c{{Af{BI`}}}Ah}{{{d{BHn}}{d{hAl}}}G`}{{{d{BI`}}{d{hAl}}}G`}{cc{}}00000``======{{}{{Af{CbCd}}}}00000======``{{{d{BHn}}c{Cf{e}}}n{}{}}{{{d{BI`}}c{Cf{e}}}n{}{}}{{{d{BHn}}{d{hc}}}{{Af{e}}}{ChCj}{}}{{{d{BHn}}c}AfCl}{{{d{BI`}}{d{hc}}}{{Af{e}}}{ChCj}{}}{{{d{BI`}}c}AfCl}{{d{d{hc}}}{{Af{Cn}}}{}}0{dc{}}0{c{{Af{e}}}{}{}}00000{{}{{Af{c}}}{}}00000{dDn}00000{{}c{}}00000`````````````````````````````````````````````{d}000000000000{d{{d{c}}}{}}00000000000000000000000000000000000000{{{d{h}}}{{d{hc}}}{}}00000000000000000000000000000000000000{{{d{hc}}}{{Af{n}}}{ChCj}}000000000000{{{d{BIb}}}BIb}{{{d{BId}}}BId}{{{d{BIf}}}BIf}{{{d{BIh}}}BIh}{{{d{BIj}}}BIj}{{d{d{hc}}}n{}}0000{dn}0000{{}BIb}{{{d{BId}}}{{d{BIl}}}}{{{d{BIn}}}{{d{c}}}{}}{{{d{hBId}}}{{d{hBIl}}}}{c{{Af{BIb}}}Ah}{c{{Af{BId}}}Ah}{c{{Af{BIf}}}Ah}{c{{Af{BIh}}}Ah}{c{{Af{BIj}}}Ah}{c{{Af{BJ`}}}Ah}{c{{Af{BJb}}}Ah}{c{{Af{BJd}}}Ah}{c{{Af{BJf}}}Ah}{c{{Af{BJh}}}Ah}{c{{Af{BJj}}}Ah}{c{{Af{BJl}}}Ah}{c{{Af{BJn}}}Ah}``{{{d{BIb}}{d{hAl}}}G`}{{{d{BId}}{d{hAl}}}G`}{{{d{BIf}}{d{hAl}}}G`}{{{d{BIh}}{d{hAl}}}G`}{{{d{BIj}}{d{hAl}}}G`}{{{d{BJ`}}{d{hAl}}}G`}{{{d{BJb}}{d{hAl}}}G`}{{{d{BJd}}{d{hAl}}}G`}{{{d{BJf}}{d{hAl}}}G`}{{{d{BJh}}{d{hAl}}}G`}{{{d{BJj}}{d{hAl}}}G`}{{{d{BJl}}{d{hAl}}}G`}{{{d{BJn}}{d{hAl}}}G`}{cc{}}00000000000000000000000000000000000000``````````{{}c{}}00000000000000000000000000000000000000{{}{{Af{CbCd}}}}00000000000000000000000000000000000000````````````````````````````````{d}00000000000000000000000000000000000000``{{{d{BIb}}c{Cf{e}}}n{}{}}{{{d{BId}}c{Cf{e}}}n{}{}}{{{d{BIf}}c{Cf{e}}}n{}{}}{{{d{BIh}}c{Cf{e}}}n{}{}}{{{d{BIj}}c{Cf{e}}}n{}{}}{{{d{BJ`}}c{Cf{e}}}n{}{}}{{{d{BJb}}c{Cf{e}}}n{}{}}{{{d{BJd}}c{Cf{e}}}n{}{}}{{{d{BJf}}c{Cf{e}}}n{}{}}{{{d{BJh}}c{Cf{e}}}n{}{}}{{{d{BJj}}c{Cf{e}}}n{}{}}{{{d{BJl}}c{Cf{e}}}n{}{}}{{{d{BJn}}c{Cf{e}}}n{}{}}````````{{{d{BIb}}{d{hc}}}{{Af{e}}}{ChCj}{}}{{{d{BIb}}c}AfCl}{{{d{BId}}c}AfCl}{{{d{BId}}{d{hc}}}{{Af{e}}}{ChCj}{}}{{{d{BIf}}c}AfCl}{{{d{BIf}}{d{hc}}}{{Af{e}}}{ChCj}{}}{{{d{BIh}}{d{hc}}}{{Af{e}}}{ChCj}{}}{{{d{BIh}}c}AfCl}{{{d{BIj}}{d{hc}}}{{Af{e}}}{ChCj}{}}{{{d{BIj}}c}AfCl}{{{d{BJ`}}{d{hc}}}{{Af{e}}}{ChCj}{}}{{{d{BJ`}}c}AfCl}{{{d{BJb}}c}AfCl}{{{d{BJb}}{d{hc}}}{{Af{e}}}{ChCj}{}}{{{d{BJd}}{d{hc}}}{{Af{e}}}{ChCj}{}}{{{d{BJd}}c}AfCl}{{{d{BJf}}{d{hc}}}{{Af{e}}}{ChCj}{}}{{{d{BJf}}c}AfCl}{{{d{BJh}}c}AfCl}{{{d{BJh}}{d{hc}}}{{Af{e}}}{ChCj}{}}{{{d{BJj}}c}AfCl}{{{d{BJj}}{d{hc}}}{{Af{e}}}{ChCj}{}}{{{d{BJl}}{d{hc}}}{{Af{e}}}{ChCj}{}}{{{d{BJl}}c}AfCl}{{{d{BJn}}c}AfCl}{{{d{BJn}}{d{hc}}}{{Af{e}}}{ChCj}{}}{{d{d{hc}}}{{Af{Cn}}}{}}000000000000``{dc{}}0000{c{{Af{e}}}{}{}}00000000000000000000000000000000000000{{}{{Af{c}}}{}}00000000000000000000000000000000000000{dDn}00000000000000000000000000000000000000``````````{{}c{}}00000000000000000000000000000000000000````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````{d}0{d{{d{c}}}{}}000000000{{{d{h}}}{{d{hc}}}{}}000000000{{{d{hc}}}{{Af{n}}}{ChCj}}0`{{{d{BK`}}}BK`}{{{d{BKb}}}BKb}{{d{d{hc}}}n{}}0{dn}0{{}{{BKd{cnn}}}{}}{{}{{BKf{cnn}}}{}}{c{{Af{BK`}}}Ah}{c{{Af{BKh}}}Ah}{c{{Af{BKb}}}Ah}{c{{Af{AKl}}}Ah}{{{d{AJl}}cBKh}eFh{}}{{{d{BKj}}cAKl}eFh{}}10{{{d{{BKd{ceg}}}}cBKh}eFh{}{FhAKf}}{{{d{{BKf{ceg}}}}cAKl}eFh{}{FhAKf}}{{{d{BK`}}{d{hAl}}}G`}{{{d{BKh}}{d{hAl}}}G`}{{{d{BKb}}{d{hAl}}}G`}{{{d{AKl}}{d{hAl}}}G`}{cc{}}{{{d{BKh}}}BK`}11111{{{d{AKl}}}BKb}2222{{{d{{BKf{ceg}}}}c}eFh{}{FhAKf}}{{{d{BKj}}c}eFh{}}{{{d{{BKd{ceg}}}}c}eFh{}{FhAKf}}{{{d{AJl}}c}eFh{}}{{{d{{BKd{ceg}}}}cBIb}eFh{}{FhAKf}}{{{d{AJl}}cBIb}eFh{}}{{{d{{BKf{ceg}}}}c{Bf{BHn}}}eFh{}{FhAKf}}{{{d{BKj}}c{Bf{BHn}}}eFh{}}{{}c{}}00000000065{{}{{Af{CbCd}}}}000000000{{{d{BKh}}}{{Bl{BHj}}}}{{{d{{BKd{ceg}}}}c{AN`{BJh}}}eFh{}{FhAKf}}{{{d{AJl}}c{AN`{BJh}}}eFh{}}10101010{{{d{{BKd{ceg}}}}c{AN`{BKl}}}eFh{}{FhAKf}}{{{d{AJl}}c{AN`{BKl}}}eFh{}}{{{d{{BKd{ceg}}}}c{AN`{BJb}}}eFh{}{FhAKf}}{{{d{AJl}}c{AN`{BJb}}}eFh{}}{{{d{{BKd{ceg}}}}c{AN`{BJl}}}eFh{}{FhAKf}}{{{d{AJl}}c{AN`{BJl}}}eFh{}}10{{{d{{BKd{ceg}}}}c}eFh{}{FhAKf}}{{{d{AJl}}c}eFh{}}1076{i{{BKd{cen}}}{}{}{{Ff{}{{Fd{e}}}}Fh}{{AKh{{AN`{n}}cBKh}{{Fd{g}}}}FhAKf}}{i{{BKf{cen}}}{}{}{{Ff{}{{Fd{e}}}}Fh}{{AKh{{AN`{n}}cAKl}{{Fd{g}}}}FhAKf}}{{}AKl}{{}BKh}{cBKh{{AHl{BIb}}}}{cAKl{{AHl{{Bf{BHn}}}}}}2{cBKh{{AHl{{AN`{BJh}}}}}}0000{cBKh{{AHl{{AN`{BKl}}}}}}{cBKh{{AHl{{AN`{BJb}}}}}}{cBKh{{AHl{{AN`{BJl}}}}}}0662{cBKh{{AHl{{AN`{BIl}}}}}}{cBKh{{AHl{Mf}}}}{cBKh{{AHl{{AN`{BJj}}}}}}{cBKh{{AHl{{AN`{BJ`}}}}}}{cBKh{{AHl{{AN`{BJn}}}}}}{{e{Bf{AKh}}}{{BKd{gic}}}{}{{AHl{{AN`{c}}}}}{}{}}{{e{Bf{AKh}}}{{BKf{gic}}}{}{{AHl{{AN`{c}}}}}{}{}}{cBKh{{AHl{{AN`{BIf}}}}}}{cBKh{{AHl{{AN`{BKn}}}}}}{cBKh{{AHl{Nb}}}}{cAKl{{AHl{l}}}}{cBKh{{AHl{{AN`{BL`}}}}}}{cBKh{{AHl{{AN`{BJd}}}}}}1{cBKh{{AHl{{AN`{n}}}}}}{cBKh{{AHl{{AN`{BJf}}}}}}{{}BKh}2{cAKl{{AHl{{Bf{BI`}}}}}}{cAKl{{AHl{Mf}}}}{cBKh{{AHl{{AN`{BIh}}}}}}1{cBKh{{AHl{{AN`{BLb}}}}}}{{ck}{{BKd{egc}}}{}{}{}{{Ff{}{{Fd{g}}}}Fh}{{AKh{{AN`{c}}eBKh}{{Fd{i}}}}FhAKf}}{{ck}{{BKf{egc}}}{}{}{}{{Ff{}{{Fd{g}}}}Fh}{{AKh{{AN`{c}}eAKl}{{Fd{i}}}}FhAKf}}{{{d{h{BKf{ceg}}}}k}{{d{h{BKf{ceg}}}}}{}{}{}{{Ff{}{{Fd{e}}}}Fh}{{AKh{{AN`{g}}c}{{Fd{i}}}}FhAKf}}{{{d{h{BKd{ceg}}}}k}{{d{h{BKd{ceg}}}}}{}{}{}{{Ff{}{{Fd{e}}}}Fh}{{AKh{{AN`{g}}c}{{Fd{i}}}}FhAKf}}{{{d{h{BKd{ceg}}}}k}{{d{h{BKd{ceg}}}}}{}{}{}{{Ff{}{{Fd{e}}}}Fh}{{AKh{{AN`{g}}cBIb}{{Fd{i}}}}FhAKf}}{{{d{h{BKf{ceg}}}}k}{{d{h{BKf{ceg}}}}}{}{}{}{{Ff{}{{Fd{e}}}}Fh}{{AKh{{AN`{g}}c{Bf{BHn}}}{{Fd{i}}}}FhAKf}}2{{{d{h{BKd{ceg}}}}k}{{d{h{BKd{ceg}}}}}{}{}{}{{Ff{}{{Fd{e}}}}Fh}{{AKh{{AN`{g}}c{AN`{BJh}}}{{Fd{i}}}}FhAKf}}0000{{{d{h{BKd{ceg}}}}k}{{d{h{BKd{ceg}}}}}{}{}{}{{Ff{}{{Fd{e}}}}Fh}{{AKh{{AN`{g}}c{AN`{BKl}}}{{Fd{i}}}}FhAKf}}{{{d{h{BKd{ceg}}}}k}{{d{h{BKd{ceg}}}}}{}{}{}{{Ff{}{{Fd{e}}}}Fh}{{AKh{{AN`{g}}c{AN`{BJb}}}{{Fd{i}}}}FhAKf}}{{{d{h{BKd{ceg}}}}k}{{d{h{BKd{ceg}}}}}{}{}{}{{Ff{}{{Fd{e}}}}Fh}{{AKh{{AN`{g}}c{AN`{BJl}}}{{Fd{i}}}}FhAKf}}0662{{{d{h{BKd{ceg}}}}k}{{d{h{BKd{ceg}}}}}{}{}{}{{Ff{}{{Fd{e}}}}Fh}{{AKh{{AN`{g}}c{AN`{BIl}}}{{Fd{i}}}}FhAKf}}{{{d{h{BKd{ceg}}}}k}{{d{h{BKd{ceg}}}}}{}{}{}{{Ff{}{{Fd{e}}}}Fh}{{AKh{{AN`{g}}cMf}{{Fd{i}}}}FhAKf}}{{{d{h{BKd{ceg}}}}k}{{d{h{BKd{ceg}}}}}{}{}{}{{Ff{}{{Fd{e}}}}Fh}{{AKh{{AN`{g}}c{AN`{BJj}}}{{Fd{i}}}}FhAKf}}{{{d{h{BKd{ceg}}}}k}{{d{h{BKd{ceg}}}}}{}{}{}{{Ff{}{{Fd{e}}}}Fh}{{AKh{{AN`{g}}c{AN`{BJ`}}}{{Fd{i}}}}FhAKf}}{{{d{h{BKd{ceg}}}}k}{{d{h{BKd{ceg}}}}}{}{}{}{{Ff{}{{Fd{e}}}}Fh}{{AKh{{AN`{g}}c{AN`{BJn}}}{{Fd{i}}}}FhAKf}}{{{d{h{BKd{ceg}}}}k}{{d{h{BKd{ceg}}}}}{}{}{}{{Ff{}{{Fd{e}}}}Fh}{{AKh{{AN`{g}}c{AN`{BIf}}}{{Fd{i}}}}FhAKf}}{{{d{h{BKd{ceg}}}}k}{{d{h{BKd{ceg}}}}}{}{}{}{{Ff{}{{Fd{e}}}}Fh}{{AKh{{AN`{g}}c{AN`{BKn}}}{{Fd{i}}}}FhAKf}}{{{d{h{BKd{ceg}}}}k}{{d{h{BKd{ceg}}}}}{}{}{}{{Ff{}{{Fd{e}}}}Fh}{{AKh{{AN`{g}}cNb}{{Fd{i}}}}FhAKf}}{{{d{h{BKf{ceg}}}}k}{{d{h{BKf{ceg}}}}}{}{}{}{{Ff{}{{Fd{e}}}}Fh}{{AKh{{AN`{g}}cl}{{Fd{i}}}}FhAKf}}{{{d{h{BKd{ceg}}}}k}{{d{h{BKd{ceg}}}}}{}{}{}{{Ff{}{{Fd{e}}}}Fh}{{AKh{{AN`{g}}c{AN`{BL`}}}{{Fd{i}}}}FhAKf}}{{{d{h{BKd{ceg}}}}k}{{d{h{BKd{ceg}}}}}{}{}{}{{Ff{}{{Fd{e}}}}Fh}{{AKh{{AN`{g}}c{AN`{BJd}}}{{Fd{i}}}}FhAKf}}1{{{d{h{BKd{ceg}}}}k}{{d{h{BKd{ceg}}}}}{}{}{}{{Ff{}{{Fd{e}}}}Fh}{{AKh{{AN`{g}}c{AN`{n}}}{{Fd{i}}}}FhAKf}}{{{d{h{BKd{ceg}}}}k}{{d{h{BKd{ceg}}}}}{}{}{}{{Ff{}{{Fd{e}}}}Fh}{{AKh{{AN`{g}}c{AN`{BJf}}}{{Fd{i}}}}FhAKf}}{{{d{h{BKd{ceg}}}}k}{{d{h{BKd{ceg}}}}}{}{}{}{{Ff{}{{Fd{e}}}}Fh}{{AKh{{AN`{g}}c}{{Fd{i}}}}FhAKf}}2{{{d{h{BKf{ceg}}}}k}{{d{h{BKf{ceg}}}}}{}{}{}{{Ff{}{{Fd{e}}}}Fh}{{AKh{{AN`{g}}c{Bf{BI`}}}{{Fd{i}}}}FhAKf}}{{{d{h{BKf{ceg}}}}k}{{d{h{BKf{ceg}}}}}{}{}{}{{Ff{}{{Fd{e}}}}Fh}{{AKh{{AN`{g}}cMf}{{Fd{i}}}}FhAKf}}{{{d{h{BKd{ceg}}}}k}{{d{h{BKd{ceg}}}}}{}{}{}{{Ff{}{{Fd{e}}}}Fh}{{AKh{{AN`{g}}c{AN`{BIh}}}{{Fd{i}}}}FhAKf}}1{{{d{h{BKd{ceg}}}}k}{{d{h{BKd{ceg}}}}}{}{}{}{{Ff{}{{Fd{e}}}}Fh}{{AKh{{AN`{g}}c{AN`{BLb}}}{{Fd{i}}}}FhAKf}}{{{d{BKh}}}BK`}{{{d{AKl}}}BKb}{{{d{{BKd{ceg}}}}c{AN`{BIl}}}eFh{}{FhAKf}}{{{d{AJl}}c{AN`{BIl}}}eFh{}}{{{d{{BKd{ceg}}}}cMf}eFh{}{FhAKf}}{{{d{AJl}}cMf}eFh{}}{{{d{{BKd{ceg}}}}c{AN`{BJj}}}eFh{}{FhAKf}}{{{d{AJl}}c{AN`{BJj}}}eFh{}}{d}000000000{{{d{{BKd{ceg}}}}c{AN`{BJ`}}}eFh{}{FhAKf}}{{{d{AJl}}c{AN`{BJ`}}}eFh{}}{{{d{{BKd{ceg}}}}c{AN`{BJn}}}eFh{}{FhAKf}}{{{d{AJl}}c{AN`{BJn}}}eFh{}}{{{d{{BKd{ceg}}}}c{AN`{BIf}}}eFh{}{FhAKf}}{{{d{AJl}}c{AN`{BIf}}}eFh{}}{{{d{{BKd{ceg}}}}c{AN`{BKn}}}eFh{}{FhAKf}}{{{d{AJl}}c{AN`{BKn}}}eFh{}}{{{d{{BKd{ceg}}}}cNb}eFh{}{FhAKf}}{{{d{AJl}}cNb}eFh{}}{{{d{BKh}}c{Cf{e}}}n{}{}}{{{d{AKl}}c{Cf{e}}}n{}{}}{{{d{{BKf{ceg}}}}cl}eFh{}{FhAKf}}{{{d{BKj}}cl}eFh{}}{{{d{{BKd{ceg}}}}c{AN`{BL`}}}eFh{}{FhAKf}}{{{d{AJl}}c{AN`{BL`}}}eFh{}}{{{d{{BKd{ceg}}}}c{AN`{BJd}}}eFh{}{FhAKf}}{{{d{AJl}}c{AN`{BJd}}}eFh{}}32{{{d{{BKd{ceg}}}}c{AN`{n}}}eFh{}{FhAKf}}{{{d{AJl}}c{AN`{n}}}eFh{}}{{{d{{BKd{ceg}}}}c{AN`{BJf}}}eFh{}{FhAKf}}{{{d{AJl}}c{AN`{BJf}}}eFh{}}{{{d{{BKd{ceg}}}}c}eFh{}{FhAKf}}{{{d{AJl}}c}eFh{}}54{{{d{BK`}}c}AfCl}{{{d{BKh}}{d{hc}}}{{Af{e}}}{ChCj}{}}{{{d{BKh}}c}AfCl}{{{d{BKb}}c}AfCl}{{{d{AKl}}{d{hc}}}{{Af{e}}}{ChCj}{}}{{{d{AKl}}c}AfCl}{{d{d{hc}}}{{Af{Cn}}}{}}0`{{{d{{BKf{ceg}}}}c{Bf{BI`}}}eFh{}{FhAKf}}{{{d{BKj}}c{Bf{BI`}}}eFh{}}{{{d{{BKd{ceg}}}}}{{d{g}}}{}{}{}}{{{d{{BKf{ceg}}}}}{{d{g}}}{}{}{}}{{{d{{BKf{ceg}}}}cMf}eFh{}{FhAKf}}{{{d{BKj}}cMf}eFh{}}{dc{}}0{c{{Af{e}}}{}{}}000000000{{}{{Af{c}}}{}}000000000{dDn}000000000{{{d{{BKd{ceg}}}}c{AN`{BIh}}}eFh{}{FhAKf}}{{{d{AJl}}c{AN`{BIh}}}eFh{}}76{{{d{BKh}}}{{Bl{Nb}}}}{{{d{{BKd{ceg}}}}c{AN`{BLb}}}eFh{}{FhAKf}}{{{d{AJl}}c{AN`{BLb}}}eFh{}}{{}c{}}000000000``````````````````{d}00000{d{{d{c}}}{}}00000000000000000{{{d{h}}}{{d{hc}}}{}}00000000000000000{{{d{hc}}}{{Af{n}}}{ChCj}}00000{{}BLd}{{{d{BLf}}}{{d{c}}}{}}{{{d{BLh}}}{{d{c}}}{}}{{{d{BLj}}}{{d{c}}}{}}{{{d{BLl}}}{{d{c}}}{}}{c{{Af{BLd}}}Ah}{c{{Af{BLf}}}Ah}{c{{Af{BLn}}}Ah}{c{{Af{BLj}}}Ah}{c{{Af{BM`}}}Ah}{c{{Af{BMb}}}Ah}{{{d{BLd}}{d{BLd}}}f}{{d{d{c}}}f{}}000{{{d{BLd}}{d{hAl}}}G`}{{{d{BLf}}{d{hAl}}}G`}{{{d{BLn}}{d{hAl}}}G`}{{{d{BLj}}{d{hAl}}}G`}{{{d{BM`}}{d{hAl}}}G`}{{{d{BMb}}{d{hAl}}}G`}{cc{}}00000000000000000````{{}c{}}00000000000000000{{}{{Af{CbCd}}}}00000000000000000````{d}00000000000000000{{{d{BLd}}c{Cf{e}}}n{}{}}{{{d{BLf}}c{Cf{e}}}n{}{}}{{{d{BLn}}c{Cf{e}}}n{}{}}{{{d{BLj}}c{Cf{e}}}n{}{}}{{{d{BM`}}c{Cf{e}}}n{}{}}{{{d{BMb}}c{Cf{e}}}n{}{}}{{{d{BLd}}c}AfCl}{{{d{BLd}}{d{hc}}}{{Af{e}}}{ChCj}{}}{{{d{BLf}}{d{hc}}}{{Af{e}}}{ChCj}{}}{{{d{BLf}}c}AfCl}{{{d{BLn}}c}AfCl}{{{d{BLn}}{d{hc}}}{{Af{e}}}{ChCj}{}}{{{d{BLj}}c}AfCl}{{{d{BLj}}{d{hc}}}{{Af{e}}}{ChCj}{}}{{{d{BM`}}c}AfCl}{{{d{BM`}}{d{hc}}}{{Af{e}}}{ChCj}{}}{{{d{BMb}}{d{hc}}}{{Af{e}}}{ChCj}{}}{{{d{BMb}}c}AfCl}{{d{d{hc}}}{{Af{Cn}}}{}}00000``{c{{Af{e}}}{}{}}00000000000000000{{}{{Af{c}}}{}}00000000000000000{dDn}00000000000000000{{}c{}}00000000000000000````````````````````````````````````````````````````````````````````````````````````````````````{d}0000000000000000000000000000000{d{{d{c}}}{}}00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000{{{d{h}}}{{d{hc}}}{}}00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000{{{d{hc}}}{{Af{n}}}{ChCj}}0000000000000000000000000000000{{}BMd}{{}BMf}{{{d{BMh}}}{{d{c}}}{}}{{{d{BMj}}}{{d{c}}}{}}{{{d{BMl}}}{{d{c}}}{}}{{{d{BMn}}}{{d{c}}}{}}{{{d{BN`}}}{{d{c}}}{}}{{{d{BNb}}}{{d{c}}}{}}{{{d{BNd}}}{{d{c}}}{}}{{{d{BNf}}}{{d{c}}}{}}{{{d{BNh}}}{{d{c}}}{}}{{{d{BNj}}}{{d{c}}}{}}{{{d{BNl}}}{{d{c}}}{}}{{{d{BNn}}}{{d{c}}}{}}{{{d{BO`}}}{{d{c}}}{}}{{{d{BOb}}}{{d{c}}}{}}{{{d{BOd}}}{{d{c}}}{}}{{{d{BOf}}}{{d{c}}}{}}{{{d{BOh}}}{{d{c}}}{}}{{{d{BOj}}}{{d{c}}}{}}{{{d{BOl}}}{{d{c}}}{}}{{{d{BOn}}}{{d{c}}}{}}{{{d{C@`}}}{{d{c}}}{}}{{{d{C@b}}}{{d{c}}}{}}{{{d{C@d}}}{{d{c}}}{}}{{{d{C@f}}}{{d{c}}}{}}{{{d{C@h}}}{{d{c}}}{}}{{{d{C@j}}}{{d{c}}}{}}{{{d{C@l}}}{{d{c}}}{}}{{{d{C@n}}}{{d{c}}}{}}{{{d{CA`}}}{{d{c}}}{}}{{{d{CAb}}}{{d{c}}}{}}{{{d{CAd}}}{{d{c}}}{}}{{{d{CAf}}}{{d{c}}}{}}{{{d{CAh}}}{{d{c}}}{}}{{{d{CAj}}}{{d{c}}}{}}{{{d{CAl}}}{{d{c}}}{}}{{{d{CAn}}}{{d{c}}}{}}{{{d{CB`}}}{{d{c}}}{}}{{{d{CBb}}}{{d{c}}}{}}{{{d{CBd}}}{{d{c}}}{}}{{{d{CBf}}}{{d{c}}}{}}{{{d{CBh}}}{{d{c}}}{}}{{{d{CBj}}}{{d{c}}}{}}{{{d{CBl}}}{{d{c}}}{}}{{{d{CBn}}}{{d{c}}}{}}{{{d{CC`}}}{{d{c}}}{}}{{{d{CCb}}}{{d{c}}}{}}{c{{Af{CCd}}}Ah}{c{{Af{BMd}}}Ah}{c{{Af{BMh}}}Ah}{c{{Af{BMf}}}Ah}{c{{Af{BMl}}}Ah}{c{{Af{BN`}}}Ah}{c{{Af{CCf}}}Ah}{c{{Af{BNd}}}Ah}{c{{Af{BNh}}}Ah}{c{{Af{BNl}}}Ah}{c{{Af{BO`}}}Ah}{c{{Af{BOd}}}Ah}{c{{Af{BOh}}}Ah}{c{{Af{BOl}}}Ah}{c{{Af{C@`}}}Ah}{c{{Af{C@d}}}Ah}{c{{Af{C@h}}}Ah}{c{{Af{C@l}}}Ah}{c{{Af{CCh}}}Ah}{c{{Af{CA`}}}Ah}{c{{Af{CAd}}}Ah}{c{{Af{CAh}}}Ah}{c{{Af{CAl}}}Ah}{c{{Af{CB`}}}Ah}{c{{Af{CCj}}}Ah}{c{{Af{CCl}}}Ah}{c{{Af{CBd}}}Ah}{c{{Af{CBh}}}Ah}{c{{Af{CCn}}}Ah}{c{{Af{CBl}}}Ah}{c{{Af{CC`}}}Ah}{c{{Af{CD`}}}Ah}{{{d{BMd}}{d{BMd}}}f}{{{d{BMf}}{d{BMf}}}f}{{d{d{c}}}f{}}0000000{{{d{CCd}}{d{hAl}}}G`}{{{d{BMd}}{d{hAl}}}G`}{{{d{BMh}}{d{hAl}}}G`}{{{d{BMf}}{d{hAl}}}G`}{{{d{BMl}}{d{hAl}}}G`}{{{d{BN`}}{d{hAl}}}G`}{{{d{CCf}}{d{hAl}}}G`}{{{d{BNd}}{d{hAl}}}G`}{{{d{BNh}}{d{hAl}}}G`}{{{d{BNl}}{d{hAl}}}G`}{{{d{BO`}}{d{hAl}}}G`}{{{d{BOd}}{d{hAl}}}G`}{{{d{BOh}}{d{hAl}}}G`}{{{d{BOl}}{d{hAl}}}G`}{{{d{C@`}}{d{hAl}}}G`}{{{d{C@d}}{d{hAl}}}G`}{{{d{C@h}}{d{hAl}}}G`}{{{d{C@l}}{d{hAl}}}G`}{{{d{CCh}}{d{hAl}}}G`}{{{d{CA`}}{d{hAl}}}G`}{{{d{CAd}}{d{hAl}}}G`}{{{d{CAh}}{d{hAl}}}G`}{{{d{CAl}}{d{hAl}}}G`}{{{d{CB`}}{d{hAl}}}G`}{{{d{CCj}}{d{hAl}}}G`}{{{d{CCl}}{d{hAl}}}G`}{{{d{CBd}}{d{hAl}}}G`}{{{d{CBh}}{d{hAl}}}G`}{{{d{CCn}}{d{hAl}}}G`}{{{d{CBl}}{d{hAl}}}G`}{{{d{CC`}}{d{hAl}}}G`}{{{d{CD`}}{d{hAl}}}G`}{cc{}}00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000``````````````````````````````````````````````````{{}c{}}00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000{{}{{Af{CbCd}}}}00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000{d}00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000{{{d{CCd}}c{Cf{e}}}n{}{}}{{{d{BMd}}c{Cf{e}}}n{}{}}{{{d{BMh}}c{Cf{e}}}n{}{}}{{{d{BMf}}c{Cf{e}}}n{}{}}{{{d{BMl}}c{Cf{e}}}n{}{}}{{{d{BN`}}c{Cf{e}}}n{}{}}{{{d{CCf}}c{Cf{e}}}n{}{}}{{{d{BNd}}c{Cf{e}}}n{}{}}{{{d{BNh}}c{Cf{e}}}n{}{}}{{{d{BNl}}c{Cf{e}}}n{}{}}{{{d{BO`}}c{Cf{e}}}n{}{}}{{{d{BOd}}c{Cf{e}}}n{}{}}{{{d{BOh}}c{Cf{e}}}n{}{}}{{{d{BOl}}c{Cf{e}}}n{}{}}{{{d{C@`}}c{Cf{e}}}n{}{}}{{{d{C@d}}c{Cf{e}}}n{}{}}{{{d{C@h}}c{Cf{e}}}n{}{}}{{{d{C@l}}c{Cf{e}}}n{}{}}{{{d{CCh}}c{Cf{e}}}n{}{}}{{{d{CA`}}c{Cf{e}}}n{}{}}{{{d{CAd}}c{Cf{e}}}n{}{}}{{{d{CAh}}c{Cf{e}}}n{}{}}{{{d{CAl}}c{Cf{e}}}n{}{}}{{{d{CB`}}c{Cf{e}}}n{}{}}{{{d{CCj}}c{Cf{e}}}n{}{}}{{{d{CCl}}c{Cf{e}}}n{}{}}{{{d{CBd}}c{Cf{e}}}n{}{}}{{{d{CBh}}c{Cf{e}}}n{}{}}{{{d{CCn}}c{Cf{e}}}n{}{}}{{{d{CBl}}c{Cf{e}}}n{}{}}{{{d{CC`}}c{Cf{e}}}n{}{}}{{{d{CD`}}c{Cf{e}}}n{}{}}{{{d{CCd}}{d{hc}}}{{Af{e}}}{ChCj}{}}{{{d{CCd}}c}AfCl}{{{d{BMd}}c}AfCl}{{{d{BMd}}{d{hc}}}{{Af{e}}}{ChCj}{}}{{{d{BMh}}{d{hc}}}{{Af{e}}}{ChCj}{}}{{{d{BMh}}c}AfCl}{{{d{BMf}}c}AfCl}{{{d{BMf}}{d{hc}}}{{Af{e}}}{ChCj}{}}{{{d{BMl}}{d{hc}}}{{Af{e}}}{ChCj}{}}{{{d{BMl}}c}AfCl}{{{d{BN`}}{d{hc}}}{{Af{e}}}{ChCj}{}}{{{d{BN`}}c}AfCl}{{{d{CCf}}{d{hc}}}{{Af{e}}}{ChCj}{}}{{{d{CCf}}c}AfCl}{{{d{BNd}}{d{hc}}}{{Af{e}}}{ChCj}{}}{{{d{BNd}}c}AfCl}{{{d{BNh}}{d{hc}}}{{Af{e}}}{ChCj}{}}{{{d{BNh}}c}AfCl}{{{d{BNl}}{d{hc}}}{{Af{e}}}{ChCj}{}}{{{d{BNl}}c}AfCl}{{{d{BO`}}{d{hc}}}{{Af{e}}}{ChCj}{}}{{{d{BO`}}c}AfCl}{{{d{BOd}}c}AfCl}{{{d{BOd}}{d{hc}}}{{Af{e}}}{ChCj}{}}{{{d{BOh}}{d{hc}}}{{Af{e}}}{ChCj}{}}{{{d{BOh}}c}AfCl}{{{d{BOl}}{d{hc}}}{{Af{e}}}{ChCj}{}}{{{d{BOl}}c}AfCl}{{{d{C@`}}{d{hc}}}{{Af{e}}}{ChCj}{}}{{{d{C@`}}c}AfCl}{{{d{C@d}}{d{hc}}}{{Af{e}}}{ChCj}{}}{{{d{C@d}}c}AfCl}{{{d{C@h}}c}AfCl}{{{d{C@h}}{d{hc}}}{{Af{e}}}{ChCj}{}}{{{d{C@l}}c}AfCl}{{{d{C@l}}{d{hc}}}{{Af{e}}}{ChCj}{}}{{{d{CCh}}c}AfCl}{{{d{CCh}}{d{hc}}}{{Af{e}}}{ChCj}{}}{{{d{CA`}}c}AfCl}{{{d{CA`}}{d{hc}}}{{Af{e}}}{ChCj}{}}{{{d{CAd}}{d{hc}}}{{Af{e}}}{ChCj}{}}{{{d{CAd}}c}AfCl}{{{d{CAh}}c}AfCl}{{{d{CAh}}{d{hc}}}{{Af{e}}}{ChCj}{}}{{{d{CAl}}{d{hc}}}{{Af{e}}}{ChCj}{}}{{{d{CAl}}c}AfCl}{{{d{CB`}}{d{hc}}}{{Af{e}}}{ChCj}{}}{{{d{CB`}}c}AfCl}{{{d{CCj}}c}AfCl}{{{d{CCj}}{d{hc}}}{{Af{e}}}{ChCj}{}}{{{d{CCl}}{d{hc}}}{{Af{e}}}{ChCj}{}}{{{d{CCl}}c}AfCl}{{{d{CBd}}c}AfCl}{{{d{CBd}}{d{hc}}}{{Af{e}}}{ChCj}{}}{{{d{CBh}}c}AfCl}{{{d{CBh}}{d{hc}}}{{Af{e}}}{ChCj}{}}{{{d{CCn}}c}AfCl}{{{d{CCn}}{d{hc}}}{{Af{e}}}{ChCj}{}}{{{d{CBl}}c}AfCl}{{{d{CBl}}{d{hc}}}{{Af{e}}}{ChCj}{}}{{{d{CC`}}c}AfCl}{{{d{CC`}}{d{hc}}}{{Af{e}}}{ChCj}{}}{{{d{CD`}}c}AfCl}{{{d{CD`}}{d{hc}}}{{Af{e}}}{ChCj}{}}{{d{d{hc}}}{{Af{Cn}}}{}}0000000000000000000000000000000{c{{Af{e}}}{}{}}00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000{{}{{Af{c}}}{}}00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000{dDn}00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000````{{}c{}}00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000```{d}{d{{d{c}}}{}}00{{{d{h}}}{{d{hc}}}{}}00{{{d{hc}}}{{Af{n}}}{ChCj}}{{{d{CDb}}}CDb}{{d{d{hc}}}n{}}{dn}````{c{{Af{CDb}}}Ah}``{{{d{CDb}}{d{hAl}}}G`}{cc{}}00:::``{{}{{Af{CbCd}}}}00``:::``{{{d{CDb}}c{Cf{e}}}n{}{}}{{{d{CDb}}c}AfCl}{{{d{CDb}}{d{hc}}}{{Af{e}}}{ChCj}{}}{{d{d{hc}}}{{Af{Cn}}}{}}{dc{}}{c{{Af{e}}}{}{}}00{{}{{Af{c}}}{}}00{dDn}00{{}c{}}00```````````````````````````````````````````````````{{{d{b}}}f}00{{}CDd}{d}0000000````{{CDdCDd}CDd}{{{d{hCDd}}CDd}n}10{{{d{CDd}}}Hl}0{{{d{CDf}}}Hl}32{d{{d{c}}}{}}000000000000000000000{{{d{h}}}{{d{hc}}}{}}000000000000000000000{d{{d{j}}}}0{{{d{hc}}}{{Af{n}}}{ChCj}}0000000{{{d{CDd}}}CDd}{{{d{CDf}}}CDf}{{{d{CDh}}}CDh}{{{d{CDj}}}CDj}{{{d{BKl}}}BKl}{{{d{ABl}}}ABl}{{{d{CDl}}}CDl}{{{d{CDn}}}CDn}{{{d{CE`}}}CE`}{{{d{CEb}}}CEb}{{d{d{hc}}}n{}}000000000{dn}000000000{Ab{{BEh{CDd}}}}{CDdCDd}{{{d{CDd}}CDd}f}{{{d{CDf}}CDd}f}````{{}CDh}{c{{Af{CDd}}}Ah}{{{d{CDf}}{d{hc}}}{{Af{CDd}}}{ChCj}}{c{{Af{CDh}}}Ah}{{{d{CDj}}{d{hc}}}{{Af{CDh}}}{ChCj}}{c{{Af{BKl}}}Ah}{c{{Af{ABl}}}Ah}{c{{Af{CDl}}}Ah}{c{{Af{CDn}}}Ah}{c{{Af{CE`}}}Ah}{c{{Af{CEb}}}Ah}{{CDdCDd}CDd}````````{{}CDd}{{{d{CDd}}{d{CDd}}}f}{{{d{CDd}}{d{CDf}}}f}{{{d{CDf}}{d{CDf}}}f}{{{d{CDf}}{d{CDd}}}f}{{{d{CDh}}{d{CDh}}}f}{{{d{CDj}}{d{CDj}}}f}{{d{d{c}}}f{}}000000000000000{{{d{hCDd}}c}n{{Fn{}{{E`{CDd}}}}}}````{{{d{CDd}}{d{hAl}}}G`}0000{{{d{CDf}}{d{hAl}}}G`}{{{d{CDh}}{d{hAl}}}G`}{{{d{CDj}}{d{hAl}}}G`}{{{d{BKl}}{d{hAl}}}G`}{{{d{ABl}}{d{hAl}}}G`}0{{{d{CDl}}{d{hAl}}}G`}{{{d{CDn}}{d{hAl}}}G`}{{{d{CE`}}{d{hAl}}}G`}{{{d{CEb}}{d{hAl}}}G`}{CDfCDd}{cc{}}000000000000000000000{Hl{{Bl{CDd}}}}{HlCDd}000{D`{{Bl{CDh}}}}{cCDd{{Fn{}{{E`{CDd}}}}}}{{{d{Bh}}}{{Bl{CDd}}}}{CDdCDf}{{{d{b}}{d{{Bb{B`}}}}}{{Af{CDd{Bf{Bd}}}}}}{{{d{Bh}}}{{Af{ABlc}}}{}}{Bj{{Bl{CDh}}}}{{{d{CDj}}}CDh}{{{d{CDd}}{d{hc}}}nBn}{{{d{CDh}}{d{hc}}}nBn}{{{d{CDj}}{d{hc}}}nBn}``{{{d{hCDd}}CDd}n}{{CDdCDd}CDd}{{{d{CDd}}CDd}f}{{{d{CDf}}CDd}f}{{}c{}}000000000000000000000{CDdc{}}{{{d{CDd}}}f}{{{d{CDf}}}f}10{{{d{CDd}}}{{Gd{CDd}}}}{{{d{CDd}}}{{Gf{CDd}}}}``{{}{{Af{CbCd}}}}000000000000000000000``{CDdCDd}``````{d}000000000000000000000``<{{{d{CDd}}n{Cf{c}}}n{}}{{{d{CDh}}c{Cf{e}}}n{}{}}{{{d{BKl}}c{Cf{e}}}n{}{}}{{{d{ABl}}c{Cf{e}}}n{}{}}{{{d{CDl}}c{Cf{e}}}n{}{}}{{{d{CDn}}c{Cf{e}}}n{}{}}{{{d{CE`}}c{Cf{e}}}n{}{}}{{{d{CEb}}c{Cf{e}}}n{}{}}````````{{{d{CDd}}c}AfCl}{{{d{CDd}}{d{hc}}}{{Af{n}}}{ChCj}}{{{d{CDh}}c}AfCl}{{{d{CDh}}{d{hc}}}{{Af{n}}}{ChCj}}{{{d{BKl}}c}AfCl}{{{d{BKl}}{d{hc}}}{{Af{e}}}{ChCj}{}}{{{d{ABl}}{d{hc}}}{{Af{e}}}{ChCj}{}}{{{d{ABl}}c}AfCl}{{{d{CDl}}c}AfCl}{{{d{CDl}}{d{hc}}}{{Af{e}}}{ChCj}{}}{{{d{CDn}}c}AfCl}{{{d{CDn}}{d{hc}}}{{Af{e}}}{ChCj}{}}{{{d{CE`}}{d{hc}}}{{Af{e}}}{ChCj}{}}{{{d{CE`}}c}AfCl}{{{d{CEb}}{d{hc}}}{{Af{e}}}{ChCj}{}}{{{d{CEb}}c}AfCl}{{d{d{hc}}}{{Af{Cn}}}{}}0000000{{{d{hCDd}}CDdf}n}{{CDdCDd}CDd}{{{d{hCDd}}CDd}n}1{{{d{CDh}}}{{Bl{D`}}}}{{{d{CDf}}}{{Bl{CDd}}}}{{{d{CDf}}}CDd}0{dc{}}000000000{dDb}{{{d{CDd}}{d{b}}{d{hDd}}}{{Af{Df{Bf{Bd}}}}}}{{{d{CDd}}}{{BEj{Dh}}}}{{{d{CDf}}{d{b}}{d{hDd}}}{{Af{Df{Bf{Bd}}}}}}20{dDl}{{{d{CDh}}}{{Bl{Bj}}}}:{c{{Af{e}}}{}{}}0{Bj{{Af{CDhc}}}{}}{Hl{{Af{CDhc}}}{}}{O`{{Af{CDhc}}}{}}{ABn{{Af{CDhc}}}{}}4{D`{{Af{CDhc}}}{}}{B`{{Af{CDhc}}}{}}{C`{{Af{CDhc}}}{}}{Nh{{Af{CDhc}}}{}}8888888888888888888{{}{{Af{c}}}{}}000000000000000000000{dDn}000000000000000000000{{CDdCDd}CDd}````{{}c{}}000000000000000000000``````````{{{d{b}}}f}0{d}{{{d{h{Ml{c}}}}}{{Ml{{d{hc}}}}}{}}{{{d{{Ml{c}}}}}{{Ml{{d{c}}}}}{}}{d{{d{c}}}{}}{{{d{h}}}{{d{hc}}}{}}{d{{d{j}}}}{{{d{hc}}}{{Af{n}}}{ChCj}}{{{d{{Ml{c}}}}}{{Ml{c}}}AO`}{{d{d{hc}}}n{}}{dn}{Ab{{BEh{{Ml{c}}}}}CEd}{{{Ml{e}}}{{Ml{c}}}{}{{AHl{c}}}}{{}{{Ml{c}}}{}}{c{{Af{{Ml{e}}}}}AhAOh}{{{d{Ml}}{d{hc}}}{{Af{{Ml{e}}}}}{ChCj}BDb}{{{d{{Ml{e}}}}{d{{Ml{c}}}}}f{}{{AOd{c}}}}{{{d{{Ml{c}}}}{d{hAl}}}G`B@b}{{{Bl{c}}}{{Ml{c}}}{}}{c{{Ml{c}}}{}}{cc{}}{BAnc{}}{{{d{b}}{d{{Bb{B`}}}}}{{Af{{Ml{c}}{Bf{Bd}}}}}CEf}{{{d{b}}}{{Af{{Ml{c}}{Bf{Bd}}}}}CEf}{{{d{{Ml{c}}}}{d{he}}}nBCdBn}{{}c{}}{{{d{{Ml{c}}}}}f{}}00{{}{{Af{CbCd}}}}{{{Ml{c}}g}{{Ml{e}}}{}{}{{AKj{c}{{Fd{e}}}}}}{d}{{{d{{Ml{c}}}}e{Cf{g}}}nBDb{}{}}{{{d{{Ml{c}}}}e}AfBDjCl}{{{d{{Ml{e}}}}{d{hc}}}{{Af{g}}}{ChCj}{{BDl{c}}}{}}{{d{d{hc}}}{{Af{Cn}}}{}}{dc{}}{{{d{{Ml{c}}}}}{{BEj{Dh}}}CEh}{{{d{{Ml{c}}}}{d{b}}{d{hDd}}}{{Af{Df{Bf{Bd}}}}}j}0{c{{Af{e}}}{}{}}{{}{{Af{c}}}{}}{dDn}>```````````````````````````````````{{{d{b}}}f}00000000000{{}CEj}{{}Mj}{{}CEl}{{}CEn}?????????````{{CEjCEj}CEj}{{MjMj}Mj}{{CElCEl}CEl}{{CEnCEn}CEn}{{{d{hCEj}}CEj}n}{{{d{hMj}}Mj}n}{{{d{hCEl}}CEl}n}{{{d{hCEn}}CEn}n}76543210{{{d{CEj}}}Hl}0{{{d{CF`}}}Hl}{{{d{Mj}}}Hl}0{{{d{CFb}}}Hl}{{{d{CEl}}}O`}0{{{d{CFd}}}O`}{{{d{CEn}}}Hl}0{{{d{CFf}}}Hl}?>=<;:98{d{{d{c}}}{}}0000000000000000000000{{{d{h}}}{{d{hc}}}{}}0000000000000000000000{d{{d{j}}}}0000000{{{d{hc}}}{{Af{n}}}{ChCj}}00000000{{{d{CEj}}}CEj}{{{d{CF`}}}CF`}{{{d{CFh}}}CFh}{{{d{Mj}}}Mj}{{{d{CFb}}}CFb}{{{d{CFj}}}CFj}{{{d{BIl}}}BIl}{{{d{CEl}}}CEl}{{{d{CFd}}}CFd}{{{d{CFl}}}CFl}{{{d{CEn}}}CEn}{{{d{CFf}}}CFf}{{{d{CFn}}}CFn}{{d{d{hc}}}n{}}000000000000{dn}000000000000{Ab{{BEh{CEj}}}}{Ab{{BEh{Mj}}}}{Ab{{BEh{CEl}}}}{Ab{{BEh{CEn}}}}{CEjCEj}{MjMj}{CElCEl}{CEnCEn}{{{d{CEj}}CEj}f}{{{d{CF`}}CEj}f}{{{d{Mj}}Mj}f}{{{d{CFb}}Mj}f}{{{d{CEl}}CEl}f}{{{d{CFd}}CEl}f}{{{d{CEn}}CEn}f}{{{d{CFf}}CEn}f}{{}CEj}{{}Mj}{{}CEl}``{{{d{BIl}}}{{d{c}}}{}}{{{d{CG`}}}{{d{c}}}{}}{{{d{CFl}}}{{d{c}}}{}}````{c{{Af{CEj}}}Ah}{{{d{CF`}}{d{hc}}}{{Af{CEj}}}{ChCj}}{c{{Af{CFh}}}Ah}{c{{Af{Mj}}}Ah}{{{d{CFb}}{d{hc}}}{{Af{Mj}}}{ChCj}}{c{{Af{CFj}}}Ah}{c{{Af{BIl}}}Ah}{c{{Af{CEl}}}Ah}{{{d{CFd}}{d{hc}}}{{Af{CEl}}}{ChCj}}{c{{Af{CFl}}}Ah}{c{{Af{CEn}}}Ah}{{{d{CFf}}{d{hc}}}{{Af{CEn}}}{ChCj}}{c{{Af{CFn}}}Ah}{{CEjCEj}CEj}{{MjMj}Mj}{{CElCEl}CEl}{{CEnCEn}CEn}``{{}CEj}{{}Mj}{{}CEl}{{}CEn}{{{d{CEj}}{d{CF`}}}f}{{{d{CEj}}{d{CEj}}}f}{{{d{CF`}}{d{CEj}}}f}{{{d{CF`}}{d{CF`}}}f}{{{d{Mj}}{d{CFb}}}f}{{{d{Mj}}{d{Mj}}}f}{{{d{CFb}}{d{CFb}}}f}{{{d{CFb}}{d{Mj}}}f}{{{d{CEl}}{d{CEl}}}f}{{{d{CEl}}{d{CFd}}}f}{{{d{CFd}}{d{CEl}}}f}{{{d{CFd}}{d{CFd}}}f}{{{d{CEn}}{d{CEn}}}f}{{{d{CEn}}{d{CFf}}}f}{{{d{CFf}}{d{CFf}}}f}{{{d{CFf}}{d{CEn}}}f}{{d{d{c}}}f{}}0000000000000000000000000000000{{{d{hCEj}}c}n{{Fn{}{{E`{CEj}}}}}}{{{d{hMj}}c}n{{Fn{}{{E`{Mj}}}}}}{{{d{hCEl}}c}n{{Fn{}{{E`{CEl}}}}}}{{{d{hCEn}}c}n{{Fn{}{{E`{CEn}}}}}}````````{{{d{CEj}}{d{hAl}}}G`}0000{{{d{CF`}}{d{hAl}}}G`}{{{d{CFh}}{d{hAl}}}G`}{{{d{Mj}}{d{hAl}}}G`}0000{{{d{CFb}}{d{hAl}}}G`}{{{d{CFj}}{d{hAl}}}G`}{{{d{BIl}}{d{hAl}}}G`}{{{d{CEl}}{d{hAl}}}G`}0000{{{d{CFd}}{d{hAl}}}G`}{{{d{CFl}}{d{hAl}}}G`}{{{d{CEn}}{d{hAl}}}G`}0000{{{d{CFf}}{d{hAl}}}G`}{{{d{CFn}}{d{hAl}}}G`}``{cc{}}{CF`CEj}{BjCEj}22222{CFbMj}33333333{CFdCEl}44444{CFfCEn}5555{Hl{{Bl{CEj}}}}{Hl{{Bl{Mj}}}}{O`{{Bl{CEl}}}}{Hl{{Bl{CEn}}}}{HlCEj}0{HlMj}0{O`CEl}0{HlCEn}03210{cCEj{{Fn{}{{E`{CEj}}}}}}{cMj{{Fn{}{{E`{Mj}}}}}}{cCEl{{Fn{}{{E`{CEl}}}}}}{cCEn{{Fn{}{{E`{CEn}}}}}}{{{d{Bh}}}{{Bl{CEj}}}}{{{d{Bh}}}{{Bl{Mj}}}}{{{d{Bh}}}{{Bl{CEl}}}}{{{d{Bh}}}{{Bl{CEn}}}}{CEjCF`}{MjCFb}{CElCFd}{CEnCFf}{{{d{b}}{d{{Bb{B`}}}}}{{Af{CEj{Bf{Bd}}}}}}{{{d{b}}{d{{Bb{B`}}}}}{{Af{Mj{Bf{Bd}}}}}}{{{d{b}}{d{{Bb{B`}}}}}{{Af{CEl{Bf{Bd}}}}}}{{{d{b}}{d{{Bb{B`}}}}}{{Af{CEn{Bf{Bd}}}}}}{{{d{CEj}}{d{hc}}}nBn}{{{d{Mj}}{d{hc}}}nBn}{{{d{CEl}}{d{hc}}}nBn}{{{d{CEn}}{d{hc}}}nBn}````{{{d{hCEj}}CEj}n}{{{d{hMj}}Mj}n}{{{d{hCEl}}CEl}n}{{{d{hCEn}}CEn}n}{{CEjCEj}CEj}{{MjMj}Mj}{{CElCEl}CEl}{{CEnCEn}CEn}{{{d{CEj}}CEj}f}{{{d{CF`}}CEj}f}{{{d{Mj}}Mj}f}{{{d{CFb}}Mj}f}{{{d{CEl}}CEl}f}{{{d{CFd}}CEl}f}{{{d{CEn}}CEn}f}{{{d{CFf}}CEn}f}{{}c{}}0000000000000000000000{CEjc{}}{Mjc{}}{CElc{}}{CEnc{}}{{{d{CEj}}}f}{{{d{CF`}}}f}{{{d{Mj}}}f}{{{d{CFb}}}f}{{{d{CEl}}}f}{{{d{CFd}}}f}{{{d{CEn}}}f}{{{d{CFf}}}f}76543210{{{d{CEj}}}{{Gd{CEj}}}}{{{d{Mj}}}{{Gd{Mj}}}}{{{d{CEl}}}{{Gd{CEl}}}}{{{d{CEn}}}{{Gd{CEn}}}}{{{d{CEj}}}{{Gf{CEj}}}}{{{d{Mj}}}{{Gf{Mj}}}}{{{d{CEl}}}{{Gf{CEl}}}}{{{d{CEn}}}{{Gf{CEn}}}}````{{}{{Af{CbCd}}}}0000000000000000000000````{CEjCEj}{MjMj}{CElCEl}{CEnCEn}````{d}0000000000000000000000``{{{d{hCEj}}CEj}n}{{{d{hMj}}Mj}n}{{{d{hCEl}}CEl}n}{{{d{hCEn}}CEn}n}{{{d{CEj}}n{Cf{c}}}n{}}{{{d{CFh}}c{Cf{e}}}n{}{}}{{{d{Mj}}n{Cf{c}}}n{}}{{{d{CFj}}c{Cf{e}}}n{}{}}{{{d{BIl}}c{Cf{e}}}n{}{}}{{{d{CEl}}n{Cf{c}}}n{}}{{{d{CFl}}c{Cf{e}}}n{}{}}{{{d{CEn}}n{Cf{c}}}n{}}{{{d{CFn}}c{Cf{e}}}n{}{}}````{{{d{CEj}}c}AfCl}{{{d{CEj}}{d{hc}}}{{Af{n}}}{ChCj}}{{{d{CFh}}c}AfCl}{{{d{CFh}}{d{hc}}}{{Af{e}}}{ChCj}{}}{{{d{Mj}}{d{hc}}}{{Af{n}}}{ChCj}}{{{d{Mj}}c}AfCl}{{{d{CFj}}{d{hc}}}{{Af{e}}}{ChCj}{}}{{{d{CFj}}c}AfCl}{{{d{BIl}}c}AfCl}{{{d{BIl}}{d{hc}}}{{Af{e}}}{ChCj}{}}{{{d{CEl}}{d{hc}}}{{Af{n}}}{ChCj}}{{{d{CEl}}c}AfCl}{{{d{CFl}}{d{hc}}}{{Af{e}}}{ChCj}{}}{{{d{CFl}}c}AfCl}{{{d{CEn}}c}AfCl}{{{d{CEn}}{d{hc}}}{{Af{n}}}{ChCj}}{{{d{CFn}}c}AfCl}{{{d{CFn}}{d{hc}}}{{Af{e}}}{ChCj}{}}{{d{d{hc}}}{{Af{Cn}}}{}}00000000{{{d{hCEj}}CEjf}n}{{{d{hMj}}Mjf}n}{{{d{hCEl}}CElf}n}{{{d{hCEn}}CEnf}n}{{CEjCEj}CEj}{{MjMj}Mj}{{CElCEl}CEl}{{CEnCEn}CEn}{{{d{hCEj}}CEj}n}{{{d{hMj}}Mj}n}{{{d{hCEl}}CEl}n}{{{d{hCEn}}CEn}n}7654{{{d{CF`}}}{{Bl{CEj}}}}{{{d{CFb}}}{{Bl{Mj}}}}{{{d{CFd}}}{{Bl{CEl}}}}{{{d{CFf}}}{{Bl{CEn}}}}{{{d{CF`}}}CEj}{{{d{CFb}}}Mj}{{{d{CFd}}}CEl}{{{d{CFf}}}CEn}3210{dc{}}000000000000{{{d{CEj}}}{{BEj{Dh}}}}{{{d{CEj}}{d{b}}{d{hDd}}}{{Af{Df{Bf{Bd}}}}}}{{{d{CF`}}{d{b}}{d{hDd}}}{{Af{Df{Bf{Bd}}}}}}{{{d{Mj}}}{{BEj{Dh}}}}{{{d{Mj}}{d{b}}{d{hDd}}}{{Af{Df{Bf{Bd}}}}}}{{{d{CFb}}{d{b}}{d{hDd}}}{{Af{Df{Bf{Bd}}}}}}{{{d{CEl}}}{{BEj{Dh}}}}{{{d{CEl}}{d{b}}{d{hDd}}}{{Af{Df{Bf{Bd}}}}}}{{{d{CFd}}{d{b}}{d{hDd}}}{{Af{Df{Bf{Bd}}}}}}{{{d{CEn}}}{{BEj{Dh}}}}{{{d{CEn}}{d{b}}{d{hDd}}}{{Af{Df{Bf{Bd}}}}}}{{{d{CFf}}{d{b}}{d{hDd}}}{{Af{Df{Bf{Bd}}}}}}:9764310{{{d{hCEj}}CEj}n}{{{d{hMj}}Mj}n}{{{d{hCEl}}CEl}n}{{{d{hCEn}}CEn}n}{c{{Af{e}}}{}{}}0000000000000000000000{{}{{Af{c}}}{}}0000000000000000000000{dDn}0000000000000000000000{{CEjCEj}CEj}{{MjMj}Mj}{{CElCEl}CEl}{{CEnCEn}CEn}``{{}c{}}0000000000000000000000````````````````````````````````````````{{}Gh}``{{{d{Nl}}Gh}Gh}{d}0{{GhGh}Gh}{{{d{hGh}}Gh}n}10{{{d{Gh}}}CGb}0{{{d{CGd}}}CGb}32{d{{d{c}}}{}}0000{{{d{h}}}{{d{hc}}}{}}0000{{{d{hc}}}{{Af{n}}}{ChCj}}0{{{d{Gh}}}Gh}{{{d{CGd}}}CGd}{{{d{Nl}}}Nl}{{d{d{hc}}}n{}}00{dn}00{{{d{Nl}}Nl}Nl}{GhGh}{{Gh{d{{Bb{Nl}}}}{d{{Bb{Nd}}}}Nb}Gh}{{{d{Gh}}Gh}f}{{{d{CGd}}Gh}f}{{}Gh}``{c{{Af{Gh}}}Ah}{{{d{CGd}}{d{hc}}}{{Af{Gh}}}{ChCj}}{c{{Af{Nl}}}Ah}{{GhGh}Gh}4{{{d{Gh}}{d{Gh}}}f}{{{d{Gh}}{d{CGd}}}f}{{{d{CGd}}{d{CGd}}}f}{{{d{CGd}}{d{Gh}}}f}{{{d{CGf}}{d{Nl}}}f}{{{d{Nl}}{d{Nl}}}f}{{{d{Nl}}{d{CGf}}}f}{{d{d{c}}}f{}}00000000000{{{d{hGh}}c}n{{Fn{}{{E`{Gh}}}}}}{{{d{Gh}}{d{hAl}}}G`}0000{{{d{CGd}}{d{hAl}}}G`}{{{d{Nl}}{d{hAl}}}G`}{cc{}}{CGdGh}1111{CGb{{Bl{Gh}}}}{CGbGh}00{{D`D`}Gh}{{{Bl{D`}}{Bl{D`}}}Gh}{cGh{{Fn{}{{E`{Gh}}}}}}{{{d{Bh}}}{{Bl{Gh}}}}{GhCGd}{{{d{Gh}}{d{hc}}}nBn}``{{{d{hGh}}Gh}n}{{GhGh}Gh}{{{d{Gh}}Gh}f}{{{d{CGd}}Gh}f}{{}c{}}0000{Ghc{}}{Ghf}{{{d{Gh}}}f}{{{d{CGd}}}f}10{{{d{Gh}}}{{Gd{Gh}}}}{{{d{Gh}}}{{Gf{Gh}}}}{{}{{Af{CbCd}}}}0000{GhGh}0{d}0000={{{d{Gh}}n{Cf{c}}}n{}}{{{d{Nl}}c{Cf{e}}}n{}{}}{{{d{Gh}}{d{hc}}}{{Af{n}}}{ChCj}}{{{d{Gh}}c}AfCl}{{{d{Nl}}{d{hc}}}{{Af{e}}}{ChCj}{}}{{{d{Nl}}c}AfCl}{{d{d{hc}}}{{Af{Cn}}}{}}0{{{d{hGh}}Ghf}n}{{GhGh}Gh}{{{d{hGh}}Gh}n}1{Gh{{AOn{D`}}}}{{{d{CGd}}}{{Bl{Gh}}}}{{{d{CGd}}}Gh}0{dc{}}004{c{{Af{e}}}{}{}}0000{{}{{Af{c}}}{}}0000{dDn}00008{{}c{}}0000``````````````````````{{}CGh}{d}000{{CGhCGh}CGh}{{{d{hCGh}}CGh}n}10{{{d{CGh}}}O`}0{{{d{CGj}}}O`}32{d{{d{c}}}{}}0000000000{{{d{h}}}{{d{hc}}}{}}0000000000{{{d{hc}}}{{Af{n}}}{ChCj}}000{{{d{CGh}}}CGh}{{{d{CGj}}}CGj}{{{d{AL`}}}AL`}{{{d{CGl}}}CGl}{{{d{CGn}}}CGn}{{d{d{hc}}}n{}}0000{dn}0000{CGhCGh}{{{d{CGh}}CGh}f}{{{d{CGj}}CGh}f}{c{{Af{CGh}}}Ah}{{{d{CGj}}{d{hc}}}{{Af{CGh}}}{ChCj}}{c{{Af{AL`}}}Ah}{c{{Af{CGl}}}Ah}{c{{Af{CGn}}}Ah}{{CGhCGh}CGh}{{}CGh}{{{d{CGh}}{d{CGj}}}f}{{{d{CGh}}{d{CGh}}}f}{{{d{CGj}}{d{CGh}}}f}{{{d{CGj}}{d{CGj}}}f}{{d{d{c}}}f{}}0000000{{{d{hCGh}}c}n{{Fn{}{{E`{CGh}}}}}}``{{{d{CGh}}{d{hAl}}}G`}0000{{{d{CGj}}{d{hAl}}}G`}{{{d{AL`}}{d{hAl}}}G`}{{{d{CGl}}{d{hAl}}}G`}{{{d{CGn}}{d{hAl}}}G`}{CGjCGh}{cc{}}0000000000{O`{{Bl{CGh}}}}{O`CGh}000{cCGh{{Fn{}{{E`{CGh}}}}}}{{{d{Bh}}}{{Bl{CGh}}}}{CGhCGj}{{{d{CGh}}{d{hc}}}nBn}{{{d{hCGh}}CGh}n}{{CGhCGh}CGh}{{{d{CGh}}CGh}f}{{{d{CGj}}CGh}f}{{}c{}}0000000000{CGhc{}}{{{d{CGh}}}f}{{{d{CGj}}}f}10{{{d{CGh}}}{{Gd{CGh}}}}{{{d{CGh}}}{{Gf{CGh}}}}``{{}{{Af{CbCd}}}}0000000000{CGhAL`}{CGhCGh}{d}0000000000={{{d{CGh}}n{Cf{c}}}n{}}{{{d{AL`}}c{Cf{e}}}n{}{}}{{{d{CGl}}c{Cf{e}}}n{}{}}{{{d{CGn}}c{Cf{e}}}n{}{}}{{{d{CGh}}{d{hc}}}{{Af{n}}}{ChCj}}{{{d{CGh}}c}AfCl}{{{d{AL`}}c}AfCl}{{{d{AL`}}{d{hc}}}{{Af{e}}}{ChCj}{}}{{{d{CGl}}{d{hc}}}{{Af{e}}}{ChCj}{}}{{{d{CGl}}c}AfCl}{{{d{CGn}}{d{hc}}}{{Af{e}}}{ChCj}{}}{{{d{CGn}}c}AfCl}{{d{d{hc}}}{{Af{Cn}}}{}}000{{{d{hCGh}}CGhf}n}{{CGhCGh}CGh}{{{d{hCGh}}CGh}n}1{{{d{CGj}}}{{Bl{CGh}}}}{{{d{CGj}}}CGh}0{dc{}}00003{c{{Af{e}}}{}{}}0000000000{{}{{Af{c}}}{}}0000000000{dDn}00000000007``{{}c{}}0000000000{{AL`{Bl{CGl}}}AL`}```````{{{d{b}}}f}00{{}Nf}{d}0``{{NfNf}Nf}{{{d{hNf}}Nf}n}10{{{d{Nf}}}O`}0{{{d{CH`}}}O`}32{d{{d{c}}}{}}0000{{{d{h}}}{{d{hc}}}{}}0000{d{{d{j}}}}0{{{d{hc}}}{{Af{n}}}{ChCj}}0{{{d{Nf}}}Nf}{{{d{CH`}}}CH`}{{{d{BL`}}}BL`}{{d{d{hc}}}n{}}00{dn}00``{Ab{{BEh{Nf}}}}{NfNf}{{{d{Nf}}Nf}f}{{{d{CH`}}Nf}f}{{}Nf}``{c{{Af{Nf}}}Ah}{{{d{CH`}}{d{hc}}}{{Af{Nf}}}{ChCj}}{c{{Af{BL`}}}Ah}{{NfNf}Nf}4{{{d{Nf}}{d{CH`}}}f}{{{d{Nf}}{d{Nf}}}f}{{{d{CH`}}{d{Nf}}}f}{{{d{CH`}}{d{CH`}}}f}{{d{d{c}}}f{}}0000000{{{d{hNf}}c}n{{Fn{}{{E`{Nf}}}}}}``{{{d{Nf}}{d{hAl}}}G`}0000{{{d{CH`}}{d{hAl}}}G`}{{{d{BL`}}{d{hAl}}}G`}{CH`Nf}{cc{}}0000{O`{{Bl{Nf}}}}{O`Nf}00{cNf{{Fn{}{{E`{Nf}}}}}}{{{d{Bh}}}{{Bl{Nf}}}}{NfCH`}{{{d{b}}{d{{Bb{B`}}}}}{{Af{Nf{Bf{Bd}}}}}}{{{d{Nf}}{d{hc}}}nBn}``{{{d{hNf}}Nf}n}{{NfNf}Nf}{{{d{Nf}}Nf}f}{{{d{CH`}}Nf}f}{{}c{}}0000{Nfc{}}{{{d{BL`}}}f}{{{d{Nf}}}f}{{{d{CH`}}}f}102{{{d{Nf}}}{{Gd{Nf}}}}{{{d{Nf}}}{{Gf{Nf}}}}{{}{{Af{CbCd}}}}0000``{NfNf}````{d}0000``={{{d{Nf}}n{Cf{c}}}n{}}{{{d{BL`}}c{Cf{e}}}n{}{}}{{{d{Nf}}c}AfCl}{{{d{Nf}}{d{hc}}}{{Af{n}}}{ChCj}}{{{d{BL`}}c}AfCl}{{{d{BL`}}{d{hc}}}{{Af{e}}}{ChCj}{}}{{d{d{hc}}}{{Af{Cn}}}{}}0{{{d{hNf}}Nff}n}{{NfNf}Nf}{{{d{hNf}}Nf}n}1{{{d{CH`}}}{{Bl{Nf}}}}{{{d{CH`}}}Nf}0{dc{}}00{{{d{Nf}}{d{b}}{d{hDd}}}{{Af{Df{Bf{Bd}}}}}}{{{d{Nf}}}{{BEj{Dh}}}}{{{d{CH`}}{d{b}}{d{hDd}}}{{Af{Df{Bf{Bd}}}}}}206{c{{Af{e}}}{}{}}0000{{}{{Af{c}}}{}}0000{dDn}0000:{{}c{}}0000`````````````````````````````{{{d{b}}}f}00{{}CHb}{d}000``{{CHbCHb}CHb}{{{d{hCHb}}CHb}n}10{{{d{CHb}}}O`}0{{{d{CHd}}}O`}32{d{{d{c}}}{}}0000000000{{{d{h}}}{{d{hc}}}{}}0000000000{d{{d{j}}}}0{{{d{hc}}}{{Af{n}}}{ChCj}}000{{{d{CHf}}}CHf}{{{d{CHb}}}CHb}{{{d{CHd}}}CHd}{{{d{CHh}}}CHh}{{{d{CHj}}}CHj}{{d{d{hc}}}n{}}0000{dn}0000{Ab{{BEh{CHb}}}}{CHbCHb}{{{d{CHb}}CHb}f}{{{d{CHd}}CHb}f}{c{{Af{CHb}}}Ah}{{{d{CHd}}{d{hc}}}{{Af{CHb}}}{ChCj}}{c{{Af{CHh}}}Ah}{c{{Af{CHj}}}Ah}{{CHbCHb}CHb}{{}CHb}{{{d{CHf}}{d{CHf}}}f}{{{d{CHb}}{d{CHb}}}f}{{{d{CHb}}{d{CHd}}}f}{{{d{CHd}}{d{CHd}}}f}{{{d{CHd}}{d{CHb}}}f}{{d{d{c}}}f{}}00000000000{{{d{hCHb}}c}n{{Fn{}{{E`{CHb}}}}}}``{{{d{CHf}}{d{hAl}}}G`}{{{d{CHb}}{d{hAl}}}G`}0000{{{d{CHd}}{d{hAl}}}G`}{{{d{CHh}}{d{hAl}}}G`}{{{d{CHj}}{d{hAl}}}G`}{cc{}}000{CHfCHb}{CHdCHb}2222222{O`{{Bl{CHb}}}}{O`CHb}00{D`{{Bl{CHf}}}}{cCHb{{Fn{}{{E`{CHb}}}}}}{{{d{Bh}}}{{Bl{CHb}}}}{CHbCHd}{{{d{b}}{d{{Bb{B`}}}}}{{Af{CHb{Bf{Bd}}}}}}{Bj{{Bl{CHf}}}}{{{d{CHf}}{d{hc}}}nBn}{{{d{CHb}}{d{hc}}}nBn}``{{{d{hCHb}}CHb}n}{{CHbCHb}CHb}{{{d{CHb}}CHb}f}{{{d{CHd}}CHb}f}{{}c{}}0000000000{CHbc{}}{{{d{CHb}}}f}{{{d{CHd}}}f}10{{{d{CHb}}}{{Gd{CHb}}}}{{{d{CHb}}}{{Gf{CHb}}}}{CHbCHf}{{}{{Af{CbCd}}}}0000000000``{CHbCHb}````````{d}0000000000````={{{d{CHf}}c{Cf{e}}}n{}{}}{{{d{CHb}}n{Cf{c}}}n{}}{{{d{CHh}}c{Cf{e}}}n{}{}}{{{d{CHj}}c{Cf{e}}}n{}{}}``{{{d{CHf}}{d{hc}}}{{Af{e}}}{ChCj}{}}{{{d{CHb}}c}AfCl}{{{d{CHb}}{d{hc}}}{{Af{n}}}{ChCj}}{{{d{CHh}}c}AfCl}{{{d{CHh}}{d{hc}}}{{Af{e}}}{ChCj}{}}{{{d{CHj}}{d{hc}}}{{Af{e}}}{ChCj}{}}{{{d{CHj}}c}AfCl}{{d{d{hc}}}{{Af{Cn}}}{}}000{{{d{hCHb}}CHbf}n}{{CHbCHb}CHb}{{{d{hCHb}}CHb}n}1{{{d{CHf}}}{{Bl{D`}}}}{{{d{CHd}}}{{Bl{CHb}}}}{{{d{CHd}}}CHb}0{dc{}}0000{{{d{CHb}}}{{BEj{Dh}}}}{{{d{CHb}}{d{b}}{d{hDd}}}{{Af{Df{Bf{Bd}}}}}}{{{d{CHd}}{d{b}}{d{hDd}}}{{Af{Df{Bf{Bd}}}}}}10{{{d{CHf}}}{{Bl{Bj}}}}8``{O`{{Af{CHfc}}}{}}{ABn{{Af{CHfc}}}{}}{Hl{{Af{CHfc}}}{}}{D`{{Af{CHfc}}}{}}{c{{Af{e}}}{}{}}{B`{{Af{CHfc}}}{}}{C`{{Af{CHfc}}}{}}{Nh{{Af{CHfc}}}{}}{Bj{{Af{CHfc}}}{}}4444444444{{}{{Af{c}}}{}}0000000000{dDn}0000000000{{CHbCHb}CHb}{{}c{}}0000000000``````{d}0``{d{{d{c}}}{}}00000{{{d{h}}}{{d{hc}}}{}}00000{{{d{hc}}}{{Af{n}}}{ChCj}}0{{{d{CHl}}}CHl}{{{d{CHn}}}CHn}{{d{d{hc}}}n{}}0{dn}0{c{{Af{CHl}}}Ah}{c{{Af{CHn}}}Ah}````{{{d{CHl}}{d{hAl}}}G`}{{{d{CHn}}{d{hAl}}}G`}{cc{}}00000======{{}{{Af{CbCd}}}}00000======{{{d{CHl}}c{Cf{e}}}n{}{}}{{{d{CHn}}c{Cf{e}}}n{}{}}{{{d{CHl}}{d{hc}}}{{Af{e}}}{ChCj}{}}{{{d{CHl}}c}AfCl}{{{d{CHn}}{d{hc}}}{{Af{e}}}{ChCj}{}}{{{d{CHn}}c}AfCl}{{d{d{hc}}}{{Af{Cn}}}{}}0{dc{}}0{c{{Af{e}}}{}{}}00000{{}{{Af{c}}}{}}00000{dDn}00000{{}c{}}00000`````{d{{d{c}}}{}}{{{d{h}}}{{d{hc}}}{}}{{{d{CI`}}{d{hc}}}{{Af{{Bl{Aj}}}}}{ChCj}}{{{d{CI`}}{d{hc}}}{{Af{{Bl{l}}}}}{ChCj}}{cc{}}5{{}{{Af{CbCd}}}}{d}{{{d{{Bl{l}}}}Cf}n}{{{d{{Bl{l}}}}{d{hc}}}Af{ChCj}}<;:9````288887777{{{d{hc}}}{{Af{n}}}{ChCj}}{{{d{CIb}}}CIb}{{{d{CId}}}CId}{{d{d{hc}}}n{}}0{dn}0{c{{Af{CIb}}}Ah}{c{{Af{CId}}}Ah}``{{{d{CIb}}{d{hAl}}}G`}{{{d{CId}}{d{hAl}}}G`}===={{}c{}}000====``<<<<``{{{d{CId}}c{Cf{e}}}n{}{}}`{{{d{CIb}}c}AfCl}{{{d{CId}}c}AfCl}{{{d{CId}}{d{hc}}}{{Af{e}}}{ChCj}{}}{{d{d{hc}}}{{Af{Cn}}}{}}{dc{}}0{c{{Af{e}}}{}{}}000{{}{{Af{c}}}{}}000{dDn}0009999``````{{{d{b}}}f}00{{}CIf}{d}0{{CIfCIf}CIf}{{{d{hCIf}}CIf}n}10{{{d{CIf}}}O`}0{{{d{CIh}}}O`}32{d{{d{c}}}{}}0000{{{d{h}}}{{d{hc}}}{}}0000{d{{d{j}}}}0{{{d{hc}}}{{Af{n}}}{ChCj}}0{{{d{CIf}}}CIf}{{{d{CIh}}}CIh}{{{d{CIj}}}CIj}{{d{d{hc}}}n{}}00{dn}00{Ab{{BEh{CIf}}}}{CIfCIf}{{{d{CIf}}CIf}f}{{{d{CIh}}CIf}f}{c{{Af{CIf}}}Ah}{{{d{CIh}}{d{hc}}}{{Af{CIf}}}{ChCj}}{c{{Af{CIj}}}Ah}{{CIfCIf}CIf}{{}CIf}{{{d{CIf}}{d{CIf}}}f}{{{d{CIf}}{d{CIh}}}f}{{{d{CIh}}{d{CIf}}}f}{{{d{CIh}}{d{CIh}}}f}{{d{d{c}}}f{}}0000000{{{d{hCIf}}c}n{{Fn{}{{E`{CIf}}}}}}``{{{d{CIf}}{d{hAl}}}G`}0000{{{d{CIh}}{d{hAl}}}G`}{{{d{CIj}}{d{hAl}}}G`}{CIhCIf}{cc{}}0000{O`{{Bl{CIf}}}}{O`CIf}00{cCIf{{Fn{}{{E`{CIf}}}}}}{{{d{Bh}}}{{Bl{CIf}}}}{CIfCIh}{{{d{b}}{d{{Bb{B`}}}}}{{Af{CIf{Bf{Bd}}}}}}{{{d{CIf}}{d{hc}}}nBn}``{{{d{hCIf}}CIf}n}{{CIfCIf}CIf}{{{d{CIf}}CIf}f}{{{d{CIh}}CIf}f}{{}c{}}0000{CIfc{}}{{{d{CIf}}}f}{{{d{CIh}}}f}10{{{d{CIf}}}{{Gd{CIf}}}}{{{d{CIf}}}{{Gf{CIf}}}}{{}{{Af{CbCd}}}}0000{CIfCIf}``{d}0000<{{{d{CIf}}n{Cf{c}}}n{}}{{{d{CIj}}c{Cf{e}}}n{}{}}{{{d{CIf}}c}AfCl}{{{d{CIf}}{d{hc}}}{{Af{n}}}{ChCj}}{{{d{CIj}}c}AfCl}{{{d{CIj}}{d{hc}}}{{Af{e}}}{ChCj}{}}{{d{d{hc}}}{{Af{Cn}}}{}}0{{{d{hCIf}}CIff}n}{{CIfCIf}CIf}{{{d{hCIf}}CIf}n}1{{{d{CIh}}}{{Bl{CIf}}}}{{{d{CIh}}}CIf}0{dc{}}00{{{d{CIf}}}{{BEj{Dh}}}}{{{d{CIf}}{d{b}}{d{hDd}}}{{Af{Df{Bf{Bd}}}}}}{{{d{CIh}}{d{b}}{d{hDd}}}{{Af{Df{Bf{Bd}}}}}}106{c{{Af{e}}}{}{}}0000{{}{{Af{c}}}{}}0000{dDn}0000:{{}c{}}0000````````````````````````````````````````````````````````````````````````````````````````````````````{{{d{b}}}f}0000000000{{}CIl}{{}CIn}{{}AFf}{{}AFh}{d}00000000000``````{{CIlCIl}CIl}{{CInCIn}CIn}{{AFfAFf}AFf}{{AFhAFh}AFh}{{{d{hCIl}}CIl}n}{{{d{hCIn}}CIn}n}{{{d{hAFf}}AFf}n}{{{d{hAFh}}AFh}n}76543210{{{d{CIl}}}Hl}0{{{d{CJ`}}}Hl}{{{d{CIn}}}Hl}0{{{d{CJb}}}Hl}{{{d{AFf}}}Hl}0{{{d{AFh}}}Hl}0{{{d{CJd}}}Hl}{{{d{CJf}}}Hl}``?>=<;:98{d{{d{c}}}{}}0000000000000000000000000000{{{d{h}}}{{d{hc}}}{}}0000000000000000000000000000{d{{d{j}}}}000000````{{{d{hc}}}{{Af{n}}}{ChCj}}00000000000{{{d{hAF`}}}n}{{{d{CJh}}}CJh}{{{d{CJj}}}CJj}{{{d{CJl}}}CJl}{{{d{CJn}}}CJn}{{{d{CK`}}}CK`}{{{d{CKb}}}CKb}{{{d{CIl}}}CIl}{{{d{CJ`}}}CJ`}{{{d{AF`}}}AF`}{{{d{CIn}}}CIn}{{{d{CJb}}}CJb}{{{d{CKd}}}CKd}{{{d{AFf}}}AFf}{{{d{AFh}}}AFh}{{{d{CJd}}}CJd}{{{d{CJf}}}CJf}{{{d{CKf}}}CKf}{{{d{BLb}}}BLb}{{{d{AFd}}}AFd}{{{d{CKh}}}CKh}{{{d{BKn}}}BKn}{{d{d{hc}}}n{}}00000000000000000000{dn}00000000000000000000{{{d{CJj}}{d{CJj}}}A`}{{{d{CJn}}{d{CJn}}}A`}{{{d{CKb}}{d{CKb}}}A`}{{{d{CKd}}{d{CKd}}}A`}{{{d{CKh}}{d{CKh}}}A`}{{{d{CKf}}}Nh}{Ab{{BEh{CIl}}}}{Ab{{BEh{AFf}}}}{Ab{{BEh{AFh}}}}{Ab{{BEh{AFd}}}}{{d{d{c}}}A`{}}0000{CIlCIl}{CInCIn}{AFfAFf}{AFhAFh}{{{d{CIl}}CIl}f}{{{d{CJ`}}CIl}f}{{{d{CIn}}CIn}f}{{{d{CJb}}CIn}f}{{{d{AFf}}AFf}f}{{{d{AFh}}AFh}f}{{{d{CJd}}AFf}f}{{{d{CJf}}AFh}f}{{}CJh}{{}CJl}{{}CK`}{{}CIl}{{}AFf}{{}AFh}{{}CKf}{{}AFd}{c{{Af{CJh}}}Ah}{{{d{CJj}}{d{hc}}}{{Af{CJh}}}{ChCj}}{c{{Af{CJl}}}Ah}{{{d{CJn}}{d{hc}}}{{Af{CJl}}}{ChCj}}{c{{Af{CK`}}}Ah}{{{d{CKb}}{d{hc}}}{{Af{CK`}}}{ChCj}}{c{{Af{CIl}}}Ah}{{{d{CJ`}}{d{hc}}}{{Af{CIl}}}{ChCj}}{c{{Af{AF`}}}Ah}{c{{Af{CIn}}}Ah}{{{d{CJb}}{d{hc}}}{{Af{CIn}}}{ChCj}}{c{{Af{AFf}}}Ah}{c{{Af{AFh}}}Ah}{{{d{CJd}}{d{hc}}}{{Af{AFf}}}{ChCj}}{{{d{CJf}}{d{hc}}}{{Af{AFh}}}{ChCj}}{c{{Af{CKf}}}Ah}{c{{Af{BLb}}}Ah}{c{{Af{AFd}}}Ah}{{{d{CKh}}{d{hc}}}{{Af{AFd}}}{ChCj}}{c{{Af{BKn}}}Ah}{{CIlCIl}CIl}{{CInCIn}CIn}{{AFfAFf}AFf}{{AFhAFh}AFh}``{CInCKd}``{{}CIl}{{}CIn}{{}AFf}{{}AFh}`{{{d{CJh}}{d{CJh}}}f}{{{d{CJj}}{d{CJj}}}f}{{{d{CJl}}{d{CJl}}}f}{{{d{CJn}}{d{CJn}}}f}{{{d{CK`}}{d{CK`}}}f}{{{d{CKb}}{d{CKb}}}f}{{{d{CIl}}{d{CJ`}}}f}{{{d{CIl}}{d{CIl}}}f}{{{d{CJ`}}{d{CJ`}}}f}{{{d{CJ`}}{d{CIl}}}f}{{{d{CIn}}{d{CJb}}}f}{{{d{CIn}}{d{CIn}}}f}{{{d{CJb}}{d{CJb}}}f}{{{d{CJb}}{d{CIn}}}f}{{{d{CKd}}{d{CKd}}}f}{{{d{AFf}}{d{AFf}}}f}{{{d{AFf}}{d{CJd}}}f}{{{d{AFh}}{d{AFh}}}f}{{{d{AFh}}{d{CJf}}}f}{{{d{CJd}}{d{AFf}}}f}{{{d{CJd}}{d{CJd}}}f}{{{d{CJf}}{d{AFh}}}f}{{{d{CJf}}{d{CJf}}}f}{{{d{AFd}}{d{AFd}}}f}{{{d{CKh}}{d{CKh}}}f}{{d{d{c}}}f{}}0000000000000000000000000000000000000000000000000000000000000000000{{{d{hCIl}}c}n{{Fn{}{{E`{CIl}}}}}}{{{d{hCIn}}c}n{{Fn{}{{E`{CIn}}}}}}{{{d{hAFf}}c}n{{Fn{}{{E`{AFf}}}}}}{{{d{hAFh}}c}n{{Fn{}{{E`{AFh}}}}}}``{CInB`}````{{{d{CJh}}{d{hAl}}}G`}{{{d{CJj}}{d{hAl}}}G`}{{{d{CJl}}{d{hAl}}}G`}{{{d{CJn}}{d{hAl}}}G`}{{{d{CK`}}{d{hAl}}}G`}{{{d{CKb}}{d{hAl}}}G`}{{{d{CIl}}{d{hAl}}}G`}0000{{{d{CJ`}}{d{hAl}}}G`}{{{d{AF`}}{d{hAl}}}G`}{{{d{CIn}}{d{hAl}}}G`}0000{{{d{CJb}}{d{hAl}}}G`}{{{d{CKd}}{d{hAl}}}G`}{{{d{AFf}}{d{hAl}}}G`}0000{{{d{AFh}}{d{hAl}}}G`}0000{{{d{CJd}}{d{hAl}}}G`}{{{d{CJf}}{d{hAl}}}G`}{{{d{CKf}}{d{hAl}}}G`}{{{d{BLb}}{d{hAl}}}G`}{{{d{AFd}}{d{hAl}}}G`}{{{d{CKh}}{d{hAl}}}G`}{{{d{BKn}}{d{hAl}}}G`}``{cc{}}00000{BjCIl}{CJ`CIl}22222{CJbCIn}333{CJdAFf}44{CJfAFh}5555555555555{Hl{{Bl{CIl}}}}{Hl{{Bl{CIn}}}}{Hl{{Bl{AFf}}}}{Hl{{Bl{AFh}}}}{HlCIl}0{HlCIn}0{HlAFf}0{HlAFh}032102{D`{{Bl{AFd}}}}{cCIl{{Fn{}{{E`{CIl}}}}}}{cCIn{{Fn{}{{E`{CIn}}}}}}{cAFf{{Fn{}{{E`{AFf}}}}}}{cAFh{{Fn{}{{E`{AFh}}}}}}{{{d{Bh}}}{{Bl{CIl}}}}{{{d{Bh}}}{{Bl{CIn}}}}{{{d{Bh}}}{{Bl{AFf}}}}{{{d{Bh}}}{{Bl{AFh}}}}{CIlCJ`}{CInCJb}{AFfCJd}{AFhCJf}{{{d{b}}{d{{Bb{B`}}}}}{{Af{CIl{Bf{Bd}}}}}}{{{d{b}}{d{{Bb{B`}}}}}{{Af{AFf{Bf{Bd}}}}}}{{{d{b}}{d{{Bb{B`}}}}}{{Af{AFh{Bf{Bd}}}}}}{{{d{b}}{d{{Bb{B`}}}}}{{Af{AFd{Bf{Bd}}}}}}{Bj{{Bl{AFd}}}}{{{d{CJj}}}CJh}{{{d{CJn}}}CJl}{{{d{CKb}}}CK`}{{{d{CKh}}}AFd}{{{d{CJh}}{d{hc}}}nBn}{{{d{CJj}}{d{hc}}}nBn}{{{d{CJl}}{d{hc}}}nBn}{{{d{CJn}}{d{hc}}}nBn}{{{d{CK`}}{d{hc}}}nBn}{{{d{CKb}}{d{hc}}}nBn}{{{d{CIl}}{d{hc}}}nBn}{{{d{CIn}}{d{hc}}}nBn}{{{d{CKd}}{d{hc}}}nBn}{{{d{AFf}}{d{hc}}}nBn}{{{d{AFh}}{d{hc}}}nBn}{{{d{AFd}}{d{hc}}}nBn}{{{d{CKh}}{d{hc}}}nBn}``{{{d{hCIl}}CIl}n}{{{d{hCIn}}CIn}n}{{{d{hAFf}}AFf}n}{{{d{hAFh}}AFh}n}{{CIlCIl}CIl}{{CInCIn}CIn}{{AFfAFf}AFf}{{AFhAFh}AFh}{{{d{CIl}}CIl}f}{{{d{CJ`}}CIl}f}{{{d{CIn}}CIn}f}{{{d{CJb}}CIn}f}{{{d{AFf}}AFf}f}{{{d{AFh}}AFh}f}{{{d{CJd}}AFf}f}{{{d{CJf}}AFh}f}{{}c{}}0000000000000000000000000000{CIlc{}}{CInc{}}{AFfc{}}{AFhc{}}{{{d{CIl}}}f}{{{d{CJ`}}}f}{{{d{CIn}}}f}{{{d{CJb}}}f}{{{d{AFf}}}f}{{{d{AFh}}}f}{{{d{CJd}}}f}{{{d{CJf}}}f}76543210{{{d{CIl}}}{{Gd{CIl}}}}{{{d{CIn}}}{{Gd{CIn}}}}{{{d{AFf}}}{{Gd{AFf}}}}{{{d{AFh}}}{{Gd{AFh}}}}{{{d{CIl}}}{{Gf{CIl}}}}{{{d{CIn}}}{{Gf{CIn}}}}{{{d{AFf}}}{{Gf{AFf}}}}{{{d{AFh}}}{{Gf{AFh}}}}``{{}{{Af{CbCd}}}}0000000000000000000000000000``{CIlCIl}{CInCIn}{AFfAFf}{AFhAFh}``{{{d{CKf}}}f}``{{{d{CJj}}{d{CJj}}}{{Bl{A`}}}}{{{d{CJn}}{d{CJn}}}{{Bl{A`}}}}{{{d{CKb}}{d{CKb}}}{{Bl{A`}}}}{{{d{CKd}}{d{CKd}}}{{Bl{A`}}}}{{{d{AFd}}{d{AFd}}}{{Bl{A`}}}}{{{d{CKh}}{d{CKh}}}{{Bl{A`}}}}``{d}0000000000000000000000000000```{CInB`}``````{{{d{hCIl}}CIl}n}{{{d{hCIn}}CIn}n}{{{d{hAFf}}AFf}n}{{{d{hAFh}}AFh}n}{{{d{CJh}}c{Cf{e}}}n{}{}}{{{d{CJl}}c{Cf{e}}}n{}{}}{{{d{CK`}}c{Cf{e}}}n{}{}}{{{d{CIl}}n{Cf{c}}}n{}}{{{d{AF`}}c{Cf{e}}}n{}{}}{{{d{CIn}}n{Cf{c}}}n{}}{{{d{AFf}}n{Cf{c}}}n{}}{{{d{AFh}}n{Cf{c}}}n{}}{{{d{CKf}}c{Cf{e}}}n{}{}}{{{d{BLb}}c{Cf{e}}}n{}{}}{{{d{AFd}}c{Cf{e}}}n{}{}}{{{d{BKn}}c{Cf{e}}}n{}{}}{{{d{CKf}}}CKj}{{{d{CJh}}{d{hc}}}{{Af{n}}}{ChCj}}{{{d{CJh}}c}AfCl}{{{d{CJl}}{d{hc}}}{{Af{n}}}{ChCj}}{{{d{CJl}}c}AfCl}{{{d{CK`}}{d{hc}}}{{Af{n}}}{ChCj}}{{{d{CK`}}c}AfCl}{{{d{CIl}}{d{hc}}}{{Af{n}}}{ChCj}}{{{d{CIl}}c}AfCl}{{{d{AF`}}{d{hc}}}{{Af{e}}}{ChCj}{}}{{{d{AF`}}c}AfCl}{{{d{CIn}}c}AfCl}{{{d{CIn}}{d{hc}}}{{Af{n}}}{ChCj}}{{{d{AFf}}c}AfCl}{{{d{AFf}}{d{hc}}}{{Af{n}}}{ChCj}}{{{d{AFh}}{d{hc}}}{{Af{n}}}{ChCj}}{{{d{AFh}}c}AfCl}{{{d{CKf}}c}AfCl}{{{d{CKf}}{d{hc}}}{{Af{e}}}{ChCj}{}}{{{d{BLb}}c}AfCl}{{{d{BLb}}{d{hc}}}{{Af{e}}}{ChCj}{}}{{{d{AFd}}c}AfCl}{{{d{AFd}}{d{hc}}}{{Af{n}}}{ChCj}}{{{d{BKn}}c}AfCl}{{{d{BKn}}{d{hc}}}{{Af{e}}}{ChCj}{}}{{d{d{hc}}}{{Af{Cn}}}{}}00000000000{{{d{hCIl}}CIlf}n}{{{d{hCIn}}CInf}n}{{{d{hAFf}}AFff}n}{{{d{hAFh}}AFhf}n}````{{CIlCIl}CIl}{{CInCIn}CIn}{{AFfAFf}AFf}{{AFhAFh}AFh}{{{d{hCIl}}CIl}n}{{{d{hCIn}}CIn}n}{{{d{hAFf}}AFf}n}{{{d{hAFh}}AFh}n}7654````{{{d{AFd}}}{{Bl{D`}}}}{{{d{CJ`}}}{{Bl{CIl}}}}{{{d{CJb}}}{{Bl{CIn}}}}{{{d{CJd}}}{{Bl{AFf}}}}{{{d{CJf}}}{{Bl{AFh}}}}{{{d{CJ`}}}CIl}{{{d{CJb}}}CIn}{{{d{CJd}}}AFf}{{{d{CJf}}}AFh}3210{dc{}}00000000000000000000{{{d{CIl}}}{{BEj{Dh}}}}{{{d{CIl}}{d{b}}{d{hDd}}}{{Af{Df{Bf{Bd}}}}}}{{{d{CJ`}}{d{b}}{d{hDd}}}{{Af{Df{Bf{Bd}}}}}}{{{d{AFf}}{d{b}}{d{hDd}}}{{Af{Df{Bf{Bd}}}}}}{{{d{AFf}}}{{BEj{Dh}}}}{{{d{AFh}}{d{b}}{d{hDd}}}{{Af{Df{Bf{Bd}}}}}}{{{d{AFh}}}{{BEj{Dh}}}}{{{d{CJd}}{d{b}}{d{hDd}}}{{Af{Df{Bf{Bd}}}}}}{{{d{CJf}}{d{b}}{d{hDd}}}{{Af{Df{Bf{Bd}}}}}}{{{d{AFd}}{d{b}}{d{hDd}}}{{Af{Df{Bf{Bd}}}}}}{{{d{AFd}}}{{BEj{Dh}}}}9875321{{{d{AFd}}}{{Bl{Bj}}}}{{{d{hCIl}}CIl}n}{{{d{hCIn}}CIn}n}{{{d{hAFf}}AFf}n}{{{d{hAFh}}AFh}n}{c{{Af{e}}}{}{}}000000000000000000000000{Hl{{Af{AFdc}}}{}}{D`{{Af{AFdc}}}{}}{B`{{Af{AFdc}}}{}}{C`{{Af{AFdc}}}{}}{Nh{{Af{AFdc}}}{}}{O`{{Af{AFdc}}}{}}{ABn{{Af{AFdc}}}{}}{Bj{{Af{AFdc}}}{}}8888{{}{{Af{c}}}{}}0000000000000000000000000000{dDn}0000000000000000000000000000````{{CIlCIl}CIl}{{CInCIn}CIn}{{AFfAFf}AFf}{{AFhAFh}AFh}````{{}c{}}0000000000000000000000000000{{CInCKd}CIn}````````````{d}000{d{{d{c}}}{}}00000000000{{{d{h}}}{{d{hc}}}{}}00000000000{{{d{hc}}}{{Af{n}}}{ChCj}}000{{{d{CKl}}}CKl}{{{d{CKn}}}CKn}{{{d{CL`}}}CL`}{{{d{CLb}}}CLb}{{d{d{hc}}}n{}}000{dn}000{{}CKl}{{}CKn}{{}CL`}{{}CLb}{{{d{CKl}}}{{d{C`}}}}{{{d{CKn}}}{{d{CKj}}}}{{{d{CL`}}}{{d{B`}}}}{{{d{CLb}}}{{d{B`}}}}{{{d{hCKl}}}{{d{hC`}}}}{{{d{hCKn}}}{{d{hCKj}}}}{{{d{hCL`}}}{{d{hB`}}}}{{{d{hCLb}}}{{d{hB`}}}}{c{{Af{CKl}}}Ah}{c{{Af{CKn}}}Ah}{c{{Af{CL`}}}Ah}{c{{Af{CLb}}}Ah}{{{d{CKl}}{d{CKl}}}f}{{{d{CKn}}{d{CKn}}}f}{{{d{CL`}}{d{CL`}}}f}{{{d{CLb}}{d{CLb}}}f}{{{d{CKl}}{d{hAl}}}G`}{{{d{CKn}}{d{hAl}}}G`}{{{d{CL`}}{d{hAl}}}G`}{{{d{CLb}}{d{hAl}}}G`}{cc{}}00000000000{{}c{}}00000000000{{}{{Af{CbCd}}}}00000000000{{{d{CKl}}{d{CKl}}}{{Bl{A`}}}}{{{d{CKn}}{d{CKn}}}{{Bl{A`}}}}{{{d{CL`}}{d{CL`}}}{{Bl{A`}}}}{{{d{CLb}}{d{CLb}}}{{Bl{A`}}}}{d}00000000000{{{d{CKl}}c{Cf{e}}}n{}{}}{{{d{CKn}}c{Cf{e}}}n{}{}}{{{d{CL`}}c{Cf{e}}}n{}{}}{{{d{CLb}}c{Cf{e}}}n{}{}}{{{d{CKl}}{d{hc}}}{{Af{e}}}{ChCj}{}}{{{d{CKl}}c}AfCl}{{{d{CKn}}{d{hc}}}{{Af{e}}}{ChCj}{}}{{{d{CKn}}c}AfCl}{{{d{CL`}}{d{hc}}}{{Af{e}}}{ChCj}{}}{{{d{CL`}}c}AfCl}{{{d{CLb}}c}AfCl}{{{d{CLb}}{d{hc}}}{{Af{e}}}{ChCj}{}}{{d{d{hc}}}{{Af{Cn}}}{}}000{dc{}}000{c{{Af{e}}}{}{}}00000000000{{}{{Af{c}}}{}}00000000000{dDn}00000000000{{}c{}}00000000000`````{d}{{{d{hBAh}}}{{d{hBh}}}}{{{d{BAh}}}{{d{Bh}}}}{{{d{BAh}}}{{d{{Bb{B`}}}}}}1{d{{d{c}}}{}}{{{d{h}}}{{d{hc}}}{}}{{{d{hc}}}{{Af{n}}}{ChCj}}{{{d{BAh}}}BAh}{{d{d{hc}}}n{}}{dn}78{{{d{BAh}}{d{hc}}}{{Af{BAh}}}{ChCj}}{c{{Af{BAh}}}Ah}{{{d{BAh}}{d{BAh}}}f}{{d{d{c}}}f{}}000{{{d{BAh}}{d{hAl}}}G`}0{cc{}}{{{AOn{B`}}}BAh}{{{d{BAh}}{d{hc}}}nBn}{{}c{}}{{}{{Af{CbCd}}}}{{{d{Bh}}}BAh}{d}{ALhBAh}{{{d{BAh}}c{Cf{e}}}n{}{}}{{{d{BAh}}{d{hc}}}{{Af{e}}}{ChCj}{}}{{{d{BAh}}c}AfCl}{{d{d{hc}}}{{Af{Cn}}}{}}{dc{}}{dDb}{dDl}{{{d{Bh}}}{{Bl{BAh}}}}{c{{Af{e}}}{}{}}{{}{{Af{c}}}{}}{dDn}?``{{{d{b}}}f}0={{{d{Mh}}}{{d{{Bb{B`}}}}}}{{{d{CLd}}}{{d{{Bb{B`}}}}}}{{{d{hMh}}}{{d{hBh}}}}{{{d{hMh}}}{{d{h{Nn{B`}}}}}}3{{{d{Mh}}}{{d{Bh}}}}00{d{{d{c}}}{}}0{{{d{h}}}{{d{hc}}}{}}40{d{{d{j}}}}{{{d{hMh}}}n}{{{d{Mh}}}Mh}{{{d{CLd}}}CLd}{{d{d{hc}}}n{}}0{dn}0{{{d{Mh}}{d{Mh}}}A`}{{d{d{c}}}A`{}}{{}Mh};={c{{Af{Mh}}}Ah}{{{d{Mh}}{d{Mh}}}f}{{{d{Mh}}{d{Bh}}}f}{{{d{Mh}}{d{Dl}}}f}{{{d{Mh}}{d{{BAj{Bh}}}}}f}{{{d{Mh}}{d{{d{Bh}}}}}f}{{{d{CLd}}{d{CLd}}}f}{{d{d{c}}}f{}}0000000{{{d{hMh}}c}n{{Fn{}{{E`{{d{Bh}}}}}}}}{{{d{hMh}}c}n{{Fn{}{{E`{{d{ALh}}}}}}}}{{{d{hMh}}c}n{{Fn{}{{E`{ALh}}}}}}{{{d{hMh}}c}n{{Fn{}{{E`{{BAj{Bh}}}}}}}}{{{d{hMh}}c}n{{Fn{}{{E`{{Bf{Bh}}}}}}}}{{{d{hMh}}c}n{{Fn{}{{E`{Dl}}}}}}{{{d{hMh}}c}n{{Fn{}{{E`{Mh}}}}}}{{{d{Mh}}{d{hAl}}}G`}0{{{d{CLd}}{d{hAl}}}G`}0{{{BAj{Bh}}}Mh}{{{d{hBh}}}Mh}{{{d{Bh}}}Mh}{DlMh}{{{d{Dl}}}Mh}{{{Bf{Bh}}}Mh}{cc{}}{ALhMh}1{cMh{{Fn{}{{E`{{d{Bh}}}}}}}}{cMh{{Fn{}{{E`{ALh}}}}}}{cMh{{Fn{}{{E`{{d{ALh}}}}}}}}{cMh{{Fn{}{{E`{Dl}}}}}}{cMh{{Fn{}{{E`{Mh}}}}}}{{{d{b}}{d{{Bb{B`}}}}}{{Af{Mh{Bf{Bd}}}}}}{{{Nn{B`}}}{{Af{MhCLd}}}}{{{d{Mh}}{d{hc}}}nBn}{{}c{}}0{Mh{{Nn{B`}}}}{CLd{{Nn{B`}}}}{{{d{Mh}}}f}{{}{{Af{CbCd}}}}0{{{d{Mh}}}Cn}{{}Mh}{{{d{Mh}}{d{Mh}}}{{Bl{A`}}}}{d}0{{{d{hMh}}ALh}n}{{{d{hMh}}{d{Bh}}}n}{{{d{hMh}}Cn}n}0{{{d{Mh}}c{Cf{e}}}n{}{}}{{{d{Mh}}c}AfCl}{{{d{Mh}}{d{hc}}}{{Af{e}}}{ChCj}{}}{{d{d{hc}}}{{Af{Cn}}}{}}{{{d{hMh}}}n}{dc{}}0{dDb}0{{{d{Mh}}{d{b}}{d{hDd}}}{{Af{Df{Bf{Bd}}}}}}0{dDl}0{c{{Af{e}}}{}{}}0{{}{{Af{c}}}{}}0{dDn}0{{{d{CLd}}}{{d{CLf}}}}{{}c{}}0{CnMh}{{{d{hMh}}{d{Bh}}}G`}","D":"AFJdCAl","p":[[5,"Type",14096],[1,"reference"],[1,"bool"],[0,"mut"],[10,"ToSql",14096],[5,"Snowflake",0,14097],[1,"unit"],[6,"Ordering",14098],[6,"ValueRef",14099],[6,"FromSqlError",14100],[6,"Result",14101],[10,"Deserializer",14102],[5,"ArchivedSnowflake",14103],[5,"Formatter",14104],[5,"Error",14104],[1,"u8"],[1,"slice"],[10,"Error",14105],[5,"Box",14106],[1,"str"],[1,"u64"],[6,"Option",14107],[10,"Hasher",14108],[1,"u16"],[5,"Layout",14109],[5,"LayoutError",14109],[5,"Place",14110],[10,"Fallible",14111],[10,"Sized",14112],[10,"Serializer",14113],[1,"usize"],[1,"i64"],[5,"SmolStr",5168,14114],[5,"BytesMut",14115],[6,"IsNull",14096],[6,"ToSqlOutput",14116],[6,"Error",14117],[5,"String",14118],[5,"TypeId",14119],[17,"Item"],[17,"Result"],[17,"Body"],[10,"Command",63,14120],[5,"HeaderMap",14121],[10,"CommandResult",63,14120],[10,"CommandBody",63,14120],[5,"CommandFlags",63,14120],[5,"RateLimit",63,14120],[5,"MissingItemError",63,14120],[17,"Output"],[10,"Future",14122],[10,"Send",14112],[10,"From",14123],[10,"Stream",14124],[10,"IntoIterator",14125],[8,"Result",14104],[10,"Write",14104],[5,"Iter",14126],[5,"IterNames",14126],[5,"Permissions",11378],[6,"AssetQuery",208],[5,"AssetFlags",5682],[5,"GetServerConfig",241],[5,"CreateFile",285],[5,"GetFilesystemStatus",285],[5,"GetFileStatus",285],[5,"FilesystemStatus",285],[5,"FileStatus",285],[5,"CreateFileBody",285],[1,"i32"],[8,"FileId",5662],[5,"GetInvite",577],[5,"RevokeInvite",577],[5,"RedeemInvite",577],[5,"RedeemInviteBody",577],[5,"GetParty",763],[5,"CreateParty",763],[5,"PatchParty",763],[5,"DeleteParty",763],[5,"TransferOwnership",763],[5,"CreateRole",763],[5,"PatchRole",763],[5,"DeleteRole",763],[5,"GetPartyMembers",763],[5,"GetPartyMember",763],[5,"GetPartyRooms",763],[5,"GetPartyInvites",763],[5,"GetMemberProfile",763],[5,"UpdateMemberProfile",763],[5,"CreatePartyInvite",763],[5,"CreatePinFolder",763],[5,"CreateRoom",763],[5,"SearchParty",763],[6,"CreateRoomKind",763],[5,"PartySettings",763],[5,"PatchPartyForm",763],[5,"PatchRoleForm",763],[5,"CreatePartyForm",763],[5,"CreateRoleForm",763],[5,"UpdateMemberProfileBody",763],[5,"CreatePartyInviteBody",763],[5,"CreatePinFolderForm",763],[5,"CreateRoomForm",763],[5,"SearchQuery",763],[5,"ArchivedPatchPartyForm",763],[5,"ArchivedPatchRoleForm",763],[8,"PartyId",5662],[5,"ThinString",13982],[5,"PartyFlags",10628],[6,"Nullable",10579],[8,"RoomId",5662],[6,"BannerAlign",3352],[8,"UserId",5662],[8,"RoleId",5662],[5,"RoleFlags",11841],[1,"u32"],[5,"UpdateUserProfileBody",3352],[5,"Overwrite",11378],[5,"ThinVec",5168,14127],[1,"i16"],[5,"CreateMessage",2160],[5,"EditMessage",2160],[5,"DeleteMessage",2160],[5,"GetMessage",2160],[5,"StartTyping",2160],[5,"GetMessages",2160],[5,"PinMessage",2160],[5,"UnpinMessage",2160],[5,"StarMessage",2160],[5,"UnstarMessage",2160],[5,"PutReaction",2160],[5,"DeleteOwnReaction",2160],[5,"DeleteUserReaction",2160],[5,"DeleteAllReactions",2160],[5,"GetReactions",2160],[5,"GetRoom",2160],[5,"PatchRoom",2160],[5,"DeleteRoom",2160],[5,"StartTypingBody",2160],[5,"GetMessagesQuery",2160],[5,"PatchRoomForm",2160],[5,"CreateMessageBody",2160],[5,"EditMessageBody",2160],[5,"GetReactionsForm",2160],[5,"ArchivedPatchRoomForm",2160],[6,"Embed",6012],[8,"MessageId",5662],[6,"Cursor",5168],[8,"FolderId",5662],[6,"EmoteOrEmoji",10042],[1,"i8"],[5,"UserRegister",3352],[5,"UserLogin",3352],[5,"UserLogout",3352],[5,"Enable2FA",3352],[5,"Confirm2FA",3352],[5,"Remove2FA",3352],[5,"ChangePassword",3352],[5,"GetSessions",3352],[5,"ClearSessions",3352],[5,"GetRelationships",3352],[5,"PatchRelationship",3352],[5,"UpdateUserProfile",3352],[5,"GetUser",3352],[5,"UpdateUserPrefs",3352],[5,"Added2FA",3352],[5,"PatchRelationshipBody",3352],[5,"UserRegisterForm",3352],[5,"UserLoginForm",3352],[5,"Enable2FAForm",3352],[5,"Confirm2FAForm",3352],[5,"Remove2FAForm",3352],[5,"ChangePasswordForm",3352],[5,"ClearSessionsForm",3352],[5,"UpdateUserPrefsBody",3352],[5,"UserPreferences",12686,14128],[5,"Timestamp",5168,14129],[6,"UserRelationship",12686,14130],[5,"UserProfileBits",12686],[5,"ExtraUserProfileBits",12686],[5,"ApiError",4581],[6,"ApiErrorCode",4581,14131],[5,"ArchivedApiErrorCode",4581,14131],[5,"ArchivedApiError",4581],[5,"Error",14132],[5,"StatusCode",14133],[5,"GatewayQueryParams",4768],[5,"Client",4791],[6,"AuthToken",5815],[5,"Driver",4839],[6,"ClientError",4791,14134],[6,"DriverError",4839,14135],[5,"Error",14136],[5,"Client",14137],[6,"Encoding",4839],[5,"Mime",14138],[5,"File",14139],[10,"Into",14123],[10,"FnMut",14140],[10,"AsyncRead",14141],[6,"Error",14142],[6,"Error",14143],[5,"ToStrError",14144],[5,"ParseIntError",14145],[6,"ParseError",14146],[6,"Error",14147],[5,"Error",14148],[5,"InvalidHeaderValue",14144],[5,"Arc",14149],[5,"Bytes",14150],[5,"StandardContext",4934,14151],[5,"Standard",4934],[10,"StandardErrorExt",4934,14152],[10,"ServerMsgHandlers",7825],[6,"StandardError",4934,14152],[6,"GatewayError",5047,14153],[5,"GatewayConnectionControl",5047,14154],[8,"StandardDynamicHandler",4934],[10,"Sync",14112],[10,"Fn",14140],[10,"FnOnce",14140],[6,"ClientMsg",7825],[5,"SendError",14155],[5,"UserPresence",11583],[5,"ArgumentSplitter",5001],[5,"Argument",5001],[5,"Range",14156],[1,"char"],[1,"tuple"],[10,"Iterator",14157],[6,"GatewayErrorCode",5047,14153],[5,"GatewayConnection",5047,14154],[5,"GatewaySocket",5047,14158],[6,"Error",14159],[5,"Pin",14160],[5,"Context",14161],[6,"Poll",14162],[8,"NonZeroUsize",14163],[20,"MaybeUninit",14164],[5,"Arc",5168,14165],[5,"OsStr",14166],[5,"Path",14167],[5,"UtcOffset",14168],[5,"OffsetDateTime",14169],[5,"ArcBorrow",14170],[5,"FxRandomState2",5168],[5,"Duration",14171],[10,"Clone",14172],[10,"Ord",14098],[10,"PartialEq",14098],[10,"Default",14173],[10,"Deserialize",14102],[5,"Drain",14127],[10,"RangeBounds",14156],[1,"array"],[5,"Vec",14174],[10,"Debug",14104],[10,"Display",14104],[5,"B1",14175],[5,"B0",14175],[5,"UTerm",14176],[5,"UInt",14176],[5,"FormatString",14177],[5,"TimestampStr",14177],[10,"Bit",14178],[10,"Unsigned",14178],[5,"SmolStrBuilder",14114],[5,"FixedStr",13938],[6,"Cow",14179],[10,"Copy",14112],[1,"never"],[5,"HeaderSlice",14180],[5,"ArchivedTimestamp",14181],[5,"PrimitiveDateTime",14182],[5,"SystemTime",14183],[10,"ExactSizeIterator",14184],[5,"OffsetArc",14185],[5,"ThinArc",14186],[5,"HeaderWithLength",14180],[10,"PartialOrd",14098],[5,"UniqueArc",14187],[10,"Hash",14108],[6,"c_void",14188],[5,"IntoIter",14127],[5,"IterMut",14189],[5,"Iter",14189],[5,"DynGuard",14190],[10,"AsRef",14123],[10,"Archive",14191],[10,"ArchiveUnsized",14191],[10,"Allocator",14192],[10,"Writer",14193],[10,"Serialize",14113],[10,"Serialize",14191],[10,"Sharing",14194],[10,"SerializeUnsized",14191],[5,"Splice",14127],[6,"Month",14195],[5,"ArchivedAssetFlags",5682],[8,"FromSqlResult",14100],[8,"Result",14196],[5,"InvalidAuthToken",5815],[5,"HeaderValue",14144],[5,"ArrayString",14197],[5,"ServerConfig",5891],[5,"ServerLimits",5891],[5,"EmbedFlags",6063],[5,"ArchivedEmbedFlags",6063],[6,"EmbedType",6063],[5,"EmbedV1",6063],[5,"EmbedFooter",6063],[5,"EmbedMedia",6063],[5,"BasicEmbedMedia",6063],[5,"EmbedProvider",6063],[5,"EmbedAuthor",6063],[5,"EmbedField",6063],[5,"ArchivedEmbedMedia",6063],[10,"BoxedEmbedMediaExt",6063],[10,"VisitMedia",6063],[5,"EmoteFlags",6666],[5,"ArchivedEmoteFlags",6666],[5,"CustomEmote",6666],[6,"Emote",6666],[5,"File",6895],[5,"Intent",6966],[5,"ArchivedIntent",6966],[5,"Identify",7100],[5,"SetPresence",7100],[5,"Hello",7196],[5,"ReadyParty",7196],[5,"Ready",7196],[5,"TypingStart",7196],[5,"PartyPositionUpdate",7196],[5,"Party",10628],[5,"ArchivedReadyParty",7196],[5,"UserPresenceEvent",7196],[5,"MessageDeleteEvent",7196],[5,"RoleDeleteEvent",7196],[5,"RoomDeleteEvent",7196],[5,"PartyMemberEvent",7196],[6,"PartyUpdateEvent",7196],[5,"UserReactionEvent",7196],[5,"ProfileUpdateEvent",7196],[6,"ServerMsgOpcode",7825],[6,"ClientMsgOpcode",7825],[5,"DynamicServerMsgHandlers",7825],[5,"DynamicClientMsgHandlers",7825],[6,"ServerMsg",7825],[10,"ClientMsgHandlers",7825],[5,"Message",10042],[5,"Relationship",12686],[5,"Role",11841],[5,"User",12686],[5,"HeartbeatPayload",8295],[5,"IdentifyPayload",8295],[5,"ArchivedIdentifyPayload",8295],[5,"SetPresencePayload",8295],[5,"ArchivedSetPresencePayload",8295],[5,"ResumePayload",8295],[5,"SubscribePayload",8295],[5,"UnsubscribePayload",8295],[5,"HeartbeatAckPayload",8561],[5,"InvalidSessionPayload",8561],[5,"ReadyPayload",8561],[5,"ArchivedReadyPayload",8561],[5,"PartyCreatePayload",8561],[5,"ArchivedPartyCreatePayload",8561],[5,"PartyUpdatePayload",8561],[5,"ArchivedPartyUpdatePayload",8561],[5,"RoleCreatePayload",8561],[5,"ArchivedRoleCreatePayload",8561],[5,"RoleUpdatePayload",8561],[5,"ArchivedRoleUpdatePayload",8561],[5,"RoleDeletePayload",8561],[5,"ArchivedRoleDeletePayload",8561],[5,"MemberAddPayload",8561],[5,"ArchivedMemberAddPayload",8561],[5,"MemberUpdatePayload",8561],[5,"ArchivedMemberUpdatePayload",8561],[5,"MemberRemovePayload",8561],[5,"ArchivedMemberRemovePayload",8561],[5,"MemberBanPayload",8561],[5,"ArchivedMemberBanPayload",8561],[5,"MemberUnbanPayload",8561],[5,"ArchivedMemberUnbanPayload",8561],[5,"RoomCreatePayload",8561],[5,"ArchivedRoomCreatePayload",8561],[5,"RoomUpdatePayload",8561],[5,"ArchivedRoomUpdatePayload",8561],[5,"RoomDeletePayload",8561],[5,"ArchivedRoomDeletePayload",8561],[5,"MessageCreatePayload",8561],[5,"ArchivedMessageCreatePayload",8561],[5,"MessageUpdatePayload",8561],[5,"ArchivedMessageUpdatePayload",8561],[5,"MessageDeletePayload",8561],[5,"ArchivedMessageDeletePayload",8561],[5,"MessageReactionAddPayload",8561],[5,"ArchivedMessageReactionAddPayload",8561],[5,"MessageReactionRemovePayload",8561],[5,"ArchivedMessageReactionRemovePayload",8561],[5,"PresenceUpdatePayload",8561],[5,"ArchivedPresenceUpdatePayload",8561],[5,"TypingStartPayload",8561],[5,"ArchivedTypingStartPayload",8561],[5,"ProfileUpdatePayload",8561],[5,"ArchivedProfileUpdatePayload",8561],[5,"RelationAddPayload",8561],[5,"ArchivedRelationAddPayload",8561],[5,"HelloPayload",8561],[5,"PartyDeletePayload",8561],[5,"RoomPinsUpdatePayload",8561],[5,"MessageReactionRemoveAllPayload",8561],[5,"MessageReactionRemoveEmotePayload",8561],[5,"UserUpdatePayload",8561],[5,"RelationRemovePayload",8561],[5,"Invite",9985],[5,"MessageFlags",10042],[5,"ArchivedMessageFlags",10042],[6,"MessageKind",10042,14198],[6,"ArchivedMessageKind",10042,14198],[5,"ReactionShorthand",10042],[5,"ReactionFull",10042],[6,"Reaction",10042],[5,"Attachment",10042],[10,"FromSql",14100],[10,"FromSql",14096],[10,"ToSql",14116],[5,"PartyPrefsFlags",10628,14199],[5,"PartyMemberFlags",10628],[5,"PinFolderFlags",10628],[5,"ArchivedPartyPrefsFlags",10628,14199],[5,"ArchivedPartyFlags",10628],[5,"ArchivedPartyMemberFlags",10628],[5,"ArchivedPinFolderFlags",10628],[5,"PartyPreferences",10628,14199],[5,"PartialParty",10628],[5,"PartyMember",10628],[5,"PinFolder",10628],[5,"ArchivedParty",10628],[1,"u128"],[5,"ArchivedPermissions",11378],[5,"ArchivedOverwrite",11378],[5,"UserPresenceFlags",11583],[5,"ArchivedUserPresenceFlags",11583],[6,"AnyActivity",11583],[5,"Activity",11583],[5,"ArchivedRoleFlags",11841],[5,"RoomFlags",12024],[5,"ArchivedRoomFlags",12024],[6,"RoomKind",12024],[5,"Room",12024],[5,"FullRoom",12024],[5,"Session",12334],[5,"AnonymousSession",12334],[5,"ArchivedOptionSnowflake",14103],[5,"Statistics",12449],[5,"RoomStatistics",12449],[5,"ThreadFlags",12519],[5,"ArchivedThreadFlags",12519],[5,"Thread",12519],[5,"UserPrefsFlags",12686,14128],[5,"UserFlags",12686],[5,"ArchivedUserPrefsFlags",12686,14128],[5,"ArchivedUserFlags",12686],[5,"ArchivedUserProfileBits",12686],[5,"ArchivedExtraUserProfileBits",12686],[6,"Locale",12686,14200],[5,"ArchivedLocale",12686,14200],[6,"Font",12686,14201],[5,"ArchivedFont",12686,14201],[6,"FriendAddability",12686,14202],[5,"ArchivedFriendAddability",12686,14202],[6,"ElevationLevel",12686],[5,"UserProfile",12686],[5,"ArchivedUserRelationship",12686,14130],[1,"f32"],[5,"Temperature",13735,14203],[5,"FontSize",13735,14203],[5,"TabSize",13735,14203],[5,"Padding",13735,14203],[5,"FromUtf8Error",13982],[5,"Utf8Error",14204],[15,"HumanReadable",229],[15,"Flags",229],[5,"GetServerConfigResolver",241],[5,"ArchivedGetServerConfig",241],[5,"ArchivedCreateFile",285],[5,"CreateFileResolver",285],[5,"CreateFileBodyResolver",285],[5,"ArchivedCreateFileBody",285],[5,"GetFilesystemStatusResolver",285],[5,"ArchivedGetFilesystemStatus",285],[5,"GetFileStatusResolver",285],[5,"ArchivedGetFileStatus",285],[5,"FilesystemStatusResolver",285],[5,"ArchivedFilesystemStatus",285],[5,"FileStatusResolver",285],[5,"ArchivedFileStatus",285],[5,"ArchivedRedeemInvite",577],[5,"GetInviteResolver",577],[5,"ArchivedGetInvite",577],[5,"RevokeInviteResolver",577],[5,"ArchivedRevokeInvite",577],[5,"RedeemInviteResolver",577],[5,"RedeemInviteBodyResolver",577],[5,"ArchivedRedeemInviteBody",577],[5,"ArchivedCreateParty",763],[5,"ArchivedPatchParty",763],[5,"ArchivedCreateRole",763],[5,"ArchivedPatchRole",763],[5,"ArchivedUpdateMemberProfile",763],[5,"ArchivedCreatePartyInvite",763],[5,"ArchivedCreatePinFolder",763],[5,"ArchivedCreateRoom",763],[5,"ArchivedSearchParty",763],[5,"GetPartyResolver",763],[5,"ArchivedGetParty",763],[5,"CreatePartyResolver",763],[5,"CreatePartyFormResolver",763],[5,"ArchivedCreatePartyForm",763],[5,"PatchPartyResolver",763],[5,"PatchPartyFormResolver",763],[5,"DeletePartyResolver",763],[5,"ArchivedDeleteParty",763],[5,"TransferOwnershipResolver",763],[5,"ArchivedTransferOwnership",763],[5,"CreateRoleResolver",763],[5,"CreateRoleFormResolver",763],[5,"ArchivedCreateRoleForm",763],[5,"PatchRoleResolver",763],[5,"PatchRoleFormResolver",763],[5,"DeleteRoleResolver",763],[5,"ArchivedDeleteRole",763],[5,"GetPartyMembersResolver",763],[5,"ArchivedGetPartyMembers",763],[5,"GetPartyMemberResolver",763],[5,"ArchivedGetPartyMember",763],[5,"GetPartyRoomsResolver",763],[5,"ArchivedGetPartyRooms",763],[5,"GetPartyInvitesResolver",763],[5,"ArchivedGetPartyInvites",763],[5,"GetMemberProfileResolver",763],[5,"ArchivedGetMemberProfile",763],[5,"UpdateMemberProfileResolver",763],[5,"UpdateMemberProfileBodyResolver",763],[5,"ArchivedUpdateMemberProfileBody",763],[5,"CreatePartyInviteResolver",763],[5,"CreatePartyInviteBodyResolver",763],[5,"ArchivedCreatePartyInviteBody",763],[5,"CreatePinFolderResolver",763],[5,"CreatePinFolderFormResolver",763],[5,"ArchivedCreatePinFolderForm",763],[5,"CreateRoomResolver",763],[5,"CreateRoomFormResolver",763],[5,"ArchivedCreateRoomForm",763],[5,"SearchPartyResolver",763],[5,"SearchQueryResolver",763],[5,"ArchivedSearchQuery",763],[5,"PartySettingsResolver",763],[5,"ArchivedPartySettings",763],[5,"ArchivedCreateMessageBody",2160],[5,"ArchivedEditMessageBody",2160],[5,"ArchivedCreateMessage",2160],[5,"ArchivedEditMessage",2160],[5,"ArchivedStartTyping",2160],[5,"ArchivedGetMessages",2160],[5,"ArchivedGetReactions",2160],[5,"ArchivedPatchRoom",2160],[5,"CreateMessageResolver",2160],[5,"CreateMessageBodyResolver",2160],[5,"EditMessageResolver",2160],[5,"EditMessageBodyResolver",2160],[5,"DeleteMessageResolver",2160],[5,"ArchivedDeleteMessage",2160],[5,"GetMessageResolver",2160],[5,"ArchivedGetMessage",2160],[5,"StartTypingResolver",2160],[5,"StartTypingBodyResolver",2160],[5,"ArchivedStartTypingBody",2160],[5,"GetMessagesResolver",2160],[5,"GetMessagesQueryResolver",2160],[5,"ArchivedGetMessagesQuery",2160],[5,"PinMessageResolver",2160],[5,"ArchivedPinMessage",2160],[5,"UnpinMessageResolver",2160],[5,"ArchivedUnpinMessage",2160],[5,"StarMessageResolver",2160],[5,"ArchivedStarMessage",2160],[5,"UnstarMessageResolver",2160],[5,"ArchivedUnstarMessage",2160],[5,"PutReactionResolver",2160],[5,"ArchivedPutReaction",2160],[5,"DeleteOwnReactionResolver",2160],[5,"ArchivedDeleteOwnReaction",2160],[5,"DeleteUserReactionResolver",2160],[5,"ArchivedDeleteUserReaction",2160],[5,"DeleteAllReactionsResolver",2160],[5,"ArchivedDeleteAllReactions",2160],[5,"GetReactionsResolver",2160],[5,"GetReactionsFormResolver",2160],[5,"ArchivedGetReactionsForm",2160],[5,"GetRoomResolver",2160],[5,"ArchivedGetRoom",2160],[5,"PatchRoomResolver",2160],[5,"PatchRoomFormResolver",2160],[5,"DeleteRoomResolver",2160],[5,"ArchivedDeleteRoom",2160],[5,"ArchivedUpdateUserProfileBody",3352],[5,"ArchivedAdded2FA",3352],[5,"ArchivedUserRegister",3352],[5,"ArchivedUserLogin",3352],[5,"ArchivedEnable2FA",3352],[5,"ArchivedConfirm2FA",3352],[5,"ArchivedRemove2FA",3352],[5,"ArchivedChangePassword",3352],[5,"ArchivedClearSessions",3352],[5,"ArchivedPatchRelationship",3352],[5,"ArchivedUpdateUserProfile",3352],[5,"ArchivedUpdateUserPrefs",3352],[5,"UserRegisterResolver",3352],[5,"UserRegisterFormResolver",3352],[5,"ArchivedUserRegisterForm",3352],[5,"UserLoginResolver",3352],[5,"UserLoginFormResolver",3352],[5,"ArchivedUserLoginForm",3352],[5,"UserLogoutResolver",3352],[5,"ArchivedUserLogout",3352],[5,"Enable2FAResolver",3352],[5,"Enable2FAFormResolver",3352],[5,"ArchivedEnable2FAForm",3352],[5,"Confirm2FAResolver",3352],[5,"Confirm2FAFormResolver",3352],[5,"ArchivedConfirm2FAForm",3352],[5,"Remove2FAResolver",3352],[5,"Remove2FAFormResolver",3352],[5,"ArchivedRemove2FAForm",3352],[5,"ChangePasswordResolver",3352],[5,"ChangePasswordFormResolver",3352],[5,"ArchivedChangePasswordForm",3352],[5,"GetSessionsResolver",3352],[5,"ArchivedGetSessions",3352],[5,"ClearSessionsResolver",3352],[5,"ClearSessionsFormResolver",3352],[5,"ArchivedClearSessionsForm",3352],[5,"GetRelationshipsResolver",3352],[5,"ArchivedGetRelationships",3352],[5,"PatchRelationshipResolver",3352],[5,"PatchRelationshipBodyResolver",3352],[5,"ArchivedPatchRelationshipBody",3352],[5,"UpdateUserProfileResolver",3352],[5,"UpdateUserProfileBodyResolver",3352],[5,"GetUserResolver",3352],[5,"ArchivedGetUser",3352],[5,"UpdateUserPrefsResolver",3352],[5,"UpdateUserPrefsBodyResolver",3352],[5,"ArchivedUpdateUserPrefsBody",3352],[5,"Added2FAResolver",3352],[5,"ApiErrorResolver",4581],[6,"CursorResolver",5168],[6,"ArchivedCursor",5168],[6,"AuthTokenResolver",5815],[6,"ArchivedAuthToken",5815],[5,"ArchivedServerLimits",5891],[5,"ServerConfigResolver",5891],[5,"ArchivedServerConfig",5891],[5,"ServerLimitsResolver",5891],[6,"EmbedResolver",6012],[6,"ArchivedEmbed",6012],[6,"EmbedTypeResolver",6063],[6,"ArchivedEmbedType",6063],[5,"ArchivedEmbedV1",6063],[5,"ArchivedEmbedField",6063],[5,"EmbedV1Resolver",6063],[5,"EmbedFooterResolver",6063],[5,"ArchivedEmbedFooter",6063],[5,"EmbedMediaResolver",6063],[5,"BasicEmbedMediaResolver",6063],[5,"ArchivedBasicEmbedMedia",6063],[5,"EmbedProviderResolver",6063],[5,"ArchivedEmbedProvider",6063],[5,"EmbedAuthorResolver",6063],[5,"ArchivedEmbedAuthor",6063],[5,"EmbedFieldResolver",6063],[6,"EmoteResolver",6666],[6,"ArchivedEmote",6666],[5,"ArchivedCustomEmote",6666],[5,"CustomEmoteResolver",6666],[15,"Emoji",6892],[15,"Emoji",6893],[15,"Emoji",6894],[5,"FileUpload",6895],[5,"FileResolver",6895],[5,"ArchivedFile",6895],[5,"ArchivedIdentify",7100],[5,"IdentifyResolver",7100],[5,"SetPresenceResolver",7100],[5,"ArchivedSetPresence",7100],[6,"PartyUpdateEventResolver",7196],[6,"ArchivedPartyUpdateEvent",7196],[5,"HelloResolver",7196],[5,"ArchivedHello",7196],[5,"ReadyPartyResolver",7196],[5,"ReadyResolver",7196],[5,"ArchivedReady",7196],[5,"TypingStartResolver",7196],[5,"ArchivedTypingStart",7196],[5,"PartyPositionUpdateResolver",7196],[5,"ArchivedPartyPositionUpdate",7196],[5,"UserPresenceEventResolver",7196],[5,"ArchivedUserPresenceEvent",7196],[5,"MessageDeleteEventResolver",7196],[5,"ArchivedMessageDeleteEvent",7196],[5,"RoleDeleteEventResolver",7196],[5,"ArchivedRoleDeleteEvent",7196],[5,"RoomDeleteEventResolver",7196],[5,"ArchivedRoomDeleteEvent",7196],[5,"PartyMemberEventResolver",7196],[5,"ArchivedPartyMemberEvent",7196],[5,"UserReactionEventResolver",7196],[5,"ArchivedUserReactionEvent",7196],[5,"ProfileUpdateEventResolver",7196],[5,"ArchivedProfileUpdateEvent",7196],[6,"ClientMsgResolver",7825],[6,"ArchivedClientMsg",7825],[6,"ServerMsgResolver",7825],[6,"ArchivedServerMsg",7825],[5,"HeartbeatPayloadResolver",8295],[5,"ArchivedHeartbeatPayload",8295],[5,"IdentifyPayloadResolver",8295],[5,"ResumePayloadResolver",8295],[5,"ArchivedResumePayload",8295],[5,"SetPresencePayloadResolver",8295],[5,"SubscribePayloadResolver",8295],[5,"ArchivedSubscribePayload",8295],[5,"UnsubscribePayloadResolver",8295],[5,"ArchivedUnsubscribePayload",8295],[5,"HelloPayloadResolver",8561],[5,"ArchivedHelloPayload",8561],[5,"HeartbeatAckPayloadResolver",8561],[5,"ArchivedHeartbeatAckPayload",8561],[5,"ReadyPayloadResolver",8561],[5,"InvalidSessionPayloadResolver",8561],[5,"ArchivedInvalidSessionPayload",8561],[5,"PartyCreatePayloadResolver",8561],[5,"PartyUpdatePayloadResolver",8561],[5,"PartyDeletePayloadResolver",8561],[5,"ArchivedPartyDeletePayload",8561],[5,"RoleCreatePayloadResolver",8561],[5,"RoleUpdatePayloadResolver",8561],[5,"RoleDeletePayloadResolver",8561],[5,"MemberAddPayloadResolver",8561],[5,"MemberUpdatePayloadResolver",8561],[5,"MemberRemovePayloadResolver",8561],[5,"MemberBanPayloadResolver",8561],[5,"MemberUnbanPayloadResolver",8561],[5,"RoomCreatePayloadResolver",8561],[5,"RoomUpdatePayloadResolver",8561],[5,"RoomDeletePayloadResolver",8561],[5,"RoomPinsUpdatePayloadResolver",8561],[5,"ArchivedRoomPinsUpdatePayload",8561],[5,"MessageCreatePayloadResolver",8561],[5,"MessageUpdatePayloadResolver",8561],[5,"MessageDeletePayloadResolver",8561],[5,"MessageReactionAddPayloadResolver",8561],[5,"MessageReactionRemovePayloadResolver",8561],[5,"MessageReactionRemoveAllPayloadResolver",8561],[5,"ArchivedMessageReactionRemoveAllPayload",8561],[5,"MessageReactionRemoveEmotePayloadResolver",8561],[5,"ArchivedMessageReactionRemoveEmotePayload",8561],[5,"PresenceUpdatePayloadResolver",8561],[5,"TypingStartPayloadResolver",8561],[5,"UserUpdatePayloadResolver",8561],[5,"ArchivedUserUpdatePayload",8561],[5,"ProfileUpdatePayloadResolver",8561],[5,"RelationAddPayloadResolver",8561],[5,"RelationRemovePayloadResolver",8561],[5,"ArchivedRelationRemovePayload",8561],[5,"InviteResolver",9985],[5,"ArchivedInvite",9985],[6,"EmoteOrEmojiResolver",10042],[6,"ArchivedEmoteOrEmoji",10042],[6,"ReactionResolver",10042],[6,"ArchivedReaction",10042],[5,"ArchivedMessage",10042],[5,"MessageResolver",10042],[5,"ReactionShorthandResolver",10042],[5,"ArchivedReactionShorthand",10042],[5,"ReactionFullResolver",10042],[5,"ArchivedReactionFull",10042],[5,"AttachmentResolver",10042],[5,"ArchivedAttachment",10042],[15,"Emoji",10573],[15,"Emote",10573],[15,"Emoji",10575],[15,"Emote",10575],[15,"Emoji",10577],[15,"Emote",10577],[5,"PartyPreferencesResolver",10628],[5,"ArchivedPartyPreferences",10628],[5,"PartialPartyResolver",10628],[5,"ArchivedPartialParty",10628],[5,"PartyResolver",10628],[5,"PartyMemberResolver",10628],[5,"ArchivedPartyMember",10628],[5,"PinFolderResolver",10628],[5,"ArchivedPinFolder",10628],[5,"OverwriteResolver",11378],[6,"AnyActivityResolver",11583],[6,"ArchivedAnyActivity",11583],[5,"ArchivedUserPresence",11583],[5,"UserPresenceResolver",11583],[5,"ActivityResolver",11583],[5,"ArchivedActivity",11583],[5,"ArchivedRole",11841],[5,"RoleResolver",11841],[6,"RoomKindResolver",12024],[6,"ArchivedRoomKind",12024],[5,"ArchivedRoom",12024],[5,"RoomResolver",12024],[5,"FullRoomResolver",12024],[5,"ArchivedFullRoom",12024],[5,"ArchivedSession",12334],[5,"SessionResolver",12334],[5,"AnonymousSessionResolver",12334],[5,"ArchivedAnonymousSession",12334],[5,"NicheSnowflake",12430],[5,"RoomStatisticsResolver",12449],[5,"ArchivedRoomStatistics",12449],[5,"ThreadResolver",12519],[5,"ArchivedThread",12519],[5,"ArchivedUserProfile",12686],[5,"UserPreferencesResolver",12686],[5,"ArchivedUserPreferences",12686],[5,"UserProfileResolver",12686],[5,"UserResolver",12686],[5,"ArchivedUser",12686],[5,"RelationshipResolver",12686],[5,"ArchivedRelationship",12686],[5,"TemperatureResolver",13735],[5,"ArchivedTemperature",13735],[5,"FontSizeResolver",13735],[5,"ArchivedFontSize",13735],[5,"TabSizeResolver",13735],[5,"ArchivedTabSize",13735],[5,"PaddingResolver",13735],[5,"ArchivedPadding",13735]],"r":[[0,5168],[1,14097],[67,14120],[68,14120],[69,14120],[70,14120],[77,14120],[80,14120],[208,5682],[4583,14131],[4586,14131],[4768,4839],[4793,14134],[4844,14135],[4928,7825],[4929,7825],[4930,7825],[4931,7825],[4939,14151],[4941,14152],[4942,14152],[5054,14154],[5055,14154],[5056,14153],[5057,14153],[5058,14158],[5171,14165],[5182,13938],[5184,10579],[5185,14114],[5186,14097],[5187,13982],[5188,14127],[5189,14129],[10046,14198],[10071,14198],[10634,14199],[10635,14199],[10655,14199],[10656,14199],[10657,14199],[12433,14103],[12434,14097],[12690,14201],[12691,14202],[12692,14200],[12696,14128],[12697,14128],[12700,14130],[12722,14201],[12724,14202],[12734,14200],[12777,14128],[12778,14128],[12779,14128],[12783,14130],[13454,14128],[13735,14203],[13736,14203],[13737,14203],[13738,14203],[13739,14203],[13740,14203],[13741,14203],[13742,14203],[13743,14203],[13744,14203],[13745,14203],[13746,14203]],"b":[[2,"impl-ToSql-for-Snowflake"],[3,"impl-FromSql%3C\'a%3E-for-Snowflake"],[18,"impl-PartialEq-for-Snowflake"],[19,"impl-PartialEq%3CArchivedSnowflake%3E-for-Snowflake"],[24,"impl-Debug-for-Snowflake"],[25,"impl-Display-for-Snowflake"],[48,"impl-Serialize%3CS%3E-for-Snowflake"],[49,"impl-Serialize-for-Snowflake"],[54,"impl-ToSql-for-Snowflake"],[55,"impl-ToSql-for-Snowflake"],[94,"impl-CommandFlags"],[95,"impl-Flags-for-CommandFlags"],[142,"impl-Debug-for-CommandFlags"],[143,"impl-Binary-for-CommandFlags"],[144,"impl-UpperHex-for-CommandFlags"],[145,"impl-Octal-for-CommandFlags"],[146,"impl-LowerHex-for-CommandFlags"],[148,"impl-Display-for-MissingItemError"],[149,"impl-Debug-for-MissingItemError"],[155,"impl-CommandFlags"],[156,"impl-Flags-for-CommandFlags"],[483,"impl-Serialize-for-CreateFileBody"],[484,"impl-Serialize%3C__S%3E-for-CreateFileBody"],[487,"impl-Serialize%3C__S%3E-for-FilesystemStatus"],[488,"impl-Serialize-for-FilesystemStatus"],[489,"impl-Serialize%3C__S%3E-for-FileStatus"],[490,"impl-Serialize-for-FileStatus"],[709,"impl-Serialize-for-RedeemInviteBody"],[710,"impl-Serialize%3C__S%3E-for-RedeemInviteBody"],[1198,"impl-Deserialize%3C\'de%3E-for-CreateRoomKind"],[1199,"impl-Deserialize%3CCreateRoomKind,+D%3E-for-CreateRoomKind"],[1203,"impl-PartialEq-for-PatchPartyForm"],[1204,"impl-PartialEq%3CArchivedPatchPartyForm%3E-for-PatchPartyForm"],[1206,"impl-PartialEq%3CArchivedPatchRoleForm%3E-for-PatchRoleForm"],[1207,"impl-PartialEq-for-PatchRoleForm"],[1746,"impl-Serialize%3C__S%3E-for-CreatePartyForm"],[1747,"impl-Serialize-for-CreatePartyForm"],[1749,"impl-Serialize%3C__S%3E-for-PatchPartyForm"],[1750,"impl-Serialize-for-PatchPartyForm"],[1754,"impl-Serialize%3C__S%3E-for-CreateRoleForm"],[1755,"impl-Serialize-for-CreateRoleForm"],[1757,"impl-Serialize-for-PatchRoleForm"],[1758,"impl-Serialize%3C__S%3E-for-PatchRoleForm"],[1766,"impl-Serialize-for-UpdateMemberProfileBody"],[1767,"impl-Serialize%3C__S%3E-for-UpdateMemberProfileBody"],[1769,"impl-Serialize%3C__S%3E-for-CreatePartyInviteBody"],[1770,"impl-Serialize-for-CreatePartyInviteBody"],[1772,"impl-Serialize%3C__S%3E-for-CreatePinFolderForm"],[1773,"impl-Serialize-for-CreatePinFolderForm"],[1775,"impl-Serialize%3C__S%3E-for-CreateRoomForm"],[1776,"impl-Serialize-for-CreateRoomForm"],[1778,"impl-Serialize%3C__S%3E-for-SearchQuery"],[1779,"impl-Serialize-for-SearchQuery"],[1780,"impl-Serialize-for-CreateRoomKind"],[1781,"impl-Serialize%3CS%3E-for-CreateRoomKind"],[2522,"impl-PartialEq%3CArchivedPatchRoomForm%3E-for-PatchRoomForm"],[2523,"impl-PartialEq-for-PatchRoomForm"],[3003,"impl-Serialize%3C__S%3E-for-CreateMessageBody"],[3004,"impl-Serialize-for-CreateMessageBody"],[3006,"impl-Serialize-for-EditMessageBody"],[3007,"impl-Serialize%3C__S%3E-for-EditMessageBody"],[3011,"impl-Serialize%3C__S%3E-for-StartTypingBody"],[3012,"impl-Serialize-for-StartTypingBody"],[3014,"impl-Serialize%3C__S%3E-for-GetMessagesQuery"],[3015,"impl-Serialize-for-GetMessagesQuery"],[3025,"impl-Serialize%3C__S%3E-for-GetReactionsForm"],[3026,"impl-Serialize-for-GetReactionsForm"],[3029,"impl-Serialize-for-PatchRoomForm"],[3030,"impl-Serialize%3C__S%3E-for-PatchRoomForm"],[3746,"impl-Deserialize%3C\'de%3E-for-BannerAlign"],[3747,"impl-Deserialize%3CBannerAlign,+D%3E-for-BannerAlign"],[4188,"impl-Serialize%3C__S%3E-for-UserRegisterForm"],[4189,"impl-Serialize-for-UserRegisterForm"],[4191,"impl-Serialize-for-UserLoginForm"],[4192,"impl-Serialize%3C__S%3E-for-UserLoginForm"],[4195,"impl-Serialize-for-Enable2FAForm"],[4196,"impl-Serialize%3C__S%3E-for-Enable2FAForm"],[4198,"impl-Serialize-for-Confirm2FAForm"],[4199,"impl-Serialize%3C__S%3E-for-Confirm2FAForm"],[4201,"impl-Serialize-for-Remove2FAForm"],[4202,"impl-Serialize%3C__S%3E-for-Remove2FAForm"],[4204,"impl-Serialize%3C__S%3E-for-ChangePasswordForm"],[4205,"impl-Serialize-for-ChangePasswordForm"],[4208,"impl-Serialize-for-ClearSessionsForm"],[4209,"impl-Serialize%3C__S%3E-for-ClearSessionsForm"],[4212,"impl-Serialize-for-PatchRelationshipBody"],[4213,"impl-Serialize%3C__S%3E-for-PatchRelationshipBody"],[4215,"impl-Serialize-for-UpdateUserProfileBody"],[4216,"impl-Serialize%3C__S%3E-for-UpdateUserProfileBody"],[4219,"impl-Serialize%3C__S%3E-for-UpdateUserPrefsBody"],[4220,"impl-Serialize-for-UpdateUserPrefsBody"],[4221,"impl-Serialize-for-BannerAlign"],[4222,"impl-Serialize%3CS%3E-for-BannerAlign"],[4223,"impl-Serialize%3C__S%3E-for-Added2FA"],[4224,"impl-Serialize-for-Added2FA"],[4690,"impl-Display-for-ApiError"],[4691,"impl-Debug-for-ApiError"],[4727,"impl-Serialize%3C__S%3E-for-ApiError"],[4728,"impl-Serialize-for-ApiError"],[4729,"impl-Serialize%3CS%3E-for-ApiErrorCode"],[4730,"impl-Serialize-for-ApiErrorCode"],[4743,"impl-TryFrom%3Cu64%3E-for-ApiErrorCode"],[4744,"impl-TryFrom%3Ci8%3E-for-ApiErrorCode"],[4745,"impl-TryFrom%3Ci16%3E-for-ApiErrorCode"],[4746,"impl-TryFrom%3Ci32%3E-for-ApiErrorCode"],[4748,"impl-TryFrom%3Ci64%3E-for-ApiErrorCode"],[4749,"impl-TryFrom%3Cu8%3E-for-ApiErrorCode"],[4750,"impl-TryFrom%3Cu16%3E-for-ApiErrorCode"],[4751,"impl-TryFrom%3Cu32%3E-for-ApiErrorCode"],[4808,"impl-Display-for-ClientError"],[4809,"impl-Debug-for-ClientError"],[4811,"impl-From%3CError%3E-for-ClientError"],[4812,"impl-From%3CDriverError%3E-for-ClientError"],[4813,"impl-From%3CError%3E-for-ClientError"],[4878,"impl-Display-for-DriverError"],[4879,"impl-Debug-for-DriverError"],[4881,"impl-From%3CError%3CError%3E%3E-for-DriverError"],[4882,"impl-From%3CError%3CError%3E%3E-for-DriverError"],[4883,"impl-From%3CError%3E-for-DriverError"],[4884,"impl-From%3CToStrError%3E-for-DriverError"],[4885,"impl-From%3CParseIntError%3E-for-DriverError"],[4886,"impl-From%3CError%3E-for-DriverError"],[4887,"impl-From%3CParseError%3E-for-DriverError"],[4888,"impl-From%3CError%3E-for-DriverError"],[4889,"impl-From%3CError%3E-for-DriverError"],[4890,"impl-From%3CInvalidHeaderValue%3E-for-DriverError"],[4957,"impl-Debug-for-StandardError"],[4958,"impl-Display-for-StandardError"],[4961,"impl-From%3CClientError%3E-for-StandardError"],[4962,"impl-From%3CGatewayError%3E-for-StandardError"],[4963,"impl-From%3CDriverError%3E-for-StandardError"],[5087,"impl-Display-for-GatewayError"],[5088,"impl-Debug-for-GatewayError"],[5092,"impl-From%3CError%3E-for-GatewayError"],[5093,"impl-From%3CError%3E-for-GatewayError"],[5094,"impl-From%3CError%3CError%3E%3E-for-GatewayError"],[5096,"impl-From%3CError%3CError%3E%3E-for-GatewayError"],[5141,"impl-TryFrom%3Ci16%3E-for-GatewayErrorCode"],[5142,"impl-TryFrom%3Cu8%3E-for-GatewayErrorCode"],[5143,"impl-TryFrom%3Ci8%3E-for-GatewayErrorCode"],[5144,"impl-TryFrom%3Ci32%3E-for-GatewayErrorCode"],[5145,"impl-TryFrom%3Cu64%3E-for-GatewayErrorCode"],[5146,"impl-TryFrom%3Cu32%3E-for-GatewayErrorCode"],[5148,"impl-TryFrom%3Ci64%3E-for-GatewayErrorCode"],[5149,"impl-TryFrom%3Cu16%3E-for-GatewayErrorCode"],[5191,"impl-ToSql-for-Timestamp"],[5192,"impl-FromSql%3C\'a%3E-for-Timestamp"],[5207,"impl-AsRef%3Cstr%3E-for-SmolStr"],[5208,"impl-AsRef%3C%5Bu8%5D%3E-for-SmolStr"],[5209,"impl-AsRef%3COsStr%3E-for-SmolStr"],[5210,"impl-AsRef%3CPath%3E-for-SmolStr"],[5216,"impl-Arc%3C%5BMaybeUninit%3CT%3E%5D%3E"],[5217,"impl-Arc%3CMaybeUninit%3CT%3E%3E"],[5297,"impl-SharedPointer%3CT%3E-for-Arc%3CT%3E"],[5298,"impl-Drop-for-Arc%3CT%3E"],[5302,"impl-PartialEq%3Cstr%3E-for-SmolStr"],[5303,"impl-PartialEq-for-SmolStr"],[5304,"impl-PartialEq%3C%26str%3E-for-SmolStr"],[5305,"impl-PartialEq%3CString%3E-for-SmolStr"],[5306,"impl-PartialEq%3C%26String%3E-for-SmolStr"],[5307,"impl-PartialEq%3C%5BB;+23%5D%3E-for-ThinVec%3CA%3E"],[5308,"impl-PartialEq%3C%5BB;+26%5D%3E-for-ThinVec%3CA%3E"],[5309,"impl-PartialEq%3C%5BB;+25%5D%3E-for-ThinVec%3CA%3E"],[5310,"impl-PartialEq%3C%26%5BB;+29%5D%3E-for-ThinVec%3CA%3E"],[5311,"impl-PartialEq%3C%5BB;+29%5D%3E-for-ThinVec%3CA%3E"],[5312,"impl-PartialEq%3C%26%5BB;+28%5D%3E-for-ThinVec%3CA%3E"],[5313,"impl-PartialEq%3C%5BB;+28%5D%3E-for-ThinVec%3CA%3E"],[5314,"impl-PartialEq%3C%5BB;+24%5D%3E-for-ThinVec%3CA%3E"],[5315,"impl-PartialEq%3C%5BB;+30%5D%3E-for-ThinVec%3CA%3E"],[5316,"impl-PartialEq%3C%26%5BB;+25%5D%3E-for-ThinVec%3CA%3E"],[5317,"impl-PartialEq%3C%26%5BB;+32%5D%3E-for-ThinVec%3CA%3E"],[5318,"impl-PartialEq%3C%5BB;+32%5D%3E-for-ThinVec%3CA%3E"],[5319,"impl-PartialEq%3C%26%5BB;+31%5D%3E-for-ThinVec%3CA%3E"],[5320,"impl-PartialEq%3C%5BB;+31%5D%3E-for-ThinVec%3CA%3E"],[5321,"impl-PartialEq%3CThinVec%3CB%3E%3E-for-ThinVec%3CA%3E"],[5322,"impl-PartialEq%3CVec%3CB%3E%3E-for-ThinVec%3CA%3E"],[5323,"impl-PartialEq%3C%5BB%5D%3E-for-ThinVec%3CA%3E"],[5324,"impl-PartialEq%3C%26%5BB%5D%3E-for-ThinVec%3CA%3E"],[5325,"impl-PartialEq%3C%5BB;+0%5D%3E-for-ThinVec%3CA%3E"],[5326,"impl-PartialEq%3C%26%5BB;+0%5D%3E-for-ThinVec%3CA%3E"],[5327,"impl-PartialEq%3C%5BB;+1%5D%3E-for-ThinVec%3CA%3E"],[5328,"impl-PartialEq%3C%26%5BB;+1%5D%3E-for-ThinVec%3CA%3E"],[5329,"impl-PartialEq%3C%5BB;+2%5D%3E-for-ThinVec%3CA%3E"],[5330,"impl-PartialEq%3C%26%5BB;+2%5D%3E-for-ThinVec%3CA%3E"],[5331,"impl-PartialEq%3C%5BB;+3%5D%3E-for-ThinVec%3CA%3E"],[5332,"impl-PartialEq%3C%26%5BB;+3%5D%3E-for-ThinVec%3CA%3E"],[5333,"impl-PartialEq%3C%5BB;+4%5D%3E-for-ThinVec%3CA%3E"],[5334,"impl-PartialEq%3C%26%5BB;+4%5D%3E-for-ThinVec%3CA%3E"],[5335,"impl-PartialEq%3C%5BB;+5%5D%3E-for-ThinVec%3CA%3E"],[5336,"impl-PartialEq%3C%26%5BB;+5%5D%3E-for-ThinVec%3CA%3E"],[5337,"impl-PartialEq%3C%5BB;+6%5D%3E-for-ThinVec%3CA%3E"],[5338,"impl-PartialEq%3C%26%5BB;+6%5D%3E-for-ThinVec%3CA%3E"],[5339,"impl-PartialEq%3C%5BB;+7%5D%3E-for-ThinVec%3CA%3E"],[5340,"impl-PartialEq%3C%26%5BB;+7%5D%3E-for-ThinVec%3CA%3E"],[5341,"impl-PartialEq%3C%5BB;+8%5D%3E-for-ThinVec%3CA%3E"],[5342,"impl-PartialEq%3C%26%5BB;+8%5D%3E-for-ThinVec%3CA%3E"],[5343,"impl-PartialEq%3C%5BB;+9%5D%3E-for-ThinVec%3CA%3E"],[5344,"impl-PartialEq%3C%26%5BB;+9%5D%3E-for-ThinVec%3CA%3E"],[5345,"impl-PartialEq%3C%5BB;+10%5D%3E-for-ThinVec%3CA%3E"],[5346,"impl-PartialEq%3C%26%5BB;+10%5D%3E-for-ThinVec%3CA%3E"],[5347,"impl-PartialEq%3C%5BB;+11%5D%3E-for-ThinVec%3CA%3E"],[5348,"impl-PartialEq%3C%26%5BB;+24%5D%3E-for-ThinVec%3CA%3E"],[5349,"impl-PartialEq%3C%5BB;+12%5D%3E-for-ThinVec%3CA%3E"],[5350,"impl-PartialEq%3C%26%5BB;+12%5D%3E-for-ThinVec%3CA%3E"],[5351,"impl-PartialEq%3C%5BB;+13%5D%3E-for-ThinVec%3CA%3E"],[5352,"impl-PartialEq%3C%26%5BB;+13%5D%3E-for-ThinVec%3CA%3E"],[5353,"impl-PartialEq%3C%5BB;+14%5D%3E-for-ThinVec%3CA%3E"],[5354,"impl-PartialEq%3C%26%5BB;+14%5D%3E-for-ThinVec%3CA%3E"],[5355,"impl-PartialEq%3C%5BB;+15%5D%3E-for-ThinVec%3CA%3E"],[5356,"impl-PartialEq%3C%26%5BB;+15%5D%3E-for-ThinVec%3CA%3E"],[5357,"impl-PartialEq%3C%5BB;+16%5D%3E-for-ThinVec%3CA%3E"],[5358,"impl-PartialEq%3C%26%5BB;+16%5D%3E-for-ThinVec%3CA%3E"],[5359,"impl-PartialEq%3C%5BB;+17%5D%3E-for-ThinVec%3CA%3E"],[5360,"impl-PartialEq%3C%26%5BB;+17%5D%3E-for-ThinVec%3CA%3E"],[5361,"impl-PartialEq%3C%5BB;+18%5D%3E-for-ThinVec%3CA%3E"],[5362,"impl-PartialEq%3C%26%5BB;+18%5D%3E-for-ThinVec%3CA%3E"],[5363,"impl-PartialEq%3C%5BB;+19%5D%3E-for-ThinVec%3CA%3E"],[5364,"impl-PartialEq%3C%26%5BB;+19%5D%3E-for-ThinVec%3CA%3E"],[5365,"impl-PartialEq%3C%5BB;+20%5D%3E-for-ThinVec%3CA%3E"],[5366,"impl-PartialEq%3C%26%5BB;+27%5D%3E-for-ThinVec%3CA%3E"],[5367,"impl-PartialEq%3C%5BB;+27%5D%3E-for-ThinVec%3CA%3E"],[5368,"impl-PartialEq%3C%26%5BB;+30%5D%3E-for-ThinVec%3CA%3E"],[5369,"impl-PartialEq%3C%26%5BB;+20%5D%3E-for-ThinVec%3CA%3E"],[5370,"impl-PartialEq%3C%26%5BB;+26%5D%3E-for-ThinVec%3CA%3E"],[5371,"impl-PartialEq%3C%5BB;+21%5D%3E-for-ThinVec%3CA%3E"],[5372,"impl-PartialEq%3C%26%5BB;+21%5D%3E-for-ThinVec%3CA%3E"],[5373,"impl-PartialEq%3C%5BB;+22%5D%3E-for-ThinVec%3CA%3E"],[5374,"impl-PartialEq%3C%26%5BB;+22%5D%3E-for-ThinVec%3CA%3E"],[5375,"impl-PartialEq%3C%26%5BB;+23%5D%3E-for-ThinVec%3CA%3E"],[5376,"impl-PartialEq%3C%26%5BB;+11%5D%3E-for-ThinVec%3CA%3E"],[5410,"impl-Display-for-SmolStr"],[5411,"impl-Debug-for-SmolStr"],[5413,"impl-Display-for-Arc%3CT%3E"],[5414,"impl-Debug-for-Arc%3CT%3E"],[5415,"impl-Pointer-for-Arc%3CT%3E"],[5416,"impl-Debug-for-Timestamp"],[5417,"impl-Display-for-Timestamp"],[5428,"impl-From%3CSmolStrBuilder%3E-for-SmolStr"],[5429,"impl-From%3CFixedStr%3CN%3E%3E-for-SmolStr"],[5431,"impl-From%3C%26str%3E-for-SmolStr"],[5432,"impl-From%3CCow%3C\'a,+str%3E%3E-for-SmolStr"],[5433,"impl-From%3CArc%3Cstr%3E%3E-for-SmolStr"],[5434,"impl-From%3CBox%3Cstr%3E%3E-for-SmolStr"],[5435,"impl-From%3CString%3E-for-SmolStr"],[5436,"impl-From%3C%26String%3E-for-SmolStr"],[5437,"impl-From%3C%26mut+str%3E-for-SmolStr"],[5439,"impl-From%3C%26str%3E-for-ThinVec%3Cu8%3E"],[5440,"impl-From%3CVec%3CT%3E%3E-for-ThinVec%3CT%3E"],[5441,"impl-From%3CBox%3C%5BT%5D%3E%3E-for-ThinVec%3CT%3E"],[5442,"impl-From%3C%5BT;+N%5D%3E-for-ThinVec%3CT%3E"],[5443,"impl-From%3C%26mut+%5BT%5D%3E-for-ThinVec%3CT%3E"],[5444,"impl-From%3C%26%5BT%5D%3E-for-ThinVec%3CT%3E"],[5445,"impl-From%3C%26%5BT%5D%3E-for-Arc%3C%5BT%5D%3E"],[5446,"impl-From%3CT%3E-for-Arc%3CT%3E"],[5448,"impl-From%3CArc%3CT%3E%3E-for-Arc%3CHeaderSlice%3C(),+T%3E%3E"],[5450,"impl-From%3CBox%3CT%3E%3E-for-Arc%3CT%3E"],[5451,"impl-From%3C%26str%3E-for-Arc%3Cstr%3E"],[5452,"impl-From%3CString%3E-for-Arc%3Cstr%3E"],[5453,"impl-From%3CVec%3CT%3E%3E-for-Arc%3C%5BT%5D%3E"],[5454,"impl-From%3CArc%3CHeaderSlice%3C(),+T%3E%3E%3E-for-Arc%3CT%3E"],[5455,"impl-From%3COffsetDateTime%3E-for-Timestamp"],[5456,"impl-From%3CArchivedTimestamp%3E-for-Timestamp"],[5457,"impl-From%3CPrimitiveDateTime%3E-for-Timestamp"],[5459,"impl-From%3CSystemTime%3E-for-Timestamp"],[5468,"impl-FromIterator%3C%26str%3E-for-SmolStr"],[5469,"impl-FromIterator%3C%26String%3E-for-SmolStr"],[5470,"impl-FromIterator%3CString%3E-for-SmolStr"],[5471,"impl-FromIterator%3Cchar%3E-for-SmolStr"],[5503,"impl-IntoIterator-for-ThinVec%3CT%3E"],[5504,"impl-IntoIterator-for-%26mut+ThinVec%3CT%3E"],[5505,"impl-IntoIterator-for-%26ThinVec%3CT%3E"],[5575,"impl-Serialize%3CS%3E-for-SmolStr"],[5576,"impl-Serialize-for-SmolStr"],[5577,"impl-Serialize-for-ThinVec%3CT%3E"],[5578,"impl-Serialize%3CS%3E-for-ThinVec%3CT%3E"],[5579,"impl-Serialize-for-Arc%3CT%3E"],[5580,"impl-Serialize%3CS%3E-for-Arc%3CT%3E"],[5581,"impl-Serialize%3CS%3E-for-Timestamp"],[5582,"impl-Serialize-for-Timestamp"],[5583,"impl-Serialize%3C__S%3E-for-Cursor"],[5584,"impl-Serialize-for-Cursor"],[5612,"impl-ToSql-for-Timestamp"],[5613,"impl-ToSql-for-Timestamp"],[5697,"impl-ToSql-for-AssetFlags"],[5698,"impl-FromSql%3C\'a%3E-for-AssetFlags"],[5706,"impl-Flags-for-AssetFlags"],[5707,"impl-AssetFlags"],[5732,"impl-PartialEq%3CArchivedAssetFlags%3E-for-AssetFlags"],[5733,"impl-PartialEq-for-AssetFlags"],[5734,"impl-PartialEq%3CAssetFlags%3E-for-ArchivedAssetFlags"],[5735,"impl-PartialEq-for-ArchivedAssetFlags"],[5745,"impl-UpperHex-for-AssetFlags"],[5746,"impl-Debug-for-AssetFlags"],[5747,"impl-Binary-for-AssetFlags"],[5748,"impl-Octal-for-AssetFlags"],[5749,"impl-LowerHex-for-AssetFlags"],[5751,"impl-From%3CArchivedAssetFlags%3E-for-AssetFlags"],[5752,"impl-From%3CAssetQuery%3E-for-AssetFlags"],[5756,"impl-Flags-for-AssetFlags"],[5757,"impl-AssetFlags"],[5786,"impl-Serialize%3CS%3E-for-AssetFlags"],[5787,"impl-Serialize-for-AssetFlags"],[5798,"impl-ToSql-for-AssetFlags"],[5799,"impl-ToSql-for-AssetFlags"],[5842,"impl-Display-for-AuthToken"],[5843,"impl-Debug-for-AuthToken"],[5844,"impl-Display-for-InvalidAuthToken"],[5845,"impl-Debug-for-InvalidAuthToken"],[5867,"impl-Serialize%3C__S%3E-for-AuthToken"],[5868,"impl-Serialize-for-AuthToken"],[5980,"impl-Serialize-for-ServerConfig"],[5981,"impl-Serialize%3C__S%3E-for-ServerConfig"],[5982,"impl-Serialize-for-ServerLimits"],[5983,"impl-Serialize%3C__S%3E-for-ServerLimits"],[6045,"impl-Serialize-for-Embed"],[6046,"impl-Serialize%3C__S%3E-for-Embed"],[6112,"impl-FromSql%3C\'a%3E-for-EmbedFlags"],[6113,"impl-ToSql-for-EmbedFlags"],[6135,"impl-EmbedFlags"],[6136,"impl-Flags-for-EmbedFlags"],[6270,"impl-PartialEq%3CArchivedEmbedFlags%3E-for-EmbedFlags"],[6271,"impl-PartialEq-for-EmbedFlags"],[6272,"impl-PartialEq%3CEmbedFlags%3E-for-ArchivedEmbedFlags"],[6273,"impl-PartialEq-for-ArchivedEmbedFlags"],[6292,"impl-UpperHex-for-EmbedFlags"],[6293,"impl-LowerHex-for-EmbedFlags"],[6294,"impl-Octal-for-EmbedFlags"],[6295,"impl-Binary-for-EmbedFlags"],[6296,"impl-Debug-for-EmbedFlags"],[6335,"impl-EmbedFlags"],[6336,"impl-Flags-for-EmbedFlags"],[6477,"impl-Serialize%3C__S%3E-for-EmbedType"],[6478,"impl-Serialize-for-EmbedType"],[6479,"impl-Serialize%3CS%3E-for-EmbedFlags"],[6480,"impl-Serialize-for-EmbedFlags"],[6481,"impl-Serialize-for-EmbedV1"],[6482,"impl-Serialize%3C__S%3E-for-EmbedV1"],[6483,"impl-Serialize-for-EmbedFooter"],[6484,"impl-Serialize%3C__S%3E-for-EmbedFooter"],[6485,"impl-Serialize-for-EmbedMedia"],[6486,"impl-Serialize%3C__S%3E-for-EmbedMedia"],[6487,"impl-Serialize-for-BasicEmbedMedia"],[6488,"impl-Serialize%3C__S%3E-for-BasicEmbedMedia"],[6489,"impl-Serialize%3C__S%3E-for-EmbedProvider"],[6490,"impl-Serialize-for-EmbedProvider"],[6491,"impl-Serialize%3C__S%3E-for-EmbedAuthor"],[6492,"impl-Serialize-for-EmbedAuthor"],[6493,"impl-Serialize-for-EmbedField"],[6494,"impl-Serialize%3C__S%3E-for-EmbedField"],[6529,"impl-ToSql-for-EmbedFlags"],[6530,"impl-ToSql-for-EmbedFlags"],[6683,"impl-ToSql-for-EmoteFlags"],[6684,"impl-FromSql%3C\'a%3E-for-EmoteFlags"],[6698,"impl-Flags-for-EmoteFlags"],[6699,"impl-EmoteFlags"],[6746,"impl-PartialEq-for-EmoteFlags"],[6747,"impl-PartialEq%3CArchivedEmoteFlags%3E-for-EmoteFlags"],[6748,"impl-PartialEq-for-ArchivedEmoteFlags"],[6749,"impl-PartialEq%3CEmoteFlags%3E-for-ArchivedEmoteFlags"],[6761,"impl-Debug-for-EmoteFlags"],[6762,"impl-UpperHex-for-EmoteFlags"],[6763,"impl-Binary-for-EmoteFlags"],[6764,"impl-Octal-for-EmoteFlags"],[6765,"impl-LowerHex-for-EmoteFlags"],[6779,"impl-Flags-for-EmoteFlags"],[6780,"impl-EmoteFlags"],[6833,"impl-Serialize-for-EmoteFlags"],[6834,"impl-Serialize%3CS%3E-for-EmoteFlags"],[6835,"impl-Serialize%3C__S%3E-for-CustomEmote"],[6836,"impl-Serialize-for-CustomEmote"],[6837,"impl-Serialize-for-Emote"],[6838,"impl-Serialize%3C__S%3E-for-Emote"],[6853,"impl-ToSql-for-EmoteFlags"],[6854,"impl-ToSql-for-EmoteFlags"],[6941,"impl-Serialize-for-File"],[6942,"impl-Serialize%3C__S%3E-for-File"],[6984,"impl-ToSql-for-Intent"],[6985,"impl-FromSql%3C\'a%3E-for-Intent"],[6993,"impl-Intent"],[6994,"impl-Flags-for-Intent"],[7020,"impl-PartialEq%3CArchivedIntent%3E-for-Intent"],[7021,"impl-PartialEq-for-Intent"],[7022,"impl-PartialEq-for-ArchivedIntent"],[7023,"impl-PartialEq%3CIntent%3E-for-ArchivedIntent"],[7034,"impl-Debug-for-Intent"],[7035,"impl-UpperHex-for-Intent"],[7036,"impl-LowerHex-for-Intent"],[7037,"impl-Octal-for-Intent"],[7038,"impl-Binary-for-Intent"],[7044,"impl-Flags-for-Intent"],[7045,"impl-Intent"],[7073,"impl-Serialize-for-Intent"],[7074,"impl-Serialize%3CS%3E-for-Intent"],[7085,"impl-ToSql-for-Intent"],[7086,"impl-ToSql-for-Intent"],[7164,"impl-Serialize%3C__S%3E-for-Identify"],[7165,"impl-Serialize-for-Identify"],[7166,"impl-Serialize%3C__S%3E-for-SetPresence"],[7167,"impl-Serialize-for-SetPresence"],[7613,"impl-Serialize%3C__S%3E-for-Hello"],[7614,"impl-Serialize-for-Hello"],[7615,"impl-Serialize-for-ReadyParty"],[7616,"impl-Serialize%3C__S%3E-for-ReadyParty"],[7617,"impl-Serialize-for-Ready"],[7618,"impl-Serialize%3C__S%3E-for-Ready"],[7619,"impl-Serialize%3C__S%3E-for-TypingStart"],[7620,"impl-Serialize-for-TypingStart"],[7621,"impl-Serialize%3C__S%3E-for-PartyPositionUpdate"],[7622,"impl-Serialize-for-PartyPositionUpdate"],[7623,"impl-Serialize%3C__S%3E-for-UserPresenceEvent"],[7624,"impl-Serialize-for-UserPresenceEvent"],[7625,"impl-Serialize-for-MessageDeleteEvent"],[7626,"impl-Serialize%3C__S%3E-for-MessageDeleteEvent"],[7627,"impl-Serialize%3C__S%3E-for-RoleDeleteEvent"],[7628,"impl-Serialize-for-RoleDeleteEvent"],[7629,"impl-Serialize%3C__S%3E-for-RoomDeleteEvent"],[7630,"impl-Serialize-for-RoomDeleteEvent"],[7631,"impl-Serialize-for-PartyMemberEvent"],[7632,"impl-Serialize%3C__S%3E-for-PartyMemberEvent"],[7633,"impl-Serialize-for-PartyUpdateEvent"],[7634,"impl-Serialize%3C__S%3E-for-PartyUpdateEvent"],[7635,"impl-Serialize%3C__S%3E-for-UserReactionEvent"],[7636,"impl-Serialize-for-UserReactionEvent"],[7637,"impl-Serialize-for-ProfileUpdateEvent"],[7638,"impl-Serialize%3C__S%3E-for-ProfileUpdateEvent"],[8232,"impl-Serialize%3C__S%3E-for-ServerMsg"],[8233,"impl-Serialize-for-ServerMsg"],[8235,"impl-Serialize%3C__S%3E-for-ClientMsg"],[8236,"impl-Serialize-for-ClientMsg"],[8469,"impl-Serialize-for-HeartbeatPayload"],[8470,"impl-Serialize%3C__S%3E-for-HeartbeatPayload"],[8471,"impl-Serialize%3C__S%3E-for-IdentifyPayload"],[8472,"impl-Serialize-for-IdentifyPayload"],[8473,"impl-Serialize-for-ResumePayload"],[8474,"impl-Serialize%3C__S%3E-for-ResumePayload"],[8475,"impl-Serialize-for-SetPresencePayload"],[8476,"impl-Serialize%3C__S%3E-for-SetPresencePayload"],[8477,"impl-Serialize-for-SubscribePayload"],[8478,"impl-Serialize%3C__S%3E-for-SubscribePayload"],[8479,"impl-Serialize%3C__S%3E-for-UnsubscribePayload"],[8480,"impl-Serialize-for-UnsubscribePayload"],[9501,"impl-Serialize%3C__S%3E-for-HelloPayload"],[9502,"impl-Serialize-for-HelloPayload"],[9503,"impl-Serialize-for-HeartbeatAckPayload"],[9504,"impl-Serialize%3C__S%3E-for-HeartbeatAckPayload"],[9505,"impl-Serialize%3C__S%3E-for-ReadyPayload"],[9506,"impl-Serialize-for-ReadyPayload"],[9507,"impl-Serialize-for-InvalidSessionPayload"],[9508,"impl-Serialize%3C__S%3E-for-InvalidSessionPayload"],[9509,"impl-Serialize%3C__S%3E-for-PartyCreatePayload"],[9510,"impl-Serialize-for-PartyCreatePayload"],[9511,"impl-Serialize%3C__S%3E-for-PartyUpdatePayload"],[9512,"impl-Serialize-for-PartyUpdatePayload"],[9513,"impl-Serialize%3C__S%3E-for-PartyDeletePayload"],[9514,"impl-Serialize-for-PartyDeletePayload"],[9515,"impl-Serialize%3C__S%3E-for-RoleCreatePayload"],[9516,"impl-Serialize-for-RoleCreatePayload"],[9517,"impl-Serialize%3C__S%3E-for-RoleUpdatePayload"],[9518,"impl-Serialize-for-RoleUpdatePayload"],[9519,"impl-Serialize%3C__S%3E-for-RoleDeletePayload"],[9520,"impl-Serialize-for-RoleDeletePayload"],[9521,"impl-Serialize%3C__S%3E-for-MemberAddPayload"],[9522,"impl-Serialize-for-MemberAddPayload"],[9523,"impl-Serialize-for-MemberUpdatePayload"],[9524,"impl-Serialize%3C__S%3E-for-MemberUpdatePayload"],[9525,"impl-Serialize%3C__S%3E-for-MemberRemovePayload"],[9526,"impl-Serialize-for-MemberRemovePayload"],[9527,"impl-Serialize%3C__S%3E-for-MemberBanPayload"],[9528,"impl-Serialize-for-MemberBanPayload"],[9529,"impl-Serialize%3C__S%3E-for-MemberUnbanPayload"],[9530,"impl-Serialize-for-MemberUnbanPayload"],[9531,"impl-Serialize%3C__S%3E-for-RoomCreatePayload"],[9532,"impl-Serialize-for-RoomCreatePayload"],[9533,"impl-Serialize-for-RoomUpdatePayload"],[9534,"impl-Serialize%3C__S%3E-for-RoomUpdatePayload"],[9535,"impl-Serialize-for-RoomDeletePayload"],[9536,"impl-Serialize%3C__S%3E-for-RoomDeletePayload"],[9537,"impl-Serialize-for-RoomPinsUpdatePayload"],[9538,"impl-Serialize%3C__S%3E-for-RoomPinsUpdatePayload"],[9539,"impl-Serialize-for-MessageCreatePayload"],[9540,"impl-Serialize%3C__S%3E-for-MessageCreatePayload"],[9541,"impl-Serialize%3C__S%3E-for-MessageUpdatePayload"],[9542,"impl-Serialize-for-MessageUpdatePayload"],[9543,"impl-Serialize-for-MessageDeletePayload"],[9544,"impl-Serialize%3C__S%3E-for-MessageDeletePayload"],[9545,"impl-Serialize%3C__S%3E-for-MessageReactionAddPayload"],[9546,"impl-Serialize-for-MessageReactionAddPayload"],[9547,"impl-Serialize%3C__S%3E-for-MessageReactionRemovePayload"],[9548,"impl-Serialize-for-MessageReactionRemovePayload"],[9549,"impl-Serialize-for-MessageReactionRemoveAllPayload"],[9550,"impl-Serialize%3C__S%3E-for-MessageReactionRemoveAllPayload"],[9551,"impl-Serialize%3C__S%3E-for-MessageReactionRemoveEmotePayload"],[9552,"impl-Serialize-for-MessageReactionRemoveEmotePayload"],[9553,"impl-Serialize-for-PresenceUpdatePayload"],[9554,"impl-Serialize%3C__S%3E-for-PresenceUpdatePayload"],[9555,"impl-Serialize-for-TypingStartPayload"],[9556,"impl-Serialize%3C__S%3E-for-TypingStartPayload"],[9557,"impl-Serialize-for-UserUpdatePayload"],[9558,"impl-Serialize%3C__S%3E-for-UserUpdatePayload"],[9559,"impl-Serialize-for-ProfileUpdatePayload"],[9560,"impl-Serialize%3C__S%3E-for-ProfileUpdatePayload"],[9561,"impl-Serialize-for-RelationAddPayload"],[9562,"impl-Serialize%3C__S%3E-for-RelationAddPayload"],[9563,"impl-Serialize-for-RelationRemovePayload"],[9564,"impl-Serialize%3C__S%3E-for-RelationRemovePayload"],[10026,"impl-Serialize-for-Invite"],[10027,"impl-Serialize%3C__S%3E-for-Invite"],[10093,"impl-FromSql%3C\'a%3E-for-MessageFlags"],[10094,"impl-ToSql-for-MessageFlags"],[10113,"impl-MessageFlags"],[10114,"impl-Flags-for-MessageFlags"],[10231,"impl-PartialEq-for-MessageFlags"],[10232,"impl-PartialEq%3CArchivedMessageFlags%3E-for-MessageFlags"],[10233,"impl-PartialEq-for-ArchivedMessageFlags"],[10234,"impl-PartialEq%3CMessageFlags%3E-for-ArchivedMessageFlags"],[10258,"impl-Debug-for-MessageFlags"],[10259,"impl-UpperHex-for-MessageFlags"],[10260,"impl-LowerHex-for-MessageFlags"],[10261,"impl-Binary-for-MessageFlags"],[10262,"impl-Octal-for-MessageFlags"],[10267,"impl-Debug-for-EmoteOrEmoji"],[10268,"impl-Display-for-EmoteOrEmoji"],[10297,"impl-MessageFlags"],[10298,"impl-Flags-for-MessageFlags"],[10421,"impl-Serialize-for-MessageFlags"],[10422,"impl-Serialize%3CS%3E-for-MessageFlags"],[10423,"impl-Serialize-for-MessageKind"],[10424,"impl-Serialize%3CS%3E-for-MessageKind"],[10425,"impl-Serialize-for-Message"],[10426,"impl-Serialize%3C__S%3E-for-Message"],[10427,"impl-Serialize%3C__S%3E-for-EmoteOrEmoji"],[10428,"impl-Serialize-for-EmoteOrEmoji"],[10429,"impl-Serialize-for-ReactionShorthand"],[10430,"impl-Serialize%3C__S%3E-for-ReactionShorthand"],[10431,"impl-Serialize-for-ReactionFull"],[10432,"impl-Serialize%3C__S%3E-for-ReactionFull"],[10433,"impl-Serialize%3C__S%3E-for-Reaction"],[10434,"impl-Serialize-for-Reaction"],[10435,"impl-Serialize%3C__S%3E-for-Attachment"],[10436,"impl-Serialize-for-Attachment"],[10464,"impl-ToSql-for-MessageFlags"],[10465,"impl-ToSql-for-MessageFlags"],[10474,"impl-TryFrom%3Cu64%3E-for-MessageKind"],[10475,"impl-TryFrom%3Ci32%3E-for-MessageKind"],[10476,"impl-TryFrom%3Ci16%3E-for-MessageKind"],[10477,"impl-TryFrom%3Ci8%3E-for-MessageKind"],[10479,"impl-TryFrom%3Ci64%3E-for-MessageKind"],[10480,"impl-TryFrom%3Cu8%3E-for-MessageKind"],[10481,"impl-TryFrom%3Cu16%3E-for-MessageKind"],[10482,"impl-TryFrom%3Cu32%3E-for-MessageKind"],[10583,"impl-FromSql%3C\'a%3E-for-Nullable%3CT%3E"],[10584,"impl-ToSql-for-Nullable%3CT%3E"],[10598,"impl-Deserialize%3C\'de%3E-for-Nullable%3CT%3E"],[10599,"impl-Deserialize%3CNullable%3CT%3E,+D%3E-for-Nullable%3C%3CT+as+Archive%3E::Archived%3E"],[10602,"impl-From%3COption%3CT%3E%3E-for-Nullable%3CT%3E"],[10603,"impl-From%3CT%3E-for-Nullable%3CT%3E"],[10617,"impl-Serialize-for-Nullable%3CT%3E"],[10618,"impl-Serialize%3CS%3E-for-Nullable%3CT%3E"],[10621,"impl-ToSql-for-Nullable%3CT%3E"],[10622,"impl-ToSql-for-Nullable%3CT%3E"],[10663,"impl-FromSql%3C\'a%3E-for-PartyPrefsFlags"],[10664,"impl-ToSql-for-PartyPrefsFlags"],[10666,"impl-FromSql%3C\'a%3E-for-PartyFlags"],[10667,"impl-ToSql-for-PartyFlags"],[10669,"impl-FromSql%3C\'a%3E-for-PartyMemberFlags"],[10670,"impl-ToSql-for-PartyMemberFlags"],[10672,"impl-ToSql-for-PinFolderFlags"],[10673,"impl-FromSql%3C\'a%3E-for-PinFolderFlags"],[10708,"impl-Flags-for-PartyPrefsFlags"],[10709,"impl-PartyPrefsFlags"],[10711,"impl-PartyFlags"],[10712,"impl-Flags-for-PartyFlags"],[10714,"impl-Flags-for-PartyMemberFlags"],[10715,"impl-PartyMemberFlags"],[10717,"impl-Flags-for-PinFolderFlags"],[10718,"impl-PinFolderFlags"],[10881,"impl-PartialEq%3CArchivedPartyPrefsFlags%3E-for-PartyPrefsFlags"],[10882,"impl-PartialEq-for-PartyPrefsFlags"],[10883,"impl-PartialEq%3CPartyPrefsFlags%3E-for-ArchivedPartyPrefsFlags"],[10884,"impl-PartialEq-for-ArchivedPartyPrefsFlags"],[10885,"impl-PartialEq%3CArchivedPartyFlags%3E-for-PartyFlags"],[10886,"impl-PartialEq-for-PartyFlags"],[10887,"impl-PartialEq-for-ArchivedPartyFlags"],[10888,"impl-PartialEq%3CPartyFlags%3E-for-ArchivedPartyFlags"],[10889,"impl-PartialEq-for-PartyMemberFlags"],[10890,"impl-PartialEq%3CArchivedPartyMemberFlags%3E-for-PartyMemberFlags"],[10891,"impl-PartialEq%3CPartyMemberFlags%3E-for-ArchivedPartyMemberFlags"],[10892,"impl-PartialEq-for-ArchivedPartyMemberFlags"],[10893,"impl-PartialEq-for-PinFolderFlags"],[10894,"impl-PartialEq%3CArchivedPinFolderFlags%3E-for-PinFolderFlags"],[10895,"impl-PartialEq-for-ArchivedPinFolderFlags"],[10896,"impl-PartialEq%3CPinFolderFlags%3E-for-ArchivedPinFolderFlags"],[10941,"impl-Binary-for-PartyPrefsFlags"],[10942,"impl-Octal-for-PartyPrefsFlags"],[10943,"impl-LowerHex-for-PartyPrefsFlags"],[10944,"impl-Debug-for-PartyPrefsFlags"],[10945,"impl-UpperHex-for-PartyPrefsFlags"],[10948,"impl-UpperHex-for-PartyFlags"],[10949,"impl-LowerHex-for-PartyFlags"],[10950,"impl-Octal-for-PartyFlags"],[10951,"impl-Binary-for-PartyFlags"],[10952,"impl-Debug-for-PartyFlags"],[10956,"impl-Binary-for-PartyMemberFlags"],[10957,"impl-UpperHex-for-PartyMemberFlags"],[10958,"impl-LowerHex-for-PartyMemberFlags"],[10959,"impl-Debug-for-PartyMemberFlags"],[10960,"impl-Octal-for-PartyMemberFlags"],[10963,"impl-Debug-for-PinFolderFlags"],[10964,"impl-LowerHex-for-PinFolderFlags"],[10965,"impl-Octal-for-PinFolderFlags"],[10966,"impl-Binary-for-PinFolderFlags"],[10967,"impl-UpperHex-for-PinFolderFlags"],[10973,"impl-From%3CArchivedPartyPrefsFlags%3E-for-PartyPrefsFlags"],[10974,"impl-From%3Cu64%3E-for-PartyPrefsFlags"],[11004,"impl-PartyPrefsFlags"],[11005,"impl-Flags-for-PartyPrefsFlags"],[11006,"impl-PartyFlags"],[11007,"impl-Flags-for-PartyFlags"],[11008,"impl-PartyMemberFlags"],[11009,"impl-Flags-for-PartyMemberFlags"],[11010,"impl-Flags-for-PinFolderFlags"],[11011,"impl-PinFolderFlags"],[11188,"impl-Serialize-for-PartyPrefsFlags"],[11189,"impl-Serialize%3CS%3E-for-PartyPrefsFlags"],[11190,"impl-Serialize-for-PartyPreferences"],[11191,"impl-Serialize%3C__S%3E-for-PartyPreferences"],[11192,"impl-Serialize%3CS%3E-for-PartyFlags"],[11193,"impl-Serialize-for-PartyFlags"],[11194,"impl-Serialize%3C__S%3E-for-PartialParty"],[11195,"impl-Serialize-for-PartialParty"],[11196,"impl-Serialize-for-Party"],[11197,"impl-Serialize%3C__S%3E-for-Party"],[11198,"impl-Serialize%3CS%3E-for-PartyMemberFlags"],[11199,"impl-Serialize-for-PartyMemberFlags"],[11200,"impl-Serialize%3C__S%3E-for-PartyMember"],[11201,"impl-Serialize-for-PartyMember"],[11202,"impl-Serialize-for-PinFolderFlags"],[11203,"impl-Serialize%3CS%3E-for-PinFolderFlags"],[11204,"impl-Serialize-for-PinFolder"],[11205,"impl-Serialize%3C__S%3E-for-PinFolder"],[11256,"impl-ToSql-for-PartyPrefsFlags"],[11257,"impl-ToSql-for-PartyPrefsFlags"],[11259,"impl-ToSql-for-PartyFlags"],[11260,"impl-ToSql-for-PartyFlags"],[11262,"impl-ToSql-for-PartyMemberFlags"],[11263,"impl-ToSql-for-PartyMemberFlags"],[11265,"impl-ToSql-for-PinFolderFlags"],[11266,"impl-ToSql-for-PinFolderFlags"],[11428,"impl-Flags-for-Permissions"],[11429,"impl-Permissions"],[11467,"impl-PartialEq-for-Permissions"],[11468,"impl-PartialEq%3CArchivedPermissions%3E-for-Permissions"],[11469,"impl-PartialEq-for-ArchivedPermissions"],[11470,"impl-PartialEq%3CPermissions%3E-for-ArchivedPermissions"],[11472,"impl-PartialEq-for-Overwrite"],[11473,"impl-PartialEq%3CArchivedOverwrite%3E-for-Overwrite"],[11487,"impl-Binary-for-Permissions"],[11488,"impl-UpperHex-for-Permissions"],[11489,"impl-Debug-for-Permissions"],[11490,"impl-Octal-for-Permissions"],[11491,"impl-LowerHex-for-Permissions"],[11501,"impl-Permissions"],[11502,"impl-Flags-for-Permissions"],[11544,"impl-Serialize%3CS%3E-for-Permissions"],[11545,"impl-Serialize-for-Permissions"],[11546,"impl-Serialize%3C__S%3E-for-Overwrite"],[11547,"impl-Serialize-for-Overwrite"],[11614,"impl-UserPresenceFlags"],[11615,"impl-Flags-for-UserPresenceFlags"],[11670,"impl-PartialEq%3CArchivedUserPresenceFlags%3E-for-UserPresenceFlags"],[11671,"impl-PartialEq-for-UserPresenceFlags"],[11672,"impl-PartialEq%3CUserPresenceFlags%3E-for-ArchivedUserPresenceFlags"],[11673,"impl-PartialEq-for-ArchivedUserPresenceFlags"],[11685,"impl-UpperHex-for-UserPresenceFlags"],[11686,"impl-LowerHex-for-UserPresenceFlags"],[11687,"impl-Octal-for-UserPresenceFlags"],[11688,"impl-Binary-for-UserPresenceFlags"],[11689,"impl-Debug-for-UserPresenceFlags"],[11707,"impl-Flags-for-UserPresenceFlags"],[11708,"impl-UserPresenceFlags"],[11768,"impl-Serialize%3CS%3E-for-UserPresenceFlags"],[11769,"impl-Serialize-for-UserPresenceFlags"],[11770,"impl-Serialize-for-UserPresence"],[11771,"impl-Serialize%3C__S%3E-for-UserPresence"],[11772,"impl-Serialize%3C__S%3E-for-AnyActivity"],[11773,"impl-Serialize-for-AnyActivity"],[11774,"impl-Serialize%3C__S%3E-for-Activity"],[11775,"impl-Serialize-for-Activity"],[11848,"impl-ToSql-for-RoleFlags"],[11849,"impl-FromSql%3C\'a%3E-for-RoleFlags"],[11860,"impl-Flags-for-RoleFlags"],[11861,"impl-RoleFlags"],[11902,"impl-PartialEq%3CArchivedRoleFlags%3E-for-RoleFlags"],[11903,"impl-PartialEq-for-RoleFlags"],[11904,"impl-PartialEq%3CRoleFlags%3E-for-ArchivedRoleFlags"],[11905,"impl-PartialEq-for-ArchivedRoleFlags"],[11917,"impl-UpperHex-for-RoleFlags"],[11918,"impl-LowerHex-for-RoleFlags"],[11919,"impl-Debug-for-RoleFlags"],[11920,"impl-Octal-for-RoleFlags"],[11921,"impl-Binary-for-RoleFlags"],[11931,"impl-Flags-for-RoleFlags"],[11932,"impl-RoleFlags"],[11981,"impl-Serialize-for-RoleFlags"],[11982,"impl-Serialize%3CS%3E-for-RoleFlags"],[11983,"impl-Serialize-for-Role"],[11984,"impl-Serialize%3C__S%3E-for-Role"],[11997,"impl-ToSql-for-RoleFlags"],[11998,"impl-ToSql-for-RoleFlags"],[12053,"impl-FromSql%3C\'a%3E-for-RoomFlags"],[12054,"impl-ToSql-for-RoomFlags"],[12067,"impl-Flags-for-RoomFlags"],[12068,"impl-RoomFlags"],[12126,"impl-PartialEq-for-RoomFlags"],[12127,"impl-PartialEq%3CArchivedRoomFlags%3E-for-RoomFlags"],[12128,"impl-PartialEq-for-ArchivedRoomFlags"],[12129,"impl-PartialEq%3CRoomFlags%3E-for-ArchivedRoomFlags"],[12146,"impl-Binary-for-RoomFlags"],[12147,"impl-Debug-for-RoomFlags"],[12148,"impl-Octal-for-RoomFlags"],[12149,"impl-LowerHex-for-RoomFlags"],[12150,"impl-UpperHex-for-RoomFlags"],[12158,"impl-From%3CRoomKind%3E-for-RoomFlags"],[12159,"impl-From%3CArchivedRoomFlags%3E-for-RoomFlags"],[12168,"impl-RoomFlags"],[12169,"impl-Flags-for-RoomFlags"],[12249,"impl-Serialize-for-RoomFlags"],[12250,"impl-Serialize%3CS%3E-for-RoomFlags"],[12251,"impl-Serialize-for-Room"],[12252,"impl-Serialize%3C__S%3E-for-Room"],[12253,"impl-Serialize%3C__S%3E-for-FullRoom"],[12254,"impl-Serialize-for-FullRoom"],[12272,"impl-ToSql-for-RoomFlags"],[12273,"impl-ToSql-for-RoomFlags"],[12281,"impl-TryFrom%3Ci16%3E-for-RoomKind"],[12282,"impl-TryFrom%3Ci8%3E-for-RoomKind"],[12283,"impl-TryFrom%3Ci32%3E-for-RoomKind"],[12284,"impl-TryFrom%3Ci64%3E-for-RoomKind"],[12286,"impl-TryFrom%3Cu8%3E-for-RoomKind"],[12287,"impl-TryFrom%3Cu16%3E-for-RoomKind"],[12288,"impl-TryFrom%3Cu32%3E-for-RoomKind"],[12289,"impl-TryFrom%3Cu64%3E-for-RoomKind"],[12398,"impl-Serialize%3C__S%3E-for-Session"],[12399,"impl-Serialize-for-Session"],[12400,"impl-Serialize%3C__S%3E-for-AnonymousSession"],[12401,"impl-Serialize-for-AnonymousSession"],[12437,"impl-DeserializeWith%3CArchivedOptionSnowflake,+Option%3CArchivedSnowflake%3E,+D%3E-for-NicheSnowflake"],[12438,"impl-DeserializeWith%3CArchivedOptionSnowflake,+Option%3CSnowflake%3E,+D%3E-for-NicheSnowflake"],[12498,"impl-Serialize-for-RoomStatistics"],[12499,"impl-Serialize%3C__S%3E-for-RoomStatistics"],[12525,"impl-FromSql%3C\'a%3E-for-ThreadFlags"],[12526,"impl-ToSql-for-ThreadFlags"],[12535,"impl-Flags-for-ThreadFlags"],[12536,"impl-ThreadFlags"],[12572,"impl-PartialEq-for-ThreadFlags"],[12573,"impl-PartialEq%3CArchivedThreadFlags%3E-for-ThreadFlags"],[12574,"impl-PartialEq%3CThreadFlags%3E-for-ArchivedThreadFlags"],[12575,"impl-PartialEq-for-ArchivedThreadFlags"],[12587,"impl-LowerHex-for-ThreadFlags"],[12588,"impl-Debug-for-ThreadFlags"],[12589,"impl-Binary-for-ThreadFlags"],[12590,"impl-Octal-for-ThreadFlags"],[12591,"impl-UpperHex-for-ThreadFlags"],[12601,"impl-ThreadFlags"],[12602,"impl-Flags-for-ThreadFlags"],[12643,"impl-Serialize-for-ThreadFlags"],[12644,"impl-Serialize%3CS%3E-for-ThreadFlags"],[12645,"impl-Serialize-for-Thread"],[12646,"impl-Serialize%3C__S%3E-for-Thread"],[12659,"impl-ToSql-for-ThreadFlags"],[12660,"impl-ToSql-for-ThreadFlags"],[12786,"impl-FromSql%3C\'a%3E-for-UserPrefsFlags"],[12787,"impl-ToSql-for-UserPrefsFlags"],[12789,"impl-FromSql%3C\'a%3E-for-UserProfileBits"],[12790,"impl-ToSql-for-UserProfileBits"],[12791,"impl-FromSql%3C\'a%3E-for-ExtraUserProfileBits"],[12792,"impl-ToSql-for-ExtraUserProfileBits"],[12795,"impl-FromSql%3C\'a%3E-for-UserRelationship"],[12796,"impl-ToSql-for-UserRelationship"],[12835,"impl-Flags-for-UserPrefsFlags"],[12836,"impl-UserPrefsFlags"],[12838,"impl-Flags-for-UserFlags"],[12839,"impl-UserFlags"],[12841,"impl-UserProfileBits"],[12842,"impl-Flags-for-UserProfileBits"],[12843,"impl-ExtraUserProfileBits"],[12844,"impl-Flags-for-ExtraUserProfileBits"],[13077,"impl-PartialEq%3CArchivedUserPrefsFlags%3E-for-UserPrefsFlags"],[13078,"impl-PartialEq-for-UserPrefsFlags"],[13079,"impl-PartialEq-for-ArchivedUserPrefsFlags"],[13080,"impl-PartialEq%3CUserPrefsFlags%3E-for-ArchivedUserPrefsFlags"],[13081,"impl-PartialEq%3CArchivedUserFlags%3E-for-UserFlags"],[13082,"impl-PartialEq-for-UserFlags"],[13083,"impl-PartialEq-for-ArchivedUserFlags"],[13084,"impl-PartialEq%3CUserFlags%3E-for-ArchivedUserFlags"],[13086,"impl-PartialEq-for-UserProfileBits"],[13087,"impl-PartialEq%3CArchivedUserProfileBits%3E-for-UserProfileBits"],[13088,"impl-PartialEq-for-ExtraUserProfileBits"],[13089,"impl-PartialEq%3CArchivedExtraUserProfileBits%3E-for-ExtraUserProfileBits"],[13090,"impl-PartialEq%3CUserProfileBits%3E-for-ArchivedUserProfileBits"],[13091,"impl-PartialEq-for-ArchivedUserProfileBits"],[13092,"impl-PartialEq%3CExtraUserProfileBits%3E-for-ArchivedExtraUserProfileBits"],[13093,"impl-PartialEq-for-ArchivedExtraUserProfileBits"],[13181,"impl-UpperHex-for-UserPrefsFlags"],[13182,"impl-Octal-for-UserPrefsFlags"],[13183,"impl-LowerHex-for-UserPrefsFlags"],[13184,"impl-Binary-for-UserPrefsFlags"],[13185,"impl-Debug-for-UserPrefsFlags"],[13188,"impl-LowerHex-for-UserFlags"],[13189,"impl-UpperHex-for-UserFlags"],[13190,"impl-Octal-for-UserFlags"],[13191,"impl-Debug-for-UserFlags"],[13192,"impl-Binary-for-UserFlags"],[13195,"impl-LowerHex-for-UserProfileBits"],[13196,"impl-UpperHex-for-UserProfileBits"],[13197,"impl-Debug-for-UserProfileBits"],[13198,"impl-Octal-for-UserProfileBits"],[13199,"impl-Binary-for-UserProfileBits"],[13200,"impl-Binary-for-ExtraUserProfileBits"],[13201,"impl-Debug-for-ExtraUserProfileBits"],[13202,"impl-LowerHex-for-ExtraUserProfileBits"],[13203,"impl-UpperHex-for-ExtraUserProfileBits"],[13204,"impl-Octal-for-ExtraUserProfileBits"],[13220,"impl-From%3Cu64%3E-for-UserPrefsFlags"],[13221,"impl-From%3CArchivedUserPrefsFlags%3E-for-UserPrefsFlags"],[13252,"impl-UserPrefsFlags"],[13253,"impl-Flags-for-UserPrefsFlags"],[13254,"impl-Flags-for-UserFlags"],[13255,"impl-UserFlags"],[13256,"impl-UserProfileBits"],[13257,"impl-Flags-for-UserProfileBits"],[13258,"impl-ExtraUserProfileBits"],[13259,"impl-Flags-for-ExtraUserProfileBits"],[13481,"impl-Serialize%3CS%3E-for-Locale"],[13482,"impl-Serialize-for-Locale"],[13483,"impl-Serialize%3CS%3E-for-Font"],[13484,"impl-Serialize-for-Font"],[13485,"impl-Serialize%3CS%3E-for-FriendAddability"],[13486,"impl-Serialize-for-FriendAddability"],[13487,"impl-Serialize%3CS%3E-for-UserPrefsFlags"],[13488,"impl-Serialize-for-UserPrefsFlags"],[13489,"impl-Serialize%3C__S%3E-for-UserPreferences"],[13490,"impl-Serialize-for-UserPreferences"],[13491,"impl-Serialize-for-UserFlags"],[13492,"impl-Serialize%3CS%3E-for-UserFlags"],[13493,"impl-Serialize-for-UserProfileBits"],[13494,"impl-Serialize%3CS%3E-for-UserProfileBits"],[13495,"impl-Serialize%3CS%3E-for-ExtraUserProfileBits"],[13496,"impl-Serialize-for-ExtraUserProfileBits"],[13497,"impl-Serialize-for-UserProfile"],[13498,"impl-Serialize%3C__S%3E-for-UserProfile"],[13499,"impl-Serialize-for-User"],[13500,"impl-Serialize%3C__S%3E-for-User"],[13501,"impl-Serialize-for-UserRelationship"],[13502,"impl-Serialize%3CS%3E-for-UserRelationship"],[13503,"impl-Serialize-for-Relationship"],[13504,"impl-Serialize%3C__S%3E-for-Relationship"],[13575,"impl-ToSql-for-UserPrefsFlags"],[13576,"impl-ToSql-for-UserPrefsFlags"],[13578,"impl-ToSql-for-UserProfileBits"],[13579,"impl-ToSql-for-UserProfileBits"],[13580,"impl-ToSql-for-ExtraUserProfileBits"],[13581,"impl-ToSql-for-ExtraUserProfileBits"],[13584,"impl-ToSql-for-UserRelationship"],[13585,"impl-ToSql-for-UserRelationship"],[13623,"impl-TryFrom%3Ci32%3E-for-UserRelationship"],[13624,"impl-TryFrom%3Ci64%3E-for-UserRelationship"],[13625,"impl-TryFrom%3Cu8%3E-for-UserRelationship"],[13626,"impl-TryFrom%3Cu16%3E-for-UserRelationship"],[13627,"impl-TryFrom%3Cu32%3E-for-UserRelationship"],[13628,"impl-TryFrom%3Ci16%3E-for-UserRelationship"],[13629,"impl-TryFrom%3Ci8%3E-for-UserRelationship"],[13630,"impl-TryFrom%3Cu64%3E-for-UserRelationship"],[13871,"impl-Serialize%3C__S%3E-for-Temperature"],[13872,"impl-Serialize-for-Temperature"],[13873,"impl-Serialize%3C__S%3E-for-FontSize"],[13874,"impl-Serialize-for-FontSize"],[13875,"impl-Serialize%3C__S%3E-for-TabSize"],[13876,"impl-Serialize-for-TabSize"],[13877,"impl-Serialize-for-Padding"],[13878,"impl-Serialize%3C__S%3E-for-Padding"],[13942,"impl-AsRef%3Cstr%3E-for-FixedStr%3CN%3E"],[13943,"impl-AsRef%3C%5Bu8%5D%3E-for-FixedStr%3CN%3E"],[13953,"impl-Deserialize%3CFixedStr%3CN%3E,+D%3E-for-FixedStr%3CN%3E"],[13954,"impl-Deserialize%3C\'de%3E-for-FixedStr%3CN%3E"],[13960,"impl-Display-for-FixedStr%3CN%3E"],[13961,"impl-Debug-for-FixedStr%3CN%3E"],[13971,"impl-Serialize%3CS%3E-for-FixedStr%3CN%3E"],[13972,"impl-Serialize-for-FixedStr%3CN%3E"],[13984,"impl-ToSql-for-ThinString"],[13985,"impl-FromSql%3C\'a%3E-for-ThinString"],[13991,"impl-AsRef%3C%5Bu8%5D%3E-for-ThinString"],[13992,"impl-AsRef%3Cstr%3E-for-ThinString"],[14014,"impl-PartialEq-for-ThinString"],[14015,"impl-PartialEq%3Cstr%3E-for-ThinString"],[14016,"impl-PartialEq%3CString%3E-for-ThinString"],[14017,"impl-PartialEq%3CCow%3C\'a,+str%3E%3E-for-ThinString"],[14018,"impl-PartialEq%3C%26str%3E-for-ThinString"],[14028,"impl-Extend%3C%26str%3E-for-ThinString"],[14029,"impl-Extend%3C%26char%3E-for-ThinString"],[14030,"impl-Extend%3Cchar%3E-for-ThinString"],[14031,"impl-Extend%3CCow%3C\'a,+str%3E%3E-for-ThinString"],[14032,"impl-Extend%3CBox%3Cstr%3E%3E-for-ThinString"],[14033,"impl-Extend%3CString%3E-for-ThinString"],[14034,"impl-Extend%3CThinString%3E-for-ThinString"],[14035,"impl-Debug-for-ThinString"],[14036,"impl-Display-for-ThinString"],[14037,"impl-Display-for-FromUtf8Error"],[14038,"impl-Debug-for-FromUtf8Error"],[14039,"impl-From%3CCow%3C\'a,+str%3E%3E-for-ThinString"],[14040,"impl-From%3C%26mut+str%3E-for-ThinString"],[14041,"impl-From%3C%26str%3E-for-ThinString"],[14042,"impl-From%3CString%3E-for-ThinString"],[14043,"impl-From%3C%26String%3E-for-ThinString"],[14044,"impl-From%3CBox%3Cstr%3E%3E-for-ThinString"],[14046,"impl-From%3Cchar%3E-for-ThinString"],[14048,"impl-FromIterator%3C%26str%3E-for-ThinString"],[14049,"impl-FromIterator%3Cchar%3E-for-ThinString"],[14050,"impl-FromIterator%3C%26char%3E-for-ThinString"],[14051,"impl-FromIterator%3CString%3E-for-ThinString"],[14052,"impl-FromIterator%3CThinString%3E-for-ThinString"],[14073,"impl-Serialize-for-ThinString"],[14074,"impl-Serialize%3CS%3E-for-ThinString"]],"c":"OjAAAAEAAAAAAAEAEAAAAFYUHBY=","e":"OzAAAAEAADAq6AIBAAAAAwABAAYAFwAfAAEAIwABACgAAAAsAAAALgAAADAAAwA1AAUAPAAEAEIAAABVAAAAWQAAAGAAAABmAAUAbQAIAHcAAAB6AAAAfgAOAI8ABwCdAAAAoQABAKkAAACuAAIAswACALcAAgC+AAQAxAAIAM4AAwDVAAYA3gAHAOsABgD1AAsABwECAAsBEgAkAQEAKAEAACoBAAAsAQAALgEAADABCAA6AUoAlwEBAKsBEwDCAX8ARgIAAEgCAQBMAgAATgIGAFYCMACfAgsArgJNABgDAQAbAwAAIAMBACQDAQAoAwEAKwMAAC0DAAAvAwAAMQMAADMDAQA2AwAAOAMAADsDAAA9AwAAPwMBAEMDAQBHAwAASQMAAEsDAQBOAwEAUgM4AIwDAACOAwAAkAMAAJIDAACUAwAAlgMAAJgDAACaAwAAnAMUAbIEQgBKBQAAoAVWAPgFDgAZBlcCiggAAI0IAACPCAAAkQgAAJMIAACVCAAAlwgBAJsIAACdCAEAoQgBAKUIAACnCAAAqwgAAK0IAACvCAAAsQgBALUIAAC3CAAAuQgvAOoIAADsCAAA7ggAAPAIAADyCAAA9AgSAZcKYwANCwYAFQtmAH0LdADzCyYBNA0DADsNAAA+DQEAQg0BAEYNAABIDQAATA0CAFENAQBVDQIAWg0BAF4NAQBiDQAAZA0BAGgNGwCFDRYAnQ0AAJ8NAAChDQAAow0AAKUNAACnDQAAqQ0AAKsNAACtDQAArw3QAIEOJACnDgAAqQ4AAKsONAAlDwAALQ8CAHwPSwDXDwMA3Q8AAN8PAADhD18AQhBdAKEQAgClEAQAqxDmAJMRBACZEU0A6xFWAEQSFABeEgQAaRIEAG8SMgCjEgQAqRIBAKwSAQCwEhcAyRIBAMwSAgDQEgAA0xIQAOYSJgAPEwwAHxMAACMTJgBLEwEAThMAAFATDwBiEwIAZhMBAGsTBQBzExcAjBMOAJ0TAgCiExwAwBMCAMQTEgDYEwAA2hMIAOUTAgDpEwAA7BMCAPQTBQD7EwwACRQAAAsUJQAzFAAAOBQAAD4UAQBBFAAARBQAAEgUAwBNFAAATxQEAFgUBQBgFAAAZBQLAHEUCgB9FAAAgRQbAKEUDgCxFAIAtRRpACAVDAA1FQEAOBUGAEYVAwBLFQcAVBUAAF0VBQBnFQEAahUCAG8VAABxFQQAgBUCAIYVAACLFQgAlhUCAJsVAQClFQAApxUNALYVAAC9FQQAxBUBAMgVDwDZFQAA3RUAAN8VAQDiFQAA5BUOAPQVDwAGFgcADxYJABsWAAAdFgEAQhYCAEYWAABLFgAAUBYNAGEWAQBlFgsAchYHAH0WAACEFgEAjBYAAJMWAQCWFgEAmhYDAKUWBgCtFgUAtBYBAMMWEwDbFgIA4hYhAAYXAQAJFwAACxcTACAXAAAiFw4ANxcBAD8XEQBSFwgAXBcgAH4XAACDFw0AlxcYALoXAAC9FwAAwBcAAMIXAQDFFwAAxxcBAMoXAADMFwAAzhcAANIXAADVFwAA2BcAANwXAQDgFwMA5RcOAPkXAAD+FzYANhgnAF8YAQBkGAkAbxgAAHEYCgB+GBAAkBgTAKgYAADBGAAAxhgCAMoYCgDzGAAA+BgEAP8YIwAmGRoAQhkBAEUZIwBrGQAAbxkFAHgZDgCIGTMAvRkAAL8ZGgDcGQwA6hkaAAYaBQARGgEAFhoCABoaBAAgGgYAKxoAADAaIQBVGgMAWxoLAGgaCQBzGgAAfBoAAIIaAwCSGgAAmRoJAKQaCQCvGgsAwhoIAMwaFwDlGgoA8RoAAPMaEQAJGwMAERsJABwbGgA7GwAARxsAAEkbAgBNGwAAUxsAAFcbDgBpGwEAbRsMAHsbBgCFGwAAixsBAJMbAACaGwIAnhsBAKEbAwCsGwYAtBsFALsbAQC/GwAAwRsAAMMbGwDlGwEA7RsvACwcAQAvHAAAMRwAADMcAAA1HAAAORwBADwcAQBAHAAAQhwAAEQcAABGHAAASBwAAEoclgAJHQgAOR0mAGEdCgBtHU4AvR0nAOYdqwCYHgIAnh4AAKIeAACmHgAAqh4AAK4eAACyHgAAth4AALoeAAC+HgAAwh4AAMYeAADKHgAAzh4AANIeAADWHgAA2h4AAN4eAADiHgAA5h4AAOoeAADuHgAA8h4AAPYeAAD6HgAA/h4AAAIfAAAGHwAACh8AAA4fAAASHwAAFh8AABofAAAiHwAAJh8AACofAAAuHwAAMh8AADYfJABfHwUAZh8AAGwfAABxHwAAcx8AAHUfAAB3HwAAgx8AAIUfCwCSHwAAlB8AAJYfAACYHwAAmh8AAJwfAACeHwAAoB8AAKIfAACkHwAAph8AAKgfAQDAHwEA0h8nAPwfAAD+HwAAACAAAAIgCgAOIAAAECAAABIgAAAUIAAAFiACABogAAAcIAAAHiAAACAgAAAiIAAAJCAAACYgAAAoIAkAMyACADcgIABZIAAAXCAAAF4gCQB6IEUA0iADAOggiQDSIXkBrCMxAD4kwwIDJwAABScKABEnBgAeJwkAKScRAD8nAABDJwAASCcAAEsnAABOJwEAUicAAFQnBABaJwEAXicBAGInAABlJwAAaCcIAHInCwCDJwAAhydUAN8nDgDvJwcA+CcVAA8oEwA7KAAAPSgBAEIoCABlKAAAbCgZAIcoHQCmKCcA0igAANYoEQDpKEkANCkfAFgpAgBdKQcAZikGAG4pAwB2KQAAeCkMAI8pAACRKQEAmSkAAJspAwCgKQAAoikAAKQpAQCnKQwAuCkMANUpAADZKQAA2ykAAN4pAADpKWkAXyoHAGgqDwB8KgEAgiovALYqJgDeKgEA5SoAAO4qAAD0KgAA/ioAAAArAAACKwEAFSsLAEgrAwBlKxkAgCsCAIgrGQCjKwAAqCsKALQrGwDsKyAAESxEAFosGwB4LAEAeywDAIAsAQCDLAkAkSwCAJYsBACcLAAAnywBAKUsAACqLBQAxCwBAMcsAgDMLBIA4CwGAOgsAADvLAAA9iwBAAItAAAKLQQAES0EABctBwAnLQIAKy0OADstBgBDLQAASS0EAFAtAQBULQEAVy0DAGAtAABkLSgAkC0EAJctCwCkLQsAvC0AAL8tAADDLQAA0y0AANstDADpLQoA9S0PAAwuBAASLiAANS4MAEQuAwBJLgIATS4DAFUuAABaLhkAdy4FAH8uCwCMLgkAnC4AAKIuAwCvLgEAtS4AALguBgDALgoAzC4HANsuBwDkLg4A9C4EAP0uAQABLwAAAy8AAAYvBAANLwAAEC8AABMvAAAWLwIAGi8FACQvAAApLysAWC8DAF4vEABwLwoAfy8BAIovAACMLwAAkC8FAKUvAACsLw0AvC8AAL4vDwDPLwAA0S8AANMvEADoLwAA7C8KAPgvKgAkMAsAMzAAADUwAQA4MBYAUDAAAFIwAgBhMC0AlDADAJowBwCjMAAApTASALkwAgDEMAkAzzAYAOswAQDuMAIA8jABAPgwAAD9MBcAGDECAB0xCwAqMQkAOzEAAEAxAwBNMQAAVDEEAFoxBgBiMQcAcTEHAHoxDgCKMQQAkDEBAJMxAgCdMQIAojEFAKkxAwCuMQgAuDEDAL0xAwDCMQQAyDECAMwxAwDSMQUA2TEBANwxAADfMQYA6DEAAOoxAADsMQIA8DEAAPIxCwACMhEAJDIAACcyAAArMgAALTIAADAyAQA6Mp8A5jIbAAczAQAKMwAADzNdAHEzLQClMwEArDMAALAzAACzMwAAxjMBAMozAADMMwAA0TMBAN8zFwAkNAMAQDQgAGU0CgBxNB4AkTQHAJ00MADSNAMA4jQEAPM0JwAfNWIAhjUhAKw1AACuNQAAsDUAALI1AAC0NUMAEDZfAHE2AAB0NhYAjTYAAI82AACRNgAAkzYGAJs2QgDfNgAA4TYHAOs2JQA="}]]')); +if (typeof exports !== 'undefined') exports.searchIndex = searchIndex; +else if (window.initSearch) window.initSearch(searchIndex); +//{"start":39,"fragment_lengths":[285959]} \ No newline at end of file diff --git a/search.desc/client_sdk/client_sdk-desc-0-.js b/search.desc/client_sdk/client_sdk-desc-0-.js new file mode 100644 index 000000000..24d038e8c --- /dev/null +++ b/search.desc/client_sdk/client_sdk-desc-0-.js @@ -0,0 +1 @@ +searchState.loadedDescShard("client_sdk", 0, "Lantern Chat Client SDK\nSnowflake Identifier as used in Lantern Chat.\nAPI Definitions\nReturns the argument unchanged.\nCreate a new Snowflake from the given 64-bit unsigned …\nCreate a valid Snowflake from the given unix timestamp in …\nReturns the ID bits of the Snowflake, which typically …\nReturns the increment bits of the Snowflake.\nCalls U::from(self).\nSnowflake set to the max Signed 64-bit value, what …\nObject data structures used within Lantern\nGenerate the simplest valid Snowflake, the value 1.\nConstructs a Permissions set from a list of permissions by …\nReturns the timestamp bits of the Snowflake.\nReturns the Snowflake as a 64-bit signed integer.\nReturns the Snowflake as a 64-bit unsigned integer.\nCommand requires authorization to execute.\nBody type for the command\nClient Command, tells the client to perform specific …\nCombined trait for serde and rkyv functionality\nFlags for command functionality.\nCombined trait for serde and rkyv functionality\nDefault rate-limit config for commands when not otherwise …\nFlags for the command, defaults to empty.\nCommand has a body.\nHTTP Method used to execute the command\nWhether the command has a query string or sends a body\nThe underlying type of each returned item, be it one or …\nError returned when an item is missing from a stream or …\nBaseline rate-limiting parameters, defaults to …\nPath pattern for the command (without query) when used …\nRate-limiting configuration for a command\nItem(s) returned from the server by a given command\nOn the server side, how long to wait before timing out the …\nWhether the command returns one or many items\nInsert any additional headers required to perform this …\nInsert any additional headers required to perform this …\nGet a flags value with all known bits set.\nAsset handling utilities and types\nThe bitwise and (&) of the bits in two flags values.\nThe bitwise and (&) of the bits in two flags values.\nThe bitwise or (|) of the bits in two flags values.\nThe bitwise or (|) of the bits in two flags values.\nGet the underlying bits value.\nThe bitwise exclusive-or (^) of the bits in two flags …\nThe bitwise exclusive-or (^) of the bits in two flags …\nBody to be serialized as request body or query parameters …\nHint given to preallocate body size, only used for query …\nHint given to preallocate body size, only used for query …\nMaximum number of requests that can be made in a burst, …\nUsed to collect the Result from an arbitrary Stream of …\nThe bitwise negation (!) of the bits in a flags value, …\nWhether all set bits in a source flags value are also set …\nThe intersection of a source flags value with the …\nIdeal time between each request\nGet a flags value with all bits unset.\nStandard API error types and codes.\nThe bitwise or (|) of the bits in each flags value.\nSerialize/format the REST path (without query)\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nConvert from a bits value.\nConvert from a bits value exactly.\nConvert from a bits value, unsetting any unknown bits.\nThe bitwise or (|) of the bits in each flags value.\nGet a flags value with the bits of a flag with the given …\nThe bitwise or (|) of the bits in two flags values.\nThe bitwise and (&) of the bits in two flags values.\nWhether any set bits in a source flags value are also set …\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nWhether all known bits in this flags value are set.\nWhether all bits in this flags value are unset.\nYield a set of contained flags values.\nYield a set of contained named flags values.\nThe bitwise negation (!) of the bits in a flags value, …\nComputes required permissions\nThe intersection of a source flags value with the …\nCall insert when value is true or remove when value is …\nThe intersection of a source flags value with the …\nThe intersection of a source flags value with the …\nThe bitwise exclusive-or (^) of the bits in two flags …\nThe bitwise exclusive-or (^) of the bits in two flags …\nThe bitwise or (|) of the bits in two flags values.\nWhen fetching assets, this query can be used to specify …\nSimple and efficient query using bitflags, e.g. ?f=1234\nHuman-readable query, e.g. ?q=100&a=1&t=1&ext=png\nReturns the argument unchanged.\nCalls U::from(self).\nWhether to select animated assets\nFile extension to filter by if picking a specific format\nBitfield of flags to filter by\nQuality of the asset from 0-100\nWhether to select assets with alpha channels\nAn archived GetServerConfig\nGets the global server configuration\nThe resolver for an archived GetServerConfig\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nConstruct new instance from individual fields\nAn archived CreateFile\nAn archived CreateFileBody\nAn archived FileStatus\nAn archived FilesystemStatus\nAn archived GetFileStatus\nAn archived GetFilesystemStatus\nThe resolver for an archived CreateFileBody\nThe resolver for an archived CreateFile\nThe resolver for an archived FileStatus\nThe resolver for an archived FilesystemStatus\nThe resolver for an archived GetFileStatus\nThe resolver for an archived GetFilesystemStatus\nBody to be serialized as request body or query parameters …\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nConstruct new instance from individual fields\nConstruct new instance from individual fields\nConstruct new instance from individual fields\nAn archived GetInvite\nAn archived RedeemInvite\nAn archived RedeemInviteBody\nAn archived RevokeInvite\nThe resolver for an archived GetInvite\nThe resolver for an archived RedeemInviteBody\nThe resolver for an archived RedeemInvite\nThe resolver for an archived RevokeInvite\nBody to be serialized as request body or query parameters …\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nConstruct new instance from individual fields\nConstruct new instance from individual fields\nConstruct new instance from individual fields\nAn archived CreateParty\nAn archived CreatePartyForm\nAn archived CreatePartyInvite\nAn archived CreatePartyInviteBody\nAn archived CreatePinFolder\nAn archived CreatePinFolderForm\nAn archived CreateRole\nAn archived CreateRoleForm\nAn archived CreateRoom\nAn archived CreateRoomForm\nAn archived DeleteParty\nAn archived DeleteRole\nAn archived GetMemberProfile\nAn archived GetParty\nAn archived GetPartyInvites\nAn archived GetPartyMember\nAn archived GetPartyMembers\nAn archived GetPartyRooms\nAn archived PartySettings\nAn archived PatchParty\nAn archived PatchPartyForm\nAn archived PatchRole\nAn archived PatchRoleForm\nAn archived SearchParty\nAn archived SearchQuery\nAn archived TransferOwnership\nAn archived UpdateMemberProfile\nAn archived UpdateMemberProfileBody\nThe resolver for an archived CreatePartyForm\nInfinite parameters may only be used with appropriate …\nThe resolver for an archived CreatePartyInviteBody\nThe resolver for an archived CreatePartyInvite\nThe resolver for an archived CreateParty\nThe resolver for an archived CreatePinFolderForm\nThe resolver for an archived CreatePinFolder\nThe resolver for an archived CreateRoleForm\nThe resolver for an archived CreateRole\nThe resolver for an archived CreateRoomForm\nThe resolver for an archived CreateRoom\nThe resolver for an archived DeleteParty\nThe resolver for an archived DeleteRole\nThe resolver for an archived GetMemberProfile\nThe resolver for an archived GetPartyInvites\nThe resolver for an archived GetPartyMember\nThe resolver for an archived GetPartyMembers\nThe resolver for an archived GetParty\nThe resolver for an archived GetPartyRooms\nThe resolver for an archived PartySettings\nThe resolver for an archived PatchPartyForm\nThe resolver for an archived PatchParty\nThe resolver for an archived PatchRoleForm\nThe resolver for an archived PatchRole\nThe resolver for an archived SearchParty\nThe resolver for an archived SearchQuery\nThe resolver for an archived TransferOwnership\nThe resolver for an archived UpdateMemberProfileBody\nThe resolver for an archived UpdateMemberProfile\nBody to be serialized as request body or query parameters …\nBody to be serialized as request body or query parameters …\nBody to be serialized as request body or query parameters …\nBody to be serialized as request body or query parameters …\nBody to be serialized as request body or query parameters …\nBody to be serialized as request body or query parameters …\nBody to be serialized as request body or query parameters …\nBody to be serialized as request body or query parameters …\nBody to be serialized as request body or query parameters …\nIf None, invite has infinite duration\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nIf None, invite has infinite uses\nConstruct new instance from individual fields\nConstruct new instance from individual fields\nConstruct new instance from individual fields\nConstruct new instance from individual fields\nConstruct new instance from individual fields\nConstruct new instance from individual fields\nConstruct new instance from individual fields\nConstruct new instance from individual fields\nConstruct new instance from individual fields\nConstruct new instance from individual fields\nConstruct new instance from individual fields\nConstruct new instance from individual fields\nConstruct new instance from individual fields\nConstruct new instance from individual fields\nConstruct new instance from individual fields\nConstruct new instance from individual fields\nConstruct new instance from individual fields\nConstruct new instance from individual fields\nAn archived CreateMessage\nAn archived CreateMessageBody\nAn archived DeleteAllReactions\nAn archived DeleteMessage\nAn archived DeleteOwnReaction\nAn archived DeleteRoom\nAn archived DeleteUserReaction\nAn archived EditMessage\nAn archived EditMessageBody\nAn archived GetMessage\nAn archived GetMessages\nAn archived GetMessagesQuery\nAn archived GetReactions\nAn archived GetReactionsForm\nAn archived GetRoom\nAn archived PatchRoom\nAn archived PatchRoomForm\nAn archived PinMessage\nAn archived PutReaction\nAn archived StarMessage\nAn archived StartTyping\nAn archived StartTypingBody\nAn archived UnpinMessage\nAn archived UnstarMessage\nCreate message command\nThe resolver for an archived CreateMessageBody\nThe resolver for an archived CreateMessage\nThe resolver for an archived DeleteAllReactions\nThe resolver for an archived DeleteMessage\nThe resolver for an archived DeleteOwnReaction\nThe resolver for an archived DeleteRoom\nThe resolver for an archived DeleteUserReaction\nThe resolver for an archived EditMessageBody\nThe resolver for an archived EditMessage\nThe resolver for an archived GetMessage\nThe resolver for an archived GetMessagesQuery\nThe resolver for an archived GetMessages\nThe resolver for an archived GetReactionsForm\nThe resolver for an archived GetReactions\nThe resolver for an archived GetRoom\nNullable::Undefined or Option::None fields indicate no …\nThe resolver for an archived PatchRoomForm\nThe resolver for an archived PatchRoom\nThe resolver for an archived PinMessage\nThe resolver for an archived PutReaction\nThe resolver for an archived StarMessage\nThe resolver for an archived StartTypingBody\nThe resolver for an archived StartTyping\nThe resolver for an archived UnpinMessage\nThe resolver for an archived UnstarMessage\nBody to be serialized as request body or query parameters …\nBody to be serialized as request body or query parameters …\nBody to be serialized as request body or query parameters …\nBody to be serialized as request body or query parameters …\nBody to be serialized as request body or query parameters …\nBody to be serialized as request body or query parameters …\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nConstruct new instance from individual fields\nConstruct new instance from individual fields\nConstruct new instance from individual fields\nConstruct new instance from individual fields\nConstruct new instance from individual fields\nConstruct new instance from individual fields\nConstruct new instance from individual fields\nConstruct new instance from individual fields\nConstruct new instance from individual fields\nConstruct new instance from individual fields\nConstruct new instance from individual fields\nConstruct new instance from individual fields\nConstruct new instance from individual fields\nConstruct new instance from individual fields\nConstruct new instance from individual fields\nConstruct new instance from individual fields\nConstruct new instance from individual fields\nConstruct new instance from individual fields\nWill only show within the parent context if set\nIf above zero, this will also fetch child messages of …\nIf true, return only messages in the channel which have …\nThe resolver for an archived Added2FA\nAn archived Added2FA\nAn archived ChangePassword\nAn archived ChangePasswordForm\nAn archived ClearSessions\nAn archived ClearSessionsForm\nAn archived Confirm2FA\nAn archived Confirm2FAForm\nAn archived Enable2FA\nAn archived Enable2FAForm\nAn archived GetRelationships\nAn archived GetSessions\nAn archived GetUser\nAn archived PatchRelationship\nAn archived PatchRelationshipBody\nAn archived Remove2FA\nAn archived Remove2FAForm\nAn archived UpdateUserPrefs\nAn archived UpdateUserPrefsBody\nAn archived UpdateUserProfile\nAn archived UpdateUserProfileBody\nAn archived UserLogin\nAn archived UserLoginForm\nAn archived UserLogout\nAn archived UserRegister\nAn archived UserRegisterForm\nThe resolver for an archived ChangePasswordForm\nThe resolver for an archived ChangePassword\nClears all other sessions\nThe resolver for an archived ClearSessionsForm\nThe resolver for an archived ClearSessions\nThe resolver for an archived Confirm2FAForm\nThe resolver for an archived Confirm2FA\nThe resolver for an archived Enable2FAForm\nThe resolver for an archived Enable2FA\nThe resolver for an archived GetRelationships\nThe resolver for an archived GetSessions\nFetches full user information, including profile data\nThe resolver for an archived GetUser\nThe resolver for an archived PatchRelationshipBody\nThe resolver for an archived PatchRelationship\nThe resolver for an archived Remove2FAForm\nThe resolver for an archived Remove2FA\nThe resolver for an archived UpdateUserPrefsBody\nThe resolver for an archived UpdateUserPrefs\nThe resolver for an archived UpdateUserProfileBody\nThe resolver for an archived UpdateUserProfile\nThe resolver for an archived UserLoginForm\nThe resolver for an archived UserLogin\nThe resolver for an archived UserLogout\nThe resolver for an archived UserRegisterForm\nThe resolver for an archived UserRegister\nBackup codes to be stored in a safe place\nBody to be serialized as request body or query parameters …\nBody to be serialized as request body or query parameters …\nBody to be serialized as request body or query parameters …\nBody to be serialized as request body or query parameters …\nBody to be serialized as request body or query parameters …\nBody to be serialized as request body or query parameters …\nBody to be serialized as request body or query parameters …\nBody to be serialized as request body or query parameters …\nBody to be serialized as request body or query parameters …\nBody to be serialized as request body or query parameters …\nCurrent password\nDate of birth\nEmail address\nEmail address\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nConstruct new instance from individual fields\nConstruct new instance from individual fields\nConstruct new instance from individual fields\nConstruct new instance from individual fields\nConstruct new instance from individual fields\nConstruct new instance from individual fields\nConstruct new instance from individual fields\nConstruct new instance from individual fields\nConstruct new instance from individual fields\nConstruct new instance from individual fields\nConstruct new instance from individual fields\nConstruct new instance from individual fields\nConstruct new instance from individual fields\nConstruct new instance from individual fields\nNew password\nOptional note to give the user\nPassword (Plaintext, will be hashed on the server)\nPassword (Plaintext, will be hashed on the server)\nPassword\nYour desired relationship with the other user\nhCaptcha token\n2FA token, if enabled\n2FA token, if enabled\nURL to be display as a QR code and added to an …\nUsername\nStandard API error response, containing an error code and …\nStandard API error codes.\nThe resolver for an archived ApiError\nAn archived ApiError\nGet the error code for this error.\nError code\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nGet the HTTP status code for this error code.\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nHuman-readable error message\nQuery parameters for the gateway, used to configure the …\nWhether to compress individual messages\nEncoding method for each individual websocket message\nReturns the argument unchanged.\nCalls U::from(self).\nConstructs a Driver instance with the current …\nReturns the argument unchanged.\nReturns the argument unchanged.\nCalls U::from(self).\nCalls U::from(self).\nUpload a plain file from its handle\nUploads a file stream in chunks\nExecute the given command, taking care of all body and …\nSame as execute, but will return an Option if the API …\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nSimple Standard with a StandardError\nDynamic ServerMsgHandlers suitable for simpler bot …\nRequired properties for custom error types, must be able …\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nSetup a callback for any errors that occur during the …\nSetup a callback to run once after the first gateway …\nUtility to split a string into segments delimited by …\nReturns the argument unchanged.\nReturns the argument unchanged.\nCalls U::from(self).\nCalls U::from(self).\nGateway connection that provides automatic reconnect …\nRaw WebSocket adapter that handles encoding and decoding …\nManually initiate a new connection of the gateway websocket\nGet a reference to the control structure\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nPrevent reconnecting\nResets the connection attempt counter and opens up for new …\nSets the reconnect limit to a non-zero value. Does not …\nThe resolver for Cursor::After\nThe archived counterpart of Cursor::After\nAn atomically reference counted shared pointer\nAn archived Cursor\nThe resolver for Cursor::Before\nThe archived counterpart of Cursor::Before\nDirectional search query\nThe resolver for an archived Cursor\nEncrypted Snowflake, used for obfuscating IDs in URLs.\nThe resolver for Cursor::Exact\nThe archived counterpart of Cursor::Exact\nLightweight randomly-seeded hash builder for …\nA SmolStr is a string type that has the following …\nSnowflake Identifier as used in Lantern Chat.\nSee the crate’s top level documentation for a …\nUTC Timestamp with nanosecond precision, …\nUnix Epoch – 1970-01-01 Midnight\nDefines Snowflake aliases to easier keep track of what ID …\nMoves all the elements of other into self, leaving other …\nObtain a mutable pointer to the stored MaybeUninit<T>.\nExtracts a mutable slice of the entire vector.\nObtain a mutable slice to the stored [MaybeUninit<T>].\nReturns the raw pointer.\nExtracts a slice containing the entire vector.\nReturns a &str slice of this SmolStr.\nSafety\nSafety\nConvert to time::OffsetDateTime with the given offset.\nProduce a pointer to the data that can be converted back …\nReturns the number of elements the vector can hold without …\nComputes self + duration, returning None if an overflow …\nComputes self - duration, returning None if an overflow …\nClears the vector, removing all values.\nGets the number of Arc pointers to this allocation\nRemoves consecutive repeated elements in the vector.\nRemoves consecutive elements in the vector according to a …\nRemoves consecutive elements in the vector that resolve to …\nRemoves the specified range from the vector in bulk, …\nReturns the amount of time elapsed from an earlier point …\nClones and appends all elements in a slice to the ThinVec.\nFormat timestamp to ISO8601 with full punctuation, to …\nFormat timestamp to ISO8601 with extended precision to …\nFormat timestamp to ISO8601 with extended precision to …\nFormats the timestamp given the provided formatting …\nFormat timestamp to ISO8601 without most punctuation, to …\nFormat timestamp to ISO8601 with arbitrary UTC offset. Any …\nFormats a full timestamp with timezone offset, and the …\nFormats a full timestamp without offset, using the given …\nReturns the argument unchanged.\nReturns the argument unchanged.\nAllocate a ThinVec<u8> and fill it with a UTF-8 string.\nConvert a std::Vec into a ThinVec.\nConvert a boxed slice into a vector by transferring …\nAllocate a ThinVec<T> and move s’s items into it.\nAllocate a ThinVec<T> and fill it by cloning s’s items.\nAllocate a ThinVec<T> and fill it by cloning s’s items.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nCreates an Arc for a HeaderSlice using the given header …\nCreates an Arc for a HeaderSlice using the given header …\nCreates an Arc for a HeaderSlice using the given header …\nCreates an Arc for a HeaderSlice using the given header …\nConstructs a Timestamp from a PrimitiveDateTime\nReconstruct the Arc<T> from a raw pointer obtained from …\nConverts a OffsetArc into an Arc. This consumes the …\nReconstruct the Arc<[T]> from a raw pointer obtained from …\nConverts a ThinArc into an Arc. This consumes the ThinArc, …\nProvides mutable access to the contents if the Arc is …\nProvides unique access to the arc if the Arc is uniquely …\nReturns true if the vector has the capacity to hold any …\nReturns the address on the heap of the Arc itself – not …\nInserts an element at position index within the vector, …\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nConvert the Arc<T> to a raw pointer, suitable for use …\nConverts an Arc into a OffsetArc. This consumes the Arc, …\nConverts an Arc into a ThinArc. This consumes the Arc, so …\nReturns true if self has a length of zero bytes.\nReturns true if the vector contains no elements.\nReturns true if self is heap-allocated.\nWhether or not the Arc is uniquely owned (is the refcount …\nReturns the length of self in bytes.\nReturns the number of elements in the vector, also …\nMakes a mutable reference to the Arc, cloning if necessary\nMakes a UniqueArc from an Arc, cloning if necessary.\nConstructs a SmolStr from a str, heap-allocating if …\nCreates a new empty ThinVec.\nConstruct an Arc<T>\nConstructs an inline variant of SmolStr.\nConstructs a SmolStr from a statically allocated string.\nCreate an Arc contains an MaybeUninit<T>.\nCreate an Arc contains an array [MaybeUninit<T>] of len.\nGet the current time, assuming UTC.\nParse to UTC timestamp from any ISO8601 string. Offsets …\nRemoves the last element from a vector and returns it, or …\nReturns true if the two Arcs point to the same allocation …\nAppends an element to the back of a collection.\nRemoves and returns the element at position index within …\nReserve capacity for at least additional more elements to …\nReserves the minimum capacity for additional more elements …\nResizes the Vec in-place so that len() is equal to new_len.\nRetains only the elements specified by the predicate.\nRetains only the elements specified by the predicate, …\nComputes self + duration, saturating value on overflow.\nComputes self - duration, saturating value on overflow.\nForces the length of the vector to new_len.\nShrinks the capacity of the vector as much as possible.\nCreates a splicing iterator that replaces the specified …\nSplits the collection into two at the given index.\nThe reference count of this Arc.\nRemoves an element from the vector and returns it.\nGet the year, month, and day.\nShortens the vector, keeping the first len elements and …\nReturns a UniqueArc if the Arc has exactly one strong …\nReturns the inner value, if the Arc has exactly one strong …\nIf we have the only reference to T then unwrap it. …\nConstructs a new, empty ThinVec<T> with at least the …\nTemporarily converts |self| into a bonafide OffsetArc and …\nCalls MaybeUninit::write on the value contained.\nArchived version of EmoteId\nArchived version of FileId\nArchived version of FolderId\nArchived version of InviteId\nArchived version of MessageId\nArchived version of PartyId\nArchived version of RoleId\nArchived version of RoomId\nArchived version of ThreadId\nArchived version of UserId\nSnowflake ID for a Custom Emote\nSnowflake ID for a File\nSnowflake ID for a Pin Folder\nSnowflake ID for an party Invite\nSnowflake ID for a Message\nSnowflake ID for a Party\nSnowflake ID for a Role\nSnowflake ID for a Room\nSnowflake ID for a message Thread\nSnowflake ID for a User\nIndicates if the encoded image is animated\nArchived version of AssetFlags, automatically made …\nNOTE: Formats are as individual bitflags (rather than some …\nAll qualifier flags\nAll supported formats\nAll formats and flags\nAVIF format\nGIF format\nJPEG format\nJpeg XL format\nPNG format\nWebM format\nIndicates if the encoded image has an alpha channel\nThese formats don’t have widespread support yet, so don…\n7-bit unsigned integer for quality from [0-128)\nGet a flags value with all known bits set.\nThe bitwise and (&) of the bits in two flags values.\nThe bitwise and (&) of the bits in two flags values.\nThe bitwise or (|) of the bits in two flags values.\nThe bitwise or (|) of the bits in two flags values.\nGet the underlying bits value.\nGet the underlying raw bits value.\nThe bitwise exclusive-or (^) of the bits in two flags …\nThe bitwise exclusive-or (^) of the bits in two flags …\nThe bitwise negation (!) of the bits in a flags value, …\nWhether all set bits in a source flags value are also set …\nCheck if the archived bitflags contains all the given …\nThe intersection of a source flags value with the …\nGet a flags value with all bits unset.\nThe bitwise or (|) of the bits in each flags value.\nReturns the argument unchanged.\nReturns the argument unchanged.\nConvert from a bits value.\nConvert from a bits value exactly.\nConvert from a bits value, unsetting any unknown bits.\nConstructs a new AssetFlags from the given extension\nThe bitwise or (|) of the bits in each flags value.\nGet a flags value with the bits of a flag with the given …\nConverts the native bitflags type to an archived bitflags.\nThe bitwise or (|) of the bits in two flags values.\nThe bitwise and (&) of the bits in two flags values.\nWhether any set bits in a source flags value are also set …\nCheck if the archived bitflags intersect with any of the …\nCalls U::from(self).\nCalls U::from(self).\nWhether all known bits in this flags value are set.\nWhether all known bits in this flags value are set.\nWhether all bits in this flags value are unset.\nWhether all bits in this flags value are unset.\nYield a set of contained flags values.\nYield a set of contained named flags values.\nThe bitwise negation (!) of the bits in a flags value, …\nGets the quality value from the asset flags\nThe intersection of a source flags value with the …\nCall insert when value is true or remove when value is …\nThe intersection of a source flags value with the …\nThe intersection of a source flags value with the …\nThe bitwise exclusive-or (^) of the bits in two flags …\nConverts this archived bitflags to the native bitflags …\nConverts this archived bitflags to the native bitflags …\nConverts this archived bitflags to the native bitflags …\nThe bitwise exclusive-or (^) of the bits in two flags …\nThe bitwise or (|) of the bits in two flags values.\nSets the alpha channel flag\nSets the quality of the asset, clamping to [0-128)\nAn archived AuthToken\nRaw base64-encoded auth tokens for users and bots.\nThe resolver for an archived AuthToken\nThe resolver for AuthToken::Bearer\nThe archived counterpart of AuthToken::Bearer\nBearer token for users\nFixed-length string with a maximum length of 28 bytes for …\nThe resolver for AuthToken::Bot\nThe archived counterpart of AuthToken::Bot\nBot token for bots\nFixed-length string with a maximum length of 48 bytes for …\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nAn archived ServerConfig\nAn archived ServerLimits\nThe resolver for an archived ServerConfig\nThe resolver for an archived ServerLimits\nIf true, use a “camo”/camouflage route provided at “…\nCDN Domain\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nMinimum user age (in years)\nIf the serve should require HTTPS\nAn archived Embed\nThe resolver for an archived Embed\nDefault type returned by the embed server\nThe resolver for Embed::V1\nThe archived counterpart of Embed::V1\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nThis embed may contain content marked as “adult”\nAn archived BasicEmbedMedia\nAn archived EmbedAuthor\nAn archived EmbedField\nArchived version of EmbedFlags, automatically made …\nAn archived EmbedFooter\nAn archived EmbedMedia\nAn archived EmbedProvider\nAn archived EmbedType\nAn archived EmbedV1\nThe resolver for EmbedType::Article\nThe archived counterpart of EmbedType::Article\nThe resolver for EmbedType::Audio\nThe archived counterpart of EmbedType::Audio\nThe resolver for an archived BasicEmbedMedia\nThe resolver for an archived EmbedAuthor\nThe resolver for an archived EmbedField\nThe resolver for an archived EmbedFooter\nThe resolver for an archived EmbedMedia\nThe resolver for an archived EmbedProvider\nThe resolver for an archived EmbedType\nAn embed is metadata taken from a given URL by loading …\nThe resolver for an archived EmbedV1\nThe resolver for EmbedType::Html\nThe archived counterpart of EmbedType::Html\nThe resolver for EmbedType::Img\nThe archived counterpart of EmbedType::Img\nThe resolver for EmbedType::Link\nThe archived counterpart of EmbedType::Link\nThis embed contains spoilered content and should be …\nThe resolver for EmbedType::Vid\nThe archived counterpart of EmbedType::Vid\nGet a flags value with all known bits set.\nThe bitwise and (&) of the bits in two flags values.\nThe bitwise and (&) of the bits in two flags values.\nThe bitwise or (|) of the bits in two flags values.\nThe bitwise or (|) of the bits in two flags values.\nGet the underlying bits value.\nGet the underlying raw bits value.\nThe bitwise exclusive-or (^) of the bits in two flags …\nThe bitwise exclusive-or (^) of the bits in two flags …\nShould use block-formatting\nCanonical URL\nAccent Color\nThe bitwise negation (!) of the bits in a flags value, …\nWhether all set bits in a source flags value are also set …\nCheck if the archived bitflags contains all the given …\nDescription, usually from the Open-Graph API\nNon-visible description of the embedded media\nThe intersection of a source flags value with the …\nGet a flags value with all bits unset.\nThe bitwise or (|) of the bits in each flags value.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nConvert from a bits value.\nConvert from a bits value exactly.\nConvert from a bits value, unsetting any unknown bits.\nThe bitwise or (|) of the bits in each flags value.\nGet a flags value with the bits of a flag with the given …\nConverts the native bitflags type to an archived bitflags.\nheight\nThe bitwise or (|) of the bits in two flags values.\nThe bitwise and (&) of the bits in two flags values.\nWhether any set bits in a source flags value are also set …\nCheck if the archived bitflags intersect with any of the …\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nWhether all known bits in this flags value are set.\nWhether all known bits in this flags value are set.\nWhether all bits in this flags value are unset.\nWhether all bits in this flags value are unset.\nYield a set of contained flags values.\nYield a set of contained named flags values.\nIf this is is empty, but the alternate field is not empty, …\nThe bitwise negation (!) of the bits in a flags value, …\nHTML and similar objects\noEmbed Provider\nThe intersection of a source flags value with the …\nCall insert when value is true or remove when value is …\nCryptographic signature for use with the proxy server\nThe intersection of a source flags value with the …\nThe intersection of a source flags value with the …\nThe bitwise exclusive-or (^) of the bits in two flags …\nConverts this archived bitflags to the native bitflags …\nConverts this archived bitflags to the native bitflags …\nConverts this archived bitflags to the native bitflags …\nThe bitwise exclusive-or (^) of the bits in two flags …\nTimestamp when the embed was retreived\nEmbed type\nThe bitwise or (|) of the bits in two flags values.\nURL fetched\nVisit each EmbedMedia to mutate them (such as to generate …\nwidth\nAn archived CustomEmote\nAn archived Emote\nArchived version of EmoteFlags, automatically made …\nThe resolver for Emote::Custom\nThe archived counterpart of Emote::Custom\nThe resolver for an archived CustomEmote\nThe resolver for Emote::Emoji\nThe archived counterpart of Emote::Emoji\nThe resolver for an archived Emote\nGet a flags value with all known bits set.\nThe bitwise and (&) of the bits in two flags values.\nThe bitwise and (&) of the bits in two flags values.\nThe bitwise or (|) of the bits in two flags values.\nThe bitwise or (|) of the bits in two flags values.\nGet the underlying bits value.\nGet the underlying raw bits value.\nThe bitwise exclusive-or (^) of the bits in two flags …\nThe bitwise exclusive-or (^) of the bits in two flags …\nThe bitwise negation (!) of the bits in a flags value, …\nWhether all set bits in a source flags value are also set …\nCheck if the archived bitflags contains all the given …\nThe intersection of a source flags value with the …\nGet a flags value with all bits unset.\nThe bitwise or (|) of the bits in each flags value.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nConvert from a bits value.\nConvert from a bits value exactly.\nConvert from a bits value, unsetting any unknown bits.\nThe bitwise or (|) of the bits in each flags value.\nGet a flags value with the bits of a flag with the given …\nConverts the native bitflags type to an archived bitflags.\nThe bitwise or (|) of the bits in two flags values.\nThe bitwise and (&) of the bits in two flags values.\nWhether any set bits in a source flags value are also set …\nCheck if the archived bitflags intersect with any of the …\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nWhether all known bits in this flags value are set.\nWhether all known bits in this flags value are set.\nWhether all bits in this flags value are unset.\nWhether all bits in this flags value are unset.\nYield a set of contained flags values.\nYield a set of contained named flags values.\nThe bitwise negation (!) of the bits in a flags value, …\nThe intersection of a source flags value with the …\nCall insert when value is true or remove when value is …\nThe intersection of a source flags value with the …\nThe intersection of a source flags value with the …\nThe bitwise exclusive-or (^) of the bits in two flags …\nConverts this archived bitflags to the native bitflags …\nConverts this archived bitflags to the native bitflags …\nConverts this archived bitflags to the native bitflags …\nThe bitwise exclusive-or (^) of the bits in two flags …\nThe bitwise or (|) of the bits in two flags values.\nAn archived File\nThe resolver for an archived File\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nBase-85 encoded blurhash, basically guaranteed to be …\nArchived version of Intent, automatically made …\nMESSAGE_CREATEMESSAGE_UPDATEMESSAGE_DELETE…\nMESSAGE_REACTION_ADDMESSAGE_REACTION_REMOVE…\nTYPING_START\nMESSAGE_CREATEMESSAGE_UPDATEMESSAGE_DELETE…\nMESSAGE_REACTION_ADDMESSAGE_REACTION_REMOVE…\nTYPING_START\nPARTY_CREATEPARTY_UPDATEPARTY_DELETEPARTY_ROLE_CREATE…\nPARTY_BAN_ADDPARTY_BAN_REMOVE\nPARTY_EMOJIS_UPDATE\nPARTY_INTEGRATIONS_UPDATEINTEGRATION_CREATE…\nINVITE_CREATEINVITE_DELETE\nPARTY_MEMBER_ADDPARTY_MEMBER_UPDATEPARTY_MEMBER_REMOVE\nWEBHOOKS_UPDATE\nPRESENCE_UPDATE\nVOICE_STATE_UPDATE\nGet a flags value with all known bits set.\nThe bitwise and (&) of the bits in two flags values.\nThe bitwise and (&) of the bits in two flags values.\nThe bitwise or (|) of the bits in two flags values.\nThe bitwise or (|) of the bits in two flags values.\nGet the underlying bits value.\nGet the underlying raw bits value.\nThe bitwise exclusive-or (^) of the bits in two flags …\nThe bitwise exclusive-or (^) of the bits in two flags …\nThe bitwise negation (!) of the bits in a flags value, …\nWhether all set bits in a source flags value are also set …\nCheck if the archived bitflags contains all the given …\nThe intersection of a source flags value with the …\nGet a flags value with all bits unset.\nThe bitwise or (|) of the bits in each flags value.\nReturns the argument unchanged.\nReturns the argument unchanged.\nConvert from a bits value.\nConvert from a bits value exactly.\nConvert from a bits value, unsetting any unknown bits.\nThe bitwise or (|) of the bits in each flags value.\nGet a flags value with the bits of a flag with the given …\nConverts the native bitflags type to an archived bitflags.\nThe bitwise or (|) of the bits in two flags values.\nThe bitwise and (&) of the bits in two flags values.\nWhether any set bits in a source flags value are also set …\nCheck if the archived bitflags intersect with any of the …\nCalls U::from(self).\nCalls U::from(self).\nWhether all known bits in this flags value are set.\nWhether all known bits in this flags value are set.\nWhether all bits in this flags value are unset.\nWhether all bits in this flags value are unset.\nYield a set of contained flags values.\nYield a set of contained named flags values.\nThe bitwise negation (!) of the bits in a flags value, …\nThe intersection of a source flags value with the …\nCall insert when value is true or remove when value is …\nThe intersection of a source flags value with the …\nThe intersection of a source flags value with the …\nThe bitwise exclusive-or (^) of the bits in two flags …\nConverts this archived bitflags to the native bitflags …\nConverts this archived bitflags to the native bitflags …\nConverts this archived bitflags to the native bitflags …\nThe bitwise exclusive-or (^) of the bits in two flags …\nThe bitwise or (|) of the bits in two flags values.\nAn archived Identify\nAn archived SetPresence\nThe resolver for an archived Identify\nThe resolver for an archived SetPresence\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nAn archived Hello\nAn archived MessageDeleteEvent\nAn archived PartyMemberEvent\nAn archived PartyPositionUpdate\nAn archived PartyUpdateEvent\nAn archived ProfileUpdateEvent\nAn archived Ready\nAn archived ReadyParty\nAn archived RoleDeleteEvent\nAn archived RoomDeleteEvent\nAn archived TypingStart\nAn archived UserPresenceEvent\nAn archived UserReactionEvent\nThe resolver for PartyUpdateEvent::Full\nThe archived counterpart of PartyUpdateEvent::Full\nThe resolver for an archived Hello\nThe resolver for an archived MessageDeleteEvent\nThe resolver for an archived PartyMemberEvent\nThe resolver for an archived PartyPositionUpdate\nThe resolver for an archived PartyUpdateEvent\nThe resolver for PartyUpdateEvent::Position\nThe archived counterpart of PartyUpdateEvent::Position\nThe resolver for an archived ProfileUpdateEvent\nThe resolver for an archived ReadyParty\nThe resolver for an archived Ready\nThe resolver for an archived RoleDeleteEvent\nThe resolver for an archived RoomDeleteEvent\nThe resolver for an archived TypingStart\nThe resolver for an archived UserPresenceEvent\nThe resolver for an archived UserReactionEvent\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nNumber of milliseconds between heartbeats\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nThe user’s own member object\nThe parties the user is in, including DMs.\nContains all rooms the user is in, including DMs.\nGateway session ID, used for resuming sessions\nAn archived ClientMsg\nAn archived ServerMsg\nMessages sent from the client to the server\nHandler callbacks for ClientMsg\nOpCodes for ClientMsg\nThe resolver for an archived ClientMsg\nSee new_heartbeat for an easy way to create this message.\nThe resolver for ClientMsg::Heartbeat\nThe archived counterpart of ClientMsg::Heartbeat\nAcknowledgement of a heartbeat\nThe resolver for ServerMsg::HeartbeatAck\nThe archived counterpart of ServerMsg::HeartbeatAck\nThe Hello message initiates the gateway session and …\nThe resolver for ServerMsg::Hello\nThe archived counterpart of ServerMsg::Hello\nSee new_identify for an easy way to create this message.\nThe resolver for ClientMsg::Identify\nThe archived counterpart of ClientMsg::Identify\nSent when the session is no longer valid\nThe resolver for ServerMsg::InvalidSession\nThe archived counterpart of ServerMsg::InvalidSession\nSee new_member_add for an easy way to create this message.\nThe resolver for ServerMsg::MemberAdd\nThe archived counterpart of ServerMsg::MemberAdd\nSee new_member_ban for an easy way to create this message.\nThe resolver for ServerMsg::MemberBan\nThe archived counterpart of ServerMsg::MemberBan\nSee new_member_remove for an easy way to create this …\nThe resolver for ServerMsg::MemberRemove\nThe archived counterpart of ServerMsg::MemberRemove\nSee new_member_unban for an easy way to create this …\nThe resolver for ServerMsg::MemberUnban\nThe archived counterpart of ServerMsg::MemberUnban\nSee new_member_update for an easy way to create this …\nThe resolver for ServerMsg::MemberUpdate\nThe archived counterpart of ServerMsg::MemberUpdate\nSee new_message_create for an easy way to create this …\nThe resolver for ServerMsg::MessageCreate\nThe archived counterpart of ServerMsg::MessageCreate\nSee new_message_delete for an easy way to create this …\nThe resolver for ServerMsg::MessageDelete\nThe archived counterpart of ServerMsg::MessageDelete\nSee new_message_reaction_add for an easy way to create …\nThe resolver for ServerMsg::MessageReactionAdd\nThe archived counterpart of ServerMsg::MessageReactionAdd\nSee new_message_reaction_remove for an easy way to create …\nThe resolver for ServerMsg::MessageReactionRemove\nThe archived counterpart of …\nSee new_message_reaction_remove_all for an easy way to …\nThe resolver for ServerMsg::MessageReactionRemoveAll\nThe archived counterpart of …\nSee new_message_reaction_remove_emote for an easy way to …\nThe resolver for ServerMsg::MessageReactionRemoveEmote\nThe archived counterpart of …\nSee new_message_update for an easy way to create this …\nThe resolver for ServerMsg::MessageUpdate\nThe archived counterpart of ServerMsg::MessageUpdate\nSee new_party_create for an easy way to create this …\nThe resolver for ServerMsg::PartyCreate\nThe archived counterpart of ServerMsg::PartyCreate\nSee new_party_delete for an easy way to create this …\nThe resolver for ServerMsg::PartyDelete\nThe archived counterpart of ServerMsg::PartyDelete\nSee new_party_update for an easy way to create this …\nThe resolver for ServerMsg::PartyUpdate\nThe archived counterpart of ServerMsg::PartyUpdate\nSee new_presence_update for an easy way to create this …\nThe resolver for ServerMsg::PresenceUpdate\nThe archived counterpart of ServerMsg::PresenceUpdate\nSee new_profile_update for an easy way to create this …\nThe resolver for ServerMsg::ProfileUpdate\nThe archived counterpart of ServerMsg::ProfileUpdate\nSee new_ready for an easy way to create this message.\nThe resolver for ServerMsg::Ready\nThe archived counterpart of ServerMsg::Ready\nSee new_relation_add for an easy way to create this …\nThe resolver for ServerMsg::RelationAdd\nThe archived counterpart of ServerMsg::RelationAdd\nSee new_relation_remove for an easy way to create this …\nThe resolver for ServerMsg::RelationRemove\nThe archived counterpart of ServerMsg::RelationRemove\nSee new_resume for an easy way to create this message.\nThe resolver for ClientMsg::Resume\nThe archived counterpart of ClientMsg::Resume\nSee new_role_create for an easy way to create this message.\nThe resolver for ServerMsg::RoleCreate\nThe archived counterpart of ServerMsg::RoleCreate\nSee new_role_delete for an easy way to create this message.\nThe resolver for ServerMsg::RoleDelete\nThe archived counterpart of ServerMsg::RoleDelete\nSee new_role_update for an easy way to create this message.\nThe resolver for ServerMsg::RoleUpdate\nThe archived counterpart of ServerMsg::RoleUpdate\nSee new_room_create for an easy way to create this message.\nThe resolver for ServerMsg::RoomCreate\nThe archived counterpart of ServerMsg::RoomCreate\nSee new_room_delete for an easy way to create this message.\nThe resolver for ServerMsg::RoomDelete\nThe archived counterpart of ServerMsg::RoomDelete\nSee new_room_pins_update for an easy way to create this …\nThe resolver for ServerMsg::RoomPinsUpdate\nThe archived counterpart of ServerMsg::RoomPinsUpdate\nSee new_room_update for an easy way to create this message.\nThe resolver for ServerMsg::RoomUpdate\nThe archived counterpart of ServerMsg::RoomUpdate\nMessages send from the server to the client\nHandler callbacks for ServerMsg\nOpCodes for ServerMsg\nThe resolver for an archived ServerMsg\nSee new_set_presence for an easy way to create this …\nThe resolver for ClientMsg::SetPresence\nThe archived counterpart of ClientMsg::SetPresence\nSee new_subscribe for an easy way to create this message.\nThe resolver for ClientMsg::Subscribe\nThe archived counterpart of ClientMsg::Subscribe\nSee new_typing_start for an easy way to create this …\nThe resolver for ServerMsg::TypingStart\nThe archived counterpart of ServerMsg::TypingStart\nSee new_unsubscribe for an easy way to create this message.\nThe resolver for ClientMsg::Unsubscribe\nThe archived counterpart of ClientMsg::Unsubscribe\nSee new_user_update for an easy way to create this message.\nThe resolver for ServerMsg::UserUpdate\nThe archived counterpart of ServerMsg::UserUpdate\nDispatches a message to the appropriate event handler\nDispatches a message to the appropriate event handler\nCallback for unhandled messages\nCallback for unhandled messages\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nHandler callback for ClientMsg::Heartbeat\nAcknowledgement of a heartbeat\nThe Hello message initiates the gateway session and …\nHandler callback for ClientMsg::Identify\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nSent when the session is no longer valid\nHandler callback for ServerMsg::MemberAdd\nHandler callback for ServerMsg::MemberBan\nHandler callback for ServerMsg::MemberRemove\nHandler callback for ServerMsg::MemberUnban\nHandler callback for ServerMsg::MemberUpdate\nHandler callback for ServerMsg::MessageCreate\nHandler callback for ServerMsg::MessageDelete\nHandler callback for ServerMsg::MessageReactionAdd\nHandler callback for ServerMsg::MessageReactionRemove\nHandler callback for ServerMsg::MessageReactionRemoveAll\nHandler callback for ServerMsg::MessageReactionRemoveEmote\nHandler callback for ServerMsg::MessageUpdate\nCreate new Heartbeat message from payload fields.\nCreate new HeartbeatAck message from payload fields.\nCreate new Hello message from payload fields.\nCreate new Identify message from payload fields.\nCreate new InvalidSession message from payload fields.\nCreate new MemberAdd message from payload fields.\nCreate new MemberBan message from payload fields.\nCreate new MemberRemove message from payload fields.\nCreate new MemberUnban message from payload fields.\nCreate new MemberUpdate message from payload fields.\nCreate new MessageCreate message from payload fields.\nCreate new MessageDelete message from payload fields.\nCreate new MessageReactionAdd message from payload fields.\nCreate new MessageReactionRemove message from payload …\nCreate new MessageReactionRemoveAll message from payload …\nCreate new MessageReactionRemoveEmote message from payload …\nCreate new MessageUpdate message from payload fields.\nCreate new PartyCreate message from payload fields.\nCreate new PartyDelete message from payload fields.\nCreate new PartyUpdate message from payload fields.\nCreate new PresenceUpdate message from payload fields.\nCreate new ProfileUpdate message from payload fields.\nCreate new Ready message from payload fields.\nCreate new RelationAdd message from payload fields.\nCreate new RelationRemove message from payload fields.\nCreate new Resume message from payload fields.\nCreate new RoleCreate message from payload fields.\nCreate new RoleDelete message from payload fields.\nCreate new RoleUpdate message from payload fields.\nCreate new RoomCreate message from payload fields.\nCreate new RoomDelete message from payload fields.\nCreate new RoomPinsUpdate message from payload fields.\nCreate new RoomUpdate message from payload fields.\nCreate new SetPresence message from payload fields.\nCreate new Subscribe message from payload fields.\nCreate new TypingStart message from payload fields.\nCreate new Unsubscribe message from payload fields.\nCreate new UserUpdate message from payload fields.\nReturns the discrete opcode for the message\nReturns the discrete opcode for the message\nHandler callback for ServerMsg::PartyCreate\nHandler callback for ServerMsg::PartyDelete\nHandler callback for ServerMsg::PartyUpdate\nHandler callback for ServerMsg::PresenceUpdate\nHandler callback for ServerMsg::ProfileUpdate\nHandler callback for ServerMsg::Ready\nHandler callback for ServerMsg::RelationAdd\nHandler callback for ServerMsg::RelationRemove\nHandler callback for ClientMsg::Resume\nHandler callback for ServerMsg::RoleCreate\nHandler callback for ServerMsg::RoleDelete\nHandler callback for ServerMsg::RoleUpdate\nHandler callback for ServerMsg::RoomCreate\nHandler callback for ServerMsg::RoomDelete\nHandler callback for ServerMsg::RoomPinsUpdate\nHandler callback for ServerMsg::RoomUpdate\nHandler callback for ClientMsg::SetPresence\nHandler callback for ClientMsg::Subscribe\nHandler callback for ServerMsg::TypingStart\nHandler callback for ClientMsg::Unsubscribe\nIf the event originated from a specific user, get their ID\nHandler callback for ServerMsg::UserUpdate\nAn archived HeartbeatPayload\nAn archived IdentifyPayload\nAn archived ResumePayload\nAn archived SetPresencePayload\nAn archived SubscribePayload\nAn archived UnsubscribePayload\nPayload struct for ClientMsg::Heartbeat\nThe resolver for an archived HeartbeatPayload\nPayload struct for ClientMsg::Identify\nThe resolver for an archived IdentifyPayload\nPayload struct for ClientMsg::Resume\nThe resolver for an archived ResumePayload\nPayload struct for ClientMsg::SetPresence\nThe resolver for an archived SetPresencePayload\nPayload struct for ClientMsg::Subscribe\nThe resolver for an archived SubscribePayload\nPayload struct for ClientMsg::Unsubscribe\nThe resolver for an archived UnsubscribePayload\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nAn archived HeartbeatAckPayload\nAn archived HelloPayload\nAn archived InvalidSessionPayload\nAn archived MemberAddPayload\nAn archived MemberBanPayload\nAn archived MemberRemovePayload\nAn archived MemberUnbanPayload\nAn archived MemberUpdatePayload\nAn archived MessageCreatePayload\nAn archived MessageDeletePayload\nAn archived MessageReactionAddPayload\nAn archived MessageReactionRemoveAllPayload\nAn archived MessageReactionRemoveEmotePayload\nAn archived MessageReactionRemovePayload\nAn archived MessageUpdatePayload\nAn archived PartyCreatePayload\nAn archived PartyDeletePayload\nAn archived PartyUpdatePayload\nAn archived PresenceUpdatePayload\nAn archived ProfileUpdatePayload\nAn archived ReadyPayload\nAn archived RelationAddPayload\nAn archived RelationRemovePayload\nAn archived RoleCreatePayload\nAn archived RoleDeletePayload\nAn archived RoleUpdatePayload\nAn archived RoomCreatePayload\nAn archived RoomDeletePayload\nAn archived RoomPinsUpdatePayload\nAn archived RoomUpdatePayload\nAn archived TypingStartPayload\nAn archived UserUpdatePayload\nAcknowledgement of a heartbeat\nThe resolver for an archived HeartbeatAckPayload\nThe Hello message initiates the gateway session and …\nThe resolver for an archived HelloPayload\nSent when the session is no longer valid\nThe resolver for an archived InvalidSessionPayload\nPayload struct for ServerMsg::MemberAdd\nThe resolver for an archived MemberAddPayload\nPayload struct for ServerMsg::MemberBan\nThe resolver for an archived MemberBanPayload\nPayload struct for ServerMsg::MemberRemove\nThe resolver for an archived MemberRemovePayload\nPayload struct for ServerMsg::MemberUnban\nThe resolver for an archived MemberUnbanPayload\nPayload struct for ServerMsg::MemberUpdate\nThe resolver for an archived MemberUpdatePayload\nPayload struct for ServerMsg::MessageCreate\nThe resolver for an archived MessageCreatePayload\nPayload struct for ServerMsg::MessageDelete\nThe resolver for an archived MessageDeletePayload\nPayload struct for ServerMsg::MessageReactionAdd\nThe resolver for an archived MessageReactionAddPayload\nPayload struct for ServerMsg::MessageReactionRemoveAll\nThe resolver for an archived …\nPayload struct for ServerMsg::MessageReactionRemoveEmote\nThe resolver for an archived …\nPayload struct for ServerMsg::MessageReactionRemove\nThe resolver for an archived MessageReactionRemovePayload\nPayload struct for ServerMsg::MessageUpdate\nThe resolver for an archived MessageUpdatePayload\nPayload struct for ServerMsg::PartyCreate\nThe resolver for an archived PartyCreatePayload\nPayload struct for ServerMsg::PartyDelete\nThe resolver for an archived PartyDeletePayload\nPayload struct for ServerMsg::PartyUpdate\nThe resolver for an archived PartyUpdatePayload\nPayload struct for ServerMsg::PresenceUpdate\nThe resolver for an archived PresenceUpdatePayload\nPayload struct for ServerMsg::ProfileUpdate\nThe resolver for an archived ProfileUpdatePayload\nPayload struct for ServerMsg::Ready\nThe resolver for an archived ReadyPayload\nPayload struct for ServerMsg::RelationAdd\nThe resolver for an archived RelationAddPayload\nPayload struct for ServerMsg::RelationRemove\nThe resolver for an archived RelationRemovePayload\nPayload struct for ServerMsg::RoleCreate\nThe resolver for an archived RoleCreatePayload\nPayload struct for ServerMsg::RoleDelete\nThe resolver for an archived RoleDeletePayload\nPayload struct for ServerMsg::RoleUpdate\nThe resolver for an archived RoleUpdatePayload\nPayload struct for ServerMsg::RoomCreate\nThe resolver for an archived RoomCreatePayload\nPayload struct for ServerMsg::RoomDelete\nThe resolver for an archived RoomDeletePayload\nPayload struct for ServerMsg::RoomPinsUpdate\nThe resolver for an archived RoomPinsUpdatePayload\nPayload struct for ServerMsg::RoomUpdate\nThe resolver for an archived RoomUpdatePayload\nPayload struct for ServerMsg::TypingStart\nThe resolver for an archived TypingStartPayload\nPayload struct for ServerMsg::UserUpdate\nThe resolver for an archived UserUpdatePayload\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nAn archived Invite\nThe resolver for an archived Invite\nInvite code, which is either an encrypted Snowflake or a …\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nNumber of remaining uses this invite has left.\nAn archived Attachment\nAn archived EmoteOrEmoji\nAn archived Message\nArchived version of MessageFlags, automatically made …\nAn archived Reaction\nAn archived ReactionFull\nAn archived ReactionShorthand\nThe resolver for an archived Attachment\nThis message has been deleted\nThe resolver for EmoteOrEmoji::Emoji\nThe archived counterpart of EmoteOrEmoji::Emoji\nThe resolver for EmoteOrEmoji::Emote\nThe archived counterpart of EmoteOrEmoji::Emote\nSimple enum for custom emote ids or emoji symbols\nThe resolver for an archived EmoteOrEmoji\nThe resolver for Reaction::Full\nThe archived counterpart of Reaction::Full\nTop 6 bits are a language code, which is never actually …\nThe resolver for an archived Message\nIf this message has children\nThis messages has been deleted by another user\nThe resolver for an archived ReactionFull\nThe resolver for an archived Reaction\nThe resolver for an archived ReactionShorthand\nSet if the message has been starred by the user requesting …\nThe resolver for Reaction::Shorthand\nThe archived counterpart of Reaction::Shorthand\nGet a flags value with all known bits set.\nThe bitwise and (&) of the bits in two flags values.\nThe bitwise and (&) of the bits in two flags values.\nThe bitwise or (|) of the bits in two flags values.\nThe bitwise or (|) of the bits in two flags values.\nGet the underlying bits value.\nGet the underlying raw bits value.\nThe bitwise exclusive-or (^) of the bits in two flags …\nThe bitwise exclusive-or (^) of the bits in two flags …\nThe bitwise negation (!) of the bits in a flags value, …\nWhether all set bits in a source flags value are also set …\nCheck if the archived bitflags contains all the given …\nThe intersection of a source flags value with the …\nGet a flags value with all bits unset.\nThe bitwise or (|) of the bits in each flags value.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nConvert from a bits value.\nConvert from a bits value exactly.\nConvert from a bits value, unsetting any unknown bits.\nThe bitwise or (|) of the bits in each flags value.\nGet a flags value with the bits of a flag with the given …\nConverts the native bitflags type to an archived bitflags.\nThe bitwise or (|) of the bits in two flags values.\nThe bitwise and (&) of the bits in two flags values.\nWhether any set bits in a source flags value are also set …\nCheck if the archived bitflags intersect with any of the …\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nWhether all known bits in this flags value are set.\nWhether all known bits in this flags value are set.\nWhether all bits in this flags value are unset.\nWhether all bits in this flags value are unset.\nYield a set of contained flags values.\nYield a set of contained named flags values.\nThe bitwise negation (!) of the bits in a flags value, …\nThe intersection of a source flags value with the …\nCall insert when value is true or remove when value is …\nThe intersection of a source flags value with the …\nThe intersection of a source flags value with the …\nThe bitwise exclusive-or (^) of the bits in two flags …\nConverts this archived bitflags to the native bitflags …\nConverts this archived bitflags to the native bitflags …\nConverts this archived bitflags to the native bitflags …\nThe bitwise exclusive-or (^) of the bits in two flags …\nThe bitwise or (|) of the bits in two flags values.\nCertainly absent of value.\nSimilar to Option, Undefined values can be used when data …\nCertainly present of value.\nNeither present nor absent, an indeterminant value.\nConverts Nullable<T> to Nullable<&mut T>.\nConverts Nullable<T> to Nullable<&T>.\nMaps an inner Some value to a different value, using Into.\nReturns the argument unchanged.\nCalls U::from(self).\nReturns true if the value is Null.\nReturns true if the value is Some.\nReturns true if the value is Undefined.\nMaps an inner Some value to a different value, carrying …\nParty is marked as “adult”\nAn archived PartialParty\nAn archived Party\nArchived version of PartyFlags, automatically made …\nAn archived PartyMember\nArchived version of PartyMemberFlags, automatically made …\nAn archived PartyPreferences\nArchived version of PartyPrefsFlags, automatically made …\nAn archived PinFolder\nArchived version of PinFolderFlags, automatically made …\nAnother way to refer to a direct-message is a “closed” …\nMust have a verified email address\nTop 6 bits are a language code\nMust have MFA enabled\nMust be a member of the server for longer than 10 minutes\nMust be a Lantern user for longer than 5 minutes\nMust have a verified phone number\nThe resolver for an archived PartialParty\nThe resolver for an archived PartyMember\nThe resolver for an archived PartyPreferences\nThe resolver for an archived Party\nThe resolver for an archived PinFolder\nGet a flags value with all known bits set.\nGet a flags value with all known bits set.\nGet a flags value with all known bits set.\nGet a flags value with all known bits set.\nThe bitwise and (&) of the bits in two flags values.\nThe bitwise and (&) of the bits in two flags values.\nThe bitwise and (&) of the bits in two flags values.\nThe bitwise and (&) of the bits in two flags values.\nThe bitwise and (&) of the bits in two flags values.\nThe bitwise and (&) of the bits in two flags values.\nThe bitwise and (&) of the bits in two flags values.\nThe bitwise and (&) of the bits in two flags values.\nThe bitwise or (|) of the bits in two flags values.\nThe bitwise or (|) of the bits in two flags values.\nThe bitwise or (|) of the bits in two flags values.\nThe bitwise or (|) of the bits in two flags values.\nThe bitwise or (|) of the bits in two flags values.\nThe bitwise or (|) of the bits in two flags values.\nThe bitwise or (|) of the bits in two flags values.\nThe bitwise or (|) of the bits in two flags values.\nGet the underlying bits value.\nGet the underlying raw bits value.\nGet the underlying bits value.\nGet the underlying raw bits value.\nGet the underlying bits value.\nGet the underlying raw bits value.\nGet the underlying bits value.\nGet the underlying raw bits value.\nThe bitwise exclusive-or (^) of the bits in two flags …\nThe bitwise exclusive-or (^) of the bits in two flags …\nThe bitwise exclusive-or (^) of the bits in two flags …\nThe bitwise exclusive-or (^) of the bits in two flags …\nThe bitwise exclusive-or (^) of the bits in two flags …\nThe bitwise exclusive-or (^) of the bits in two flags …\nThe bitwise exclusive-or (^) of the bits in two flags …\nThe bitwise exclusive-or (^) of the bits in two flags …\nThe bitwise negation (!) of the bits in a flags value, …\nThe bitwise negation (!) of the bits in a flags value, …\nThe bitwise negation (!) of the bits in a flags value, …\nThe bitwise negation (!) of the bits in a flags value, …\nWhether all set bits in a source flags value are also set …\nCheck if the archived bitflags contains all the given …\nWhether all set bits in a source flags value are also set …\nCheck if the archived bitflags contains all the given …\nWhether all set bits in a source flags value are also set …\nCheck if the archived bitflags contains all the given …\nWhether all set bits in a source flags value are also set …\nCheck if the archived bitflags contains all the given …\nDescription of the party, if publicly listed\nThe intersection of a source flags value with the …\nThe intersection of a source flags value with the …\nThe intersection of a source flags value with the …\nThe intersection of a source flags value with the …\nGet a flags value with all bits unset.\nGet a flags value with all bits unset.\nGet a flags value with all bits unset.\nGet a flags value with all bits unset.\nThe bitwise or (|) of the bits in each flags value.\nThe bitwise or (|) of the bits in each flags value.\nThe bitwise or (|) of the bits in each flags value.\nThe bitwise or (|) of the bits in each flags value.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nConvert from a bits value.\nConvert from a bits value.\nConvert from a bits value.\nConvert from a bits value.\nConvert from a bits value exactly.\nConvert from a bits value exactly.\nConvert from a bits value exactly.\nConvert from a bits value exactly.\nConvert from a bits value, unsetting any unknown bits.\nConvert from a bits value, unsetting any unknown bits.\nConvert from a bits value, unsetting any unknown bits.\nConvert from a bits value, unsetting any unknown bits.\nThe bitwise or (|) of the bits in each flags value.\nThe bitwise or (|) of the bits in each flags value.\nThe bitwise or (|) of the bits in each flags value.\nThe bitwise or (|) of the bits in each flags value.\nGet a flags value with the bits of a flag with the given …\nGet a flags value with the bits of a flag with the given …\nGet a flags value with the bits of a flag with the given …\nGet a flags value with the bits of a flag with the given …\nConverts the native bitflags type to an archived bitflags.\nConverts the native bitflags type to an archived bitflags.\nConverts the native bitflags type to an archived bitflags.\nConverts the native bitflags type to an archived bitflags.\nThe bitwise or (|) of the bits in two flags values.\nThe bitwise or (|) of the bits in two flags values.\nThe bitwise or (|) of the bits in two flags values.\nThe bitwise or (|) of the bits in two flags values.\nThe bitwise and (&) of the bits in two flags values.\nThe bitwise and (&) of the bits in two flags values.\nThe bitwise and (&) of the bits in two flags values.\nThe bitwise and (&) of the bits in two flags values.\nWhether any set bits in a source flags value are also set …\nCheck if the archived bitflags intersect with any of the …\nWhether any set bits in a source flags value are also set …\nCheck if the archived bitflags intersect with any of the …\nWhether any set bits in a source flags value are also set …\nCheck if the archived bitflags intersect with any of the …\nWhether any set bits in a source flags value are also set …\nCheck if the archived bitflags intersect with any of the …\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nWhether all known bits in this flags value are set.\nWhether all known bits in this flags value are set.\nWhether all known bits in this flags value are set.\nWhether all known bits in this flags value are set.\nWhether all known bits in this flags value are set.\nWhether all known bits in this flags value are set.\nWhether all known bits in this flags value are set.\nWhether all known bits in this flags value are set.\nWhether all bits in this flags value are unset.\nWhether all bits in this flags value are unset.\nWhether all bits in this flags value are unset.\nWhether all bits in this flags value are unset.\nWhether all bits in this flags value are unset.\nWhether all bits in this flags value are unset.\nWhether all bits in this flags value are unset.\nWhether all bits in this flags value are unset.\nYield a set of contained flags values.\nYield a set of contained flags values.\nYield a set of contained flags values.\nYield a set of contained flags values.\nYield a set of contained named flags values.\nYield a set of contained named flags values.\nYield a set of contained named flags values.\nYield a set of contained named flags values.\nWill be None if no longer in party\nParty name\nThe bitwise negation (!) of the bits in a flags value, …\nThe bitwise negation (!) of the bits in a flags value, …\nThe bitwise negation (!) of the bits in a flags value, …\nThe bitwise negation (!) of the bits in a flags value, …\nId of owner user\nPosition of party is user’s party list, will be null if …\nThe intersection of a source flags value with the …\nThe intersection of a source flags value with the …\nThe intersection of a source flags value with the …\nThe intersection of a source flags value with the …\nList of Role id snowflakes, may be excluded from some …\nCall insert when value is true or remove when value is …\nCall insert when value is true or remove when value is …\nCall insert when value is true or remove when value is …\nCall insert when value is true or remove when value is …\nThe intersection of a source flags value with the …\nThe intersection of a source flags value with the …\nThe intersection of a source flags value with the …\nThe intersection of a source flags value with the …\nThe intersection of a source flags value with the …\nThe intersection of a source flags value with the …\nThe intersection of a source flags value with the …\nThe intersection of a source flags value with the …\nThe bitwise exclusive-or (^) of the bits in two flags …\nThe bitwise exclusive-or (^) of the bits in two flags …\nThe bitwise exclusive-or (^) of the bits in two flags …\nThe bitwise exclusive-or (^) of the bits in two flags …\nConverts this archived bitflags to the native bitflags …\nConverts this archived bitflags to the native bitflags …\nConverts this archived bitflags to the native bitflags …\nConverts this archived bitflags to the native bitflags …\nConverts this archived bitflags to the native bitflags …\nConverts this archived bitflags to the native bitflags …\nConverts this archived bitflags to the native bitflags …\nConverts this archived bitflags to the native bitflags …\nConverts this archived bitflags to the native bitflags …\nConverts this archived bitflags to the native bitflags …\nConverts this archived bitflags to the native bitflags …\nConverts this archived bitflags to the native bitflags …\nThe bitwise exclusive-or (^) of the bits in two flags …\nThe bitwise exclusive-or (^) of the bits in two flags …\nThe bitwise exclusive-or (^) of the bits in two flags …\nThe bitwise exclusive-or (^) of the bits in two flags …\nThe bitwise or (|) of the bits in two flags values.\nThe bitwise or (|) of the bits in two flags values.\nThe bitwise or (|) of the bits in two flags values.\nThe bitwise or (|) of the bits in two flags values.\nAn archived Overwrite\nArchived version of Permissions, automatically made …\nAllows a user to connect and watch/listen to streams in a …\nAllows a user to add new attachments to existing messages …\nAllows members to add or remove custom emoji, stickers or …\nPermissions Overwrite for a role or user in a room.\nThe resolver for an archived Overwrite\nAllows a user to acquire priority speaker\nParty/Room Permissions\nAllows a user to speak in a room without broadcasting a …\nAllows a user to broadcast a stream to this room\nGet a flags value with all known bits set.\nPermissions to allow.\nApplies the overwrite to a base set of permissions.\nThe bitwise and (&) of the bits in two flags values.\nThe bitwise and (&) of the bits in two flags values.\nThe bitwise or (|) of the bits in two flags values.\nThe bitwise or (|) of the bits in two flags values.\nGet the underlying bits value.\nGet the underlying raw bits value.\nThe bitwise exclusive-or (^) of the bits in two flags …\nThe bitwise exclusive-or (^) of the bits in two flags …\nTakes the Union of two overwrites, assuming the same ID.\nThe bitwise negation (!) of the bits in a flags value, …\nComputes the final permissions for a user in a room given …\nWhether all set bits in a source flags value are also set …\nCheck if the archived bitflags contains all the given …\nPermissions to deny.\nThe intersection of a source flags value with the …\nGet a flags value with all bits unset.\nThe bitwise or (|) of the bits in each flags value.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nConvert from a bits value.\nConvert from a bits value exactly.\nConvert from a bits value, unsetting any unknown bits.\nConstructs a new Permissions from two i64 values.\nConstructs a new Permissions from two Option<i64> values, …\nThe bitwise or (|) of the bits in each flags value.\nGet a flags value with the bits of a flag with the given …\nConverts the native bitflags type to an archived bitflags.\nRole or User ID\nThe bitwise or (|) of the bits in two flags values.\nThe bitwise and (&) of the bits in two flags values.\nWhether any set bits in a source flags value are also set …\nCheck if the archived bitflags intersect with any of the …\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nReturns true if the permissions contain the ADMINISTRATOR …\nWhether all known bits in this flags value are set.\nWhether all known bits in this flags value are set.\nWhether all bits in this flags value are unset.\nWhether all bits in this flags value are unset.\nYield a set of contained flags values.\nYield a set of contained named flags values.\nTakes cerrtain flags into account and normalizes the …\nThe bitwise negation (!) of the bits in a flags value, …\nThe intersection of a source flags value with the …\nCall insert when value is true or remove when value is …\nThe intersection of a source flags value with the …\nThe intersection of a source flags value with the …\nThe bitwise exclusive-or (^) of the bits in two flags …\nConverts the Permissions into two i64 values.\nConverts this archived bitflags to the native bitflags …\nConverts this archived bitflags to the native bitflags …\nConverts this archived bitflags to the native bitflags …\nThe bitwise exclusive-or (^) of the bits in two flags …\nThe bitwise or (|) of the bits in two flags values.\nThe resolver for an archived Activity\nThe resolver for an archived AnyActivity\nAn archived Activity\nAn archived AnyActivity\nAn archived UserPresence\nArchived version of UserPresenceFlags, automatically made …\nThe resolver for AnyActivity::Typed\nThe archived counterpart of AnyActivity::Typed\nNOTE: These flags are ordered such that larger values take …\nThe resolver for an archived UserPresence\nGet a flags value with all known bits set.\nThe bitwise and (&) of the bits in two flags values.\nThe bitwise and (&) of the bits in two flags values.\nThe bitwise or (|) of the bits in two flags values.\nThe bitwise or (|) of the bits in two flags values.\nGet the underlying bits value.\nGet the underlying raw bits value.\nThe bitwise exclusive-or (^) of the bits in two flags …\nThe bitwise exclusive-or (^) of the bits in two flags …\nThe bitwise negation (!) of the bits in a flags value, …\nWhether all set bits in a source flags value are also set …\nCheck if the archived bitflags contains all the given …\nThe intersection of a source flags value with the …\nGet a flags value with all bits unset.\nThe bitwise or (|) of the bits in each flags value.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nConvert from a bits value.\nConvert from a bits value exactly.\nConvert from a bits value, unsetting any unknown bits.\nThe bitwise or (|) of the bits in each flags value.\nGet a flags value with the bits of a flag with the given …\nConverts the native bitflags type to an archived bitflags.\nThe bitwise or (|) of the bits in two flags values.\nThe bitwise and (&) of the bits in two flags values.\nWhether any set bits in a source flags value are also set …\nCheck if the archived bitflags intersect with any of the …\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nWhether all known bits in this flags value are set.\nWhether all known bits in this flags value are set.\nWhether all bits in this flags value are unset.\nWhether all bits in this flags value are unset.\nYield a set of contained flags values.\nYield a set of contained named flags values.\napproximately how many seconds ago they were active not …\nThe bitwise negation (!) of the bits in a flags value, …\nThe intersection of a source flags value with the …\nCall insert when value is true or remove when value is …\nThe intersection of a source flags value with the …\nThe intersection of a source flags value with the …\nThe bitwise exclusive-or (^) of the bits in two flags …\nConverts this archived bitflags to the native bitflags …\nConverts this archived bitflags to the native bitflags …\nConverts this archived bitflags to the native bitflags …\nThe bitwise exclusive-or (^) of the bits in two flags …\nThe bitwise or (|) of the bits in two flags values.\nUpdated-At timestamp as ISO-8061\nAn archived Role\nArchived version of RoleFlags, automatically made …\nThe resolver for an archived Role\nGet a flags value with all known bits set.\nThe bitwise and (&) of the bits in two flags values.\nThe bitwise and (&) of the bits in two flags values.\nThe bitwise or (|) of the bits in two flags values.\nThe bitwise or (|) of the bits in two flags values.\nGet the underlying bits value.\nGet the underlying raw bits value.\nThe bitwise exclusive-or (^) of the bits in two flags …\nThe bitwise exclusive-or (^) of the bits in two flags …\nThe bitwise negation (!) of the bits in a flags value, …\nWhether all set bits in a source flags value are also set …\nCheck if the archived bitflags contains all the given …\nThe intersection of a source flags value with the …\nGet a flags value with all bits unset.\nThe bitwise or (|) of the bits in each flags value.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nConvert from a bits value.\nConvert from a bits value exactly.\nConvert from a bits value, unsetting any unknown bits.\nThe bitwise or (|) of the bits in each flags value.\nGet a flags value with the bits of a flag with the given …\nConverts the native bitflags type to an archived bitflags.\nThe bitwise or (|) of the bits in two flags values.\nThe bitwise and (&) of the bits in two flags values.\nWhether any set bits in a source flags value are also set …\nCheck if the archived bitflags intersect with any of the …\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nWhether all known bits in this flags value are set.\nWhether all known bits in this flags value are set.\nWhether all bits in this flags value are unset.\nWhether all bits in this flags value are unset.\nYield a set of contained flags values.\nYield a set of contained named flags values.\nThe bitwise negation (!) of the bits in a flags value, …\nThe intersection of a source flags value with the …\nCall insert when value is true or remove when value is …\nThe intersection of a source flags value with the …\nThe intersection of a source flags value with the …\nThe bitwise exclusive-or (^) of the bits in two flags …\nConverts this archived bitflags to the native bitflags …\nConverts this archived bitflags to the native bitflags …\nConverts this archived bitflags to the native bitflags …\nThe bitwise exclusive-or (^) of the bits in two flags …\nThe bitwise or (|) of the bits in two flags values.\nAn archived FullRoom\nAn archived Room\nArchived version of RoomFlags, automatically made …\nAn archived RoomKind\nThe resolver for RoomKind::DirectMessage\nThe archived counterpart of RoomKind::DirectMessage\nThe resolver for an archived FullRoom\nThe resolver for RoomKind::GroupMessage\nThe archived counterpart of RoomKind::GroupMessage\nThe resolver for an archived RoomKind\nThe resolver for an archived Room\nThe resolver for RoomKind::Text\nThe archived counterpart of RoomKind::Text\nThe resolver for RoomKind::UserForum\nThe archived counterpart of RoomKind::UserForum\nThe resolver for RoomKind::Voice\nThe archived counterpart of RoomKind::Voice\nGet a flags value with all known bits set.\nThe bitwise and (&) of the bits in two flags values.\nThe bitwise and (&) of the bits in two flags values.\nThe bitwise or (|) of the bits in two flags values.\nThe bitwise or (|) of the bits in two flags values.\nGet the underlying bits value.\nGet the underlying raw bits value.\nThe bitwise exclusive-or (^) of the bits in two flags …\nThe bitwise exclusive-or (^) of the bits in two flags …\nThe bitwise negation (!) of the bits in a flags value, …\nWhether all set bits in a source flags value are also set …\nCheck if the archived bitflags contains all the given …\nThe intersection of a source flags value with the …\nGet a flags value with all bits unset.\nThe bitwise or (|) of the bits in each flags value.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nConvert from a bits value.\nConvert from a bits value exactly.\nConvert from a bits value, unsetting any unknown bits.\nThe bitwise or (|) of the bits in each flags value.\nGet a flags value with the bits of a flag with the given …\nConverts the native bitflags type to an archived bitflags.\nThe bitwise or (|) of the bits in two flags values.\nThe bitwise and (&) of the bits in two flags values.\nWhether any set bits in a source flags value are also set …\nCheck if the archived bitflags intersect with any of the …\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nWhether all known bits in this flags value are set.\nWhether all known bits in this flags value are set.\nWhether all bits in this flags value are unset.\nWhether all bits in this flags value are unset.\nYield a set of contained flags values.\nYield a set of contained named flags values.\nThe bitwise negation (!) of the bits in a flags value, …\nPermission overwrites for this room\nParent room ID for categories\nSort order\nSlow-mode rate limit, in seconds\nThe intersection of a source flags value with the …\nCall insert when value is true or remove when value is …\nThe intersection of a source flags value with the …\nThe intersection of a source flags value with the …\nThe bitwise exclusive-or (^) of the bits in two flags …\nConverts this archived bitflags to the native bitflags …\nConverts this archived bitflags to the native bitflags …\nConverts this archived bitflags to the native bitflags …\nThe bitwise exclusive-or (^) of the bits in two flags …\nThe bitwise or (|) of the bits in two flags values.\nThe resolver for an archived AnonymousSession") \ No newline at end of file diff --git a/search.desc/client_sdk/client_sdk-desc-1-.js b/search.desc/client_sdk/client_sdk-desc-1-.js new file mode 100644 index 000000000..677753022 --- /dev/null +++ b/search.desc/client_sdk/client_sdk-desc-1-.js @@ -0,0 +1 @@ +searchState.loadedDescShard("client_sdk", 1, "An archived AnonymousSession\nAn archived Session\nThe resolver for an archived Session\nAuth token encoded as base-64\nExpiration timestamp encoded with RFC 3339\nExpiration timestamp encoded with RFC 3339/ISO 8061\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nArbitrarily chosen starting epoch to offset the clock by\nThe time at which the Lantern epoch started in UTC\nThe time at which the Lantern epoch started in UTC\nMarker type for Option<Snowflake> to use a niche for None, …\nSnowflake Identifier as used in Lantern Chat.\nReturns the argument unchanged.\nCalls U::from(self).\nAn archived RoomStatistics\nThe resolver for an archived RoomStatistics\nTotal number of attachment files sent\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nIf a prefix was given to the query, this will the message …\nAn archived Thread\nArchived version of ThreadFlags, automatically made …\nForum-style thread\nThe resolver for an archived Thread\nGet a flags value with all known bits set.\nThe bitwise and (&) of the bits in two flags values.\nThe bitwise and (&) of the bits in two flags values.\nThe bitwise or (|) of the bits in two flags values.\nThe bitwise or (|) of the bits in two flags values.\nGet the underlying bits value.\nGet the underlying raw bits value.\nThe bitwise exclusive-or (^) of the bits in two flags …\nThe bitwise exclusive-or (^) of the bits in two flags …\nThe bitwise negation (!) of the bits in a flags value, …\nWhether all set bits in a source flags value are also set …\nCheck if the archived bitflags contains all the given …\nThe intersection of a source flags value with the …\nGet a flags value with all bits unset.\nThe bitwise or (|) of the bits in each flags value.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nConvert from a bits value.\nConvert from a bits value exactly.\nConvert from a bits value, unsetting any unknown bits.\nThe bitwise or (|) of the bits in each flags value.\nGet a flags value with the bits of a flag with the given …\nConverts the native bitflags type to an archived bitflags.\nThe bitwise or (|) of the bits in two flags values.\nThe bitwise and (&) of the bits in two flags values.\nWhether any set bits in a source flags value are also set …\nCheck if the archived bitflags intersect with any of the …\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nWhether all known bits in this flags value are set.\nWhether all known bits in this flags value are set.\nWhether all bits in this flags value are unset.\nWhether all bits in this flags value are unset.\nYield a set of contained flags values.\nYield a set of contained named flags values.\nThe bitwise negation (!) of the bits in a flags value, …\nThe intersection of a source flags value with the …\nCall insert when value is true or remove when value is …\nThe intersection of a source flags value with the …\nThe intersection of a source flags value with the …\nThe bitwise exclusive-or (^) of the bits in two flags …\nConverts this archived bitflags to the native bitflags …\nConverts this archived bitflags to the native bitflags …\nConverts this archived bitflags to the native bitflags …\nThe bitwise exclusive-or (^) of the bits in two flags …\nThe bitwise or (|) of the bits in two flags values.\nAllow direct messages from shared server memmbers\nArchived version of ExtraUserProfileBits, automatically …\nAn archived Relationship\nAn archived User\nArchived version of UserFlags, automatically made …\nAn archived UserPreferences\nArchived version of UserPrefsFlags, automatically made …\nAn archived UserProfile\nArchived version of UserProfileBits, automatically made …\nNormal user blocking\nBlocking + hide messages from the blocked user\nelevation level integer\nextra storage level integer\nShow small lines between message groups\nHide images/video with unknown dimensions\nMute videos/audio by default\nDisplay dark theme in an OLED-compatible mode\npremium level integer\nAlways strip these from public responses\nReduce movement and animations in the UI\nThe resolver for an archived Relationship\nWhen multiple attachments are present, condense them into …\nShow grey background color for images (helps keep …\nDisplays information like mime type and file size\nPause animations on window unfocus\nPrefer browser/platform emojis rather than twemoji\nNOTE: Remember to clear flag caches when they change\nThe resolver for an archived UserPreferences\nThe resolver for an archived UserProfile\nThe resolver for an archived User\nGet a flags value with all known bits set.\nGet a flags value with all known bits set.\nGet a flags value with all known bits set.\nGet a flags value with all known bits set.\nThe bitwise and (&) of the bits in two flags values.\nThe bitwise and (&) of the bits in two flags values.\nThe bitwise and (&) of the bits in two flags values.\nThe bitwise and (&) of the bits in two flags values.\nThe bitwise and (&) of the bits in two flags values.\nThe bitwise and (&) of the bits in two flags values.\nThe bitwise and (&) of the bits in two flags values.\nThe bitwise and (&) of the bits in two flags values.\nThe bitwise or (|) of the bits in two flags values.\nThe bitwise or (|) of the bits in two flags values.\nThe bitwise or (|) of the bits in two flags values.\nThe bitwise or (|) of the bits in two flags values.\nThe bitwise or (|) of the bits in two flags values.\nThe bitwise or (|) of the bits in two flags values.\nThe bitwise or (|) of the bits in two flags values.\nThe bitwise or (|) of the bits in two flags values.\nGet the underlying bits value.\nGet the underlying raw bits value.\nGet the underlying bits value.\nGet the underlying raw bits value.\nGet the underlying bits value.\nGet the underlying bits value.\nGet the underlying raw bits value.\nGet the underlying raw bits value.\nThe bitwise exclusive-or (^) of the bits in two flags …\nThe bitwise exclusive-or (^) of the bits in two flags …\nThe bitwise exclusive-or (^) of the bits in two flags …\nThe bitwise exclusive-or (^) of the bits in two flags …\nThe bitwise exclusive-or (^) of the bits in two flags …\nThe bitwise exclusive-or (^) of the bits in two flags …\nThe bitwise exclusive-or (^) of the bits in two flags …\nThe bitwise exclusive-or (^) of the bits in two flags …\nThe bitwise negation (!) of the bits in a flags value, …\nThe bitwise negation (!) of the bits in a flags value, …\nThe bitwise negation (!) of the bits in a flags value, …\nThe bitwise negation (!) of the bits in a flags value, …\nWhether all set bits in a source flags value are also set …\nCheck if the archived bitflags contains all the given …\nWhether all set bits in a source flags value are also set …\nCheck if the archived bitflags contains all the given …\nWhether all set bits in a source flags value are also set …\nWhether all set bits in a source flags value are also set …\nCheck if the archived bitflags contains all the given …\nCheck if the archived bitflags contains all the given …\nThe intersection of a source flags value with the …\nThe intersection of a source flags value with the …\nThe intersection of a source flags value with the …\nThe intersection of a source flags value with the …\nUnsigned 16-bit integer\nNot present when user isn’t self\nGet a flags value with all bits unset.\nGet a flags value with all bits unset.\nGet a flags value with all bits unset.\nGet a flags value with all bits unset.\nThe bitwise or (|) of the bits in each flags value.\nThe bitwise or (|) of the bits in each flags value.\nThe bitwise or (|) of the bits in each flags value.\nThe bitwise or (|) of the bits in each flags value.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nConvert from a bits value.\nConvert from a bits value.\nConvert from a bits value.\nConvert from a bits value.\nConvert from a bits value exactly.\nConvert from a bits value exactly.\nConvert from a bits value exactly.\nConvert from a bits value exactly.\nConvert from a bits value, unsetting any unknown bits.\nConvert from a bits value, unsetting any unknown bits.\nConvert from a bits value, unsetting any unknown bits.\nConvert from a bits value, unsetting any unknown bits.\nThe bitwise or (|) of the bits in each flags value.\nThe bitwise or (|) of the bits in each flags value.\nThe bitwise or (|) of the bits in each flags value.\nThe bitwise or (|) of the bits in each flags value.\nGet a flags value with the bits of a flag with the given …\nGet a flags value with the bits of a flag with the given …\nGet a flags value with the bits of a flag with the given …\nGet a flags value with the bits of a flag with the given …\nConverts the native bitflags type to an archived bitflags.\nConverts the native bitflags type to an archived bitflags.\nConverts the native bitflags type to an archived bitflags.\nConverts the native bitflags type to an archived bitflags.\nThe bitwise or (|) of the bits in two flags values.\nThe bitwise or (|) of the bits in two flags values.\nThe bitwise or (|) of the bits in two flags values.\nThe bitwise or (|) of the bits in two flags values.\nThe bitwise and (&) of the bits in two flags values.\nThe bitwise and (&) of the bits in two flags values.\nThe bitwise and (&) of the bits in two flags values.\nThe bitwise and (&) of the bits in two flags values.\nWhether any set bits in a source flags value are also set …\nCheck if the archived bitflags intersect with any of the …\nWhether any set bits in a source flags value are also set …\nCheck if the archived bitflags intersect with any of the …\nWhether any set bits in a source flags value are also set …\nWhether any set bits in a source flags value are also set …\nCheck if the archived bitflags intersect with any of the …\nCheck if the archived bitflags intersect with any of the …\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nWhether all known bits in this flags value are set.\nWhether all known bits in this flags value are set.\nWhether all known bits in this flags value are set.\nWhether all known bits in this flags value are set.\nWhether all known bits in this flags value are set.\nWhether all known bits in this flags value are set.\nWhether all known bits in this flags value are set.\nWhether all known bits in this flags value are set.\nWhether all bits in this flags value are unset.\nWhether all bits in this flags value are unset.\nWhether all bits in this flags value are unset.\nWhether all bits in this flags value are unset.\nWhether all bits in this flags value are unset.\nWhether all bits in this flags value are unset.\nWhether all bits in this flags value are unset.\nWhether all bits in this flags value are unset.\nYield a set of contained flags values.\nYield a set of contained flags values.\nYield a set of contained flags values.\nYield a set of contained flags values.\nYield a set of contained named flags values.\nYield a set of contained named flags values.\nYield a set of contained named flags values.\nYield a set of contained named flags values.\nThe bitwise negation (!) of the bits in a flags value, …\nThe bitwise negation (!) of the bits in a flags value, …\nThe bitwise negation (!) of the bits in a flags value, …\nThe bitwise negation (!) of the bits in a flags value, …\nIf this relationship is awaiting action from you\nNot present when user isn’t self\nThe intersection of a source flags value with the …\nThe intersection of a source flags value with the …\nThe intersection of a source flags value with the …\nThe intersection of a source flags value with the …\nCall insert when value is true or remove when value is …\nCall insert when value is true or remove when value is …\nCall insert when value is true or remove when value is …\nCall insert when value is true or remove when value is …\nThe intersection of a source flags value with the …\nThe intersection of a source flags value with the …\nThe intersection of a source flags value with the …\nThe intersection of a source flags value with the …\nThe intersection of a source flags value with the …\nThe intersection of a source flags value with the …\nThe intersection of a source flags value with the …\nThe intersection of a source flags value with the …\nThe bitwise exclusive-or (^) of the bits in two flags …\nThe bitwise exclusive-or (^) of the bits in two flags …\nThe bitwise exclusive-or (^) of the bits in two flags …\nThe bitwise exclusive-or (^) of the bits in two flags …\nConverts this archived bitflags to the native bitflags …\nConverts this archived bitflags to the native bitflags …\nConverts this archived bitflags to the native bitflags …\nConverts this archived bitflags to the native bitflags …\nConverts this archived bitflags to the native bitflags …\nConverts this archived bitflags to the native bitflags …\nConverts this archived bitflags to the native bitflags …\nConverts this archived bitflags to the native bitflags …\nConverts this archived bitflags to the native bitflags …\nConverts this archived bitflags to the native bitflags …\nConverts this archived bitflags to the native bitflags …\nConverts this archived bitflags to the native bitflags …\nThe bitwise exclusive-or (^) of the bits in two flags …\nThe bitwise exclusive-or (^) of the bits in two flags …\nThe bitwise exclusive-or (^) of the bits in two flags …\nThe bitwise exclusive-or (^) of the bits in two flags …\nThe bitwise or (|) of the bits in two flags values.\nThe bitwise or (|) of the bits in two flags values.\nThe bitwise or (|) of the bits in two flags values.\nThe bitwise or (|) of the bits in two flags values.\nAn archived FontSize\nAn archived Padding\nAn archived TabSize\nAn archived Temperature\nThe resolver for an archived FontSize\nThe resolver for an archived Padding\nThe resolver for an archived TabSize\nThe resolver for an archived Temperature\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nSmall fixed-size string type that can only be a given …\nString type built around ThinVec, so it only uses 8 bytes …\nFixed-size String that can only be a given length, no more …\nReturns the argument unchanged.\nConstruct a new FixedStr from a byte array, assuming valid …\nCalls U::from(self).\nConstruct a new FixedStr from a &str if the length is …\nConstruct a new FixedStr from a given ASCII character …\nConstruct a new FixedStr from a &str if the length is …\nReturns the argument unchanged.\nReturns the argument unchanged.\nCalls U::from(self).\nCalls U::from(self).") \ No newline at end of file diff --git a/settings.html b/settings.html new file mode 100644 index 000000000..d24841ae7 --- /dev/null +++ b/settings.html @@ -0,0 +1 @@ +Settings

Rustdoc settings

Back
\ No newline at end of file diff --git a/src-files.js b/src-files.js new file mode 100644 index 000000000..80c65d5d1 --- /dev/null +++ b/src-files.js @@ -0,0 +1,3 @@ +var srcIndex = new Map(JSON.parse('[["client_sdk",["",[["api",[["commands",[],["config.rs","file.rs","invite.rs","mod.rs","party.rs","room.rs","user.rs"]]],["asset.rs","command.rs","error.rs","gateway.rs","mod.rs"]],["client",[],["error.rs","file.rs","mod.rs"]],["driver",[],["error.rs","mod.rs"]],["framework",[["standard",[["cmd",[],["mod.rs"]]],["ctx.rs","error.rs","mod.rs","util.rs"]]],["md.rs","mod.rs"]],["framework_utils",[],["args.rs","mod.rs"]],["gateway",[],["conn.rs","error.rs","mod.rs","socket.rs"]],["models",[["embed",[],["mod.rs","v1.rs"]],["party",[],["mod.rs","prefs.rs"]],["user",[],["mod.rs","prefs.rs"]],["util",[],["fixed_str.rs","macros.rs","mod.rs","thin_str.rs"]]],["asset.rs","auth.rs","config.rs","emote.rs","file.rs","gateway.rs","invite.rs","message.rs","mod.rs","nullable.rs","permission.rs","presence.rs","role.rs","room.rs","session.rs","sf.rs","stats.rs","thread.rs"]]],["lib.rs"]]]]')); +createSrcSidebar(); +//{"start":36,"fragment_lengths":[880]} \ No newline at end of file diff --git a/src/client_sdk/api/asset.rs.html b/src/client_sdk/api/asset.rs.html new file mode 100644 index 000000000..8406fc305 --- /dev/null +++ b/src/client_sdk/api/asset.rs.html @@ -0,0 +1,133 @@ +asset.rs - source
1
+2
+3
+4
+5
+6
+7
+8
+9
+10
+11
+12
+13
+14
+15
+16
+17
+18
+19
+20
+21
+22
+23
+24
+25
+26
+27
+28
+29
+30
+31
+32
+33
+34
+35
+36
+37
+38
+39
+40
+41
+42
+43
+44
+45
+46
+47
+48
+49
+50
+51
+52
+53
+54
+55
+56
+57
+58
+59
+60
+61
+62
+63
+64
+65
+66
+
//! Asset handling utilities and types
+
+use smol_str::SmolStr;
+
+pub use crate::models::AssetFlags;
+
+/// When fetching assets, this query can be used to specify the desired asset format.
+#[derive(Debug, Clone, Serialize)]
+#[cfg_attr(feature = "schema", derive(schemars::JsonSchema))]
+#[serde(untagged)]
+pub enum AssetQuery {
+    /// Simple and efficient query using bitflags, e.g. `?f=1234`
+    Flags {
+        /// Bitfield of flags to filter by
+        #[serde(alias = "f")]
+        flags: u16,
+    },
+    /// Human-readable query, e.g. `?q=100&a=1&t=1&ext=png`
+    HumanReadable {
+        /// Quality of the asset from 0-100
+        #[serde(alias = "q")]
+        quality: u8,
+        /// Whether to select animated assets
+        #[serde(alias = "a")]
+        animated: bool,
+        /// Whether to select assets with alpha channels
+        #[serde(alias = "t")]
+        with_alpha: bool,
+        /// File extension to filter by if picking a specific format
+        #[serde(skip_serializing_if = "Option::is_none")]
+        ext: Option<SmolStr>,
+    },
+}
+
+impl From<AssetFlags> for AssetQuery {
+    fn from(flags: AssetFlags) -> Self {
+        AssetQuery::Flags {
+            flags: flags.bits() as u16,
+        }
+    }
+}
+
+impl From<AssetQuery> for AssetFlags {
+    fn from(query: AssetQuery) -> Self {
+        match query {
+            AssetQuery::Flags { flags } => AssetFlags::from_bits_truncate(flags as i16),
+            AssetQuery::HumanReadable {
+                quality,
+                animated,
+                with_alpha,
+                ext,
+            } => {
+                let mut flags = AssetFlags::empty().with_quality(quality).with_alpha(with_alpha);
+
+                if animated {
+                    flags |= AssetFlags::ANIMATED;
+                }
+
+                match ext {
+                    Some(ext) => flags.union(AssetFlags::from_ext(&ext)),
+                    None => flags.union(AssetFlags::FORMATS).difference(AssetFlags::MAYBE_UNSUPPORTED_FORMATS),
+                }
+            }
+        }
+    }
+}
+
\ No newline at end of file diff --git a/src/client_sdk/api/command.rs.html b/src/client_sdk/api/command.rs.html new file mode 100644 index 000000000..ad9df3c3d --- /dev/null +++ b/src/client_sdk/api/command.rs.html @@ -0,0 +1,1487 @@ +command.rs - source
1
+2
+3
+4
+5
+6
+7
+8
+9
+10
+11
+12
+13
+14
+15
+16
+17
+18
+19
+20
+21
+22
+23
+24
+25
+26
+27
+28
+29
+30
+31
+32
+33
+34
+35
+36
+37
+38
+39
+40
+41
+42
+43
+44
+45
+46
+47
+48
+49
+50
+51
+52
+53
+54
+55
+56
+57
+58
+59
+60
+61
+62
+63
+64
+65
+66
+67
+68
+69
+70
+71
+72
+73
+74
+75
+76
+77
+78
+79
+80
+81
+82
+83
+84
+85
+86
+87
+88
+89
+90
+91
+92
+93
+94
+95
+96
+97
+98
+99
+100
+101
+102
+103
+104
+105
+106
+107
+108
+109
+110
+111
+112
+113
+114
+115
+116
+117
+118
+119
+120
+121
+122
+123
+124
+125
+126
+127
+128
+129
+130
+131
+132
+133
+134
+135
+136
+137
+138
+139
+140
+141
+142
+143
+144
+145
+146
+147
+148
+149
+150
+151
+152
+153
+154
+155
+156
+157
+158
+159
+160
+161
+162
+163
+164
+165
+166
+167
+168
+169
+170
+171
+172
+173
+174
+175
+176
+177
+178
+179
+180
+181
+182
+183
+184
+185
+186
+187
+188
+189
+190
+191
+192
+193
+194
+195
+196
+197
+198
+199
+200
+201
+202
+203
+204
+205
+206
+207
+208
+209
+210
+211
+212
+213
+214
+215
+216
+217
+218
+219
+220
+221
+222
+223
+224
+225
+226
+227
+228
+229
+230
+231
+232
+233
+234
+235
+236
+237
+238
+239
+240
+241
+242
+243
+244
+245
+246
+247
+248
+249
+250
+251
+252
+253
+254
+255
+256
+257
+258
+259
+260
+261
+262
+263
+264
+265
+266
+267
+268
+269
+270
+271
+272
+273
+274
+275
+276
+277
+278
+279
+280
+281
+282
+283
+284
+285
+286
+287
+288
+289
+290
+291
+292
+293
+294
+295
+296
+297
+298
+299
+300
+301
+302
+303
+304
+305
+306
+307
+308
+309
+310
+311
+312
+313
+314
+315
+316
+317
+318
+319
+320
+321
+322
+323
+324
+325
+326
+327
+328
+329
+330
+331
+332
+333
+334
+335
+336
+337
+338
+339
+340
+341
+342
+343
+344
+345
+346
+347
+348
+349
+350
+351
+352
+353
+354
+355
+356
+357
+358
+359
+360
+361
+362
+363
+364
+365
+366
+367
+368
+369
+370
+371
+372
+373
+374
+375
+376
+377
+378
+379
+380
+381
+382
+383
+384
+385
+386
+387
+388
+389
+390
+391
+392
+393
+394
+395
+396
+397
+398
+399
+400
+401
+402
+403
+404
+405
+406
+407
+408
+409
+410
+411
+412
+413
+414
+415
+416
+417
+418
+419
+420
+421
+422
+423
+424
+425
+426
+427
+428
+429
+430
+431
+432
+433
+434
+435
+436
+437
+438
+439
+440
+441
+442
+443
+444
+445
+446
+447
+448
+449
+450
+451
+452
+453
+454
+455
+456
+457
+458
+459
+460
+461
+462
+463
+464
+465
+466
+467
+468
+469
+470
+471
+472
+473
+474
+475
+476
+477
+478
+479
+480
+481
+482
+483
+484
+485
+486
+487
+488
+489
+490
+491
+492
+493
+494
+495
+496
+497
+498
+499
+500
+501
+502
+503
+504
+505
+506
+507
+508
+509
+510
+511
+512
+513
+514
+515
+516
+517
+518
+519
+520
+521
+522
+523
+524
+525
+526
+527
+528
+529
+530
+531
+532
+533
+534
+535
+536
+537
+538
+539
+540
+541
+542
+543
+544
+545
+546
+547
+548
+549
+550
+551
+552
+553
+554
+555
+556
+557
+558
+559
+560
+561
+562
+563
+564
+565
+566
+567
+568
+569
+570
+571
+572
+573
+574
+575
+576
+577
+578
+579
+580
+581
+582
+583
+584
+585
+586
+587
+588
+589
+590
+591
+592
+593
+594
+595
+596
+597
+598
+599
+600
+601
+602
+603
+604
+605
+606
+607
+608
+609
+610
+611
+612
+613
+614
+615
+616
+617
+618
+619
+620
+621
+622
+623
+624
+625
+626
+627
+628
+629
+630
+631
+632
+633
+634
+635
+636
+637
+638
+639
+640
+641
+642
+643
+644
+645
+646
+647
+648
+649
+650
+651
+652
+653
+654
+655
+656
+657
+658
+659
+660
+661
+662
+663
+664
+665
+666
+667
+668
+669
+670
+671
+672
+673
+674
+675
+676
+677
+678
+679
+680
+681
+682
+683
+684
+685
+686
+687
+688
+689
+690
+691
+692
+693
+694
+695
+696
+697
+698
+699
+700
+701
+702
+703
+704
+705
+706
+707
+708
+709
+710
+711
+712
+713
+714
+715
+716
+717
+718
+719
+720
+721
+722
+723
+724
+725
+726
+727
+728
+729
+730
+731
+732
+733
+734
+735
+736
+737
+738
+739
+740
+741
+742
+743
+
use core::{fmt, time::Duration};
+use std::num::NonZeroU64;
+
+use http::{HeaderMap, Method};
+
+pub(crate) mod sealed {
+    pub trait Sealed {}
+}
+
+use crate::models::Permissions;
+
+bitflags::bitflags! {
+    /// Flags for command functionality.
+    #[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
+    pub struct CommandFlags: u8 {
+        /// Command requires authorization to execute.
+        const AUTHORIZED    = 1 << 0;
+        /// Command has a body.
+        const HAS_BODY      = 1 << 1;
+
+        const BOTS_ONLY     = 1 << 2;
+        const USERS_ONLY    = 1 << 3;
+        const ADMIN_ONLY    = 1 << 4;
+    }
+}
+
+#[allow(unused)]
+impl CommandFlags {
+    // easier to declare in the macro
+    pub(crate) const B: Self = Self::BOTS_ONLY;
+    pub(crate) const U: Self = Self::USERS_ONLY;
+    pub(crate) const A: Self = Self::ADMIN_ONLY;
+}
+
+impl_rkyv_for_bitflags!(pub CommandFlags: u8);
+impl_schema_for_bitflags!(CommandFlags);
+
+/// Rate-limiting configuration for a command
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub struct RateLimit {
+    /// Ideal time between each request
+    pub emission_interval: Duration,
+
+    /// Maximum number of requests that can be made in a burst, before rate-limiting kicks in.
+    pub burst_size: NonZeroU64,
+}
+
+impl RateLimit {
+    /// Default rate-limit config for commands when not otherwise specified.
+    ///
+    /// ```ignore
+    /// RateLimit {
+    ///     emission_interval: 50ms,
+    ///     burst_size: 5,
+    /// }
+    /// ```
+    ///
+    /// Or approximately 20 requests per second, with up to 5 requests burst within the `emission_interval`,
+    /// but the client must wait for them to replenish before another burst.
+    pub const DEFAULT: RateLimit = RateLimit {
+        emission_interval: Duration::from_millis(50),
+        burst_size: unsafe { NonZeroU64::new_unchecked(5) },
+    };
+}
+
+impl Default for RateLimit {
+    #[inline]
+    fn default() -> Self {
+        RateLimit::DEFAULT
+    }
+}
+
+/// Combined trait for serde and rkyv functionality
+#[cfg(feature = "rkyv")]
+pub trait CommandResult: Send + serde::de::DeserializeOwned + serde::ser::Serialize + rkyv::Archive {}
+
+/// Combined trait for serde and rkyv functionality
+#[cfg(feature = "rkyv")]
+pub trait CommandBody: Send + serde::ser::Serialize + rkyv::Archive {}
+
+#[cfg(feature = "rkyv")]
+impl<T> CommandResult for T where T: Send + serde::de::DeserializeOwned + serde::ser::Serialize + rkyv::Archive {}
+
+#[cfg(feature = "rkyv")]
+impl<T> CommandBody for T where T: Send + serde::ser::Serialize + rkyv::Archive {}
+
+/// Combined trait for serde and rkyv functionality
+#[cfg(not(feature = "rkyv"))]
+pub trait CommandResult: Send + serde::de::DeserializeOwned + serde::ser::Serialize {}
+
+/// Combined trait for serde and rkyv functionality
+#[cfg(not(feature = "rkyv"))]
+pub trait CommandBody: Send + serde::ser::Serialize {}
+
+#[cfg(not(feature = "rkyv"))]
+impl<T> CommandResult for T where T: Send + serde::de::DeserializeOwned + serde::ser::Serialize {}
+
+#[cfg(not(feature = "rkyv"))]
+impl<T> CommandBody for T where T: Send + serde::ser::Serialize {}
+
+/// Error returned when an item is missing from a stream or the stream is empty.
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub struct MissingItemError;
+
+impl fmt::Display for MissingItemError {
+    fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
+        f.write_str("Missing Item Error")
+    }
+}
+
+impl core::error::Error for MissingItemError {}
+
+/// Client Command, tells the client to perform specific requests
+///
+/// A "Command" is a mid-level abstraction around REST endpoints and their bodies. Not perfect,
+/// but zero-cost and simple. Other abstractions can be built on top of it.
+///
+/// A command consists of three parts: the URL, the "body", and headers.
+///
+/// For the case of `GET`/`OPTIONS` commands, the body becomes query parameters.
+pub trait Command: sealed::Sealed {
+    /// Whether the command returns one or many items
+    const STREAM: bool;
+
+    /// Whether the command has a query string or sends a body
+    const IS_QUERY: bool;
+
+    /// The underlying type of each returned item, be it one or many.
+    type Item: CommandResult;
+
+    /// Item(s) returned from the server by a given command
+    type Result: CommandResult;
+
+    /// Body type for the command
+    type Body: CommandBody;
+
+    /// HTTP Method used to execute the command
+    const HTTP_METHOD: Method;
+
+    /// Flags for the command, defaults to empty.
+    const FLAGS: CommandFlags;
+
+    /// Baseline rate-limiting parameters, defaults to [`RateLimit::DEFAULT`].
+    ///
+    /// The server may choose to adapt this as needed, and
+    /// it may not be the only rate-limiting factor depending
+    /// on the request.
+    const RATE_LIMIT: RateLimit;
+
+    /// On the server side, how long to wait before timing out the request.
+    const SERVER_TIMEOUT: Duration;
+
+    /// Path pattern for the command (without query) when used with matchit 0.8 or higher.
+    const ROUTE_PATTERN: &'static str;
+
+    /// Serialize/format the REST path (without query)
+    fn format_path<W: fmt::Write>(&self, w: W) -> fmt::Result;
+
+    /// Body to be serialized as request body or query parameters (if GET)
+    fn body(&self) -> &Self::Body;
+
+    /// Used to collect the [`Result`](Self::Result) from an arbitrary [`Stream`](futures::Stream) of items.
+    fn collect<S, E>(stream: S) -> impl ::core::future::Future<Output = Result<Self::Result, E>> + Send
+    where
+        S: futures::Stream<Item = Result<Self::Item, E>> + Send,
+        E: From<MissingItemError>;
+
+    /// Hint given to preallocate body size, only used for query strings
+    #[inline(always)]
+    fn body_size_hint(&self) -> usize {
+        0
+    }
+
+    /// Computes required permissions
+    fn perms(&self) -> Permissions;
+
+    /// Insert any additional headers required to perform this command
+    #[inline(always)]
+    fn add_headers(&self, _map: &mut HeaderMap) {}
+
+    #[cfg(feature = "schema")]
+    /// Generate a schema for this command
+    fn schema(gen: &mut schemars::gen::SchemaGenerator) -> (String, okapi::openapi3::PathItem);
+}
+
+/// Takes an expression like: "a" / value / "b" / value2
+/// and converts it into a sequence of `Write` writes
+macro_rules! format_path {
+    ($w:expr, $this:expr, [$($value:literal),+] [/ $next:literal $(/ $tail:tt)*]) => {
+        format_path!($w, $this, [$($value,)+ $next] [$(/ $tail)*]);
+    };
+
+    ($w:expr, $this:expr, [$($value:literal),+] [/ $next:tt $(/ $tail:tt)*]) => {
+        $w.write_str(concat!($("/", $value),+))?;
+        format_path!($w, $this, [$next] [$(/ $tail)*]);
+    };
+
+    ($w:expr, $this:expr, [$value:ident] [/ $next:tt $(/ $tail:tt)*]) => {
+        write!($w, "/{}", $this.$value)?;
+        format_path!($w, $this, [$next] [$(/ $tail)*]);
+    };
+
+    ($w:expr, $this:expr, [$($value:literal),*] []) => { $w.write_str(concat!($("/", $value),*))?; };
+    ($w:expr, $this:expr, [$value:ident] []) => { write!($w, "/{}", $this.$value)?; };
+}
+
+/// Takes a path pattern like: "a" / value / "b" / value2
+/// and converts it into a static string for use in matchit 0.8 or higher
+macro_rules! static_path_pattern {
+    ([$($value:literal),+] [/ $next:literal $(/ $tail:tt)*]) => {
+        static_path_pattern!([$($value,)+ $next] [$(/ $tail)*])
+    };
+
+    ([$($value:literal),+] [/ $next:tt $(/ $tail:tt)*]) => {
+        concat![$("/", $value,)+ static_path_pattern!([$next] [$(/ $tail)*])]
+    };
+
+    ([$value:ident] [/ $next:tt $(/ $tail:tt)*]) => {
+        concat!["/{", stringify!($value), "}", static_path_pattern!([$next] [$(/ $tail)*])]
+    };
+
+    ([$($value:literal),*] []) => { concat![$("/", $value),*] };
+    ([$value:ident] []) => { concat!["/{", stringify!($value), "}"] };
+}
+
+// Macro to autogenerate most Command trait implementations.
+macro_rules! command {
+    (@STRUCT struct) => {};
+
+    (@BODY_TY $name:ident) => { $name };
+    (@BODY_TY) => { () };
+
+    (@BODY_RETURN $name:ident $ret:expr) => { $ret };
+    (@BODY_RETURN ) => { &() };
+
+    // get doc comments as string literals
+    (@DOC #[doc = $doc:literal]) => { concat!($doc, "\n") };
+    (@DOC #[$meta:meta]) => {""};
+
+    (@DEPRECATED #[deprecated $($any:tt)*]) => { true };
+    (@DEPRECATED #[$meta:meta]) => { false };
+
+    // only insert block if GET-ish method (i.e. body is treated as query)
+    (@GET GET $c:block) => {$c};
+    (@GET OPTIONS $c:block) => {$c};
+    (@GET HEAD $c:block) => {$c};
+    (@GET CONNECT $c:block) => {$c};
+    (@GET TRACE $c:block) => {$c};
+    (@GET $other:ident $c:block) => {};
+
+    (@IS_STREAM One) => { false };
+    (@IS_STREAM Many) => { true };
+    (@IS_STREAM $other:ident) => { compile_error!("Must use One or Many for Command result") };
+
+    (@AGGREGATE One $ty:ty) => { $ty };
+    (@AGGREGATE Many $ty:ty) => { Vec<$ty> };
+
+    (@COLLECT One) => {
+        async fn collect<S, E>(stream: S) -> Result<Self::Result, E>
+        where
+            S: futures::Stream<Item = Result<Self::Item, E>> + Send,
+            E: From<MissingItemError>,
+        {
+            let mut stream = core::pin::pin!(stream);
+
+            use futures::StreamExt;
+
+            match stream.next().await {
+                Some(item) => item,
+                None => Err(E::from(MissingItemError)),
+            }
+        }
+    };
+
+    (@COLLECT Many) => {
+        async fn collect<S, E>(stream: S) -> Result<Self::Result, E>
+        where
+            S: futures::Stream<Item = Result<Self::Item, E>> + Send,
+            E: From<MissingItemError>,
+        {
+            let mut stream = core::pin::pin!(stream);
+
+            use futures::StreamExt;
+
+            let mut items = Vec::new();
+            while let Some(item) = stream.next().await {
+                items.push(item?);
+            }
+
+            Ok(items)
+        }
+    };
+
+    // entry point
+    ($(
+        // meta
+        $(#[$($meta:tt)*])*
+
+        // two symbols to differentiate auth and noauth commands (keyword struct verified in @STRUCT)
+        $(+$auth_struct:ident)? $(-$noauth_struct:ident)?
+
+        // name, result and HTTP method
+        $name:ident $(($($flag:ident)|*))? -> $count:ident $result:ty: $method:ident$([$emission_interval:literal ms $(, $burst_size:literal)?])?(
+            $head:tt $(/ $tail:tt)*
+        )
+        // permissions
+        $(where $($perm:ident)|+)?
+
+        // HTTP Headers
+        $($($(#[$header_meta:meta])* $header_name:literal => $header_vis:vis $header_field:ident: $header_ty:ty),+ $(,)*)?
+
+        // fields
+        {
+            $(
+                $(#[$($field_meta:tt)*])*
+                $field_vis:vis $field_name:ident: $field_ty:ty $(
+                    // conditional additional permissions
+                    where $($field_perm:ident)|+ if $cond:expr
+                )?
+
+            ),* $(,)*
+
+            $(
+                ; // need to terminate the previous expressions
+
+                // separate body struct that will be flattened
+                $(#[$body_meta:meta])*
+                struct $body_name:ident {
+                    $(
+
+                        $(#[$($body_field_meta:tt)*])*
+                        $body_field_vis:vis $body_field_name:ident: $body_field_ty:ty $(
+                            where $($body_field_perm:ident)|+ if $body_field_cond:expr
+                        )?
+
+                    ),* $(,)*
+                }
+            )?
+        }
+    )*) => {paste::paste!{$(
+        // verify presence of exactly one `struct` without prefix
+        command!(@STRUCT $($auth_struct)? $($noauth_struct)?);
+
+        impl $crate::api::command::sealed::Sealed for $name {}
+        impl $crate::api::command::Command for $name {
+            const STREAM: bool = command!(@IS_STREAM $count);
+
+            const IS_QUERY: bool = matches!(
+                http::Method::$method,
+                http::Method::GET | http::Method::OPTIONS | http::Method::HEAD | http::Method::CONNECT | http::Method::TRACE
+            );
+
+            command!(@COLLECT $count);
+
+            type Item = $result;
+
+            type Result = command!(@AGGREGATE $count $result);
+
+            const HTTP_METHOD: http::Method = http::Method::$method;
+
+            const FLAGS: CommandFlags = CommandFlags::empty()
+                $(.union((stringify!($body_name), CommandFlags::HAS_BODY).1))?
+                $(.union((stringify!($auth_struct), CommandFlags::AUTHORIZED).1))?
+                $( $(.union(CommandFlags::$flag))* )?
+            ;
+
+            $(
+                #[doc = "```ignore\nRateLimit {\n    emission_interval: " $emission_interval "ms,\n"]
+                $(#[doc = "    burst_size: " $burst_size ","])?
+                #[doc = "}\n```\nIf not specified, the `burst_size` will be from [`RateLimit::DEFAULT`]."]
+            )?
+            #[allow(clippy::needless_update)]
+            const RATE_LIMIT: RateLimit = RateLimit {
+                $(emission_interval: core::time::Duration::from_millis($emission_interval),
+                $(burst_size: {
+                    assert!($burst_size > 0, "Burst Size must be nonzero!");
+                    unsafe { ::core::num::NonZeroU64::new_unchecked($burst_size) }
+                }, )?)?
+                ..RateLimit::DEFAULT
+            };
+
+            const SERVER_TIMEOUT: std::time::Duration = std::time::Duration::from_secs(5);
+
+            #[allow(unused_mut, unused_variables, deprecated)]
+            fn perms(&self) -> Permissions {
+                let mut base = crate::perms!($($($perm)|+)?);
+
+                let $name {
+                    $(ref $field_name,)*
+
+                    $( $(ref $header_field,)* )?
+
+                    $(
+                        body: $body_name { $(ref $body_field_name),* }
+                    )?
+                } = self;
+
+                $($(
+                    if $cond {
+                        base |= crate::perms!($(Permissions::$field_perm)|+)
+                    }
+                )?)*
+
+                base
+            }
+
+            const ROUTE_PATTERN: &'static str = static_path_pattern!(["api", "v1", $head] [$(/ $tail)*]);
+
+            #[inline]
+            #[allow(deprecated)]
+            fn format_path<W: core::fmt::Write>(&self, mut w: W) -> core::fmt::Result {
+                format_path!(w, self, [$head] [$(/ $tail)*]);
+
+                Ok(())
+            }
+
+            type Body = command!(@BODY_TY $($body_name)?);
+
+            fn body(&self) -> &Self::Body {
+                command!(@BODY_RETURN $($body_name &self.body)?)
+            }
+
+            $(
+                #[inline]
+                fn body_size_hint(&self) -> usize {
+                    // ?value= &another=
+                    0 $(+ 3 + stringify!($body_field_name).len())*
+                }
+            )?
+
+            $(
+                #[inline(always)]
+                fn add_headers(&self, map: &mut http::HeaderMap) {
+                    $(
+                        map.insert($header_name, http::HeaderValue::from_maybe_shared(self.$header_field.to_string()).unwrap());
+                    )+
+                }
+            )?
+
+            #[cfg(feature = "schema")]
+            fn schema(gen: &mut schemars::gen::SchemaGenerator) -> (String, okapi::openapi3::PathItem) {
+                #![allow(unused)]
+
+                use http::Method;
+                use schemars::{JsonSchema, schema::SchemaObject, gen::SchemaGenerator};
+                use okapi::openapi3::{Operation, PathItem, Parameter, ParameterValue, RefOr, Object};
+
+                let mut path_item = PathItem::default();
+
+                path_item.[<$method:lower>] = Some({
+                    let mut op = Operation {
+                        description: {
+                            let description = concat!($(command!(@DOC #[$($meta)*])),*).trim();
+                            if description.is_empty() { None } else { Some(description.to_owned()) }
+                        },
+                        ..Default::default()
+                    };
+
+                    // if has body and GET-ish
+                    $(
+                        command!(@GET $method {$(
+                            op.parameters.push(RefOr::Object(Parameter {
+                                name: stringify!($body_field_name).to_owned(),
+                                location: "query".to_owned(),
+                                description: {
+                                    let description = concat!($(command!(@DOC #[$($body_field_meta)*])),*).trim();
+                                    if description.is_empty() { None } else { Some(description.to_owned()) }
+                                },
+                                // TODO: Figure out a better way to detect `Option<T>` types?
+                                required: !<$body_field_ty as JsonSchema>::_schemars_private_is_option(),
+                                deprecated: false $(|| command!(@DEPRECATED #[$($body_field_meta)*]))*,
+                                allow_empty_value: false,
+                                extensions: Default::default(),
+                                value: ParameterValue::Schema {
+                                    style: None,
+                                    explode: None,
+                                    allow_reserved: false,
+                                    schema: <$body_field_ty as JsonSchema>::json_schema(gen).into_object(),
+                                    example: None,
+                                    examples: None,
+                                }
+                            }));
+                        )*});
+                    )?
+
+                    let response_schema_name = <$result as JsonSchema>::schema_name();
+
+                    // if not ()
+                    if response_schema_name != "Null" {
+                        // TODO: Figure out how to insert and reference schema?
+                        //let defs = gen.definitions_mut();
+                        //op.responses.default = Some()
+                    }
+
+                    op
+                });
+
+                path_item.parameters = vec![$({
+                    RefOr::Object(Parameter {
+                        name: stringify!($field_name).to_owned(),
+                        location: "path".to_owned(),
+                        description: {
+                            let description = concat!($(command!(@DOC #[$($field_meta)*])),*).trim();
+                            if description.is_empty() { None } else { Some(description.to_owned()) }
+                        },
+                        required: true,
+                        deprecated: false $(|| command!(@DEPRECATED #[$($field_meta)*]))*,
+                        allow_empty_value: false,
+                        extensions: Default::default(),
+                        value: ParameterValue::Schema {
+                            style: None,
+                            explode: None,
+                            allow_reserved: false,
+                            schema: <$field_ty as JsonSchema>::json_schema(gen).into_object(),
+                            example: None,
+                            examples: None,
+                        }
+                    })
+                },)*];
+
+                // TODO: Self::ROUTE_PATTERN.to_owned() instead?
+                (static_path_pattern!([$head] [$(/ $tail)*]).to_owned(), path_item)
+            }
+        }
+
+        #[derive(Debug)]
+        #[cfg_attr(feature = "typed-builder", derive(typed_builder::TypedBuilder))]
+        #[cfg_attr(feature = "bon", derive(bon::Builder))]
+        #[cfg_attr(feature = "rkyv", derive(rkyv::Archive, rkyv::Serialize, rkyv::Deserialize))]
+        #[must_use = "Commands do nothing unless executed via a `Driver`."]
+        $(#[$($meta)*])*
+        pub struct $name {
+            $($(#[$($field_meta)*])* $field_vis $field_name: $field_ty, )*
+
+            $( $($(#[$header_meta])* $header_vis $header_field: $header_ty, )* )?
+
+            $(
+                /// Body to be serialized as request body or query parameters (if GET)
+                pub body: $body_name,
+            )?
+        }
+
+        #[cfg(feature = "rkyv")]
+        const _: () = {
+            const fn assert_archive<T: rkyv::Archive>() {}
+            assert_archive::<$name>();
+        };
+
+        $(
+            #[derive(Debug, Serialize, Deserialize)]
+            #[cfg_attr(feature = "schema", derive(schemars::JsonSchema))]
+            #[cfg_attr(feature = "rkyv", derive(rkyv::Archive, rkyv::Serialize, rkyv::Deserialize))]
+            #[cfg_attr(feature = "ts", derive(ts_bindgen::TypeScriptDef))]
+            $(#[$body_meta])*
+            pub struct $body_name {
+                $( $(#[$($body_field_meta)*])* $body_field_vis $body_field_name: $body_field_ty ),*
+            }
+
+            impl ::core::ops::Deref for $name {
+                type Target = $body_name;
+
+                #[inline]
+                fn deref(&self) -> &Self::Target {
+                    &self.body
+                }
+            }
+
+            impl ::core::ops::DerefMut for $name {
+                #[inline]
+                fn deref_mut(&mut self) -> &mut Self::Target {
+                    &mut self.body
+                }
+            }
+        )?
+
+        impl $name {
+            #[doc = "Construct new instance from individual fields"]
+            #[allow(deprecated, clippy::too_many_arguments, clippy::new_without_default)]
+            pub const fn new(
+                $($field_name: $field_ty,)*
+                $( $($header_field: $header_ty,)* )?
+                $( $($body_field_name: $body_field_ty),* )?
+            ) -> Self {
+                $name {
+                    $($field_name,)*
+
+                    $( $($header_field,)* )?
+
+                    $( body: $body_name { $($body_field_name),* } )?
+                }
+            }
+        }
+
+        #[cfg(feature = "ftl")]
+        const _: () = {
+            use ftl::{Request, extract::{FromRequest, FromRequestParts, path::Path}};
+
+            mod segments {
+                ftl::path_segment! {
+                    $(pub [<$field_name:camel>]: super::[<$field_ty>],)*
+                }
+            }
+
+            impl<S> FromRequest<S> for $name
+                where S: Send + Sync,
+            {
+                type Rejection = ftl::Error;
+
+                #[allow(unused_variables, clippy::manual_async_fn)]
+                fn from_request(req: Request, state: &S) -> impl std::future::Future<Output = Result<Self, Self::Rejection>> + Send {
+                    async move {
+                        let (mut parts, body) = req.into_parts();
+
+                        if parts.method != <Self as $crate::api::Command>::HTTP_METHOD {
+                            return Err(ftl::Error::MethodNotAllowed);
+                        }
+
+                        $(
+                            _ = stringify!($auth_struct);
+
+                            if parts.extensions.get::<crate::api::AuthMarker>().is_none() {
+                                return Err(ftl::Error::Unauthorized);
+                            }
+                        )?
+
+                        let Path(($($field_name,)*)) = Path::<($(segments::[<$field_name:camel>],)*)>::from_request_parts(&mut parts, state).await.map_err(ftl::Error::from)?;
+
+                        Ok($name {
+                            $($field_name,)*
+
+                            $(body: if <Self as $crate::api::Command>::IS_QUERY {
+                                ftl::extract::query::Query::<$body_name>::from_request_parts(&mut parts, state).await.map_err(ftl::Error::from)?.0
+                            } else {
+                                ftl::extract::one_of::OneOfAny::<$body_name>::from_request(Request::from_parts(parts, body), state).await.map_err(ftl::Error::from)?.0
+                            })?
+                        })
+                    }
+                }
+            }
+        };
+    )*}};
+}
+
+macro_rules! command_module {
+    ($($vis:vis mod $mod:ident;)*) => {
+        $($vis mod $mod;)*
+
+        pub mod all {
+            $($vis use super::$mod::*;)*
+        }
+
+        // TODO: Collect schemas from each object
+    }
+}
+
+/*
+// Experimental/incomplete alternate format, might reuse parts of it later
+macro_rules! command2 {
+    (
+        // name, result and HTTP method
+        $(#[$meta:meta])* struct $name:ident -> $result:ty: $method:ident(
+            $($path:tt)* // will parse later
+        )
+        // permissions
+        $(where $($kind:ident::$perm:ident)|+)?
+
+        // HTTP Headers
+        $($($(#[$header_meta:meta])* $header_name:literal => $header_vis:vis $header_field:ident: $header_ty:ty),+ $(,)*)?
+
+        $({
+            $(
+                $(#[$field_meta:meta])*
+                $field_vis:vis $field_name:ident: $field_ty:ty $(
+                    // conditional additional permissions
+                    where $($field_kind:ident::$field_perm:ident)|+ if $cond:expr
+                )?
+            ),+ $(,)*
+        })?
+    ) => {
+        $(
+            paste::paste! {
+                #[doc = "Body struct for [" $name "]"]
+                #[derive(Debug, Serialize, Deserialize)]
+                pub struct [<$name Body>] {
+                    $( $(#[$field_meta])* $field_vis $field_name: $field_ty ),+
+                }
+            }
+        )?
+
+        $(
+            paste::paste! {
+                #[doc = "Header struct for [" $name "]"]
+                #[derive(Debug)]
+                pub struct [<$name Headers>] {
+                    $($(#[$header_meta])* $header_vis $header_field: $header_ty),+
+                }
+            }
+        )?
+
+        pub struct $name {
+
+        }
+
+        //impl $crate::api::command::sealed::Sealed for $name {}
+
+        // type TEST = command2!(@BODY_TY $name: $($($field_name),+)?);
+    };
+
+    (@BODY_TY $name:ident: $($field_name:ident),+) => {paste::paste!([<$name Body>])};
+    (@BODY_TY $name:ident: ) => {()};
+
+    // final case
+    (
+        @BODY $(#[$meta:meta])* struct $name:ident {
+            $($(#[$field_meta:meta])* $field_vis:vis $field_name:ident: $field_ty:ty),*
+        }
+        [] []
+    ) => {
+        $(#[$meta:meta])*
+        pub struct $name {
+            $( $(#[$field_meta])* $field_vis $field_name: $field_ty ),*
+        }
+    };
+
+    (
+        @BODY $(#[$meta:meta])* struct $name:ident {
+            $($(#[$field_meta:meta])* $field_vis:vis $field_name:ident: $field_ty:ty),*
+        }
+        [$($param_name:ident: $param_ty:ty),+ $(/ $rest_params:tt)*]
+        [$($rest_headers:tt)*]
+    ) => {
+        command2! {
+            @BODY
+            $(#[$meta:meta])*
+            struct $name {
+                $( $(#[$field_meta])* $field_vis $field_name: $field_ty ),*
+            }
+            [$($param_name:ident: $param_ty:ty),+]
+            [$($rest:tt)*]
+        }
+    };
+}
+*/
+
\ No newline at end of file diff --git a/src/client_sdk/api/commands/config.rs.html b/src/client_sdk/api/commands/config.rs.html new file mode 100644 index 000000000..194cb0009 --- /dev/null +++ b/src/client_sdk/api/commands/config.rs.html @@ -0,0 +1,13 @@ +config.rs - source
1
+2
+3
+4
+5
+6
+
use super::*;
+
+command! {
+    /// Gets the global server configuration
+    -struct GetServerConfig -> One ServerConfig: GET("config") {}
+}
+
\ No newline at end of file diff --git a/src/client_sdk/api/commands/file.rs.html b/src/client_sdk/api/commands/file.rs.html new file mode 100644 index 000000000..1aeaba87d --- /dev/null +++ b/src/client_sdk/api/commands/file.rs.html @@ -0,0 +1,117 @@ +file.rs - source
1
+2
+3
+4
+5
+6
+7
+8
+9
+10
+11
+12
+13
+14
+15
+16
+17
+18
+19
+20
+21
+22
+23
+24
+25
+26
+27
+28
+29
+30
+31
+32
+33
+34
+35
+36
+37
+38
+39
+40
+41
+42
+43
+44
+45
+46
+47
+48
+49
+50
+51
+52
+53
+54
+55
+56
+57
+58
+
use super::*;
+
+command! {
+    +struct CreateFile -> One FileId: POST("file") {
+        ;
+        #[cfg_attr(feature = "typed-builder", derive(typed_builder::TypedBuilder))]
+        #[cfg_attr(feature = "bon", derive(bon::Builder))]
+        struct CreateFileBody {
+            #[cfg_attr(feature = "typed-builder", builder(setter(into)))]
+            #[cfg_attr(feature = "bon", builder(into))]
+            pub filename: SmolStr,
+
+            pub size: i32,
+
+            #[serde(default, skip_serializing_if = "Option::is_none")]
+            #[cfg_attr(feature = "typed-builder", builder(default, setter(into, strip_option)))]
+            #[cfg_attr(feature = "bon", builder(into))]
+            pub mime: Option<SmolStr>,
+
+            #[serde(default, skip_serializing_if = "Option::is_none")]
+            #[cfg_attr(feature = "typed-builder", builder(default, setter(strip_option)))]
+            pub width: Option<i32>,
+
+            #[serde(default, skip_serializing_if = "Option::is_none")]
+            #[cfg_attr(feature = "typed-builder", builder(default, setter(strip_option)))]
+            pub height: Option<i32>,
+
+            #[serde(default, skip_serializing_if = "Option::is_none")]
+            #[cfg_attr(feature = "typed-builder", builder(default, setter(into)))]
+            #[cfg_attr(feature = "bon", builder(into))]
+            pub preview: Option<String>,
+        }
+    }
+
+    +struct GetFilesystemStatus -> One FilesystemStatus: OPTIONS("file") {}
+
+    +struct GetFileStatus -> One FileStatus: HEAD("file" / file_id) {
+        pub file_id: FileId,
+    }
+}
+
+#[derive(Debug, Clone, Copy, PartialEq, Serialize, Deserialize)]
+#[cfg_attr(feature = "schema", derive(schemars::JsonSchema))]
+#[cfg_attr(feature = "rkyv", derive(rkyv::Archive, rkyv::Serialize, rkyv::Deserialize))]
+#[cfg_attr(feature = "ts", derive(ts_bindgen::TypeScriptDef))]
+pub struct FilesystemStatus {
+    pub quota_used: i64,
+    pub quota_total: i64,
+}
+
+#[derive(Debug, Clone, Copy, PartialEq, Serialize, Deserialize)]
+#[cfg_attr(feature = "schema", derive(schemars::JsonSchema))]
+#[cfg_attr(feature = "rkyv", derive(rkyv::Archive, rkyv::Serialize, rkyv::Deserialize))]
+#[cfg_attr(feature = "ts", derive(ts_bindgen::TypeScriptDef))]
+pub struct FileStatus {
+    pub complete: u32,
+    pub upload_offset: u64,
+}
+
\ No newline at end of file diff --git a/src/client_sdk/api/commands/invite.rs.html b/src/client_sdk/api/commands/invite.rs.html new file mode 100644 index 000000000..57ee51009 --- /dev/null +++ b/src/client_sdk/api/commands/invite.rs.html @@ -0,0 +1,51 @@ +invite.rs - source
1
+2
+3
+4
+5
+6
+7
+8
+9
+10
+11
+12
+13
+14
+15
+16
+17
+18
+19
+20
+21
+22
+23
+24
+25
+
use super::*;
+
+command! {
+    +struct GetInvite -> One Invite: GET("invite" / code) {
+        pub code: SmolStr,
+    }
+
+    +struct RevokeInvite -> One (): DELETE("invite" / code) {
+        pub code: SmolStr,
+    }
+
+    +struct RedeemInvite -> One (): POST("invite" / code / "redeem") {
+        pub code: SmolStr,
+
+        ;
+        #[cfg_attr(feature = "typed-builder", derive(typed_builder::TypedBuilder))]
+        #[cfg_attr(feature = "bon", derive(bon::Builder))]
+        struct RedeemInviteBody {
+            #[serde(default, skip_serializing_if = "Option::is_none")]
+            #[cfg_attr(feature = "typed-builder", builder(default, setter(into)))]
+            #[cfg_attr(feature = "bon", builder(into))]
+            pub nickname: Option<SmolStr>,
+        }
+    }
+}
+
\ No newline at end of file diff --git a/src/client_sdk/api/commands/mod.rs.html b/src/client_sdk/api/commands/mod.rs.html new file mode 100644 index 000000000..1e281648f --- /dev/null +++ b/src/client_sdk/api/commands/mod.rs.html @@ -0,0 +1,31 @@ +mod.rs - source
1
+2
+3
+4
+5
+6
+7
+8
+9
+10
+11
+12
+13
+14
+15
+
use crate::{
+    api::command::{CommandFlags, MissingItemError, RateLimit},
+    models::*,
+};
+use smol_str::SmolStr;
+
+// NOTE: This macro is here to aggregate schema definitions, but otherwise does very little.
+command_module! {
+    pub mod config;
+    pub mod file;
+    pub mod party;
+    pub mod room;
+    pub mod user;
+    pub mod invite;
+}
+
\ No newline at end of file diff --git a/src/client_sdk/api/commands/party.rs.html b/src/client_sdk/api/commands/party.rs.html new file mode 100644 index 000000000..201199f5f --- /dev/null +++ b/src/client_sdk/api/commands/party.rs.html @@ -0,0 +1,587 @@ +party.rs - source
1
+2
+3
+4
+5
+6
+7
+8
+9
+10
+11
+12
+13
+14
+15
+16
+17
+18
+19
+20
+21
+22
+23
+24
+25
+26
+27
+28
+29
+30
+31
+32
+33
+34
+35
+36
+37
+38
+39
+40
+41
+42
+43
+44
+45
+46
+47
+48
+49
+50
+51
+52
+53
+54
+55
+56
+57
+58
+59
+60
+61
+62
+63
+64
+65
+66
+67
+68
+69
+70
+71
+72
+73
+74
+75
+76
+77
+78
+79
+80
+81
+82
+83
+84
+85
+86
+87
+88
+89
+90
+91
+92
+93
+94
+95
+96
+97
+98
+99
+100
+101
+102
+103
+104
+105
+106
+107
+108
+109
+110
+111
+112
+113
+114
+115
+116
+117
+118
+119
+120
+121
+122
+123
+124
+125
+126
+127
+128
+129
+130
+131
+132
+133
+134
+135
+136
+137
+138
+139
+140
+141
+142
+143
+144
+145
+146
+147
+148
+149
+150
+151
+152
+153
+154
+155
+156
+157
+158
+159
+160
+161
+162
+163
+164
+165
+166
+167
+168
+169
+170
+171
+172
+173
+174
+175
+176
+177
+178
+179
+180
+181
+182
+183
+184
+185
+186
+187
+188
+189
+190
+191
+192
+193
+194
+195
+196
+197
+198
+199
+200
+201
+202
+203
+204
+205
+206
+207
+208
+209
+210
+211
+212
+213
+214
+215
+216
+217
+218
+219
+220
+221
+222
+223
+224
+225
+226
+227
+228
+229
+230
+231
+232
+233
+234
+235
+236
+237
+238
+239
+240
+241
+242
+243
+244
+245
+246
+247
+248
+249
+250
+251
+252
+253
+254
+255
+256
+257
+258
+259
+260
+261
+262
+263
+264
+265
+266
+267
+268
+269
+270
+271
+272
+273
+274
+275
+276
+277
+278
+279
+280
+281
+282
+283
+284
+285
+286
+287
+288
+289
+290
+291
+292
+293
+
use super::*;
+
+command! {
+    +struct GetParty -> One Party: GET("party" / party_id) {
+        pub party_id: PartyId,
+    }
+
+    +struct CreateParty -> One Party: POST[5000 ms, 1]("party") {
+        ;
+
+        #[cfg_attr(feature = "typed-builder", derive(typed_builder::TypedBuilder))]
+        #[cfg_attr(feature = "bon", derive(bon::Builder))]
+        struct CreatePartyForm {
+            #[cfg_attr(feature = "typed-builder", builder(setter(into)))]
+            #[cfg_attr(feature = "bon", builder(into))]
+            pub name: SmolStr,
+
+            #[serde(default, skip_serializing_if = "Option::is_none")]
+            #[cfg_attr(feature = "typed-builder", builder(default, setter(into)))]
+            #[cfg_attr(feature = "bon", builder(into))]
+            pub description: Option<ThinString>,
+
+            #[serde(default)]
+            #[cfg_attr(feature = "typed-builder", builder(default))]
+            #[cfg_attr(feature = "bon", builder(default))]
+            pub flags: PartyFlags,
+        }
+    }
+
+    +struct PatchParty -> One Party: PATCH[500 ms, 1]("party" / party_id) {
+        pub party_id: PartyId,
+
+        ;
+        #[derive(Default, PartialEq)]
+        #[cfg_attr(feature = "typed-builder", derive(typed_builder::TypedBuilder))]
+        #[cfg_attr(feature = "bon", derive(bon::Builder))]
+        #[cfg_attr(feature = "rkyv", rkyv(compare(PartialEq)))]
+        struct PatchPartyForm {
+            #[serde(default, skip_serializing_if = "Option::is_none")]
+            #[cfg_attr(feature = "typed-builder", builder(default, setter(into)))]
+            #[cfg_attr(feature = "bon", builder(into))]
+            pub name: Option<SmolStr>,
+
+            #[serde(default, skip_serializing_if = "Nullable::is_undefined")]
+            #[cfg_attr(feature = "typed-builder", builder(default, setter(into)))]
+            #[cfg_attr(feature = "bon", builder(default, into))]
+            pub description: Nullable<SmolStr>,
+
+            #[serde(default, skip_serializing_if = "Option::is_none")]
+            #[cfg_attr(feature = "typed-builder", builder(default, setter(into)))]
+            pub flags: Option<PartyFlags>,
+
+            #[serde(default, skip_serializing_if = "Option::is_none")]
+            #[cfg_attr(feature = "typed-builder", builder(default, setter(into)))]
+            pub default_room: Option<RoomId>,
+
+            #[serde(default, skip_serializing_if = "Nullable::is_undefined")]
+            #[cfg_attr(feature = "typed-builder", builder(default, setter(into)))]
+            #[cfg_attr(feature = "bon", builder(default, into))]
+            pub avatar: Nullable<FileId>,
+
+            #[serde(default, skip_serializing_if = "Nullable::is_undefined")]
+            #[cfg_attr(feature = "typed-builder", builder(default, setter(into)))]
+            #[cfg_attr(feature = "bon", builder(default, into))]
+            pub banner: Nullable<FileId>,
+
+            #[serde(default, skip_serializing_if = "is_default")]
+            #[cfg_attr(feature = "typed-builder", builder(default, setter(into)))]
+            pub banner_align: all::BannerAlign,
+        }
+    }
+
+    +struct DeleteParty(U) -> One (): DELETE("party" / party_id) {
+        pub party_id: PartyId,
+    }
+
+    // TODO: Use same command for accepting?
+    +struct TransferOwnership(U) -> One (): PUT("party" / party_id / "owner" / user_id) {
+        pub party_id: PartyId,
+        pub user_id: UserId,
+    }
+
+    +struct CreateRole -> One Role: POST[1000 ms, 1]("party" / party_id / "roles") {
+        pub party_id: PartyId,
+
+        ;
+        #[cfg_attr(feature = "typed-builder", derive(typed_builder::TypedBuilder))]
+        #[cfg_attr(feature = "bon", derive(bon::Builder))]
+        struct CreateRoleForm {
+            #[cfg_attr(feature = "typed-builder", builder(setter(into)))]
+            #[cfg_attr(feature = "bon", builder(into))]
+            pub name: SmolStr,
+        }
+    }
+
+    +struct PatchRole -> One Role: PATCH("party" / party_id / "roles" / role_id) {
+        pub party_id: PartyId,
+        pub role_id: RoleId,
+
+        ;
+        #[derive(Default, PartialEq)]
+        #[cfg_attr(feature = "typed-builder", derive(typed_builder::TypedBuilder))]
+        #[cfg_attr(feature = "bon", derive(bon::Builder))]
+        #[cfg_attr(feature = "rkyv", rkyv(compare(PartialEq)))]
+        struct PatchRoleForm {
+            #[serde(default, skip_serializing_if = "Option::is_none")]
+            #[cfg_attr(feature = "typed-builder", builder(default, setter(into)))]
+            pub flags: Option<RoleFlags>,
+
+            #[serde(default, skip_serializing_if = "Option::is_none")]
+            #[cfg_attr(feature = "typed-builder", builder(default, setter(into)))]
+            #[cfg_attr(feature = "bon", builder(into))]
+            pub name: Option<SmolStr>,
+
+            #[serde(default, skip_serializing_if = "Option::is_none")]
+            #[cfg_attr(feature = "typed-builder", builder(default, setter(into)))]
+            pub color: Option<u32>,
+
+            #[serde(default, skip_serializing_if = "Option::is_none")]
+            #[cfg_attr(feature = "typed-builder", builder(default, setter(into)))]
+            pub permissions: Option<Permissions>,
+
+            #[serde(default, skip_serializing_if = "Nullable::is_undefined")]
+            #[cfg_attr(feature = "typed-builder", builder(default, setter(into)))]
+            #[cfg_attr(feature = "bon", builder(default, into))]
+            pub avatar: Nullable<FileId>,
+
+            #[serde(default, skip_serializing_if = "Option::is_none")]
+            #[cfg_attr(feature = "typed-builder", builder(default, setter(into)))]
+            pub position: Option<u8>,
+        }
+    }
+
+    +struct DeleteRole -> One (): DELETE("party" / party_id / "roles" / role_id) {
+        pub party_id: PartyId,
+        pub role_id: RoleId,
+    }
+
+    +struct GetPartyMembers -> Many PartyMember: GET("party" / party_id / "members") {
+        pub party_id: PartyId,
+    }
+
+    +struct GetPartyMember -> One PartyMember: GET("party" / party_id / "member" / member_id) {
+        pub party_id: PartyId,
+        pub member_id: UserId,
+    }
+
+    +struct GetPartyRooms -> Many Room: GET("party" / party_id / "rooms") {
+        pub party_id: PartyId,
+    }
+
+    +struct GetPartyInvites -> Many Invite: GET("party" / party_id / "invites") {
+        pub party_id: PartyId,
+    }
+
+    +struct GetMemberProfile -> One UserProfile: GET("party" / party_id / "members" / user_id / "profile") {
+        pub party_id: PartyId,
+        pub user_id: UserId,
+    }
+
+    +struct UpdateMemberProfile -> One UserProfile: PATCH("party" / party_id / "members" / "profile") {
+        pub party_id: PartyId,
+
+        ;
+        #[cfg_attr(feature = "typed-builder", derive(typed_builder::TypedBuilder))]
+        #[cfg_attr(feature = "bon", derive(bon::Builder))]
+        struct UpdateMemberProfileBody {
+            #[serde(flatten)]
+            pub profile: user::UpdateUserProfileBody,
+        }
+    }
+
+    +struct CreatePartyInvite -> One Invite: POST[2000 ms, 1]("party" / party_id / "invites") {
+        pub party_id: PartyId,
+
+        ;
+        /// Infinite parameters may only be used with appropriate permissions
+        #[cfg_attr(feature = "typed-builder", derive(typed_builder::TypedBuilder))]
+        #[cfg_attr(feature = "bon", derive(bon::Builder))]
+        struct CreatePartyInviteBody {
+            /// If `None`, invite has infinite uses
+            #[serde(default, skip_serializing_if = "Option::is_none")]
+            #[cfg_attr(feature = "typed-builder", builder(default))]
+            pub max_uses: Option<u16>,
+
+            /// If `None`, invite has infinite duration
+            #[serde(default, skip_serializing_if = "Option::is_none")]
+            #[cfg_attr(feature = "typed-builder", builder(default))]
+            pub duration: Option<u64>,
+
+            #[serde(default, skip_serializing_if = "Option::is_none")]
+            #[cfg_attr(feature = "typed-builder", builder(default, setter(into)))]
+            #[cfg_attr(feature = "bon", builder(into))]
+            pub description: Option<SmolStr>,
+        }
+    }
+
+    +struct CreatePinFolder -> One PinFolder: POST("party" / party_id / "pins") {
+        pub party_id: PartyId,
+
+        ;
+        #[cfg_attr(feature = "typed-builder", derive(typed_builder::TypedBuilder))]
+        #[cfg_attr(feature = "bon", derive(bon::Builder))]
+        struct CreatePinFolderForm {
+            #[cfg_attr(feature = "typed-builder", builder(setter(into)))]
+            #[cfg_attr(feature = "bon", builder(into))]
+            pub name: SmolStr,
+
+            #[serde(default, skip_serializing_if = "Option::is_none")]
+            #[cfg_attr(feature = "typed-builder", builder(default, setter(into)))]
+            #[cfg_attr(feature = "bon", builder(into))]
+            pub description: Option<SmolStr>,
+        }
+    }
+
+    +struct CreateRoom -> One Room: POST[5000 ms, 1]("party" / party_id / "rooms") {
+        pub party_id: PartyId,
+
+        ;
+        #[cfg_attr(feature = "typed-builder", derive(typed_builder::TypedBuilder))]
+        #[cfg_attr(feature = "bon", derive(bon::Builder))]
+        struct CreateRoomForm {
+            #[cfg_attr(feature = "typed-builder", builder(setter(into)))]
+            #[cfg_attr(feature = "bon", builder(into))]
+            pub name: SmolStr,
+
+            #[serde(default, skip_serializing_if = "Option::is_none")]
+            #[cfg_attr(feature = "typed-builder", builder(default, setter(into)))]
+            #[cfg_attr(feature = "bon", builder(into))]
+            pub topic: Option<SmolStr>,
+
+            #[cfg_attr(feature = "typed-builder", builder(default))]
+            #[cfg_attr(feature = "bon", builder(default))]
+            pub kind: CreateRoomKind,
+
+            #[serde(default, skip_serializing_if = "ThinVec::is_empty")]
+            #[cfg_attr(feature = "typed-builder", builder(default, setter(into)))]
+            #[cfg_attr(feature = "bon", builder(default, into))]
+            pub overwrites: ThinVec<Overwrite>,
+
+            #[serde(default)]
+            #[cfg_attr(feature = "typed-builder", builder(default, setter(into)))]
+            #[cfg_attr(feature = "bon", builder(default))]
+            pub position: i16,
+        }
+    }
+
+    +struct SearchParty -> One (): POST("party" / party_id / "search") {
+        pub party_id: PartyId,
+
+        ;
+        #[cfg_attr(feature = "typed-builder", derive(typed_builder::TypedBuilder))]
+        #[cfg_attr(feature = "bon", derive(bon::Builder))]
+        struct SearchQuery {
+            #[serde(flatten)]
+            #[cfg_attr(feature = "typed-builder", builder(setter(into)))]
+            #[cfg_attr(feature = "bon", builder(into))]
+            pub query: ThinString,
+        }
+    }
+}
+
+decl_enum! {
+    #[derive(Default, serde_repr::Serialize_repr, serde_repr::Deserialize_repr)]
+    pub enum CreateRoomKind: u8 {
+        #[default]
+        0 = Text,
+        3 = Voice,
+        4 = UserForum,
+    }
+}
+
+#[derive(Debug, Clone)]
+#[cfg_attr(feature = "typed-builder", derive(typed_builder::TypedBuilder))]
+#[cfg_attr(feature = "bon", derive(bon::Builder))]
+#[cfg_attr(feature = "rkyv", derive(rkyv::Archive, rkyv::Serialize, rkyv::Deserialize))]
+#[cfg_attr(feature = "ts", derive(ts_bindgen::TypeScriptDef))]
+pub struct PartySettings {
+    pub flags: PartyFlags,
+    pub prefs: PartyPreferences,
+}
+
+#[cfg(test)]
+mod test {
+    use super::*;
+
+    #[test]
+    fn test_create_room_kind_equivalence() {
+        assert_eq!(CreateRoomKind::Text as u8, RoomKind::Text as u8);
+        assert_eq!(CreateRoomKind::Voice as u8, RoomKind::Voice as u8);
+        assert_eq!(CreateRoomKind::UserForum as u8, RoomKind::UserForum as u8);
+    }
+}
+
\ No newline at end of file diff --git a/src/client_sdk/api/commands/room.rs.html b/src/client_sdk/api/commands/room.rs.html new file mode 100644 index 000000000..7305ae040 --- /dev/null +++ b/src/client_sdk/api/commands/room.rs.html @@ -0,0 +1,495 @@ +room.rs - source
1
+2
+3
+4
+5
+6
+7
+8
+9
+10
+11
+12
+13
+14
+15
+16
+17
+18
+19
+20
+21
+22
+23
+24
+25
+26
+27
+28
+29
+30
+31
+32
+33
+34
+35
+36
+37
+38
+39
+40
+41
+42
+43
+44
+45
+46
+47
+48
+49
+50
+51
+52
+53
+54
+55
+56
+57
+58
+59
+60
+61
+62
+63
+64
+65
+66
+67
+68
+69
+70
+71
+72
+73
+74
+75
+76
+77
+78
+79
+80
+81
+82
+83
+84
+85
+86
+87
+88
+89
+90
+91
+92
+93
+94
+95
+96
+97
+98
+99
+100
+101
+102
+103
+104
+105
+106
+107
+108
+109
+110
+111
+112
+113
+114
+115
+116
+117
+118
+119
+120
+121
+122
+123
+124
+125
+126
+127
+128
+129
+130
+131
+132
+133
+134
+135
+136
+137
+138
+139
+140
+141
+142
+143
+144
+145
+146
+147
+148
+149
+150
+151
+152
+153
+154
+155
+156
+157
+158
+159
+160
+161
+162
+163
+164
+165
+166
+167
+168
+169
+170
+171
+172
+173
+174
+175
+176
+177
+178
+179
+180
+181
+182
+183
+184
+185
+186
+187
+188
+189
+190
+191
+192
+193
+194
+195
+196
+197
+198
+199
+200
+201
+202
+203
+204
+205
+206
+207
+208
+209
+210
+211
+212
+213
+214
+215
+216
+217
+218
+219
+220
+221
+222
+223
+224
+225
+226
+227
+228
+229
+230
+231
+232
+233
+234
+235
+236
+237
+238
+239
+240
+241
+242
+243
+244
+245
+246
+247
+
use super::*;
+
+command! {
+    /// Create message command
+    +struct CreateMessage -> One Message: POST[100 ms, 2]("room" / room_id / "messages") where SEND_MESSAGES {
+        pub room_id: RoomId,
+
+        ;
+        #[cfg_attr(feature = "typed-builder", derive(typed_builder::TypedBuilder))]
+        #[cfg_attr(feature = "bon", derive(bon::Builder))]
+        struct CreateMessageBody {
+            #[serde(default)]
+            #[cfg_attr(feature = "typed-builder", builder(setter(into)))]
+            #[cfg_attr(feature = "bon", builder(into))]
+            pub content: SmolStr,
+
+            #[serde(default, skip_serializing_if = "Option::is_none")]
+            #[cfg_attr(feature = "typed-builder", builder(default))]
+            pub parent: Option<RoomId>,
+
+            #[serde(default, skip_serializing_if = "ThinVec::is_empty")]
+            #[cfg_attr(feature = "typed-builder", builder(default, setter(into)))]
+            #[cfg_attr(feature = "bon", builder(default, into))]
+            pub attachments: ThinVec<FileId> where ATTACH_FILES if !attachments.is_empty(),
+
+            #[serde(default, skip_serializing_if = "ThinVec::is_empty")]
+            #[cfg_attr(feature = "typed-builder", builder(default, setter(into)))]
+            #[cfg_attr(feature = "bon", builder(default, into))]
+            pub embeds: ThinVec<Embed> where EMBED_LINKS if !embeds.is_empty(),
+
+            #[serde(default, skip_serializing_if = "is_false")]
+            #[cfg_attr(feature = "typed-builder", builder(default))]
+            #[cfg_attr(feature = "bon", builder(default))]
+            pub ephemeral: bool,
+
+            #[serde(default, skip_serializing_if = "is_false")]
+            #[cfg_attr(feature = "typed-builder", builder(default))]
+            #[cfg_attr(feature = "bon", builder(default))]
+            pub tts: bool,
+        }
+    }
+
+    +struct EditMessage -> One Message: PATCH[500 ms, 2]("room" / room_id / "messages" / msg_id) where SEND_MESSAGES {
+        pub room_id: RoomId,
+        pub msg_id: MessageId,
+
+        ;
+        #[cfg_attr(feature = "typed-builder", derive(typed_builder::TypedBuilder))]
+        #[cfg_attr(feature = "bon", derive(bon::Builder))]
+        struct EditMessageBody {
+            #[serde(default)]
+            #[cfg_attr(feature = "typed-builder", builder(default, setter(into)))]
+            #[cfg_attr(feature = "bon", builder(default, into))]
+            pub content: SmolStr,
+
+            #[serde(default, skip_serializing_if = "ThinVec::is_empty")]
+            #[cfg_attr(feature = "typed-builder", builder(default, setter(into)))]
+            #[cfg_attr(feature = "bon", builder(default, into))]
+            pub attachments: ThinVec<FileId>,
+        }
+    }
+
+    +struct DeleteMessage -> One (): DELETE("room" / room_id / "messages" / msg_id) where READ_MESSAGE_HISTORY {
+        pub room_id: RoomId,
+        pub msg_id: MessageId,
+    }
+
+    +struct GetMessage -> One Message: GET("room" / room_id / "messages" / msg_id) where READ_MESSAGE_HISTORY {
+        pub room_id: RoomId,
+        pub msg_id: MessageId,
+    }
+
+    +struct StartTyping -> One (): POST[100 ms]("room" / room_id / "typing") where SEND_MESSAGES {
+        pub room_id: RoomId,
+
+        ;
+        #[cfg_attr(feature = "typed-builder", derive(typed_builder::TypedBuilder))]
+        #[cfg_attr(feature = "bon", derive(bon::Builder))]
+        #[derive(Default)] struct StartTypingBody {
+            /// Will only show within the parent context if set
+            #[serde(flatten, default, skip_serializing_if = "Option::is_none")]
+            #[cfg_attr(feature = "typed-builder", builder(default))]
+            pub parent: Option<MessageId>,
+        }
+    }
+
+    +struct GetMessages -> Many Message: GET("room" / room_id / "messages") where READ_MESSAGE_HISTORY {
+        pub room_id: RoomId,
+
+        ;
+        #[cfg_attr(feature = "typed-builder", derive(typed_builder::TypedBuilder))]
+        #[cfg_attr(feature = "bon", derive(bon::Builder))]
+        #[derive(Default)] struct GetMessagesQuery {
+            #[serde(flatten, default, alias = "q", skip_serializing_if = "Option::is_none")]
+            #[cfg_attr(feature = "typed-builder", builder(default))]
+            pub query: Option<Cursor>,
+
+            #[serde(default, alias = "thread", skip_serializing_if = "Option::is_none")]
+            #[cfg_attr(feature = "typed-builder", builder(default))]
+            pub parent: Option<MessageId>,
+
+            #[serde(default, skip_serializing_if = "Option::is_none")]
+            #[cfg_attr(feature = "typed-builder", builder(default))]
+            pub limit: Option<u8>,
+
+            #[serde(default, alias = "pins", skip_serializing_if = "ThinVec::is_empty")]
+            #[cfg_attr(feature = "typed-builder", builder(default, setter(into)))]
+            #[cfg_attr(feature = "bon", builder(default, into))]
+            pub pinned: ThinVec<FolderId>,
+
+            /// If true, return only messages in the channel which have been starred by us
+            #[serde(default, skip_serializing_if = "crate::models::is_false")]
+            #[cfg_attr(feature = "typed-builder", builder(default))]
+            #[cfg_attr(feature = "bon", builder(default))]
+            pub starred: bool,
+
+            /// If above zero, this will also fetch child messages of messages
+            ///
+            /// Max level is 5
+            ///
+            /// Child messages will not obey other filtering criteria.
+            #[serde(default, alias = "depth", skip_serializing_if = "crate::models::is_default")]
+            #[cfg_attr(feature = "typed-builder", builder(default))]
+            #[cfg_attr(feature = "bon", builder(default))]
+            pub recurse: u8,
+        }
+    }
+
+    +struct PinMessage -> One (): PUT("room" / room_id / "messages" / msg_id / "pins" / pin_tag) {
+        pub room_id: RoomId,
+        pub msg_id: MessageId,
+        pub pin_tag: FolderId,
+    }
+
+    +struct UnpinMessage -> One (): DELETE("room" / room_id / "messages" / msg_id / "pins" / pin_tag) {
+        pub room_id: RoomId,
+        pub msg_id: MessageId,
+        pub pin_tag: FolderId,
+    }
+
+    +struct StarMessage -> One (): PUT("room" / room_id / "messages" / msg_id / "star") {
+        pub room_id: RoomId,
+        pub msg_id: MessageId,
+    }
+
+    +struct UnstarMessage -> One (): DELETE("room" / room_id / "messages" / msg_id / "star") {
+        pub room_id: RoomId,
+        pub msg_id: MessageId,
+    }
+
+    +struct PutReaction -> One (): PUT("room" / room_id / "messages" / msg_id / "reactions" / emote_id / "@me") {
+        pub room_id: RoomId,
+        pub msg_id: MessageId,
+        pub emote_id: EmoteOrEmoji,
+    }
+
+    +struct DeleteOwnReaction -> One (): DELETE("room" / room_id / "messages" / msg_id / "reactions" / emote_id / "@me") {
+        pub room_id: RoomId,
+        pub msg_id: MessageId,
+        pub emote_id: EmoteOrEmoji,
+    }
+
+    +struct DeleteUserReaction -> One (): DELETE("room" / room_id / "messages" / msg_id / "reactions" / emote_id / user_id) {
+        pub room_id: RoomId,
+        pub msg_id: MessageId,
+        pub emote_id: EmoteOrEmoji,
+        pub user_id: UserId,
+    }
+
+    +struct DeleteAllReactions -> One (): DELETE("room" / room_id / "messages" / msg_id / "reactions") {
+        pub room_id: RoomId,
+        pub msg_id: MessageId,
+    }
+
+    // TODO
+    +struct GetReactions -> Many (): GET("room" / room_id / "messages" / msg_id / "reactions" / emote_id) {
+        pub room_id: RoomId,
+        pub msg_id: MessageId,
+        pub emote_id: EmoteOrEmoji,
+
+        ;
+        #[cfg_attr(feature = "typed-builder", derive(typed_builder::TypedBuilder))]
+        #[cfg_attr(feature = "bon", derive(bon::Builder))]
+        struct GetReactionsForm {
+            #[serde(default, skip_serializing_if = "Option::is_none")]
+            #[cfg_attr(feature = "typed-builder", builder(default))]
+            after: Option<Snowflake>,
+
+            #[serde(default, skip_serializing_if = "Option::is_none")]
+            #[cfg_attr(feature = "typed-builder", builder(default))]
+            limit: Option<i8>,
+        }
+    }
+
+    +struct GetRoom -> One FullRoom: GET("room" / room_id) {
+        pub room_id: RoomId,
+    }
+
+    +struct PatchRoom -> One FullRoom: PATCH[500 ms, 1]("room" / room_id) {
+        pub room_id: RoomId,
+
+        ;
+        /// `Nullable::Undefined` or `Option::None` fields indicate no change
+        #[cfg_attr(feature = "typed-builder", derive(typed_builder::TypedBuilder))]
+        #[cfg_attr(feature = "bon", derive(bon::Builder))]
+        #[cfg_attr(feature = "rkyv", rkyv(compare(PartialEq)))] // waiting on https://github.com/rkyv/rkyv/pull/525
+        #[derive(Default, PartialEq)]
+        struct PatchRoomForm {
+            #[serde(default, skip_serializing_if = "Option::is_none")]
+            #[cfg_attr(feature = "typed-builder", builder(default, setter(into)))]
+            #[cfg_attr(feature = "bon", builder(into))]
+            pub name: Option<SmolStr>,
+
+            #[serde(default, skip_serializing_if = "Nullable::is_undefined")]
+            #[cfg_attr(feature = "typed-builder", builder(default, setter(into)))]
+            #[cfg_attr(feature = "bon", builder(default, into))]
+            pub topic: Nullable<SmolStr>,
+
+            #[serde(default, skip_serializing_if = "Nullable::is_undefined")]
+            #[cfg_attr(feature = "typed-builder", builder(default, setter(into)))]
+            #[cfg_attr(feature = "bon", builder(default, into))]
+            pub avatar: Nullable<FileId>,
+
+            #[serde(default, skip_serializing_if = "Option::is_none")]
+            #[cfg_attr(feature = "typed-builder", builder(default, setter(into)))]
+            pub position: Option<u8>,
+
+            #[serde(default, skip_serializing_if = "ThinVec::is_empty")]
+            #[cfg_attr(feature = "typed-builder", builder(default, setter(into)))]
+            #[cfg_attr(feature = "bon", builder(default, into))]
+            pub remove_overwrites: ThinVec<Snowflake>,
+
+            #[serde(default, skip_serializing_if = "ThinVec::is_empty")]
+            #[cfg_attr(feature = "typed-builder", builder(default, setter(into)))]
+            #[cfg_attr(feature = "bon", builder(default, into))]
+            pub overwrites: ThinVec<Overwrite>,
+
+            #[serde(default, skip_serializing_if = "Option::is_none")]
+            #[cfg_attr(feature = "typed-builder", builder(default, setter(into)))]
+            pub nsfw: Option<bool>,
+        }
+    }
+
+    +struct DeleteRoom -> One (): DELETE[500 ms, 1]("room" / room_id) {
+        pub room_id: RoomId,
+    }
+}
+
\ No newline at end of file diff --git a/src/client_sdk/api/commands/user.rs.html b/src/client_sdk/api/commands/user.rs.html new file mode 100644 index 000000000..5537cd87b --- /dev/null +++ b/src/client_sdk/api/commands/user.rs.html @@ -0,0 +1,491 @@ +user.rs - source
1
+2
+3
+4
+5
+6
+7
+8
+9
+10
+11
+12
+13
+14
+15
+16
+17
+18
+19
+20
+21
+22
+23
+24
+25
+26
+27
+28
+29
+30
+31
+32
+33
+34
+35
+36
+37
+38
+39
+40
+41
+42
+43
+44
+45
+46
+47
+48
+49
+50
+51
+52
+53
+54
+55
+56
+57
+58
+59
+60
+61
+62
+63
+64
+65
+66
+67
+68
+69
+70
+71
+72
+73
+74
+75
+76
+77
+78
+79
+80
+81
+82
+83
+84
+85
+86
+87
+88
+89
+90
+91
+92
+93
+94
+95
+96
+97
+98
+99
+100
+101
+102
+103
+104
+105
+106
+107
+108
+109
+110
+111
+112
+113
+114
+115
+116
+117
+118
+119
+120
+121
+122
+123
+124
+125
+126
+127
+128
+129
+130
+131
+132
+133
+134
+135
+136
+137
+138
+139
+140
+141
+142
+143
+144
+145
+146
+147
+148
+149
+150
+151
+152
+153
+154
+155
+156
+157
+158
+159
+160
+161
+162
+163
+164
+165
+166
+167
+168
+169
+170
+171
+172
+173
+174
+175
+176
+177
+178
+179
+180
+181
+182
+183
+184
+185
+186
+187
+188
+189
+190
+191
+192
+193
+194
+195
+196
+197
+198
+199
+200
+201
+202
+203
+204
+205
+206
+207
+208
+209
+210
+211
+212
+213
+214
+215
+216
+217
+218
+219
+220
+221
+222
+223
+224
+225
+226
+227
+228
+229
+230
+231
+232
+233
+234
+235
+236
+237
+238
+239
+240
+241
+242
+243
+244
+245
+
use super::*;
+
+command! {
+    -struct UserRegister(U) -> One Session: POST[1000 ms, 1]("user") {
+        ;
+        #[cfg_attr(feature = "typed-builder", derive(typed_builder::TypedBuilder))]
+        #[cfg_attr(feature = "bon", derive(bon::Builder))]
+        struct UserRegisterForm {
+            /// Email address
+            #[cfg_attr(feature = "typed-builder", builder(setter(into)))]
+            #[cfg_attr(feature = "bon", builder(into))]
+            pub email: SmolStr,
+
+            /// Username
+            #[cfg_attr(feature = "typed-builder", builder(setter(into)))]
+            #[cfg_attr(feature = "bon", builder(into))]
+            pub username: SmolStr,
+
+            /// Password (Plaintext, will be hashed on the server)
+            #[cfg_attr(feature = "typed-builder", builder(setter(into)))]
+            #[cfg_attr(feature = "bon", builder(into))]
+            pub password: SmolStr,
+
+            /// Date of birth
+            pub dob: Timestamp,
+
+            /// hCaptcha token
+            pub token: String, // TODO: Don't allocate?
+        }
+    }
+
+    -struct UserLogin(U) -> One Session: POST[1000 ms, 1]("user" / "@me") {
+        ;
+        #[cfg_attr(feature = "typed-builder", derive(typed_builder::TypedBuilder))]
+        #[cfg_attr(feature = "bon", derive(bon::Builder))]
+        struct UserLoginForm {
+            /// Email address
+            #[cfg_attr(feature = "typed-builder", builder(setter(into)))]
+            #[cfg_attr(feature = "bon", builder(into))]
+            pub email: SmolStr,
+
+            /// Password (Plaintext, will be hashed on the server)
+            #[cfg_attr(feature = "typed-builder", builder(setter(into)))]
+            #[cfg_attr(feature = "bon", builder(into))]
+            pub password: SmolStr,
+
+            /// 2FA token, if enabled
+            #[serde(default, skip_serializing_if = "Option::is_none")]
+            #[cfg_attr(feature = "typed-builder", builder(default, setter(into)))]
+            #[cfg_attr(feature = "bon", builder(into))]
+            pub totp: Option<SmolStr>,
+        }
+    }
+
+    +struct UserLogout(U) -> One (): DELETE[1000 ms, 1]("user" / "@me") {}
+
+    +struct Enable2FA(U) -> One Added2FA: POST[2000 ms, 1]("user" / "@me" / "2fa") {
+        ;
+        #[cfg_attr(feature = "typed-builder", derive(typed_builder::TypedBuilder))]
+        #[cfg_attr(feature = "bon", derive(bon::Builder))]
+        struct Enable2FAForm {
+            /// Password
+            #[cfg_attr(feature = "typed-builder", builder(setter(into)))]
+            #[cfg_attr(feature = "bon", builder(into))]
+            pub password: SmolStr,
+
+            #[cfg_attr(feature = "typed-builder", builder(setter(into)))]
+            #[cfg_attr(feature = "bon", builder(into))]
+            pub token: String,
+        }
+    }
+
+    +struct Confirm2FA(U) -> One (): PATCH[2000 ms, 1]("user" / "@me" / "2fa") {
+        ;
+        #[cfg_attr(feature = "typed-builder", derive(typed_builder::TypedBuilder))]
+        #[cfg_attr(feature = "bon", derive(bon::Builder))]
+        struct Confirm2FAForm {
+            #[cfg_attr(feature = "typed-builder", builder(setter(into)))]
+            #[cfg_attr(feature = "bon", builder(into))]
+            pub password: SmolStr,
+
+            #[cfg_attr(feature = "typed-builder", builder(setter(into)))]
+            #[cfg_attr(feature = "bon", builder(into))]
+            pub totp: SmolStr,
+        }
+    }
+
+    +struct Remove2FA(U) -> One (): DELETE[2000 ms, 1]("user" / "@me" / "2fa") {
+        ;
+        #[cfg_attr(feature = "typed-builder", derive(typed_builder::TypedBuilder))]
+        #[cfg_attr(feature = "bon", derive(bon::Builder))]
+        struct Remove2FAForm {
+            #[cfg_attr(feature = "typed-builder", builder(setter(into)))]
+            #[cfg_attr(feature = "bon", builder(into))]
+            pub password: SmolStr,
+
+            #[cfg_attr(feature = "typed-builder", builder(setter(into)))]
+            #[cfg_attr(feature = "bon", builder(into))]
+            pub totp: SmolStr,
+        }
+    }
+
+    +struct ChangePassword(U) -> One (): PATCH[2000 ms, 1]("user" / "@me" / "password") {
+        ;
+        #[cfg_attr(feature = "typed-builder", derive(typed_builder::TypedBuilder))]
+        #[cfg_attr(feature = "bon", derive(bon::Builder))]
+        struct ChangePasswordForm {
+            /// Current password
+            #[cfg_attr(feature = "typed-builder", builder(setter(into)))]
+            #[cfg_attr(feature = "bon", builder(into))]
+            pub current: SmolStr,
+
+            /// New password
+            #[cfg_attr(feature = "typed-builder", builder(setter(into)))]
+            #[cfg_attr(feature = "bon", builder(into))]
+            pub new: SmolStr,
+
+            /// 2FA token, if enabled
+            #[serde(default, skip_serializing_if = "Option::is_none")]
+            #[cfg_attr(feature = "typed-builder", builder(default, setter(into)))]
+            #[cfg_attr(feature = "bon", builder(into))]
+            pub totp: Option<SmolStr>,
+        }
+    }
+
+    +struct GetSessions(U) -> Many AnonymousSession: GET[500 ms, 1]("user" / "@me" / "sessions") {}
+
+    /// Clears all **other** sessions
+    +struct ClearSessions(U) -> One (): DELETE[5000 ms, 1]("user" / "@me" / "sessions") {
+        ;
+        #[cfg_attr(feature = "typed-builder", derive(typed_builder::TypedBuilder))]
+        #[cfg_attr(feature = "bon", derive(bon::Builder))]
+        struct ClearSessionsForm {
+            #[serde(default, skip_serializing_if = "Option::is_none")]
+            #[cfg_attr(feature = "typed-builder", builder(default, setter(into)))]
+            #[cfg_attr(feature = "bon", builder(into))]
+            pub totp: Option<SmolStr>,
+        }
+    }
+
+    +struct GetRelationships(U) -> Many Relationship: GET("user" / "@me" / "relationships") {}
+
+    +struct PatchRelationship(U) -> One Relationship: PATCH[1000 ms, 1]("user" / "@me" / "relationships" / user_id) {
+        pub user_id: UserId,
+
+        ;
+        #[cfg_attr(feature = "typed-builder", derive(typed_builder::TypedBuilder))]
+        #[cfg_attr(feature = "bon", derive(bon::Builder))]
+        #[derive(Default)] struct PatchRelationshipBody {
+            /// Your desired relationship with the other user
+            #[serde(default, skip_serializing_if = "Nullable::is_undefined")]
+            #[cfg_attr(feature = "typed-builder", builder(default, setter(into)))]
+            #[cfg_attr(feature = "bon", builder(into))]
+            pub rel: Nullable<UserRelationship>,
+
+            /// Optional note to give the user
+            #[serde(default, skip_serializing_if = "Nullable::is_undefined")]
+            #[cfg_attr(feature = "typed-builder", builder(default, setter(into)))]
+            #[cfg_attr(feature = "bon", builder(into))]
+            pub note: Nullable<SmolStr>,
+        }
+    }
+
+    +struct UpdateUserProfile -> One UserProfile: PATCH[500 ms, 1]("user" / "@me" / "profile") {
+        ;
+        #[cfg_attr(feature = "typed-builder", derive(typed_builder::TypedBuilder))]
+        #[cfg_attr(feature = "bon", derive(bon::Builder))]
+        #[derive(Default)] struct UpdateUserProfileBody {
+            pub bits: UserProfileBits,
+
+            #[serde(default, skip_serializing_if = "ExtraUserProfileBits::is_empty")]
+            #[cfg_attr(feature = "typed-builder", builder(default))]
+            #[cfg_attr(feature = "bon", builder(default))]
+            pub extra: ExtraUserProfileBits,
+
+            #[serde(default, skip_serializing_if = "Nullable::is_undefined")]
+            #[cfg_attr(feature = "typed-builder", builder(default, setter(into)))]
+            #[cfg_attr(feature = "bon", builder(default, into))]
+            pub nick: Nullable<SmolStr>,
+
+            #[serde(default, skip_serializing_if = "Nullable::is_undefined")]
+            #[cfg_attr(feature = "typed-builder", builder(default, setter(into)))]
+            #[cfg_attr(feature = "bon", builder(default, into))]
+            pub avatar: Nullable<FileId>,
+
+            #[serde(default, skip_serializing_if = "Nullable::is_undefined")]
+            #[cfg_attr(feature = "typed-builder", builder(default, setter(into)))]
+            #[cfg_attr(feature = "bon", builder(default, into))]
+            pub banner: Nullable<FileId>,
+
+            #[serde(default, skip_serializing_if = "is_default")]
+            #[cfg_attr(feature = "typed-builder", builder(default))]
+            #[cfg_attr(feature = "bon", builder(default))]
+            pub banner_align: BannerAlign,
+
+            #[serde(default, skip_serializing_if = "Nullable::is_undefined")]
+            #[cfg_attr(feature = "typed-builder", builder(default, setter(into)))]
+            #[cfg_attr(feature = "bon", builder(default, into))]
+            pub status: Nullable<SmolStr>,
+
+            #[serde(default, skip_serializing_if = "Nullable::is_undefined")]
+            #[cfg_attr(feature = "typed-builder", builder(default, setter(into)))]
+            #[cfg_attr(feature = "bon", builder(default, into))]
+            pub bio: Nullable<SmolStr>,
+        }
+    }
+
+    /// Fetches full user information, including profile data
+    +struct GetUser -> One User: GET("user" / user_id) {
+        pub user_id: UserId,
+    }
+
+    +struct UpdateUserPrefs(U) -> One (): PATCH[200 ms]("user" / "@me" / "prefs") {
+        ; struct UpdateUserPrefsBody {
+            #[serde(flatten)]
+            pub inner: UserPreferences,
+        }
+    }
+}
+
+impl From<UserPreferences> for UpdateUserPrefsBody {
+    fn from(inner: UserPreferences) -> UpdateUserPrefsBody {
+        UpdateUserPrefsBody { inner }
+    }
+}
+
+decl_enum! {
+    #[derive(Default, serde_repr::Deserialize_repr, serde_repr::Serialize_repr)]
+    pub enum BannerAlign: u8 {
+        #[default]
+        0 = Top,
+        1 = Middle,
+        2 = Bottom,
+    }
+}
+
+#[derive(Debug, Serialize, Deserialize, Clone, PartialEq, Eq)]
+#[cfg_attr(feature = "rkyv", derive(rkyv::Archive, rkyv::Serialize, rkyv::Deserialize))]
+#[cfg_attr(feature = "ts", derive(ts_bindgen::TypeScriptDef))]
+pub struct Added2FA {
+    /// URL to be display as a QR code and added to an authenticator app
+    pub url: String,
+    /// Backup codes to be stored in a safe place
+    pub backup: Vec<String>,
+}
+
\ No newline at end of file diff --git a/src/client_sdk/api/error.rs.html b/src/client_sdk/api/error.rs.html new file mode 100644 index 000000000..7c8d4e58f --- /dev/null +++ b/src/client_sdk/api/error.rs.html @@ -0,0 +1,365 @@ +error.rs - source
1
+2
+3
+4
+5
+6
+7
+8
+9
+10
+11
+12
+13
+14
+15
+16
+17
+18
+19
+20
+21
+22
+23
+24
+25
+26
+27
+28
+29
+30
+31
+32
+33
+34
+35
+36
+37
+38
+39
+40
+41
+42
+43
+44
+45
+46
+47
+48
+49
+50
+51
+52
+53
+54
+55
+56
+57
+58
+59
+60
+61
+62
+63
+64
+65
+66
+67
+68
+69
+70
+71
+72
+73
+74
+75
+76
+77
+78
+79
+80
+81
+82
+83
+84
+85
+86
+87
+88
+89
+90
+91
+92
+93
+94
+95
+96
+97
+98
+99
+100
+101
+102
+103
+104
+105
+106
+107
+108
+109
+110
+111
+112
+113
+114
+115
+116
+117
+118
+119
+120
+121
+122
+123
+124
+125
+126
+127
+128
+129
+130
+131
+132
+133
+134
+135
+136
+137
+138
+139
+140
+141
+142
+143
+144
+145
+146
+147
+148
+149
+150
+151
+152
+153
+154
+155
+156
+157
+158
+159
+160
+161
+162
+163
+164
+165
+166
+167
+168
+169
+170
+171
+172
+173
+174
+175
+176
+177
+178
+179
+180
+181
+182
+
//! Standard API error types and codes.
+
+use std::{borrow::Cow, fmt};
+
+use http::StatusCode;
+
+/// Standard API error response, containing an error code and message.
+#[derive(Debug, Clone, Serialize, Deserialize)]
+#[cfg_attr(feature = "schema", derive(schemars::JsonSchema))]
+#[cfg_attr(feature = "rkyv", derive(rkyv::Archive, rkyv::Serialize, rkyv::Deserialize))]
+pub struct ApiError {
+    /// Error code
+    pub code: ApiErrorCode,
+
+    /// Human-readable error message
+    #[cfg_attr(feature = "rkyv", rkyv(with = rkyv::with::AsOwned))]
+    pub message: Cow<'static, str>,
+}
+
+#[cfg(feature = "rkyv")]
+impl ArchivedApiError {
+    /// Get the error code for this error.
+    #[inline]
+    #[must_use]
+    pub const fn code(&self) -> ApiErrorCode {
+        self.code.get()
+    }
+}
+
+impl fmt::Debug for ArchivedApiError {
+    fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
+        f.debug_struct("ArchivedApiError").field("code", &self.code()).field("message", &self.message).finish()
+    }
+}
+
+impl fmt::Display for ApiError {
+    fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
+        write!(f, "{}: {}", self.code as u16, self.message)
+    }
+}
+
+impl core::error::Error for ApiError {}
+
+macro_rules! error_codes {
+    (
+        $(#[$meta:meta])*
+        $vis:vis enum $name:ident: $repr:ty $(= $unknown:ident)? {$(
+            $(#[$variant_meta:meta])*
+            $code:literal = $variant:ident = $status:expr,
+        )*}
+    ) => {
+        enum_codes! {
+            $(#[$meta])*
+            $vis enum $name: pub $repr $(= $unknown)? {$(
+                $(#[$variant_meta])*
+                $code = $variant,
+            )*}
+        }
+
+        impl $name {
+            /// Get the HTTP status code for this error code.
+            #[must_use]
+            pub fn http_status(self) -> StatusCode {
+                match self {
+                    $(Self::$variant => $status,)*
+                }
+            }
+        }
+    };
+}
+
+error_codes! {
+    /// Standard API error codes.
+    #[derive(Debug, Clone, Copy, PartialEq, Eq, Hash, serde_repr::Serialize_repr, serde_repr::Deserialize_repr)]
+    #[cfg_attr(feature = "schema", derive(schemars::JsonSchema_repr))]
+    #[derive(enum_primitive_derive::Primitive)]
+    pub enum ApiErrorCode: u16 = Unknown {
+        // Server errors
+        50001 = DbError                  = StatusCode::INTERNAL_SERVER_ERROR,
+        50002 = JoinError                = StatusCode::INTERNAL_SERVER_ERROR,
+        50003 = SemaphoreError           = StatusCode::INTERNAL_SERVER_ERROR,
+        50004 = HashError                = StatusCode::INTERNAL_SERVER_ERROR,
+        50005 = JsonError                = StatusCode::INTERNAL_SERVER_ERROR,
+        50006 = EventEncodingError       = StatusCode::INTERNAL_SERVER_ERROR,
+        50007 = InternalError            = StatusCode::INTERNAL_SERVER_ERROR,
+        50008 = Utf8ParseError           = StatusCode::INTERNAL_SERVER_ERROR,
+        50009 = IOError                  = StatusCode::INTERNAL_SERVER_ERROR,
+        50010 = InvalidHeaderValue       = StatusCode::INTERNAL_SERVER_ERROR,
+        50011 = XMLError                 = StatusCode::INTERNAL_SERVER_ERROR,
+        50012 = RequestError             = StatusCode::INTERNAL_SERVER_ERROR,
+        50013 = Unimplemented            = StatusCode::INTERNAL_SERVER_ERROR,
+        50014 = BincodeError             = StatusCode::INTERNAL_SERVER_ERROR,
+        50015 = CborError                = StatusCode::INTERNAL_SERVER_ERROR,
+        50016 = RkyvEncodingError        = StatusCode::INTERNAL_SERVER_ERROR,
+
+        // Client errors
+        40001 = AlreadyExists            = StatusCode::CONFLICT,
+        40002 = UsernameUnavailable      = StatusCode::BAD_REQUEST,
+        40003 = InvalidEmail             = StatusCode::UNAUTHORIZED,
+        40004 = InvalidUsername          = StatusCode::UNAUTHORIZED,
+        40005 = InvalidPassword          = StatusCode::UNAUTHORIZED,
+        40006 = InvalidCredentials       = StatusCode::UNAUTHORIZED,
+        40007 = InsufficientAge          = StatusCode::BAD_REQUEST,
+        40008 = InvalidDate              = StatusCode::BAD_REQUEST,
+        40009 = InvalidContent           = StatusCode::BAD_REQUEST,
+        40010 = InvalidName              = StatusCode::BAD_REQUEST,
+        40011 = InvalidTopic             = StatusCode::BAD_REQUEST,
+        40012 = MissingUploadMetadataHeader  = StatusCode::BAD_REQUEST,
+        40013 = MissingAuthorizationHeader   = StatusCode::BAD_REQUEST,
+        40014 = NoSession                = StatusCode::UNAUTHORIZED,
+        40015 = InvalidAuthFormat        = StatusCode::BAD_REQUEST,
+        40016 = HeaderParseError         = StatusCode::UNPROCESSABLE_ENTITY,
+        40017 = MissingFilename          = StatusCode::BAD_REQUEST,
+        40018 = MissingMime              = StatusCode::BAD_REQUEST,
+        40019 = AuthTokenError           = StatusCode::UNPROCESSABLE_ENTITY,
+        40020 = Base64DecodeError        = StatusCode::BAD_REQUEST,
+        40021 = BodyDeserializeError     = StatusCode::UNPROCESSABLE_ENTITY,
+        40022 = QueryParseError          = StatusCode::BAD_REQUEST,
+        40023 = UploadError              = StatusCode::BAD_REQUEST,
+        40024 = InvalidPreview           = StatusCode::BAD_REQUEST,
+        40025 = MimeParseError           = StatusCode::BAD_REQUEST,
+        40026 = InvalidImageFormat       = StatusCode::BAD_REQUEST,
+        40027 = TOTPRequired             = StatusCode::UNAUTHORIZED,
+        40028 = InvalidPreferences       = StatusCode::BAD_REQUEST,
+        40029 = TemporarilyDisabled      = StatusCode::FORBIDDEN,
+        40030 = InvalidCaptcha           = StatusCode::UNAUTHORIZED,
+        40031 = Base85DecodeError        = StatusCode::BAD_REQUEST,
+        40032 = WebsocketError           = StatusCode::BAD_REQUEST,
+        40033 = MissingContentTypeHeader = StatusCode::BAD_REQUEST,
+        40034 = Blocked                  = StatusCode::FORBIDDEN,
+        40035 = Banned                   = StatusCode::FORBIDDEN,
+        40036 = SearchError              = StatusCode::BAD_REQUEST,
+        40047 = IncorrectRpcEndpoint     = StatusCode::BAD_REQUEST,
+
+        // Generic HTTP-like error codes
+        40400 = BadRequest               = StatusCode::BAD_REQUEST,
+        40401 = Unauthorized             = StatusCode::UNAUTHORIZED,
+        40404 = NotFound                 = StatusCode::NOT_FOUND,
+        40405 = MethodNotAllowed         = StatusCode::METHOD_NOT_ALLOWED,
+        40408 = RequestTimeout           = StatusCode::REQUEST_TIMEOUT,
+        40409 = Conflict                 = StatusCode::CONFLICT,
+        40413 = RequestEntityTooLarge    = StatusCode::PAYLOAD_TOO_LARGE, // 413 Request Entity Too Large
+        40415 = UnsupportedMediaType     = StatusCode::UNSUPPORTED_MEDIA_TYPE,
+        40460 = ChecksumMismatch         = unsafe { StatusCode::from_u16(460).unwrap_unchecked() }, // 460 Checksum Mismatch
+
+        #[serde(other)]
+        1 = Unknown = StatusCode::IM_A_TEAPOT,
+    }
+}
+
+impl From<std::io::Error> for ApiError {
+    fn from(err: std::io::Error) -> Self {
+        use std::io::ErrorKind as E;
+
+        Self {
+            code: ApiErrorCode::IOError,
+            message: Cow::Borrowed(match err.kind() {
+                E::AddrInUse => "Address In Use",
+                E::AddrNotAvailable => "Address Not Available",
+                E::AlreadyExists => "Entity Already Exists",
+                E::BrokenPipe => "Broken Pipe",
+                E::ConnectionAborted => "Connection Aborted",
+                E::ConnectionRefused => "Connection Refused",
+                E::ConnectionReset => "Connection Reset",
+                E::Interrupted => "Operation Interrupted",
+                E::InvalidData => "Invalid Data",
+                E::InvalidInput => "Invalid Input Parameter",
+                E::NotConnected => "Not Connected",
+                E::NotFound => "Entity Not Found",
+                E::Other => "Other Error",
+                E::OutOfMemory => "Out Of Memory",
+                E::PermissionDenied => "Permission Denied",
+                E::TimedOut => "Timed Out",
+                E::UnexpectedEof => "Unexpected End Of File",
+                E::Unsupported => "Unsupported",
+                E::WouldBlock => "Operation Would Block",
+                E::WriteZero => "Write Zero",
+                _ => "Unknown I/O error",
+            }),
+        }
+    }
+}
+
\ No newline at end of file diff --git a/src/client_sdk/api/gateway.rs.html b/src/client_sdk/api/gateway.rs.html new file mode 100644 index 000000000..a065a7786 --- /dev/null +++ b/src/client_sdk/api/gateway.rs.html @@ -0,0 +1,57 @@ +gateway.rs - source
1
+2
+3
+4
+5
+6
+7
+8
+9
+10
+11
+12
+13
+14
+15
+16
+17
+18
+19
+20
+21
+22
+23
+24
+25
+26
+27
+28
+
pub use crate::driver::Encoding;
+
+const fn default_compress() -> bool {
+    true
+}
+
+/// Query parameters for the gateway, used to configure the connection.
+#[derive(Debug, Clone, Copy, PartialEq, Serialize, Deserialize)]
+#[cfg_attr(feature = "ts", derive(ts_bindgen::TypeScriptDef))]
+#[serde(default)]
+pub struct GatewayQueryParams {
+    /// Encoding method for each individual websocket message
+    #[serde(alias = "e")]
+    pub encoding: Encoding,
+
+    /// Whether to compress individual messages
+    #[serde(alias = "c")]
+    pub compress: bool,
+}
+
+impl Default for GatewayQueryParams {
+    fn default() -> Self {
+        GatewayQueryParams {
+            encoding: Encoding::default(),
+            compress: default_compress(),
+        }
+    }
+}
+
\ No newline at end of file diff --git a/src/client_sdk/api/mod.rs.html b/src/client_sdk/api/mod.rs.html new file mode 100644 index 000000000..9dd264c05 --- /dev/null +++ b/src/client_sdk/api/mod.rs.html @@ -0,0 +1,47 @@ +mod.rs - source
1
+2
+3
+4
+5
+6
+7
+8
+9
+10
+11
+12
+13
+14
+15
+16
+17
+18
+19
+20
+21
+22
+23
+
//! API Definitions
+
+pub mod asset;
+pub mod error;
+
+#[macro_use]
+mod command;
+
+pub use command::{Command, CommandBody, CommandFlags, CommandResult, MissingItemError, RateLimit};
+
+pub mod commands;
+
+#[cfg(feature = "gateway")]
+pub mod gateway;
+
+/// Marker type for the presence of a valid authentication token
+/// in the request headers.
+///
+/// This is checked when extracting commands from requests,
+/// and must be inserted by the server when processing the request.
+#[cfg(feature = "ftl")]
+#[derive(Debug, Default, Clone, Copy, PartialEq, Eq, Hash)]
+pub struct AuthMarker;
+
\ No newline at end of file diff --git a/src/client_sdk/client/error.rs.html b/src/client_sdk/client/error.rs.html new file mode 100644 index 000000000..c82138297 --- /dev/null +++ b/src/client_sdk/client/error.rs.html @@ -0,0 +1,75 @@ +error.rs - source
1
+2
+3
+4
+5
+6
+7
+8
+9
+10
+11
+12
+13
+14
+15
+16
+17
+18
+19
+20
+21
+22
+23
+24
+25
+26
+27
+28
+29
+30
+31
+32
+33
+34
+35
+36
+37
+
use crate::driver::DriverError;
+
+#[derive(Debug, thiserror::Error)]
+pub enum ClientError {
+    #[error("IO Error: {0}")]
+    IOError(#[from] std::io::Error),
+
+    #[error("Driver Error: {0}")]
+    DriverError(DriverError),
+
+    #[error("Invalid Bearer Token")]
+    InvalidBearerToken,
+
+    #[error("Api Error: {0:?}")]
+    ApiError(crate::api::error::ApiError),
+
+    #[error("File Too Large")]
+    FileTooLarge,
+
+    #[error("Not a file")]
+    NotAFile,
+}
+
+impl From<DriverError> for ClientError {
+    fn from(err: DriverError) -> ClientError {
+        match err {
+            DriverError::ApiError(err) => ClientError::ApiError(err),
+            _ => ClientError::DriverError(err),
+        }
+    }
+}
+
+impl From<reqwest::Error> for ClientError {
+    fn from(err: reqwest::Error) -> ClientError {
+        ClientError::DriverError(DriverError::ReqwestError(err))
+    }
+}
+
\ No newline at end of file diff --git a/src/client_sdk/client/file.rs.html b/src/client_sdk/client/file.rs.html new file mode 100644 index 000000000..506227dda --- /dev/null +++ b/src/client_sdk/client/file.rs.html @@ -0,0 +1,197 @@ +file.rs - source
1
+2
+3
+4
+5
+6
+7
+8
+9
+10
+11
+12
+13
+14
+15
+16
+17
+18
+19
+20
+21
+22
+23
+24
+25
+26
+27
+28
+29
+30
+31
+32
+33
+34
+35
+36
+37
+38
+39
+40
+41
+42
+43
+44
+45
+46
+47
+48
+49
+50
+51
+52
+53
+54
+55
+56
+57
+58
+59
+60
+61
+62
+63
+64
+65
+66
+67
+68
+69
+70
+71
+72
+73
+74
+75
+76
+77
+78
+79
+80
+81
+82
+83
+84
+85
+86
+87
+88
+89
+90
+91
+92
+93
+94
+95
+96
+97
+98
+
use bytes::BytesMut;
+use tokio::io::{AsyncRead, AsyncReadExt};
+
+use super::{Client, ClientError};
+use crate::{
+    api::commands::file::{CreateFile, CreateFileBody},
+    models::Snowflake,
+};
+
+impl Client {
+    /// Upload a plain file from its handle
+    ///
+    /// This does not do any extra handling for media files,
+    /// such as finding dimensions or generating previews.
+    #[cfg(feature = "fs")]
+    pub async fn upload_plain_file(
+        &self,
+        filename: impl Into<smol_str::SmolStr>,
+        mime: Option<mime::Mime>,
+        file: &mut tokio::fs::File,
+        progress: impl FnMut(u64, u64),
+    ) -> Result<Snowflake, ClientError> {
+        let meta = file.metadata().await?;
+
+        if !meta.is_file() {
+            return Err(ClientError::NotAFile);
+        }
+
+        let meta = CreateFileBody {
+            filename: filename.into(),
+            size: match i32::try_from(meta.len()) {
+                Ok(size) => size,
+                Err(_) => return Err(ClientError::FileTooLarge),
+            },
+            width: None,
+            height: None,
+            mime: mime.map(|m| smol_str::SmolStr::from(m.as_ref())),
+            preview: None,
+        };
+
+        self.upload_stream(meta, file, progress).await
+    }
+
+    /// Uploads a file stream in chunks
+    pub async fn upload_stream(
+        &self,
+        meta: CreateFileBody,
+        stream: impl AsyncRead,
+        mut progress: impl FnMut(u64, u64),
+    ) -> Result<Snowflake, ClientError> {
+        let file_size = meta.size as u64;
+        let file_id = self.driver().execute(CreateFile { body: meta }).await?;
+
+        // TODO: Retrieve chunk size from server? Or set it from Client?
+        const CHUNK_SIZE: usize = 1024 * 1024 * 8; // 8MiB
+
+        let mut buffer = BytesMut::new();
+        let mut read = 0;
+
+        let mut stream = core::pin::pin!(stream);
+
+        loop {
+            // keep the buffer topped up at CHUNK_SIZE
+            buffer.reserve(CHUNK_SIZE - buffer.capacity());
+
+            // fill buffer
+            while buffer.len() < buffer.capacity() {
+                if 0 == stream.read_buf(&mut buffer).await? {
+                    break;
+                }
+            }
+
+            if buffer.is_empty() {
+                break;
+            }
+
+            let offset = read;
+
+            read += buffer.len() as u64;
+
+            let new_offset = self.driver().patch_file(file_id, offset, buffer.split().freeze()).await?;
+
+            if new_offset != read {
+                return Err(
+                    std::io::Error::new(std::io::ErrorKind::UnexpectedEof, "Upload request returned unexpected offset").into(),
+                );
+            }
+
+            progress(read, file_size);
+        }
+
+        if file_size != read {
+            return Err(std::io::Error::new(std::io::ErrorKind::UnexpectedEof, "File stream terminated too early").into());
+        }
+
+        Ok(file_id)
+    }
+}
+
\ No newline at end of file diff --git a/src/client_sdk/client/mod.rs.html b/src/client_sdk/client/mod.rs.html new file mode 100644 index 000000000..7fb11a486 --- /dev/null +++ b/src/client_sdk/client/mod.rs.html @@ -0,0 +1,169 @@ +mod.rs - source
1
+2
+3
+4
+5
+6
+7
+8
+9
+10
+11
+12
+13
+14
+15
+16
+17
+18
+19
+20
+21
+22
+23
+24
+25
+26
+27
+28
+29
+30
+31
+32
+33
+34
+35
+36
+37
+38
+39
+40
+41
+42
+43
+44
+45
+46
+47
+48
+49
+50
+51
+52
+53
+54
+55
+56
+57
+58
+59
+60
+61
+62
+63
+64
+65
+66
+67
+68
+69
+70
+71
+72
+73
+74
+75
+76
+77
+78
+79
+80
+81
+82
+83
+84
+
use std::sync::Arc;
+
+use arc_swap::{ArcSwap, ArcSwapOption};
+
+use crate::{
+    driver::{generic_client, Driver, DriverError, Encoding},
+    models::AuthToken,
+};
+
+mod error;
+pub use error::ClientError;
+
+mod file;
+
+struct ClientInner {
+    inner: reqwest::Client,
+    auth: ArcSwapOption<(AuthToken, reqwest::header::HeaderValue)>,
+    uri: Arc<str>,
+    preferred_encoding: ArcSwap<Encoding>,
+}
+
+#[must_use = "Client does nothing on its own."]
+#[derive(Clone)]
+pub struct Client(Arc<ClientInner>);
+
+impl ClientInner {
+    /// (Cheaply) Constructs a new Driver instance for a request
+    fn driver(&self) -> Driver {
+        Driver {
+            inner: self.inner.clone(),
+            auth: self.auth.load_full(),
+            uri: self.uri.clone(),
+            encoding: **self.preferred_encoding.load(),
+        }
+    }
+}
+
+impl Client {
+    pub fn new(uri: &str) -> Result<Self, ClientError> {
+        Ok(Self::from_client(generic_client().build()?, uri))
+    }
+
+    pub fn from_client(client: reqwest::Client, uri: &str) -> Self {
+        Client(Arc::new(ClientInner {
+            inner: client,
+            auth: ArcSwapOption::empty(),
+            uri: Arc::from(uri),
+            preferred_encoding: ArcSwap::from_pointee(Encoding::JSON),
+        }))
+    }
+
+    pub fn set_auth(&self, token: Option<AuthToken>) -> Result<(), ClientError> {
+        self.0.auth.store(match token {
+            None => None,
+            Some(token) => Some(Arc::new((
+                token,
+                match token.headervalue() {
+                    Ok(header) => header,
+                    Err(e) => return Err(ClientError::DriverError(DriverError::from(e))),
+                },
+            ))),
+        });
+
+        Ok(())
+    }
+
+    #[must_use]
+    pub fn auth(&self) -> Option<AuthToken> {
+        self.0.auth.load().as_ref().map(|auth| auth.0)
+    }
+
+    pub fn set_preferred_encoding(&self, encoding: Encoding) {
+        self.0.preferred_encoding.store(Arc::new(encoding));
+    }
+
+    /// Constructs a [Driver] instance with the current configuration. Changes to the Client configuration
+    /// will not be reflected in the created Driver, and a new one must be constructed.
+    ///
+    /// This operation is decently cheap. (A few atomic loads)
+    #[inline]
+    pub fn driver(&self) -> Driver {
+        self.0.driver()
+    }
+}
+
\ No newline at end of file diff --git a/src/client_sdk/driver/error.rs.html b/src/client_sdk/driver/error.rs.html new file mode 100644 index 000000000..0c96ce7c7 --- /dev/null +++ b/src/client_sdk/driver/error.rs.html @@ -0,0 +1,111 @@ +error.rs - source
1
+2
+3
+4
+5
+6
+7
+8
+9
+10
+11
+12
+13
+14
+15
+16
+17
+18
+19
+20
+21
+22
+23
+24
+25
+26
+27
+28
+29
+30
+31
+32
+33
+34
+35
+36
+37
+38
+39
+40
+41
+42
+43
+44
+45
+46
+47
+48
+49
+50
+51
+52
+53
+54
+55
+
use crate::api::error::{ApiError, ApiErrorCode};
+
+#[derive(Debug, thiserror::Error)]
+pub enum DriverError {
+    #[error("Reqwest Error: {0}")]
+    ReqwestError(#[from] reqwest::Error),
+
+    #[error("Format Error")]
+    FormatError(#[from] core::fmt::Error),
+
+    #[error("Url Parse Error: {0}")]
+    UrlParseError(#[from] url::ParseError),
+
+    #[error("Url Encoding Error: {0}")]
+    UrlEncodingError(#[from] serde_urlencoded::ser::Error),
+
+    #[error("JSON Error: {0}")]
+    JsonError(#[from] serde_json::Error),
+
+    #[cfg(feature = "cbor")]
+    #[error("CBOR Encode Error: {0}")]
+    CborEncodeError(#[from] ciborium::ser::Error<std::io::Error>),
+    #[cfg(feature = "cbor")]
+    #[error("CBOR Encode Error: {0}")]
+    CborDecodeError(#[from] ciborium::de::Error<std::io::Error>),
+
+    #[error("Api Error: {0:?}")]
+    ApiError(ApiError),
+
+    #[error("Generic Driver Error: {0}")]
+    GenericDriverError(http::StatusCode),
+
+    #[error("Missing Authorization")]
+    MissingAuthorization,
+
+    #[error("Invalid Header Value: {0}")]
+    InvalidHeaderValue(#[from] http::header::InvalidHeaderValue),
+
+    #[error("Parse Int Error: {0}")]
+    ParseIntError(#[from] core::num::ParseIntError),
+
+    #[error("Header Parse Error: {0}")]
+    HeaderParseError(#[from] http::header::ToStrError),
+}
+
+impl DriverError {
+    #[must_use]
+    pub fn is_not_found(&self) -> bool {
+        match self {
+            DriverError::ApiError(err) => err.code == ApiErrorCode::NotFound,
+            DriverError::ReqwestError(err) => err.status() == Some(reqwest::StatusCode::NOT_FOUND),
+            _ => false,
+        }
+    }
+}
+
\ No newline at end of file diff --git a/src/client_sdk/driver/mod.rs.html b/src/client_sdk/driver/mod.rs.html new file mode 100644 index 000000000..19447622c --- /dev/null +++ b/src/client_sdk/driver/mod.rs.html @@ -0,0 +1,519 @@ +mod.rs - source
1
+2
+3
+4
+5
+6
+7
+8
+9
+10
+11
+12
+13
+14
+15
+16
+17
+18
+19
+20
+21
+22
+23
+24
+25
+26
+27
+28
+29
+30
+31
+32
+33
+34
+35
+36
+37
+38
+39
+40
+41
+42
+43
+44
+45
+46
+47
+48
+49
+50
+51
+52
+53
+54
+55
+56
+57
+58
+59
+60
+61
+62
+63
+64
+65
+66
+67
+68
+69
+70
+71
+72
+73
+74
+75
+76
+77
+78
+79
+80
+81
+82
+83
+84
+85
+86
+87
+88
+89
+90
+91
+92
+93
+94
+95
+96
+97
+98
+99
+100
+101
+102
+103
+104
+105
+106
+107
+108
+109
+110
+111
+112
+113
+114
+115
+116
+117
+118
+119
+120
+121
+122
+123
+124
+125
+126
+127
+128
+129
+130
+131
+132
+133
+134
+135
+136
+137
+138
+139
+140
+141
+142
+143
+144
+145
+146
+147
+148
+149
+150
+151
+152
+153
+154
+155
+156
+157
+158
+159
+160
+161
+162
+163
+164
+165
+166
+167
+168
+169
+170
+171
+172
+173
+174
+175
+176
+177
+178
+179
+180
+181
+182
+183
+184
+185
+186
+187
+188
+189
+190
+191
+192
+193
+194
+195
+196
+197
+198
+199
+200
+201
+202
+203
+204
+205
+206
+207
+208
+209
+210
+211
+212
+213
+214
+215
+216
+217
+218
+219
+220
+221
+222
+223
+224
+225
+226
+227
+228
+229
+230
+231
+232
+233
+234
+235
+236
+237
+238
+239
+240
+241
+242
+243
+244
+245
+246
+247
+248
+249
+250
+251
+252
+253
+254
+255
+256
+257
+258
+259
+
use std::sync::Arc;
+
+use reqwest::{
+    header::{HeaderName, HeaderValue},
+    Request, Url,
+};
+
+mod error;
+pub use error::DriverError;
+
+use crate::{
+    api::{Command, CommandFlags},
+    models::{AuthToken, FileId},
+};
+
+#[derive(Default, Debug, Clone, Copy, PartialEq, Eq, Hash, Serialize, Deserialize)]
+#[cfg_attr(feature = "ts", derive(ts_bindgen::TypeScriptDef))]
+#[serde(rename_all = "lowercase")]
+pub enum Encoding {
+    #[default]
+    JSON,
+
+    #[cfg(feature = "cbor")]
+    CBOR,
+}
+
+#[must_use = "This struct does nothing on its own. Use `Driver::execute` to send a request."]
+#[derive(Clone)]
+pub struct Driver {
+    pub(crate) inner: reqwest::Client,
+    pub(crate) encoding: Encoding,
+    pub(crate) uri: Arc<str>,
+    pub(crate) auth: Option<Arc<(AuthToken, HeaderValue)>>,
+}
+
+pub(crate) fn generic_client() -> reqwest::ClientBuilder {
+    #[allow(unused_mut)]
+    let mut builder = reqwest::Client::builder()
+        .user_agent("Lantern SDK/1.0 (bot; https://github.com/Lantern-chat)")
+        .gzip(true)
+        .deflate(true)
+        .http2_adaptive_window(true);
+
+    #[cfg(feature = "brotli")]
+    {
+        builder = builder.brotli(true);
+    }
+
+    builder
+}
+
+impl Driver {
+    pub fn new(uri: &str) -> Result<Self, DriverError> {
+        Self::new_shared(Arc::from(uri))
+    }
+
+    pub fn new_shared(uri: Arc<str>) -> Result<Self, DriverError> {
+        Ok(Self::new_from_raw(uri, generic_client().build()?))
+    }
+
+    pub fn new_from_raw(uri: Arc<str>, client: reqwest::Client) -> Self {
+        Driver {
+            inner: client,
+            uri,
+            encoding: Encoding::JSON,
+            auth: None,
+        }
+    }
+
+    pub fn set_token(&mut self, token: Option<AuthToken>) -> Result<(), DriverError> {
+        self.auth = match token {
+            Some(token) => Some(Arc::new((token, token.headervalue()?))),
+            None => None,
+        };
+
+        Ok(())
+    }
+
+    fn add_auth_header(&self, req: &mut Request) -> Result<(), DriverError> {
+        match self.auth {
+            Some(ref auth) => {
+                req.headers_mut().insert(HeaderName::from_static("authorization"), auth.1.clone());
+            }
+            None => return Err(DriverError::MissingAuthorization),
+        }
+
+        Ok(())
+    }
+
+    /// Same as [`execute`](Driver::execute), but will return an `Option` if the API returned 404 Not Found.
+    pub async fn execute_opt<CMD: Command>(&self, cmd: CMD) -> Result<Option<CMD::Result>, DriverError> {
+        match self.execute(cmd).await {
+            Ok(value) => Ok(Some(value)),
+            Err(e) if e.is_not_found() => Ok(None),
+            Err(e) => Err(e),
+        }
+    }
+
+    /// Execute the given command, taking care of all body and query parameters automatically.
+    ///
+    /// If you would like an `Option` for not-found values, use [`execute_opt`](Driver::execute_opt) instead.
+    pub async fn execute<CMD: Command>(&self, cmd: CMD) -> Result<CMD::Result, DriverError> {
+        let mut path = format!("{}/api/v1/", self.uri);
+
+        // likely inlined, simple
+        cmd.format_path(&mut path)?;
+
+        let mut req = Request::new(CMD::HTTP_METHOD, Url::parse(&path)?);
+
+        // likely inlined, often no-ops
+        cmd.add_headers(req.headers_mut());
+
+        let body_size_hint = cmd.body_size_hint();
+
+        // if there is a body to serialize
+        if CMD::FLAGS.contains(CommandFlags::HAS_BODY) && body_size_hint > 0 {
+            // for methods without bodies, the "body" is treated as query parameters
+            if CMD::IS_QUERY {
+                let url = req.url_mut();
+
+                {
+                    use serde::Serialize;
+
+                    let mut pairs = url.query_pairs_mut();
+                    cmd.body().serialize(serde_urlencoded::Serializer::new(&mut pairs))?;
+                }
+
+                if let Some("") = url.query() {
+                    url.set_query(None);
+                }
+            } else {
+                let mut body = Vec::with_capacity(body_size_hint.max(128));
+
+                match self.encoding {
+                    Encoding::JSON => {
+                        serde_json::to_writer(&mut body, cmd.body())?;
+
+                        req.headers_mut().insert(
+                            HeaderName::from_static("content-type"),
+                            HeaderValue::from_static("application/json"),
+                        );
+                    }
+
+                    #[cfg(feature = "cbor")]
+                    Encoding::CBOR => {
+                        ciborium::ser::into_writer(cmd.body(), &mut body)?;
+
+                        req.headers_mut().insert(
+                            HeaderName::from_static("content-type"),
+                            HeaderValue::from_static("application/cbor"),
+                        );
+                    }
+                }
+
+                *req.body_mut() = Some(body.into());
+            }
+        }
+
+        if CMD::FLAGS.contains(CommandFlags::AUTHORIZED) {
+            self.add_auth_header(&mut req)?;
+        }
+
+        let response = self.inner.execute(req).await?;
+
+        let status = response.status();
+        let ct = response.headers().get(HeaderName::from_static("content-type")).cloned();
+        let body = response.bytes().await?;
+
+        if !status.is_success() {
+            return Err(match deserialize_ct(&body, ct) {
+                Ok(api_error) => DriverError::ApiError(api_error),
+                Err(_) => DriverError::GenericDriverError(status),
+            });
+        }
+
+        if body.is_empty() || core::mem::size_of::<CMD::Result>() == 0 {
+            // if Result is a zero-size type, this is likely optimized away entirely.
+            // Otherwise, if the body is empty, try to deserialize an empty object
+            return Ok(serde_json::from_slice(b"{}")?);
+        }
+
+        deserialize_ct(&body, ct)
+    }
+}
+
+// lazy_static::lazy_static! {
+//     pub(crate) static ref APPLICATION_CBOR: ContentType = ContentType::from("application/cbor".parse::<mime::Mime>().unwrap());
+// }
+
+#[allow(unused_variables)]
+fn deserialize_ct<T>(body: &[u8], ct: Option<HeaderValue>) -> Result<T, DriverError>
+where
+    T: serde::de::DeserializeOwned,
+{
+    #[allow(unused_mut)]
+    let mut kind = Encoding::JSON;
+
+    #[cfg(feature = "cbor")]
+    if let Some(ct) = ct {
+        if ct.as_bytes() == b"application/cbor" {
+            kind = Encoding::CBOR;
+        }
+    }
+
+    Ok(match kind {
+        Encoding::JSON => serde_json::from_slice(body)?,
+
+        #[cfg(feature = "cbor")]
+        Encoding::CBOR => ciborium::de::from_reader(body)?,
+    })
+}
+
+use base64::engine::{general_purpose::STANDARD, Engine};
+
+impl Driver {
+    pub async fn patch_file(&self, file_id: FileId, offset: u64, chunk: bytes::Bytes) -> Result<u64, DriverError> {
+        let auth = match self.auth {
+            Some(ref auth) => auth.1.clone(),
+            None => return Err(DriverError::MissingAuthorization),
+        };
+
+        let path = format!("{}/api/v1/file/{}", self.uri, file_id);
+
+        let checksum = crc32fast::hash(&chunk);
+
+        let response = self
+            .inner
+            .patch(path)
+            .header(HeaderName::from_static("authorization"), auth)
+            .header(HeaderName::from_static("upload-offset"), offset)
+            .header(
+                HeaderName::from_static("upload-checksum"),
+                format!("crc32 {}", STANDARD.encode(checksum.to_be_bytes())),
+            )
+            .header(
+                HeaderName::from_static("content-type"),
+                HeaderValue::from_static("application/offset+octet-stream"),
+            )
+            .body(chunk)
+            .send()
+            .await?;
+
+        let status = response.status();
+
+        if status.is_success() {
+            if let Some(offset) = response.headers().get(HeaderName::from_static("upload-offset")) {
+                return Ok(offset.to_str().expect("Fix this").parse()?);
+            }
+        }
+
+        let ct = response.headers().get(HeaderName::from_static("content-type")).cloned();
+        let body = response.bytes().await?;
+
+        Err(match deserialize_ct(&body, ct) {
+            Ok(api_error) => DriverError::ApiError(api_error),
+            Err(_) => DriverError::GenericDriverError(status),
+        })
+    }
+}
+
\ No newline at end of file diff --git a/src/client_sdk/framework/md.rs.html b/src/client_sdk/framework/md.rs.html new file mode 100644 index 000000000..0d3753dfa --- /dev/null +++ b/src/client_sdk/framework/md.rs.html @@ -0,0 +1,3 @@ +md.rs - source
1
+

+
\ No newline at end of file diff --git a/src/client_sdk/framework/mod.rs.html b/src/client_sdk/framework/mod.rs.html new file mode 100644 index 000000000..27f26150d --- /dev/null +++ b/src/client_sdk/framework/mod.rs.html @@ -0,0 +1,9 @@ +mod.rs - source
1
+2
+3
+4
+
pub use crate::models::gateway::message::{ClientMsg, DynamicServerMsgHandlers, ServerMsg, ServerMsgHandlers};
+
+pub mod md;
+pub mod standard;
+
\ No newline at end of file diff --git a/src/client_sdk/framework/standard/cmd/mod.rs.html b/src/client_sdk/framework/standard/cmd/mod.rs.html new file mode 100644 index 000000000..d0c209b2a --- /dev/null +++ b/src/client_sdk/framework/standard/cmd/mod.rs.html @@ -0,0 +1,3 @@ +mod.rs - source
1
+

+
\ No newline at end of file diff --git a/src/client_sdk/framework/standard/ctx.rs.html b/src/client_sdk/framework/standard/ctx.rs.html new file mode 100644 index 000000000..d57b41bf1 --- /dev/null +++ b/src/client_sdk/framework/standard/ctx.rs.html @@ -0,0 +1,303 @@ +ctx.rs - source
1
+2
+3
+4
+5
+6
+7
+8
+9
+10
+11
+12
+13
+14
+15
+16
+17
+18
+19
+20
+21
+22
+23
+24
+25
+26
+27
+28
+29
+30
+31
+32
+33
+34
+35
+36
+37
+38
+39
+40
+41
+42
+43
+44
+45
+46
+47
+48
+49
+50
+51
+52
+53
+54
+55
+56
+57
+58
+59
+60
+61
+62
+63
+64
+65
+66
+67
+68
+69
+70
+71
+72
+73
+74
+75
+76
+77
+78
+79
+80
+81
+82
+83
+84
+85
+86
+87
+88
+89
+90
+91
+92
+93
+94
+95
+96
+97
+98
+99
+100
+101
+102
+103
+104
+105
+106
+107
+108
+109
+110
+111
+112
+113
+114
+115
+116
+117
+118
+119
+120
+121
+122
+123
+124
+125
+126
+127
+128
+129
+130
+131
+132
+133
+134
+135
+136
+137
+138
+139
+140
+141
+142
+143
+144
+145
+146
+147
+148
+149
+150
+151
+
use std::sync::{
+    atomic::{AtomicU32, Ordering::SeqCst},
+    Arc,
+};
+
+use crate::{
+    client::Client,
+    driver::Driver,
+    framework::{ServerMsg, ServerMsgHandlers},
+    models::{gateway::message::ClientMsg, *},
+};
+
+use tokio::sync::mpsc::{self, error::SendError};
+
+#[derive(Debug)]
+pub enum StandardResponse {
+    Message(ClientMsg),
+    Close,
+}
+
+struct StandardContextInner {
+    tx: mpsc::UnboundedSender<StandardResponse>,
+    client: Client,
+}
+
+#[derive(Clone)]
+pub struct StandardContext(Arc<StandardContextInner>);
+
+impl StandardContext {
+    pub(super) fn new(client: Client) -> (Self, mpsc::UnboundedReceiver<StandardResponse>) {
+        let (tx, rx) = mpsc::unbounded_channel();
+
+        (StandardContext(Arc::new(StandardContextInner { client, tx })), rx)
+    }
+
+    fn inner(&self) -> &StandardContextInner {
+        &self.0
+    }
+
+    pub fn client(&self) -> &Client {
+        &self.inner().client
+    }
+
+    pub fn driver(&self) -> Driver {
+        self.client().driver()
+    }
+
+    #[must_use]
+    pub fn close(&self) -> bool {
+        self.inner().tx.send(StandardResponse::Close).is_ok()
+    }
+
+    pub fn send(&self, msg: ClientMsg) -> Result<(), SendError<ClientMsg>> {
+        match self.inner().tx.send(StandardResponse::Message(msg)) {
+            Ok(()) => Ok(()),
+            Err(SendError(StandardResponse::Message(msg))) => Err(SendError(msg)),
+            Err(_) => unreachable!(),
+        }
+    }
+
+    pub fn set_presence(&self, presence: UserPresence) -> Result<(), SendError<UserPresence>> {
+        match self.send(ClientMsg::new_set_presence(commands::SetPresence { presence })) {
+            Ok(()) => Ok(()),
+            Err(SendError(ClientMsg::SetPresence(payload))) => Err(SendError(payload.inner.presence)),
+            Err(_) => unreachable!(),
+        }
+    }
+}
+
+use tokio::sync::Notify;
+
+pub struct InternalEventHandlers<H> {
+    pub user: H,
+    heartbeat: Arc<Notify>,
+    interval: AtomicU32,
+}
+
+impl<H> InternalEventHandlers<H> {
+    pub fn new(state: H) -> Self {
+        InternalEventHandlers {
+            user: state,
+            heartbeat: Default::default(),
+            interval: AtomicU32::new(45_000),
+        }
+    }
+
+    #[allow(clippy::needless_return)] // ugh
+    fn setup_new_heartbeat(&self, ctx: StandardContext) {
+        let hb = self.heartbeat.clone();
+        let interval = self.interval.load(SeqCst);
+
+        hb.notify_waiters();
+        tokio::spawn(async move {
+            let duration = tokio::time::Duration::from_millis(interval as u64);
+
+            tokio::time::sleep(duration).await;
+
+            if ctx.send(ClientMsg::new_heartbeat()).is_err() {
+                return;
+            }
+
+            // once the heartbeat is sent, the server will respond with ack and
+            // trigger the killswitch to cancel this sleep, avoiding `close()`
+            // but if the server does not respond, close will be called
+
+            let mut sleep = core::pin::pin!(tokio::time::sleep(duration));
+
+            tokio::select! {
+                biased;
+                _ = hb.notified() => return,
+                _ = &mut sleep => ctx.close(),
+            };
+        });
+    }
+}
+
+use crate::models::events::*;
+impl<H, E> ServerMsgHandlers<StandardContext, Result<(), E>> for InternalEventHandlers<H>
+where
+    H: ServerMsgHandlers<StandardContext, Result<(), E>>,
+{
+    #[inline(always)]
+    async fn fallback(&self, ctx: StandardContext, msg: ServerMsg) -> Result<(), E> {
+        self.user.dispatch(ctx, msg).await
+    }
+
+    async fn hello(&self, ctx: StandardContext, inner: Hello) -> Result<(), E> {
+        self.interval.store(inner.heartbeat_interval, SeqCst);
+
+        self.setup_new_heartbeat(ctx.clone());
+
+        if let Some(auth) = ctx.client().auth() {
+            let _ = ctx.send(ClientMsg::new_identify(commands::Identify {
+                auth,
+                intent: Intent::all(),
+            }));
+        }
+
+        self.user.hello(ctx, inner).await
+    }
+
+    async fn heartbeat_ack(&self, ctx: StandardContext) -> Result<(), E> {
+        self.setup_new_heartbeat(ctx.clone());
+
+        self.user.heartbeat_ack(ctx).await
+    }
+
+    //async fn ready(&self, ctx: StandardContext, ready: Box<Ready>) -> Result<(), E> {
+    //    Ok(())
+    //}
+}
+
\ No newline at end of file diff --git a/src/client_sdk/framework/standard/error.rs.html b/src/client_sdk/framework/standard/error.rs.html new file mode 100644 index 000000000..7e4d294f1 --- /dev/null +++ b/src/client_sdk/framework/standard/error.rs.html @@ -0,0 +1,41 @@ +error.rs - source
1
+2
+3
+4
+5
+6
+7
+8
+9
+10
+11
+12
+13
+14
+15
+16
+17
+18
+19
+20
+
use core::error::Error;
+
+use crate::{client::ClientError, driver::DriverError, gateway::GatewayError};
+
+#[derive(Debug, thiserror::Error)]
+pub enum StandardError {
+    #[error(transparent)]
+    ClientError(#[from] ClientError),
+
+    #[error(transparent)]
+    DriverError(#[from] DriverError),
+
+    #[error(transparent)]
+    GatewayError(#[from] GatewayError),
+}
+
+/// Required properties for custom error types,
+/// must be able to handle [`ClientError`], [`DriverError`], and [`GatewayError`] errors
+pub trait StandardErrorExt: 'static + Error + From<ClientError> + From<DriverError> + From<GatewayError> {}
+impl<T> StandardErrorExt for T where T: 'static + Error + From<ClientError> + From<DriverError> + From<GatewayError> {}
+
\ No newline at end of file diff --git a/src/client_sdk/framework/standard/mod.rs.html b/src/client_sdk/framework/standard/mod.rs.html new file mode 100644 index 000000000..6870dcdad --- /dev/null +++ b/src/client_sdk/framework/standard/mod.rs.html @@ -0,0 +1,401 @@ +mod.rs - source
1
+2
+3
+4
+5
+6
+7
+8
+9
+10
+11
+12
+13
+14
+15
+16
+17
+18
+19
+20
+21
+22
+23
+24
+25
+26
+27
+28
+29
+30
+31
+32
+33
+34
+35
+36
+37
+38
+39
+40
+41
+42
+43
+44
+45
+46
+47
+48
+49
+50
+51
+52
+53
+54
+55
+56
+57
+58
+59
+60
+61
+62
+63
+64
+65
+66
+67
+68
+69
+70
+71
+72
+73
+74
+75
+76
+77
+78
+79
+80
+81
+82
+83
+84
+85
+86
+87
+88
+89
+90
+91
+92
+93
+94
+95
+96
+97
+98
+99
+100
+101
+102
+103
+104
+105
+106
+107
+108
+109
+110
+111
+112
+113
+114
+115
+116
+117
+118
+119
+120
+121
+122
+123
+124
+125
+126
+127
+128
+129
+130
+131
+132
+133
+134
+135
+136
+137
+138
+139
+140
+141
+142
+143
+144
+145
+146
+147
+148
+149
+150
+151
+152
+153
+154
+155
+156
+157
+158
+159
+160
+161
+162
+163
+164
+165
+166
+167
+168
+169
+170
+171
+172
+173
+174
+175
+176
+177
+178
+179
+180
+181
+182
+183
+184
+185
+186
+187
+188
+189
+190
+191
+192
+193
+194
+195
+196
+197
+198
+199
+200
+
#![allow(clippy::type_complexity)]
+
+use std::sync::Arc;
+
+use crate::{
+    client::Client,
+    gateway::{GatewayConnection, GatewayConnectionControl},
+};
+
+use futures::{stream::SplitSink, SinkExt, StreamExt};
+use tokio::sync::mpsc;
+
+pub mod cmd;
+
+mod ctx;
+mod error;
+mod util;
+
+pub use ctx::StandardContext;
+pub use error::{StandardError, StandardErrorExt};
+
+use self::ctx::InternalEventHandlers;
+
+use super::{ClientMsg, DynamicServerMsgHandlers, ServerMsgHandlers};
+
+/// Dynamic [`ServerMsgHandlers`] suitable for simpler bot applications
+pub type StandardDynamicHandler<S, E> = DynamicServerMsgHandlers<StandardContext, Result<(), E>, S>;
+
+/// Simple [`Standard`] with a [`StandardError`]
+pub type SimpleStandard<H> = Standard<H, StandardError>;
+
+/// Runs whenever an error occurs
+type ErrorCb<H, E> = Arc<dyn Fn(E, StandardContext, &H) + Send + Sync + 'static>;
+/// Runs once after first gateway connection is established
+type StartCb<H, E> = Box<dyn FnOnce(StandardContext, &mut H) -> Result<(), E>>;
+
+pub struct Standard<H, E: StandardErrorExt = StandardError> {
+    state: ctx::InternalEventHandlers<H>,
+    ctx: StandardContext,
+    gateway: GatewayConnection,
+    on_error: Option<ErrorCb<H, E>>,
+    on_start: Option<StartCb<H, E>>,
+    rx: mpsc::UnboundedReceiver<ctx::StandardResponse>,
+}
+
+impl<E: StandardErrorExt> Standard<StandardDynamicHandler<(), E>, E> {
+    #[must_use]
+    pub fn new(client: Client) -> Self {
+        Self::new_with_state(client, ())
+    }
+}
+
+impl<S, E: StandardErrorExt> Standard<StandardDynamicHandler<S, E>, E>
+where
+    S: Send + Sync + 'static,
+{
+    pub fn new_with_state(client: Client, state: S) -> Self {
+        Self::new_with_handlers(
+            client,
+            StandardDynamicHandler::new_raw_with_state(state, Box::new(|_, _, _| Box::pin(util::ZSTOkFut::new()))),
+        )
+    }
+}
+
+impl<H: 'static, E: StandardErrorExt> Standard<H, E>
+where
+    H: ServerMsgHandlers<StandardContext, Result<(), E>>,
+{
+    pub fn new_with_handlers(client: Client, state: H) -> Self {
+        let (ctx, rx) = StandardContext::new(client.clone());
+
+        Standard {
+            state: ctx::InternalEventHandlers::new(state),
+            gateway: GatewayConnection::new(client),
+            ctx,
+            rx,
+            on_error: None,
+            on_start: None,
+        }
+    }
+
+    /// Setup a callback for any errors that occur during the connection lifetime
+    pub fn on_error<F>(&mut self, cb: F) -> &mut Self
+    where
+        F: Fn(E, StandardContext, &H) + Send + Sync + 'static,
+    {
+        self.on_error = Some(Arc::new(cb));
+        self
+    }
+
+    /// Setup a callback to run once after the first gateway connection is established,
+    /// but before any kind of authentication is made.
+    ///
+    /// If the gateway reconnects, this will not be rerun.
+    pub fn on_start<F>(&mut self, cb: F) -> &mut Self
+    where
+        F: FnOnce(StandardContext, &mut H) -> Result<(), E> + 'static,
+    {
+        self.on_start = Some(Box::new(cb));
+        self
+    }
+
+    pub fn handlers(&mut self) -> &mut H {
+        &mut self.state.user
+    }
+
+    pub fn ctx(&self) -> &StandardContext {
+        &self.ctx
+    }
+
+    pub fn gateway_control(&self) -> Arc<GatewayConnectionControl> {
+        self.gateway.control()
+    }
+
+    pub async fn run(self) -> Result<(), E> {
+        let Standard {
+            mut state,
+            ctx,
+            mut gateway,
+            on_error,
+            on_start,
+            rx,
+        } = self;
+
+        // connect to gateway first, split streams
+        let (gw_tx, mut gw_rx) = {
+            gateway.connect().await?;
+            gateway.split()
+        };
+
+        if let Some(on_start) = on_start {
+            if let Err(e) = on_start(ctx.clone(), &mut state.user) {
+                if let Some(ref err_cb) = on_error {
+                    err_cb(e, ctx.clone(), &state.user);
+                }
+            }
+        }
+
+        let (kill, mut alive) = tokio::sync::oneshot::channel::<()>();
+
+        // state has been finalized, wrap it in Arc to share among server/client tasks
+        let state = Arc::new(state);
+
+        // start running client msg task
+        let client_task = tokio::spawn(run_client(rx, gw_tx, state.clone(), ctx.clone(), on_error.clone(), kill));
+
+        // begin listening for events on current task
+        loop {
+            let event = tokio::select! {
+                biased;
+                _ = &mut alive => break,
+                event = gw_rx.next() => match event {
+                    Some(event) => event,
+                    None => break,
+                },
+            };
+
+            let res = match event {
+                Err(e) => Err(e.into()),
+                Ok(msg) => state.dispatch(ctx.clone(), msg).await,
+            };
+
+            if let Err(e) = res {
+                if let Some(ref err_cb) = on_error {
+                    err_cb(e, ctx.clone(), &state.user);
+                }
+            }
+        }
+
+        let _ = client_task.await;
+
+        Ok(())
+    }
+}
+
+async fn run_client<H, E: StandardErrorExt>(
+    mut rx: mpsc::UnboundedReceiver<ctx::StandardResponse>,
+    mut gw_tx: SplitSink<GatewayConnection, ClientMsg>,
+    state: Arc<InternalEventHandlers<H>>,
+    ctx: StandardContext,
+    on_error: Option<ErrorCb<H, E>>,
+    kill: tokio::sync::oneshot::Sender<()>,
+) {
+    while let Some(resp) = rx.recv().await {
+        match resp {
+            ctx::StandardResponse::Message(msg) => {
+                if let Err(e) = gw_tx.send(msg).await {
+                    if let Some(ref err_cb) = on_error {
+                        err_cb(e.into(), ctx.clone(), &state.user);
+                    }
+                }
+            }
+            ctx::StandardResponse::Close => {
+                rx.close();
+                let _ = kill.send(());
+                return;
+            }
+        }
+    }
+}
+
\ No newline at end of file diff --git a/src/client_sdk/framework/standard/util.rs.html b/src/client_sdk/framework/standard/util.rs.html new file mode 100644 index 000000000..d0fbb797c --- /dev/null +++ b/src/client_sdk/framework/standard/util.rs.html @@ -0,0 +1,55 @@ +util.rs - source
1
+2
+3
+4
+5
+6
+7
+8
+9
+10
+11
+12
+13
+14
+15
+16
+17
+18
+19
+20
+21
+22
+23
+24
+25
+26
+27
+
use core::{
+    future::Future,
+    marker::PhantomData,
+    pin::Pin,
+    task::{Context, Poll},
+};
+
+// Fallback will likely be called a lot, yet does nothing, so
+// avoid the cost of boxing a future every call by using a ZST
+// which will not allocate, but can still return a value
+#[repr(transparent)]
+pub struct ZSTOkFut<E>(PhantomData<E>);
+// SAFETY: ZSTOkFut literally has zero state
+unsafe impl<E> Send for ZSTOkFut<E> {}
+
+impl<E> ZSTOkFut<E> {
+    pub const fn new() -> Self {
+        ZSTOkFut(PhantomData)
+    }
+}
+
+impl<E> Future for ZSTOkFut<E> {
+    type Output = Result<(), E>;
+    fn poll(self: Pin<&mut Self>, _cx: &mut Context<'_>) -> Poll<Self::Output> {
+        Poll::Ready(Ok(()))
+    }
+}
+
\ No newline at end of file diff --git a/src/client_sdk/framework_utils/args.rs.html b/src/client_sdk/framework_utils/args.rs.html new file mode 100644 index 000000000..94f72e542 --- /dev/null +++ b/src/client_sdk/framework_utils/args.rs.html @@ -0,0 +1,403 @@ +args.rs - source
1
+2
+3
+4
+5
+6
+7
+8
+9
+10
+11
+12
+13
+14
+15
+16
+17
+18
+19
+20
+21
+22
+23
+24
+25
+26
+27
+28
+29
+30
+31
+32
+33
+34
+35
+36
+37
+38
+39
+40
+41
+42
+43
+44
+45
+46
+47
+48
+49
+50
+51
+52
+53
+54
+55
+56
+57
+58
+59
+60
+61
+62
+63
+64
+65
+66
+67
+68
+69
+70
+71
+72
+73
+74
+75
+76
+77
+78
+79
+80
+81
+82
+83
+84
+85
+86
+87
+88
+89
+90
+91
+92
+93
+94
+95
+96
+97
+98
+99
+100
+101
+102
+103
+104
+105
+106
+107
+108
+109
+110
+111
+112
+113
+114
+115
+116
+117
+118
+119
+120
+121
+122
+123
+124
+125
+126
+127
+128
+129
+130
+131
+132
+133
+134
+135
+136
+137
+138
+139
+140
+141
+142
+143
+144
+145
+146
+147
+148
+149
+150
+151
+152
+153
+154
+155
+156
+157
+158
+159
+160
+161
+162
+163
+164
+165
+166
+167
+168
+169
+170
+171
+172
+173
+174
+175
+176
+177
+178
+179
+180
+181
+182
+183
+184
+185
+186
+187
+188
+189
+190
+191
+192
+193
+194
+195
+196
+197
+198
+199
+200
+201
+
use core::fmt;
+use core::ops::Range;
+use smallvec::SmallVec;
+
+pub type ArgumentSplitterOwned = ArgumentSplitter<'static>;
+
+/// Utility to split a string into segments delimited by whitespace and grouped by double quotation marks
+///
+/// Whitespace is removed except in quoted groups, and empty quoted groups are included.
+pub struct ArgumentSplitter<'a> {
+    buf: &'a str,
+    arguments: SmallVec<[Argument<'a>; 4]>,
+}
+
+#[derive(Clone, Copy, PartialEq, Eq, Hash)]
+pub struct Argument<'a> {
+    buf: &'a str,
+    inner_start: usize,
+    inner_end: usize,
+    outer_start: usize,
+    outer_end: usize,
+}
+
+impl fmt::Debug for Argument<'_> {
+    fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
+        f.write_str(self.outer_str())
+    }
+}
+
+impl<'a> Argument<'a> {
+    fn unquoted(buf: &'a str, inner: Range<usize>) -> Self {
+        Argument::new(buf, inner.clone(), inner)
+    }
+
+    fn new(buf: &'a str, inner: Range<usize>, outer: Range<usize>) -> Self {
+        Argument {
+            buf,
+            inner_start: inner.start,
+            inner_end: inner.end,
+            outer_start: outer.start,
+            outer_end: outer.end,
+        }
+    }
+
+    #[must_use]
+    pub fn orig(&self) -> &'a str {
+        self.buf
+    }
+
+    #[must_use]
+    pub fn inner_str(&self) -> &'a str {
+        &self.buf[self.inner()]
+    }
+
+    #[must_use]
+    pub fn outer_str(&self) -> &'a str {
+        &self.buf[self.outer()]
+    }
+
+    #[must_use]
+    pub fn inner(&self) -> Range<usize> {
+        self.inner_start..self.inner_end
+    }
+
+    #[must_use]
+    pub fn outer(&self) -> Range<usize> {
+        self.outer_start..self.outer_end
+    }
+
+    #[must_use]
+    pub fn is_quoted(&self) -> bool {
+        self.inner() != self.outer()
+    }
+
+    #[must_use]
+    pub fn is_quoted_with(&self, (start, end): (char, char)) -> bool {
+        let outer = self.outer_str();
+
+        self.is_quoted() && outer.starts_with(start) && outer.ends_with(end)
+    }
+}
+
+impl<'a> ArgumentSplitter<'a> {
+    #[must_use]
+    pub fn orig(&self) -> &'a str {
+        self.buf
+    }
+
+    #[must_use]
+    pub fn arguments(&self) -> &[Argument<'a>] {
+        &self.arguments
+    }
+
+    pub fn iter<'b>(&'b self) -> impl Iterator<Item = &'a str> + 'b
+    where
+        'a: 'b,
+    {
+        self.arguments.iter().map(|r| r.inner_str())
+    }
+
+    #[must_use]
+    pub fn split(args: &'a str) -> Self {
+        Self::split_delimiters(args, &[('`', '`'), ('"', '"'), ('\u{201C}', '\u{201D}')])
+    }
+
+    #[must_use]
+    pub fn split_delimiters(args: &'a str, delmiters: &[(char, char)]) -> Self {
+        let buf = args;
+        let mut arguments = SmallVec::new();
+
+        let mut escaped = false;
+        let mut last_idx = 0;
+
+        let mut ic = buf.char_indices();
+
+        'outer: while let Some((idx, token)) = ic.next() {
+            if escaped || token == '\\' {
+                escaped ^= true;
+                continue;
+            }
+
+            if token.is_whitespace() {
+                if last_idx != idx {
+                    arguments.push(Argument::unquoted(buf, last_idx..idx));
+                }
+                last_idx = idx + 1; // skip ws
+                continue;
+            }
+
+            let Some(&(_, end_token)) = delmiters.iter().find(|(start, _)| token == *start) else {
+                continue;
+            };
+
+            let token_len = token.len_utf8();
+
+            // text"text" without whitespace
+            if last_idx != idx {
+                arguments.push(Argument::unquoted(buf, last_idx..idx));
+            }
+
+            for (end_idx, quoted_char) in &mut ic {
+                if escaped || quoted_char == '\\' {
+                    escaped ^= true;
+                    continue;
+                }
+
+                if quoted_char == end_token {
+                    let end_token_len = end_token.len_utf8();
+
+                    // skip first quote
+                    arguments.push(Argument::new(buf, idx + token_len..end_idx, idx..end_idx + end_token_len));
+
+                    last_idx = end_idx + end_token_len;
+
+                    continue 'outer; // skip fallback behavior if iterator runs out
+                }
+            }
+
+            last_idx = idx + token_len;
+
+            if last_idx == buf.len() {
+                // empty
+                arguments.push(Argument::new(buf, last_idx..last_idx, idx..last_idx));
+            }
+        }
+
+        if last_idx != buf.len() {
+            arguments.push(Argument::unquoted(buf, last_idx..buf.len()));
+        }
+
+        ArgumentSplitter { buf, arguments }
+    }
+}
+
+#[cfg(test)]
+mod test {
+    use super::ArgumentSplitter;
+
+    #[test]
+    fn test_arg_splitter() {
+        fn do_test(args: &str, expected: &[&str]) {
+            let mut i = 0;
+            for (a, &b) in ArgumentSplitter::split(args).iter().zip(expected) {
+                assert_eq!(a, b, "Argument mismatch for {args} on argument {i}");
+                i += 1;
+            }
+            assert_eq!(i, expected.len(), "Length mismatch!");
+        }
+
+        do_test("Hello,    World!    ", &["Hello,", "World!"]);
+        do_test("    \"Testing\"", &["Testing"]);
+        do_test("    Testing\"", &["Testing", ""]);
+        do_test("    \"Test ing", &["Test ing"]);
+        do_test("    \"Test ing\"   \"\"", &["Test ing", ""]);
+        do_test("    \"Test ing\"   \"  \"", &["Test ing", "  "]);
+        do_test("    `Test ing`   \"  \"", &["Test ing", "  "]);
+        do_test(" This is \u{201C}a test", &["This", "is", "a test"]);
+        do_test(" This is \u{201C}a test\u{201D}", &["This", "is", "a test"]);
+        do_test("test\"test", &["test", "test"]);
+    }
+}
+
\ No newline at end of file diff --git a/src/client_sdk/framework_utils/mod.rs.html b/src/client_sdk/framework_utils/mod.rs.html new file mode 100644 index 000000000..1a72584af --- /dev/null +++ b/src/client_sdk/framework_utils/mod.rs.html @@ -0,0 +1,3 @@ +mod.rs - source
1
+
pub mod args;
+
\ No newline at end of file diff --git a/src/client_sdk/gateway/conn.rs.html b/src/client_sdk/gateway/conn.rs.html new file mode 100644 index 000000000..2ea236164 --- /dev/null +++ b/src/client_sdk/gateway/conn.rs.html @@ -0,0 +1,411 @@ +conn.rs - source
1
+2
+3
+4
+5
+6
+7
+8
+9
+10
+11
+12
+13
+14
+15
+16
+17
+18
+19
+20
+21
+22
+23
+24
+25
+26
+27
+28
+29
+30
+31
+32
+33
+34
+35
+36
+37
+38
+39
+40
+41
+42
+43
+44
+45
+46
+47
+48
+49
+50
+51
+52
+53
+54
+55
+56
+57
+58
+59
+60
+61
+62
+63
+64
+65
+66
+67
+68
+69
+70
+71
+72
+73
+74
+75
+76
+77
+78
+79
+80
+81
+82
+83
+84
+85
+86
+87
+88
+89
+90
+91
+92
+93
+94
+95
+96
+97
+98
+99
+100
+101
+102
+103
+104
+105
+106
+107
+108
+109
+110
+111
+112
+113
+114
+115
+116
+117
+118
+119
+120
+121
+122
+123
+124
+125
+126
+127
+128
+129
+130
+131
+132
+133
+134
+135
+136
+137
+138
+139
+140
+141
+142
+143
+144
+145
+146
+147
+148
+149
+150
+151
+152
+153
+154
+155
+156
+157
+158
+159
+160
+161
+162
+163
+164
+165
+166
+167
+168
+169
+170
+171
+172
+173
+174
+175
+176
+177
+178
+179
+180
+181
+182
+183
+184
+185
+186
+187
+188
+189
+190
+191
+192
+193
+194
+195
+196
+197
+198
+199
+200
+201
+202
+203
+204
+205
+
use core::num::NonZeroUsize;
+use core::pin::Pin;
+use std::sync::atomic::{AtomicBool, AtomicUsize, Ordering};
+use std::sync::Arc;
+use std::task::{Context, Poll};
+
+use futures::{future::BoxFuture, FutureExt, Sink, SinkExt, Stream};
+
+use crate::client::Client;
+use crate::models::gateway::message::{ClientMsg, ServerMsg};
+
+use super::{GatewayError, GatewaySocket};
+
+/// Gateway connection that provides automatic reconnect
+/// functionality as part of the [Sink]/[Stream] APIs.
+///
+/// However, it does not automatically perform the [Hello](ServerMsg::Hello)/[Identify](ClientMsg::Identify) handshake.
+///
+/// Upon reconnecting the underlying websocket, the server will send
+/// a [Hello](ServerMsg::Hello) event to initiate the handshake.
+///
+/// Any errors that occur will still be passed through, and must be handled appropriately. Spamming
+/// servers will reconnections will lead to rate-limiting and possibly automated bans.
+pub struct GatewayConnection {
+    client: Client,
+    connecting: Option<BoxFuture<'static, Result<GatewaySocket, GatewayError>>>,
+    socket: Option<GatewaySocket>,
+    control: Arc<GatewayConnectionControl>,
+}
+
+pub struct GatewayConnectionControl {
+    closed: AtomicBool,
+    reconnects: AtomicUsize,
+    reconnect_limit: AtomicUsize,
+}
+
+impl GatewayConnectionControl {
+    /// Resets the connection attempt counter and opens up for new connections.
+    pub fn reset(&self) {
+        self.reconnects.store(0, Ordering::SeqCst);
+        self.closed.store(false, Ordering::SeqCst);
+    }
+
+    /// Sets the reconnect limit to a non-zero value. Does not immediately disconnect if
+    /// the current reconnection counter is above this.
+    pub fn set_reconnect_limit(&self, limit: NonZeroUsize) {
+        self.reconnect_limit.store(limit.get(), Ordering::SeqCst);
+    }
+
+    /// Prevent reconnecting
+    pub fn noreconnect(&self) {
+        self.closed.store(true, Ordering::SeqCst);
+    }
+}
+
+impl GatewayConnection {
+    #[must_use]
+    pub fn new(client: Client) -> GatewayConnection {
+        GatewayConnection {
+            client,
+            connecting: None,
+            socket: None,
+            control: Arc::new(GatewayConnectionControl {
+                closed: AtomicBool::new(false),
+                reconnects: AtomicUsize::new(0),
+                reconnect_limit: AtomicUsize::new(20),
+            }),
+        }
+    }
+
+    /// Manually initiate a new connection of the gateway websocket
+    ///
+    /// This does not handle any responses to server events.
+    pub async fn connect(&mut self) -> Result<(), GatewayError> {
+        futures::future::poll_fn(move |cx| self.poll_project_socket(cx).map_ok(|_| ())).await
+    }
+
+    /// Get a reference to the control structure
+    pub fn control(&self) -> Arc<GatewayConnectionControl> {
+        self.control.clone()
+    }
+
+    /// Acquire a pinned projection of the socket, or poll the connecting future.
+    fn poll_project_socket(&mut self, cx: &mut Context<'_>) -> Poll<Result<Pin<&mut GatewaySocket>, GatewayError>> {
+        // fast path, project socket
+        if let Some(ref mut socket) = self.socket {
+            return Poll::Ready(Ok(Pin::new(socket)));
+        }
+
+        self.poll_project_socket_cold(cx)
+    }
+
+    /// Poll the connecting future to acquire a new socket over time
+    #[inline(never)]
+    fn poll_project_socket_cold(&mut self, cx: &mut Context<'_>) -> Poll<Result<Pin<&mut GatewaySocket>, GatewayError>> {
+        // if there is no connecting future, set one up
+        if self.connecting.is_none() {
+            if self.control.closed.load(Ordering::SeqCst) {
+                return Poll::Ready(Err(GatewayError::Disconnected));
+            }
+
+            let limit = self.control.reconnect_limit.load(Ordering::SeqCst);
+            if self.control.reconnects.fetch_add(1, Ordering::SeqCst) > limit {
+                self.control.closed.store(true, Ordering::SeqCst);
+
+                return Poll::Ready(Err(GatewayError::ReconnectLimitExceeded(limit)));
+            }
+
+            self.connecting = Some(GatewaySocket::connect(self.client.driver()).boxed());
+        }
+
+        match self.connecting {
+            Some(ref mut connecting) => match connecting.poll_unpin(cx) {
+                Poll::Pending => Poll::Pending,
+                Poll::Ready(Err(e)) => Poll::Ready(Err(e)),
+                Poll::Ready(Ok(socket)) => {
+                    self.socket = Some(socket);
+                    self.connecting = None;
+
+                    Poll::Ready(Ok(match self.socket {
+                        // just assigned, project
+                        Some(ref mut socket) => Pin::new(socket),
+                        None => unsafe { core::hint::unreachable_unchecked() },
+                    }))
+                }
+            },
+            // just checked/assigned, so this path is impossible
+            None => unsafe { core::hint::unreachable_unchecked() },
+        }
+    }
+}
+
+impl Stream for GatewayConnection {
+    type Item = Result<ServerMsg, GatewayError>;
+
+    fn poll_next(mut self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Option<Self::Item>> {
+        let res = match self.poll_project_socket(cx) {
+            Poll::Pending => return Poll::Pending,
+            Poll::Ready(Ok(socket)) => futures::ready!(socket.poll_next(cx)),
+            Poll::Ready(Err(e)) => Some(Err(e)),
+        };
+
+        if let None | Some(Err(_)) = res {
+            self.socket = None; // drop socket
+        }
+
+        Poll::Ready(res)
+    }
+}
+
+impl Sink<ClientMsg> for GatewayConnection {
+    type Error = GatewayError;
+
+    fn poll_ready(mut self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Result<(), GatewayError>> {
+        let res = match self.poll_project_socket(cx) {
+            Poll::Pending => return Poll::Pending,
+            Poll::Ready(Ok(socket)) => futures::ready!(socket.poll_ready(cx)),
+            Poll::Ready(Err(err)) => Err(err),
+        };
+
+        if res.is_err() {
+            self.socket = None; // drop socket
+        }
+
+        Poll::Ready(res)
+    }
+
+    #[inline]
+    fn start_send(mut self: Pin<&mut Self>, item: ClientMsg) -> Result<(), GatewayError> {
+        match self.socket {
+            Some(ref mut socket) => socket.start_send_unpin(item).inspect_err(|_| {
+                self.socket = None; // drop socket
+            }),
+            // `start_send` doesn't poll or have a context, so there is no way to initiate the reconnect
+            None => Err(GatewayError::Disconnected),
+        }
+    }
+
+    fn poll_flush(mut self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Result<(), GatewayError>> {
+        let res = match futures::ready!(self.poll_project_socket(cx)) {
+            Ok(socket) => futures::ready!(socket.poll_flush(cx)),
+            Err(e) => Err(e),
+        };
+
+        if res.is_err() {
+            self.socket = None; // drop socket
+        }
+
+        Poll::Ready(res)
+    }
+
+    fn poll_close(mut self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Result<(), GatewayError>> {
+        // ensure it won't reconnect automatically
+        self.control.closed.store(true, Ordering::SeqCst);
+
+        let res = match futures::ready!(self.poll_project_socket(cx)) {
+            Ok(socket) => futures::ready!(socket.poll_close(cx)),
+            Err(e) => Err(e),
+        };
+
+        self.socket = None; // drop socket
+
+        Poll::Ready(res)
+    }
+}
+
\ No newline at end of file diff --git a/src/client_sdk/gateway/error.rs.html b/src/client_sdk/gateway/error.rs.html new file mode 100644 index 000000000..1175f1708 --- /dev/null +++ b/src/client_sdk/gateway/error.rs.html @@ -0,0 +1,87 @@ +error.rs - source
1
+2
+3
+4
+5
+6
+7
+8
+9
+10
+11
+12
+13
+14
+15
+16
+17
+18
+19
+20
+21
+22
+23
+24
+25
+26
+27
+28
+29
+30
+31
+32
+33
+34
+35
+36
+37
+38
+39
+40
+41
+42
+43
+
use tokio_tungstenite::tungstenite::Error as WSError;
+
+#[derive(Debug, thiserror::Error)]
+pub enum GatewayError {
+    #[error("WS Error: {0}")]
+    WSError(#[from] WSError),
+
+    #[error("Gateway Disconnected")]
+    Disconnected,
+
+    #[error("Exceeded Reconnect Limit of {0} Attempts")]
+    ReconnectLimitExceeded(usize),
+
+    #[error("Json Error: {0}")]
+    JsonError(#[from] serde_json::Error),
+
+    #[cfg(feature = "cbor")]
+    #[error("CBOR Encode Error: {0}")]
+    CborEncodeError(#[from] ciborium::ser::Error<std::io::Error>),
+    #[cfg(feature = "cbor")]
+    #[error("CBOR Encode Error: {0}")]
+    CborDecodeError(#[from] ciborium::de::Error<std::io::Error>),
+
+    #[error("Compression Error")]
+    CompressionError,
+
+    #[error("Close Error: {0:?}")]
+    CloseError(GatewayErrorCode),
+}
+
+#[rustfmt::skip]
+#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
+#[derive(serde_repr::Serialize_repr, serde_repr::Deserialize_repr)]
+#[cfg_attr(feature = "schema", derive(schemars::JsonSchema_repr))]
+#[derive(enum_primitive_derive::Primitive)]
+#[repr(u16)]
+pub enum GatewayErrorCode {
+    UnknownError        = 4000,
+    UnknownOpcode       = 4001,
+    DecodeError         = 4002,
+    NotAuthenticated    = 4003,
+    AuthFailed          = 4004,
+}
+
\ No newline at end of file diff --git a/src/client_sdk/gateway/mod.rs.html b/src/client_sdk/gateway/mod.rs.html new file mode 100644 index 000000000..5c141d834 --- /dev/null +++ b/src/client_sdk/gateway/mod.rs.html @@ -0,0 +1,15 @@ +mod.rs - source
1
+2
+3
+4
+5
+6
+7
+
mod conn;
+mod error;
+mod socket;
+
+pub use conn::{GatewayConnection, GatewayConnectionControl};
+pub use error::{GatewayError, GatewayErrorCode};
+pub use socket::GatewaySocket;
+
\ No newline at end of file diff --git a/src/client_sdk/gateway/socket.rs.html b/src/client_sdk/gateway/socket.rs.html new file mode 100644 index 000000000..e9e765279 --- /dev/null +++ b/src/client_sdk/gateway/socket.rs.html @@ -0,0 +1,277 @@ +socket.rs - source
1
+2
+3
+4
+5
+6
+7
+8
+9
+10
+11
+12
+13
+14
+15
+16
+17
+18
+19
+20
+21
+22
+23
+24
+25
+26
+27
+28
+29
+30
+31
+32
+33
+34
+35
+36
+37
+38
+39
+40
+41
+42
+43
+44
+45
+46
+47
+48
+49
+50
+51
+52
+53
+54
+55
+56
+57
+58
+59
+60
+61
+62
+63
+64
+65
+66
+67
+68
+69
+70
+71
+72
+73
+74
+75
+76
+77
+78
+79
+80
+81
+82
+83
+84
+85
+86
+87
+88
+89
+90
+91
+92
+93
+94
+95
+96
+97
+98
+99
+100
+101
+102
+103
+104
+105
+106
+107
+108
+109
+110
+111
+112
+113
+114
+115
+116
+117
+118
+119
+120
+121
+122
+123
+124
+125
+126
+127
+128
+129
+130
+131
+132
+133
+134
+135
+136
+137
+138
+
use core::pin::Pin;
+use core::task::{Context, Poll};
+
+use futures::{Sink, Stream};
+use tokio_tungstenite::tungstenite::protocol::frame::coding::CloseCode;
+use tokio_tungstenite::tungstenite::Message as WsMessage;
+
+type WebSocket = tokio_tungstenite::WebSocketStream<tokio_tungstenite::MaybeTlsStream<tokio::net::TcpStream>>;
+
+use crate::driver::{Driver, Encoding};
+use crate::models::gateway::message::{ClientMsg, ServerMsg};
+
+use super::error::GatewayErrorCode;
+use super::GatewayError;
+
+pin_project_lite::pin_project! {
+    /// Raw WebSocket adapter that handles encoding and decoding of messages
+    pub struct GatewaySocket {
+        #[pin]
+        ws: WebSocket,
+        encoding: Encoding,
+        compress: bool,
+    }
+}
+
+impl GatewaySocket {
+    pub async fn connect(driver: Driver) -> Result<Self, GatewayError> {
+        // TODO: Setup a circuit breaker to run this in a loop until it succeeds
+        let (ws, _) = tokio_tungstenite::connect_async(format!(
+            "ws{}/api/v1/gateway?compress=true&encoding={}",
+            &driver.uri[4..],
+            match driver.encoding {
+                Encoding::JSON => "json",
+                #[cfg(feature = "cbor")]
+                Encoding::CBOR => "cbor",
+            }
+        ))
+        .await?;
+
+        Ok(GatewaySocket {
+            ws,
+            encoding: driver.encoding,
+            compress: true,
+        })
+    }
+
+    fn encode(&self, msg: ClientMsg) -> Result<WsMessage, GatewayError> {
+        let mut body = Vec::new();
+
+        match self.encoding {
+            Encoding::JSON => serde_json::to_writer(&mut body, &msg)?,
+            #[cfg(feature = "cbor")]
+            Encoding::CBOR => ciborium::ser::into_writer(&msg, &mut body)?,
+        }
+
+        if self.compress {
+            body = miniz_oxide::deflate::compress_to_vec_zlib(&body, 9);
+        }
+
+        Ok(WsMessage::Binary(body))
+    }
+
+    fn decode(&self, msg: WsMessage) -> Result<ServerMsg, GatewayError> {
+        match &msg {
+            WsMessage::Close(None) => return Err(GatewayError::Disconnected),
+            WsMessage::Close(Some(msg)) => {
+                return Err(match msg.code {
+                    CloseCode::Library(code) => {
+                        use num_traits::FromPrimitive;
+
+                        GatewayError::CloseError(match GatewayErrorCode::from_u16(code) {
+                            Some(code) => code,
+                            None => GatewayErrorCode::UnknownError,
+                        })
+                    }
+                    _ => GatewayError::Disconnected,
+                });
+            }
+            _ => {}
+        }
+
+        let mut body = msg.into_data();
+
+        if self.compress {
+            body = match miniz_oxide::inflate::decompress_to_vec_zlib(&body) {
+                Ok(body) => body,
+                Err(_) => return Err(GatewayError::CompressionError),
+            };
+        }
+
+        Ok(match self.encoding {
+            Encoding::JSON => serde_json::from_slice(&body)?,
+            #[cfg(feature = "cbor")]
+            Encoding::CBOR => ciborium::de::from_reader(&body[..])?,
+        })
+    }
+}
+
+impl Sink<ClientMsg> for GatewaySocket {
+    type Error = GatewayError;
+
+    #[inline]
+    fn poll_ready(self: Pin<&mut Self>, cx: &mut Context) -> Poll<Result<(), GatewayError>> {
+        self.project().ws.poll_ready(cx).map_err(GatewayError::from)
+    }
+
+    #[inline]
+    fn start_send(self: Pin<&mut Self>, msg: ClientMsg) -> Result<(), GatewayError> {
+        let item = self.encode(msg)?;
+        self.project().ws.start_send(item).map_err(GatewayError::from)
+    }
+
+    #[inline]
+    fn poll_flush(self: Pin<&mut Self>, cx: &mut Context) -> Poll<Result<(), GatewayError>> {
+        self.project().ws.poll_flush(cx).map_err(GatewayError::from)
+    }
+
+    #[inline]
+    fn poll_close(self: Pin<&mut Self>, cx: &mut Context) -> Poll<Result<(), GatewayError>> {
+        self.project().ws.poll_close(cx).map_err(GatewayError::from)
+    }
+}
+
+impl Stream for GatewaySocket {
+    type Item = Result<ServerMsg, GatewayError>;
+
+    #[inline]
+    fn poll_next(mut self: Pin<&mut Self>, cx: &mut Context) -> Poll<Option<Self::Item>> {
+        let this = self.as_mut().project();
+
+        Poll::Ready(match this.ws.poll_next(cx) {
+            Poll::Ready(None) => None,
+            Poll::Ready(Some(Ok(msg))) => Some(self.decode(msg)),
+            Poll::Ready(Some(Err(e))) => Some(Err(e.into())),
+            Poll::Pending => return Poll::Pending,
+        })
+    }
+}
+
\ No newline at end of file diff --git a/src/client_sdk/lib.rs.html b/src/client_sdk/lib.rs.html new file mode 100644 index 000000000..4a762a1b8 --- /dev/null +++ b/src/client_sdk/lib.rs.html @@ -0,0 +1,79 @@ +lib.rs - source
1
+2
+3
+4
+5
+6
+7
+8
+9
+10
+11
+12
+13
+14
+15
+16
+17
+18
+19
+20
+21
+22
+23
+24
+25
+26
+27
+28
+29
+30
+31
+32
+33
+34
+35
+36
+37
+38
+39
+
//! Lantern Chat Client SDK
+
+//#![cfg_attr(not(feature = "std"), no_std)]
+#![warn(clippy::perf, clippy::must_use_candidate, clippy::complexity, clippy::suspicious)]
+#![allow(clippy::bad_bit_mask, non_local_definitions)]
+
+extern crate alloc;
+
+#[cfg(all(feature = "typed-builder", feature = "bon"))]
+compile_error!("'typed-builder' and 'bon' features are mutually exclusive");
+
+#[macro_use]
+extern crate serde;
+
+#[macro_use]
+extern crate bitflags_serde_shim;
+
+pub use models::{FxRandomState2, Snowflake};
+
+#[macro_use]
+pub mod models;
+
+#[cfg(feature = "api")]
+pub mod api;
+
+#[cfg(feature = "driver")]
+pub mod driver;
+
+#[cfg(feature = "client")]
+pub mod client;
+
+#[cfg(feature = "gateway")]
+pub mod gateway;
+
+#[cfg(feature = "framework")]
+pub mod framework;
+
+#[cfg(feature = "framework_utils")]
+pub mod framework_utils;
+
\ No newline at end of file diff --git a/src/client_sdk/models/asset.rs.html b/src/client_sdk/models/asset.rs.html new file mode 100644 index 000000000..b5348b5e9 --- /dev/null +++ b/src/client_sdk/models/asset.rs.html @@ -0,0 +1,221 @@ +asset.rs - source
1
+2
+3
+4
+5
+6
+7
+8
+9
+10
+11
+12
+13
+14
+15
+16
+17
+18
+19
+20
+21
+22
+23
+24
+25
+26
+27
+28
+29
+30
+31
+32
+33
+34
+35
+36
+37
+38
+39
+40
+41
+42
+43
+44
+45
+46
+47
+48
+49
+50
+51
+52
+53
+54
+55
+56
+57
+58
+59
+60
+61
+62
+63
+64
+65
+66
+67
+68
+69
+70
+71
+72
+73
+74
+75
+76
+77
+78
+79
+80
+81
+82
+83
+84
+85
+86
+87
+88
+89
+90
+91
+92
+93
+94
+95
+96
+97
+98
+99
+100
+101
+102
+103
+104
+105
+106
+107
+108
+109
+110
+
bitflags::bitflags! {
+    /// NOTE: Formats are as individual bitflags (rather than some integer value) so we can do
+    /// simpler queries when matching valid formats. A user can select formats A, B and C, and testing for a match
+    /// can be done with a single bitwise-AND operation, rather than many comparisons or an `IN ARRAY` operation.
+    #[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
+    pub struct AssetFlags: i16 {
+        /// 7-bit unsigned integer for quality from `[0-128)`
+        ///
+        /// A quality value greater then 100 indicates some lossless encoding
+        const QUALITY  = 0x7F;
+
+        /// Indicates if the encoded image has an alpha channel
+        const HAS_ALPHA = 1 << 8;
+
+        /// Indicates if the encoded image is animated
+        const ANIMATED = 1 << 9;
+
+        /// PNG format
+        const FORMAT_PNG  = 1 << 10;
+        /// JPEG format
+        const FORMAT_JPEG = 1 << 11;
+        /// GIF format
+        const FORMAT_GIF  = 1 << 12;
+        /// AVIF format
+        const FORMAT_AVIF = 1 << 13;
+        /// WebM format
+        const FORMAT_WEBM = 1 << 14;
+        /// Jpeg XL format
+        const FORMAT_JXL  = 1 << 15;
+
+        /// All supported formats
+        const FORMATS = 0
+            | Self::FORMAT_PNG.bits()
+            | Self::FORMAT_JPEG.bits()
+            | Self::FORMAT_GIF.bits()
+            | Self::FORMAT_AVIF.bits()
+            | Self::FORMAT_WEBM.bits()
+            | Self::FORMAT_JXL.bits();
+
+        /// These formats don't have widespread support yet, so don't include them by default
+        const MAYBE_UNSUPPORTED_FORMATS = 0
+            | Self::FORMAT_AVIF.bits()
+            | Self::FORMAT_JXL.bits();
+
+        /// All qualifier flags
+        const FLAGS = 0
+            | Self::HAS_ALPHA.bits()
+            | Self::ANIMATED.bits();
+
+        /// All formats and flags
+        const FORMATS_AND_FLAGS = 0
+            | Self::FORMATS.bits()
+            | Self::FLAGS.bits();
+    }
+}
+
+impl_rkyv_for_bitflags!(pub AssetFlags: i16);
+impl_serde_for_bitflags!(AssetFlags);
+impl_schema_for_bitflags!(AssetFlags);
+impl_sql_for_bitflags!(AssetFlags);
+
+impl AssetFlags {
+    /// Sets the quality of the asset, clamping to `[0-128)`
+    #[must_use]
+    pub const fn with_quality(self, q: u8) -> Self {
+        self.intersection(Self::QUALITY.complement()).union(if q < 128 {
+            AssetFlags::from_bits_truncate(q as i16)
+        } else {
+            AssetFlags::QUALITY
+        })
+    }
+
+    /// Sets the alpha channel flag
+    #[must_use]
+    pub const fn with_alpha(&self, has_alpha: bool) -> Self {
+        if has_alpha {
+            self.union(Self::HAS_ALPHA)
+        } else {
+            self.difference(Self::HAS_ALPHA)
+        }
+    }
+
+    /// Gets the quality value from the asset flags
+    #[must_use]
+    pub const fn quality(&self) -> u8 {
+        self.intersection(Self::QUALITY).bits() as u8
+    }
+
+    /// Constructs a new `AssetFlags` from the given extension
+    #[must_use]
+    pub fn from_ext(ext: &str) -> Self {
+        static FORMAT_EXTS: &[(AssetFlags, &str)] = &[
+            (AssetFlags::FORMAT_PNG, "png"),
+            (AssetFlags::FORMAT_JPEG, "jpeg"),
+            (AssetFlags::FORMAT_JPEG, "jpg"),
+            (AssetFlags::FORMAT_GIF, "gif"),
+            (AssetFlags::FORMAT_AVIF, "avif"),
+        ];
+
+        if (3..5).contains(&ext.len()) {
+            for &(f, e) in FORMAT_EXTS {
+                if ext.eq_ignore_ascii_case(e) {
+                    return f;
+                }
+            }
+        }
+
+        AssetFlags::empty()
+    }
+}
+
\ No newline at end of file diff --git a/src/client_sdk/models/auth.rs.html b/src/client_sdk/models/auth.rs.html new file mode 100644 index 000000000..2999c292f --- /dev/null +++ b/src/client_sdk/models/auth.rs.html @@ -0,0 +1,321 @@ +auth.rs - source
1
+2
+3
+4
+5
+6
+7
+8
+9
+10
+11
+12
+13
+14
+15
+16
+17
+18
+19
+20
+21
+22
+23
+24
+25
+26
+27
+28
+29
+30
+31
+32
+33
+34
+35
+36
+37
+38
+39
+40
+41
+42
+43
+44
+45
+46
+47
+48
+49
+50
+51
+52
+53
+54
+55
+56
+57
+58
+59
+60
+61
+62
+63
+64
+65
+66
+67
+68
+69
+70
+71
+72
+73
+74
+75
+76
+77
+78
+79
+80
+81
+82
+83
+84
+85
+86
+87
+88
+89
+90
+91
+92
+93
+94
+95
+96
+97
+98
+99
+100
+101
+102
+103
+104
+105
+106
+107
+108
+109
+110
+111
+112
+113
+114
+115
+116
+117
+118
+119
+120
+121
+122
+123
+124
+125
+126
+127
+128
+129
+130
+131
+132
+133
+134
+135
+136
+137
+138
+139
+140
+141
+142
+143
+144
+145
+146
+147
+148
+149
+150
+151
+152
+153
+154
+155
+156
+157
+158
+159
+160
+
use core::{fmt, str::FromStr};
+
+use super::*;
+
+// NOTE: Keep these in sync with the lengths in client-sdk-ts
+
+/// Fixed-length string with a maximum length of 28 bytes for bearer tokens.
+pub type BearerToken = FixedStr<28>;
+/// Fixed-length string with a maximum length of 48 bytes for bot tokens.
+pub type BotToken = FixedStr<48>;
+
+const BEARER_PREFIX: &str = "Bearer ";
+const BOT_PREFIX: &str = "Bot ";
+
+const BEARER_HEADER_LENGTH: usize = BEARER_PREFIX.len() + BearerToken::LEN;
+const BOT_HEADER_LENGTH: usize = BOT_PREFIX.len() + BotToken::LEN;
+
+const MAX_LENGTH: usize = {
+    if BEARER_HEADER_LENGTH < BOT_HEADER_LENGTH {
+        BOT_HEADER_LENGTH
+    } else {
+        BEARER_HEADER_LENGTH
+    }
+};
+
+/// Raw base64-encoded auth tokens for users and bots.
+#[derive(Debug, Clone, Copy, Serialize)]
+#[cfg_attr(feature = "schema", derive(schemars::JsonSchema))]
+#[cfg_attr(feature = "rkyv", derive(rkyv::Archive, rkyv::Serialize, rkyv::Deserialize))]
+#[cfg_attr(feature = "ts", derive(ts_bindgen::TypeScriptDef))]
+#[serde(untagged)]
+pub enum AuthToken {
+    /// Bearer token for users
+    Bearer(BearerToken),
+    /// Bot token for bots
+    Bot(BotToken),
+}
+
+// TODO: rkyv AuthToken without discriminator by using token length
+
+#[derive(Debug)]
+pub struct InvalidAuthToken;
+
+impl fmt::Display for InvalidAuthToken {
+    fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
+        f.write_str("Invalid Auth Token")
+    }
+}
+
+impl core::error::Error for InvalidAuthToken {}
+
+impl AuthToken {
+    #[must_use]
+    pub fn raw_header(&self) -> arrayvec::ArrayString<{ MAX_LENGTH }> {
+        let (prefix, value) = match self {
+            AuthToken::Bearer(ref token) => (BEARER_PREFIX, token.as_ref()),
+            AuthToken::Bot(ref token) => (BOT_PREFIX, token.as_ref()),
+        };
+
+        let mut buffer = arrayvec::ArrayString::new();
+
+        buffer.push_str(prefix);
+        buffer.push_str(value);
+
+        buffer
+    }
+
+    #[cfg(feature = "http")]
+    pub fn headervalue(&self) -> Result<http::HeaderValue, http::header::InvalidHeaderValue> {
+        http::HeaderValue::from_str(&self.raw_header()).map(|mut h| {
+            h.set_sensitive(true);
+            h
+        })
+    }
+
+    pub fn from_header(mut value: &str) -> Result<Self, InvalidAuthToken> {
+        value = value.trim();
+
+        if value.len() == BEARER_HEADER_LENGTH && value.starts_with(BEARER_PREFIX) {
+            return Ok(AuthToken::Bearer(BearerToken::new(&value[BEARER_PREFIX.len()..])));
+        }
+
+        if value.len() == BOT_HEADER_LENGTH && value.starts_with(BOT_PREFIX) {
+            return Ok(AuthToken::Bot(BotToken::new(&value[BOT_PREFIX.len()..])));
+        }
+
+        Err(InvalidAuthToken)
+    }
+}
+
+impl fmt::Display for AuthToken {
+    fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
+        f.write_str(&self.raw_header())
+    }
+}
+
+impl FromStr for AuthToken {
+    type Err = InvalidAuthToken;
+
+    fn from_str(mut value: &str) -> Result<Self, InvalidAuthToken> {
+        value = value.trim();
+
+        if value.len() == BearerToken::LEN {
+            return Ok(AuthToken::Bearer(BearerToken::new(value)));
+        }
+
+        if value.len() == BotToken::LEN {
+            return Ok(AuthToken::Bot(BotToken::new(value)));
+        }
+
+        Err(InvalidAuthToken)
+    }
+}
+
+impl core::ops::Deref for AuthToken {
+    type Target = str;
+
+    #[inline]
+    fn deref(&self) -> &str {
+        match self {
+            AuthToken::Bearer(ref token) => token.as_ref(),
+            AuthToken::Bot(ref token) => token.as_ref(),
+        }
+    }
+}
+
+mod serde_impl {
+    use super::{AuthToken, BearerToken, BotToken};
+
+    use core::fmt;
+
+    use serde::de::{self, Deserialize, Deserializer, Visitor};
+
+    impl<'de> Deserialize<'de> for AuthToken {
+        fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error> {
+            struct AuthTokenVisitor;
+
+            impl Visitor<'_> for AuthTokenVisitor {
+                type Value = AuthToken;
+
+                fn expecting(&self, f: &mut fmt::Formatter) -> fmt::Result {
+                    write!(f, "a string of length {} or {}", BearerToken::LEN, BotToken::LEN)
+                }
+
+                // fast path that doesn't have to fail one of them first
+                fn visit_str<E: de::Error>(self, value: &str) -> Result<Self::Value, E> {
+                    if value.len() == BearerToken::LEN {
+                        Ok(AuthToken::Bearer(BearerToken::new(value)))
+                    } else if value.len() == BotToken::LEN {
+                        Ok(AuthToken::Bot(BotToken::new(value)))
+                    } else {
+                        Err(E::invalid_length(value.len(), &self))
+                    }
+                }
+            }
+
+            deserializer.deserialize_str(AuthTokenVisitor)
+        }
+    }
+}
+
\ No newline at end of file diff --git a/src/client_sdk/models/config.rs.html b/src/client_sdk/models/config.rs.html new file mode 100644 index 000000000..b382c8e23 --- /dev/null +++ b/src/client_sdk/models/config.rs.html @@ -0,0 +1,81 @@ +config.rs - source
1
+2
+3
+4
+5
+6
+7
+8
+9
+10
+11
+12
+13
+14
+15
+16
+17
+18
+19
+20
+21
+22
+23
+24
+25
+26
+27
+28
+29
+30
+31
+32
+33
+34
+35
+36
+37
+38
+39
+40
+
use super::*;
+
+pub type HCaptchaSiteKey = FixedStr<36>;
+
+#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
+#[cfg_attr(feature = "schema", derive(schemars::JsonSchema))]
+#[cfg_attr(feature = "rkyv", derive(rkyv::Archive, rkyv::Serialize, rkyv::Deserialize))]
+#[cfg_attr(feature = "ts", derive(ts_bindgen::TypeScriptDef))]
+pub struct ServerConfig {
+    pub hcaptcha_sitekey: HCaptchaSiteKey,
+
+    /// CDN Domain
+    pub cdn: SmolStr,
+
+    /// Minimum user age (in years)
+    pub min_age: u8,
+
+    /// If the serve should require HTTPS
+    pub secure: bool,
+
+    pub limits: ServerLimits,
+
+    /// If true, use a "camo"/camouflage route provided at "{cdn}/camo/base64_url/url_signature"
+    pub camo: bool,
+}
+
+#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
+#[cfg_attr(feature = "schema", derive(schemars::JsonSchema))]
+#[cfg_attr(feature = "rkyv", derive(rkyv::Archive, rkyv::Serialize, rkyv::Deserialize))]
+#[cfg_attr(feature = "ts", derive(ts_bindgen::TypeScriptDef))]
+pub struct ServerLimits {
+    pub max_upload_size: u64,
+    pub max_avatar_size: u32,
+    pub max_banner_size: u32,
+    pub max_avatar_pixels: u32,
+    pub max_banner_pixels: u32,
+    pub avatar_width: u32,
+    pub banner_width: u32,
+    pub banner_height: u32,
+}
+
\ No newline at end of file diff --git a/src/client_sdk/models/embed/mod.rs.html b/src/client_sdk/models/embed/mod.rs.html new file mode 100644 index 000000000..53b7c097d --- /dev/null +++ b/src/client_sdk/models/embed/mod.rs.html @@ -0,0 +1,93 @@ +mod.rs - source
1
+2
+3
+4
+5
+6
+7
+8
+9
+10
+11
+12
+13
+14
+15
+16
+17
+18
+19
+20
+21
+22
+23
+24
+25
+26
+27
+28
+29
+30
+31
+32
+33
+34
+35
+36
+37
+38
+39
+40
+41
+42
+43
+44
+45
+46
+
use super::*;
+
+/// Default type returned by the embed server
+///
+/// You probably want to deserialise the payloads with this type alias
+pub type EmbedWithExpire = (timestamp::Timestamp, Embed);
+
+#[derive(Debug, Clone, Serialize, Deserialize)]
+#[non_exhaustive]
+#[cfg_attr(feature = "schema", derive(schemars::JsonSchema))]
+#[cfg_attr(feature = "rkyv", derive(rkyv::Archive, rkyv::Serialize, rkyv::Deserialize))]
+#[cfg_attr(feature = "ts", derive(ts_bindgen::TypeScriptDef))]
+#[serde(tag = "v")]
+pub enum Embed {
+    #[serde(rename = "1")]
+    V1(EmbedV1),
+}
+
+pub mod v1;
+pub use v1::*;
+
+impl Embed {
+    #[must_use]
+    pub fn url(&self) -> Option<&str> {
+        match self {
+            Embed::V1(embed) => embed.url.as_ref().map(|x| x as _),
+        }
+    }
+}
+
+fn is_false(value: &bool) -> bool {
+    !*value
+}
+
+#[cfg(test)]
+mod tests {
+    use super::*;
+
+    #[cfg(feature = "rkyv")]
+    #[test]
+    fn test_rkyv() {
+        use rkyv::{rancor::Error, Archived};
+
+        _ = rkyv::access::<Archived<Embed>, Error>(&[]);
+    }
+}
+
\ No newline at end of file diff --git a/src/client_sdk/models/embed/v1.rs.html b/src/client_sdk/models/embed/v1.rs.html new file mode 100644 index 000000000..d9203df90 --- /dev/null +++ b/src/client_sdk/models/embed/v1.rs.html @@ -0,0 +1,1379 @@ +v1.rs - source
1
+2
+3
+4
+5
+6
+7
+8
+9
+10
+11
+12
+13
+14
+15
+16
+17
+18
+19
+20
+21
+22
+23
+24
+25
+26
+27
+28
+29
+30
+31
+32
+33
+34
+35
+36
+37
+38
+39
+40
+41
+42
+43
+44
+45
+46
+47
+48
+49
+50
+51
+52
+53
+54
+55
+56
+57
+58
+59
+60
+61
+62
+63
+64
+65
+66
+67
+68
+69
+70
+71
+72
+73
+74
+75
+76
+77
+78
+79
+80
+81
+82
+83
+84
+85
+86
+87
+88
+89
+90
+91
+92
+93
+94
+95
+96
+97
+98
+99
+100
+101
+102
+103
+104
+105
+106
+107
+108
+109
+110
+111
+112
+113
+114
+115
+116
+117
+118
+119
+120
+121
+122
+123
+124
+125
+126
+127
+128
+129
+130
+131
+132
+133
+134
+135
+136
+137
+138
+139
+140
+141
+142
+143
+144
+145
+146
+147
+148
+149
+150
+151
+152
+153
+154
+155
+156
+157
+158
+159
+160
+161
+162
+163
+164
+165
+166
+167
+168
+169
+170
+171
+172
+173
+174
+175
+176
+177
+178
+179
+180
+181
+182
+183
+184
+185
+186
+187
+188
+189
+190
+191
+192
+193
+194
+195
+196
+197
+198
+199
+200
+201
+202
+203
+204
+205
+206
+207
+208
+209
+210
+211
+212
+213
+214
+215
+216
+217
+218
+219
+220
+221
+222
+223
+224
+225
+226
+227
+228
+229
+230
+231
+232
+233
+234
+235
+236
+237
+238
+239
+240
+241
+242
+243
+244
+245
+246
+247
+248
+249
+250
+251
+252
+253
+254
+255
+256
+257
+258
+259
+260
+261
+262
+263
+264
+265
+266
+267
+268
+269
+270
+271
+272
+273
+274
+275
+276
+277
+278
+279
+280
+281
+282
+283
+284
+285
+286
+287
+288
+289
+290
+291
+292
+293
+294
+295
+296
+297
+298
+299
+300
+301
+302
+303
+304
+305
+306
+307
+308
+309
+310
+311
+312
+313
+314
+315
+316
+317
+318
+319
+320
+321
+322
+323
+324
+325
+326
+327
+328
+329
+330
+331
+332
+333
+334
+335
+336
+337
+338
+339
+340
+341
+342
+343
+344
+345
+346
+347
+348
+349
+350
+351
+352
+353
+354
+355
+356
+357
+358
+359
+360
+361
+362
+363
+364
+365
+366
+367
+368
+369
+370
+371
+372
+373
+374
+375
+376
+377
+378
+379
+380
+381
+382
+383
+384
+385
+386
+387
+388
+389
+390
+391
+392
+393
+394
+395
+396
+397
+398
+399
+400
+401
+402
+403
+404
+405
+406
+407
+408
+409
+410
+411
+412
+413
+414
+415
+416
+417
+418
+419
+420
+421
+422
+423
+424
+425
+426
+427
+428
+429
+430
+431
+432
+433
+434
+435
+436
+437
+438
+439
+440
+441
+442
+443
+444
+445
+446
+447
+448
+449
+450
+451
+452
+453
+454
+455
+456
+457
+458
+459
+460
+461
+462
+463
+464
+465
+466
+467
+468
+469
+470
+471
+472
+473
+474
+475
+476
+477
+478
+479
+480
+481
+482
+483
+484
+485
+486
+487
+488
+489
+490
+491
+492
+493
+494
+495
+496
+497
+498
+499
+500
+501
+502
+503
+504
+505
+506
+507
+508
+509
+510
+511
+512
+513
+514
+515
+516
+517
+518
+519
+520
+521
+522
+523
+524
+525
+526
+527
+528
+529
+530
+531
+532
+533
+534
+535
+536
+537
+538
+539
+540
+541
+542
+543
+544
+545
+546
+547
+548
+549
+550
+551
+552
+553
+554
+555
+556
+557
+558
+559
+560
+561
+562
+563
+564
+565
+566
+567
+568
+569
+570
+571
+572
+573
+574
+575
+576
+577
+578
+579
+580
+581
+582
+583
+584
+585
+586
+587
+588
+589
+590
+591
+592
+593
+594
+595
+596
+597
+598
+599
+600
+601
+602
+603
+604
+605
+606
+607
+608
+609
+610
+611
+612
+613
+614
+615
+616
+617
+618
+619
+620
+621
+622
+623
+624
+625
+626
+627
+628
+629
+630
+631
+632
+633
+634
+635
+636
+637
+638
+639
+640
+641
+642
+643
+644
+645
+646
+647
+648
+649
+650
+651
+652
+653
+654
+655
+656
+657
+658
+659
+660
+661
+662
+663
+664
+665
+666
+667
+668
+669
+670
+671
+672
+673
+674
+675
+676
+677
+678
+679
+680
+681
+682
+683
+684
+685
+686
+687
+688
+689
+
use super::*;
+
+use timestamp::Timestamp;
+
+use core::ops::{Deref, DerefMut};
+
+pub type UrlSignature = FixedStr<27>;
+
+#[derive(Debug, Clone, Copy, PartialEq, Eq, Serialize, Deserialize)]
+#[serde(rename_all = "lowercase")]
+#[cfg_attr(feature = "schema", derive(schemars::JsonSchema))]
+#[cfg_attr(feature = "rkyv", derive(rkyv::Archive, rkyv::Serialize, rkyv::Deserialize))]
+#[cfg_attr(feature = "ts", derive(ts_bindgen::TypeScriptDef))]
+pub enum EmbedType {
+    #[serde(alias = "image")]
+    Img,
+    Audio,
+    #[serde(alias = "video")]
+    Vid,
+    Html,
+    Link,
+    Article,
+}
+
+bitflags::bitflags! {
+    #[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
+    pub struct EmbedFlags: i16 {
+        /// This embed contains spoilered content and should be displayed as such
+        const SPOILER   = 1 << 0;
+
+        /// This embed may contain content marked as "adult"
+        ///
+        /// NOTE: This is not always accurate, and is provided on a best-effort basis
+        const ADULT     = 1 << 1;
+    }
+}
+
+impl_rkyv_for_bitflags!(pub EmbedFlags: i16);
+impl_serde_for_bitflags!(EmbedFlags);
+impl_schema_for_bitflags!(EmbedFlags);
+impl_sql_for_bitflags!(EmbedFlags);
+
+trait IsNoneOrEmpty {
+    fn is_none_or_empty(&self) -> bool;
+}
+
+impl IsNoneOrEmpty for Option<SmolStr> {
+    fn is_none_or_empty(&self) -> bool {
+        match self {
+            Some(ref value) => value.is_empty(),
+            None => true,
+        }
+    }
+}
+
+impl IsNoneOrEmpty for Option<ThinString> {
+    fn is_none_or_empty(&self) -> bool {
+        match self {
+            Some(ref value) => value.is_empty(),
+            None => true,
+        }
+    }
+}
+
+/// An embed is metadata taken from a given URL by loading said URL, parsing any meta tags, and fetching
+/// extra information from oEmbed sources.
+#[derive(Debug, Clone, Serialize, Deserialize)]
+#[cfg_attr(feature = "schema", derive(schemars::JsonSchema))]
+#[cfg_attr(feature = "typed-builder", derive(typed_builder::TypedBuilder))]
+#[cfg_attr(feature = "bon", derive(bon::Builder))]
+#[cfg_attr(feature = "rkyv", derive(rkyv::Archive, rkyv::Serialize, rkyv::Deserialize))]
+#[cfg_attr(feature = "ts", derive(ts_bindgen::TypeScriptDef))]
+pub struct EmbedV1 {
+    /// Timestamp when the embed was retreived
+    #[cfg_attr(feature = "typed-builder", builder(default = Timestamp::now_utc()))]
+    #[cfg_attr(feature = "bon", builder(default = Timestamp::now_utc()))]
+    pub ts: Timestamp,
+
+    /// Embed type
+    #[serde(alias = "type")]
+    pub ty: EmbedType,
+
+    #[serde(
+        rename = "f",
+        alias = "flags",
+        default = "EmbedFlags::empty",
+        skip_serializing_if = "EmbedFlags::is_empty"
+    )]
+    #[cfg_attr(feature = "typed-builder", builder(default = EmbedFlags::empty()))]
+    #[cfg_attr(feature = "bon", builder(default = EmbedFlags::empty()))]
+    pub flags: EmbedFlags,
+
+    /// URL fetched
+    #[serde(
+        rename = "u",
+        alias = "url",
+        default,
+        skip_serializing_if = "IsNoneOrEmpty::is_none_or_empty"
+    )]
+    #[cfg_attr(feature = "typed-builder", builder(default, setter(into)))]
+    #[cfg_attr(feature = "bon", builder(into))]
+    pub url: Option<ThinString>,
+
+    /// Canonical URL
+    #[serde(
+        rename = "c",
+        alias = "canonical",
+        default,
+        skip_serializing_if = "IsNoneOrEmpty::is_none_or_empty"
+    )]
+    #[cfg_attr(feature = "typed-builder", builder(default, setter(into)))]
+    #[cfg_attr(feature = "bon", builder(into))]
+    pub canonical: Option<ThinString>,
+
+    #[serde(
+        rename = "t",
+        alias = "title",
+        default,
+        skip_serializing_if = "IsNoneOrEmpty::is_none_or_empty"
+    )]
+    #[cfg_attr(feature = "typed-builder", builder(default, setter(into)))]
+    #[cfg_attr(feature = "bon", builder(into))]
+    pub title: Option<ThinString>,
+
+    /// Description, usually from the Open-Graph API
+    #[serde(
+        rename = "d",
+        alias = "description",
+        default,
+        skip_serializing_if = "IsNoneOrEmpty::is_none_or_empty"
+    )]
+    #[cfg_attr(feature = "typed-builder", builder(default, setter(into)))]
+    #[cfg_attr(feature = "bon", builder(into))]
+    pub description: Option<ThinString>,
+
+    /// Accent Color
+    #[serde(rename = "ac", default, skip_serializing_if = "Option::is_none", alias = "color")]
+    #[cfg_attr(feature = "typed-builder", builder(default))]
+    pub color: Option<u32>,
+
+    #[serde(rename = "au", default, skip_serializing_if = "EmbedAuthor::is_none")]
+    #[cfg_attr(feature = "typed-builder", builder(default))]
+    pub author: Option<EmbedAuthor>,
+
+    /// oEmbed Provider
+    #[serde(rename = "p", alias = "provider", default, skip_serializing_if = "EmbedProvider::is_none")]
+    #[cfg_attr(feature = "typed-builder", builder(default))]
+    pub provider: EmbedProvider,
+
+    /// HTML and similar objects
+    ///
+    /// See: <https://www.html5rocks.com/en/tutorials/security/sandboxed-iframes/>
+    #[serde(default, skip_serializing_if = "EmbedMedia::is_empty")]
+    #[cfg_attr(feature = "typed-builder", builder(default, setter(into)))]
+    #[cfg_attr(feature = "bon", builder(into))]
+    #[cfg_attr(feature = "rkyv", rkyv(with = rkyv::with::Niche))]
+    pub obj: Option<Box<EmbedMedia>>,
+    #[serde(default, skip_serializing_if = "EmbedMedia::is_empty", alias = "image")]
+    #[cfg_attr(feature = "typed-builder", builder(default, setter(into)))]
+    #[cfg_attr(feature = "bon", builder(into))]
+    #[cfg_attr(feature = "rkyv", rkyv(with = rkyv::with::Niche))]
+    pub img: Option<Box<EmbedMedia>>,
+    #[serde(default, skip_serializing_if = "EmbedMedia::is_empty")]
+    #[cfg_attr(feature = "typed-builder", builder(default, setter(into)))]
+    #[cfg_attr(feature = "bon", builder(into))]
+    #[cfg_attr(feature = "rkyv", rkyv(with = rkyv::with::Niche))]
+    pub audio: Option<Box<EmbedMedia>>,
+    #[serde(rename = "vid", alias = "video", default, skip_serializing_if = "EmbedMedia::is_empty")]
+    #[cfg_attr(feature = "typed-builder", builder(default, setter(into)))]
+    #[cfg_attr(feature = "bon", builder(into))]
+    #[cfg_attr(feature = "rkyv", rkyv(with = rkyv::with::Niche))]
+    pub video: Option<Box<EmbedMedia>>,
+    #[cfg_attr(feature = "typed-builder", builder(default, setter(into)))]
+    #[cfg_attr(feature = "bon", builder(into))]
+    #[serde(default, skip_serializing_if = "EmbedMedia::is_empty")]
+    #[cfg_attr(feature = "rkyv", rkyv(with = rkyv::with::Niche))]
+    pub thumb: Option<Box<EmbedMedia>>,
+
+    #[serde(default, skip_serializing_if = "Vec::is_empty")]
+    #[cfg_attr(feature = "typed-builder", builder(default, setter(into)))]
+    pub fields: Vec<EmbedField>,
+
+    #[serde(default, skip_serializing_if = "Option::is_none")]
+    #[cfg_attr(feature = "typed-builder", builder(default))]
+    pub footer: Option<EmbedFooter>,
+}
+
+impl EmbedV1 {
+    #[must_use]
+    pub fn has_fullsize_media(&self) -> bool {
+        !EmbedMedia::is_empty(&self.obj)
+            || !EmbedMedia::is_empty(&self.img)
+            || !EmbedMedia::is_empty(&self.audio)
+            || !EmbedMedia::is_empty(&self.video)
+    }
+
+    // NOTE: Provider, canonical, and title can be skipped here, as by themselves it's a very boring embed
+    #[must_use]
+    pub fn is_plain_link(&self) -> bool {
+        if self.ty != EmbedType::Link
+            || self.url.is_none()
+            || !IsNoneOrEmpty::is_none_or_empty(&self.description)
+            || self.color.is_some()
+            || !EmbedAuthor::is_none(&self.author)
+            || self.has_fullsize_media()
+            || !EmbedMedia::is_empty(&self.thumb)
+            || !self.fields.is_empty()
+            || self.footer.is_some()
+        {
+            return false;
+        }
+
+        true
+    }
+
+    // TODO: Reimplement this to work with SmolStr and ThinString
+    //
+    // pub fn visit_text_mut<F>(&mut self, mut f: F)
+    // where
+    //     F: FnMut(&mut SmolStr),
+    // {
+    //     fn visit_text_opt_mut<F>(text: &mut Option<SmolStr>, mut f: F)
+    //     where
+    //         F: FnMut(&mut SmolStr),
+    //     {
+    //         if let Some(ref mut value) = *text {
+    //             f(value);
+    //         }
+    //     }
+
+    //     visit_text_opt_mut(&mut self.title, &mut f);
+    //     visit_text_opt_mut(&mut self.description, &mut f);
+    //     visit_text_opt_mut(&mut self.provider.name, &mut f);
+
+    //     if let Some(ref mut author) = self.author {
+    //         f(&mut author.name);
+    //     }
+
+    //     self.visit_media(|media| visit_text_opt_mut(&mut media.description, &mut f));
+
+    //     for field in &mut self.fields {
+    //         f(&mut field.name);
+    //         f(&mut field.value);
+    //     }
+
+    //     if let Some(ref mut footer) = self.footer {
+    //         f(&mut footer.text);
+    //     }
+    // }
+
+    pub fn visit_full_media<F>(&mut self, mut f: F)
+    where
+        F: FnMut(&mut EmbedMedia),
+    {
+        fn visit_opt<F>(value: &mut Option<Box<EmbedMedia>>, mut f: F)
+        where
+            F: FnMut(&mut EmbedMedia),
+        {
+            if let Some(media) = value {
+                f(media);
+            }
+        }
+
+        visit_opt(&mut self.obj, &mut f);
+        visit_opt(&mut self.img, &mut f);
+        visit_opt(&mut self.audio, &mut f);
+        visit_opt(&mut self.video, &mut f);
+        visit_opt(&mut self.thumb, &mut f);
+        visit_opt(&mut self.provider.icon, &mut f);
+
+        if let Some(ref mut footer) = self.footer {
+            visit_opt(&mut footer.icon, &mut f);
+        }
+
+        if let Some(ref mut author) = self.author {
+            visit_opt(&mut author.icon, &mut f);
+        }
+
+        for field in &mut self.fields {
+            visit_opt(&mut field.img, &mut f);
+        }
+    }
+}
+
+impl VisitMedia for EmbedV1 {
+    /// Visit each [`EmbedMedia`] to mutate them (such as to generate the proxy signature)
+    fn visit_media<F>(&mut self, mut f: F)
+    where
+        F: FnMut(&mut BasicEmbedMedia),
+    {
+        self.visit_full_media(|media| {
+            media.visit_media(&mut f);
+        })
+    }
+}
+
+#[derive(Default, Debug, Clone, Serialize, Deserialize)]
+#[cfg_attr(feature = "schema", derive(schemars::JsonSchema))]
+#[cfg_attr(feature = "typed-builder", derive(typed_builder::TypedBuilder))]
+#[cfg_attr(feature = "bon", derive(bon::Builder))]
+#[cfg_attr(feature = "rkyv", derive(rkyv::Archive, rkyv::Serialize, rkyv::Deserialize))]
+#[cfg_attr(feature = "ts", derive(ts_bindgen::TypeScriptDef))]
+pub struct EmbedFooter {
+    #[serde(rename = "t", alias = "text")]
+    #[cfg_attr(feature = "typed-builder", builder(setter(into)))]
+    #[cfg_attr(feature = "bon", builder(into))]
+    pub text: ThinString,
+
+    #[serde(rename = "i", alias = "icon", default, skip_serializing_if = "EmbedMedia::is_empty")]
+    #[cfg_attr(feature = "typed-builder", builder(default, setter(into)))]
+    #[cfg_attr(feature = "bon", builder(into))]
+    #[cfg_attr(feature = "rkyv", rkyv(with = rkyv::with::Niche))]
+    pub icon: Option<Box<EmbedMedia>>,
+}
+
+pub trait BoxedEmbedMediaExt {
+    fn read(self) -> EmbedMedia;
+    fn with_url(self, url: impl Into<ThinString>) -> Self;
+    fn with_dims(self, width: i32, height: i32) -> Self;
+    fn with_mime(self, mime: impl Into<SmolStr>) -> Self;
+    fn with_description(self, description: impl Into<ThinString>) -> Self;
+}
+
+impl BoxedEmbedMediaExt for Box<EmbedMedia> {
+    #[inline(always)]
+    fn read(self) -> EmbedMedia {
+        *self
+    }
+
+    #[inline]
+    fn with_url(mut self, url: impl Into<ThinString>) -> Self {
+        self.url = url.into();
+        self
+    }
+
+    #[inline]
+    fn with_dims(mut self, width: i32, height: i32) -> Self {
+        self.width = Some(width);
+        self.height = Some(height);
+        self
+    }
+
+    #[inline]
+    fn with_mime(mut self, mime: impl Into<SmolStr>) -> Self {
+        self.mime = Some(mime.into());
+        self
+    }
+
+    #[inline]
+    fn with_description(mut self, description: impl Into<ThinString>) -> Self {
+        self.description = Some(description.into());
+        self
+    }
+}
+
+pub trait VisitMedia {
+    fn visit_media<F>(&mut self, f: F)
+    where
+        F: FnMut(&mut BasicEmbedMedia);
+}
+
+impl VisitMedia for [BasicEmbedMedia] {
+    fn visit_media<F>(&mut self, f: F)
+    where
+        F: FnMut(&mut BasicEmbedMedia),
+    {
+        self.iter_mut().for_each(f)
+    }
+}
+
+impl<T> VisitMedia for Option<T>
+where
+    T: VisitMedia,
+{
+    fn visit_media<F>(&mut self, f: F)
+    where
+        F: FnMut(&mut BasicEmbedMedia),
+    {
+        if let Some(media) = self {
+            media.visit_media(f);
+        }
+    }
+}
+
+impl VisitMedia for Box<EmbedMedia> {
+    fn visit_media<F>(&mut self, f: F)
+    where
+        F: FnMut(&mut BasicEmbedMedia),
+    {
+        self.as_mut().visit_media(f);
+    }
+}
+
+#[derive(Default, Debug, Clone, Serialize, Deserialize)]
+#[cfg_attr(feature = "schema", derive(schemars::JsonSchema))]
+#[cfg_attr(feature = "typed-builder", derive(typed_builder::TypedBuilder))]
+#[cfg_attr(feature = "bon", derive(bon::Builder))]
+#[cfg_attr(feature = "rkyv", derive(rkyv::Archive, rkyv::Serialize, rkyv::Deserialize))]
+#[cfg_attr(feature = "ts", derive(ts_bindgen::TypeScriptDef))]
+pub struct EmbedMedia {
+    #[serde(flatten)]
+    pub media: BasicEmbedMedia,
+
+    #[serde(
+        rename = "a",
+        alias = "alternate",
+        alias = "alts",
+        alias = "alt",
+        default,
+        skip_serializing_if = "Vec::is_empty",
+        deserialize_with = "de::de_one_or_many"
+    )]
+    #[cfg_attr(feature = "typed-builder", builder(default, setter(into)))]
+    #[cfg_attr(feature = "bon", builder(into))]
+    pub alts: Vec<BasicEmbedMedia>,
+}
+
+impl VisitMedia for EmbedMedia {
+    fn visit_media<F>(&mut self, mut f: F)
+    where
+        F: FnMut(&mut BasicEmbedMedia),
+    {
+        f(&mut self.media);
+        self.alts.visit_media(f);
+    }
+}
+
+mod de {
+    use super::BasicEmbedMedia;
+
+    use serde::de::{Deserialize, Deserializer};
+
+    pub fn de_one_or_many<'de, D>(deserializer: D) -> Result<Vec<BasicEmbedMedia>, D::Error>
+    where
+        D: Deserializer<'de>,
+    {
+        #[derive(Deserialize)]
+        #[serde(untagged)]
+        pub enum OneOrMany<T> {
+            Many(Vec<T>),
+            One(T),
+        }
+
+        OneOrMany::deserialize(deserializer).map(|v| match v {
+            OneOrMany::Many(alts) => alts,
+            OneOrMany::One(alt) => vec![alt],
+        })
+    }
+}
+
+#[cfg(feature = "rkyv")]
+impl Deref for ArchivedEmbedMedia {
+    type Target = ArchivedBasicEmbedMedia;
+
+    #[inline(always)]
+    fn deref(&self) -> &Self::Target {
+        &self.media
+    }
+}
+
+#[derive(Default, Debug, Clone, Serialize, Deserialize)]
+#[cfg_attr(feature = "schema", derive(schemars::JsonSchema))]
+#[cfg_attr(feature = "typed-builder", derive(typed_builder::TypedBuilder))]
+#[cfg_attr(feature = "bon", derive(bon::Builder))]
+#[cfg_attr(feature = "rkyv", derive(rkyv::Archive, rkyv::Serialize, rkyv::Deserialize))]
+#[cfg_attr(feature = "ts", derive(ts_bindgen::TypeScriptDef))]
+pub struct BasicEmbedMedia {
+    #[serde(rename = "u", alias = "url")]
+    #[cfg_attr(feature = "typed-builder", builder(setter(into)))]
+    #[cfg_attr(feature = "bon", builder(into))]
+    pub url: ThinString,
+
+    /// Non-visible description of the embedded media
+    #[serde(
+        rename = "d",
+        alias = "description",
+        default,
+        skip_serializing_if = "IsNoneOrEmpty::is_none_or_empty"
+    )]
+    #[cfg_attr(feature = "typed-builder", builder(default, setter(into)))]
+    #[cfg_attr(feature = "bon", builder(into))]
+    pub description: Option<ThinString>,
+
+    /// Cryptographic signature for use with the proxy server
+    #[serde(rename = "s", alias = "signature", default, skip_serializing_if = "Option::is_none")]
+    #[cfg_attr(feature = "typed-builder", builder(default, setter(into)))]
+    #[cfg_attr(feature = "bon", builder(into))]
+    pub signature: Option<UrlSignature>,
+
+    /// height
+    #[serde(rename = "h", alias = "height", default, skip_serializing_if = "Option::is_none")]
+    #[cfg_attr(feature = "typed-builder", builder(default))]
+    pub height: Option<i32>,
+
+    /// width
+    #[serde(rename = "w", alias = "width", default, skip_serializing_if = "Option::is_none")]
+    #[cfg_attr(feature = "typed-builder", builder(default))]
+    pub width: Option<i32>,
+
+    #[serde(
+        rename = "m",
+        alias = "mime",
+        default,
+        skip_serializing_if = "IsNoneOrEmpty::is_none_or_empty"
+    )]
+    #[cfg_attr(feature = "typed-builder", builder(default, setter(into)))]
+    #[cfg_attr(feature = "bon", builder(into))]
+    pub mime: Option<SmolStr>,
+}
+
+impl Deref for EmbedMedia {
+    type Target = BasicEmbedMedia;
+
+    fn deref(&self) -> &BasicEmbedMedia {
+        &self.media
+    }
+}
+
+impl DerefMut for EmbedMedia {
+    fn deref_mut(&mut self) -> &mut BasicEmbedMedia {
+        &mut self.media
+    }
+}
+
+impl EmbedMedia {
+    /// If `this` is is empty, but the alternate field is not empty, set this to the alternate
+    pub fn normalize(this: &mut EmbedMedia) {
+        while this.url.is_empty() {
+            let Some(alt) = this.alts.pop() else { break };
+
+            let alts = core::mem::take(&mut this.alts);
+
+            this.media = alt;
+            this.alts = alts;
+        }
+    }
+
+    #[must_use]
+    pub fn is_empty(this: &Option<Box<EmbedMedia>>) -> bool {
+        match this {
+            Some(ref e) => e.url.is_empty(),
+            None => true,
+        }
+    }
+}
+
+#[derive(Default, Debug, Clone, Serialize, Deserialize)]
+#[cfg_attr(feature = "schema", derive(schemars::JsonSchema))]
+#[cfg_attr(feature = "typed-builder", derive(typed_builder::TypedBuilder))]
+#[cfg_attr(feature = "bon", derive(bon::Builder))]
+#[cfg_attr(feature = "rkyv", derive(rkyv::Archive, rkyv::Serialize, rkyv::Deserialize))]
+#[cfg_attr(feature = "ts", derive(ts_bindgen::TypeScriptDef))]
+pub struct EmbedProvider {
+    #[serde(
+        rename = "n",
+        alias = "name",
+        default,
+        skip_serializing_if = "IsNoneOrEmpty::is_none_or_empty"
+    )]
+    #[cfg_attr(feature = "typed-builder", builder(default, setter(into)))]
+    #[cfg_attr(feature = "bon", builder(into))]
+    pub name: Option<SmolStr>,
+
+    #[serde(
+        rename = "u",
+        alias = "url",
+        default,
+        skip_serializing_if = "IsNoneOrEmpty::is_none_or_empty"
+    )]
+    #[cfg_attr(feature = "typed-builder", builder(default, setter(into)))]
+    #[cfg_attr(feature = "bon", builder(into))]
+    pub url: Option<ThinString>,
+
+    #[serde(rename = "i", alias = "icon", default, skip_serializing_if = "EmbedMedia::is_empty")]
+    #[cfg_attr(feature = "typed-builder", builder(default, setter(into)))]
+    #[cfg_attr(feature = "bon", builder(into))]
+    #[cfg_attr(feature = "rkyv", rkyv(with = rkyv::with::Niche))]
+    pub icon: Option<Box<EmbedMedia>>,
+}
+
+impl EmbedProvider {
+    #[must_use]
+    pub fn is_none(&self) -> bool {
+        is_none_or_empty(&self.name) && IsNoneOrEmpty::is_none_or_empty(&self.url) && EmbedMedia::is_empty(&self.icon)
+    }
+}
+
+impl EmbedAuthor {
+    #[must_use]
+    pub fn is_none(this: &Option<Self>) -> bool {
+        match this {
+            Some(ref this) => {
+                this.name.is_empty() && IsNoneOrEmpty::is_none_or_empty(&this.url) && EmbedMedia::is_empty(&this.icon)
+            }
+            None => true,
+        }
+    }
+}
+
+#[derive(Default, Debug, Clone, Serialize, Deserialize)]
+#[cfg_attr(feature = "schema", derive(schemars::JsonSchema))]
+#[cfg_attr(feature = "typed-builder", derive(typed_builder::TypedBuilder))]
+#[cfg_attr(feature = "bon", derive(bon::Builder))]
+#[cfg_attr(feature = "rkyv", derive(rkyv::Archive, rkyv::Serialize, rkyv::Deserialize))]
+#[cfg_attr(feature = "ts", derive(ts_bindgen::TypeScriptDef))]
+pub struct EmbedAuthor {
+    #[serde(rename = "n", alias = "name")]
+    #[cfg_attr(feature = "typed-builder", builder(setter(into)))]
+    #[cfg_attr(feature = "bon", builder(into))]
+    pub name: SmolStr,
+
+    #[serde(
+        rename = "u",
+        alias = "url",
+        default,
+        skip_serializing_if = "IsNoneOrEmpty::is_none_or_empty"
+    )]
+    #[cfg_attr(feature = "typed-builder", builder(default, setter(into)))]
+    #[cfg_attr(feature = "bon", builder(into))]
+    pub url: Option<ThinString>,
+
+    #[serde(rename = "i", alias = "icon", default, skip_serializing_if = "EmbedMedia::is_empty")]
+    #[cfg_attr(feature = "typed-builder", builder(default, setter(into)))]
+    #[cfg_attr(feature = "bon", builder(into))]
+    #[cfg_attr(feature = "rkyv", rkyv(with = rkyv::with::Niche))]
+    pub icon: Option<Box<EmbedMedia>>,
+}
+
+#[derive(Default, Debug, Clone, Serialize, Deserialize)]
+#[cfg_attr(feature = "schema", derive(schemars::JsonSchema))]
+#[cfg_attr(feature = "typed-builder", derive(typed_builder::TypedBuilder))]
+#[cfg_attr(feature = "bon", derive(bon::Builder))]
+#[cfg_attr(feature = "rkyv", derive(rkyv::Archive, rkyv::Serialize, rkyv::Deserialize))]
+#[cfg_attr(feature = "ts", derive(ts_bindgen::TypeScriptDef))]
+pub struct EmbedField {
+    #[serde(rename = "n", alias = "name", default, skip_serializing_if = "SmolStr::is_empty")]
+    #[cfg_attr(feature = "typed-builder", builder(setter(into)))]
+    #[cfg_attr(feature = "bon", builder(into))]
+    pub name: SmolStr,
+
+    #[serde(rename = "v", alias = "value", default, skip_serializing_if = "SmolStr::is_empty")]
+    #[cfg_attr(feature = "typed-builder", builder(setter(into)))]
+    #[cfg_attr(feature = "bon", builder(into))]
+    pub value: SmolStr,
+
+    #[serde(default, skip_serializing_if = "EmbedMedia::is_empty", alias = "image")]
+    #[cfg_attr(feature = "typed-builder", builder(default, setter(into)))]
+    #[cfg_attr(feature = "bon", builder(into))]
+    #[cfg_attr(feature = "rkyv", rkyv(with = rkyv::with::Niche))]
+    pub img: Option<Box<EmbedMedia>>,
+
+    /// Should use block-formatting
+    #[serde(rename = "b", alias = "block", default, skip_serializing_if = "is_false")]
+    #[cfg_attr(feature = "typed-builder", builder(default))]
+    #[cfg_attr(feature = "bon", builder(default))]
+    pub block: bool,
+}
+
+impl EmbedField {
+    #[must_use]
+    pub fn is_empty(&self) -> bool {
+        (self.name.is_empty() || self.value.is_empty()) && EmbedMedia::is_empty(&self.img)
+    }
+}
+
+impl Default for EmbedV1 {
+    #[inline]
+    fn default() -> EmbedV1 {
+        EmbedV1 {
+            ts: Timestamp::UNIX_EPOCH,
+            ty: EmbedType::Link,
+            flags: EmbedFlags::empty(),
+            url: None,
+            canonical: None,
+            title: None,
+            description: None,
+            color: None,
+            author: None,
+            provider: EmbedProvider::default(),
+            img: None,
+            audio: None,
+            video: None,
+            thumb: None,
+            obj: None,
+            fields: Vec::new(),
+            footer: None,
+        }
+    }
+}
+
\ No newline at end of file diff --git a/src/client_sdk/models/emote.rs.html b/src/client_sdk/models/emote.rs.html new file mode 100644 index 000000000..8820399ea --- /dev/null +++ b/src/client_sdk/models/emote.rs.html @@ -0,0 +1,79 @@ +emote.rs - source
1
+2
+3
+4
+5
+6
+7
+8
+9
+10
+11
+12
+13
+14
+15
+16
+17
+18
+19
+20
+21
+22
+23
+24
+25
+26
+27
+28
+29
+30
+31
+32
+33
+34
+35
+36
+37
+38
+39
+
use super::*;
+
+bitflags::bitflags! {
+    #[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
+    pub struct EmoteFlags: i16 {
+        const ANIMATED = 1 << 0;
+        const STICKER  = 1 << 1;
+        const NSFW     = 1 << 2;
+    }
+}
+
+impl_rkyv_for_bitflags!(pub EmoteFlags: i16);
+impl_serde_for_bitflags!(EmoteFlags);
+impl_schema_for_bitflags!(EmoteFlags);
+impl_sql_for_bitflags!(EmoteFlags);
+
+// TODO: Add inline preview?
+#[derive(Debug, Clone, Serialize, Deserialize)]
+#[cfg_attr(feature = "schema", derive(schemars::JsonSchema))]
+#[cfg_attr(feature = "rkyv", derive(rkyv::Archive, rkyv::Serialize, rkyv::Deserialize))]
+#[cfg_attr(feature = "ts", derive(ts_bindgen::TypeScriptDef))]
+pub struct CustomEmote {
+    pub id: EmoteId,
+    pub party_id: PartyId,
+    pub asset: FileId,
+    pub name: SmolStr,
+    pub flags: EmoteFlags,
+    pub aspect_ratio: f32,
+}
+
+#[derive(Debug, Clone, Serialize, Deserialize)]
+#[cfg_attr(feature = "schema", derive(schemars::JsonSchema))]
+#[cfg_attr(feature = "rkyv", derive(rkyv::Archive, rkyv::Serialize, rkyv::Deserialize))]
+#[cfg_attr(feature = "ts", derive(ts_bindgen::TypeScriptDef))]
+#[serde(untagged)]
+pub enum Emote {
+    Emoji { emoji: SmolStr },
+    Custom(CustomEmote),
+}
+
\ No newline at end of file diff --git a/src/client_sdk/models/file.rs.html b/src/client_sdk/models/file.rs.html new file mode 100644 index 000000000..9b0c704d2 --- /dev/null +++ b/src/client_sdk/models/file.rs.html @@ -0,0 +1,55 @@ +file.rs - source
1
+2
+3
+4
+5
+6
+7
+8
+9
+10
+11
+12
+13
+14
+15
+16
+17
+18
+19
+20
+21
+22
+23
+24
+25
+26
+27
+
use super::*;
+
+pub struct FileUpload {
+    pub upload_url: ThinString,
+}
+
+#[derive(Debug, Clone, Serialize, Deserialize)]
+#[cfg_attr(feature = "schema", derive(schemars::JsonSchema))]
+#[cfg_attr(feature = "rkyv", derive(rkyv::Archive, rkyv::Serialize, rkyv::Deserialize))]
+#[cfg_attr(feature = "ts", derive(ts_bindgen::TypeScriptDef))]
+pub struct File {
+    pub id: FileId,
+    pub filename: SmolStr,
+    pub size: i64,
+
+    #[serde(default, skip_serializing_if = "Option::is_none")]
+    pub mime: Option<SmolStr>,
+
+    #[serde(default, skip_serializing_if = "Option::is_none")]
+    pub width: Option<i32>,
+    #[serde(default, skip_serializing_if = "Option::is_none")]
+    pub height: Option<i32>,
+
+    /// Base-85 encoded blurhash, basically guaranteed to be larger than 22 bytes so we can't use SmolStr
+    #[serde(default, skip_serializing_if = "Option::is_none")]
+    pub preview: Option<ThinString>,
+}
+
\ No newline at end of file diff --git a/src/client_sdk/models/gateway.rs.html b/src/client_sdk/models/gateway.rs.html new file mode 100644 index 000000000..32b63e239 --- /dev/null +++ b/src/client_sdk/models/gateway.rs.html @@ -0,0 +1,1707 @@ +gateway.rs - source
1
+2
+3
+4
+5
+6
+7
+8
+9
+10
+11
+12
+13
+14
+15
+16
+17
+18
+19
+20
+21
+22
+23
+24
+25
+26
+27
+28
+29
+30
+31
+32
+33
+34
+35
+36
+37
+38
+39
+40
+41
+42
+43
+44
+45
+46
+47
+48
+49
+50
+51
+52
+53
+54
+55
+56
+57
+58
+59
+60
+61
+62
+63
+64
+65
+66
+67
+68
+69
+70
+71
+72
+73
+74
+75
+76
+77
+78
+79
+80
+81
+82
+83
+84
+85
+86
+87
+88
+89
+90
+91
+92
+93
+94
+95
+96
+97
+98
+99
+100
+101
+102
+103
+104
+105
+106
+107
+108
+109
+110
+111
+112
+113
+114
+115
+116
+117
+118
+119
+120
+121
+122
+123
+124
+125
+126
+127
+128
+129
+130
+131
+132
+133
+134
+135
+136
+137
+138
+139
+140
+141
+142
+143
+144
+145
+146
+147
+148
+149
+150
+151
+152
+153
+154
+155
+156
+157
+158
+159
+160
+161
+162
+163
+164
+165
+166
+167
+168
+169
+170
+171
+172
+173
+174
+175
+176
+177
+178
+179
+180
+181
+182
+183
+184
+185
+186
+187
+188
+189
+190
+191
+192
+193
+194
+195
+196
+197
+198
+199
+200
+201
+202
+203
+204
+205
+206
+207
+208
+209
+210
+211
+212
+213
+214
+215
+216
+217
+218
+219
+220
+221
+222
+223
+224
+225
+226
+227
+228
+229
+230
+231
+232
+233
+234
+235
+236
+237
+238
+239
+240
+241
+242
+243
+244
+245
+246
+247
+248
+249
+250
+251
+252
+253
+254
+255
+256
+257
+258
+259
+260
+261
+262
+263
+264
+265
+266
+267
+268
+269
+270
+271
+272
+273
+274
+275
+276
+277
+278
+279
+280
+281
+282
+283
+284
+285
+286
+287
+288
+289
+290
+291
+292
+293
+294
+295
+296
+297
+298
+299
+300
+301
+302
+303
+304
+305
+306
+307
+308
+309
+310
+311
+312
+313
+314
+315
+316
+317
+318
+319
+320
+321
+322
+323
+324
+325
+326
+327
+328
+329
+330
+331
+332
+333
+334
+335
+336
+337
+338
+339
+340
+341
+342
+343
+344
+345
+346
+347
+348
+349
+350
+351
+352
+353
+354
+355
+356
+357
+358
+359
+360
+361
+362
+363
+364
+365
+366
+367
+368
+369
+370
+371
+372
+373
+374
+375
+376
+377
+378
+379
+380
+381
+382
+383
+384
+385
+386
+387
+388
+389
+390
+391
+392
+393
+394
+395
+396
+397
+398
+399
+400
+401
+402
+403
+404
+405
+406
+407
+408
+409
+410
+411
+412
+413
+414
+415
+416
+417
+418
+419
+420
+421
+422
+423
+424
+425
+426
+427
+428
+429
+430
+431
+432
+433
+434
+435
+436
+437
+438
+439
+440
+441
+442
+443
+444
+445
+446
+447
+448
+449
+450
+451
+452
+453
+454
+455
+456
+457
+458
+459
+460
+461
+462
+463
+464
+465
+466
+467
+468
+469
+470
+471
+472
+473
+474
+475
+476
+477
+478
+479
+480
+481
+482
+483
+484
+485
+486
+487
+488
+489
+490
+491
+492
+493
+494
+495
+496
+497
+498
+499
+500
+501
+502
+503
+504
+505
+506
+507
+508
+509
+510
+511
+512
+513
+514
+515
+516
+517
+518
+519
+520
+521
+522
+523
+524
+525
+526
+527
+528
+529
+530
+531
+532
+533
+534
+535
+536
+537
+538
+539
+540
+541
+542
+543
+544
+545
+546
+547
+548
+549
+550
+551
+552
+553
+554
+555
+556
+557
+558
+559
+560
+561
+562
+563
+564
+565
+566
+567
+568
+569
+570
+571
+572
+573
+574
+575
+576
+577
+578
+579
+580
+581
+582
+583
+584
+585
+586
+587
+588
+589
+590
+591
+592
+593
+594
+595
+596
+597
+598
+599
+600
+601
+602
+603
+604
+605
+606
+607
+608
+609
+610
+611
+612
+613
+614
+615
+616
+617
+618
+619
+620
+621
+622
+623
+624
+625
+626
+627
+628
+629
+630
+631
+632
+633
+634
+635
+636
+637
+638
+639
+640
+641
+642
+643
+644
+645
+646
+647
+648
+649
+650
+651
+652
+653
+654
+655
+656
+657
+658
+659
+660
+661
+662
+663
+664
+665
+666
+667
+668
+669
+670
+671
+672
+673
+674
+675
+676
+677
+678
+679
+680
+681
+682
+683
+684
+685
+686
+687
+688
+689
+690
+691
+692
+693
+694
+695
+696
+697
+698
+699
+700
+701
+702
+703
+704
+705
+706
+707
+708
+709
+710
+711
+712
+713
+714
+715
+716
+717
+718
+719
+720
+721
+722
+723
+724
+725
+726
+727
+728
+729
+730
+731
+732
+733
+734
+735
+736
+737
+738
+739
+740
+741
+742
+743
+744
+745
+746
+747
+748
+749
+750
+751
+752
+753
+754
+755
+756
+757
+758
+759
+760
+761
+762
+763
+764
+765
+766
+767
+768
+769
+770
+771
+772
+773
+774
+775
+776
+777
+778
+779
+780
+781
+782
+783
+784
+785
+786
+787
+788
+789
+790
+791
+792
+793
+794
+795
+796
+797
+798
+799
+800
+801
+802
+803
+804
+805
+806
+807
+808
+809
+810
+811
+812
+813
+814
+815
+816
+817
+818
+819
+820
+821
+822
+823
+824
+825
+826
+827
+828
+829
+830
+831
+832
+833
+834
+835
+836
+837
+838
+839
+840
+841
+842
+843
+844
+845
+846
+847
+848
+849
+850
+851
+852
+853
+
#![allow(async_fn_in_trait)]
+
+use super::*;
+
+bitflags::bitflags! {
+    #[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
+    pub struct Intent: u32 {
+        /// - PARTY_CREATE
+        /// - PARTY_UPDATE
+        /// - PARTY_DELETE
+        /// - PARTY_ROLE_CREATE
+        /// - PARTY_ROLE_UPDATE
+        /// - PARTY_ROLE_DELETE
+        /// - CHANNEL_CREATE
+        /// - CHANNEL_UPDATE
+        /// - CHANNEL_DELETE
+        /// - CHANNEL_PINS_UPDATE
+        const PARTIES                   = 1 << 0;
+
+        /// - PARTY_MEMBER_ADD
+        /// - PARTY_MEMBER_UPDATE
+        /// - PARTY_MEMBER_REMOVE
+        const PARTY_MEMBERS             = 1 << 1;
+
+        /// - PARTY_BAN_ADD
+        /// - PARTY_BAN_REMOVE
+        const PARTY_BANS                = 1 << 2;
+
+        /// - PARTY_EMOJIS_UPDATE
+        const PARTY_EMOTES              = 1 << 3;
+
+        /// - PARTY_INTEGRATIONS_UPDATE
+        /// - INTEGRATION_CREATE
+        /// - INTEGRATION_UPDATE
+        /// - INTEGRATION_DELETE
+        const PARTY_INTEGRATIONS        = 1 << 4;
+
+        /// - WEBHOOKS_UPDATE
+        const PARTY_WEBHOOKS            = 1 << 5;
+
+        /// - INVITE_CREATE
+        /// - INVITE_DELETE
+        const PARTY_INVITES             = 1 << 6;
+
+        /// - VOICE_STATE_UPDATE
+        const VOICE_STATUS              = 1 << 7;
+
+        /// - PRESENCE_UPDATE
+        const PRESENCE                  = 1 << 8;
+
+        /// - MESSAGE_CREATE
+        /// - MESSAGE_UPDATE
+        /// - MESSAGE_DELETE
+        /// - MESSAGE_DELETE_BULK
+        const MESSAGES                  = 1 << 9;
+
+        /// - MESSAGE_REACTION_ADD
+        /// - MESSAGE_REACTION_REMOVE
+        /// - MESSAGE_REACTION_REMOVE_ALL
+        /// - MESSAGE_REACTION_REMOVE_EMOTE
+        const MESSAGE_REACTIONS         = 1 << 10;
+
+        /// - TYPING_START
+        const MESSAGE_TYPING            = 1 << 11;
+
+        /// - MESSAGE_CREATE
+        /// - MESSAGE_UPDATE
+        /// - MESSAGE_DELETE
+        /// - CHANNEL_PINS_UPDATE
+        const DIRECT_MESSAGES           = 1 << 12;
+
+        /// - MESSAGE_REACTION_ADD
+        /// - MESSAGE_REACTION_REMOVE
+        /// - MESSAGE_REACTION_REMOVE_ALL
+        /// - MESSAGE_REACTION_REMOVE_EMOTE
+        const DIRECT_MESSAGE_REACTIONS  = 1 << 13;
+
+        /// - TYPING_START
+        const DIRECT_MESSAGE_TYPING     = 1 << 14;
+
+        const PROFILE_UPDATES           = 1 << 15;
+    }
+}
+
+impl_rkyv_for_bitflags!(pub Intent: u32);
+impl_serde_for_bitflags!(Intent);
+impl_schema_for_bitflags!(Intent);
+impl_sql_for_bitflags!(Intent);
+
+pub mod commands {
+    use super::*;
+
+    #[derive(Debug, Clone, Serialize, Deserialize)]
+    #[cfg_attr(feature = "schema", derive(schemars::JsonSchema))]
+    #[cfg_attr(feature = "rkyv", derive(rkyv::Archive, rkyv::Serialize, rkyv::Deserialize))]
+    #[cfg_attr(feature = "ts", derive(ts_bindgen::TypeScriptDef))]
+    pub struct Identify {
+        pub auth: AuthToken,
+        pub intent: Intent,
+    }
+
+    #[derive(Debug, Clone, Serialize, Deserialize)]
+    #[cfg_attr(feature = "schema", derive(schemars::JsonSchema))]
+    #[cfg_attr(feature = "rkyv", derive(rkyv::Archive, rkyv::Serialize, rkyv::Deserialize))]
+    #[cfg_attr(feature = "ts", derive(ts_bindgen::TypeScriptDef))]
+    pub struct SetPresence {
+        #[serde(flatten)]
+        pub presence: UserPresence,
+    }
+}
+
+pub mod events {
+    use super::*;
+
+    #[derive(Debug, Clone, Serialize, Deserialize)]
+    #[cfg_attr(feature = "schema", derive(schemars::JsonSchema))]
+    #[cfg_attr(feature = "rkyv", derive(rkyv::Archive, rkyv::Serialize, rkyv::Deserialize))]
+    #[cfg_attr(feature = "ts", derive(ts_bindgen::TypeScriptDef))]
+    pub struct Hello {
+        /// Number of milliseconds between heartbeats
+        pub heartbeat_interval: u32,
+    }
+
+    impl Default for Hello {
+        fn default() -> Self {
+            Hello {
+                heartbeat_interval: 45000, // 45 seconds
+            }
+        }
+    }
+
+    #[derive(Debug, Clone, Serialize, Deserialize)]
+    #[cfg_attr(feature = "schema", derive(schemars::JsonSchema))]
+    #[cfg_attr(feature = "rkyv", derive(rkyv::Archive, rkyv::Serialize, rkyv::Deserialize))]
+    #[cfg_attr(feature = "ts", derive(ts_bindgen::TypeScriptDef))]
+    pub struct ReadyParty {
+        pub party: Party,
+
+        /// The user's own member object
+        pub me: PartyMember,
+    }
+
+    impl core::ops::Deref for ReadyParty {
+        type Target = Party;
+
+        fn deref(&self) -> &Party {
+            &self.party
+        }
+    }
+
+    impl core::ops::DerefMut for ReadyParty {
+        fn deref_mut(&mut self) -> &mut Party {
+            &mut self.party
+        }
+    }
+
+    #[cfg(feature = "rkyv")]
+    impl core::ops::Deref for ArchivedReadyParty {
+        type Target = rkyv::Archived<Party>;
+
+        fn deref(&self) -> &Self::Target {
+            &self.party
+        }
+    }
+
+    #[derive(Debug, Clone, Serialize, Deserialize)]
+    #[cfg_attr(feature = "schema", derive(schemars::JsonSchema))]
+    #[cfg_attr(feature = "rkyv", derive(rkyv::Archive, rkyv::Serialize, rkyv::Deserialize))]
+    #[cfg_attr(feature = "ts", derive(ts_bindgen::TypeScriptDef))]
+    pub struct Ready {
+        pub user: User,
+
+        /// The parties the user is in, including DMs.
+        pub parties: ThinVec<ReadyParty>,
+
+        /// Contains all rooms the user is in, including DMs.
+        pub rooms: ThinVec<Room>,
+
+        /// Gateway session ID, used for resuming sessions
+        pub session: Snowflake,
+    }
+
+    #[derive(Debug, Clone, Serialize, Deserialize)]
+    #[cfg_attr(feature = "schema", derive(schemars::JsonSchema))]
+    #[cfg_attr(feature = "rkyv", derive(rkyv::Archive, rkyv::Serialize, rkyv::Deserialize))]
+    #[cfg_attr(feature = "ts", derive(ts_bindgen::TypeScriptDef))]
+    pub struct TypingStart {
+        pub room_id: RoomId,
+        pub party_id: PartyId,
+        pub user_id: UserId,
+        pub member: PartyMember,
+        #[serde(default, skip_serializing_if = "Option::is_none")]
+        pub parent: Option<MessageId>,
+        // maybe timestamp?
+        //ts: u32,
+    }
+
+    #[derive(Debug, Clone, Serialize, Deserialize)]
+    #[cfg_attr(feature = "schema", derive(schemars::JsonSchema))]
+    #[cfg_attr(feature = "rkyv", derive(rkyv::Archive, rkyv::Serialize, rkyv::Deserialize))]
+    #[cfg_attr(feature = "ts", derive(ts_bindgen::TypeScriptDef))]
+    pub struct PartyPositionUpdate {
+        pub id: PartyId,
+        pub position: i16,
+    }
+
+    #[derive(Debug, Serialize, Deserialize)]
+    #[cfg_attr(feature = "schema", derive(schemars::JsonSchema))]
+    #[cfg_attr(feature = "rkyv", derive(rkyv::Archive, rkyv::Serialize, rkyv::Deserialize))]
+    #[cfg_attr(feature = "ts", derive(ts_bindgen::TypeScriptDef))]
+    pub struct UserPresenceEvent {
+        #[serde(default, skip_serializing_if = "Option::is_none")]
+        pub party_id: Option<PartyId>,
+
+        pub user: User,
+    }
+
+    #[derive(Debug, Serialize, Deserialize)]
+    #[cfg_attr(feature = "schema", derive(schemars::JsonSchema))]
+    #[cfg_attr(feature = "rkyv", derive(rkyv::Archive, rkyv::Serialize, rkyv::Deserialize))]
+    #[cfg_attr(feature = "ts", derive(ts_bindgen::TypeScriptDef))]
+    pub struct MessageDeleteEvent {
+        pub id: MessageId,
+        pub room_id: RoomId,
+        pub party_id: PartyId,
+    }
+
+    #[derive(Debug, Serialize, Deserialize)]
+    #[cfg_attr(feature = "schema", derive(schemars::JsonSchema))]
+    #[cfg_attr(feature = "rkyv", derive(rkyv::Archive, rkyv::Serialize, rkyv::Deserialize))]
+    #[cfg_attr(feature = "ts", derive(ts_bindgen::TypeScriptDef))]
+    pub struct RoleDeleteEvent {
+        pub id: RoleId,
+        pub party_id: PartyId,
+    }
+
+    #[derive(Debug, Serialize, Deserialize)]
+    #[cfg_attr(feature = "schema", derive(schemars::JsonSchema))]
+    #[cfg_attr(feature = "rkyv", derive(rkyv::Archive, rkyv::Serialize, rkyv::Deserialize))]
+    #[cfg_attr(feature = "ts", derive(ts_bindgen::TypeScriptDef))]
+    pub struct RoomDeleteEvent {
+        pub id: RoomId,
+
+        #[serde(default, skip_serializing_if = "Option::is_none")]
+        #[cfg_attr(feature = "rkyv", rkyv(with = NicheSnowflake))]
+        pub party_id: Option<PartyId>,
+    }
+
+    #[derive(Debug, Serialize, Deserialize)]
+    #[cfg_attr(feature = "schema", derive(schemars::JsonSchema))]
+    #[cfg_attr(feature = "rkyv", derive(rkyv::Archive, rkyv::Serialize, rkyv::Deserialize))]
+    #[cfg_attr(feature = "ts", derive(ts_bindgen::TypeScriptDef))]
+    pub struct PartyMemberEvent {
+        pub party_id: PartyId,
+
+        #[serde(flatten)]
+        pub member: PartyMember,
+    }
+
+    #[derive(Debug, Serialize, Deserialize)]
+    #[cfg_attr(feature = "schema", derive(schemars::JsonSchema))]
+    #[cfg_attr(feature = "rkyv", derive(rkyv::Archive, rkyv::Serialize, rkyv::Deserialize))]
+    #[cfg_attr(feature = "ts", derive(ts_bindgen::TypeScriptDef))]
+    #[serde(untagged)]
+    pub enum PartyUpdateEvent {
+        Position(PartyPositionUpdate),
+        Full(Party),
+    }
+
+    #[derive(Debug, Serialize, Deserialize)]
+    #[cfg_attr(feature = "schema", derive(schemars::JsonSchema))]
+    #[cfg_attr(feature = "rkyv", derive(rkyv::Archive, rkyv::Serialize, rkyv::Deserialize))]
+    #[cfg_attr(feature = "ts", derive(ts_bindgen::TypeScriptDef))]
+    pub struct UserReactionEvent {
+        pub user_id: UserId,
+        pub room_id: RoomId,
+        pub party_id: PartyId,
+        pub msg_id: MessageId,
+        #[serde(default, skip_serializing_if = "Option::is_none")]
+        #[cfg_attr(feature = "rkyv", rkyv(with = rkyv::with::Niche))]
+        pub member: Option<Box<PartyMember>>,
+        pub emote: EmoteOrEmoji,
+    }
+
+    #[derive(Debug, Serialize, Deserialize)]
+    #[cfg_attr(feature = "schema", derive(schemars::JsonSchema))]
+    #[cfg_attr(feature = "rkyv", derive(rkyv::Archive, rkyv::Serialize, rkyv::Deserialize))]
+    #[cfg_attr(feature = "ts", derive(ts_bindgen::TypeScriptDef))]
+    pub struct ProfileUpdateEvent {
+        #[serde(default, skip_serializing_if = "Option::is_none")]
+        pub party_id: Option<PartyId>,
+        pub user: User,
+    }
+
+    //#[derive(Debug, Clone, Serialize, Deserialize)]
+    //pub struct PresenceUpdate {
+    //    pub user_id: UserId,
+    //    pub presence: UserPresence,
+    //}
+}
+
+pub mod message {
+    use super::Snowflake;
+
+    use serde_repr::{Deserialize_repr, Serialize_repr};
+
+    use serde::de::{self, Deserialize, Deserializer, MapAccess, SeqAccess, Visitor};
+    use serde::ser::{Serialize, SerializeStruct, Serializer};
+
+    #[inline]
+    fn is_default<T>(value: &T) -> bool
+    where
+        T: Default + Eq,
+    {
+        *value == T::default()
+    }
+
+    macro_rules! decl_msgs {
+        (
+            $(#[$meta:meta])*
+            enum $name:ident {
+                $(
+                    $(#[$variant_meta:meta])*
+                    $code:literal => $opcode:ident $(:$Default:ident)?  {
+                        $( $(#[$field_meta:meta])* $field:ident $(*$Deref:ident)? : $ty:ty),*$(,)?
+                    }
+                ),*$(,)*
+            }
+        ) => {paste::paste!{
+            #[doc = "OpCodes for [`" $name "`]"]
+            #[derive(Debug, Clone, Copy, Serialize_repr, Deserialize_repr)]
+            #[cfg_attr(feature = "schema", derive(schemars::JsonSchema_repr))]
+            #[cfg_attr(feature = "ts", derive(ts_bindgen::TypeScriptDef))]
+            #[repr(u8)]
+            pub enum [<$name Opcode>] {
+                $($opcode = $code,)*
+            }
+
+            pub mod [<$name:snake _payloads>] {
+                use super::*;
+
+                $(
+                    $(#[$variant_meta])*
+                    #[doc = ""]
+                    #[doc = "Payload struct for [`" $name "::" $opcode "`]"]
+                    #[derive(Debug, Serialize, Deserialize)]
+                    #[cfg_attr(feature = "schema", derive(schemars::JsonSchema))]
+                    #[cfg_attr(feature = "rkyv", derive(rkyv::Archive, rkyv::Serialize, rkyv::Deserialize))]
+                    #[cfg_attr(feature = "ts", derive(ts_bindgen::TypeScriptDef))]
+                    $(#[derive($Default, PartialEq, Eq)])?
+                    pub struct [<$opcode Payload>] {
+                        $($(#[$field_meta])* pub $field : $ty,)*
+                    }
+
+                    $($(
+                        impl core::ops::$Deref for [<$opcode Payload>] {
+                            type Target = $ty;
+
+                            #[inline(always)]
+                            fn deref(&self) -> &Self::Target {
+                                &self.$field
+                            }
+                        }
+
+                        #[cfg(feature = "rkyv")]
+                        impl core::ops::$Deref for [<Archived $opcode Payload>] {
+                            type Target = rkyv::Archived<$ty>;
+
+                            #[inline(always)]
+                            fn deref(&self) -> &Self::Target {
+                                &self.inner
+                            }
+                        }
+                    )?)*
+                )*
+            }
+
+            #[cfg(feature = "framework")]
+            pub struct [<Dynamic $name Handlers>]<C, U = (), S = ()> {
+                state: Arc<S>,
+
+                fallback: Box<dyn Fn(Arc<S>, C, $name) -> BoxFuture<'static, U> + Send + Sync>,
+
+                $(
+                    [<$opcode:snake _handler>]: Option<Box<dyn Fn(Arc<S>, C, $($ty,)*) -> BoxFuture<'static, U> + Send + Sync>>,
+                )*
+            }
+
+            #[cfg(feature = "framework")]
+            impl<C> Default for [<Dynamic $name Handlers>]<C, (), ()> {
+                fn default() -> Self {
+                    Self::new(|_, _, _| async {})
+                }
+            }
+
+            #[cfg(feature = "framework")]
+            impl<C, U> [<Dynamic $name Handlers>]<C, U, ()> {
+                pub fn new<F, R>(fallback: F) -> Self
+                where
+                    F: Fn(Arc<()>, C, $name) -> R + Send + Sync + 'static,
+                    R: Future<Output = U> + Send + 'static
+                {
+                    Self::new_with_state((), fallback)
+                }
+            }
+
+            #[cfg(feature = "framework")]
+            impl<C, U, S> [<Dynamic $name Handlers>]<C, U, S> {
+                pub fn new_with_state<F, R>(state: S, fallback: F) -> Self
+                where
+                    F: Fn(Arc<S>, C, $name) -> R + Send + Sync + 'static,
+                    R: Future<Output = U> + Send + 'static
+                {
+                    Self::new_raw_with_state(state, Box::new(move |this, ctx, msg| Box::pin(fallback(this, ctx, msg)) ))
+                }
+
+                pub fn new_raw_with_state(state: impl Into<Arc<S>>, fallback: Box<dyn Fn(Arc<S>, C, $name) -> BoxFuture<'static, U> + Send + Sync>) -> Self {
+                    Self {
+                        state: state.into(),
+                        fallback,
+                        $([<$opcode:snake _handler>]: None,)*
+                    }
+                }
+
+                #[inline(always)] #[must_use]
+                pub fn state(&self) -> &S {
+                    &self.state
+                }
+
+                $(
+                    pub fn [<on_ $opcode:snake>]<F, R>(&mut self, cb: F) -> &mut Self
+                    where
+                        F: Fn(Arc<S>, C, $($ty,)*) -> R + Send + Sync + 'static,
+                        R: Future<Output = U> + Send + 'static,
+                    {
+                        assert!(
+                            self.[<$opcode:snake _handler>].is_none(),
+                            concat!("Cannot have more than one listener for ", stringify!([<on_ $opcode:snake>]))
+                        );
+
+                        self.[<$opcode:snake _handler>] = Some(Box::new(move |this, ctx, $($field,)*| Box::pin(cb(this, ctx, $($field,)*))));
+                        self
+                    }
+                )*
+            }
+
+            #[cfg(feature = "framework")]
+            impl<C: Send + 'static, U, S> [<$name Handlers>]<C, U> for [<Dynamic $name Handlers>]<C, U, S> where S: Send + Sync {
+                async fn fallback(&self, ctx: C, msg: $name) -> U {
+                    (self.fallback)(self.state.clone(), ctx, msg).await
+                }
+
+                $(
+                    async fn [<$opcode:snake>](&self, ctx: C, $($field: $ty,)*) -> U {
+                        match self.[<$opcode:snake _handler>] {
+                            Some(ref cb) => cb(self.state.clone(), ctx, $($field,)*).await,
+                            None => self.fallback(ctx, $name::$opcode([<$name:snake _payloads>]::[<$opcode Payload>] { $($field,)* })).await,
+                        }
+                    }
+                )*
+            }
+
+            #[doc = "Handler callbacks for [`" $name "`]"]
+            #[cfg(feature = "framework")]
+            pub trait [<$name Handlers>]<C, U = ()>: Send + Sync where C: Send + 'static {
+                /// Dispatches a message to the appropriate event handler
+                async fn dispatch(&self, ctx: C, msg: $name) -> U {
+                    match msg {
+                        $($name::$opcode([<$name:snake _payloads>]::[<$opcode Payload>] { $($field,)* }) => {
+                            self.[<$opcode:snake>](ctx, $($field,)*).await
+                        })*
+                    }
+                }
+
+                /// Callback for unhandled messages
+                async fn fallback(&self, ctx: C, msg: $name) -> U;
+
+                $(
+                    $(#[$variant_meta])*
+                    #[doc = ""]
+                    #[doc = "Handler callback for [`" $name "::" $opcode "`]"]
+                    #[inline(always)]
+                    async fn [<$opcode:snake>](&self, ctx: C, $($field: $ty,)*) -> U {
+                        self.fallback(ctx, $name::$opcode([<$name:snake _payloads>]::[<$opcode Payload>] { $($field,)* })).await
+                    }
+                )*
+            }
+
+            $(#[$meta])*
+            #[derive(Debug)]
+            #[cfg_attr(feature = "schema", derive(schemars::JsonSchema))]
+            #[cfg_attr(feature = "rkyv", derive(rkyv::Archive, rkyv::Serialize, rkyv::Deserialize))]
+            #[repr(u8)]
+            pub enum $name {
+                $(
+                    $(#[$variant_meta])*
+                    #[doc = ""]
+                    #[doc = "See [`" [<new_ $opcode:snake>] "`](" $name "::" [<new_ $opcode:snake>] ") for an easy way to create this message."]
+                    #[cfg_attr(feature = "schema", schemars(description = "" $name "::" $opcode "" ))]
+                    $opcode([<$name:snake _payloads>]::[<$opcode Payload>]) = $code,
+                )*
+            }
+
+            impl $name {
+                /// Returns the discrete opcode for the message
+                #[must_use]
+                pub const fn opcode(&self) -> [<$name Opcode>] {
+                    match self {
+                        $($name::$opcode(_) => [<$name Opcode>]::$opcode,)*
+                    }
+                }
+            }
+
+            impl From<&$name> for [<$name Opcode>] {
+                #[inline]
+                fn from(msg: &$name) -> [<$name Opcode>] {
+                    msg.opcode()
+                }
+            }
+
+            impl $name {
+                $(
+                    #[doc = "Create new [`" $opcode "`](" $name "::" $opcode ") message from payload fields."]
+                    #[doc = ""]
+                    $(#[$variant_meta])*
+                    #[inline] #[must_use]
+                    pub fn [<new_ $opcode:snake>]($($field: impl Into<$ty>),*) -> Self {
+                        $name::$opcode([<$name:snake _payloads>]::[<$opcode Payload>] {
+                            $($field: $field.into()),*
+                        })
+                    }
+                )*
+            }
+
+            #[cfg(feature = "ts")]
+            const _: () = {
+                use ts_bindgen::{TypeScriptDef, TypeScriptType, TypeRegistry};
+
+                impl TypeScriptDef for $name {
+                    #[allow(clippy::vec_init_then_push)]
+                    fn register(registry: &mut TypeRegistry) -> TypeScriptType {
+                        if registry.contains(stringify!($name)) {
+                            return TypeScriptType::Named(stringify!($name));
+                        }
+
+                        [<$name Opcode>]::register(registry);
+
+                        let mut variants = Vec::new();
+
+                        $(
+                            variants.push({
+                                let mut members = Vec::new();
+
+                                // o: Opcode.$opcode
+                                members.push(( "o".to_owned(), TypeScriptType::EnumValue(stringify!([<$name Opcode>]), stringify!($opcode)) ));
+                                // p: Payload
+                                members.push(( "p".to_owned(), <[<$name:snake _payloads>]::[<$opcode Payload>]>::register(registry) ));
+
+                                TypeScriptType::interface(members, 0)
+                            });
+                        )*
+
+                        registry.insert(stringify!($name), TypeScriptType::Union(variants));
+
+                        TypeScriptType::Named(stringify!($name))
+                    }
+                }
+            };
+
+            impl Serialize for $name {
+                fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
+                where
+                    S: Serializer,
+                {
+                    let state = match self {$(
+                        $name::$opcode(payload) => {
+                            let skip_payload = false $(|| [<is_ $Default:lower>](payload))?;
+
+                            let mut state = serializer.serialize_struct(stringify!($name), 2 - skip_payload as usize)?;
+
+                            state.serialize_field("o", &[<$name Opcode>]::$opcode)?;
+
+                            if !skip_payload {
+                                state.serialize_field("p", payload)?;
+                            }
+
+                            state
+                        }
+                    )*};
+
+                    state.end()
+                }
+            }
+
+            impl<'de> Deserialize<'de> for $name {
+                fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>
+                where
+                    D: Deserializer<'de>
+                {
+                    use core::fmt;
+
+                    #[derive(Clone, Copy, Deserialize)]
+                    #[serde(rename_all = "lowercase")]
+                    enum Field {
+                        #[serde(alias = "o")]
+                        Opcode,
+
+                        #[serde(alias = "p")]
+                        Payload,
+                    }
+
+                    struct MessageVisitor;
+
+                    impl<'de> Visitor<'de> for MessageVisitor {
+                        type Value = $name;
+
+                        fn expecting(&self, formatter: &mut fmt::Formatter) -> fmt::Result {
+                            formatter.write_str(concat!("struct ", stringify!($name)))
+                        }
+
+                        fn visit_map<V>(self, mut map: V) -> Result<Self::Value, V::Error>
+                        where
+                            V: MapAccess<'de>,
+                        {
+                            let opcode = match map.next_entry()? {
+                                Some((Field::Opcode, o)) => o,
+                                _ => return Err(de::Error::custom("Missing opcode first")),
+                            };
+
+                            match opcode {
+                                $(
+                                    [<$name Opcode>]::$opcode => Ok($name::$opcode(match map.next_entry()? {
+                                        Some((Field::Payload, payload)) => payload,
+                                        $(None => $Default::default(),)?
+
+                                        #[allow(unreachable_patterns)]
+                                        _ => return Err(de::Error::missing_field("payload")),
+                                    })),
+                                )*
+                                // _ => Err(de::Error::custom("Invalid opcode")),
+                            }
+                        }
+
+                        fn visit_seq<A>(self, mut seq: A) -> Result<Self::Value, A::Error>
+                        where
+                            A: SeqAccess<'de>
+                        {
+                            let opcode: [<$name Opcode>] = match seq.next_element()? {
+                                Some(o) => o,
+                                _ => return Err(de::Error::custom("Missing opcode first")),
+                            };
+
+                            match opcode {
+                                $(
+                                    [<$name Opcode>]::$opcode => Ok($name::$opcode(match seq.next_element()? {
+                                        Some(payload) => payload,
+                                        $(None => $Default::default(),)?
+
+                                        #[allow(unreachable_patterns)]
+                                        _ => return Err(de::Error::missing_field("payload")),
+                                    })),
+                                )*
+                            }
+                        }
+                    }
+
+                    deserializer.deserialize_struct(stringify!($name), &["o", "p"], MessageVisitor)
+                }
+            }
+        }}
+    }
+
+    #[cfg(feature = "framework")]
+    use futures::future::{BoxFuture, Future};
+
+    #[allow(unused_imports)]
+    use crate::models::{
+        aliases::*,
+        commands::{Identify, SetPresence},
+        events::*,
+        Arc, Intent, Message as RoomMessage, Party, PartyMember, Relationship, Role, User, UserPresence,
+    };
+
+    type Room = (); // TODO
+
+    // TODO: Check that this enum doesn't grow too large, allocate large payloads like Ready
+    decl_msgs! {
+        /// Messages send from the server to the client
+        enum ServerMsg {
+            /// The Hello message initiates the gateway session and expects a [ClientMsg::Identify] in return.
+            0 => Hello { #[serde(flatten)] inner: Hello },
+
+            /// Acknowledgement of a heartbeat
+            1 => HeartbeatAck: Default {},
+            2 => Ready { #[serde(flatten)] inner *Deref: Arc<Ready> },
+
+            /// Sent when the session is no longer valid
+            3 => InvalidSession: Default {},
+
+            4 => PartyCreate { #[serde(flatten)] inner *Deref: Arc<Party> },
+            5 => PartyUpdate { #[serde(flatten)] inner *Deref: Arc<PartyUpdateEvent> },
+            6 => PartyDelete { id: PartyId },
+
+            7 => RoleCreate { #[serde(flatten)] inner *Deref: Arc<Role> },
+            8 => RoleUpdate { #[serde(flatten)] inner *Deref: Arc<Role> },
+            9 => RoleDelete { #[serde(flatten)] inner *Deref: Arc<RoleDeleteEvent> },
+
+            10 => MemberAdd     { #[serde(flatten)] inner *Deref: Arc<PartyMemberEvent> },
+            11 => MemberUpdate  { #[serde(flatten)] inner *Deref: Arc<PartyMemberEvent> },
+            12 => MemberRemove  { #[serde(flatten)] inner *Deref: Arc<PartyMemberEvent> },
+            13 => MemberBan     { #[serde(flatten)] inner *Deref: Arc<PartyMemberEvent> },
+            14 => MemberUnban   { #[serde(flatten)] inner *Deref: Arc<PartyMemberEvent> },
+
+            15 => RoomCreate { #[serde(flatten)] inner *Deref: Arc<Room> },
+            16 => RoomUpdate { #[serde(flatten)] inner *Deref: Arc<Room> },
+            17 => RoomDelete { #[serde(flatten)] inner *Deref: Arc<RoomDeleteEvent> },
+            18 => RoomPinsUpdate {},
+
+            19 => MessageCreate { #[serde(flatten)] inner *Deref: Arc<RoomMessage> },
+            20 => MessageUpdate { #[serde(flatten)] inner *Deref: Arc<RoomMessage> },
+            21 => MessageDelete { #[serde(flatten)] inner *Deref: Arc<MessageDeleteEvent> },
+
+            22 => MessageReactionAdd { #[serde(flatten)] inner *Deref: Arc<UserReactionEvent> },
+            23 => MessageReactionRemove { #[serde(flatten)] inner *Deref: Arc<UserReactionEvent> },
+            24 => MessageReactionRemoveAll {},
+            25 => MessageReactionRemoveEmote {},
+
+            26 => PresenceUpdate { #[serde(flatten)] inner *Deref: Arc<UserPresenceEvent> },
+            27 => TypingStart { #[serde(flatten)] inner *Deref: Arc<TypingStart> },
+            28 => UserUpdate { user: Arc<User> },
+
+            29 => ProfileUpdate { #[serde(flatten)] inner *Deref: Arc<ProfileUpdateEvent> },
+            30 => RelationAdd { #[serde(flatten)] inner *Deref: Arc<Relationship> },
+            31 => RelationRemove { user_id: UserId },
+        }
+    }
+
+    decl_msgs! {
+        /// Messages sent from the client to the server
+        enum ClientMsg {
+            0 => Heartbeat: Default {},
+            1 => Identify { #[serde(flatten)] inner *Deref: Box<Identify> },
+            2 => Resume { session: Snowflake },
+            3 => SetPresence { #[serde(flatten)] inner *Deref: Box<SetPresence> },
+            4 => Subscribe { party_id: PartyId },
+            5 => Unsubscribe { party_id: PartyId },
+        }
+    }
+
+    impl ServerMsg {
+        #[rustfmt::skip] #[must_use]
+        pub fn matching_intent(&self) -> Option<Intent> {
+            Some(match *self {
+                | ServerMsg::PartyCreate { .. }
+                | ServerMsg::PartyDelete { .. }
+                | ServerMsg::PartyUpdate { .. }
+                | ServerMsg::RoleCreate { .. }
+                | ServerMsg::RoleDelete { .. }
+                | ServerMsg::RoleUpdate { .. }
+                | ServerMsg::RoomPinsUpdate { .. }
+                | ServerMsg::RoomCreate { .. }
+                | ServerMsg::RoomDelete { .. }
+                | ServerMsg::RoomUpdate { .. }
+                    => Intent::PARTIES,
+
+                | ServerMsg::MemberAdd { .. }
+                | ServerMsg::MemberUpdate { .. }
+                | ServerMsg::MemberRemove { .. }
+                    => Intent::PARTY_MEMBERS,
+
+                | ServerMsg::MemberBan {..}
+                | ServerMsg::MemberUnban {..}
+                    => Intent::PARTY_BANS,
+
+                | ServerMsg::MessageCreate { .. }
+                | ServerMsg::MessageDelete { .. }
+                | ServerMsg::MessageUpdate { .. }
+                    => Intent::MESSAGES,
+
+                | ServerMsg::MessageReactionAdd { .. }
+                | ServerMsg::MessageReactionRemove { .. }
+                | ServerMsg::MessageReactionRemoveAll { .. }
+                | ServerMsg::MessageReactionRemoveEmote { .. }
+                    => Intent::MESSAGE_REACTIONS,
+
+                ServerMsg::PresenceUpdate { .. }
+                    => Intent::PRESENCE,
+
+                ServerMsg::TypingStart { .. }
+                    => Intent::MESSAGE_TYPING,
+
+                ServerMsg::ProfileUpdate(ref payload) => match payload.inner.party_id {
+                    Some(_) => Intent::PROFILE_UPDATES | Intent::PARTY_MEMBERS,
+                    None => Intent::PROFILE_UPDATES,
+                }
+
+                | ServerMsg::Hello { .. }
+                | ServerMsg::HeartbeatAck { .. }
+                | ServerMsg::Ready { .. }
+                | ServerMsg::UserUpdate { .. }
+                | ServerMsg::InvalidSession { .. }
+                | ServerMsg::RelationAdd { .. }
+                | ServerMsg::RelationRemove { .. }
+                    => return None,
+            })
+        }
+
+        /// If the event originated from a specific user, get their ID
+        #[must_use]
+        pub fn user_id(&self) -> Option<UserId> {
+            Some(match self {
+                ServerMsg::MemberAdd(e) => e.member.user.id,
+                ServerMsg::MemberUpdate(e) => e.member.user.id,
+                ServerMsg::MemberRemove(e) => e.member.user.id,
+                ServerMsg::MemberBan(e) => e.member.user.id,
+                ServerMsg::MemberUnban(e) => e.member.user.id,
+
+                ServerMsg::MessageCreate(m) => m.author.id,
+                ServerMsg::MessageUpdate(m) => m.author.id,
+
+                ServerMsg::MessageReactionAdd(r) => r.user_id,
+                ServerMsg::MessageReactionRemove(r) => r.user_id,
+
+                ServerMsg::PresenceUpdate(p) => p.user.id,
+                _ => return None,
+            })
+        }
+    }
+
+    #[cfg(test)]
+    mod tests {
+        use core::mem::size_of;
+
+        use super::*;
+
+        #[test]
+        fn test_client_msg_size() {
+            assert_eq!(16, size_of::<ClientMsg>());
+        }
+
+        #[cfg(feature = "ts")]
+        #[test]
+        fn test_server_msg_ts() {
+            use ts_bindgen::{TypeRegistry, TypeScriptDef};
+
+            let mut registry = TypeRegistry::default();
+
+            ServerMsg::register(&mut registry);
+
+            println!("{}", registry.fmt_to_string().unwrap());
+        }
+    }
+}
+
\ No newline at end of file diff --git a/src/client_sdk/models/invite.rs.html b/src/client_sdk/models/invite.rs.html new file mode 100644 index 000000000..d8a8b1bc7 --- /dev/null +++ b/src/client_sdk/models/invite.rs.html @@ -0,0 +1,55 @@ +invite.rs - source
1
+2
+3
+4
+5
+6
+7
+8
+9
+10
+11
+12
+13
+14
+15
+16
+17
+18
+19
+20
+21
+22
+23
+24
+25
+26
+27
+
use super::*;
+
+#[derive(Debug, Clone, Serialize, Deserialize)]
+#[cfg_attr(feature = "schema", derive(schemars::JsonSchema))]
+#[cfg_attr(feature = "rkyv", derive(rkyv::Archive, rkyv::Serialize, rkyv::Deserialize))]
+#[cfg_attr(feature = "ts", derive(ts_bindgen::TypeScriptDef))]
+pub struct Invite {
+    /// Invite code, which is either an encrypted Snowflake or a custom vanity code.
+    pub code: SmolStr,
+
+    pub party: PartialParty,
+
+    #[serde(default, skip_serializing_if = "Option::is_none")]
+    #[cfg_attr(feature = "rkyv", rkyv(with = NicheSnowflake))]
+    pub inviter: Option<UserId>,
+
+    #[serde(default, skip_serializing_if = "is_none_or_empty")]
+    pub description: Option<SmolStr>,
+
+    pub expires: Option<Timestamp>,
+
+    /// Number of remaining uses this invite has left.
+    ///
+    /// Only users with the `MANAGE_INVITES` permission can see this.
+    #[serde(default, skip_serializing_if = "Option::is_none")]
+    pub remaining: Option<u16>,
+}
+
\ No newline at end of file diff --git a/src/client_sdk/models/message.rs.html b/src/client_sdk/models/message.rs.html new file mode 100644 index 000000000..b6bc9f7e7 --- /dev/null +++ b/src/client_sdk/models/message.rs.html @@ -0,0 +1,393 @@ +message.rs - source
1
+2
+3
+4
+5
+6
+7
+8
+9
+10
+11
+12
+13
+14
+15
+16
+17
+18
+19
+20
+21
+22
+23
+24
+25
+26
+27
+28
+29
+30
+31
+32
+33
+34
+35
+36
+37
+38
+39
+40
+41
+42
+43
+44
+45
+46
+47
+48
+49
+50
+51
+52
+53
+54
+55
+56
+57
+58
+59
+60
+61
+62
+63
+64
+65
+66
+67
+68
+69
+70
+71
+72
+73
+74
+75
+76
+77
+78
+79
+80
+81
+82
+83
+84
+85
+86
+87
+88
+89
+90
+91
+92
+93
+94
+95
+96
+97
+98
+99
+100
+101
+102
+103
+104
+105
+106
+107
+108
+109
+110
+111
+112
+113
+114
+115
+116
+117
+118
+119
+120
+121
+122
+123
+124
+125
+126
+127
+128
+129
+130
+131
+132
+133
+134
+135
+136
+137
+138
+139
+140
+141
+142
+143
+144
+145
+146
+147
+148
+149
+150
+151
+152
+153
+154
+155
+156
+157
+158
+159
+160
+161
+162
+163
+164
+165
+166
+167
+168
+169
+170
+171
+172
+173
+174
+175
+176
+177
+178
+179
+180
+181
+182
+183
+184
+185
+186
+187
+188
+189
+190
+191
+192
+193
+194
+195
+196
+
use super::*;
+
+bitflags::bitflags! {
+    #[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
+    pub struct MessageFlags: i32 {
+        /// This message has been deleted
+        const DELETED           = 1 << 0;
+        /// This messages has been deleted by another user
+        const REMOVED           = 1 << 1;
+        /// If this message has children
+        const PARENT            = 1 << 2;
+
+        const MENTIONS_EVERYONE = 1 << 3;
+        const MENTIONS_HERE     = 1 << 4;
+        const TTS               = 1 << 5;
+
+        const SUPRESS_EMBEDS    = 1 << 10;
+
+        /// Set if the message has been starred by the user requesting it
+        const STARRED           = 1 << 12;
+
+        /// Top 6 bits are a language code,
+        /// which is never actually exposed to users.
+        const LANGUAGE          = 0b11_11_11 << (32 - 6);
+    }
+}
+
+impl_rkyv_for_bitflags!(pub MessageFlags: i32);
+impl_serde_for_bitflags!(MessageFlags);
+impl_schema_for_bitflags!(MessageFlags);
+impl_sql_for_bitflags!(MessageFlags);
+
+impl MessageFlags {
+    #[inline]
+    #[must_use]
+    pub const fn from_bits_truncate_public(bits: i32) -> Self {
+        Self::from_bits_truncate(bits).difference(Self::LANGUAGE)
+    }
+}
+
+decl_enum! {
+    #[derive(Default)]
+    #[cfg_attr(feature = "schema", derive(schemars::JsonSchema))]
+    #[derive(serde_repr::Serialize_repr, serde_repr::Deserialize_repr)]
+    #[derive(enum_primitive_derive::Primitive)]
+    pub enum MessageKind: i16 {
+        #[default]
+        0 = Normal,
+        1 = Welcome,
+        2 = Ephemeral,
+        3 = Unavailable,
+    }
+}
+
+#[derive(Debug, Clone, Serialize, Deserialize)]
+#[cfg_attr(feature = "schema", derive(schemars::JsonSchema))]
+#[cfg_attr(feature = "rkyv", derive(rkyv::Archive, rkyv::Serialize, rkyv::Deserialize))]
+#[cfg_attr(feature = "ts", derive(ts_bindgen::TypeScriptDef))]
+pub struct Message {
+    pub id: MessageId,
+    pub room_id: RoomId,
+    pub party_id: PartyId,
+
+    #[serde(default, skip_serializing_if = "is_default")]
+    pub kind: MessageKind,
+
+    pub author: PartyMember,
+
+    #[serde(default, skip_serializing_if = "Option::is_none")]
+    pub parent: Option<MessageId>,
+
+    #[serde(default, skip_serializing_if = "Option::is_none")]
+    pub edited_at: Option<Timestamp>,
+
+    #[serde(default, skip_serializing_if = "Option::is_none")]
+    pub content: Option<SmolStr>,
+
+    pub flags: MessageFlags,
+
+    #[serde(default, skip_serializing_if = "ThinVec::is_empty")]
+    pub pins: ThinVec<FolderId>,
+
+    #[serde(default, skip_serializing_if = "ThinVec::is_empty")]
+    pub user_mentions: ThinVec<UserId>,
+    #[serde(default, skip_serializing_if = "ThinVec::is_empty")]
+    pub role_mentions: ThinVec<RoleId>,
+    #[serde(default, skip_serializing_if = "ThinVec::is_empty")]
+    pub room_mentions: ThinVec<RoomId>,
+
+    #[serde(default, skip_serializing_if = "ThinVec::is_empty")]
+    pub reactions: ThinVec<Reaction>,
+
+    #[serde(default, skip_serializing_if = "ThinVec::is_empty")]
+    pub attachments: ThinVec<Attachment>,
+
+    #[serde(default, skip_serializing_if = "ThinVec::is_empty")]
+    pub embeds: ThinVec<Embed>,
+
+    #[serde(default, skip_serializing_if = "is_default")]
+    pub score: i32,
+}
+
+/// Simple enum for custom emote ids or emoji symbols
+///
+/// When written to URLs in the API (or `Display`ed), emojis become percent encoded, and custom emote ids
+/// are prefixed with a colon (`:`)
+#[derive(Debug, Clone, Serialize, Deserialize)]
+#[cfg_attr(feature = "schema", derive(schemars::JsonSchema))]
+#[cfg_attr(feature = "rkyv", derive(rkyv::Archive, rkyv::Serialize, rkyv::Deserialize))]
+#[cfg_attr(feature = "ts", derive(ts_bindgen::TypeScriptDef))]
+#[serde(untagged)]
+pub enum EmoteOrEmoji {
+    Emote { emote: EmoteId },
+    Emoji { emoji: SmolStr },
+}
+
+#[cfg(feature = "api")]
+const _: () = {
+    use super::*;
+
+    use core::{fmt, str::FromStr};
+
+    use percent_encoding::{percent_decode_str, percent_encode, NON_ALPHANUMERIC};
+
+    impl fmt::Display for EmoteOrEmoji {
+        fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
+            match self {
+                EmoteOrEmoji::Emoji { emoji } => percent_encode(emoji.as_bytes(), NON_ALPHANUMERIC).fmt(f),
+                EmoteOrEmoji::Emote { emote } => {
+                    f.write_str(":")?;
+                    emote.fmt(f)
+                }
+            }
+        }
+    }
+
+    impl FromStr for EmoteOrEmoji {
+        type Err = <EmoteId as FromStr>::Err;
+
+        fn from_str(s: &str) -> Result<Self, Self::Err> {
+            // TODO: Better behavior for this?
+            if s.is_empty() {
+                return Ok(EmoteOrEmoji::Emoji {
+                    emoji: SmolStr::default(),
+                });
+            }
+
+            Ok(match s.as_bytes()[0] {
+                b':' => EmoteOrEmoji::Emote { emote: s[1..].parse()? },
+                _ => EmoteOrEmoji::Emoji {
+                    emoji: percent_decode_str(s).decode_utf8_lossy().into(),
+                },
+            })
+        }
+    }
+};
+
+#[derive(Debug, Clone, Serialize, Deserialize)]
+#[cfg_attr(feature = "schema", derive(schemars::JsonSchema))]
+#[cfg_attr(feature = "rkyv", derive(rkyv::Archive, rkyv::Serialize, rkyv::Deserialize))]
+#[cfg_attr(feature = "ts", derive(ts_bindgen::TypeScriptDef))]
+pub struct ReactionShorthand {
+    #[serde(flatten)]
+    pub emote: EmoteOrEmoji,
+
+    pub me: bool,
+    pub count: i64,
+}
+
+#[derive(Debug, Clone, Serialize, Deserialize)]
+#[cfg_attr(feature = "schema", derive(schemars::JsonSchema))]
+#[cfg_attr(feature = "rkyv", derive(rkyv::Archive, rkyv::Serialize, rkyv::Deserialize))]
+#[cfg_attr(feature = "ts", derive(ts_bindgen::TypeScriptDef))]
+pub struct ReactionFull {
+    pub emote: EmoteOrEmoji,
+    pub users: ThinVec<UserId>,
+}
+
+#[derive(Debug, Clone, Serialize, Deserialize)]
+#[cfg_attr(feature = "schema", derive(schemars::JsonSchema))]
+#[cfg_attr(feature = "rkyv", derive(rkyv::Archive, rkyv::Serialize, rkyv::Deserialize))]
+#[cfg_attr(feature = "ts", derive(ts_bindgen::TypeScriptDef))]
+#[serde(untagged)]
+pub enum Reaction {
+    Shorthand(ReactionShorthand),
+    Full(ReactionFull),
+}
+
+#[derive(Debug, Clone, Serialize, Deserialize)]
+#[cfg_attr(feature = "schema", derive(schemars::JsonSchema))]
+#[cfg_attr(feature = "rkyv", derive(rkyv::Archive, rkyv::Serialize, rkyv::Deserialize))]
+#[cfg_attr(feature = "ts", derive(ts_bindgen::TypeScriptDef))]
+pub struct Attachment {
+    #[serde(flatten)]
+    pub file: File,
+}
+
\ No newline at end of file diff --git a/src/client_sdk/models/mod.rs.html b/src/client_sdk/models/mod.rs.html new file mode 100644 index 000000000..04d50a1d1 --- /dev/null +++ b/src/client_sdk/models/mod.rs.html @@ -0,0 +1,535 @@ +mod.rs - source
1
+2
+3
+4
+5
+6
+7
+8
+9
+10
+11
+12
+13
+14
+15
+16
+17
+18
+19
+20
+21
+22
+23
+24
+25
+26
+27
+28
+29
+30
+31
+32
+33
+34
+35
+36
+37
+38
+39
+40
+41
+42
+43
+44
+45
+46
+47
+48
+49
+50
+51
+52
+53
+54
+55
+56
+57
+58
+59
+60
+61
+62
+63
+64
+65
+66
+67
+68
+69
+70
+71
+72
+73
+74
+75
+76
+77
+78
+79
+80
+81
+82
+83
+84
+85
+86
+87
+88
+89
+90
+91
+92
+93
+94
+95
+96
+97
+98
+99
+100
+101
+102
+103
+104
+105
+106
+107
+108
+109
+110
+111
+112
+113
+114
+115
+116
+117
+118
+119
+120
+121
+122
+123
+124
+125
+126
+127
+128
+129
+130
+131
+132
+133
+134
+135
+136
+137
+138
+139
+140
+141
+142
+143
+144
+145
+146
+147
+148
+149
+150
+151
+152
+153
+154
+155
+156
+157
+158
+159
+160
+161
+162
+163
+164
+165
+166
+167
+168
+169
+170
+171
+172
+173
+174
+175
+176
+177
+178
+179
+180
+181
+182
+183
+184
+185
+186
+187
+188
+189
+190
+191
+192
+193
+194
+195
+196
+197
+198
+199
+200
+201
+202
+203
+204
+205
+206
+207
+208
+209
+210
+211
+212
+213
+214
+215
+216
+217
+218
+219
+220
+221
+222
+223
+224
+225
+226
+227
+228
+229
+230
+231
+232
+233
+234
+235
+236
+237
+238
+239
+240
+241
+242
+243
+244
+245
+246
+247
+248
+249
+250
+251
+252
+253
+254
+255
+256
+257
+258
+259
+260
+261
+262
+263
+264
+265
+266
+267
+
//! Object data structures used within Lantern
+
+#![allow(unused_imports, clippy::identity_op)]
+#![deny(unused_imports)]
+//#![cfg_attr(debug_assertions, warn(missing_docs))]
+
+#[cfg(feature = "rkyv")]
+use rkyv::with::Niche;
+
+pub use smol_str::SmolStr;
+pub use thin_vec::ThinVec;
+pub use timestamp::Timestamp;
+pub use triomphe::Arc;
+pub use util::{fixed_str::FixedStr, thin_str::ThinString};
+
+#[macro_use]
+pub mod util;
+pub mod nullable;
+pub mod sf;
+
+pub use nullable::Nullable;
+pub use sf::Snowflake;
+
+/// Encrypted Snowflake, used for obfuscating IDs in URLs.
+///
+/// Used for certain asset IDs, such as avatars.
+pub type EncryptedSnowflake = FixedStr<22>;
+
+/// Defines Snowflake aliases to easier keep track of what ID is for what.
+pub mod aliases {
+    use super::Snowflake;
+
+    macro_rules! decl_aliases {
+        ($($(#[$meta:meta])* $name:ident,)*) => {
+            $(
+                $(#[$meta])*
+                pub type $name = Snowflake;
+
+                #[cfg(feature = "rkyv")]
+                paste::paste! {
+                    #[doc = "Archived version of [`" $name "`]"]
+                    pub type [<Archived $name>] = rkyv::Archived<Snowflake>;
+                }
+            )*
+        };
+    }
+
+    decl_aliases! {
+        /// Snowflake ID for a Party
+        PartyId,
+        /// Snowflake ID for a User
+        UserId,
+        /// Snowflake ID for a Role
+        RoleId,
+        /// Snowflake ID for a Room
+        RoomId,
+        /// Snowflake ID for a Message
+        MessageId,
+        /// Snowflake ID for a Custom Emote
+        EmoteId,
+        /// Snowflake ID for a File
+        FileId,
+        /// Snowflake ID for an party Invite
+        InviteId,
+        /// Snowflake ID for a message Thread
+        ThreadId,
+        /// Snowflake ID for a Pin Folder
+        FolderId,
+    }
+}
+
+pub use aliases::*;
+
+macro_rules! decl_newtype_prefs {
+    ($( $(#[$meta:meta])* $name:ident: $ty:ty $(= $default:expr)?,)*) => {
+        $(
+            $(#[$meta])*
+            #[derive(Debug, Clone, Copy, PartialEq, PartialOrd, Serialize, Deserialize)]
+            #[cfg_attr(feature = "rkyv", derive(rkyv::Archive, rkyv::Serialize, rkyv::Deserialize))]
+            #[cfg_attr(feature = "ts", derive(ts_bindgen::TypeScriptDef))]
+            #[repr(transparent)]
+            pub struct $name(pub $ty);
+
+            $(
+                impl Default for $name {
+                    #[inline(always)]
+                    fn default() -> Self {
+                        $name($default.into())
+                    }
+                }
+            )?
+
+            impl core::ops::Deref for $name {
+                type Target = $ty;
+
+                #[inline(always)]
+                fn deref(&self) -> &$ty {
+                    &self.0
+                }
+            }
+
+            impl core::ops::DerefMut for $name {
+                #[inline(always)]
+                fn deref_mut(&mut self) -> &mut $ty {
+                    &mut self.0
+                }
+            }
+        )*
+    };
+}
+
+pub mod asset;
+pub mod auth;
+pub mod config;
+pub mod embed;
+pub mod emote;
+pub mod file;
+pub mod gateway;
+pub mod invite;
+pub mod message;
+pub mod party;
+pub mod permission;
+pub mod presence;
+pub mod role;
+pub mod room;
+pub mod session;
+pub mod stats;
+pub mod thread;
+pub mod user;
+
+/// Lightweight randomly-seeded hash builder for [`rustc_hash::FxHasher`],
+/// uses compile-time random seed that increments on each hash-builder creation.
+///
+/// This isn't quite as DOS-resistant as using `thread_local!` seeds generated at runtime,
+/// but it should provide enough obfuscation in practice for regular hashing.
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+#[repr(transparent)]
+pub struct FxRandomState2(usize);
+
+const _: () = {
+    use core::hash::BuildHasher;
+    use rustc_hash::FxHasher;
+
+    impl Default for FxRandomState2 {
+        fn default() -> Self {
+            use std::sync::atomic::{AtomicUsize, Ordering};
+
+            #[allow(clippy::double_parens)] // bug?
+            static COUNTER: AtomicUsize = AtomicUsize::new(const_random::const_random!(usize));
+
+            // some high-entropy digits of PI made odd to increase period,
+            // worth noting `fetch_add` always wraps around
+            // https://gist.github.com/retrohacker/e5fff72b7b75ee058924
+            Self(COUNTER.fetch_add(0x13198A2E03707344 | 1, Ordering::Relaxed))
+        }
+    }
+
+    impl BuildHasher for FxRandomState2 {
+        type Hasher = FxHasher;
+
+        #[inline(always)]
+        fn build_hasher(&self) -> Self::Hasher {
+            FxHasher::with_seed(self.0)
+        }
+    }
+};
+
+pub use self::{
+    asset::*, auth::*, config::*, embed::*, emote::*, file::*, gateway::*, invite::*, message::*, party::*, permission::*,
+    presence::*, role::*, room::*, session::*, sf::*, stats::*, thread::*, user::*,
+};
+
+/// Directional search query
+#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash, Serialize, Deserialize)]
+#[cfg_attr(feature = "schema", derive(schemars::JsonSchema))]
+#[cfg_attr(feature = "rkyv", derive(rkyv::Archive, rkyv::Serialize, rkyv::Deserialize))]
+#[cfg_attr(feature = "ts", derive(ts_bindgen::TypeScriptDef))]
+#[serde(rename_all = "lowercase")]
+pub enum Cursor {
+    Exact(Snowflake),
+    After(Snowflake),
+    Before(Snowflake),
+}
+
+#[allow(unused)]
+#[inline]
+pub(crate) const fn is_false(value: &bool) -> bool {
+    !*value
+}
+
+#[allow(unused)]
+#[inline]
+pub(crate) const fn is_true(value: &bool) -> bool {
+    *value
+}
+
+#[allow(unused)]
+#[inline]
+pub(crate) fn is_none_or_empty<T: IsEmpty>(value: &Option<T>) -> bool {
+    match value {
+        None => true,
+        Some(v) => v._is_empty(),
+    }
+}
+
+#[allow(unused)]
+#[inline]
+pub(crate) fn default_true() -> bool {
+    true
+}
+
+#[allow(unused)]
+#[inline]
+pub(crate) fn is_default<T>(value: &T) -> bool
+where
+    T: Default + PartialEq,
+{
+    *value == T::default()
+}
+
+//
+
+pub(crate) trait IsEmpty {
+    fn _is_empty(&self) -> bool;
+}
+
+impl<T> IsEmpty for &[T] {
+    #[inline]
+    fn _is_empty(&self) -> bool {
+        self.is_empty()
+    }
+}
+
+impl<T> IsEmpty for Vec<T> {
+    #[inline]
+    fn _is_empty(&self) -> bool {
+        self.is_empty()
+    }
+}
+
+impl<T> IsEmpty for ThinVec<T> {
+    #[inline]
+    fn _is_empty(&self) -> bool {
+        self.is_empty()
+    }
+}
+
+impl IsEmpty for ThinString {
+    #[inline]
+    fn _is_empty(&self) -> bool {
+        self.is_empty()
+    }
+}
+
+impl IsEmpty for SmolStr {
+    #[inline]
+    fn _is_empty(&self) -> bool {
+        self.is_empty()
+    }
+}
+
+impl IsEmpty for String {
+    #[inline]
+    fn _is_empty(&self) -> bool {
+        self.is_empty()
+    }
+}
+
\ No newline at end of file diff --git a/src/client_sdk/models/nullable.rs.html b/src/client_sdk/models/nullable.rs.html new file mode 100644 index 000000000..f18301818 --- /dev/null +++ b/src/client_sdk/models/nullable.rs.html @@ -0,0 +1,777 @@ +nullable.rs - source
1
+2
+3
+4
+5
+6
+7
+8
+9
+10
+11
+12
+13
+14
+15
+16
+17
+18
+19
+20
+21
+22
+23
+24
+25
+26
+27
+28
+29
+30
+31
+32
+33
+34
+35
+36
+37
+38
+39
+40
+41
+42
+43
+44
+45
+46
+47
+48
+49
+50
+51
+52
+53
+54
+55
+56
+57
+58
+59
+60
+61
+62
+63
+64
+65
+66
+67
+68
+69
+70
+71
+72
+73
+74
+75
+76
+77
+78
+79
+80
+81
+82
+83
+84
+85
+86
+87
+88
+89
+90
+91
+92
+93
+94
+95
+96
+97
+98
+99
+100
+101
+102
+103
+104
+105
+106
+107
+108
+109
+110
+111
+112
+113
+114
+115
+116
+117
+118
+119
+120
+121
+122
+123
+124
+125
+126
+127
+128
+129
+130
+131
+132
+133
+134
+135
+136
+137
+138
+139
+140
+141
+142
+143
+144
+145
+146
+147
+148
+149
+150
+151
+152
+153
+154
+155
+156
+157
+158
+159
+160
+161
+162
+163
+164
+165
+166
+167
+168
+169
+170
+171
+172
+173
+174
+175
+176
+177
+178
+179
+180
+181
+182
+183
+184
+185
+186
+187
+188
+189
+190
+191
+192
+193
+194
+195
+196
+197
+198
+199
+200
+201
+202
+203
+204
+205
+206
+207
+208
+209
+210
+211
+212
+213
+214
+215
+216
+217
+218
+219
+220
+221
+222
+223
+224
+225
+226
+227
+228
+229
+230
+231
+232
+233
+234
+235
+236
+237
+238
+239
+240
+241
+242
+243
+244
+245
+246
+247
+248
+249
+250
+251
+252
+253
+254
+255
+256
+257
+258
+259
+260
+261
+262
+263
+264
+265
+266
+267
+268
+269
+270
+271
+272
+273
+274
+275
+276
+277
+278
+279
+280
+281
+282
+283
+284
+285
+286
+287
+288
+289
+290
+291
+292
+293
+294
+295
+296
+297
+298
+299
+300
+301
+302
+303
+304
+305
+306
+307
+308
+309
+310
+311
+312
+313
+314
+315
+316
+317
+318
+319
+320
+321
+322
+323
+324
+325
+326
+327
+328
+329
+330
+331
+332
+333
+334
+335
+336
+337
+338
+339
+340
+341
+342
+343
+344
+345
+346
+347
+348
+349
+350
+351
+352
+353
+354
+355
+356
+357
+358
+359
+360
+361
+362
+363
+364
+365
+366
+367
+368
+369
+370
+371
+372
+373
+374
+375
+376
+377
+378
+379
+380
+381
+382
+383
+384
+385
+386
+387
+388
+
/// Similar to `Option`, `Undefined` values can be used when data may exist but is not provided.
+///
+/// For example, a user biography may not be provided to any random user if they haven't
+/// given permission to non-friends to view their profile, but that does not imply it doesn't exist.
+///
+/// Similarly, not all gateway events provide all information in objects. Again, user profiles
+/// are notable in that biographies are typically excluded in events to save on bandwidth.
+#[must_use = "This enum is used to represent nullable values, and should be used as such"]
+#[derive(Default, Debug, Clone, Copy, Hash)]
+#[repr(u8)]
+pub enum Nullable<T> {
+    /// Neither present nor absent, an indeterminant value.
+    #[default]
+    Undefined = 0,
+    /// Certainly absent of value.
+    Null = 1,
+    /// Certainly present of value.
+    Some(T) = 2,
+}
+
+impl<T, U> PartialEq<Nullable<U>> for Nullable<T>
+where
+    T: PartialEq<U>,
+{
+    fn eq(&self, other: &Nullable<U>) -> bool {
+        match (self, other) {
+            (Nullable::Some(lhs), Nullable::Some(rhs)) => lhs.eq(rhs),
+            (Nullable::Undefined, Nullable::Undefined) => true,
+            (Nullable::Null, Nullable::Null) => true,
+            _ => false,
+        }
+    }
+}
+
+impl<T> From<T> for Nullable<T> {
+    fn from(value: T) -> Self {
+        Nullable::Some(value)
+    }
+}
+
+impl<T> From<Option<T>> for Nullable<T> {
+    fn from(value: Option<T>) -> Self {
+        match value {
+            None => Nullable::Null,
+            Some(value) => Nullable::Some(value),
+        }
+    }
+}
+
+impl<T> Nullable<T> {
+    /// Returns `true` if the value is `Undefined`.
+    #[inline]
+    pub const fn is_undefined(&self) -> bool {
+        matches!(self, Nullable::Undefined)
+    }
+
+    /// Returns `true` if the value is `Null`.
+    #[inline]
+    pub const fn is_null(&self) -> bool {
+        matches!(self, Nullable::Null)
+    }
+
+    /// Returns `true` if the value is `Some`.
+    #[inline]
+    pub const fn is_some(&self) -> bool {
+        matches!(self, Nullable::Some(_))
+    }
+
+    /// Maps an inner `Some` value to a different value,
+    /// carrying over `Null` and `Undefined` unchanged.
+    pub fn map<F, U>(self, f: F) -> Nullable<U>
+    where
+        F: FnOnce(T) -> U,
+    {
+        match self {
+            Nullable::Some(value) => Nullable::Some(f(value)),
+            Nullable::Null => Nullable::Null,
+            Nullable::Undefined => Nullable::Undefined,
+        }
+    }
+
+    /// Converts `Nullable<T>` to `Nullable<&T>`.
+    #[inline]
+    pub fn as_ref(&self) -> Nullable<&T> {
+        match self {
+            Nullable::Some(value) => Nullable::Some(value),
+            Nullable::Null => Nullable::Null,
+            Nullable::Undefined => Nullable::Undefined,
+        }
+    }
+
+    /// Converts `Nullable<T>` to `Nullable<&mut T>`.
+    #[inline]
+    pub fn as_mut(&mut self) -> Nullable<&mut T> {
+        match self {
+            Nullable::Some(value) => Nullable::Some(value),
+            Nullable::Null => Nullable::Null,
+            Nullable::Undefined => Nullable::Undefined,
+        }
+    }
+
+    /// Maps an inner `Some` value to a different value, using `Into`.
+    ///
+    /// Equivalent to `.map(Into::into)`.
+    pub fn convert<U>(self) -> Nullable<U>
+    where
+        T: Into<U>,
+    {
+        self.map(Into::into)
+    }
+}
+
+#[cfg(feature = "ts")]
+impl<T> ts_bindgen::TypeScriptDef for Nullable<T>
+where
+    T: ts_bindgen::TypeScriptDef,
+{
+    fn register(registry: &mut ts_bindgen::TypeRegistry) -> ts_bindgen::TypeScriptType {
+        use ts_bindgen::TypeScriptType;
+
+        let inner = T::register(registry);
+
+        // Nullable<T> is represented as `T | null | undefined` in TypeScript, or `field?: T | null` for fields.
+        TypeScriptType::Union(vec![inner, TypeScriptType::Null, TypeScriptType::Undefined])
+    }
+}
+
+mod impl_serde {
+    use serde::de::{Deserialize, Deserializer};
+    use serde::ser::{Serialize, Serializer};
+
+    use super::Nullable;
+
+    impl<T> Serialize for Nullable<T>
+    where
+        T: Serialize,
+    {
+        fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
+        where
+            S: Serializer,
+        {
+            match *self {
+                Nullable::Undefined => {
+                    panic!("Cannot serialize an `Undefined` value, use skip_serializing_if = \"Nullable::is_undefined\"")
+                }
+                Nullable::Null => serializer.serialize_none(),
+                Nullable::Some(ref value) => serializer.serialize_some(value),
+            }
+        }
+    }
+
+    impl<'de, T> Deserialize<'de> for Nullable<T>
+    where
+        T: Deserialize<'de>,
+    {
+        fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>
+        where
+            D: Deserializer<'de>,
+        {
+            match Option::deserialize(deserializer) {
+                Ok(None) => Ok(Nullable::Null),
+                Ok(Some(value)) => Ok(Nullable::Some(value)),
+                Err(e) => Err(e),
+            }
+        }
+    }
+}
+
+#[cfg(feature = "rusqlite")]
+mod rusqlite_impl {
+    use super::Nullable;
+
+    use rusqlite::types::{FromSql, FromSqlError, FromSqlResult, Null, ToSql, ToSqlOutput, ValueRef};
+
+    impl<T: FromSql> FromSql for Nullable<T> {
+        fn column_result(value: ValueRef<'_>) -> FromSqlResult<Self> {
+            match value {
+                ValueRef::Null => Ok(Nullable::Null),
+                _ => T::column_result(value).map(Nullable::Some),
+            }
+        }
+    }
+
+    impl<T: ToSql> ToSql for Nullable<T> {
+        fn to_sql(&self) -> rusqlite::Result<ToSqlOutput<'_>> {
+            match self {
+                Nullable::Some(val) => val.to_sql(),
+                _ => Ok(ToSqlOutput::from(Null)),
+            }
+        }
+    }
+}
+
+#[cfg(feature = "pg")]
+mod pg_impl {
+    use super::Nullable;
+
+    use core::error::Error;
+
+    use bytes::BytesMut;
+    use postgres_types::{to_sql_checked, FromSql, IsNull, ToSql, Type};
+
+    impl<'a, T: FromSql<'a>> FromSql<'a> for Nullable<T> {
+        fn from_sql(ty: &Type, raw: &'a [u8]) -> Result<Self, Box<dyn Error + Sync + Send>> {
+            <T as FromSql>::from_sql(ty, raw).map(Nullable::Some)
+        }
+
+        #[inline]
+        fn from_sql_null(_: &Type) -> Result<Self, Box<dyn Error + Sync + Send>> {
+            Ok(Nullable::Null)
+        }
+
+        #[inline]
+        fn accepts(ty: &Type) -> bool {
+            <T as FromSql>::accepts(ty)
+        }
+    }
+
+    impl<T: ToSql> ToSql for Nullable<T> {
+        #[inline]
+        fn to_sql(&self, ty: &Type, out: &mut BytesMut) -> Result<IsNull, Box<dyn Error + Sync + Send>> {
+            match self {
+                Nullable::Some(val) => val.to_sql(ty, out),
+                _ => Ok(IsNull::Yes),
+            }
+        }
+
+        #[inline]
+        fn accepts(ty: &Type) -> bool {
+            <T as ToSql>::accepts(ty)
+        }
+
+        to_sql_checked!();
+    }
+}
+
+#[cfg(feature = "schema")]
+mod schema_impl {
+    use super::Nullable;
+
+    use schemars::{gen::SchemaGenerator, schema::Schema, JsonSchema};
+
+    // TODO: Replace this with something better than Option's settings eventually.
+    impl<T> JsonSchema for Nullable<T>
+    where
+        T: JsonSchema,
+    {
+        fn is_referenceable() -> bool {
+            Option::<T>::is_referenceable()
+        }
+
+        fn schema_name() -> String {
+            Option::<T>::schema_name()
+        }
+
+        fn json_schema(gen: &mut SchemaGenerator) -> Schema {
+            Option::<T>::json_schema(gen)
+        }
+
+        fn _schemars_private_non_optional_json_schema(gen: &mut SchemaGenerator) -> Schema {
+            Option::<T>::_schemars_private_non_optional_json_schema(gen)
+        }
+
+        fn _schemars_private_is_option() -> bool {
+            Option::<T>::_schemars_private_is_option()
+        }
+    }
+}
+
+#[cfg(feature = "rkyv")]
+mod rkyv_impl {
+    use core::marker::PhantomData;
+
+    use super::*;
+
+    use rkyv::{
+        bytecheck::{CheckBytes, InvalidEnumDiscriminantError, UnnamedEnumVariantCheckContext},
+        rancor::{Fallible, Source, Trace},
+        traits::CopyOptimization,
+        Archive, Archived, Deserialize, Place, Portable, Serialize,
+    };
+
+    unsafe impl<T> Portable for Nullable<T> where T: Portable {}
+
+    #[repr(u8)]
+    pub enum ArchivedNullableTag {
+        Undefined = 0,
+        Null = 1,
+        Some = 2,
+    }
+
+    #[repr(C)]
+    struct NullableRepr<T>(ArchivedNullableTag, T, PhantomData<Nullable<T>>);
+
+    impl<T: Archive> Archive for Nullable<T> {
+        type Archived = Nullable<T::Archived>;
+        type Resolver = Nullable<T::Resolver>;
+
+        const COPY_OPTIMIZATION: CopyOptimization<Self> =
+            unsafe { CopyOptimization::enable_if(<T as Archive>::COPY_OPTIMIZATION.is_enabled()) };
+
+        #[inline]
+        fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>) {
+            match resolver {
+                Nullable::Undefined => unsafe {
+                    out.cast_unchecked::<ArchivedNullableTag>().write_unchecked(ArchivedNullableTag::Undefined);
+                },
+                Nullable::Null => unsafe {
+                    out.cast_unchecked::<ArchivedNullableTag>().write_unchecked(ArchivedNullableTag::Null);
+                },
+                Nullable::Some(resolver) => unsafe {
+                    let out = out.cast_unchecked::<NullableRepr<Archived<T>>>();
+
+                    let Nullable::Some(ref value) = *self else {
+                        core::hint::unreachable_unchecked()
+                    };
+
+                    core::ptr::addr_of_mut!((*out.ptr()).0).write(ArchivedNullableTag::Some);
+
+                    <T as Archive>::resolve(
+                        value,
+                        resolver,
+                        Place::from_field_unchecked(out, core::ptr::addr_of_mut!((*out.ptr()).1)),
+                    );
+                },
+            }
+        }
+    }
+
+    impl<T: Serialize<S>, S: Fallible + ?Sized> Serialize<S> for Nullable<T> {
+        #[inline]
+        fn serialize(&self, serializer: &mut S) -> Result<Self::Resolver, S::Error> {
+            match self {
+                Nullable::Undefined => Ok(Nullable::Undefined),
+                Nullable::Null => Ok(Nullable::Null),
+                Nullable::Some(value) => Ok(Nullable::Some(value.serialize(serializer)?)),
+            }
+        }
+    }
+
+    impl<T: Archive, D: Fallible + ?Sized> Deserialize<Nullable<T>, D> for Nullable<T::Archived>
+    where
+        Archived<T>: Deserialize<T, D>,
+    {
+        #[inline]
+        fn deserialize(&self, deserializer: &mut D) -> Result<Nullable<T>, D::Error> {
+            match self {
+                Nullable::Undefined => Ok(Nullable::Undefined),
+                Nullable::Null => Ok(Nullable::Null),
+                Nullable::Some(value) => Ok(Nullable::Some(value.deserialize(deserializer)?)),
+            }
+        }
+    }
+
+    unsafe impl<T, C> CheckBytes<C> for Nullable<T>
+    where
+        C: Fallible + ?Sized,
+        <C as Fallible>::Error: Source,
+        T: CheckBytes<C>,
+    {
+        unsafe fn check_bytes(value: *const Self, ctx: &mut C) -> Result<(), C::Error> {
+            let tag = *value.cast::<u8>();
+
+            match tag {
+                0 => Ok(()),
+                1 => Ok(()),
+                2 => {
+                    let value = value.cast::<NullableRepr<T>>();
+
+                    <T as CheckBytes<C>>::check_bytes(core::ptr::addr_of!((*value).1), ctx).map_err(|e| {
+                        <<C as Fallible>::Error as Trace>::trace(
+                            e,
+                            UnnamedEnumVariantCheckContext {
+                                enum_name: "Nullable",
+                                variant_name: "Some",
+                                field_index: 1,
+                            },
+                        )
+                    })
+                }
+                invalid_discriminant => Err(<<C as Fallible>::Error as Source>::new(InvalidEnumDiscriminantError {
+                    enum_name: "Nullable",
+                    invalid_discriminant,
+                })),
+            }
+        }
+    }
+}
+
\ No newline at end of file diff --git a/src/client_sdk/models/party/mod.rs.html b/src/client_sdk/models/party/mod.rs.html new file mode 100644 index 000000000..52d817f1f --- /dev/null +++ b/src/client_sdk/models/party/mod.rs.html @@ -0,0 +1,375 @@ +mod.rs - source
1
+2
+3
+4
+5
+6
+7
+8
+9
+10
+11
+12
+13
+14
+15
+16
+17
+18
+19
+20
+21
+22
+23
+24
+25
+26
+27
+28
+29
+30
+31
+32
+33
+34
+35
+36
+37
+38
+39
+40
+41
+42
+43
+44
+45
+46
+47
+48
+49
+50
+51
+52
+53
+54
+55
+56
+57
+58
+59
+60
+61
+62
+63
+64
+65
+66
+67
+68
+69
+70
+71
+72
+73
+74
+75
+76
+77
+78
+79
+80
+81
+82
+83
+84
+85
+86
+87
+88
+89
+90
+91
+92
+93
+94
+95
+96
+97
+98
+99
+100
+101
+102
+103
+104
+105
+106
+107
+108
+109
+110
+111
+112
+113
+114
+115
+116
+117
+118
+119
+120
+121
+122
+123
+124
+125
+126
+127
+128
+129
+130
+131
+132
+133
+134
+135
+136
+137
+138
+139
+140
+141
+142
+143
+144
+145
+146
+147
+148
+149
+150
+151
+152
+153
+154
+155
+156
+157
+158
+159
+160
+161
+162
+163
+164
+165
+166
+167
+168
+169
+170
+171
+172
+173
+174
+175
+176
+177
+178
+179
+180
+181
+182
+183
+184
+185
+186
+187
+
use core::ops::Deref;
+
+use super::*;
+
+mod prefs;
+pub use prefs::*;
+
+bitflags::bitflags! {
+    #[derive(Default, Debug, Clone, Copy, PartialEq, Eq, Hash)]
+    pub struct PartyFlags: i32 {
+        /// Must have a verified email address
+        const EMAIL         = 1 << 0;
+        /// Must have a verified phone number
+        const PHONE         = 1 << 1;
+        /// Must be a Lantern user for longer than 5 minutes
+        const NEW_USER      = 1 << 2;
+        /// Must be a member of the server for longer than 10 minutes
+        const NEW_MEMBER    = 1 << 3;
+        /// Must have MFA enabled
+        const MFA_ENABLED   = 1 << 4;
+
+        /// Party is marked as "adult"
+        ///
+        /// This affects viewing on iOS apps and
+        /// the minimum age required to join.
+        const ADULT         = 1 << 5;
+
+        /// Another way to refer to a direct-message is a "closed" party.
+        const CLOSED        = 1 << 6;
+
+        /// Top 6 bits are a language code
+        const LANGUAGE = 0b11_11_11 << (32 - 6);
+
+        const SECURITY = 0
+            | Self::EMAIL.bits()
+            | Self::PHONE.bits()
+            | Self::NEW_USER.bits()
+            | Self::NEW_MEMBER.bits()
+            | Self::MFA_ENABLED.bits();
+    }
+}
+
+impl_rkyv_for_bitflags!(pub PartyFlags: i32);
+impl_serde_for_bitflags!(PartyFlags);
+impl_schema_for_bitflags!(PartyFlags);
+impl_sql_for_bitflags!(PartyFlags);
+
+//#[derive(Debug, Clone, Serialize, Deserialize)]
+//#[serde(untagged)]
+//pub enum UnavailableParty {
+//    Available(Party),
+//    Unavailable { id: PartyId, unavailable: bool },
+//}
+
+#[derive(Debug, Clone, Serialize, Deserialize)]
+#[cfg_attr(feature = "schema", derive(schemars::JsonSchema))]
+#[cfg_attr(feature = "rkyv", derive(rkyv::Archive, rkyv::Serialize, rkyv::Deserialize))]
+#[cfg_attr(feature = "ts", derive(ts_bindgen::TypeScriptDef))]
+pub struct PartialParty {
+    pub id: PartyId,
+
+    /// Party name
+    pub name: SmolStr,
+
+    /// Description of the party, if publicly listed
+    pub description: Option<ThinString>,
+}
+
+#[derive(Debug, Clone, Serialize, Deserialize)]
+#[cfg_attr(feature = "schema", derive(schemars::JsonSchema))]
+#[cfg_attr(feature = "rkyv", derive(rkyv::Archive, rkyv::Serialize, rkyv::Deserialize))]
+#[cfg_attr(feature = "ts", derive(ts_bindgen::TypeScriptDef))]
+pub struct Party {
+    #[serde(flatten)]
+    pub partial: PartialParty,
+
+    pub flags: PartyFlags,
+
+    #[serde(default, skip_serializing_if = "Option::is_none")]
+    pub avatar: Option<EncryptedSnowflake>,
+
+    #[serde(default, skip_serializing_if = "Nullable::is_undefined")]
+    pub banner: Nullable<EncryptedSnowflake>,
+
+    pub default_room: RoomId,
+
+    /// Position of party is user's party list, will be null if not joined
+    #[serde(default)]
+    pub position: Option<i16>,
+
+    /// Id of owner user
+    pub owner: UserId,
+
+    pub roles: ThinVec<Role>,
+
+    pub emotes: ThinVec<Emote>,
+
+    pub folders: ThinVec<PinFolder>,
+}
+
+impl Deref for Party {
+    type Target = PartialParty;
+
+    #[inline]
+    fn deref(&self) -> &Self::Target {
+        &self.partial
+    }
+}
+
+#[cfg(feature = "rkyv")]
+impl Deref for ArchivedParty {
+    type Target = ArchivedPartialParty;
+
+    #[inline]
+    fn deref(&self) -> &Self::Target {
+        &self.partial
+    }
+}
+
+bitflags::bitflags! {
+    #[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
+    pub struct PartyMemberFlags: i16 {
+        const BANNED = 1 << 0;
+    }
+}
+
+impl Default for PartyMemberFlags {
+    fn default() -> Self {
+        PartyMemberFlags::empty()
+    }
+}
+
+impl_rkyv_for_bitflags!(pub PartyMemberFlags: i16);
+impl_serde_for_bitflags!(PartyMemberFlags);
+impl_schema_for_bitflags!(PartyMemberFlags);
+impl_sql_for_bitflags!(PartyMemberFlags);
+
+#[derive(Debug, Clone, Serialize, Deserialize)]
+#[cfg_attr(feature = "schema", derive(schemars::JsonSchema))]
+#[cfg_attr(feature = "rkyv", derive(rkyv::Archive, rkyv::Serialize, rkyv::Deserialize))]
+#[cfg_attr(feature = "ts", derive(ts_bindgen::TypeScriptDef))]
+pub struct PartyMember {
+    pub user: User,
+
+    /// Will be `None` if no longer in party
+    pub joined_at: Option<Timestamp>,
+
+    #[serde(default, skip_serializing_if = "PartyMemberFlags::is_empty")]
+    pub flags: PartyMemberFlags,
+
+    /// List of Role id snowflakes, may be excluded from some queries
+    #[serde(default, skip_serializing_if = "ThinVec::is_empty")]
+    pub roles: ThinVec<RoleId>,
+}
+
+impl Deref for PartyMember {
+    type Target = User;
+
+    fn deref(&self) -> &Self::Target {
+        &self.user
+    }
+}
+
+bitflags::bitflags! {
+    #[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
+    pub struct PinFolderFlags: i32 {
+        const COLOR = 0x00_FF_FF_FFu32 as i32; // top 24 bits
+    }
+}
+
+impl_rkyv_for_bitflags!(pub PinFolderFlags: i32);
+impl_serde_for_bitflags!(PinFolderFlags);
+impl_schema_for_bitflags!(PinFolderFlags);
+impl_sql_for_bitflags!(PinFolderFlags);
+
+#[derive(Debug, Clone, Serialize, Deserialize)]
+#[cfg_attr(feature = "schema", derive(schemars::JsonSchema))]
+#[cfg_attr(feature = "rkyv", derive(rkyv::Archive, rkyv::Serialize, rkyv::Deserialize))]
+#[cfg_attr(feature = "ts", derive(ts_bindgen::TypeScriptDef))]
+pub struct PinFolder {
+    pub id: FolderId,
+    pub name: SmolStr,
+    pub flags: PinFolderFlags,
+
+    #[serde(default, skip_serializing_if = "Option::is_none")]
+    pub description: Option<SmolStr>,
+}
+
\ No newline at end of file diff --git a/src/client_sdk/models/party/prefs.rs.html b/src/client_sdk/models/party/prefs.rs.html new file mode 100644 index 000000000..9abb8bdac --- /dev/null +++ b/src/client_sdk/models/party/prefs.rs.html @@ -0,0 +1,83 @@ +prefs.rs - source
1
+2
+3
+4
+5
+6
+7
+8
+9
+10
+11
+12
+13
+14
+15
+16
+17
+18
+19
+20
+21
+22
+23
+24
+25
+26
+27
+28
+29
+30
+31
+32
+33
+34
+35
+36
+37
+38
+39
+40
+41
+
use super::*;
+
+use crate::models::Locale;
+
+bitflags::bitflags! {
+    #[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
+    pub struct PartyPrefsFlags: i32 {
+        const DEFAULT_FLAGS = 0;
+    }
+}
+
+impl_rkyv_for_bitflags!(pub PartyPrefsFlags: i32);
+impl_serde_for_bitflags!(PartyPrefsFlags);
+impl_sql_for_bitflags!(PartyPrefsFlags);
+impl_schema_for_bitflags!(PartyPrefsFlags);
+
+impl From<u64> for PartyPrefsFlags {
+    fn from(value: u64) -> Self {
+        PartyPrefsFlags::from_bits_truncate(value as _)
+    }
+}
+
+impl Default for PartyPrefsFlags {
+    fn default() -> Self {
+        Self::DEFAULT_FLAGS
+    }
+}
+
+mod preferences {
+    decl_newtype_prefs! {}
+}
+
+#[derive(Debug, Clone, Serialize, Deserialize)]
+#[cfg_attr(feature = "rkyv", derive(rkyv::Archive, rkyv::Serialize, rkyv::Deserialize))]
+#[cfg_attr(feature = "ts", derive(ts_bindgen::TypeScriptDef))]
+pub struct PartyPreferences {
+    #[serde(default, skip_serializing_if = "is_default", alias = "locale")]
+    pub l: Locale,
+    #[serde(default, skip_serializing_if = "is_default", alias = "flags")]
+    pub f: PartyPrefsFlags,
+}
+
\ No newline at end of file diff --git a/src/client_sdk/models/permission.rs.html b/src/client_sdk/models/permission.rs.html new file mode 100644 index 000000000..7cd31f3a1 --- /dev/null +++ b/src/client_sdk/models/permission.rs.html @@ -0,0 +1,703 @@ +permission.rs - source
1
+2
+3
+4
+5
+6
+7
+8
+9
+10
+11
+12
+13
+14
+15
+16
+17
+18
+19
+20
+21
+22
+23
+24
+25
+26
+27
+28
+29
+30
+31
+32
+33
+34
+35
+36
+37
+38
+39
+40
+41
+42
+43
+44
+45
+46
+47
+48
+49
+50
+51
+52
+53
+54
+55
+56
+57
+58
+59
+60
+61
+62
+63
+64
+65
+66
+67
+68
+69
+70
+71
+72
+73
+74
+75
+76
+77
+78
+79
+80
+81
+82
+83
+84
+85
+86
+87
+88
+89
+90
+91
+92
+93
+94
+95
+96
+97
+98
+99
+100
+101
+102
+103
+104
+105
+106
+107
+108
+109
+110
+111
+112
+113
+114
+115
+116
+117
+118
+119
+120
+121
+122
+123
+124
+125
+126
+127
+128
+129
+130
+131
+132
+133
+134
+135
+136
+137
+138
+139
+140
+141
+142
+143
+144
+145
+146
+147
+148
+149
+150
+151
+152
+153
+154
+155
+156
+157
+158
+159
+160
+161
+162
+163
+164
+165
+166
+167
+168
+169
+170
+171
+172
+173
+174
+175
+176
+177
+178
+179
+180
+181
+182
+183
+184
+185
+186
+187
+188
+189
+190
+191
+192
+193
+194
+195
+196
+197
+198
+199
+200
+201
+202
+203
+204
+205
+206
+207
+208
+209
+210
+211
+212
+213
+214
+215
+216
+217
+218
+219
+220
+221
+222
+223
+224
+225
+226
+227
+228
+229
+230
+231
+232
+233
+234
+235
+236
+237
+238
+239
+240
+241
+242
+243
+244
+245
+246
+247
+248
+249
+250
+251
+252
+253
+254
+255
+256
+257
+258
+259
+260
+261
+262
+263
+264
+265
+266
+267
+268
+269
+270
+271
+272
+273
+274
+275
+276
+277
+278
+279
+280
+281
+282
+283
+284
+285
+286
+287
+288
+289
+290
+291
+292
+293
+294
+295
+296
+297
+298
+299
+300
+301
+302
+303
+304
+305
+306
+307
+308
+309
+310
+311
+312
+313
+314
+315
+316
+317
+318
+319
+320
+321
+322
+323
+324
+325
+326
+327
+328
+329
+330
+331
+332
+333
+334
+335
+336
+337
+338
+339
+340
+341
+342
+343
+344
+345
+346
+347
+348
+349
+350
+351
+
use super::*;
+
+/// Constructs a `Permissions` set from a list of permissions by name.
+///
+/// Can be used in `const` contexts.
+///
+/// # Example
+/// ```
+/// # fn main() { use client_sdk::perms;
+/// let perms = perms!(MANAGE_ROOMS | MANAGE_ROLES);
+/// # }
+/// ```
+#[macro_export]
+macro_rules! perms {
+    () => { $crate::models::Permissions::empty() };
+
+    ($perm:ident $(| $rperm:ident)*) => {{
+        use $crate::models::permission::Permissions;
+
+        // enforce const
+        const VALUE: Permissions = Permissions::$perm$(.union(Permissions::$rperm))*;
+
+        VALUE
+    }}
+}
+
+bitflags::bitflags! {
+    /// Party/Room Permissions
+    ///
+    /// This type is 16-byte aligned to ensure consistent alignment
+    /// of the inner `u128`` across all platforms.
+    #[repr(C, align(16))]
+    #[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
+    pub struct Permissions: u128 {
+        const DEFAULT = 0
+            | Self::CHANGE_NICKNAME.bits()
+            | Self::VIEW_ROOM.bits()
+            | Self::READ_MESSAGE_HISTORY.bits()
+            | Self::SEND_MESSAGES.bits()
+            | Self::USE_EXTERNAL_EMOTES.bits()
+            | Self::ADD_REACTIONS.bits()
+            | Self::EMBED_LINKS.bits()
+            | Self::ATTACH_FILES.bits()
+            | Self::SEND_TTS_MESSAGES.bits()
+            | Self::CONNECT.bits()
+            | Self::SPEAK.bits();
+
+        const ADMINISTRATOR         = 1u128 << 0;
+        const CREATE_INVITE         = 1u128 << 1;
+        const KICK_MEMBERS          = 1u128 << 2;
+        const BAN_MEMBERS           = 1u128 << 3;
+        const VIEW_AUDIT_LOG        = 1u128 << 4;
+        const VIEW_STATISTICS       = 1u128 << 5;
+        const MANAGE_PARTY          = 1u128 << 6;
+        const MANAGE_ROOMS          = 1u128 << 7;
+        const MANAGE_NICKNAMES      = 1u128 << 8;
+        const MANAGE_ROLES          = 1u128 << 9;
+        const MANAGE_WEBHOOKS       = 1u128 << 10;
+        /// Allows members to add or remove custom emoji, stickers or sounds.
+        const MANAGE_EXPRESSIONS    = 1u128 << 11;
+        const MOVE_MEMBERS          = 1u128 << 12;
+        const CHANGE_NICKNAME       = 1u128 << 13;
+        const MANAGE_PERMS          = 1u128 << 14;
+
+        const DEFAULT_ONLY          = 1u128 << 20;
+
+        const VIEW_ROOM             = 1u128 << 30;
+        const READ_MESSAGE_HISTORY  = 1u128 << 31 | Self::VIEW_ROOM.bits();
+        const SEND_MESSAGES         = 1u128 << 32 | Self::VIEW_ROOM.bits();
+        const MANAGE_MESSAGES       = 1u128 << 33;
+        const MUTE_MEMBERS          = 1u128 << 34;
+        const DEAFEN_MEMBERS        = 1u128 << 35;
+        const MENTION_EVERYONE      = 1u128 << 36;
+        const USE_EXTERNAL_EMOTES   = 1u128 << 37;
+        const ADD_REACTIONS         = 1u128 << 38;
+        const EMBED_LINKS           = 1u128 << 39;
+        const ATTACH_FILES          = 1u128 << 40;
+        const USE_SLASH_COMMANDS    = 1u128 << 41;
+        const SEND_TTS_MESSAGES     = 1u128 << 42;
+        /// Allows a user to add new attachments to
+        /// existing messages using the "edit" API
+        const EDIT_NEW_ATTACHMENT   = 1u128 << 43;
+
+        /// Allows a user to broadcast a stream to this room
+        const STREAM                = 1u128 << 60;
+        /// Allows a user to connect and watch/listen to streams in a room
+        const CONNECT               = 1u128 << 61;
+        /// Allows a user to speak in a room without broadcasting a stream
+        const SPEAK                 = 1u128 << 62;
+        /// Allows a user to acquire priority speaker
+        const PRIORITY_SPEAKER      = 1u128 << 63;
+
+
+        #[cfg(test)]
+        /// Just something to fit in the top half for now during tests
+        const TEST                  = 1u128 << 127;
+    }
+}
+
+impl_rkyv_for_bitflags!(pub Permissions: u128);
+impl_schema_for_bitflags!(Permissions);
+
+impl Default for Permissions {
+    fn default() -> Self {
+        Self::DEFAULT
+    }
+}
+
+const _: () = {
+    use serde::de::{self, Deserialize, Deserializer};
+    use serde::ser::{Serialize, Serializer};
+
+    impl Serialize for Permissions {
+        fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
+        where
+            S: Serializer,
+        {
+            if serializer.is_human_readable() {
+                serializer.serialize_str(itoa::Buffer::new().format(self.bits()))
+            } else {
+                self.bits().serialize(serializer)
+            }
+        }
+    }
+
+    impl<'de> Deserialize<'de> for Permissions {
+        fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>
+        where
+            D: Deserializer<'de>,
+        {
+            return deserializer.deserialize_any(PermissionsVisitor);
+
+            struct PermissionsVisitor;
+
+            impl de::Visitor<'_> for PermissionsVisitor {
+                type Value = Permissions;
+
+                fn expecting(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
+                    f.write_str("128-bit integer or numeric string")
+                }
+
+                fn visit_u128<E>(self, v: u128) -> Result<Self::Value, E>
+                where
+                    E: de::Error,
+                {
+                    Ok(Permissions::from_bits_truncate(v))
+                }
+
+                fn visit_u64<E>(self, v: u64) -> Result<Self::Value, E>
+                where
+                    E: de::Error,
+                {
+                    Ok(Permissions::from_bits_truncate(v as _))
+                }
+
+                fn visit_i128<E>(self, v: i128) -> Result<Self::Value, E>
+                where
+                    E: de::Error,
+                {
+                    Ok(Permissions::from_bits_truncate(v as _))
+                }
+
+                fn visit_i64<E>(self, v: i64) -> Result<Self::Value, E>
+                where
+                    E: de::Error,
+                {
+                    Ok(Permissions::from_bits_truncate(v as _))
+                }
+
+                fn visit_str<E>(self, v: &str) -> Result<Self::Value, E>
+                where
+                    E: de::Error,
+                {
+                    match v.parse() {
+                        Ok(bits) => Ok(Permissions::from_bits_truncate(bits)),
+                        Err(e) => Err(E::custom(e)),
+                    }
+                }
+            }
+        }
+    }
+};
+
+/// Permissions Overwrite for a role or user in a room.
+#[derive(Debug, Clone, Copy, Serialize, Deserialize, PartialEq, Eq)]
+#[cfg_attr(feature = "schema", derive(schemars::JsonSchema))]
+#[cfg_attr(feature = "ts", derive(ts_bindgen::TypeScriptDef))]
+#[cfg_attr(
+    feature = "rkyv",
+    derive(rkyv::Archive, rkyv::Serialize, rkyv::Deserialize),
+    rkyv(compare(PartialEq))
+)]
+pub struct Overwrite {
+    /// Role or User ID
+    ///
+    /// If it doesn't exist in the role list, then it's a user, simple as that.
+    pub id: Snowflake,
+
+    /// Permissions to allow.
+    #[serde(default, skip_serializing_if = "Permissions::is_empty")]
+    pub allow: Permissions,
+
+    /// Permissions to deny.
+    #[serde(default, skip_serializing_if = "Permissions::is_empty")]
+    pub deny: Permissions,
+}
+
+impl Overwrite {
+    /// Takes the Union of two overwrites, assuming the same ID.
+    ///
+    /// # Panics
+    ///
+    /// With debug assertions enabled, this function will panic if the IDs do not match.
+    #[inline]
+    #[must_use]
+    pub const fn combine(&self, other: Self) -> Overwrite {
+        //debug_assert_eq!(self.id, other.id);
+        #[cfg(debug_assertions)]
+        if self.id.to_u64() != other.id.to_u64() {
+            panic!("Overwrite IDs do not match");
+        }
+
+        Overwrite {
+            id: self.id,
+            allow: self.allow.union(other.allow),
+            deny: self.deny.union(other.deny),
+        }
+    }
+
+    /// Applies the overwrite to a base set of permissions.
+    ///
+    /// Equivalent to `(base & !deny) | allow`.
+    #[inline]
+    #[must_use]
+    pub const fn apply(&self, base: Permissions) -> Permissions {
+        // self.allow(base & !self.deny) | self.allow
+        base.difference(self.deny).union(self.allow)
+    }
+}
+
+impl Permissions {
+    /// Constructs a new `Permissions` from two `i64` values.
+    #[inline(always)]
+    #[must_use]
+    pub const fn from_i64(low: i64, high: i64) -> Self {
+        Permissions::from_bits_truncate(low as u64 as u128 | ((high as u64 as u128) << 64))
+    }
+
+    /// Constructs a new `Permissions` from two `Option<i64>` values, defaulting to `0` if `None` on either.
+    #[inline(always)]
+    #[must_use]
+    pub const fn from_i64_opt(low: Option<i64>, high: Option<i64>) -> Self {
+        // TODO: Replace with `.unwrap_or(0)` when that's const-stable
+        Permissions::from_i64(
+            match low {
+                Some(low) => low,
+                None => 0,
+            },
+            match high {
+                Some(high) => high,
+                None => 0,
+            },
+        )
+    }
+
+    /// Converts the `Permissions` into two `i64` values.
+    #[inline(always)]
+    #[must_use]
+    pub const fn to_i64(self) -> [i64; 2] {
+        let bits = self.bits();
+        let low = bits as u64 as i64;
+        let high = (bits >> 64) as u64 as i64;
+        [low, high]
+    }
+
+    /// Returns `true` if the permissions contain the `ADMINISTRATOR` permission.
+    #[inline(always)]
+    #[must_use]
+    pub const fn is_admin(self) -> bool {
+        self.contains(Permissions::ADMINISTRATOR)
+    }
+
+    /// Takes cerrtain flags into account and normalizes the permissions to obey them.
+    #[must_use]
+    pub const fn normalize(self) -> Self {
+        if self.contains(Permissions::DEFAULT_ONLY) {
+            return Permissions::DEFAULT;
+        }
+
+        if self.contains(Permissions::ADMINISTRATOR) {
+            return Permissions::all();
+        }
+
+        self
+    }
+
+    /// Computes the final permissions for a user in a room given the overwrites and roles.
+    #[must_use]
+    pub fn compute_overwrites(mut self, overwrites: &[Overwrite], user_roles: &[RoleId], user_id: UserId) -> Permissions {
+        if self.contains(Permissions::ADMINISTRATOR) {
+            return Permissions::all();
+        }
+
+        if self.contains(Permissions::DEFAULT_ONLY) {
+            self = Permissions::DEFAULT;
+        }
+
+        let mut allow = Permissions::empty();
+        let mut deny = Permissions::empty();
+
+        let mut user_overwrite = None;
+
+        // overwrites are always sorted role-first
+        for overwrite in overwrites {
+            if user_roles.contains(&overwrite.id) {
+                deny |= overwrite.deny;
+                allow |= overwrite.allow;
+            } else if overwrite.id == user_id {
+                user_overwrite = Some((overwrite.deny, overwrite.allow));
+                break;
+            }
+        }
+
+        self &= !deny;
+        self |= allow;
+
+        if let Some((user_deny, user_allow)) = user_overwrite {
+            self &= !user_deny;
+            self |= user_allow;
+        }
+
+        self
+    }
+}
+
+#[cfg(test)]
+mod tests {
+    use super::*;
+
+    #[test]
+    fn test_print_admin() {
+        println!("{:?}", Permissions::default().to_i64());
+        println!("{:?}", Permissions::ADMINISTRATOR.to_i64());
+    }
+
+    #[test]
+    fn test_perm_cast() {
+        let [low, high] = Permissions::all().to_i64();
+        assert_eq!(Permissions::from_i64(low, high), Permissions::all());
+    }
+}
+
\ No newline at end of file diff --git a/src/client_sdk/models/presence.rs.html b/src/client_sdk/models/presence.rs.html new file mode 100644 index 000000000..757afa095 --- /dev/null +++ b/src/client_sdk/models/presence.rs.html @@ -0,0 +1,161 @@ +presence.rs - source
1
+2
+3
+4
+5
+6
+7
+8
+9
+10
+11
+12
+13
+14
+15
+16
+17
+18
+19
+20
+21
+22
+23
+24
+25
+26
+27
+28
+29
+30
+31
+32
+33
+34
+35
+36
+37
+38
+39
+40
+41
+42
+43
+44
+45
+46
+47
+48
+49
+50
+51
+52
+53
+54
+55
+56
+57
+58
+59
+60
+61
+62
+63
+64
+65
+66
+67
+68
+69
+70
+71
+72
+73
+74
+75
+76
+77
+78
+79
+80
+
use super::*;
+
+bitflags::bitflags! {
+    /// NOTE: These flags are ordered such that larger values take precedence
+    #[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
+    pub struct UserPresenceFlags: i16 {
+        const OFFLINE   = 0;
+        const AWAY      = 1 << 0;
+        const MOBILE    = 1 << 1;
+        const ONLINE    = 1 << 2; // ONLINE+MOBILE will be larger than ONLINE only
+        const BUSY      = 1 << 3;
+        const INVISIBLE = 1 << 4;
+    }
+}
+
+impl_rkyv_for_bitflags!(pub UserPresenceFlags: i16);
+impl_serde_for_bitflags!(UserPresenceFlags);
+impl_schema_for_bitflags!(UserPresenceFlags);
+
+impl UserPresenceFlags {
+    #[must_use]
+    pub const fn from_bits_truncate_public(bits: i16) -> Self {
+        Self::from_bits_truncate(bits).difference(Self::INVISIBLE)
+    }
+}
+
+#[derive(Debug, Clone, Serialize, Deserialize)]
+#[cfg_attr(feature = "schema", derive(schemars::JsonSchema))]
+#[cfg_attr(feature = "rkyv", derive(rkyv::Archive, rkyv::Serialize, rkyv::Deserialize))]
+#[cfg_attr(feature = "ts", derive(ts_bindgen::TypeScriptDef))]
+pub struct UserPresence {
+    pub flags: UserPresenceFlags,
+
+    /// approximately how many seconds ago they were active
+    /// not present in all events or if user has disabled it
+    #[serde(default, skip_serializing_if = "Option::is_none")]
+    pub last_active: Option<u64>,
+
+    /// Updated-At timestamp as ISO-8061
+    #[serde(default, skip_serializing_if = "Option::is_none")]
+    pub updated_at: Option<Timestamp>,
+
+    #[serde(default, skip_serializing_if = "Option::is_none")]
+    pub activity: Option<AnyActivity>,
+}
+
+impl UserPresence {
+    #[must_use]
+    pub const fn new(flags: UserPresenceFlags) -> Self {
+        UserPresence {
+            flags,
+            activity: None,
+            last_active: None,
+            updated_at: None,
+        }
+    }
+
+    #[must_use]
+    pub fn with_activty(mut self, activity: Option<AnyActivity>) -> Self {
+        self.activity = activity;
+        self
+    }
+}
+
+#[derive(Debug, Clone, Serialize, Deserialize)]
+#[cfg_attr(feature = "schema", derive(schemars::JsonSchema))]
+#[cfg_attr(feature = "rkyv", derive(rkyv::Archive, rkyv::Serialize, rkyv::Deserialize))]
+#[cfg_attr(feature = "ts", derive(ts_bindgen::TypeScriptDef))]
+#[serde(untagged)]
+pub enum AnyActivity {
+    Typed(Activity),
+    // /// WARNING: Never construct this manually
+    // Any(serde_json::Value),
+}
+
+#[derive(Debug, Clone, Serialize, Deserialize)]
+#[cfg_attr(feature = "schema", derive(schemars::JsonSchema))]
+#[cfg_attr(feature = "rkyv", derive(rkyv::Archive, rkyv::Serialize, rkyv::Deserialize))]
+#[cfg_attr(feature = "ts", derive(ts_bindgen::TypeScriptDef))]
+pub struct Activity {}
+
\ No newline at end of file diff --git a/src/client_sdk/models/role.rs.html b/src/client_sdk/models/role.rs.html new file mode 100644 index 000000000..1e189958d --- /dev/null +++ b/src/client_sdk/models/role.rs.html @@ -0,0 +1,93 @@ +role.rs - source
1
+2
+3
+4
+5
+6
+7
+8
+9
+10
+11
+12
+13
+14
+15
+16
+17
+18
+19
+20
+21
+22
+23
+24
+25
+26
+27
+28
+29
+30
+31
+32
+33
+34
+35
+36
+37
+38
+39
+40
+41
+42
+43
+44
+45
+46
+
use super::*;
+
+bitflags::bitflags! {
+    #[derive(Default, Debug, Clone, Copy, PartialEq, Eq, Hash)]
+    pub struct RoleFlags: i16 {
+        const HOIST         = 1 << 0;
+        const MENTIONABLE   = 1 << 1;
+    }
+}
+
+impl_rkyv_for_bitflags!(pub RoleFlags: i16);
+impl_serde_for_bitflags!(RoleFlags);
+impl_schema_for_bitflags!(RoleFlags);
+impl_sql_for_bitflags!(RoleFlags);
+
+#[derive(Debug, Clone, Serialize, Deserialize)]
+#[cfg_attr(feature = "schema", derive(schemars::JsonSchema))]
+#[cfg_attr(feature = "rkyv", derive(rkyv::Archive, rkyv::Serialize, rkyv::Deserialize))]
+#[cfg_attr(feature = "ts", derive(ts_bindgen::TypeScriptDef))]
+pub struct Role {
+    pub id: RoleId,
+
+    // TODO: Revist removing this
+    pub party_id: PartyId,
+    #[serde(default, skip_serializing_if = "Option::is_none")]
+    pub avatar: Option<EncryptedSnowflake>,
+    pub name: SmolStr,
+    #[serde(default, skip_serializing_if = "Option::is_none")]
+    pub desc: Option<SmolStr>,
+    pub permissions: Permissions,
+    pub color: Option<u32>, // can be intentionally null
+    pub position: i16,
+    pub flags: RoleFlags,
+}
+
+impl Role {
+    #[must_use]
+    pub fn is_mentionable(&self) -> bool {
+        self.flags.contains(RoleFlags::MENTIONABLE)
+    }
+
+    #[must_use]
+    pub fn is_admin(&self) -> bool {
+        self.permissions.contains(Permissions::ADMINISTRATOR)
+    }
+}
+
\ No newline at end of file diff --git a/src/client_sdk/models/room.rs.html b/src/client_sdk/models/room.rs.html new file mode 100644 index 000000000..a7a10944a --- /dev/null +++ b/src/client_sdk/models/room.rs.html @@ -0,0 +1,193 @@ +room.rs - source
1
+2
+3
+4
+5
+6
+7
+8
+9
+10
+11
+12
+13
+14
+15
+16
+17
+18
+19
+20
+21
+22
+23
+24
+25
+26
+27
+28
+29
+30
+31
+32
+33
+34
+35
+36
+37
+38
+39
+40
+41
+42
+43
+44
+45
+46
+47
+48
+49
+50
+51
+52
+53
+54
+55
+56
+57
+58
+59
+60
+61
+62
+63
+64
+65
+66
+67
+68
+69
+70
+71
+72
+73
+74
+75
+76
+77
+78
+79
+80
+81
+82
+83
+84
+85
+86
+87
+88
+89
+90
+91
+92
+93
+94
+95
+96
+
use core::num::NonZeroU32;
+use num_traits::FromPrimitive;
+
+use super::*;
+
+#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash, enum_primitive_derive::Primitive)]
+#[cfg_attr(feature = "rkyv", derive(rkyv::Archive, rkyv::Serialize, rkyv::Deserialize))]
+#[cfg_attr(feature = "ts", derive(ts_bindgen::TypeScriptDef))]
+#[repr(u8)]
+pub enum RoomKind {
+    Text = 0,
+    DirectMessage = 1,
+    GroupMessage = 2,
+    Voice = 3,
+    UserForum = 4,
+    // max value cannot exceed 15
+}
+
+bitflags::bitflags! {
+    #[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
+    pub struct RoomFlags: i16 {
+        const KIND    = 0xF; // first four bits are the kind
+        const NSFW    = 1 << 4;
+        const DEFAULT = 1 << 5;
+    }
+}
+
+impl_rkyv_for_bitflags!(pub RoomFlags: i16);
+impl_serde_for_bitflags!(RoomFlags);
+impl_schema_for_bitflags!(RoomFlags);
+impl_sql_for_bitflags!(RoomFlags);
+
+impl RoomFlags {
+    #[must_use]
+    pub fn kind(self) -> RoomKind {
+        // all rooms derive from the text room, so basic queries
+        // will still function if the SDK is not updated as it should
+        RoomKind::from_i16(self.bits() & 0xF).unwrap_or(RoomKind::Text)
+    }
+}
+
+impl From<RoomKind> for RoomFlags {
+    fn from(value: RoomKind) -> Self {
+        RoomFlags::from_bits_retain(value as u8 as i16)
+    }
+}
+
+#[derive(Debug, Clone, Serialize, Deserialize)]
+#[cfg_attr(feature = "schema", derive(schemars::JsonSchema))]
+#[cfg_attr(feature = "rkyv", derive(rkyv::Archive, rkyv::Serialize, rkyv::Deserialize))]
+#[cfg_attr(feature = "ts", derive(ts_bindgen::TypeScriptDef))]
+pub struct Room {
+    pub id: RoomId,
+
+    pub flags: RoomFlags,
+
+    pub party_id: PartyId,
+
+    pub avatar: Option<EncryptedSnowflake>,
+
+    pub name: SmolStr,
+
+    #[serde(default, skip_serializing_if = "Option::is_none")]
+    pub topic: Option<SmolStr>,
+
+    /// Sort order
+    pub position: i16,
+
+    /// Slow-mode rate limit, in seconds
+    #[serde(default, skip_serializing_if = "Option::is_none")]
+    #[cfg_attr(feature = "rkyv", rkyv(with = Niche))]
+    pub rate_limit_per_user: Option<NonZeroU32>,
+
+    /// Parent room ID for categories
+    #[serde(default, skip_serializing_if = "Option::is_none")]
+    #[cfg_attr(feature = "rkyv", rkyv(with = NicheSnowflake))]
+    pub parent_id: Option<RoomId>,
+
+    /// Permission overwrites for this room
+    #[serde(default, skip_serializing_if = "ThinVec::is_empty")]
+    pub overwrites: ThinVec<Overwrite>,
+    // /// Direct/Group Message Users
+    // #[serde(default, skip_serializing_if = "Vec::is_empty")]
+    // pub recipients: Vec<User>,
+}
+
+#[derive(Debug, Clone, Serialize, Deserialize)]
+#[cfg_attr(feature = "schema", derive(schemars::JsonSchema))]
+#[cfg_attr(feature = "rkyv", derive(rkyv::Archive, rkyv::Serialize, rkyv::Deserialize))]
+#[cfg_attr(feature = "ts", derive(ts_bindgen::TypeScriptDef))]
+pub struct FullRoom {
+    #[serde(flatten)]
+    pub room: Room,
+
+    pub perms: Permissions,
+}
+
\ No newline at end of file diff --git a/src/client_sdk/models/session.rs.html b/src/client_sdk/models/session.rs.html new file mode 100644 index 000000000..661e62f3b --- /dev/null +++ b/src/client_sdk/models/session.rs.html @@ -0,0 +1,41 @@ +session.rs - source
1
+2
+3
+4
+5
+6
+7
+8
+9
+10
+11
+12
+13
+14
+15
+16
+17
+18
+19
+20
+
use super::*;
+
+#[derive(Debug, Clone, Serialize, Deserialize)]
+#[cfg_attr(feature = "schema", derive(schemars::JsonSchema))]
+#[cfg_attr(feature = "rkyv", derive(rkyv::Archive, rkyv::Serialize, rkyv::Deserialize))]
+pub struct Session {
+    /// Auth token encoded as base-64
+    pub auth: AuthToken,
+    /// Expiration timestamp encoded with RFC 3339
+    pub expires: Timestamp,
+}
+
+#[derive(Debug, Clone, Serialize, Deserialize)]
+#[cfg_attr(feature = "schema", derive(schemars::JsonSchema))]
+#[cfg_attr(feature = "rkyv", derive(rkyv::Archive, rkyv::Serialize, rkyv::Deserialize))]
+#[cfg_attr(feature = "ts", derive(ts_bindgen::TypeScriptDef))]
+pub struct AnonymousSession {
+    /// Expiration timestamp encoded with RFC 3339/ISO 8061
+    pub expires: Timestamp,
+}
+
\ No newline at end of file diff --git a/src/client_sdk/models/sf.rs.html b/src/client_sdk/models/sf.rs.html new file mode 100644 index 000000000..f75b2d7c0 --- /dev/null +++ b/src/client_sdk/models/sf.rs.html @@ -0,0 +1,27 @@ +sf.rs - source
1
+2
+3
+4
+5
+6
+7
+8
+9
+10
+11
+12
+13
+
use time::{OffsetDateTime, PrimitiveDateTime};
+
+/// Arbitrarily chosen starting epoch to offset the clock by
+pub const LANTERN_EPOCH: u64 = 1550102400000;
+/// The time at which the Lantern epoch started in UTC
+pub const LANTERN_EPOCH_ODT: OffsetDateTime = time::macros::datetime!(2019 - 02 - 14 00:00 +0);
+/// The time at which the Lantern epoch started in UTC
+pub const LANTERN_EPOCH_PDT: PrimitiveDateTime = time::macros::datetime!(2019 - 02 - 14 00:00);
+
+pub use snowflake::Snowflake;
+
+#[cfg(feature = "rkyv")]
+pub use snowflake::NicheSnowflake;
+
\ No newline at end of file diff --git a/src/client_sdk/models/stats.rs.html b/src/client_sdk/models/stats.rs.html new file mode 100644 index 000000000..99869ac3a --- /dev/null +++ b/src/client_sdk/models/stats.rs.html @@ -0,0 +1,57 @@ +stats.rs - source
1
+2
+3
+4
+5
+6
+7
+8
+9
+10
+11
+12
+13
+14
+15
+16
+17
+18
+19
+20
+21
+22
+23
+24
+25
+26
+27
+28
+
use super::*;
+
+// TODO: no_std map of some kind
+use std::collections::HashMap;
+
+#[derive(Debug, Clone, Serialize, Deserialize)]
+#[cfg_attr(feature = "schema", derive(schemars::JsonSchema))]
+#[cfg_attr(feature = "ts", derive(ts_bindgen::TypeScriptDef))]
+pub struct Statistics {
+    pub rooms: HashMap<RoomId, RoomStatistics, FxRandomState2>,
+}
+
+#[derive(Debug, Clone, Serialize, Deserialize)]
+#[cfg_attr(feature = "schema", derive(schemars::JsonSchema))]
+#[cfg_attr(feature = "rkyv", derive(rkyv::Archive, rkyv::Serialize, rkyv::Deserialize))]
+#[cfg_attr(feature = "ts", derive(ts_bindgen::TypeScriptDef))]
+pub struct RoomStatistics {
+    pub messages: u64,
+
+    /// Total number of attachment files sent
+    pub files: u64,
+
+    /// If a prefix was given to the query, this will the message
+    /// count where the message is prefixed by that.
+    ///
+    /// Otherwise it will be zero.
+    pub prefixed: u64,
+}
+
\ No newline at end of file diff --git a/src/client_sdk/models/thread.rs.html b/src/client_sdk/models/thread.rs.html new file mode 100644 index 000000000..e75de6a11 --- /dev/null +++ b/src/client_sdk/models/thread.rs.html @@ -0,0 +1,49 @@ +thread.rs - source
1
+2
+3
+4
+5
+6
+7
+8
+9
+10
+11
+12
+13
+14
+15
+16
+17
+18
+19
+20
+21
+22
+23
+24
+
use super::*;
+
+bitflags::bitflags! {
+    #[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
+    pub struct ThreadFlags: i16 {
+        /// Forum-style thread
+        const FORUM   = 1 << 0;
+    }
+}
+
+impl_rkyv_for_bitflags!(pub ThreadFlags: i16);
+impl_serde_for_bitflags!(ThreadFlags);
+impl_schema_for_bitflags!(ThreadFlags);
+impl_sql_for_bitflags!(ThreadFlags);
+
+#[derive(Debug, Clone, Serialize, Deserialize)]
+#[cfg_attr(feature = "schema", derive(schemars::JsonSchema))]
+#[cfg_attr(feature = "rkyv", derive(rkyv::Archive, rkyv::Serialize, rkyv::Deserialize))]
+#[cfg_attr(feature = "ts", derive(ts_bindgen::TypeScriptDef))]
+pub struct Thread {
+    pub id: ThreadId,
+    pub parent: Message,
+    pub flags: ThreadFlags,
+}
+
\ No newline at end of file diff --git a/src/client_sdk/models/user/mod.rs.html b/src/client_sdk/models/user/mod.rs.html new file mode 100644 index 000000000..fdf194f4c --- /dev/null +++ b/src/client_sdk/models/user/mod.rs.html @@ -0,0 +1,647 @@ +mod.rs - source
1
+2
+3
+4
+5
+6
+7
+8
+9
+10
+11
+12
+13
+14
+15
+16
+17
+18
+19
+20
+21
+22
+23
+24
+25
+26
+27
+28
+29
+30
+31
+32
+33
+34
+35
+36
+37
+38
+39
+40
+41
+42
+43
+44
+45
+46
+47
+48
+49
+50
+51
+52
+53
+54
+55
+56
+57
+58
+59
+60
+61
+62
+63
+64
+65
+66
+67
+68
+69
+70
+71
+72
+73
+74
+75
+76
+77
+78
+79
+80
+81
+82
+83
+84
+85
+86
+87
+88
+89
+90
+91
+92
+93
+94
+95
+96
+97
+98
+99
+100
+101
+102
+103
+104
+105
+106
+107
+108
+109
+110
+111
+112
+113
+114
+115
+116
+117
+118
+119
+120
+121
+122
+123
+124
+125
+126
+127
+128
+129
+130
+131
+132
+133
+134
+135
+136
+137
+138
+139
+140
+141
+142
+143
+144
+145
+146
+147
+148
+149
+150
+151
+152
+153
+154
+155
+156
+157
+158
+159
+160
+161
+162
+163
+164
+165
+166
+167
+168
+169
+170
+171
+172
+173
+174
+175
+176
+177
+178
+179
+180
+181
+182
+183
+184
+185
+186
+187
+188
+189
+190
+191
+192
+193
+194
+195
+196
+197
+198
+199
+200
+201
+202
+203
+204
+205
+206
+207
+208
+209
+210
+211
+212
+213
+214
+215
+216
+217
+218
+219
+220
+221
+222
+223
+224
+225
+226
+227
+228
+229
+230
+231
+232
+233
+234
+235
+236
+237
+238
+239
+240
+241
+242
+243
+244
+245
+246
+247
+248
+249
+250
+251
+252
+253
+254
+255
+256
+257
+258
+259
+260
+261
+262
+263
+264
+265
+266
+267
+268
+269
+270
+271
+272
+273
+274
+275
+276
+277
+278
+279
+280
+281
+282
+283
+284
+285
+286
+287
+288
+289
+290
+291
+292
+293
+294
+295
+296
+297
+298
+299
+300
+301
+302
+303
+304
+305
+306
+307
+308
+309
+310
+311
+312
+313
+314
+315
+316
+317
+318
+319
+320
+321
+322
+323
+
use super::*;
+
+mod prefs;
+pub use prefs::*;
+
+bitflags::bitflags! {
+    /// NOTE: Remember to clear flag caches when they change
+    #[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
+    pub struct UserFlags: i32 {
+        const BANNED                = 1 << 0;
+        const VERIFIED              = 1 << 1;
+        const MFA_ENABLED           = 1 << 2;
+        const NEEDS_PASSWORD_RESET  = 1 << 3;
+
+        const RESERVED_1            = 1 << 4;
+        const RESERVED_2            = 1 << 5;
+
+        // 3-bit integer
+        const ELEVATION_1           = 1 << 6;
+        const ELEVATION_2           = 1 << 7;
+        const ELEVATION_3           = 1 << 8;
+
+        // 3-bit integer
+        const PREMIUM_1             = 1 << 9;
+        const PREMIUM_2             = 1 << 10;
+        const PREMIUM_3             = 1 << 11;
+
+        const RESERVED_3            = 1 << 12;
+
+        // 2-bit integer
+        const EXTRA_STORAGE_1       = 1 << 13;
+        const EXTRA_STORAGE_2       = 1 << 14;
+
+        const RESERVED_4            = 1 << 15;
+
+        const RESERVED = 0
+            | Self::RESERVED_1.bits()
+            | Self::RESERVED_2.bits()
+            | Self::RESERVED_3.bits()
+            | Self::RESERVED_4.bits();
+
+        /// Always strip these from public responses
+        const PRIVATE_FLAGS = 0
+            | Self::BANNED.bits()
+            | Self::VERIFIED.bits()
+            | Self::MFA_ENABLED.bits()
+            | Self::NEEDS_PASSWORD_RESET.bits()
+            | Self::EXTRA_STORAGE.bits()
+            | Self::RESERVED.bits();
+
+        /// elevation level integer
+        const ELEVATION     = 0
+            | Self::ELEVATION_1.bits()
+            | Self::ELEVATION_2.bits()
+            | Self::ELEVATION_3.bits();
+
+        /// premium level integer
+        const PREMIUM       = 0
+            | Self::PREMIUM_1.bits()
+            | Self::PREMIUM_2.bits()
+            | Self::PREMIUM_3.bits();
+
+        /// extra storage level integer
+        const EXTRA_STORAGE = 0
+            | Self::EXTRA_STORAGE_1.bits()
+            | Self::EXTRA_STORAGE_2.bits();
+    }
+}
+
+impl_rkyv_for_bitflags!(pub UserFlags: i32);
+impl_serde_for_bitflags!(UserFlags);
+impl_schema_for_bitflags!(UserFlags);
+
+#[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)]
+#[cfg_attr(feature = "ts", derive(ts_bindgen::TypeScriptDef))]
+#[repr(u8)]
+pub enum ElevationLevel {
+    None = 0,
+    Bot = 1,
+
+    Reserved = 2,
+
+    Staff = 3,
+    System = 4,
+}
+
+impl UserFlags {
+    #[inline]
+    #[must_use]
+    pub const fn from_bits_truncate_public(bits: i32) -> Self {
+        Self::from_bits_truncate(bits).difference(Self::PRIVATE_FLAGS)
+    }
+
+    #[must_use]
+    pub const fn elevation(self) -> ElevationLevel {
+        match self.intersection(Self::ELEVATION).bits() >> 6 {
+            1 => ElevationLevel::Bot,
+            3 => ElevationLevel::Staff,
+            4 => ElevationLevel::System,
+            _ => ElevationLevel::None,
+        }
+    }
+
+    #[must_use]
+    pub const fn with_elevation(self, ev: ElevationLevel) -> Self {
+        self.difference(Self::ELEVATION).union(Self::from_bits_truncate(((ev as u8) as i32) << 6))
+    }
+
+    #[must_use]
+    pub const fn premium_level(self) -> u8 {
+        (self.intersection(Self::PREMIUM).bits() >> 9) as u8
+    }
+
+    #[must_use]
+    pub const fn extra_storage_tier(self) -> u8 {
+        (self.intersection(Self::EXTRA_STORAGE).bits() >> 13) as u8
+    }
+
+    pub const SYSTEM_USER: UserFlags = UserFlags::empty().with_elevation(ElevationLevel::System).union(UserFlags::VERIFIED);
+}
+
+bitflags::bitflags! {
+    #[derive(Default, Debug, Clone, Copy, PartialEq, Eq, Hash)]
+    pub struct UserProfileBits: i32 {
+        const AVATAR_ROUNDNESS = 0x7F; // 127, lower 7 bits
+        const OVERRIDE_COLOR = 0x80; // 8th bit
+        const PRIMARY_COLOR = 0xFF_FF_FF_00u32 as i32; // top 24 bits
+    }
+
+    #[derive(Default, Debug, Clone, Copy, PartialEq, Eq, Hash)]
+    pub struct ExtraUserProfileBits: i32 {
+        const OVERRIDE_COLOR = 0x80; // 8th bit
+        const SECONDARY_COLOR = 0xFF_FF_FF_00u32 as i32; // top 24 bits
+    }
+}
+
+impl_rkyv_for_bitflags!(pub UserProfileBits: i32);
+impl_serde_for_bitflags!(UserProfileBits);
+impl_schema_for_bitflags!(UserProfileBits);
+impl_sql_for_bitflags!(UserProfileBits);
+
+impl_rkyv_for_bitflags!(pub ExtraUserProfileBits: i32);
+impl_serde_for_bitflags!(ExtraUserProfileBits);
+impl_schema_for_bitflags!(ExtraUserProfileBits);
+impl_sql_for_bitflags!(ExtraUserProfileBits);
+
+#[derive(Default, Debug, Clone, Serialize, Deserialize)]
+#[cfg_attr(feature = "schema", derive(schemars::JsonSchema))]
+#[cfg_attr(feature = "typed-builder", derive(typed_builder::TypedBuilder))]
+#[cfg_attr(feature = "bon", derive(bon::Builder))]
+#[cfg_attr(feature = "rkyv", derive(rkyv::Archive, rkyv::Serialize, rkyv::Deserialize))]
+#[cfg_attr(feature = "ts", derive(ts_bindgen::TypeScriptDef))]
+pub struct UserProfile {
+    #[cfg_attr(feature = "typed-builder", builder(default))]
+    #[cfg_attr(feature = "bon", builder(default))]
+    pub bits: UserProfileBits,
+
+    #[serde(default, skip_serializing_if = "ExtraUserProfileBits::is_empty")]
+    #[cfg_attr(feature = "typed-builder", builder(default))]
+    #[cfg_attr(feature = "bon", builder(default))]
+    pub extra: ExtraUserProfileBits,
+
+    #[serde(default, skip_serializing_if = "Nullable::is_undefined")]
+    #[cfg_attr(feature = "typed-builder", builder(default, setter(into)))]
+    #[cfg_attr(feature = "bon", builder(default, into))]
+    pub nick: Nullable<SmolStr>,
+
+    #[serde(default, skip_serializing_if = "Nullable::is_undefined")]
+    #[cfg_attr(feature = "typed-builder", builder(default, setter(into)))]
+    #[cfg_attr(feature = "bon", builder(default, into))]
+    pub avatar: Nullable<EncryptedSnowflake>,
+
+    #[serde(default, skip_serializing_if = "Nullable::is_undefined")]
+    #[cfg_attr(feature = "typed-builder", builder(default, setter(into)))]
+    #[cfg_attr(feature = "bon", builder(default, into))]
+    pub banner: Nullable<EncryptedSnowflake>,
+
+    #[serde(default, skip_serializing_if = "Nullable::is_undefined")]
+    #[cfg_attr(feature = "typed-builder", builder(default, setter(into)))]
+    #[cfg_attr(feature = "bon", builder(default, into))]
+    pub status: Nullable<SmolStr>,
+
+    #[serde(default, skip_serializing_if = "Nullable::is_undefined")]
+    #[cfg_attr(feature = "typed-builder", builder(default, setter(into)))]
+    #[cfg_attr(feature = "bon", builder(default, into))]
+    pub bio: Nullable<SmolStr>,
+}
+
+impl UserProfile {
+    #[inline]
+    #[must_use]
+    pub fn roundedness(&self) -> f32 {
+        (self.bits & UserProfileBits::AVATAR_ROUNDNESS).bits() as f32 / 127.0
+    }
+
+    #[inline]
+    #[must_use]
+    pub fn override_color(&self) -> bool {
+        self.bits.contains(UserProfileBits::OVERRIDE_COLOR)
+    }
+
+    #[inline]
+    #[must_use]
+    pub fn color(&self) -> u32 {
+        self.bits.bits() as u32 >> 8
+    }
+}
+
+#[derive(Debug, Clone, Serialize, Deserialize)]
+#[cfg_attr(feature = "schema", derive(schemars::JsonSchema))]
+#[cfg_attr(feature = "rkyv", derive(rkyv::Archive, rkyv::Serialize, rkyv::Deserialize))]
+#[cfg_attr(feature = "ts", derive(ts_bindgen::TypeScriptDef))]
+pub struct User {
+    pub id: UserId,
+    pub username: SmolStr,
+
+    /// Unsigned 16-bit integer
+    pub discriminator: i32,
+    pub flags: UserFlags,
+
+    #[serde(default, skip_serializing_if = "Nullable::is_undefined")]
+    pub profile: Nullable<Arc<UserProfile>>,
+
+    /// Not present when user isn't self
+    #[serde(default, skip_serializing_if = "Option::is_none")]
+    pub email: Option<SmolStr>,
+
+    /// Not present when user isn't self
+    #[serde(default, skip_serializing_if = "Option::is_none")]
+    pub preferences: Option<UserPreferences>,
+
+    #[serde(default, skip_serializing_if = "Option::is_none")]
+    pub presence: Option<UserPresence>,
+}
+
+#[cfg(test)]
+mod tests {
+    use super::*;
+
+    #[test]
+    fn test_user_elevation_flags() {
+        let f = UserFlags::ELEVATION_3;
+        assert_eq!(f.elevation(), ElevationLevel::System);
+
+        for &ev in &[
+            ElevationLevel::None,
+            ElevationLevel::Bot,
+            ElevationLevel::Staff,
+            ElevationLevel::System,
+        ] {
+            assert_eq!(UserFlags::empty().with_elevation(ev).elevation(), ev);
+            assert_eq!(UserFlags::all().with_elevation(ev).elevation(), ev);
+        }
+
+        println!("SYSTEM {}", f.bits());
+        println!("BOT: {}", f.with_elevation(ElevationLevel::Bot).bits());
+    }
+}
+
+enum_codes! {
+    #[derive(Default, Debug, Clone, Copy, PartialEq, PartialOrd, Eq, Hash)]
+    #[derive(serde_repr::Serialize_repr, serde_repr::Deserialize_repr)]
+    #[derive(enum_primitive_derive::Primitive)]
+    #[cfg_attr(feature = "schema", derive(schemars::JsonSchema))]
+    pub enum UserRelationship: i8 = None {
+        #[default]
+        0 = None,
+
+        1 = Friend,
+
+        //
+        // reserve some space for future relationships
+        //
+
+        /// Normal user blocking
+        100 = Blocked,
+
+        /// Blocking + hide messages from the blocked user
+        101 = BlockedDangerous,
+    }
+}
+
+impl_sql_for_enum_primitive!(UserRelationship);
+
+/*
+UserA               UserB
+
+None                None                No relation
+                    Friend              UserB has sent a friend-request to UserA
+                    Blocked             UserB has blocked UserA
+                    BlockedDangerous    UserB has blocked UserA and reported them as dangerous
+
+Friend              None                UserA has sent a friend-request to UserB
+                    Friend              UserA and UserB are friends
+                    Blocked             Impossible combination, UserA's value will be set to None on blocked (if friended)
+                    BlockedDangerous    Impossible combination, UserA's value will be set to None on blocked (if friended)
+
+Blocked             None                UserA has blocked UserB
+                    Friend              Impossible combination, UserB's value will be set to None on blocked (if friended)
+                    Blocked             Both users have blocked each other
+                    BlockedDangerous    UserA has blocked UserB, but UserB has also blocked UserA and reported UserA as dangerous
+
+BlockedDangerous    None                UserA has blocked UserB and reported them as dangerous
+                    Friend              Impossible Combination, UserB's value will be set to None on blocked (if friended)
+                    Blocked             UserA has blocked UserB and reported them as dangerous, while UserB has also normally blocked UserA
+                    BlockedDangerous    Both users have blocked each other and reported each other as dangerous
+*/
+
+#[derive(Debug, Clone, Serialize, Deserialize)]
+#[cfg_attr(feature = "schema", derive(schemars::JsonSchema))]
+#[cfg_attr(feature = "rkyv", derive(rkyv::Archive, rkyv::Serialize, rkyv::Deserialize))]
+#[cfg_attr(feature = "ts", derive(ts_bindgen::TypeScriptDef))]
+pub struct Relationship {
+    #[serde(default, skip_serializing_if = "Option::is_none")]
+    pub note: Option<SmolStr>,
+    pub user: User,
+    pub since: Timestamp,
+    pub rel: UserRelationship,
+
+    /// If this relationship is awaiting action from you
+    #[serde(default, skip_serializing_if = "is_false")]
+    pub pending: bool,
+}
+
\ No newline at end of file diff --git a/src/client_sdk/models/user/prefs.rs.html b/src/client_sdk/models/user/prefs.rs.html new file mode 100644 index 000000000..420d01001 --- /dev/null +++ b/src/client_sdk/models/user/prefs.rs.html @@ -0,0 +1,365 @@ +prefs.rs - source
1
+2
+3
+4
+5
+6
+7
+8
+9
+10
+11
+12
+13
+14
+15
+16
+17
+18
+19
+20
+21
+22
+23
+24
+25
+26
+27
+28
+29
+30
+31
+32
+33
+34
+35
+36
+37
+38
+39
+40
+41
+42
+43
+44
+45
+46
+47
+48
+49
+50
+51
+52
+53
+54
+55
+56
+57
+58
+59
+60
+61
+62
+63
+64
+65
+66
+67
+68
+69
+70
+71
+72
+73
+74
+75
+76
+77
+78
+79
+80
+81
+82
+83
+84
+85
+86
+87
+88
+89
+90
+91
+92
+93
+94
+95
+96
+97
+98
+99
+100
+101
+102
+103
+104
+105
+106
+107
+108
+109
+110
+111
+112
+113
+114
+115
+116
+117
+118
+119
+120
+121
+122
+123
+124
+125
+126
+127
+128
+129
+130
+131
+132
+133
+134
+135
+136
+137
+138
+139
+140
+141
+142
+143
+144
+145
+146
+147
+148
+149
+150
+151
+152
+153
+154
+155
+156
+157
+158
+159
+160
+161
+162
+163
+164
+165
+166
+167
+168
+169
+170
+171
+172
+173
+174
+175
+176
+177
+178
+179
+180
+181
+182
+
use super::*;
+
+enum_codes! {
+    #[derive(Default, Debug, Clone, Copy, PartialEq, Eq, Hash, serde_repr::Serialize_repr, serde_repr::Deserialize_repr)]
+    #[allow(non_camel_case_types)]
+    pub enum Locale: u16 = enUS {
+        #[default]
+        0 = enUS,
+    }
+}
+
+enum_codes! {
+    #[derive(Default, Debug, Clone, Copy, PartialEq, Eq, Hash, serde_repr::Serialize_repr, serde_repr::Deserialize_repr)]
+    pub enum Font: u16 = SansSerif {
+        #[default]
+        0 = SansSerif,
+        1 = Serif,
+        2 = Monospace,
+        3 = Cursive,
+        4 = ComicSans,
+
+        // third-party fonts
+        30 = OpenDyslexic,
+
+        31 = AtkinsonHyperlegible,
+    }
+}
+
+enum_codes! {
+    #[derive(Default, Debug, Clone, Copy, PartialEq, Eq, Hash, serde_repr::Serialize_repr, serde_repr::Deserialize_repr)]
+    pub enum FriendAddability: u8 = None {
+        #[default]
+        0  = None,
+        10 = FriendsOfFriends,
+        20 = ServerMembers,
+        30 = Anyone,
+    }
+}
+
+bitflags::bitflags! {
+    #[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
+    pub struct UserPrefsFlags: i32 {
+        /// Reduce movement and animations in the UI
+        const REDUCE_ANIMATIONS                 = 1 << 0;
+        /// Pause animations on window unfocus
+        const UNFOCUS_PAUSE                     = 1 << 1;
+        const LIGHT_MODE                        = 1 << 2;
+
+        /// Allow direct messages from shared server memmbers
+        const ALLOW_DMS                         = 1 << 3;
+        /// Show small lines between message groups
+        const GROUP_LINES                       = 1 << 4;
+        const HIDE_AVATARS                      = 1 << 5;
+
+        /// Display dark theme in an OLED-compatible mode
+        const OLED_MODE                         = 1 << 6;
+
+        /// Mute videos/audio by default
+        const MUTE_MEDIA                        = 1 << 7;
+
+        /// Hide images/video with unknown dimensions
+        const HIDE_UNKNOWN_DIMENSIONS           = 1 << 8;
+
+        const COMPACT_VIEW                      = 1 << 9;
+
+        /// Prefer browser/platform emojis rather than twemoji
+        const USE_PLATFORM_EMOJIS               = 1 << 10;
+        const ENABLE_SPELLCHECK                 = 1 << 11;
+        const LOW_BANDWIDTH_MODE                = 1 << 12;
+        const FORCE_COLOR_CONSTRAST             = 1 << 13;
+
+        /// Displays information like mime type and file size
+        const SHOW_MEDIA_METADATA               = 1 << 14;
+        const DEVELOPER_MODE                    = 1 << 15;
+        const SHOW_DATE_CHANGE                  = 1 << 16;
+
+        const HIDE_LAST_ACTIVE                  = 1 << 17;
+
+        /// Show grey background color for images
+        /// (helps keep transparent pixels consistent)
+        const SHOW_GREY_IMAGE_BG                = 1 << 18;
+
+        /// When multiple attachments are present, condense them
+        /// into a grid to avoid cluttering the channel
+        const SHOW_ATTACHMENT_GRID              = 1 << 19;
+
+        const SMALLER_ATTACHMENTS               = 1 << 20;
+
+        const HIDE_ALL_EMBEDS                   = 1 << 21;
+        const HIDE_NSFW_EMBEDS                  = 1 << 22;
+
+        const DEFAULT_FLAGS = 0
+            | Self::ALLOW_DMS.bits()
+            | Self::GROUP_LINES.bits()
+            | Self::ENABLE_SPELLCHECK.bits()
+            | Self::SHOW_MEDIA_METADATA.bits()
+            | Self::SHOW_DATE_CHANGE.bits()
+            | Self::SHOW_GREY_IMAGE_BG.bits()
+            | Self::SHOW_ATTACHMENT_GRID.bits();
+    }
+}
+
+impl_rkyv_for_bitflags!(pub UserPrefsFlags: i32);
+impl_serde_for_bitflags!(UserPrefsFlags);
+impl_sql_for_bitflags!(UserPrefsFlags);
+impl_schema_for_bitflags!(UserPrefsFlags);
+
+impl From<u64> for UserPrefsFlags {
+    fn from(value: u64) -> Self {
+        UserPrefsFlags::from_bits_truncate(value as _)
+    }
+}
+
+impl Default for UserPrefsFlags {
+    fn default() -> Self {
+        Self::DEFAULT_FLAGS
+    }
+}
+
+pub mod preferences {
+    decl_newtype_prefs! {
+        Temperature: u16 = 7500u16,
+        FontSize: f32 = 16.0f32,
+        TabSize: u8 = 4u8,
+        Padding: u8 = 16u8,
+    }
+}
+
+#[derive(Debug, Clone, Serialize, Deserialize)]
+#[cfg_attr(feature = "rkyv", derive(rkyv::Archive, rkyv::Serialize, rkyv::Deserialize))]
+#[cfg_attr(feature = "ts", derive(ts_bindgen::TypeScriptDef))]
+pub struct UserPreferences {
+    #[serde(default, skip_serializing_if = "is_default", alias = "locale")]
+    pub l: Locale,
+    #[serde(default, skip_serializing_if = "is_default", alias = "flags")]
+    pub f: UserPrefsFlags,
+    #[serde(default, skip_serializing_if = "is_default", alias = "friend_add")]
+    pub friend: FriendAddability,
+    #[serde(default, skip_serializing_if = "is_default", alias = "temperature")]
+    pub temp: preferences::Temperature,
+    #[serde(default, skip_serializing_if = "is_default", alias = "chat_font")]
+    pub cf: Font,
+    #[serde(default, skip_serializing_if = "is_default", alias = "ui_font")]
+    pub uf: Font,
+    #[serde(default, skip_serializing_if = "is_default", alias = "chat_font_size")]
+    pub cfs: preferences::FontSize,
+    #[serde(default, skip_serializing_if = "is_default", alias = "ui_font_size")]
+    pub ufs: preferences::FontSize,
+    #[serde(default, skip_serializing_if = "is_default", alias = "padding")]
+    pub pad: preferences::Padding,
+    #[serde(default, skip_serializing_if = "is_default", alias = "tab_size")]
+    pub tab: preferences::TabSize,
+}
+
+impl UserPreferences {
+    pub fn clean(&mut self) {
+        use core::ops::Range;
+
+        #[inline]
+        fn clamp_range<T: PartialOrd>(value: &mut T, range: Range<T>) {
+            if *value < range.start {
+                *value = range.start;
+            } else if *value > range.end {
+                *value = range.end;
+            }
+        }
+
+        #[inline]
+        fn round_2(value: &mut f32) {
+            *value = (*value * 100.0).round() / 100.0;
+        }
+
+        round_2(&mut self.cfs);
+        round_2(&mut self.ufs);
+
+        clamp_range::<u16>(&mut self.temp, 965..12000);
+        clamp_range::<f32>(&mut self.cfs, 8.0..32.0);
+        clamp_range::<f32>(&mut self.ufs, 8.0..32.0);
+        clamp_range::<u8>(&mut self.pad, 0..32);
+        clamp_range::<u8>(&mut self.tab, 1..64);
+    }
+}
+
\ No newline at end of file diff --git a/src/client_sdk/models/util/fixed_str.rs.html b/src/client_sdk/models/util/fixed_str.rs.html new file mode 100644 index 000000000..aa533d8ae --- /dev/null +++ b/src/client_sdk/models/util/fixed_str.rs.html @@ -0,0 +1,585 @@ +fixed_str.rs - source
1
+2
+3
+4
+5
+6
+7
+8
+9
+10
+11
+12
+13
+14
+15
+16
+17
+18
+19
+20
+21
+22
+23
+24
+25
+26
+27
+28
+29
+30
+31
+32
+33
+34
+35
+36
+37
+38
+39
+40
+41
+42
+43
+44
+45
+46
+47
+48
+49
+50
+51
+52
+53
+54
+55
+56
+57
+58
+59
+60
+61
+62
+63
+64
+65
+66
+67
+68
+69
+70
+71
+72
+73
+74
+75
+76
+77
+78
+79
+80
+81
+82
+83
+84
+85
+86
+87
+88
+89
+90
+91
+92
+93
+94
+95
+96
+97
+98
+99
+100
+101
+102
+103
+104
+105
+106
+107
+108
+109
+110
+111
+112
+113
+114
+115
+116
+117
+118
+119
+120
+121
+122
+123
+124
+125
+126
+127
+128
+129
+130
+131
+132
+133
+134
+135
+136
+137
+138
+139
+140
+141
+142
+143
+144
+145
+146
+147
+148
+149
+150
+151
+152
+153
+154
+155
+156
+157
+158
+159
+160
+161
+162
+163
+164
+165
+166
+167
+168
+169
+170
+171
+172
+173
+174
+175
+176
+177
+178
+179
+180
+181
+182
+183
+184
+185
+186
+187
+188
+189
+190
+191
+192
+193
+194
+195
+196
+197
+198
+199
+200
+201
+202
+203
+204
+205
+206
+207
+208
+209
+210
+211
+212
+213
+214
+215
+216
+217
+218
+219
+220
+221
+222
+223
+224
+225
+226
+227
+228
+229
+230
+231
+232
+233
+234
+235
+236
+237
+238
+239
+240
+241
+242
+243
+244
+245
+246
+247
+248
+249
+250
+251
+252
+253
+254
+255
+256
+257
+258
+259
+260
+261
+262
+263
+264
+265
+266
+267
+268
+269
+270
+271
+272
+273
+274
+275
+276
+277
+278
+279
+280
+281
+282
+283
+284
+285
+286
+287
+288
+289
+290
+291
+292
+
//! Small fixed-size string type that can only be a given length, no more or less, exactly `N` bytes.
+
+use core::fmt;
+
+/// Fixed-size String that can *only* be a given length, no more or less, exactly N bytes
+#[derive(Clone, Copy, PartialEq, Eq, Hash)]
+#[must_use = "Not using the FixedStr is wasteful"]
+#[repr(transparent)]
+pub struct FixedStr<const N: usize> {
+    data: [u8; N],
+}
+
+impl<const N: usize> From<FixedStr<N>> for smol_str::SmolStr {
+    #[inline(always)]
+    fn from(fixed: FixedStr<N>) -> Self {
+        Self::new(fixed.as_str())
+    }
+}
+
+impl<const N: usize> AsRef<str> for FixedStr<N> {
+    #[inline(always)]
+    fn as_ref(&self) -> &str {
+        // SAFETY: Can only be created from checked utf-8 in the first place
+        unsafe { core::str::from_utf8_unchecked(&self.data) }
+    }
+}
+
+impl<const N: usize> AsRef<[u8]> for FixedStr<N> {
+    #[inline(always)]
+    fn as_ref(&self) -> &[u8] {
+        &self.data
+    }
+}
+
+impl<const N: usize> AsMut<str> for FixedStr<N> {
+    #[inline(always)]
+    fn as_mut(&mut self) -> &mut str {
+        // SAFETY: Can only be created from checked utf-8 in the first place
+        unsafe { core::str::from_utf8_unchecked_mut(&mut self.data) }
+    }
+}
+
+impl<const N: usize> core::ops::Deref for FixedStr<N> {
+    type Target = str;
+
+    #[inline(always)]
+    fn deref(&self) -> &str {
+        self.as_ref()
+    }
+}
+
+impl<const N: usize> core::ops::DerefMut for FixedStr<N> {
+    #[inline(always)]
+    fn deref_mut(&mut self) -> &mut str {
+        self.as_mut()
+    }
+}
+
+impl<const N: usize> FixedStr<N> {
+    pub const LEN: usize = N;
+
+    /// Construct a new [FixedStr] from a given ASCII character repeated for the entire length
+    ///
+    /// # Panics
+    /// * if the character is not ASCII
+    pub const fn repeat_ascii(c: char) -> FixedStr<N> {
+        if !c.is_ascii() {
+            panic!("Non-ASCII character given");
+        }
+
+        FixedStr { data: [c as u8; N] }
+    }
+
+    /// Construct a new [FixedStr] from a [`&str`](str) if the length is correct.
+    ///
+    /// # Panics
+    /// * if the length is not exactly correct.
+    #[inline]
+    pub const fn new(s: &str) -> FixedStr<N> {
+        if s.len() != N {
+            panic!("FixedStr length must be the exact length");
+        }
+
+        let mut data = [0; N];
+        let src = s.as_bytes();
+
+        // must use while-loop in const function
+        let mut i = 0;
+        while i < N {
+            data[i] = src[i];
+            i += 1;
+        }
+
+        FixedStr { data }
+    }
+
+    /// Construct a new [FixedStr] from a byte array, assuming valid utf-8.
+    ///
+    /// # Safety
+    ///
+    /// This function is unsafe because in release-mode it does not check if the
+    /// bytes are valid utf-8.
+    ///
+    /// # Panics
+    ///
+    /// * In debug mode, this function will panic if the bytes are not valid utf-8.
+    /// * In release mode, this function will not check the bytes.
+    #[inline]
+    pub const unsafe fn from_bytes(bytes: [u8; N]) -> FixedStr<N> {
+        #[cfg(debug_assertions)]
+        if core::str::from_utf8(&bytes).is_err() {
+            panic!("Invalid utf-8 bytes given");
+        }
+
+        FixedStr { data: bytes }
+    }
+
+    /// Construct a new [FixedStr] from a [`&str`](str) if the length is correct.
+    #[inline]
+    #[must_use]
+    pub const fn try_from(s: &str) -> Option<FixedStr<N>> {
+        if s.len() != N {
+            return None;
+        }
+
+        Some(Self::new(s))
+    }
+
+    #[inline(always)]
+    #[must_use]
+    pub fn as_str(&self) -> &str {
+        self.as_ref()
+    }
+}
+
+impl<const N: usize> fmt::Debug for FixedStr<N> {
+    fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
+        f.debug_tuple("FixedStr").field(&self.as_str()).finish()
+    }
+}
+
+impl<const N: usize> fmt::Display for FixedStr<N> {
+    #[inline]
+    fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
+        fmt::Display::fmt(self.as_str(), f)
+    }
+}
+
+#[cfg(feature = "ts")]
+const _: () = {
+    use ts_bindgen::{TypeRegistry, TypeScriptDef, TypeScriptType};
+
+    impl<const N: usize> TypeScriptDef for FixedStr<N> {
+        fn register(_: &mut TypeRegistry) -> TypeScriptType {
+            TypeScriptType::String(None)
+        }
+    }
+};
+
+//#[cfg(feature = "serde")]
+const _: () = {
+    use core::fmt;
+    use core::marker::PhantomData;
+
+    use serde::de::{self, Deserialize, Deserializer, Visitor};
+    use serde::ser::{Serialize, Serializer};
+
+    impl<const N: usize> Serialize for FixedStr<N> {
+        #[inline]
+        fn serialize<S: Serializer>(&self, serializer: S) -> Result<S::Ok, S::Error> {
+            self.as_str().serialize(serializer)
+        }
+    }
+
+    impl<'de, const N: usize> Deserialize<'de> for FixedStr<N> {
+        fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error> {
+            struct FixedStrVisitor<const N: usize>(PhantomData<[(); N]>);
+
+            impl<const N: usize> Visitor<'_> for FixedStrVisitor<N> {
+                type Value = FixedStr<N>;
+
+                fn expecting(&self, f: &mut fmt::Formatter) -> fmt::Result {
+                    write!(f, "a string of exactly {N} bytes")
+                }
+
+                #[inline]
+                fn visit_str<E>(self, value: &str) -> Result<Self::Value, E>
+                where
+                    E: de::Error,
+                {
+                    FixedStr::try_from(value).ok_or_else(|| E::invalid_length(value.len(), &self))
+                }
+            }
+
+            deserializer.deserialize_str(FixedStrVisitor(PhantomData))
+        }
+    }
+};
+
+#[cfg(feature = "rkyv")]
+const _: () = {
+    use core::{slice::from_raw_parts, str::from_utf8};
+
+    use rkyv::{
+        bytecheck::CheckBytes,
+        place::Place,
+        rancor::{Fallible, ResultExt, Source},
+        traits::{CopyOptimization, NoUndef},
+        Archive, Deserialize, Portable, Serialize,
+    };
+
+    unsafe impl<const N: usize> Portable for FixedStr<N> {}
+    unsafe impl<const N: usize> NoUndef for FixedStr<N> {}
+
+    impl<const N: usize> Archive for FixedStr<N> {
+        type Archived = FixedStr<N>;
+        type Resolver = ();
+
+        // SAFETY: We know that FixedStr is a valid type to copy as-is
+        const COPY_OPTIMIZATION: CopyOptimization<Self> = unsafe { CopyOptimization::enable() };
+
+        #[inline]
+        fn resolve(&self, _resolver: Self::Resolver, out: Place<Self::Archived>) {
+            out.write(*self);
+        }
+    }
+
+    impl<const N: usize, S> Serialize<S> for FixedStr<N>
+    where
+        S: Fallible + ?Sized,
+    {
+        #[inline]
+        fn serialize(&self, _serializer: &mut S) -> Result<Self::Resolver, S::Error> {
+            Ok(())
+        }
+    }
+
+    impl<const N: usize, D> Deserialize<Self, D> for FixedStr<N>
+    where
+        D: Fallible + ?Sized,
+    {
+        #[inline]
+        fn deserialize(&self, _deserializer: &mut D) -> Result<Self, D::Error> {
+            Ok(*self)
+        }
+    }
+
+    unsafe impl<const N: usize, C> CheckBytes<C> for FixedStr<N>
+    where
+        C: Fallible + ?Sized,
+        C::Error: Source,
+    {
+        unsafe fn check_bytes<'a>(value: *const Self, _context: &mut C) -> Result<(), C::Error> {
+            from_utf8(from_raw_parts(value.cast::<u8>(), N)).into_error()?;
+
+            Ok(())
+        }
+    }
+};
+
+#[cfg(feature = "schema")]
+const _: () = {
+    use alloc::{borrow::ToOwned, boxed::Box, string::String};
+
+    use schemars::{
+        schema::{InstanceType, Metadata, Schema, SchemaObject, SingleOrVec},
+        JsonSchema,
+    };
+
+    impl<const N: usize> JsonSchema for FixedStr<N> {
+        fn schema_name() -> String {
+            "FixedStr".to_owned()
+        }
+
+        fn json_schema(_gen: &mut schemars::gen::SchemaGenerator) -> Schema {
+            let mut obj = SchemaObject {
+                metadata: Some(Box::new(Metadata {
+                    description: Some(alloc::format!("FixedStr<{N}>")),
+                    ..Default::default()
+                })),
+                instance_type: Some(SingleOrVec::Single(Box::new(InstanceType::String))),
+                ..Default::default()
+            };
+
+            obj.string().pattern = Some(alloc::format!(r#"[\x00-\x7F]{{{N}}}"#));
+            obj.string().min_length = Some(N as u32);
+            obj.string().max_length = Some(N as u32);
+
+            Schema::Object(obj)
+        }
+    }
+};
+
\ No newline at end of file diff --git a/src/client_sdk/models/util/macros.rs.html b/src/client_sdk/models/util/macros.rs.html new file mode 100644 index 000000000..bfa24d060 --- /dev/null +++ b/src/client_sdk/models/util/macros.rs.html @@ -0,0 +1,725 @@ +macros.rs - source
1
+2
+3
+4
+5
+6
+7
+8
+9
+10
+11
+12
+13
+14
+15
+16
+17
+18
+19
+20
+21
+22
+23
+24
+25
+26
+27
+28
+29
+30
+31
+32
+33
+34
+35
+36
+37
+38
+39
+40
+41
+42
+43
+44
+45
+46
+47
+48
+49
+50
+51
+52
+53
+54
+55
+56
+57
+58
+59
+60
+61
+62
+63
+64
+65
+66
+67
+68
+69
+70
+71
+72
+73
+74
+75
+76
+77
+78
+79
+80
+81
+82
+83
+84
+85
+86
+87
+88
+89
+90
+91
+92
+93
+94
+95
+96
+97
+98
+99
+100
+101
+102
+103
+104
+105
+106
+107
+108
+109
+110
+111
+112
+113
+114
+115
+116
+117
+118
+119
+120
+121
+122
+123
+124
+125
+126
+127
+128
+129
+130
+131
+132
+133
+134
+135
+136
+137
+138
+139
+140
+141
+142
+143
+144
+145
+146
+147
+148
+149
+150
+151
+152
+153
+154
+155
+156
+157
+158
+159
+160
+161
+162
+163
+164
+165
+166
+167
+168
+169
+170
+171
+172
+173
+174
+175
+176
+177
+178
+179
+180
+181
+182
+183
+184
+185
+186
+187
+188
+189
+190
+191
+192
+193
+194
+195
+196
+197
+198
+199
+200
+201
+202
+203
+204
+205
+206
+207
+208
+209
+210
+211
+212
+213
+214
+215
+216
+217
+218
+219
+220
+221
+222
+223
+224
+225
+226
+227
+228
+229
+230
+231
+232
+233
+234
+235
+236
+237
+238
+239
+240
+241
+242
+243
+244
+245
+246
+247
+248
+249
+250
+251
+252
+253
+254
+255
+256
+257
+258
+259
+260
+261
+262
+263
+264
+265
+266
+267
+268
+269
+270
+271
+272
+273
+274
+275
+276
+277
+278
+279
+280
+281
+282
+283
+284
+285
+286
+287
+288
+289
+290
+291
+292
+293
+294
+295
+296
+297
+298
+299
+300
+301
+302
+303
+304
+305
+306
+307
+308
+309
+310
+311
+312
+313
+314
+315
+316
+317
+318
+319
+320
+321
+322
+323
+324
+325
+326
+327
+328
+329
+330
+331
+332
+333
+334
+335
+336
+337
+338
+339
+340
+341
+342
+343
+344
+345
+346
+347
+348
+349
+350
+351
+352
+353
+354
+355
+356
+357
+358
+359
+360
+361
+362
+
macro_rules! impl_rkyv_for_bitflags {
+    ($vis:vis $name:ident: $ty:ty) => {
+        #[cfg(feature = "rkyv")]
+        rkyv_rpc::bitflags!(@RKYV_ONLY $vis $name: $ty);
+    }
+}
+
+#[cfg(feature = "rkyv")]
+macro_rules! enum_codes {
+    (
+        $(#[$meta:meta])*
+        $vis:vis enum $name:ident: $archived_vis:vis $repr:ty $(= $unknown:ident)? {
+            $($(#[$variant_meta:meta])* $code:literal = $variant:ident,)*
+        }
+    ) => {
+        rkyv_rpc::enum_codes! {
+            $(#[$meta])*
+            #[cfg_attr(feature = "ts", derive(ts_bindgen::TypeScriptDef))]
+            $vis enum $name: $archived_vis $repr $(= $unknown)? {
+                $($(#[$variant_meta])* $code = $variant,)*
+            }
+        }
+    };
+}
+
+#[cfg(not(feature = "rkyv"))]
+macro_rules! enum_codes {
+    (
+        $(#[$meta:meta])*
+        $vis:vis enum $name:ident: $archived_vis:vis $repr:ty $(= $unknown:ident)? {
+            $($(#[$variant_meta:meta])* $code:literal = $variant:ident,)*
+        }
+    ) => {
+        $(#[$meta])*
+        #[cfg_attr(feature = "ts", derive(ts_bindgen::TypeScriptDef))]
+        #[repr($repr)]
+        $vis enum $name {
+            $($(#[$variant_meta])* $variant = $code,)*
+        }
+    };
+}
+
+// NOTE: Passing `$repr` as ident is required for it to be matched against u8/i8 specialization. I don't know why.
+
+#[cfg(feature = "rkyv")]
+macro_rules! decl_enum {
+    (
+        $(#[$meta:meta])*
+        $vis:vis enum $name:ident: $repr:ident  {
+            $($(#[$variant_meta:meta])* $code:literal = $variant:ident,)* $(,)?
+        }
+    ) => {
+        rkyv_rpc::unit_enum! {
+            $(#[$meta])*
+            #[cfg_attr(feature = "ts", derive(ts_bindgen::TypeScriptDef))]
+            $vis enum $name: $repr {
+                $($(#[$variant_meta])* $code = $variant,)*
+            }
+        }
+    };
+}
+
+#[cfg(not(feature = "rkyv"))]
+macro_rules! decl_enum {
+    (
+        $(#[$meta:meta])*
+        $vis:vis enum $name:ident: $repr:ident {
+            $($(#[$variant_meta:meta])* $code:literal = $variant:ident,)* $(,)?
+        }
+    ) => {
+        $(#[$meta])*
+        #[repr($repr)]
+        #[derive(Debug, Clone, Copy, PartialEq, Eq)]
+        #[cfg_attr(feature = "ts", derive(ts_bindgen::TypeScriptDef))]
+        $vis enum $name {
+            $($(#[$variant_meta])* $variant = $code,)*
+        }
+    };
+}
+
+#[allow(unused)]
+macro_rules! impl_sql_common {
+    (@ACCEPTS $id:ident) => {
+        fn accepts(ty: &postgres_types::Type) -> bool {
+            use postgres_types::Type;
+
+            let target = const {
+                match core::mem::size_of::<$id>() {
+                    1 | 2 => Some(Type::INT2),
+                    4 => Some(Type::INT4),
+                    8 => Some(Type::INT8),
+                    _ => None
+                }
+            };
+
+            matches!(target, Some(target) if *ty == target)
+        }
+    };
+}
+
+macro_rules! impl_sql_for_bitflags {
+    ($id:ident) => {
+        #[cfg(feature = "rusqlite")]
+        const _: () = {
+            use rusqlite::types::{FromSql, FromSqlError, FromSqlResult, ToSql, ToSqlOutput, ValueRef};
+
+            impl FromSql for $id {
+                fn column_result(value: ValueRef<'_>) -> FromSqlResult<Self> {
+                    match value {
+                        ValueRef::Integer(value) => Ok(Self::from_bits_truncate(value as _)),
+                        _ => Err(FromSqlError::InvalidType),
+                    }
+                }
+            }
+
+            impl ToSql for $id {
+                fn to_sql(&self) -> rusqlite::Result<ToSqlOutput<'_>> {
+                    Ok(ToSqlOutput::Owned(self.bits().into()))
+                }
+            }
+        };
+
+        #[cfg(feature = "pg")]
+        const _: () = {
+            use core::error::Error;
+
+            use bytes::BytesMut;
+            use postgres_types::{to_sql_checked, FromSql, IsNull, ToSql, Type};
+
+            impl<'a> FromSql<'a> for $id {
+                #[inline]
+                fn from_sql(ty: &Type, raw: &'a [u8]) -> Result<Self, Box<dyn Error + Sync + Send>> {
+                    Ok(Self::from_bits_truncate(FromSql::from_sql(ty, raw)?))
+                }
+
+                impl_sql_common!(@ACCEPTS $id);
+            }
+
+            impl ToSql for $id {
+                #[inline]
+                fn to_sql(&self, ty: &Type, out: &mut BytesMut) -> Result<IsNull, Box<dyn Error + Sync + Send>>
+                where
+                    Self: Sized,
+                {
+                    self.bits().to_sql(ty, out)
+                }
+
+                impl_sql_common!(@ACCEPTS $id);
+                to_sql_checked!();
+            }
+
+            #[cfg(feature = "rkyv")]
+            const _: () = {
+                paste::paste! {
+                    // NOTE: Cannot use `Archived<$id>` as it triggers a trait conflict bug in rustc,
+                    // luckily we use the default naming convention for archived types.
+                    impl ToSql for [<Archived $id>] {
+                        #[inline]
+                        fn to_sql(&self, ty: &Type, out: &mut BytesMut) -> Result<IsNull, Box<dyn Error + Sync + Send>>
+                        where
+                            Self: Sized,
+                        {
+                            self.to_native().to_sql(ty, out)
+                        }
+
+                        impl_sql_common!(@ACCEPTS $id);
+                        to_sql_checked!();
+                    }
+                }
+            };
+        };
+    };
+}
+
+macro_rules! impl_sql_for_enum_primitive {
+    ($id:ident) => {
+        #[cfg(feature = "rusqlite")]
+        const _: () = {
+            use num_traits::{FromPrimitive, ToPrimitive};
+            use rusqlite::types::{FromSql, FromSqlError, FromSqlResult, ToSql, ToSqlOutput, ValueRef};
+
+            impl FromSql for $id {
+                fn column_result(value: ValueRef<'_>) -> FromSqlResult<Self> {
+                    match value {
+                        ValueRef::Integer(value) => FromPrimitive::from_i64(value).ok_or_else(|| FromSqlError::OutOfRange(value)),
+                        _ => Err(FromSqlError::InvalidType),
+                    }
+                }
+            }
+
+            impl ToSql for $id {
+                fn to_sql(&self) -> rusqlite::Result<ToSqlOutput<'_>> {
+                    Ok(ToSqlOutput::Owned(self.to_i64().into()))
+                }
+            }
+        };
+
+        #[cfg(feature = "pg")]
+        const _: () = {
+            use core::error::Error;
+            use num_traits::{FromPrimitive, ToPrimitive};
+
+            use bytes::BytesMut;
+            use postgres_types::{accepts, to_sql_checked, FromSql, IsNull, ToSql, Type};
+
+            #[derive(Debug, Clone, Copy)]
+            struct FromSqlError(i64);
+
+            impl core::fmt::Display for FromSqlError {
+                fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result {
+                    write!(
+                        f,
+                        concat!("Unable to convert {} to type '", stringify!($id), "'"),
+                        self.0
+                    )
+                }
+            }
+
+            impl core::error::Error for FromSqlError {}
+
+            impl<'a> FromSql<'a> for $id {
+                #[inline]
+                fn from_sql(ty: &Type, raw: &'a [u8]) -> Result<Self, Box<dyn Error + Sync + Send>> {
+                    let raw_value = match ty {
+                        &Type::INT2 => <i16 as FromSql>::from_sql(ty, raw)? as i64,
+                        &Type::INT4 => <i32 as FromSql>::from_sql(ty, raw)? as i64,
+                        &Type::INT8 => <i64 as FromSql>::from_sql(ty, raw)? as i64,
+                        _ => unreachable!(),
+                    };
+
+                    <$id as FromPrimitive>::from_i64(raw_value)
+                        .ok_or_else(|| Box::new(FromSqlError(raw_value)) as Box<dyn Error + Sync + Send>)
+                }
+
+                accepts!(INT2, INT4, INT8);
+            }
+
+            impl ToSql for $id {
+                #[inline]
+                fn to_sql(&self, ty: &Type, out: &mut BytesMut) -> Result<IsNull, Box<dyn Error + Sync + Send>>
+                where
+                    Self: Sized,
+                {
+                    match core::mem::size_of::<Self>() {
+                        1 | 2 => self.to_i16().to_sql(ty, out),
+                        4 => self.to_i32().to_sql(ty, out),
+                        8 => self.to_i64().to_sql(ty, out),
+                        _ => unreachable!(),
+                    }
+                }
+
+                impl_sql_common!(@ACCEPTS $id);
+                to_sql_checked!();
+            }
+        };
+    };
+}
+
+macro_rules! impl_schema_for_bitflags {
+    ($name:ident) => {
+        #[cfg(feature = "ts")]
+        const _: () = {
+            use ts_bindgen::{Discriminator, TypeScriptDef, TypeScriptType};
+
+            impl TypeScriptDef for $name {
+                fn register(registry: &mut ts_bindgen::TypeRegistry) -> TypeScriptType {
+                    // for bitflags with 16 or more bits, we decompose the bitflags
+                    // values into bit positions, (1 << 20) becomes 20,
+                    // at the cost of excluding combinations of flags
+                    if size_of::<Self>() >= 16 {
+                        let name = concat!(stringify!($name), "Bit");
+                        let ty = TypeScriptType::Named(name);
+
+                        if registry.contains(name) {
+                            return ty;
+                        }
+
+                        eprintln!("Note: Generating TypeScript for {} as bit positions", stringify!($name));
+
+                        let mut members = Vec::new();
+                        for (name, value) in Self::all().iter_names() {
+                            let value = value.bits();
+
+                            // if not a power of 2, skip
+                            if (value & (value - 1)) != 0 {
+                                continue;
+                            }
+
+                            members.push((name.to_owned(), Some(Discriminator::Simple(value.ilog2() as _))));
+                        }
+
+                        registry.insert(name, TypeScriptType::ConstEnum(members));
+
+                        return ty;
+                    }
+
+                    // regular enum
+                    let name = stringify!($name);
+                    let ty = TypeScriptType::Named(name);
+
+                    if registry.contains(name) {
+                        return ty;
+                    }
+
+                    let mut members = Vec::new();
+                    for (name, value) in Self::all().iter_names() {
+                        members.push((name.to_owned(), Some(Discriminator::BinaryHex(value.bits() as _))));
+                    }
+
+                    registry.insert(name, TypeScriptType::ConstEnum(members));
+
+                    ty
+                }
+            }
+        };
+
+        #[cfg(feature = "schema")]
+        const _: () = {
+            use schemars::_serde_json::json;
+            use schemars::{
+                schema::{InstanceType, Metadata, Schema, SchemaObject, SingleOrVec},
+                JsonSchema,
+            };
+
+            impl JsonSchema for $name {
+                fn schema_name() -> String {
+                    stringify!($name).to_owned()
+                }
+
+                fn json_schema(_gen: &mut schemars::gen::SchemaGenerator) -> Schema {
+                    let size = core::mem::size_of::<Self>();
+                    let bignum = size >= 16;
+
+                    let mut obj = SchemaObject {
+                        metadata: Some(Box::new(Metadata {
+                            description: Some(format!("{} Bitflags", stringify!($name))),
+                            examples: vec![json!($name::all().bits())],
+                            ..Default::default()
+                        })),
+                        instance_type: Some(SingleOrVec::Single(Box::new(if bignum {
+                            InstanceType::String
+                        } else {
+                            InstanceType::Number
+                        }))),
+                        ..Default::default()
+                    };
+
+                    if bignum {
+                        obj.string().pattern = Some(match size {
+                            16 => "\\d{0,38}".to_owned(),
+                            _ => unreachable!(),
+                        });
+                    } else {
+                        obj.number().maximum = Some($name::all().bits() as _);
+                    }
+
+                    Schema::Object(obj)
+                }
+            }
+        };
+    };
+}
+
\ No newline at end of file diff --git a/src/client_sdk/models/util/mod.rs.html b/src/client_sdk/models/util/mod.rs.html new file mode 100644 index 000000000..92927db8b --- /dev/null +++ b/src/client_sdk/models/util/mod.rs.html @@ -0,0 +1,9 @@ +mod.rs - source
1
+2
+3
+4
+
#[macro_use]
+pub mod macros;
+pub mod fixed_str;
+pub mod thin_str;
+
\ No newline at end of file diff --git a/src/client_sdk/models/util/thin_str.rs.html b/src/client_sdk/models/util/thin_str.rs.html new file mode 100644 index 000000000..6a9502707 --- /dev/null +++ b/src/client_sdk/models/util/thin_str.rs.html @@ -0,0 +1,955 @@ +thin_str.rs - source
1
+2
+3
+4
+5
+6
+7
+8
+9
+10
+11
+12
+13
+14
+15
+16
+17
+18
+19
+20
+21
+22
+23
+24
+25
+26
+27
+28
+29
+30
+31
+32
+33
+34
+35
+36
+37
+38
+39
+40
+41
+42
+43
+44
+45
+46
+47
+48
+49
+50
+51
+52
+53
+54
+55
+56
+57
+58
+59
+60
+61
+62
+63
+64
+65
+66
+67
+68
+69
+70
+71
+72
+73
+74
+75
+76
+77
+78
+79
+80
+81
+82
+83
+84
+85
+86
+87
+88
+89
+90
+91
+92
+93
+94
+95
+96
+97
+98
+99
+100
+101
+102
+103
+104
+105
+106
+107
+108
+109
+110
+111
+112
+113
+114
+115
+116
+117
+118
+119
+120
+121
+122
+123
+124
+125
+126
+127
+128
+129
+130
+131
+132
+133
+134
+135
+136
+137
+138
+139
+140
+141
+142
+143
+144
+145
+146
+147
+148
+149
+150
+151
+152
+153
+154
+155
+156
+157
+158
+159
+160
+161
+162
+163
+164
+165
+166
+167
+168
+169
+170
+171
+172
+173
+174
+175
+176
+177
+178
+179
+180
+181
+182
+183
+184
+185
+186
+187
+188
+189
+190
+191
+192
+193
+194
+195
+196
+197
+198
+199
+200
+201
+202
+203
+204
+205
+206
+207
+208
+209
+210
+211
+212
+213
+214
+215
+216
+217
+218
+219
+220
+221
+222
+223
+224
+225
+226
+227
+228
+229
+230
+231
+232
+233
+234
+235
+236
+237
+238
+239
+240
+241
+242
+243
+244
+245
+246
+247
+248
+249
+250
+251
+252
+253
+254
+255
+256
+257
+258
+259
+260
+261
+262
+263
+264
+265
+266
+267
+268
+269
+270
+271
+272
+273
+274
+275
+276
+277
+278
+279
+280
+281
+282
+283
+284
+285
+286
+287
+288
+289
+290
+291
+292
+293
+294
+295
+296
+297
+298
+299
+300
+301
+302
+303
+304
+305
+306
+307
+308
+309
+310
+311
+312
+313
+314
+315
+316
+317
+318
+319
+320
+321
+322
+323
+324
+325
+326
+327
+328
+329
+330
+331
+332
+333
+334
+335
+336
+337
+338
+339
+340
+341
+342
+343
+344
+345
+346
+347
+348
+349
+350
+351
+352
+353
+354
+355
+356
+357
+358
+359
+360
+361
+362
+363
+364
+365
+366
+367
+368
+369
+370
+371
+372
+373
+374
+375
+376
+377
+378
+379
+380
+381
+382
+383
+384
+385
+386
+387
+388
+389
+390
+391
+392
+393
+394
+395
+396
+397
+398
+399
+400
+401
+402
+403
+404
+405
+406
+407
+408
+409
+410
+411
+412
+413
+414
+415
+416
+417
+418
+419
+420
+421
+422
+423
+424
+425
+426
+427
+428
+429
+430
+431
+432
+433
+434
+435
+436
+437
+438
+439
+440
+441
+442
+443
+444
+445
+446
+447
+448
+449
+450
+451
+452
+453
+454
+455
+456
+457
+458
+459
+460
+461
+462
+463
+464
+465
+466
+467
+468
+469
+470
+471
+472
+473
+474
+475
+476
+477
+
//! String type built around [`ThinVec`], so it only uses 8 bytes of stack space.
+
+use alloc::borrow::Cow;
+use core::borrow::{Borrow, BorrowMut};
+use core::{error, fmt, ops};
+use thin_vec::ThinVec;
+
+#[derive(Default, Clone, PartialEq, Eq, PartialOrd, Ord, Hash)]
+#[must_use = "Not using the ThinString is wasteful"]
+#[repr(transparent)]
+pub struct ThinString(ThinVec<u8>);
+
+#[derive(Clone, Debug, PartialEq, Eq)]
+pub struct FromUtf8Error {
+    bytes: ThinVec<u8>,
+    error: core::str::Utf8Error,
+}
+
+impl FromUtf8Error {
+    #[must_use]
+    pub fn as_bytes(&self) -> &[u8] {
+        &self.bytes
+    }
+
+    #[must_use]
+    pub fn into_bytes(self) -> ThinVec<u8> {
+        self.bytes
+    }
+
+    #[must_use]
+    pub fn utf8_error(&self) -> &core::str::Utf8Error {
+        &self.error
+    }
+}
+
+impl fmt::Display for FromUtf8Error {
+    fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
+        fmt::Display::fmt(&self.error, f)
+    }
+}
+
+impl error::Error for FromUtf8Error {}
+
+impl fmt::Display for ThinString {
+    fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
+        fmt::Display::fmt(self.as_str(), f)
+    }
+}
+
+impl fmt::Debug for ThinString {
+    fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
+        fmt::Debug::fmt(self.as_str(), f)
+    }
+}
+
+impl ThinString {
+    pub fn new() -> Self {
+        Self::default()
+    }
+
+    pub fn with_capacity(capacity: usize) -> Self {
+        Self(ThinVec::with_capacity(capacity))
+    }
+
+    pub fn from_utf8(vec: ThinVec<u8>) -> Result<Self, FromUtf8Error> {
+        match core::str::from_utf8(&vec) {
+            Ok(_) => Ok(Self(vec)),
+            Err(error) => Err(FromUtf8Error { bytes: vec, error }),
+        }
+    }
+
+    #[inline(always)]
+    #[must_use]
+    pub fn as_str(&self) -> &str {
+        unsafe { core::str::from_utf8_unchecked(&self.0) }
+    }
+
+    #[must_use]
+    pub fn as_bytes(&self) -> &[u8] {
+        &self.0
+    }
+
+    pub fn push_str(&mut self, s: &str) {
+        self.0.extend_from_slice(s.as_bytes());
+    }
+
+    pub fn push(&mut self, c: char) {
+        match c.len_utf8() {
+            1 => self.0.push(c as u8),
+            _ => self.0.extend_from_slice(c.encode_utf8(&mut [0; 4]).as_bytes()),
+        }
+    }
+
+    pub fn clear(&mut self) {
+        self.0.clear();
+    }
+
+    pub fn reserve(&mut self, additional: usize) {
+        self.0.reserve(additional);
+    }
+
+    pub fn reserve_exact(&mut self, additional: usize) {
+        self.0.reserve_exact(additional);
+    }
+
+    pub fn shrink_to_fit(&mut self) {
+        self.0.shrink_to_fit();
+    }
+
+    #[must_use]
+    pub fn into_bytes(self) -> ThinVec<u8> {
+        self.0
+    }
+
+    pub fn as_mut_vec(&mut self) -> &mut ThinVec<u8> {
+        &mut self.0
+    }
+
+    #[must_use]
+    pub fn len(&self) -> usize {
+        self.0.len()
+    }
+
+    #[must_use]
+    pub fn is_empty(&self) -> bool {
+        self.0.is_empty()
+    }
+}
+
+impl From<&str> for ThinString {
+    #[inline(always)]
+    fn from(s: &str) -> Self {
+        Self(ThinVec::from(s.as_bytes()))
+    }
+}
+
+impl From<&mut str> for ThinString {
+    #[inline(always)]
+    fn from(s: &mut str) -> Self {
+        Self(ThinVec::from(s.as_bytes()))
+    }
+}
+
+impl<'a> From<Cow<'a, str>> for ThinString {
+    #[inline(always)]
+    fn from(s: Cow<'a, str>) -> Self {
+        match s {
+            Cow::Borrowed(s) => ThinString::from(s),
+            Cow::Owned(s) => ThinString::from(s),
+        }
+    }
+}
+
+impl From<String> for ThinString {
+    #[inline(always)]
+    fn from(s: String) -> Self {
+        Self(ThinVec::from(s.into_bytes()))
+    }
+}
+
+impl From<&String> for ThinString {
+    #[inline(always)]
+    fn from(s: &String) -> Self {
+        ThinString::from(s.as_str())
+    }
+}
+
+impl From<Box<str>> for ThinString {
+    #[inline(always)]
+    fn from(s: Box<str>) -> Self {
+        Self(ThinVec::from(<Box<[u8]>>::from(s)))
+    }
+}
+
+impl From<char> for ThinString {
+    #[inline(always)]
+    fn from(c: char) -> Self {
+        let mut thin_string = ThinString::new();
+        thin_string.push(c);
+        thin_string
+    }
+}
+
+impl ops::Deref for ThinString {
+    type Target = str;
+
+    #[inline(always)]
+    fn deref(&self) -> &str {
+        unsafe { core::str::from_utf8_unchecked(&self.0) }
+    }
+}
+
+impl ops::DerefMut for ThinString {
+    #[inline(always)]
+    fn deref_mut(&mut self) -> &mut str {
+        unsafe { core::str::from_utf8_unchecked_mut(&mut self.0) }
+    }
+}
+
+impl AsRef<str> for ThinString {
+    #[inline(always)]
+    fn as_ref(&self) -> &str {
+        self
+    }
+}
+
+impl AsMut<str> for ThinString {
+    #[inline(always)]
+    fn as_mut(&mut self) -> &mut str {
+        self
+    }
+}
+
+impl AsRef<[u8]> for ThinString {
+    #[inline(always)]
+    fn as_ref(&self) -> &[u8] {
+        &self.0
+    }
+}
+
+impl Borrow<str> for ThinString {
+    #[inline(always)]
+    fn borrow(&self) -> &str {
+        self
+    }
+}
+
+impl BorrowMut<str> for ThinString {
+    #[inline(always)]
+    fn borrow_mut(&mut self) -> &mut str {
+        self
+    }
+}
+
+const _: () = {
+    use serde::{de, ser};
+
+    impl ser::Serialize for ThinString {
+        fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
+        where
+            S: ser::Serializer,
+        {
+            self.as_str().serialize(serializer)
+        }
+    }
+
+    impl<'de> de::Deserialize<'de> for ThinString {
+        fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>
+        where
+            D: de::Deserializer<'de>,
+        {
+            struct ThinStringVisitor;
+
+            impl de::Visitor<'_> for ThinStringVisitor {
+                type Value = ThinString;
+
+                fn expecting(&self, formatter: &mut fmt::Formatter) -> fmt::Result {
+                    formatter.write_str("a string")
+                }
+
+                fn visit_str<E>(self, value: &str) -> Result<Self::Value, E>
+                where
+                    E: de::Error,
+                {
+                    Ok(ThinString::from(value))
+                }
+            }
+
+            deserializer.deserialize_str(ThinStringVisitor)
+        }
+    }
+};
+
+#[cfg(feature = "ts")]
+const _: () = {
+    use ts_bindgen::{TypeRegistry, TypeScriptDef, TypeScriptType};
+
+    impl TypeScriptDef for ThinString {
+        fn register(_: &mut TypeRegistry) -> TypeScriptType {
+            TypeScriptType::String(None)
+        }
+    }
+};
+
+#[cfg(feature = "rkyv")]
+const _: () = {
+    use rkyv::{
+        rancor::{Fallible, Source},
+        string::{ArchivedString, StringResolver},
+        Archive, Deserialize, DeserializeUnsized, Place, Serialize, SerializeUnsized,
+    };
+
+    impl Archive for ThinString {
+        type Archived = ArchivedString;
+        type Resolver = StringResolver;
+
+        fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>) {
+            ArchivedString::resolve_from_str(self, resolver, out)
+        }
+    }
+
+    impl<S: Fallible + ?Sized> Serialize<S> for ThinString
+    where
+        S::Error: Source,
+        str: SerializeUnsized<S>,
+    {
+        fn serialize(&self, serializer: &mut S) -> Result<Self::Resolver, S::Error> {
+            ArchivedString::serialize_from_str(self, serializer)
+        }
+    }
+
+    impl<D: Fallible + ?Sized> Deserialize<ThinString, D> for ArchivedString
+    where
+        str: DeserializeUnsized<str, D>,
+    {
+        fn deserialize(&self, _: &mut D) -> Result<ThinString, D::Error> {
+            Ok(ThinString::from(self.as_str()))
+        }
+    }
+};
+
+#[cfg(feature = "pg")]
+const _: () = {
+    use postgres_types::{to_sql_checked, FromSql, IsNull, ToSql, Type};
+
+    impl ToSql for ThinString {
+        fn to_sql(&self, ty: &Type, out: &mut bytes::BytesMut) -> Result<IsNull, Box<dyn std::error::Error + Sync + Send>>
+        where
+            Self: Sized,
+        {
+            self.as_str().to_sql(ty, out)
+        }
+
+        fn accepts(ty: &Type) -> bool
+        where
+            Self: Sized,
+        {
+            <String as ToSql>::accepts(ty)
+        }
+
+        to_sql_checked!();
+    }
+
+    impl<'a> FromSql<'a> for ThinString {
+        fn from_sql(ty: &Type, raw: &'a [u8]) -> Result<Self, Box<dyn std::error::Error + Sync + Send>> {
+            <&str as FromSql>::from_sql(ty, raw).map(ThinString::from)
+        }
+
+        fn accepts(ty: &Type) -> bool {
+            <String as FromSql>::accepts(ty)
+        }
+    }
+};
+
+impl fmt::Write for ThinString {
+    fn write_str(&mut self, s: &str) -> fmt::Result {
+        self.push_str(s);
+        Ok(())
+    }
+}
+
+impl<'a> Extend<&'a str> for ThinString {
+    fn extend<T: IntoIterator<Item = &'a str>>(&mut self, iter: T) {
+        iter.into_iter().for_each(move |s| self.push_str(s));
+    }
+}
+
+impl Extend<Box<str>> for ThinString {
+    fn extend<I: IntoIterator<Item = Box<str>>>(&mut self, iter: I) {
+        iter.into_iter().for_each(move |s| self.push_str(&s));
+    }
+}
+
+impl Extend<String> for ThinString {
+    fn extend<I: IntoIterator<Item = String>>(&mut self, iter: I) {
+        iter.into_iter().for_each(move |s| self.push_str(&s));
+    }
+}
+
+impl Extend<ThinString> for ThinString {
+    fn extend<I: IntoIterator<Item = ThinString>>(&mut self, iter: I) {
+        iter.into_iter().for_each(move |s| self.push_str(&s));
+    }
+}
+
+impl<'a> Extend<Cow<'a, str>> for ThinString {
+    fn extend<I: IntoIterator<Item = Cow<'a, str>>>(&mut self, iter: I) {
+        iter.into_iter().for_each(move |s: Cow<'a, str>| self.push_str(&s));
+    }
+}
+
+impl Extend<char> for ThinString {
+    fn extend<I: IntoIterator<Item = char>>(&mut self, iter: I) {
+        let iterator = iter.into_iter();
+        let (lower_bound, _) = iterator.size_hint();
+        self.reserve(lower_bound);
+        iterator.for_each(move |c| self.push(c));
+    }
+}
+
+impl<'a> Extend<&'a char> for ThinString {
+    fn extend<I: IntoIterator<Item = &'a char>>(&mut self, iter: I) {
+        self.extend(iter.into_iter().cloned());
+    }
+}
+
+impl FromIterator<char> for ThinString {
+    fn from_iter<I: IntoIterator<Item = char>>(iter: I) -> Self {
+        let mut thin_string = ThinString::new();
+        thin_string.extend(iter);
+        thin_string
+    }
+}
+
+impl<'a> FromIterator<&'a char> for ThinString {
+    fn from_iter<I: IntoIterator<Item = &'a char>>(iter: I) -> Self {
+        let mut thin_string = ThinString::new();
+        thin_string.extend(iter.into_iter().cloned());
+        thin_string
+    }
+}
+
+impl FromIterator<String> for ThinString {
+    fn from_iter<I: IntoIterator<Item = String>>(iter: I) -> Self {
+        let mut thin_string = ThinString::new();
+        thin_string.extend(iter);
+        thin_string
+    }
+}
+
+impl FromIterator<ThinString> for ThinString {
+    fn from_iter<I: IntoIterator<Item = ThinString>>(iter: I) -> Self {
+        let mut iterator = iter.into_iter();
+
+        // reuse the first string if possible
+        match iterator.next() {
+            Some(mut thin_string) => {
+                thin_string.extend(iterator);
+                thin_string
+            }
+            None => ThinString::new(),
+        }
+    }
+}
+
+impl<'a> FromIterator<&'a str> for ThinString {
+    fn from_iter<I: IntoIterator<Item = &'a str>>(iter: I) -> Self {
+        let mut thin_string = ThinString::new();
+        thin_string.extend(iter);
+        thin_string
+    }
+}
+
+macro_rules! impl_eq {
+    ($lhs:ty, $rhs: ty) => {
+        #[allow(unused_lifetimes)]
+        impl<'a, 'b> PartialEq<$rhs> for $lhs {
+            #[inline]
+            fn eq(&self, other: &$rhs) -> bool {
+                PartialEq::eq(&self[..], &other[..])
+            }
+        }
+
+        #[allow(unused_lifetimes)]
+        impl<'a, 'b> PartialEq<$lhs> for $rhs {
+            #[inline]
+            fn eq(&self, other: &$lhs) -> bool {
+                PartialEq::eq(&self[..], &other[..])
+            }
+        }
+    };
+}
+
+impl_eq!(ThinString, str);
+impl_eq!(ThinString, &'a str);
+impl_eq!(ThinString, String);
+impl_eq!(ThinString, Cow<'a, str>);
+
\ No newline at end of file diff --git a/static.files/COPYRIGHT-23e9bde6c69aea69.txt b/static.files/COPYRIGHT-23e9bde6c69aea69.txt new file mode 100644 index 000000000..1447df792 --- /dev/null +++ b/static.files/COPYRIGHT-23e9bde6c69aea69.txt @@ -0,0 +1,50 @@ +# REUSE-IgnoreStart + +These documentation pages include resources by third parties. This copyright +file applies only to those resources. The following third party resources are +included, and carry their own copyright notices and license terms: + +* Fira Sans (FiraSans-Regular.woff2, FiraSans-Medium.woff2): + + Copyright (c) 2014, Mozilla Foundation https://mozilla.org/ + with Reserved Font Name Fira Sans. + + Copyright (c) 2014, Telefonica S.A. + + Licensed under the SIL Open Font License, Version 1.1. + See FiraSans-LICENSE.txt. + +* rustdoc.css, main.js, and playpen.js: + + Copyright 2015 The Rust Developers. + Licensed under the Apache License, Version 2.0 (see LICENSE-APACHE.txt) or + the MIT license (LICENSE-MIT.txt) at your option. + +* normalize.css: + + Copyright (c) Nicolas Gallagher and Jonathan Neal. + Licensed under the MIT license (see LICENSE-MIT.txt). + +* Source Code Pro (SourceCodePro-Regular.ttf.woff2, + SourceCodePro-Semibold.ttf.woff2, SourceCodePro-It.ttf.woff2): + + Copyright 2010, 2012 Adobe Systems Incorporated (http://www.adobe.com/), + with Reserved Font Name 'Source'. All Rights Reserved. Source is a trademark + of Adobe Systems Incorporated in the United States and/or other countries. + + Licensed under the SIL Open Font License, Version 1.1. + See SourceCodePro-LICENSE.txt. + +* Source Serif 4 (SourceSerif4-Regular.ttf.woff2, SourceSerif4-Bold.ttf.woff2, + SourceSerif4-It.ttf.woff2): + + Copyright 2014-2021 Adobe (http://www.adobe.com/), with Reserved Font Name + 'Source'. All Rights Reserved. Source is a trademark of Adobe in the United + States and/or other countries. + + Licensed under the SIL Open Font License, Version 1.1. + See SourceSerif4-LICENSE.md. + +This copyright file is intended to be distributed with rustdoc output. + +# REUSE-IgnoreEnd diff --git a/static.files/FiraSans-LICENSE-db4b642586e02d97.txt b/static.files/FiraSans-LICENSE-db4b642586e02d97.txt new file mode 100644 index 000000000..d7e9c149b --- /dev/null +++ b/static.files/FiraSans-LICENSE-db4b642586e02d97.txt @@ -0,0 +1,98 @@ +// REUSE-IgnoreStart + +Digitized data copyright (c) 2012-2015, The Mozilla Foundation and Telefonica S.A. +with Reserved Font Name < Fira >, + +This Font Software is licensed under the SIL Open Font License, Version 1.1. +This license is copied below, and is also available with a FAQ at: +http://scripts.sil.org/OFL + + +----------------------------------------------------------- +SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007 +----------------------------------------------------------- + +PREAMBLE +The goals of the Open Font License (OFL) are to stimulate worldwide +development of collaborative font projects, to support the font creation +efforts of academic and linguistic communities, and to provide a free and +open framework in which fonts may be shared and improved in partnership +with others. + +The OFL allows the licensed fonts to be used, studied, modified and +redistributed freely as long as they are not sold by themselves. The +fonts, including any derivative works, can be bundled, embedded, +redistributed and/or sold with any software provided that any reserved +names are not used by derivative works. The fonts and derivatives, +however, cannot be released under any other type of license. The +requirement for fonts to remain under this license does not apply +to any document created using the fonts or their derivatives. + +DEFINITIONS +"Font Software" refers to the set of files released by the Copyright +Holder(s) under this license and clearly marked as such. This may +include source files, build scripts and documentation. + +"Reserved Font Name" refers to any names specified as such after the +copyright statement(s). + +"Original Version" refers to the collection of Font Software components as +distributed by the Copyright Holder(s). + +"Modified Version" refers to any derivative made by adding to, deleting, +or substituting -- in part or in whole -- any of the components of the +Original Version, by changing formats or by porting the Font Software to a +new environment. + +"Author" refers to any designer, engineer, programmer, technical +writer or other person who contributed to the Font Software. + +PERMISSION & CONDITIONS +Permission is hereby granted, free of charge, to any person obtaining +a copy of the Font Software, to use, study, copy, merge, embed, modify, +redistribute, and sell modified and unmodified copies of the Font +Software, subject to the following conditions: + +1) Neither the Font Software nor any of its individual components, +in Original or Modified Versions, may be sold by itself. + +2) Original or Modified Versions of the Font Software may be bundled, +redistributed and/or sold with any software, provided that each copy +contains the above copyright notice and this license. These can be +included either as stand-alone text files, human-readable headers or +in the appropriate machine-readable metadata fields within text or +binary files as long as those fields can be easily viewed by the user. + +3) No Modified Version of the Font Software may use the Reserved Font +Name(s) unless explicit written permission is granted by the corresponding +Copyright Holder. This restriction only applies to the primary font name as +presented to the users. + +4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font +Software shall not be used to promote, endorse or advertise any +Modified Version, except to acknowledge the contribution(s) of the +Copyright Holder(s) and the Author(s) or with their explicit written +permission. + +5) The Font Software, modified or unmodified, in part or in whole, +must be distributed entirely under this license, and must not be +distributed under any other license. The requirement for fonts to +remain under this license does not apply to any document created +using the Font Software. + +TERMINATION +This license becomes null and void if any of the above conditions are +not met. + +DISCLAIMER +THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT +OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE +COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL +DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM +OTHER DEALINGS IN THE FONT SOFTWARE. + +// REUSE-IgnoreEnd diff --git a/static.files/FiraSans-Medium-8f9a781e4970d388.woff2 b/static.files/FiraSans-Medium-8f9a781e4970d388.woff2 new file mode 100644 index 000000000..7a1e5fc54 Binary files /dev/null and b/static.files/FiraSans-Medium-8f9a781e4970d388.woff2 differ diff --git a/static.files/FiraSans-Regular-018c141bf0843ffd.woff2 b/static.files/FiraSans-Regular-018c141bf0843ffd.woff2 new file mode 100644 index 000000000..e766e06cc Binary files /dev/null and b/static.files/FiraSans-Regular-018c141bf0843ffd.woff2 differ diff --git a/static.files/LICENSE-APACHE-b91fa81cba47b86a.txt b/static.files/LICENSE-APACHE-b91fa81cba47b86a.txt new file mode 100644 index 000000000..16fe87b06 --- /dev/null +++ b/static.files/LICENSE-APACHE-b91fa81cba47b86a.txt @@ -0,0 +1,201 @@ + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + +TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + +1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + +2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + +3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + +4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + +5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + +6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + +7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + +8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + +9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + +END OF TERMS AND CONDITIONS + +APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + +Copyright [yyyy] [name of copyright owner] + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. diff --git a/static.files/LICENSE-MIT-65090b722b3f6c56.txt b/static.files/LICENSE-MIT-65090b722b3f6c56.txt new file mode 100644 index 000000000..31aa79387 --- /dev/null +++ b/static.files/LICENSE-MIT-65090b722b3f6c56.txt @@ -0,0 +1,23 @@ +Permission is hereby granted, free of charge, to any +person obtaining a copy of this software and associated +documentation files (the "Software"), to deal in the +Software without restriction, including without +limitation the rights to use, copy, modify, merge, +publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software +is furnished to do so, subject to the following +conditions: + +The above copyright notice and this permission notice +shall be included in all copies or substantial portions +of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF +ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A +PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT +SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR +IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +DEALINGS IN THE SOFTWARE. diff --git a/static.files/NanumBarunGothic-0f09457c7a19b7c6.ttf.woff2 b/static.files/NanumBarunGothic-0f09457c7a19b7c6.ttf.woff2 new file mode 100644 index 000000000..1866ad4bc Binary files /dev/null and b/static.files/NanumBarunGothic-0f09457c7a19b7c6.ttf.woff2 differ diff --git a/static.files/NanumBarunGothic-LICENSE-18c5adf4b52b4041.txt b/static.files/NanumBarunGothic-LICENSE-18c5adf4b52b4041.txt new file mode 100644 index 000000000..4b3edc29e --- /dev/null +++ b/static.files/NanumBarunGothic-LICENSE-18c5adf4b52b4041.txt @@ -0,0 +1,103 @@ +// REUSE-IgnoreStart + +Copyright (c) 2010, NAVER Corporation (https://www.navercorp.com/), + +with Reserved Font Name Nanum, Naver Nanum, NanumGothic, Naver NanumGothic, +NanumMyeongjo, Naver NanumMyeongjo, NanumBrush, Naver NanumBrush, NanumPen, +Naver NanumPen, Naver NanumGothicEco, NanumGothicEco, Naver NanumMyeongjoEco, +NanumMyeongjoEco, Naver NanumGothicLight, NanumGothicLight, NanumBarunGothic, +Naver NanumBarunGothic, NanumSquareRound, NanumBarunPen, MaruBuri + +This Font Software is licensed under the SIL Open Font License, Version 1.1. +This license is copied below, and is also available with a FAQ at: +http://scripts.sil.org/OFL + + +----------------------------------------------------------- +SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007 +----------------------------------------------------------- + +PREAMBLE +The goals of the Open Font License (OFL) are to stimulate worldwide +development of collaborative font projects, to support the font creation +efforts of academic and linguistic communities, and to provide a free and +open framework in which fonts may be shared and improved in partnership +with others. + +The OFL allows the licensed fonts to be used, studied, modified and +redistributed freely as long as they are not sold by themselves. The +fonts, including any derivative works, can be bundled, embedded, +redistributed and/or sold with any software provided that any reserved +names are not used by derivative works. The fonts and derivatives, +however, cannot be released under any other type of license. The +requirement for fonts to remain under this license does not apply +to any document created using the fonts or their derivatives. + +DEFINITIONS +"Font Software" refers to the set of files released by the Copyright +Holder(s) under this license and clearly marked as such. This may +include source files, build scripts and documentation. + +"Reserved Font Name" refers to any names specified as such after the +copyright statement(s). + +"Original Version" refers to the collection of Font Software components as +distributed by the Copyright Holder(s). + +"Modified Version" refers to any derivative made by adding to, deleting, +or substituting -- in part or in whole -- any of the components of the +Original Version, by changing formats or by porting the Font Software to a +new environment. + +"Author" refers to any designer, engineer, programmer, technical +writer or other person who contributed to the Font Software. + +PERMISSION & CONDITIONS +Permission is hereby granted, free of charge, to any person obtaining +a copy of the Font Software, to use, study, copy, merge, embed, modify, +redistribute, and sell modified and unmodified copies of the Font +Software, subject to the following conditions: + +1) Neither the Font Software nor any of its individual components, +in Original or Modified Versions, may be sold by itself. + +2) Original or Modified Versions of the Font Software may be bundled, +redistributed and/or sold with any software, provided that each copy +contains the above copyright notice and this license. These can be +included either as stand-alone text files, human-readable headers or +in the appropriate machine-readable metadata fields within text or +binary files as long as those fields can be easily viewed by the user. + +3) No Modified Version of the Font Software may use the Reserved Font +Name(s) unless explicit written permission is granted by the corresponding +Copyright Holder. This restriction only applies to the primary font name as +presented to the users. + +4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font +Software shall not be used to promote, endorse or advertise any +Modified Version, except to acknowledge the contribution(s) of the +Copyright Holder(s) and the Author(s) or with their explicit written +permission. + +5) The Font Software, modified or unmodified, in part or in whole, +must be distributed entirely under this license, and must not be +distributed under any other license. The requirement for fonts to +remain under this license does not apply to any document created +using the Font Software. + +TERMINATION +This license becomes null and void if any of the above conditions are +not met. + +DISCLAIMER +THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT +OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE +COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL +DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM +OTHER DEALINGS IN THE FONT SOFTWARE. + +// REUSE-IgnoreEnd diff --git a/static.files/SourceCodePro-It-1cc31594bf4f1f79.ttf.woff2 b/static.files/SourceCodePro-It-1cc31594bf4f1f79.ttf.woff2 new file mode 100644 index 000000000..462c34efc Binary files /dev/null and b/static.files/SourceCodePro-It-1cc31594bf4f1f79.ttf.woff2 differ diff --git a/static.files/SourceCodePro-LICENSE-d180d465a756484a.txt b/static.files/SourceCodePro-LICENSE-d180d465a756484a.txt new file mode 100644 index 000000000..0d2941e14 --- /dev/null +++ b/static.files/SourceCodePro-LICENSE-d180d465a756484a.txt @@ -0,0 +1,97 @@ +// REUSE-IgnoreStart + +Copyright 2010, 2012 Adobe Systems Incorporated (http://www.adobe.com/), with Reserved Font Name 'Source'. All Rights Reserved. Source is a trademark of Adobe Systems Incorporated in the United States and/or other countries. + +This Font Software is licensed under the SIL Open Font License, Version 1.1. + +This license is copied below, and is also available with a FAQ at: http://scripts.sil.org/OFL + + +----------------------------------------------------------- +SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007 +----------------------------------------------------------- + +PREAMBLE +The goals of the Open Font License (OFL) are to stimulate worldwide +development of collaborative font projects, to support the font creation +efforts of academic and linguistic communities, and to provide a free and +open framework in which fonts may be shared and improved in partnership +with others. + +The OFL allows the licensed fonts to be used, studied, modified and +redistributed freely as long as they are not sold by themselves. The +fonts, including any derivative works, can be bundled, embedded, +redistributed and/or sold with any software provided that any reserved +names are not used by derivative works. The fonts and derivatives, +however, cannot be released under any other type of license. The +requirement for fonts to remain under this license does not apply +to any document created using the fonts or their derivatives. + +DEFINITIONS +"Font Software" refers to the set of files released by the Copyright +Holder(s) under this license and clearly marked as such. This may +include source files, build scripts and documentation. + +"Reserved Font Name" refers to any names specified as such after the +copyright statement(s). + +"Original Version" refers to the collection of Font Software components as +distributed by the Copyright Holder(s). + +"Modified Version" refers to any derivative made by adding to, deleting, +or substituting -- in part or in whole -- any of the components of the +Original Version, by changing formats or by porting the Font Software to a +new environment. + +"Author" refers to any designer, engineer, programmer, technical +writer or other person who contributed to the Font Software. + +PERMISSION & CONDITIONS +Permission is hereby granted, free of charge, to any person obtaining +a copy of the Font Software, to use, study, copy, merge, embed, modify, +redistribute, and sell modified and unmodified copies of the Font +Software, subject to the following conditions: + +1) Neither the Font Software nor any of its individual components, +in Original or Modified Versions, may be sold by itself. + +2) Original or Modified Versions of the Font Software may be bundled, +redistributed and/or sold with any software, provided that each copy +contains the above copyright notice and this license. These can be +included either as stand-alone text files, human-readable headers or +in the appropriate machine-readable metadata fields within text or +binary files as long as those fields can be easily viewed by the user. + +3) No Modified Version of the Font Software may use the Reserved Font +Name(s) unless explicit written permission is granted by the corresponding +Copyright Holder. This restriction only applies to the primary font name as +presented to the users. + +4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font +Software shall not be used to promote, endorse or advertise any +Modified Version, except to acknowledge the contribution(s) of the +Copyright Holder(s) and the Author(s) or with their explicit written +permission. + +5) The Font Software, modified or unmodified, in part or in whole, +must be distributed entirely under this license, and must not be +distributed under any other license. The requirement for fonts to +remain under this license does not apply to any document created +using the Font Software. + +TERMINATION +This license becomes null and void if any of the above conditions are +not met. + +DISCLAIMER +THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT +OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE +COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL +DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM +OTHER DEALINGS IN THE FONT SOFTWARE. + +// REUSE-IgnoreEnd diff --git a/static.files/SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2 b/static.files/SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2 new file mode 100644 index 000000000..10b558e0b Binary files /dev/null and b/static.files/SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2 differ diff --git a/static.files/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2 b/static.files/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2 new file mode 100644 index 000000000..5ec64eef0 Binary files /dev/null and b/static.files/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2 differ diff --git a/static.files/SourceSerif4-Bold-a2c9cd1067f8b328.ttf.woff2 b/static.files/SourceSerif4-Bold-a2c9cd1067f8b328.ttf.woff2 new file mode 100644 index 000000000..181a07f63 Binary files /dev/null and b/static.files/SourceSerif4-Bold-a2c9cd1067f8b328.ttf.woff2 differ diff --git a/static.files/SourceSerif4-It-acdfaf1a8af734b1.ttf.woff2 b/static.files/SourceSerif4-It-acdfaf1a8af734b1.ttf.woff2 new file mode 100644 index 000000000..2ae08a7be Binary files /dev/null and b/static.files/SourceSerif4-It-acdfaf1a8af734b1.ttf.woff2 differ diff --git a/static.files/SourceSerif4-LICENSE-3bb119e13b1258b7.md b/static.files/SourceSerif4-LICENSE-3bb119e13b1258b7.md new file mode 100644 index 000000000..175fa4f47 --- /dev/null +++ b/static.files/SourceSerif4-LICENSE-3bb119e13b1258b7.md @@ -0,0 +1,98 @@ + + +Copyright 2014-2021 Adobe (http://www.adobe.com/), with Reserved Font Name 'Source'. All Rights Reserved. Source is a trademark of Adobe in the United States and/or other countries. +Copyright 2014 - 2023 Adobe (http://www.adobe.com/), with Reserved Font Name ‘Source’. All Rights Reserved. Source is a trademark of Adobe in the United States and/or other countries. + +This Font Software is licensed under the SIL Open Font License, Version 1.1. + +This license is copied below, and is also available with a FAQ at: http://scripts.sil.org/OFL + + +----------------------------------------------------------- +SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007 +----------------------------------------------------------- + +PREAMBLE +The goals of the Open Font License (OFL) are to stimulate worldwide +development of collaborative font projects, to support the font creation +efforts of academic and linguistic communities, and to provide a free and +open framework in which fonts may be shared and improved in partnership +with others. + +The OFL allows the licensed fonts to be used, studied, modified and +redistributed freely as long as they are not sold by themselves. The +fonts, including any derivative works, can be bundled, embedded, +redistributed and/or sold with any software provided that any reserved +names are not used by derivative works. The fonts and derivatives, +however, cannot be released under any other type of license. The +requirement for fonts to remain under this license does not apply +to any document created using the fonts or their derivatives. + +DEFINITIONS +"Font Software" refers to the set of files released by the Copyright +Holder(s) under this license and clearly marked as such. This may +include source files, build scripts and documentation. + +"Reserved Font Name" refers to any names specified as such after the +copyright statement(s). + +"Original Version" refers to the collection of Font Software components as +distributed by the Copyright Holder(s). + +"Modified Version" refers to any derivative made by adding to, deleting, +or substituting -- in part or in whole -- any of the components of the +Original Version, by changing formats or by porting the Font Software to a +new environment. + +"Author" refers to any designer, engineer, programmer, technical +writer or other person who contributed to the Font Software. + +PERMISSION & CONDITIONS +Permission is hereby granted, free of charge, to any person obtaining +a copy of the Font Software, to use, study, copy, merge, embed, modify, +redistribute, and sell modified and unmodified copies of the Font +Software, subject to the following conditions: + +1) Neither the Font Software nor any of its individual components, +in Original or Modified Versions, may be sold by itself. + +2) Original or Modified Versions of the Font Software may be bundled, +redistributed and/or sold with any software, provided that each copy +contains the above copyright notice and this license. These can be +included either as stand-alone text files, human-readable headers or +in the appropriate machine-readable metadata fields within text or +binary files as long as those fields can be easily viewed by the user. + +3) No Modified Version of the Font Software may use the Reserved Font +Name(s) unless explicit written permission is granted by the corresponding +Copyright Holder. This restriction only applies to the primary font name as +presented to the users. + +4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font +Software shall not be used to promote, endorse or advertise any +Modified Version, except to acknowledge the contribution(s) of the +Copyright Holder(s) and the Author(s) or with their explicit written +permission. + +5) The Font Software, modified or unmodified, in part or in whole, +must be distributed entirely under this license, and must not be +distributed under any other license. The requirement for fonts to +remain under this license does not apply to any document created +using the Font Software. + +TERMINATION +This license becomes null and void if any of the above conditions are +not met. + +DISCLAIMER +THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT +OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE +COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL +DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM +OTHER DEALINGS IN THE FONT SOFTWARE. + + diff --git a/static.files/SourceSerif4-Regular-46f98efaafac5295.ttf.woff2 b/static.files/SourceSerif4-Regular-46f98efaafac5295.ttf.woff2 new file mode 100644 index 000000000..0263fc304 Binary files /dev/null and b/static.files/SourceSerif4-Regular-46f98efaafac5295.ttf.woff2 differ diff --git a/static.files/favicon-2c020d218678b618.svg b/static.files/favicon-2c020d218678b618.svg new file mode 100644 index 000000000..8b34b5119 --- /dev/null +++ b/static.files/favicon-2c020d218678b618.svg @@ -0,0 +1,24 @@ + + + + + diff --git a/static.files/favicon-32x32-422f7d1d52889060.png b/static.files/favicon-32x32-422f7d1d52889060.png new file mode 100644 index 000000000..69b8613ce Binary files /dev/null and b/static.files/favicon-32x32-422f7d1d52889060.png differ diff --git a/static.files/main-921df33f47b8780c.js b/static.files/main-921df33f47b8780c.js new file mode 100644 index 000000000..c31555488 --- /dev/null +++ b/static.files/main-921df33f47b8780c.js @@ -0,0 +1,11 @@ +"use strict";window.RUSTDOC_TOOLTIP_HOVER_MS=300;window.RUSTDOC_TOOLTIP_HOVER_EXIT_MS=450;function resourcePath(basename,extension){return getVar("root-path")+basename+getVar("resource-suffix")+extension}function hideMain(){addClass(document.getElementById(MAIN_ID),"hidden")}function showMain(){removeClass(document.getElementById(MAIN_ID),"hidden")}function blurHandler(event,parentElem,hideCallback){if(!parentElem.contains(document.activeElement)&&!parentElem.contains(event.relatedTarget)){hideCallback()}}window.rootPath=getVar("root-path");window.currentCrate=getVar("current-crate");function setMobileTopbar(){const mobileTopbar=document.querySelector(".mobile-topbar");const locationTitle=document.querySelector(".sidebar h2.location");if(mobileTopbar){const mobileTitle=document.createElement("h2");mobileTitle.className="location";if(hasClass(document.querySelector(".rustdoc"),"crate")){mobileTitle.innerHTML=`Crate ${window.currentCrate}`}else if(locationTitle){mobileTitle.innerHTML=locationTitle.innerHTML}mobileTopbar.appendChild(mobileTitle)}}function getVirtualKey(ev){if("key"in ev&&typeof ev.key!=="undefined"){return ev.key}const c=ev.charCode||ev.keyCode;if(c===27){return"Escape"}return String.fromCharCode(c)}const MAIN_ID="main-content";const SETTINGS_BUTTON_ID="settings-menu";const ALTERNATIVE_DISPLAY_ID="alternative-display";const NOT_DISPLAYED_ID="not-displayed";const HELP_BUTTON_ID="help-button";function getSettingsButton(){return document.getElementById(SETTINGS_BUTTON_ID)}function getHelpButton(){return document.getElementById(HELP_BUTTON_ID)}function getNakedUrl(){return window.location.href.split("?")[0].split("#")[0]}function insertAfter(newNode,referenceNode){referenceNode.parentNode.insertBefore(newNode,referenceNode.nextSibling)}function getOrCreateSection(id,classes){let el=document.getElementById(id);if(!el){el=document.createElement("section");el.id=id;el.className=classes;insertAfter(el,document.getElementById(MAIN_ID))}return el}function getAlternativeDisplayElem(){return getOrCreateSection(ALTERNATIVE_DISPLAY_ID,"content hidden")}function getNotDisplayedElem(){return getOrCreateSection(NOT_DISPLAYED_ID,"hidden")}function switchDisplayedElement(elemToDisplay){const el=getAlternativeDisplayElem();if(el.children.length>0){getNotDisplayedElem().appendChild(el.firstElementChild)}if(elemToDisplay===null){addClass(el,"hidden");showMain();return}el.appendChild(elemToDisplay);hideMain();removeClass(el,"hidden")}function browserSupportsHistoryApi(){return window.history&&typeof window.history.pushState==="function"}function preLoadCss(cssUrl){const link=document.createElement("link");link.href=cssUrl;link.rel="preload";link.as="style";document.getElementsByTagName("head")[0].appendChild(link)}(function(){const isHelpPage=window.location.pathname.endsWith("/help.html");function loadScript(url,errorCallback){const script=document.createElement("script");script.src=url;if(errorCallback!==undefined){script.onerror=errorCallback}document.head.append(script)}getSettingsButton().onclick=event=>{if(event.ctrlKey||event.altKey||event.metaKey){return}window.hideAllModals(false);addClass(getSettingsButton(),"rotate");event.preventDefault();loadScript(getVar("static-root-path")+getVar("settings-js"));setTimeout(()=>{const themes=getVar("themes").split(",");for(const theme of themes){if(theme!==""){preLoadCss(getVar("root-path")+theme+".css")}}},0)};window.searchState={loadingText:"Loading search results...",input:document.getElementsByClassName("search-input")[0],outputElement:()=>{let el=document.getElementById("search");if(!el){el=document.createElement("section");el.id="search";getNotDisplayedElem().appendChild(el)}return el},title:document.title,titleBeforeSearch:document.title,timeout:null,currentTab:0,focusedByTab:[null,null,null],clearInputTimeout:()=>{if(searchState.timeout!==null){clearTimeout(searchState.timeout);searchState.timeout=null}},isDisplayed:()=>searchState.outputElement().parentElement.id===ALTERNATIVE_DISPLAY_ID,focus:()=>{searchState.input.focus()},defocus:()=>{searchState.input.blur()},showResults:search=>{if(search===null||typeof search==="undefined"){search=searchState.outputElement()}switchDisplayedElement(search);searchState.mouseMovedAfterSearch=false;document.title=searchState.title},removeQueryParameters:()=>{document.title=searchState.titleBeforeSearch;if(browserSupportsHistoryApi()){history.replaceState(null,"",getNakedUrl()+window.location.hash)}},hideResults:()=>{switchDisplayedElement(null);searchState.removeQueryParameters()},getQueryStringParams:()=>{const params={};window.location.search.substring(1).split("&").map(s=>{const pair=s.split("=").map(x=>x.replace(/\+/g," "));params[decodeURIComponent(pair[0])]=typeof pair[1]==="undefined"?null:decodeURIComponent(pair[1])});return params},setup:()=>{const search_input=searchState.input;if(!searchState.input){return}let searchLoaded=false;function sendSearchForm(){document.getElementsByClassName("search-form")[0].submit()}function loadSearch(){if(!searchLoaded){searchLoaded=true;loadScript(getVar("static-root-path")+getVar("search-js"),sendSearchForm);loadScript(resourcePath("search-index",".js"),sendSearchForm)}}search_input.addEventListener("focus",()=>{search_input.origPlaceholder=search_input.placeholder;search_input.placeholder="Type your search here.";loadSearch()});if(search_input.value!==""){loadSearch()}const params=searchState.getQueryStringParams();if(params.search!==undefined){searchState.setLoadingSearch();loadSearch()}},setLoadingSearch:()=>{const search=searchState.outputElement();search.innerHTML="

"+searchState.loadingText+"

";searchState.showResults(search)},descShards:new Map(),loadDesc:async function({descShard,descIndex}){if(descShard.promise===null){descShard.promise=new Promise((resolve,reject)=>{descShard.resolve=resolve;const ds=descShard;const fname=`${ds.crate}-desc-${ds.shard}-`;const url=resourcePath(`search.desc/${descShard.crate}/${fname}`,".js",);loadScript(url,reject)})}const list=await descShard.promise;return list[descIndex]},loadedDescShard:function(crate,shard,data){this.descShards.get(crate)[shard].resolve(data.split("\n"))},};const toggleAllDocsId="toggle-all-docs";let savedHash="";function handleHashes(ev){if(ev!==null&&searchState.isDisplayed()&&ev.newURL){switchDisplayedElement(null);const hash=ev.newURL.slice(ev.newURL.indexOf("#")+1);if(browserSupportsHistoryApi()){history.replaceState(null,"",getNakedUrl()+window.location.search+"#"+hash)}const elem=document.getElementById(hash);if(elem){elem.scrollIntoView()}}const pageId=window.location.hash.replace(/^#/,"");if(savedHash!==pageId){savedHash=pageId;if(pageId!==""){expandSection(pageId)}}if(savedHash.startsWith("impl-")){const splitAt=savedHash.indexOf("/");if(splitAt!==-1){const implId=savedHash.slice(0,splitAt);const assocId=savedHash.slice(splitAt+1);const implElems=document.querySelectorAll(`details > summary > section[id^="${implId}"]`,);onEachLazy(implElems,implElem=>{const numbered=/^(.+?)-([0-9]+)$/.exec(implElem.id);if(implElem.id!==implId&&(!numbered||numbered[1]!==implId)){return false}return onEachLazy(implElem.parentElement.parentElement.querySelectorAll(`[id^="${assocId}"]`),item=>{const numbered=/^(.+?)-([0-9]+)$/.exec(item.id);if(item.id===assocId||(numbered&&numbered[1]===assocId)){openParentDetails(item);item.scrollIntoView();setTimeout(()=>{window.location.replace("#"+item.id)},0);return true}},)})}}}function onHashChange(ev){hideSidebar();handleHashes(ev)}function openParentDetails(elem){while(elem){if(elem.tagName==="DETAILS"){elem.open=true}elem=elem.parentNode}}function expandSection(id){openParentDetails(document.getElementById(id))}function handleEscape(ev){searchState.clearInputTimeout();searchState.hideResults();ev.preventDefault();searchState.defocus();window.hideAllModals(true)}function handleShortcut(ev){const disableShortcuts=getSettingValue("disable-shortcuts")==="true";if(ev.ctrlKey||ev.altKey||ev.metaKey||disableShortcuts){return}if(document.activeElement.tagName==="INPUT"&&document.activeElement.type!=="checkbox"&&document.activeElement.type!=="radio"){switch(getVirtualKey(ev)){case"Escape":handleEscape(ev);break}}else{switch(getVirtualKey(ev)){case"Escape":handleEscape(ev);break;case"s":case"S":case"/":ev.preventDefault();searchState.focus();break;case"+":ev.preventDefault();expandAllDocs();break;case"-":ev.preventDefault();collapseAllDocs();break;case"?":showHelp();break;default:break}}}document.addEventListener("keypress",handleShortcut);document.addEventListener("keydown",handleShortcut);function addSidebarItems(){if(!window.SIDEBAR_ITEMS){return}const sidebar=document.getElementsByClassName("sidebar-elems")[0];function block(shortty,id,longty){const filtered=window.SIDEBAR_ITEMS[shortty];if(!filtered){return}const modpath=hasClass(document.querySelector(".rustdoc"),"mod")?"../":"";const h3=document.createElement("h3");h3.innerHTML=`${longty}`;const ul=document.createElement("ul");ul.className="block "+shortty;for(const name of filtered){let path;if(shortty==="mod"){path=`${modpath}${name}/index.html`}else{path=`${modpath}${shortty}.${name}.html`}let current_page=document.location.href.toString();if(current_page.endsWith("/")){current_page+="index.html"}const link=document.createElement("a");link.href=path;link.textContent=name;const li=document.createElement("li");if(link.href===current_page){li.classList.add("current")}li.appendChild(link);ul.appendChild(li)}sidebar.appendChild(h3);sidebar.appendChild(ul)}if(sidebar){block("primitive","primitives","Primitive Types");block("mod","modules","Modules");block("macro","macros","Macros");block("struct","structs","Structs");block("enum","enums","Enums");block("constant","constants","Constants");block("static","static","Statics");block("trait","traits","Traits");block("fn","functions","Functions");block("type","types","Type Aliases");block("union","unions","Unions");block("foreigntype","foreign-types","Foreign Types");block("keyword","keywords","Keywords");block("attr","attributes","Attribute Macros");block("derive","derives","Derive Macros");block("traitalias","trait-aliases","Trait Aliases")}}window.register_implementors=imp=>{const implementors=document.getElementById("implementors-list");const synthetic_implementors=document.getElementById("synthetic-implementors-list");const inlined_types=new Set();const TEXT_IDX=0;const SYNTHETIC_IDX=1;const TYPES_IDX=2;if(synthetic_implementors){onEachLazy(synthetic_implementors.getElementsByClassName("impl"),el=>{const aliases=el.getAttribute("data-aliases");if(!aliases){return}aliases.split(",").forEach(alias=>{inlined_types.add(alias)})})}let currentNbImpls=implementors.getElementsByClassName("impl").length;const traitName=document.querySelector(".main-heading h1 > .trait").textContent;const baseIdName="impl-"+traitName+"-";const libs=Object.getOwnPropertyNames(imp);const script=document.querySelector("script[data-ignore-extern-crates]");const ignoreExternCrates=new Set((script?script.getAttribute("data-ignore-extern-crates"):"").split(","),);for(const lib of libs){if(lib===window.currentCrate||ignoreExternCrates.has(lib)){continue}const structs=imp[lib];struct_loop:for(const struct of structs){const list=struct[SYNTHETIC_IDX]?synthetic_implementors:implementors;if(struct[SYNTHETIC_IDX]){for(const struct_type of struct[TYPES_IDX]){if(inlined_types.has(struct_type)){continue struct_loop}inlined_types.add(struct_type)}}const code=document.createElement("h3");code.innerHTML=struct[TEXT_IDX];addClass(code,"code-header");onEachLazy(code.getElementsByTagName("a"),elem=>{const href=elem.getAttribute("href");if(href&&!href.startsWith("#")&&!/^(?:[a-z+]+:)?\/\//.test(href)){elem.setAttribute("href",window.rootPath+href)}});const currentId=baseIdName+currentNbImpls;const anchor=document.createElement("a");anchor.href="#"+currentId;addClass(anchor,"anchor");const display=document.createElement("div");display.id=currentId;addClass(display,"impl");display.appendChild(anchor);display.appendChild(code);list.appendChild(display);currentNbImpls+=1}}};if(window.pending_implementors){window.register_implementors(window.pending_implementors)}window.register_type_impls=imp=>{if(!imp||!imp[window.currentCrate]){return}window.pending_type_impls=null;const idMap=new Map();let implementations=document.getElementById("implementations-list");let trait_implementations=document.getElementById("trait-implementations-list");let trait_implementations_header=document.getElementById("trait-implementations");const script=document.querySelector("script[data-self-path]");const selfPath=script?script.getAttribute("data-self-path"):null;const mainContent=document.querySelector("#main-content");const sidebarSection=document.querySelector(".sidebar section");let methods=document.querySelector(".sidebar .block.method");let associatedTypes=document.querySelector(".sidebar .block.associatedtype");let associatedConstants=document.querySelector(".sidebar .block.associatedconstant");let sidebarTraitList=document.querySelector(".sidebar .block.trait-implementation");for(const impList of imp[window.currentCrate]){const types=impList.slice(2);const text=impList[0];const isTrait=impList[1]!==0;const traitName=impList[1];if(types.indexOf(selfPath)===-1){continue}let outputList=isTrait?trait_implementations:implementations;if(outputList===null){const outputListName=isTrait?"Trait Implementations":"Implementations";const outputListId=isTrait?"trait-implementations-list":"implementations-list";const outputListHeaderId=isTrait?"trait-implementations":"implementations";const outputListHeader=document.createElement("h2");outputListHeader.id=outputListHeaderId;outputListHeader.innerText=outputListName;outputList=document.createElement("div");outputList.id=outputListId;if(isTrait){const link=document.createElement("a");link.href=`#${outputListHeaderId}`;link.innerText="Trait Implementations";const h=document.createElement("h3");h.appendChild(link);trait_implementations=outputList;trait_implementations_header=outputListHeader;sidebarSection.appendChild(h);sidebarTraitList=document.createElement("ul");sidebarTraitList.className="block trait-implementation";sidebarSection.appendChild(sidebarTraitList);mainContent.appendChild(outputListHeader);mainContent.appendChild(outputList)}else{implementations=outputList;if(trait_implementations){mainContent.insertBefore(outputListHeader,trait_implementations_header);mainContent.insertBefore(outputList,trait_implementations_header)}else{const mainContent=document.querySelector("#main-content");mainContent.appendChild(outputListHeader);mainContent.appendChild(outputList)}}}const template=document.createElement("template");template.innerHTML=text;onEachLazy(template.content.querySelectorAll("a"),elem=>{const href=elem.getAttribute("href");if(href&&!href.startsWith("#")&&!/^(?:[a-z+]+:)?\/\//.test(href)){elem.setAttribute("href",window.rootPath+href)}});onEachLazy(template.content.querySelectorAll("[id]"),el=>{let i=0;if(idMap.has(el.id)){i=idMap.get(el.id)}else if(document.getElementById(el.id)){i=1;while(document.getElementById(`${el.id}-${2 * i}`)){i=2*i}while(document.getElementById(`${el.id}-${i}`)){i+=1}}if(i!==0){const oldHref=`#${el.id}`;const newHref=`#${el.id}-${i}`;el.id=`${el.id}-${i}`;onEachLazy(template.content.querySelectorAll("a[href]"),link=>{if(link.getAttribute("href")===oldHref){link.href=newHref}})}idMap.set(el.id,i+1)});const templateAssocItems=template.content.querySelectorAll("section.tymethod, "+"section.method, section.associatedtype, section.associatedconstant");if(isTrait){const li=document.createElement("li");const a=document.createElement("a");a.href=`#${template.content.querySelector(".impl").id}`;a.textContent=traitName;li.appendChild(a);sidebarTraitList.append(li)}else{onEachLazy(templateAssocItems,item=>{let block=hasClass(item,"associatedtype")?associatedTypes:(hasClass(item,"associatedconstant")?associatedConstants:(methods));if(!block){const blockTitle=hasClass(item,"associatedtype")?"Associated Types":(hasClass(item,"associatedconstant")?"Associated Constants":("Methods"));const blockClass=hasClass(item,"associatedtype")?"associatedtype":(hasClass(item,"associatedconstant")?"associatedconstant":("method"));const blockHeader=document.createElement("h3");const blockLink=document.createElement("a");blockLink.href="#implementations";blockLink.innerText=blockTitle;blockHeader.appendChild(blockLink);block=document.createElement("ul");block.className=`block ${blockClass}`;const insertionReference=methods||sidebarTraitList;if(insertionReference){const insertionReferenceH=insertionReference.previousElementSibling;sidebarSection.insertBefore(blockHeader,insertionReferenceH);sidebarSection.insertBefore(block,insertionReferenceH)}else{sidebarSection.appendChild(blockHeader);sidebarSection.appendChild(block)}if(hasClass(item,"associatedtype")){associatedTypes=block}else if(hasClass(item,"associatedconstant")){associatedConstants=block}else{methods=block}}const li=document.createElement("li");const a=document.createElement("a");a.innerText=item.id.split("-")[0].split(".")[1];a.href=`#${item.id}`;li.appendChild(a);block.appendChild(li)})}outputList.appendChild(template.content)}for(const list of[methods,associatedTypes,associatedConstants,sidebarTraitList]){if(!list){continue}const newChildren=Array.prototype.slice.call(list.children);newChildren.sort((a,b)=>{const aI=a.innerText;const bI=b.innerText;return aIbI?1:0});list.replaceChildren(...newChildren)}};if(window.pending_type_impls){window.register_type_impls(window.pending_type_impls)}function addSidebarCrates(){if(!window.ALL_CRATES){return}const sidebarElems=document.getElementsByClassName("sidebar-elems")[0];if(!sidebarElems){return}const h3=document.createElement("h3");h3.innerHTML="Crates";const ul=document.createElement("ul");ul.className="block crate";for(const crate of window.ALL_CRATES){const link=document.createElement("a");link.href=window.rootPath+crate+"/index.html";link.textContent=crate;const li=document.createElement("li");if(window.rootPath!=="./"&&crate===window.currentCrate){li.className="current"}li.appendChild(link);ul.appendChild(li)}sidebarElems.appendChild(h3);sidebarElems.appendChild(ul)}function expandAllDocs(){const innerToggle=document.getElementById(toggleAllDocsId);removeClass(innerToggle,"will-expand");onEachLazy(document.getElementsByClassName("toggle"),e=>{if(!hasClass(e,"type-contents-toggle")&&!hasClass(e,"more-examples-toggle")){e.open=true}});innerToggle.title="collapse all docs";innerToggle.children[0].innerText="\u2212"}function collapseAllDocs(){const innerToggle=document.getElementById(toggleAllDocsId);addClass(innerToggle,"will-expand");onEachLazy(document.getElementsByClassName("toggle"),e=>{if(e.parentNode.id!=="implementations-list"||(!hasClass(e,"implementors-toggle")&&!hasClass(e,"type-contents-toggle"))){e.open=false}});innerToggle.title="expand all docs";innerToggle.children[0].innerText="+"}function toggleAllDocs(){const innerToggle=document.getElementById(toggleAllDocsId);if(!innerToggle){return}if(hasClass(innerToggle,"will-expand")){expandAllDocs()}else{collapseAllDocs()}}(function(){const toggles=document.getElementById(toggleAllDocsId);if(toggles){toggles.onclick=toggleAllDocs}const hideMethodDocs=getSettingValue("auto-hide-method-docs")==="true";const hideImplementations=getSettingValue("auto-hide-trait-implementations")==="true";const hideLargeItemContents=getSettingValue("auto-hide-large-items")!=="false";function setImplementorsTogglesOpen(id,open){const list=document.getElementById(id);if(list!==null){onEachLazy(list.getElementsByClassName("implementors-toggle"),e=>{e.open=open})}}if(hideImplementations){setImplementorsTogglesOpen("trait-implementations-list",false);setImplementorsTogglesOpen("blanket-implementations-list",false)}onEachLazy(document.getElementsByClassName("toggle"),e=>{if(!hideLargeItemContents&&hasClass(e,"type-contents-toggle")){e.open=true}if(hideMethodDocs&&hasClass(e,"method-toggle")){e.open=false}})}());window.rustdoc_add_line_numbers_to_examples=()=>{onEachLazy(document.getElementsByClassName("rust-example-rendered"),x=>{const parent=x.parentNode;const line_numbers=parent.querySelectorAll(".example-line-numbers");if(line_numbers.length>0){return}const count=x.textContent.split("\n").length;const elems=[];for(let i=0;i{onEachLazy(document.getElementsByClassName("rust-example-rendered"),x=>{const parent=x.parentNode;const line_numbers=parent.querySelectorAll(".example-line-numbers");for(const node of line_numbers){parent.removeChild(node)}})};if(getSettingValue("line-numbers")==="true"){window.rustdoc_add_line_numbers_to_examples()}function showSidebar(){window.hideAllModals(false);const sidebar=document.getElementsByClassName("sidebar")[0];addClass(sidebar,"shown")}function hideSidebar(){const sidebar=document.getElementsByClassName("sidebar")[0];removeClass(sidebar,"shown")}window.addEventListener("resize",()=>{if(window.CURRENT_TOOLTIP_ELEMENT){const base=window.CURRENT_TOOLTIP_ELEMENT.TOOLTIP_BASE;const force_visible=base.TOOLTIP_FORCE_VISIBLE;hideTooltip(false);if(force_visible){showTooltip(base);base.TOOLTIP_FORCE_VISIBLE=true}}});const mainElem=document.getElementById(MAIN_ID);if(mainElem){mainElem.addEventListener("click",hideSidebar)}onEachLazy(document.querySelectorAll("a[href^='#']"),el=>{el.addEventListener("click",()=>{expandSection(el.hash.slice(1));hideSidebar()})});onEachLazy(document.querySelectorAll(".toggle > summary:not(.hideme)"),el=>{el.addEventListener("click",e=>{if(e.target.tagName!=="SUMMARY"&&e.target.tagName!=="A"){e.preventDefault()}})});function showTooltip(e){const notable_ty=e.getAttribute("data-notable-ty");if(!window.NOTABLE_TRAITS&¬able_ty){const data=document.getElementById("notable-traits-data");if(data){window.NOTABLE_TRAITS=JSON.parse(data.innerText)}else{throw new Error("showTooltip() called with notable without any notable traits!")}}if(window.CURRENT_TOOLTIP_ELEMENT&&window.CURRENT_TOOLTIP_ELEMENT.TOOLTIP_BASE===e){clearTooltipHoverTimeout(window.CURRENT_TOOLTIP_ELEMENT);return}window.hideAllModals(false);const wrapper=document.createElement("div");if(notable_ty){wrapper.innerHTML="
"+window.NOTABLE_TRAITS[notable_ty]+"
"}else{if(e.getAttribute("title")!==null){e.setAttribute("data-title",e.getAttribute("title"));e.removeAttribute("title")}if(e.getAttribute("data-title")!==null){const titleContent=document.createElement("div");titleContent.className="content";titleContent.appendChild(document.createTextNode(e.getAttribute("data-title")));wrapper.appendChild(titleContent)}}wrapper.className="tooltip popover";const focusCatcher=document.createElement("div");focusCatcher.setAttribute("tabindex","0");focusCatcher.onfocus=hideTooltip;wrapper.appendChild(focusCatcher);const pos=e.getBoundingClientRect();wrapper.style.top=(pos.top+window.scrollY+pos.height)+"px";wrapper.style.left=0;wrapper.style.right="auto";wrapper.style.visibility="hidden";document.body.appendChild(wrapper);const wrapperPos=wrapper.getBoundingClientRect();const finalPos=pos.left+window.scrollX-wrapperPos.width+24;if(finalPos>0){wrapper.style.left=finalPos+"px"}else{wrapper.style.setProperty("--popover-arrow-offset",(wrapperPos.right-pos.right+4)+"px",)}wrapper.style.visibility="";window.CURRENT_TOOLTIP_ELEMENT=wrapper;window.CURRENT_TOOLTIP_ELEMENT.TOOLTIP_BASE=e;clearTooltipHoverTimeout(window.CURRENT_TOOLTIP_ELEMENT);wrapper.onpointerenter=ev=>{if(ev.pointerType!=="mouse"){return}clearTooltipHoverTimeout(e)};wrapper.onpointerleave=ev=>{if(ev.pointerType!=="mouse"){return}if(!e.TOOLTIP_FORCE_VISIBLE&&!e.contains(ev.relatedTarget)){setTooltipHoverTimeout(e,false);addClass(wrapper,"fade-out")}}}function setTooltipHoverTimeout(element,show){clearTooltipHoverTimeout(element);if(!show&&!window.CURRENT_TOOLTIP_ELEMENT){return}if(show&&window.CURRENT_TOOLTIP_ELEMENT){return}if(window.CURRENT_TOOLTIP_ELEMENT&&window.CURRENT_TOOLTIP_ELEMENT.TOOLTIP_BASE!==element){return}element.TOOLTIP_HOVER_TIMEOUT=setTimeout(()=>{if(show){showTooltip(element)}else if(!element.TOOLTIP_FORCE_VISIBLE){hideTooltip(false)}},show?window.RUSTDOC_TOOLTIP_HOVER_MS:window.RUSTDOC_TOOLTIP_HOVER_EXIT_MS)}function clearTooltipHoverTimeout(element){if(element.TOOLTIP_HOVER_TIMEOUT!==undefined){removeClass(window.CURRENT_TOOLTIP_ELEMENT,"fade-out");clearTimeout(element.TOOLTIP_HOVER_TIMEOUT);delete element.TOOLTIP_HOVER_TIMEOUT}}function tooltipBlurHandler(event){if(window.CURRENT_TOOLTIP_ELEMENT&&!window.CURRENT_TOOLTIP_ELEMENT.contains(document.activeElement)&&!window.CURRENT_TOOLTIP_ELEMENT.contains(event.relatedTarget)&&!window.CURRENT_TOOLTIP_ELEMENT.TOOLTIP_BASE.contains(document.activeElement)&&!window.CURRENT_TOOLTIP_ELEMENT.TOOLTIP_BASE.contains(event.relatedTarget)){setTimeout(()=>hideTooltip(false),0)}}function hideTooltip(focus){if(window.CURRENT_TOOLTIP_ELEMENT){if(window.CURRENT_TOOLTIP_ELEMENT.TOOLTIP_BASE.TOOLTIP_FORCE_VISIBLE){if(focus){window.CURRENT_TOOLTIP_ELEMENT.TOOLTIP_BASE.focus()}window.CURRENT_TOOLTIP_ELEMENT.TOOLTIP_BASE.TOOLTIP_FORCE_VISIBLE=false}document.body.removeChild(window.CURRENT_TOOLTIP_ELEMENT);clearTooltipHoverTimeout(window.CURRENT_TOOLTIP_ELEMENT);window.CURRENT_TOOLTIP_ELEMENT=null}}onEachLazy(document.getElementsByClassName("tooltip"),e=>{e.onclick=()=>{e.TOOLTIP_FORCE_VISIBLE=e.TOOLTIP_FORCE_VISIBLE?false:true;if(window.CURRENT_TOOLTIP_ELEMENT&&!e.TOOLTIP_FORCE_VISIBLE){hideTooltip(true)}else{showTooltip(e);window.CURRENT_TOOLTIP_ELEMENT.setAttribute("tabindex","0");window.CURRENT_TOOLTIP_ELEMENT.focus();window.CURRENT_TOOLTIP_ELEMENT.onblur=tooltipBlurHandler}return false};e.onpointerenter=ev=>{if(ev.pointerType!=="mouse"){return}setTooltipHoverTimeout(e,true)};e.onpointermove=ev=>{if(ev.pointerType!=="mouse"){return}setTooltipHoverTimeout(e,true)};e.onpointerleave=ev=>{if(ev.pointerType!=="mouse"){return}if(!e.TOOLTIP_FORCE_VISIBLE&&window.CURRENT_TOOLTIP_ELEMENT&&!window.CURRENT_TOOLTIP_ELEMENT.contains(ev.relatedTarget)){setTooltipHoverTimeout(e,false);addClass(window.CURRENT_TOOLTIP_ELEMENT,"fade-out")}}});const sidebar_menu_toggle=document.getElementsByClassName("sidebar-menu-toggle")[0];if(sidebar_menu_toggle){sidebar_menu_toggle.addEventListener("click",()=>{const sidebar=document.getElementsByClassName("sidebar")[0];if(!hasClass(sidebar,"shown")){showSidebar()}else{hideSidebar()}})}function helpBlurHandler(event){blurHandler(event,getHelpButton(),window.hidePopoverMenus)}function buildHelpMenu(){const book_info=document.createElement("span");const channel=getVar("channel");book_info.className="top";book_info.innerHTML=`You can find more information in \ +the rustdoc book.`;const shortcuts=[["?","Show this help dialog"],["S / /","Focus the search field"],["↑","Move up in search results"],["↓","Move down in search results"],["← / →","Switch result tab (when results focused)"],["⏎","Go to active search result"],["+","Expand all sections"],["-","Collapse all sections"],].map(x=>"
"+x[0].split(" ").map((y,index)=>((index&1)===0?""+y+"":" "+y+" ")).join("")+"
"+x[1]+"
").join("");const div_shortcuts=document.createElement("div");addClass(div_shortcuts,"shortcuts");div_shortcuts.innerHTML="

Keyboard Shortcuts

"+shortcuts+"
";const infos=[`For a full list of all search features, take a look here.`,"Prefix searches with a type followed by a colon (e.g., fn:) to \ + restrict the search to a given item kind.","Accepted kinds are: fn, mod, struct, \ + enum, trait, type, macro, \ + and const.","Search functions by type signature (e.g., vec -> usize or \ + -> vec or String, enum:Cow -> bool)","You can look for items with an exact name by putting double quotes around \ + your request: \"string\"","Look for functions that accept or return \ + slices and \ + arrays by writing \ + square brackets (e.g., -> [u8] or [] -> Option)","Look for items inside another one by searching for a path: vec::Vec",].map(x=>"

"+x+"

").join("");const div_infos=document.createElement("div");addClass(div_infos,"infos");div_infos.innerHTML="

Search Tricks

"+infos;const rustdoc_version=document.createElement("span");rustdoc_version.className="bottom";const rustdoc_version_code=document.createElement("code");rustdoc_version_code.innerText="rustdoc "+getVar("rustdoc-version");rustdoc_version.appendChild(rustdoc_version_code);const container=document.createElement("div");if(!isHelpPage){container.className="popover"}container.id="help";container.style.display="none";const side_by_side=document.createElement("div");side_by_side.className="side-by-side";side_by_side.appendChild(div_shortcuts);side_by_side.appendChild(div_infos);container.appendChild(book_info);container.appendChild(side_by_side);container.appendChild(rustdoc_version);if(isHelpPage){const help_section=document.createElement("section");help_section.appendChild(container);document.getElementById("main-content").appendChild(help_section);container.style.display="block"}else{const help_button=getHelpButton();help_button.appendChild(container);container.onblur=helpBlurHandler;help_button.onblur=helpBlurHandler;help_button.children[0].onblur=helpBlurHandler}return container}window.hideAllModals=switchFocus=>{hideSidebar();window.hidePopoverMenus();hideTooltip(switchFocus)};window.hidePopoverMenus=()=>{onEachLazy(document.querySelectorAll(".search-form .popover"),elem=>{elem.style.display="none"})};function getHelpMenu(buildNeeded){let menu=getHelpButton().querySelector(".popover");if(!menu&&buildNeeded){menu=buildHelpMenu()}return menu}function showHelp(){getHelpButton().querySelector("a").focus();const menu=getHelpMenu(true);if(menu.style.display==="none"){window.hideAllModals();menu.style.display=""}}if(isHelpPage){showHelp();document.querySelector(`#${HELP_BUTTON_ID} > a`).addEventListener("click",event=>{const target=event.target;if(target.tagName!=="A"||target.parentElement.id!==HELP_BUTTON_ID||event.ctrlKey||event.altKey||event.metaKey){return}event.preventDefault()})}else{document.querySelector(`#${HELP_BUTTON_ID} > a`).addEventListener("click",event=>{const target=event.target;if(target.tagName!=="A"||target.parentElement.id!==HELP_BUTTON_ID||event.ctrlKey||event.altKey||event.metaKey){return}event.preventDefault();const menu=getHelpMenu(true);const shouldShowHelp=menu.style.display==="none";if(shouldShowHelp){showHelp()}else{window.hidePopoverMenus()}})}setMobileTopbar();addSidebarItems();addSidebarCrates();onHashChange(null);window.addEventListener("hashchange",onHashChange);searchState.setup()}());(function(){const SIDEBAR_MIN=100;const SIDEBAR_MAX=500;const RUSTDOC_MOBILE_BREAKPOINT=700;const BODY_MIN=400;const SIDEBAR_VANISH_THRESHOLD=SIDEBAR_MIN/2;const sidebarButton=document.getElementById("sidebar-button");if(sidebarButton){sidebarButton.addEventListener("click",e=>{removeClass(document.documentElement,"hide-sidebar");updateLocalStorage("hide-sidebar","false");if(document.querySelector(".rustdoc.src")){window.rustdocToggleSrcSidebar()}e.preventDefault()})}let currentPointerId=null;let desiredSidebarSize=null;let pendingSidebarResizingFrame=false;const resizer=document.querySelector(".sidebar-resizer");const sidebar=document.querySelector(".sidebar");if(!resizer||!sidebar){return}const isSrcPage=hasClass(document.body,"src");function hideSidebar(){if(isSrcPage){window.rustdocCloseSourceSidebar();updateLocalStorage("src-sidebar-width",null);document.documentElement.style.removeProperty("--src-sidebar-width");sidebar.style.removeProperty("--src-sidebar-width");resizer.style.removeProperty("--src-sidebar-width")}else{addClass(document.documentElement,"hide-sidebar");updateLocalStorage("hide-sidebar","true");updateLocalStorage("desktop-sidebar-width",null);document.documentElement.style.removeProperty("--desktop-sidebar-width");sidebar.style.removeProperty("--desktop-sidebar-width");resizer.style.removeProperty("--desktop-sidebar-width")}}function showSidebar(){if(isSrcPage){window.rustdocShowSourceSidebar()}else{removeClass(document.documentElement,"hide-sidebar");updateLocalStorage("hide-sidebar","false")}}function changeSidebarSize(size){if(isSrcPage){updateLocalStorage("src-sidebar-width",size);sidebar.style.setProperty("--src-sidebar-width",size+"px");resizer.style.setProperty("--src-sidebar-width",size+"px")}else{updateLocalStorage("desktop-sidebar-width",size);sidebar.style.setProperty("--desktop-sidebar-width",size+"px");resizer.style.setProperty("--desktop-sidebar-width",size+"px")}}function isSidebarHidden(){return isSrcPage?!hasClass(document.documentElement,"src-sidebar-expanded"):hasClass(document.documentElement,"hide-sidebar")}function resize(e){if(currentPointerId===null||currentPointerId!==e.pointerId){return}e.preventDefault();const pos=e.clientX-3;if(pos=SIDEBAR_MIN){if(isSidebarHidden()){showSidebar()}const constrainedPos=Math.min(pos,window.innerWidth-BODY_MIN,SIDEBAR_MAX);changeSidebarSize(constrainedPos);desiredSidebarSize=constrainedPos;if(pendingSidebarResizingFrame!==false){clearTimeout(pendingSidebarResizingFrame)}pendingSidebarResizingFrame=setTimeout(()=>{if(currentPointerId===null||pendingSidebarResizingFrame===false){return}pendingSidebarResizingFrame=false;document.documentElement.style.setProperty("--resizing-sidebar-width",desiredSidebarSize+"px",)},100)}}window.addEventListener("resize",()=>{if(window.innerWidth=(window.innerWidth-BODY_MIN)){changeSidebarSize(window.innerWidth-BODY_MIN)}else if(desiredSidebarSize!==null&&desiredSidebarSize>SIDEBAR_MIN){changeSidebarSize(desiredSidebarSize)}});function stopResize(e){if(currentPointerId===null){return}if(e){e.preventDefault()}desiredSidebarSize=sidebar.getBoundingClientRect().width;removeClass(resizer,"active");window.removeEventListener("pointermove",resize,false);window.removeEventListener("pointerup",stopResize,false);removeClass(document.documentElement,"sidebar-resizing");document.documentElement.style.removeProperty("--resizing-sidebar-width");if(resizer.releasePointerCapture){resizer.releasePointerCapture(currentPointerId);currentPointerId=null}}function initResize(e){if(currentPointerId!==null||e.altKey||e.ctrlKey||e.metaKey||e.button!==0){return}if(resizer.setPointerCapture){resizer.setPointerCapture(e.pointerId);if(!resizer.hasPointerCapture(e.pointerId)){resizer.releasePointerCapture(e.pointerId);return}currentPointerId=e.pointerId}window.hideAllModals(false);e.preventDefault();window.addEventListener("pointermove",resize,false);window.addEventListener("pointercancel",stopResize,false);window.addEventListener("pointerup",stopResize,false);addClass(resizer,"active");addClass(document.documentElement,"sidebar-resizing");const pos=e.clientX-sidebar.offsetLeft-3;document.documentElement.style.setProperty("--resizing-sidebar-width",pos+"px");desiredSidebarSize=null}resizer.addEventListener("pointerdown",initResize,false)}());(function(){function copyContentToClipboard(content){const el=document.createElement("textarea");el.value=content;el.setAttribute("readonly","");el.style.position="absolute";el.style.left="-9999px";document.body.appendChild(el);el.select();document.execCommand("copy");document.body.removeChild(el)}function copyButtonAnimation(button){button.classList.add("clicked");if(button.reset_button_timeout!==undefined){window.clearTimeout(button.reset_button_timeout)}button.reset_button_timeout=window.setTimeout(()=>{button.reset_button_timeout=undefined;button.classList.remove("clicked")},1000)}const but=document.getElementById("copy-path");if(!but){return}but.onclick=()=>{const parent=but.parentElement;const path=[];onEach(parent.childNodes,child=>{if(child.tagName==="A"){path.push(child.textContent)}});copyContentToClipboard(path.join("::"));copyButtonAnimation(but)};function copyCode(codeElem){if(!codeElem){return}copyContentToClipboard(codeElem.textContent)}function getExampleWrap(event){let elem=event.target;while(!hasClass(elem,"example-wrap")){if(elem===document.body||elem.tagName==="A"||elem.tagName==="BUTTON"||hasClass(elem,"docblock")){return null}elem=elem.parentElement}return elem}function addCopyButton(event){const elem=getExampleWrap(event);if(elem===null){return}elem.removeEventListener("mouseover",addCopyButton);const parent=document.createElement("div");parent.className="button-holder";const runButton=elem.querySelector(".test-arrow");if(runButton!==null){parent.appendChild(runButton)}elem.appendChild(parent);const copyButton=document.createElement("button");copyButton.className="copy-button";copyButton.title="Copy code to clipboard";copyButton.addEventListener("click",()=>{copyCode(elem.querySelector("pre > code"));copyButtonAnimation(copyButton)});parent.appendChild(copyButton)}function showHideCodeExampleButtons(event){const elem=getExampleWrap(event);if(elem===null){return}let buttons=elem.querySelector(".button-holder");if(buttons===null){addCopyButton(event);buttons=elem.querySelector(".button-holder");if(buttons===null){return}}buttons.classList.toggle("keep-visible")}onEachLazy(document.querySelectorAll(".docblock .example-wrap"),elem=>{elem.addEventListener("mouseover",addCopyButton);elem.addEventListener("click",showHideCodeExampleButtons)})}()) \ No newline at end of file diff --git a/static.files/normalize-76eba96aa4d2e634.css b/static.files/normalize-76eba96aa4d2e634.css new file mode 100644 index 000000000..469959f13 --- /dev/null +++ b/static.files/normalize-76eba96aa4d2e634.css @@ -0,0 +1,2 @@ + /*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */ +html{line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0}main{display:block}h1{font-size:2em;margin:0.67em 0}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}[type="button"],[type="reset"],[type="submit"],button{-webkit-appearance:button}[type="button"]::-moz-focus-inner,[type="reset"]::-moz-focus-inner,[type="submit"]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}[type="button"]:-moz-focusring,[type="reset"]:-moz-focusring,[type="submit"]:-moz-focusring,button:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type="checkbox"],[type="radio"]{box-sizing:border-box;padding:0}[type="number"]::-webkit-inner-spin-button,[type="number"]::-webkit-outer-spin-button{height:auto}[type="search"]{-webkit-appearance:textfield;outline-offset:-2px}[type="search"]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none} \ No newline at end of file diff --git a/static.files/noscript-3b12f09e550e0385.css b/static.files/noscript-3b12f09e550e0385.css new file mode 100644 index 000000000..befe41634 --- /dev/null +++ b/static.files/noscript-3b12f09e550e0385.css @@ -0,0 +1 @@ + #main-content .attributes{margin-left:0 !important;}#copy-path,#sidebar-button,.sidebar-resizer{display:none !important;}nav.sub{display:none;}.src .sidebar{display:none;}.notable-traits{display:none;}:root,:root:not([data-theme]){--main-background-color:white;--main-color:black;--settings-input-color:#2196f3;--settings-input-border-color:#717171;--settings-button-color:#000;--settings-button-border-focus:#717171;--sidebar-background-color:#f5f5f5;--sidebar-background-color-hover:#e0e0e0;--code-block-background-color:#f5f5f5;--scrollbar-track-background-color:#dcdcdc;--scrollbar-thumb-background-color:rgba(36,37,39,0.6);--scrollbar-color:rgba(36,37,39,0.6) #d9d9d9;--headings-border-bottom-color:#ddd;--border-color:#e0e0e0;--button-background-color:#fff;--right-side-color:grey;--code-attribute-color:#999;--toggles-color:#999;--toggle-filter:none;--mobile-sidebar-menu-filter:none;--search-input-focused-border-color:#66afe9;--copy-path-button-color:#999;--copy-path-img-filter:invert(50%);--copy-path-img-hover-filter:invert(35%);--codeblock-error-hover-color:rgb(255,0,0);--codeblock-error-color:rgba(255,0,0,.5);--codeblock-ignore-hover-color:rgb(255,142,0);--codeblock-ignore-color:rgba(255,142,0,.6);--warning-border-color:#ff8e00;--type-link-color:#ad378a;--trait-link-color:#6e4fc9;--assoc-item-link-color:#3873ad;--function-link-color:#ad7c37;--macro-link-color:#068000;--keyword-link-color:#3873ad;--mod-link-color:#3873ad;--link-color:#3873ad;--sidebar-link-color:#356da4;--sidebar-current-link-background-color:#fff;--search-result-link-focus-background-color:#ccc;--search-result-border-color:#aaa3;--search-color:#000;--search-error-code-background-color:#d0cccc;--search-results-alias-color:#000;--search-results-grey-color:#999;--search-tab-title-count-color:#888;--search-tab-button-not-selected-border-top-color:#e6e6e6;--search-tab-button-not-selected-background:#e6e6e6;--search-tab-button-selected-border-top-color:#0089ff;--search-tab-button-selected-background:#fff;--settings-menu-filter:none;--stab-background-color:#fff5d6;--stab-code-color:#000;--code-highlight-kw-color:#8959a8;--code-highlight-kw-2-color:#4271ae;--code-highlight-lifetime-color:#b76514;--code-highlight-prelude-color:#4271ae;--code-highlight-prelude-val-color:#c82829;--code-highlight-number-color:#718c00;--code-highlight-string-color:#718c00;--code-highlight-literal-color:#c82829;--code-highlight-attribute-color:#c82829;--code-highlight-self-color:#c82829;--code-highlight-macro-color:#3e999f;--code-highlight-question-mark-color:#ff9011;--code-highlight-comment-color:#8e908c;--code-highlight-doc-comment-color:#4d4d4c;--src-line-numbers-span-color:#c67e2d;--src-line-number-highlighted-background-color:#fdffd3;--target-background-color:#fdffd3;--target-border-color:#ad7c37;--kbd-color:#000;--kbd-background:#fafbfc;--kbd-box-shadow-color:#c6cbd1;--rust-logo-filter:initial;--crate-search-div-filter:invert(100%) sepia(0%) saturate(4223%) hue-rotate(289deg) brightness(114%) contrast(76%);--crate-search-div-hover-filter:invert(44%) sepia(18%) saturate(23%) hue-rotate(317deg) brightness(96%) contrast(93%);--crate-search-hover-border:#717171;--src-sidebar-background-selected:#fff;--src-sidebar-background-hover:#e0e0e0;--table-alt-row-background-color:#f5f5f5;--codeblock-link-background:#eee;--scrape-example-toggle-line-background:#ccc;--scrape-example-toggle-line-hover-background:#999;--scrape-example-code-line-highlight:#fcffd6;--scrape-example-code-line-highlight-focus:#f6fdb0;--scrape-example-help-border-color:#555;--scrape-example-help-color:#333;--scrape-example-help-hover-border-color:#000;--scrape-example-help-hover-color:#000;--scrape-example-code-wrapper-background-start:rgba(255,255,255,1);--scrape-example-code-wrapper-background-end:rgba(255,255,255,0);--sidebar-resizer-hover:hsl(207,90%,66%);--sidebar-resizer-active:hsl(207,90%,54%);}@media (prefers-color-scheme:dark){:root,:root:not([data-theme]){--main-background-color:#353535;--main-color:#ddd;--settings-input-color:#2196f3;--settings-input-border-color:#999;--settings-button-color:#000;--settings-button-border-focus:#ffb900;--sidebar-background-color:#505050;--sidebar-background-color-hover:#676767;--code-block-background-color:#2A2A2A;--scrollbar-track-background-color:#717171;--scrollbar-thumb-background-color:rgba(32,34,37,.6);--scrollbar-color:rgba(32,34,37,.6) #5a5a5a;--headings-border-bottom-color:#d2d2d2;--border-color:#e0e0e0;--button-background-color:#f0f0f0;--right-side-color:grey;--code-attribute-color:#999;--toggles-color:#999;--toggle-filter:invert(100%);--mobile-sidebar-menu-filter:invert(100%);--search-input-focused-border-color:#008dfd;--copy-path-button-color:#999;--copy-path-img-filter:invert(50%);--copy-path-img-hover-filter:invert(65%);--codeblock-error-hover-color:rgb(255,0,0);--codeblock-error-color:rgba(255,0,0,.5);--codeblock-ignore-hover-color:rgb(255,142,0);--codeblock-ignore-color:rgba(255,142,0,.6);--warning-border-color:#ff8e00;--type-link-color:#2dbfb8;--trait-link-color:#b78cf2;--assoc-item-link-color:#d2991d;--function-link-color:#2bab63;--macro-link-color:#09bd00;--keyword-link-color:#d2991d;--mod-link-color:#d2991d;--link-color:#d2991d;--sidebar-link-color:#fdbf35;--sidebar-current-link-background-color:#444;--search-result-link-focus-background-color:#616161;--search-result-border-color:#aaa3;--search-color:#111;--search-error-code-background-color:#484848;--search-results-alias-color:#fff;--search-results-grey-color:#ccc;--search-tab-title-count-color:#888;--search-tab-button-not-selected-border-top-color:#252525;--search-tab-button-not-selected-background:#252525;--search-tab-button-selected-border-top-color:#0089ff;--search-tab-button-selected-background:#353535;--stab-background-color:#314559;--stab-code-color:#e6e1cf;--code-highlight-kw-color:#ab8ac1;--code-highlight-kw-2-color:#769acb;--code-highlight-lifetime-color:#d97f26;--code-highlight-prelude-color:#769acb;--code-highlight-prelude-val-color:#ee6868;--code-highlight-number-color:#83a300;--code-highlight-string-color:#83a300;--code-highlight-literal-color:#ee6868;--code-highlight-attribute-color:#ee6868;--code-highlight-self-color:#ee6868;--code-highlight-macro-color:#3e999f;--code-highlight-question-mark-color:#ff9011;--code-highlight-comment-color:#8d8d8b;--code-highlight-doc-comment-color:#8ca375;--src-line-numbers-span-color:#3b91e2;--src-line-number-highlighted-background-color:#0a042f;--target-background-color:#494a3d;--target-border-color:#bb7410;--kbd-color:#000;--kbd-background:#fafbfc;--kbd-box-shadow-color:#c6cbd1;--rust-logo-filter:drop-shadow(1px 0 0px #fff) drop-shadow(0 1px 0 #fff) drop-shadow(-1px 0 0 #fff) drop-shadow(0 -1px 0 #fff);--crate-search-div-filter:invert(94%) sepia(0%) saturate(721%) hue-rotate(255deg) brightness(90%) contrast(90%);--crate-search-div-hover-filter:invert(69%) sepia(60%) saturate(6613%) hue-rotate(184deg) brightness(100%) contrast(91%);--crate-search-hover-border:#2196f3;--src-sidebar-background-selected:#333;--src-sidebar-background-hover:#444;--table-alt-row-background-color:#2a2a2a;--codeblock-link-background:#333;--scrape-example-toggle-line-background:#999;--scrape-example-toggle-line-hover-background:#c5c5c5;--scrape-example-code-line-highlight:#5b3b01;--scrape-example-code-line-highlight-focus:#7c4b0f;--scrape-example-help-border-color:#aaa;--scrape-example-help-color:#eee;--scrape-example-help-hover-border-color:#fff;--scrape-example-help-hover-color:#fff;--scrape-example-code-wrapper-background-start:rgba(53,53,53,1);--scrape-example-code-wrapper-background-end:rgba(53,53,53,0);--sidebar-resizer-hover:hsl(207,30%,54%);--sidebar-resizer-active:hsl(207,90%,54%);}} \ No newline at end of file diff --git a/static.files/rust-logo-151179464ae7ed46.svg b/static.files/rust-logo-151179464ae7ed46.svg new file mode 100644 index 000000000..62424d8ff --- /dev/null +++ b/static.files/rust-logo-151179464ae7ed46.svg @@ -0,0 +1,61 @@ + + + diff --git a/static.files/rustdoc-492a78a4a87dcc01.css b/static.files/rustdoc-492a78a4a87dcc01.css new file mode 100644 index 000000000..e9199f955 --- /dev/null +++ b/static.files/rustdoc-492a78a4a87dcc01.css @@ -0,0 +1,47 @@ + :root{--nav-sub-mobile-padding:8px;--search-typename-width:6.75rem;--desktop-sidebar-width:200px;--src-sidebar-width:300px;--desktop-sidebar-z-index:100;--sidebar-elems-left-padding:24px;--clipboard-image:url('data:image/svg+xml,\ +\ +\ +');--copy-path-height:34px;--copy-path-width:33px;--checkmark-image:url('data:image/svg+xml,\ +\ +');--button-left-margin:4px;--button-border-radius:2px;}@font-face {font-family:'Fira Sans';font-style:normal;font-weight:400;src:local('Fira Sans'),url("FiraSans-Regular-018c141bf0843ffd.woff2") format("woff2");font-display:swap;}@font-face {font-family:'Fira Sans';font-style:normal;font-weight:500;src:local('Fira Sans Medium'),url("FiraSans-Medium-8f9a781e4970d388.woff2") format("woff2");font-display:swap;}@font-face {font-family:'Source Serif 4';font-style:normal;font-weight:400;src:local('Source Serif 4'),url("SourceSerif4-Regular-46f98efaafac5295.ttf.woff2") format("woff2");font-display:swap;}@font-face {font-family:'Source Serif 4';font-style:italic;font-weight:400;src:local('Source Serif 4 Italic'),url("SourceSerif4-It-acdfaf1a8af734b1.ttf.woff2") format("woff2");font-display:swap;}@font-face {font-family:'Source Serif 4';font-style:normal;font-weight:700;src:local('Source Serif 4 Bold'),url("SourceSerif4-Bold-a2c9cd1067f8b328.ttf.woff2") format("woff2");font-display:swap;}@font-face {font-family:'Source Code Pro';font-style:normal;font-weight:400;src:url("SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2") format("woff2");font-display:swap;}@font-face {font-family:'Source Code Pro';font-style:italic;font-weight:400;src:url("SourceCodePro-It-1cc31594bf4f1f79.ttf.woff2") format("woff2");font-display:swap;}@font-face {font-family:'Source Code Pro';font-style:normal;font-weight:600;src:url("SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2") format("woff2");font-display:swap;}@font-face {font-family:'NanumBarunGothic';src:url("NanumBarunGothic-0f09457c7a19b7c6.ttf.woff2") format("woff2");font-display:swap;unicode-range:U+AC00-D7AF,U+1100-11FF,U+3130-318F,U+A960-A97F,U+D7B0-D7FF;}*{box-sizing:border-box;}body{font:1rem/1.5 "Source Serif 4",NanumBarunGothic,serif;margin:0;position:relative;overflow-wrap:break-word;overflow-wrap:anywhere;font-feature-settings:"kern","liga";background-color:var(--main-background-color);color:var(--main-color);}h1{font-size:1.5rem;}h2{font-size:1.375rem;}h3{font-size:1.25rem;}h1,h2,h3,h4,h5,h6{font-weight:500;}h1,h2,h3,h4{margin:25px 0 15px 0;padding-bottom:6px;}.docblock h3,.docblock h4,h5,h6{margin:15px 0 5px 0;}.docblock>h2:first-child,.docblock>h3:first-child,.docblock>h4:first-child,.docblock>h5:first-child,.docblock>h6:first-child{margin-top:0;}.main-heading h1{margin:0;padding:0;flex-grow:1;overflow-wrap:break-word;overflow-wrap:anywhere;}.main-heading{display:flex;flex-wrap:wrap;padding-bottom:6px;margin-bottom:15px;}.content h2,.top-doc .docblock>h3,.top-doc .docblock>h4{border-bottom:1px solid var(--headings-border-bottom-color);}h1,h2{line-height:1.25;padding-top:3px;padding-bottom:9px;}h3.code-header{font-size:1.125rem;}h4.code-header{font-size:1rem;}.code-header{font-weight:600;margin:0;padding:0;white-space:pre-wrap;}#crate-search,h1,h2,h3,h4,h5,h6,.sidebar,.mobile-topbar,.search-input,.search-results .result-name,.item-name>a,.out-of-band,span.since,a.src,#help-button>a,summary.hideme,.scraped-example-list,ul.all-items{font-family:"Fira Sans",Arial,NanumBarunGothic,sans-serif;}#toggle-all-docs,a.anchor,.section-header a,#src-sidebar a,.rust a,.sidebar h2 a,.sidebar h3 a,.mobile-topbar h2 a,h1 a,.search-results a,.stab,.result-name i{color:var(--main-color);}span.enum,a.enum,span.struct,a.struct,span.union,a.union,span.primitive,a.primitive,span.type,a.type,span.foreigntype,a.foreigntype{color:var(--type-link-color);}span.trait,a.trait,span.traitalias,a.traitalias{color:var(--trait-link-color);}span.associatedtype,a.associatedtype,span.constant,a.constant,span.static,a.static{color:var(--assoc-item-link-color);}span.fn,a.fn,span.method,a.method,span.tymethod,a.tymethod{color:var(--function-link-color);}span.attr,a.attr,span.derive,a.derive,span.macro,a.macro{color:var(--macro-link-color);}span.mod,a.mod{color:var(--mod-link-color);}span.keyword,a.keyword{color:var(--keyword-link-color);}a{color:var(--link-color);text-decoration:none;}ol,ul{padding-left:24px;}ul ul,ol ul,ul ol,ol ol{margin-bottom:.625em;}p,.docblock>.warning{margin:0 0 .75em 0;}p:last-child,.docblock>.warning:last-child{margin:0;}button{padding:1px 6px;cursor:pointer;}button#toggle-all-docs{padding:0;background:none;border:none;-webkit-appearance:none;opacity:1;}.rustdoc{display:flex;flex-direction:row;flex-wrap:nowrap;}main{position:relative;flex-grow:1;padding:10px 15px 40px 45px;min-width:0;}.src main{padding:15px;}.width-limiter{max-width:960px;margin-right:auto;}details:not(.toggle) summary{margin-bottom:.6em;}code,pre,.code-header{font-family:"Source Code Pro",monospace;}.docblock code,.docblock-short code{border-radius:3px;padding:0 0.125em;}.docblock pre code,.docblock-short pre code{padding:0;}pre{padding:14px;line-height:1.5;}pre.item-decl{overflow-x:auto;}.item-decl .type-contents-toggle{contain:initial;}.src .content pre{padding:20px;}.rustdoc.src .example-wrap pre.src-line-numbers{padding:20px 0 20px 4px;}img{max-width:100%;}.logo-container{line-height:0;display:block;}.rust-logo{filter:var(--rust-logo-filter);}.sidebar{font-size:0.875rem;flex:0 0 var(--desktop-sidebar-width);width:var(--desktop-sidebar-width);overflow-y:scroll;overscroll-behavior:contain;position:sticky;height:100vh;top:0;left:0;z-index:var(--desktop-sidebar-z-index);}.rustdoc.src .sidebar{flex-basis:50px;width:50px;border-right:1px solid;overflow-x:hidden;overflow-y:hidden;}.hide-sidebar .sidebar,.hide-sidebar .sidebar-resizer{display:none;}.sidebar-resizer{touch-action:none;width:9px;cursor:col-resize;z-index:calc(var(--desktop-sidebar-z-index) + 1);position:fixed;height:100%;left:calc(var(--desktop-sidebar-width) + 1px);}.rustdoc.src .sidebar-resizer{left:49px;}.src-sidebar-expanded .src .sidebar-resizer{left:var(--src-sidebar-width);}.sidebar-resizing{-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none;}.sidebar-resizing*{cursor:col-resize !important;}.sidebar-resizing .sidebar{position:fixed;}.sidebar-resizing>body{padding-left:var(--resizing-sidebar-width);}.sidebar-resizer:hover,.sidebar-resizer:active,.sidebar-resizer:focus,.sidebar-resizer.active{width:10px;margin:0;left:var(--desktop-sidebar-width);border-left:solid 1px var(--sidebar-resizer-hover);}.src-sidebar-expanded .rustdoc.src .sidebar-resizer:hover,.src-sidebar-expanded .rustdoc.src .sidebar-resizer:active,.src-sidebar-expanded .rustdoc.src .sidebar-resizer:focus,.src-sidebar-expanded .rustdoc.src .sidebar-resizer.active{left:calc(var(--src-sidebar-width) - 1px);}@media (pointer:coarse){.sidebar-resizer{display:none !important;}}.sidebar-resizer.active{padding:0 140px;width:2px;margin-left:-140px;border-left:none;}.sidebar-resizer.active:before{border-left:solid 2px var(--sidebar-resizer-active);display:block;height:100%;content:"";}.sidebar,.mobile-topbar,.sidebar-menu-toggle,#src-sidebar{background-color:var(--sidebar-background-color);}.src .sidebar>*{visibility:hidden;}.src-sidebar-expanded .src .sidebar{overflow-y:auto;flex-basis:var(--src-sidebar-width);width:var(--src-sidebar-width);}.src-sidebar-expanded .src .sidebar>*{visibility:visible;}#all-types{margin-top:1em;}*{scrollbar-width:initial;scrollbar-color:var(--scrollbar-color);}.sidebar{scrollbar-width:thin;scrollbar-color:var(--scrollbar-color);}::-webkit-scrollbar{width:12px;}.sidebar::-webkit-scrollbar{width:8px;}::-webkit-scrollbar-track{-webkit-box-shadow:inset 0;background-color:var(--scrollbar-track-background-color);}.sidebar::-webkit-scrollbar-track{background-color:var(--scrollbar-track-background-color);}::-webkit-scrollbar-thumb,.sidebar::-webkit-scrollbar-thumb{background-color:var(--scrollbar-thumb-background-color);}.hidden{display:none !important;}.logo-container>img{height:48px;width:48px;}ul.block,.block li{padding:0;margin:0;list-style:none;}.sidebar-elems a,.sidebar>h2 a{display:block;padding:0.25rem;margin-right:0.25rem;border-left:solid var(--sidebar-elems-left-padding) transparent;margin-left:calc(-0.25rem - var(--sidebar-elems-left-padding));background-clip:border-box;}.sidebar h2{text-wrap:balance;overflow-wrap:anywhere;padding:0;margin:0.7rem 0;}.sidebar h3{text-wrap:balance;overflow-wrap:anywhere;font-size:1.125rem;padding:0;margin:0;}.sidebar-elems,.sidebar>.version,.sidebar>h2{padding-left:var(--sidebar-elems-left-padding);}.sidebar a{color:var(--sidebar-link-color);}.sidebar .current,.sidebar .current a,.sidebar-crate a.logo-container:hover+h2 a,.sidebar a:hover:not(.logo-container){background-color:var(--sidebar-current-link-background-color);}.sidebar-elems .block{margin-bottom:2em;}.sidebar-elems .block li a{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;}.sidebar-crate{display:flex;align-items:center;justify-content:center;margin:14px 32px 1rem;row-gap:10px;column-gap:32px;flex-wrap:wrap;}.sidebar-crate h2{flex-grow:1;margin:0 -8px;align-self:start;}.sidebar-crate .logo-container{margin:0 calc(-16px - var(--sidebar-elems-left-padding));padding:0 var(--sidebar-elems-left-padding);text-align:center;}.sidebar-crate .logo-container img{margin-top:-16px;border-top:solid 16px transparent;box-sizing:content-box;position:relative;background-clip:border-box;z-index:1;}.sidebar-crate h2 a{display:block;border-left:solid var(--sidebar-elems-left-padding) transparent;background-clip:border-box;margin:0 calc(-24px + 0.25rem) 0 calc(-0.2rem - var(--sidebar-elems-left-padding));padding:calc((16px - 0.57rem ) / 2 ) 0.25rem;padding-left:0.2rem;}.sidebar-crate h2 .version{display:block;font-weight:normal;font-size:1rem;overflow-wrap:break-word;}.sidebar-crate+.version{margin-top:-1rem;margin-bottom:1rem;}.mobile-topbar{display:none;}.rustdoc .example-wrap{display:flex;position:relative;margin-bottom:10px;}.rustdoc .example-wrap>pre{border-radius:6px;}.rustdoc .example-wrap:last-child{margin-bottom:0px;}.rustdoc .example-wrap pre{margin:0;flex-grow:1;}.rustdoc:not(.src) .example-wrap pre{overflow:auto hidden;}.rustdoc .example-wrap pre.example-line-numbers,.rustdoc .example-wrap pre.src-line-numbers{flex-grow:0;min-width:fit-content;overflow:initial;text-align:right;-webkit-user-select:none;user-select:none;padding:14px 8px;color:var(--src-line-numbers-span-color);}.rustdoc .example-wrap pre.src-line-numbers{padding:14px 0;}.src-line-numbers a,.src-line-numbers span{color:var(--src-line-numbers-span-color);padding:0 8px;}.src-line-numbers :target{background-color:transparent;border-right:none;padding:0 8px;}.src-line-numbers .line-highlighted{background-color:var(--src-line-number-highlighted-background-color);}.search-loading{text-align:center;}.docblock-short{overflow-wrap:break-word;overflow-wrap:anywhere;}.docblock :not(pre)>code,.docblock-short code{white-space:pre-wrap;}.top-doc .docblock h2{font-size:1.375rem;}.top-doc .docblock h3{font-size:1.25rem;}.top-doc .docblock h4,.top-doc .docblock h5{font-size:1.125rem;}.top-doc .docblock h6{font-size:1rem;}.docblock h5{font-size:1rem;}.docblock h6{font-size:0.875rem;}.docblock{margin-left:24px;position:relative;}.docblock>:not(.more-examples-toggle):not(.example-wrap){max-width:100%;overflow-x:auto;}.out-of-band{flex-grow:0;font-size:1.125rem;}.docblock code,.docblock-short code,pre,.rustdoc.src .example-wrap{background-color:var(--code-block-background-color);}#main-content{position:relative;}.docblock table{margin:.5em 0;border-collapse:collapse;}.docblock table td,.docblock table th{padding:.5em;border:1px solid var(--border-color);}.docblock table tbody tr:nth-child(2n){background:var(--table-alt-row-background-color);}.docblock .stab,.docblock-short .stab{display:inline-block;}div.where{white-space:pre-wrap;font-size:0.875rem;}.item-info{display:block;margin-left:24px;}.item-info code{font-size:0.875rem;}#main-content>.item-info{margin-left:0;}nav.sub{flex-grow:1;flex-flow:row nowrap;margin:4px 0 25px 0;display:flex;align-items:center;}.search-form{position:relative;display:flex;height:34px;flex-grow:1;}.src nav.sub{margin:0 0 15px 0;}.section-header{display:block;position:relative;}.section-header:hover>.anchor,.impl:hover>.anchor,.trait-impl:hover>.anchor,.variant:hover>.anchor{display:initial;}.anchor{display:none;position:absolute;left:-0.5em;background:none !important;}.anchor.field{left:-5px;}.section-header>.anchor{left:-15px;padding-right:8px;}h2.section-header>.anchor{padding-right:6px;}a.doc-anchor{color:var(--main-color);display:none;position:absolute;left:-17px;padding-right:10px;padding-left:3px;}*:hover>.doc-anchor{display:block;}.top-doc>.docblock>*:first-child>.doc-anchor{display:none !important;}.main-heading a:hover,.example-wrap .rust a:hover,.all-items a:hover,.docblock a:not(.scrape-help):not(.tooltip):hover:not(.doc-anchor),.docblock-short a:not(.scrape-help):not(.tooltip):hover,.item-info a{text-decoration:underline;}.crate.block li.current a{font-weight:500;}table,.item-table{overflow-wrap:break-word;}.item-table{display:table;padding:0;margin:0;width:100%;}.item-table>li{display:table-row;}.item-table>li>div{display:table-cell;}.item-table>li>.item-name{padding-right:1.25rem;}.search-results-title{margin-top:0;white-space:nowrap;display:flex;align-items:baseline;}#crate-search-div{position:relative;min-width:5em;}#crate-search{min-width:115px;padding:0 23px 0 4px;max-width:100%;text-overflow:ellipsis;border:1px solid var(--border-color);border-radius:4px;outline:none;cursor:pointer;-moz-appearance:none;-webkit-appearance:none;text-indent:0.01px;background-color:var(--main-background-color);color:inherit;line-height:1.5;font-weight:500;}#crate-search:hover,#crate-search:focus{border-color:var(--crate-search-hover-border);}#crate-search-div::after{pointer-events:none;width:100%;height:100%;position:absolute;top:0;left:0;content:"";background-repeat:no-repeat;background-size:20px;background-position:calc(100% - 2px) 56%;background-image:url('data:image/svg+xml, \ + ');filter:var(--crate-search-div-filter);}#crate-search-div:hover::after,#crate-search-div:focus-within::after{filter:var(--crate-search-div-hover-filter);}#crate-search>option{font-size:1rem;}.search-input{-webkit-appearance:none;outline:none;border:1px solid var(--border-color);border-radius:2px;padding:8px;font-size:1rem;flex-grow:1;background-color:var(--button-background-color);color:var(--search-color);}.search-input:focus{border-color:var(--search-input-focused-border-color);}.search-results{display:none;}.search-results.active{display:block;}.search-results>a{display:flex;margin-left:2px;margin-right:2px;border-bottom:1px solid var(--search-result-border-color);gap:1em;}.search-results>a>div.desc{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;flex:2;}.search-results a:hover,.search-results a:focus{background-color:var(--search-result-link-focus-background-color);}.search-results .result-name{display:flex;align-items:center;justify-content:start;flex:3;}.search-results .result-name .alias{color:var(--search-results-alias-color);}.search-results .result-name .grey{color:var(--search-results-grey-color);}.search-results .result-name .typename{color:var(--search-results-grey-color);font-size:0.875rem;width:var(--search-typename-width);}.search-results .result-name .path{word-break:break-all;max-width:calc(100% - var(--search-typename-width));display:inline-block;}.search-results .result-name .path>*{display:inline;}.popover{position:absolute;top:100%;right:0;z-index:calc(var(--desktop-sidebar-z-index) + 1);margin-top:7px;border-radius:3px;border:1px solid var(--border-color);background-color:var(--main-background-color);color:var(--main-color);--popover-arrow-offset:11px;}.popover::before{content:'';position:absolute;right:var(--popover-arrow-offset);border:solid var(--border-color);border-width:1px 1px 0 0;background-color:var(--main-background-color);padding:4px;transform:rotate(-45deg);top:-5px;}.setting-line{margin:1.2em 0.6em;}.setting-radio input,.setting-check input{margin-right:0.3em;height:1.2rem;width:1.2rem;border:2px solid var(--settings-input-border-color);outline:none;-webkit-appearance:none;cursor:pointer;}.setting-radio input{border-radius:50%;}.setting-radio span,.setting-check span{padding-bottom:1px;}.setting-radio{margin-top:0.1em;margin-bottom:0.1em;min-width:3.8em;padding:0.3em;display:inline-flex;align-items:center;cursor:pointer;}.setting-radio+.setting-radio{margin-left:0.5em;}.setting-check{margin-right:20px;display:flex;align-items:center;cursor:pointer;}.setting-radio input:checked{box-shadow:inset 0 0 0 3px var(--main-background-color);background-color:var(--settings-input-color);}.setting-check input:checked{background-color:var(--settings-input-color);border-width:1px;content:url('data:image/svg+xml,\ + \ + ');}.setting-radio input:focus,.setting-check input:focus{box-shadow:0 0 1px 1px var(--settings-input-color);}.setting-radio input:checked:focus{box-shadow:inset 0 0 0 3px var(--main-background-color),0 0 2px 2px var(--settings-input-color);}.setting-radio input:hover,.setting-check input:hover{border-color:var(--settings-input-color) !important;}#help.popover{max-width:600px;--popover-arrow-offset:48px;}#help dt{float:left;clear:left;margin-right:0.5rem;}#help span.top,#help span.bottom{text-align:center;display:block;font-size:1.125rem;}#help span.top{margin:10px 0;border-bottom:1px solid var(--border-color);padding-bottom:4px;margin-bottom:6px;}#help span.bottom{clear:both;border-top:1px solid var(--border-color);}.side-by-side>div{width:50%;float:left;padding:0 20px 20px 17px;}.item-info .stab{display:block;padding:3px;margin-bottom:5px;}.item-name .stab{margin-left:0.3125em;}.stab{padding:0 2px;font-size:0.875rem;font-weight:normal;color:var(--main-color);background-color:var(--stab-background-color);width:fit-content;white-space:pre-wrap;border-radius:3px;display:inline;vertical-align:baseline;}.stab.portability>code{background:none;color:var(--stab-code-color);}.stab .emoji,.item-info .stab::before{font-size:1.25rem;}.stab .emoji{margin-right:0.3rem;}.item-info .stab::before{content:"\0";width:0;display:inline-block;color:transparent;}.emoji{text-shadow:1px 0 0 black,-1px 0 0 black,0 1px 0 black,0 -1px 0 black;}.since{font-weight:normal;font-size:initial;}.rightside{padding-left:12px;float:right;}.rightside:not(a),.out-of-band{color:var(--right-side-color);}pre.rust{tab-size:4;-moz-tab-size:4;}pre.rust .kw{color:var(--code-highlight-kw-color);}pre.rust .kw-2{color:var(--code-highlight-kw-2-color);}pre.rust .lifetime{color:var(--code-highlight-lifetime-color);}pre.rust .prelude-ty{color:var(--code-highlight-prelude-color);}pre.rust .prelude-val{color:var(--code-highlight-prelude-val-color);}pre.rust .string{color:var(--code-highlight-string-color);}pre.rust .number{color:var(--code-highlight-number-color);}pre.rust .bool-val{color:var(--code-highlight-literal-color);}pre.rust .self{color:var(--code-highlight-self-color);}pre.rust .attr{color:var(--code-highlight-attribute-color);}pre.rust .macro,pre.rust .macro-nonterminal{color:var(--code-highlight-macro-color);}pre.rust .question-mark{font-weight:bold;color:var(--code-highlight-question-mark-color);}pre.rust .comment{color:var(--code-highlight-comment-color);}pre.rust .doccomment{color:var(--code-highlight-doc-comment-color);}.rustdoc.src .example-wrap pre.rust a{background:var(--codeblock-link-background);}.example-wrap.compile_fail,.example-wrap.should_panic{border-left:2px solid var(--codeblock-error-color);}.ignore.example-wrap{border-left:2px solid var(--codeblock-ignore-color);}.example-wrap.compile_fail:hover,.example-wrap.should_panic:hover{border-left:2px solid var(--codeblock-error-hover-color);}.example-wrap.ignore:hover{border-left:2px solid var(--codeblock-ignore-hover-color);}.example-wrap.compile_fail .tooltip,.example-wrap.should_panic .tooltip{color:var(--codeblock-error-color);}.example-wrap.ignore .tooltip{color:var(--codeblock-ignore-color);}.example-wrap.compile_fail:hover .tooltip,.example-wrap.should_panic:hover .tooltip{color:var(--codeblock-error-hover-color);}.example-wrap.ignore:hover .tooltip{color:var(--codeblock-ignore-hover-color);}.example-wrap .tooltip{position:absolute;display:block;left:-25px;top:5px;margin:0;line-height:1;}.example-wrap.compile_fail .tooltip,.example-wrap.should_panic .tooltip,.example-wrap.ignore .tooltip{font-weight:bold;font-size:1.25rem;}.content .docblock .warning{border-left:2px solid var(--warning-border-color);padding:14px;position:relative;overflow-x:visible !important;}.content .docblock .warning::before{color:var(--warning-border-color);content:"ⓘ";position:absolute;left:-25px;top:5px;font-weight:bold;font-size:1.25rem;}.top-doc>.docblock>.warning:first-child::before{top:20px;}.example-wrap>a.test-arrow,.example-wrap .button-holder{visibility:hidden;position:absolute;top:4px;right:4px;z-index:1;}a.test-arrow{height:var(--copy-path-height);padding:6px 4px 0 11px;}a.test-arrow::before{content:url('data:image/svg+xml,');}.example-wrap .button-holder{display:flex;}@media not (pointer:coarse){.example-wrap:hover>a.test-arrow,.example-wrap:hover>.button-holder{visibility:visible;}}.example-wrap .button-holder.keep-visible{visibility:visible;}.example-wrap .button-holder .copy-button,.example-wrap .test-arrow{background:var(--main-background-color);cursor:pointer;border-radius:var(--button-border-radius);height:var(--copy-path-height);width:var(--copy-path-width);}.example-wrap .button-holder .copy-button{margin-left:var(--button-left-margin);padding:2px 0 0 4px;border:0;}.example-wrap .button-holder .copy-button::before,.example-wrap .test-arrow::before{filter:var(--copy-path-img-filter);}.example-wrap .button-holder .copy-button::before{content:var(--clipboard-image);}.example-wrap .button-holder .copy-button:hover::before,.example-wrap .test-arrow:hover::before{filter:var(--copy-path-img-hover-filter);}.example-wrap .button-holder .copy-button.clicked::before{content:var(--checkmark-image);padding-right:5px;}.code-attribute{font-weight:300;color:var(--code-attribute-color);}.item-spacer{width:100%;height:12px;display:block;}.out-of-band>span.since{font-size:1.25rem;}.sub-variant h4{font-size:1rem;font-weight:400;margin-top:0;margin-bottom:0;}.sub-variant{margin-left:24px;margin-bottom:40px;}.sub-variant>.sub-variant-field{margin-left:24px;}@keyframes targetfadein{from{background-color:var(--main-background-color);}10%{background-color:var(--target-border-color);}to{background-color:var(--target-background-color);}}:target{padding-right:3px;background-color:var(--target-background-color);border-right:3px solid var(--target-border-color);animation:0.65s cubic-bezier(0,0,0.1,1.0) 0.1s targetfadein;}.code-header a.tooltip{color:inherit;margin-right:15px;position:relative;}.code-header a.tooltip:hover{color:var(--link-color);}a.tooltip:hover::after{position:absolute;top:calc(100% - 10px);left:-15px;right:-15px;height:20px;content:"\00a0";}.fade-out{opacity:0;transition:opacity 0.45s cubic-bezier(0,0,0.1,1.0);}.popover.tooltip .content{margin:0.25em 0.5em;}.popover.tooltip .content pre,.popover.tooltip .content code{background:transparent;margin:0;padding:0;font-size:1.25rem;white-space:pre-wrap;}.popover.tooltip .content>h3:first-child{margin:0 0 5px 0;}.search-failed{text-align:center;margin-top:20px;display:none;}.search-failed.active{display:block;}.search-failed>ul{text-align:left;max-width:570px;margin-left:auto;margin-right:auto;}#search-tabs{display:flex;flex-direction:row;gap:1px;margin-bottom:4px;}#search-tabs button{text-align:center;font-size:1.125rem;border:0;border-top:2px solid;flex:1;line-height:1.5;color:inherit;}#search-tabs button:not(.selected){background-color:var(--search-tab-button-not-selected-background);border-top-color:var(--search-tab-button-not-selected-border-top-color);}#search-tabs button:hover,#search-tabs button.selected{background-color:var(--search-tab-button-selected-background);border-top-color:var(--search-tab-button-selected-border-top-color);}#search-tabs .count{font-size:1rem;font-variant-numeric:tabular-nums;color:var(--search-tab-title-count-color);}#search .error code{border-radius:3px;background-color:var(--search-error-code-background-color);}.search-corrections{font-weight:normal;}#src-sidebar{width:100%;overflow:auto;}#src-sidebar div.files>a:hover,details.dir-entry summary:hover,#src-sidebar div.files>a:focus,details.dir-entry summary:focus{background-color:var(--src-sidebar-background-hover);}#src-sidebar div.files>a.selected{background-color:var(--src-sidebar-background-selected);}.src-sidebar-title{position:sticky;top:0;display:flex;padding:8px 8px 0 48px;margin-bottom:7px;background:var(--sidebar-background-color);border-bottom:1px solid var(--border-color);}#settings-menu,#help-button{margin-left:var(--button-left-margin);display:flex;}#sidebar-button{display:none;line-height:0;}.hide-sidebar #sidebar-button,.src #sidebar-button{display:flex;margin-right:4px;position:fixed;left:6px;height:34px;width:34px;background-color:var(--main-background-color);z-index:1;}.src #sidebar-button{left:8px;z-index:calc(var(--desktop-sidebar-z-index) + 1);}.hide-sidebar .src #sidebar-button{position:static;}#settings-menu>a,#help-button>a,#sidebar-button>a{display:flex;align-items:center;justify-content:center;background-color:var(--button-background-color);border:1px solid var(--border-color);border-radius:var(--button-border-radius);color:var(--settings-button-color);font-size:20px;width:33px;}#settings-menu>a:hover,#settings-menu>a:focus,#help-button>a:hover,#help-button>a:focus,#sidebar-button>a:hover,#sidebar-button>a:focus{border-color:var(--settings-button-border-focus);}#settings-menu>a{line-height:0;font-size:0;}#settings-menu>a:before{content:url('data:image/svg+xml,\ + ');width:22px;height:22px;filter:var(--settings-menu-filter);}#sidebar-button>a:before{content:url('data:image/svg+xml,\ + \ + \ + ');width:22px;height:22px;}#copy-path{color:var(--copy-path-button-color);background:var(--main-background-color);height:var(--copy-path-height);width:var(--copy-path-width);margin-left:10px;padding:0;padding-left:2px;border:0;font-size:0;}#copy-path::before{filter:var(--copy-path-img-filter);content:var(--clipboard-image);}#copy-path:hover::before{filter:var(--copy-path-img-hover-filter);}#copy-path.clicked::before{content:var(--checkmark-image);}@keyframes rotating{from{transform:rotate(0deg);}to{transform:rotate(360deg);}}#settings-menu.rotate>a img{animation:rotating 2s linear infinite;}kbd{display:inline-block;padding:3px 5px;font:15px monospace;line-height:10px;vertical-align:middle;border:solid 1px var(--border-color);border-radius:3px;color:var(--kbd-color);background-color:var(--kbd-background);box-shadow:inset 0 -1px 0 var(--kbd-box-shadow-color);}ul.all-items>li{list-style:none;}details.dir-entry{padding-left:4px;}details.dir-entry>summary{margin:0 0 0 -4px;padding:0 0 0 4px;cursor:pointer;}details.dir-entry div.folders,details.dir-entry div.files{padding-left:23px;}details.dir-entry a{display:block;}details.toggle{contain:layout;position:relative;}details.toggle>summary.hideme{cursor:pointer;font-size:1rem;}details.toggle>summary{list-style:none;outline:none;}details.toggle>summary::-webkit-details-marker,details.toggle>summary::marker{display:none;}details.toggle>summary.hideme>span{margin-left:9px;}details.toggle>summary::before{background:url('data:image/svg+xml,') no-repeat top left;content:"";cursor:pointer;width:16px;height:16px;display:inline-block;vertical-align:middle;opacity:.5;filter:var(--toggle-filter);}details.toggle>summary.hideme>span,.more-examples-toggle summary,.more-examples-toggle .hide-more{color:var(--toggles-color);}details.toggle>summary::after{content:"Expand";overflow:hidden;width:0;height:0;position:absolute;}details.toggle>summary.hideme::after{content:"";}details.toggle>summary:focus::before,details.toggle>summary:hover::before{opacity:1;}details.toggle>summary:focus-visible::before{outline:1px dotted #000;outline-offset:1px;}details.non-exhaustive{margin-bottom:8px;}details.toggle>summary.hideme::before{position:relative;}details.toggle>summary:not(.hideme)::before{position:absolute;left:-24px;top:4px;}.impl-items>details.toggle>summary:not(.hideme)::before{position:absolute;left:-24px;}details.toggle[open] >summary.hideme{position:absolute;}details.toggle[open] >summary.hideme>span{display:none;}details.toggle[open] >summary::before{background:url('data:image/svg+xml,') no-repeat top left;}details.toggle[open] >summary::after{content:"Collapse";}.docblock summary>*{display:inline-block;}.docblock>.example-wrap:first-child .tooltip{margin-top:16px;}.src #sidebar-button>a:before,.sidebar-menu-toggle:before{content:url('data:image/svg+xml,\ + ');opacity:0.75;}.sidebar-menu-toggle:hover:before,.sidebar-menu-toggle:active:before,.sidebar-menu-toggle:focus:before{opacity:1;}.src #sidebar-button>a:before{content:url('data:image/svg+xml,\ + \ + \ + ');opacity:0.75;}@media (max-width:850px){#search-tabs .count{display:block;}}@media (max-width:700px){*[id]{scroll-margin-top:45px;}.rustdoc{display:block;}main{padding-left:15px;padding-top:0px;}.main-heading{flex-direction:column;}.out-of-band{text-align:left;margin-left:initial;padding:initial;}.out-of-band .since::before{content:"Since ";}.sidebar .logo-container,.sidebar .location,.sidebar-resizer{display:none;}.sidebar{position:fixed;top:45px;left:-1000px;z-index:11;height:calc(100vh - 45px);width:200px;}.src main,.rustdoc.src .sidebar{top:0;padding:0;height:100vh;border:0;}.src .search-form{margin-left:40px;}.hide-sidebar .search-form{margin-left:32px;}.hide-sidebar .src .search-form{margin-left:0;}.sidebar.shown,.src-sidebar-expanded .src .sidebar,.rustdoc:not(.src) .sidebar:focus-within{left:0;}.mobile-topbar h2{padding-bottom:0;margin:auto 0.5em auto auto;overflow:hidden;font-size:24px;white-space:nowrap;text-overflow:ellipsis;}.mobile-topbar .logo-container>img{max-width:35px;max-height:35px;margin:5px 0 5px 20px;}.mobile-topbar{display:flex;flex-direction:row;position:sticky;z-index:10;font-size:2rem;height:45px;width:100%;left:0;top:0;}.hide-sidebar .mobile-topbar{display:none;}.sidebar-menu-toggle{width:45px;border:none;line-height:0;}.hide-sidebar .sidebar-menu-toggle{display:none;}.sidebar-elems{margin-top:1em;}.anchor{display:none !important;}#main-content>details.toggle>summary::before,#main-content>div>details.toggle>summary::before{left:-11px;}#copy-path,#help-button{display:none;}#sidebar-button>a:before{content:url('data:image/svg+xml,\ + \ + \ + ');width:22px;height:22px;}.sidebar-menu-toggle:before{filter:var(--mobile-sidebar-menu-filter);}.sidebar-menu-toggle:hover{background:var(--main-background-color);}.item-table,.item-row,.item-table>li,.item-table>li>div,.search-results>a,.search-results>a>div{display:block;}.search-results>a{padding:5px 0px;}.search-results>a>div.desc,.item-table>li>div.desc{padding-left:2em;}.search-results .result-name{display:block;}.search-results .result-name .typename{width:initial;margin-right:0;}.search-results .result-name .typename,.search-results .result-name .path{display:inline;}.src-sidebar-expanded .src .sidebar{position:fixed;max-width:100vw;width:100vw;}.src .src-sidebar-title{padding-top:0;}details.toggle:not(.top-doc)>summary{margin-left:10px;}.impl-items>details.toggle>summary:not(.hideme)::before,#main-content>details.toggle:not(.top-doc)>summary::before,#main-content>div>details.toggle>summary::before{left:-11px;}.impl-items>.item-info{margin-left:34px;}.src nav.sub{margin:0;padding:var(--nav-sub-mobile-padding);}}@media (min-width:701px){.scraped-example-title{position:absolute;z-index:10;background:var(--main-background-color);bottom:8px;right:5px;padding:2px 4px;box-shadow:0 0 4px var(--main-background-color);}.item-table>li>.item-name{width:33%;}.item-table>li>div{overflow-wrap:anywhere;}}@media print{nav.sidebar,nav.sub,.out-of-band,a.src,#copy-path,details.toggle[open] >summary::before,details.toggle>summary::before,details.toggle.top-doc>summary{display:none;}.docblock{margin-left:0;}main{padding:10px;}}@media (max-width:464px){.docblock{margin-left:12px;}.docblock code{overflow-wrap:break-word;overflow-wrap:anywhere;}nav.sub{flex-direction:column;}.search-form{align-self:stretch;}}.variant,.implementors-toggle>summary,.impl,#implementors-list>.docblock,.impl-items>section,.impl-items>.toggle>summary,.methods>section,.methods>.toggle>summary{margin-bottom:0.75em;}.variants>.docblock,.implementors-toggle>.docblock,.impl-items>.toggle[open]:not(:last-child),.methods>.toggle[open]:not(:last-child),.implementors-toggle[open]:not(:last-child){margin-bottom:2em;}#trait-implementations-list .impl-items>.toggle:not(:last-child),#synthetic-implementations-list .impl-items>.toggle:not(:last-child),#blanket-implementations-list .impl-items>.toggle:not(:last-child){margin-bottom:1em;}.scraped-example-list .scrape-help{margin-left:10px;padding:0 4px;font-weight:normal;font-size:12px;position:relative;bottom:1px;border:1px solid var(--scrape-example-help-border-color);border-radius:50px;color:var(--scrape-example-help-color);}.scraped-example-list .scrape-help:hover{border-color:var(--scrape-example-help-hover-border-color);color:var(--scrape-example-help-hover-color);}.scraped-example{position:relative;}.scraped-example .code-wrapper{position:relative;display:flex;flex-direction:row;flex-wrap:wrap;width:100%;}.scraped-example:not(.expanded) .code-wrapper{max-height:calc(1.5em * 5 + 10px);}.scraped-example:not(.expanded) .code-wrapper pre{overflow-y:hidden;padding-bottom:0;max-height:calc(1.5em * 5 + 10px);}.more-scraped-examples .scraped-example:not(.expanded) .code-wrapper,.more-scraped-examples .scraped-example:not(.expanded) .code-wrapper pre{max-height:calc(1.5em * 10 + 10px);}.scraped-example .code-wrapper .next,.scraped-example .code-wrapper .prev,.scraped-example .code-wrapper .expand{color:var(--main-color);position:absolute;top:0.25em;z-index:1;padding:0;background:none;border:none;-webkit-appearance:none;opacity:1;}.scraped-example .code-wrapper .prev{right:2.25em;}.scraped-example .code-wrapper .next{right:1.25em;}.scraped-example .code-wrapper .expand{right:0.25em;}.scraped-example:not(.expanded) .code-wrapper::before,.scraped-example:not(.expanded) .code-wrapper::after{content:" ";width:100%;height:5px;position:absolute;z-index:1;}.scraped-example:not(.expanded) .code-wrapper::before{top:0;background:linear-gradient(to bottom,var(--scrape-example-code-wrapper-background-start),var(--scrape-example-code-wrapper-background-end));}.scraped-example:not(.expanded) .code-wrapper::after{bottom:0;background:linear-gradient(to top,var(--scrape-example-code-wrapper-background-start),var(--scrape-example-code-wrapper-background-end));}.scraped-example .code-wrapper .example-wrap{width:100%;overflow-y:hidden;margin-bottom:0;}.scraped-example:not(.expanded) .code-wrapper .example-wrap{overflow-x:hidden;}.scraped-example .example-wrap .rust span.highlight{background:var(--scrape-example-code-line-highlight);}.scraped-example .example-wrap .rust span.highlight.focus{background:var(--scrape-example-code-line-highlight-focus);}.more-examples-toggle{max-width:calc(100% + 25px);margin-top:10px;margin-left:-25px;}.more-examples-toggle .hide-more{margin-left:25px;cursor:pointer;}.more-scraped-examples{margin-left:25px;position:relative;}.toggle-line{position:absolute;top:5px;bottom:0;right:calc(100% + 10px);padding:0 4px;cursor:pointer;}.toggle-line-inner{min-width:2px;height:100%;background:var(--scrape-example-toggle-line-background);}.toggle-line:hover .toggle-line-inner{background:var(--scrape-example-toggle-line-hover-background);}.more-scraped-examples .scraped-example,.example-links{margin-top:20px;}.more-scraped-examples .scraped-example:first-child{margin-top:5px;}.example-links ul{margin-bottom:0;}:root[data-theme="light"],:root:not([data-theme]){--main-background-color:white;--main-color:black;--settings-input-color:#2196f3;--settings-input-border-color:#717171;--settings-button-color:#000;--settings-button-border-focus:#717171;--sidebar-background-color:#f5f5f5;--sidebar-background-color-hover:#e0e0e0;--code-block-background-color:#f5f5f5;--scrollbar-track-background-color:#dcdcdc;--scrollbar-thumb-background-color:rgba(36,37,39,0.6);--scrollbar-color:rgba(36,37,39,0.6) #d9d9d9;--headings-border-bottom-color:#ddd;--border-color:#e0e0e0;--button-background-color:#fff;--right-side-color:grey;--code-attribute-color:#999;--toggles-color:#999;--toggle-filter:none;--mobile-sidebar-menu-filter:none;--search-input-focused-border-color:#66afe9;--copy-path-button-color:#999;--copy-path-img-filter:invert(50%);--copy-path-img-hover-filter:invert(35%);--codeblock-error-hover-color:rgb(255,0,0);--codeblock-error-color:rgba(255,0,0,.5);--codeblock-ignore-hover-color:rgb(255,142,0);--codeblock-ignore-color:rgba(255,142,0,.6);--warning-border-color:#ff8e00;--type-link-color:#ad378a;--trait-link-color:#6e4fc9;--assoc-item-link-color:#3873ad;--function-link-color:#ad7c37;--macro-link-color:#068000;--keyword-link-color:#3873ad;--mod-link-color:#3873ad;--link-color:#3873ad;--sidebar-link-color:#356da4;--sidebar-current-link-background-color:#fff;--search-result-link-focus-background-color:#ccc;--search-result-border-color:#aaa3;--search-color:#000;--search-error-code-background-color:#d0cccc;--search-results-alias-color:#000;--search-results-grey-color:#999;--search-tab-title-count-color:#888;--search-tab-button-not-selected-border-top-color:#e6e6e6;--search-tab-button-not-selected-background:#e6e6e6;--search-tab-button-selected-border-top-color:#0089ff;--search-tab-button-selected-background:#fff;--settings-menu-filter:none;--stab-background-color:#fff5d6;--stab-code-color:#000;--code-highlight-kw-color:#8959a8;--code-highlight-kw-2-color:#4271ae;--code-highlight-lifetime-color:#b76514;--code-highlight-prelude-color:#4271ae;--code-highlight-prelude-val-color:#c82829;--code-highlight-number-color:#718c00;--code-highlight-string-color:#718c00;--code-highlight-literal-color:#c82829;--code-highlight-attribute-color:#c82829;--code-highlight-self-color:#c82829;--code-highlight-macro-color:#3e999f;--code-highlight-question-mark-color:#ff9011;--code-highlight-comment-color:#8e908c;--code-highlight-doc-comment-color:#4d4d4c;--src-line-numbers-span-color:#c67e2d;--src-line-number-highlighted-background-color:#fdffd3;--target-background-color:#fdffd3;--target-border-color:#ad7c37;--kbd-color:#000;--kbd-background:#fafbfc;--kbd-box-shadow-color:#c6cbd1;--rust-logo-filter:initial;--crate-search-div-filter:invert(100%) sepia(0%) saturate(4223%) hue-rotate(289deg) brightness(114%) contrast(76%);--crate-search-div-hover-filter:invert(44%) sepia(18%) saturate(23%) hue-rotate(317deg) brightness(96%) contrast(93%);--crate-search-hover-border:#717171;--src-sidebar-background-selected:#fff;--src-sidebar-background-hover:#e0e0e0;--table-alt-row-background-color:#f5f5f5;--codeblock-link-background:#eee;--scrape-example-toggle-line-background:#ccc;--scrape-example-toggle-line-hover-background:#999;--scrape-example-code-line-highlight:#fcffd6;--scrape-example-code-line-highlight-focus:#f6fdb0;--scrape-example-help-border-color:#555;--scrape-example-help-color:#333;--scrape-example-help-hover-border-color:#000;--scrape-example-help-hover-color:#000;--scrape-example-code-wrapper-background-start:rgba(255,255,255,1);--scrape-example-code-wrapper-background-end:rgba(255,255,255,0);--sidebar-resizer-hover:hsl(207,90%,66%);--sidebar-resizer-active:hsl(207,90%,54%);}:root[data-theme="dark"]{--main-background-color:#353535;--main-color:#ddd;--settings-input-color:#2196f3;--settings-input-border-color:#999;--settings-button-color:#000;--settings-button-border-focus:#ffb900;--sidebar-background-color:#505050;--sidebar-background-color-hover:#676767;--code-block-background-color:#2A2A2A;--scrollbar-track-background-color:#717171;--scrollbar-thumb-background-color:rgba(32,34,37,.6);--scrollbar-color:rgba(32,34,37,.6) #5a5a5a;--headings-border-bottom-color:#d2d2d2;--border-color:#e0e0e0;--button-background-color:#f0f0f0;--right-side-color:grey;--code-attribute-color:#999;--toggles-color:#999;--toggle-filter:invert(100%);--mobile-sidebar-menu-filter:invert(100%);--search-input-focused-border-color:#008dfd;--copy-path-button-color:#999;--copy-path-img-filter:invert(50%);--copy-path-img-hover-filter:invert(65%);--codeblock-error-hover-color:rgb(255,0,0);--codeblock-error-color:rgba(255,0,0,.5);--codeblock-ignore-hover-color:rgb(255,142,0);--codeblock-ignore-color:rgba(255,142,0,.6);--warning-border-color:#ff8e00;--type-link-color:#2dbfb8;--trait-link-color:#b78cf2;--assoc-item-link-color:#d2991d;--function-link-color:#2bab63;--macro-link-color:#09bd00;--keyword-link-color:#d2991d;--mod-link-color:#d2991d;--link-color:#d2991d;--sidebar-link-color:#fdbf35;--sidebar-current-link-background-color:#444;--search-result-link-focus-background-color:#616161;--search-result-border-color:#aaa3;--search-color:#111;--search-error-code-background-color:#484848;--search-results-alias-color:#fff;--search-results-grey-color:#ccc;--search-tab-title-count-color:#888;--search-tab-button-not-selected-border-top-color:#252525;--search-tab-button-not-selected-background:#252525;--search-tab-button-selected-border-top-color:#0089ff;--search-tab-button-selected-background:#353535;--settings-menu-filter:none;--stab-background-color:#314559;--stab-code-color:#e6e1cf;--code-highlight-kw-color:#ab8ac1;--code-highlight-kw-2-color:#769acb;--code-highlight-lifetime-color:#d97f26;--code-highlight-prelude-color:#769acb;--code-highlight-prelude-val-color:#ee6868;--code-highlight-number-color:#83a300;--code-highlight-string-color:#83a300;--code-highlight-literal-color:#ee6868;--code-highlight-attribute-color:#ee6868;--code-highlight-self-color:#ee6868;--code-highlight-macro-color:#3e999f;--code-highlight-question-mark-color:#ff9011;--code-highlight-comment-color:#8d8d8b;--code-highlight-doc-comment-color:#8ca375;--src-line-numbers-span-color:#3b91e2;--src-line-number-highlighted-background-color:#0a042f;--target-background-color:#494a3d;--target-border-color:#bb7410;--kbd-color:#000;--kbd-background:#fafbfc;--kbd-box-shadow-color:#c6cbd1;--rust-logo-filter:drop-shadow(1px 0 0px #fff) drop-shadow(0 1px 0 #fff) drop-shadow(-1px 0 0 #fff) drop-shadow(0 -1px 0 #fff);--crate-search-div-filter:invert(94%) sepia(0%) saturate(721%) hue-rotate(255deg) brightness(90%) contrast(90%);--crate-search-div-hover-filter:invert(69%) sepia(60%) saturate(6613%) hue-rotate(184deg) brightness(100%) contrast(91%);--crate-search-hover-border:#2196f3;--src-sidebar-background-selected:#333;--src-sidebar-background-hover:#444;--table-alt-row-background-color:#2a2a2a;--codeblock-link-background:#333;--scrape-example-toggle-line-background:#999;--scrape-example-toggle-line-hover-background:#c5c5c5;--scrape-example-code-line-highlight:#5b3b01;--scrape-example-code-line-highlight-focus:#7c4b0f;--scrape-example-help-border-color:#aaa;--scrape-example-help-color:#eee;--scrape-example-help-hover-border-color:#fff;--scrape-example-help-hover-color:#fff;--scrape-example-code-wrapper-background-start:rgba(53,53,53,1);--scrape-example-code-wrapper-background-end:rgba(53,53,53,0);--sidebar-resizer-hover:hsl(207,30%,54%);--sidebar-resizer-active:hsl(207,90%,54%);}:root[data-theme="ayu"]{--main-background-color:#0f1419;--main-color:#c5c5c5;--settings-input-color:#ffb454;--settings-input-border-color:#999;--settings-button-color:#fff;--settings-button-border-focus:#e0e0e0;--sidebar-background-color:#14191f;--sidebar-background-color-hover:rgba(70,70,70,0.33);--code-block-background-color:#191f26;--scrollbar-track-background-color:transparent;--scrollbar-thumb-background-color:#5c6773;--scrollbar-color:#5c6773 #24292f;--headings-border-bottom-color:#5c6773;--border-color:#5c6773;--button-background-color:#141920;--right-side-color:grey;--code-attribute-color:#999;--toggles-color:#999;--toggle-filter:invert(100%);--mobile-sidebar-menu-filter:invert(100%);--search-input-focused-border-color:#5c6773;--copy-path-button-color:#fff;--copy-path-img-filter:invert(70%);--copy-path-img-hover-filter:invert(100%);--codeblock-error-hover-color:rgb(255,0,0);--codeblock-error-color:rgba(255,0,0,.5);--codeblock-ignore-hover-color:rgb(255,142,0);--codeblock-ignore-color:rgba(255,142,0,.6);--warning-border-color:#ff8e00;--type-link-color:#ffa0a5;--trait-link-color:#39afd7;--assoc-item-link-color:#39afd7;--function-link-color:#fdd687;--macro-link-color:#a37acc;--keyword-link-color:#39afd7;--mod-link-color:#39afd7;--link-color:#39afd7;--sidebar-link-color:#53b1db;--sidebar-current-link-background-color:transparent;--search-result-link-focus-background-color:#3c3c3c;--search-result-border-color:#aaa3;--search-color:#fff;--search-error-code-background-color:#4f4c4c;--search-results-alias-color:#c5c5c5;--search-results-grey-color:#999;--search-tab-title-count-color:#888;--search-tab-button-not-selected-border-top-color:none;--search-tab-button-not-selected-background:transparent !important;--search-tab-button-selected-border-top-color:none;--search-tab-button-selected-background:#141920 !important;--settings-menu-filter:invert(100%);--stab-background-color:#314559;--stab-code-color:#e6e1cf;--code-highlight-kw-color:#ff7733;--code-highlight-kw-2-color:#ff7733;--code-highlight-lifetime-color:#ff7733;--code-highlight-prelude-color:#69f2df;--code-highlight-prelude-val-color:#ff7733;--code-highlight-number-color:#b8cc52;--code-highlight-string-color:#b8cc52;--code-highlight-literal-color:#ff7733;--code-highlight-attribute-color:#e6e1cf;--code-highlight-self-color:#36a3d9;--code-highlight-macro-color:#a37acc;--code-highlight-question-mark-color:#ff9011;--code-highlight-comment-color:#788797;--code-highlight-doc-comment-color:#a1ac88;--src-line-numbers-span-color:#5c6773;--src-line-number-highlighted-background-color:rgba(255,236,164,0.06);--target-background-color:rgba(255,236,164,0.06);--target-border-color:rgba(255,180,76,0.85);--kbd-color:#c5c5c5;--kbd-background:#314559;--kbd-box-shadow-color:#5c6773;--rust-logo-filter:drop-shadow(1px 0 0px #fff) drop-shadow(0 1px 0 #fff) drop-shadow(-1px 0 0 #fff) drop-shadow(0 -1px 0 #fff);--crate-search-div-filter:invert(41%) sepia(12%) saturate(487%) hue-rotate(171deg) brightness(94%) contrast(94%);--crate-search-div-hover-filter:invert(98%) sepia(12%) saturate(81%) hue-rotate(343deg) brightness(113%) contrast(76%);--crate-search-hover-border:#e0e0e0;--src-sidebar-background-selected:#14191f;--src-sidebar-background-hover:#14191f;--table-alt-row-background-color:#191f26;--codeblock-link-background:#333;--scrape-example-toggle-line-background:#999;--scrape-example-toggle-line-hover-background:#c5c5c5;--scrape-example-code-line-highlight:#5b3b01;--scrape-example-code-line-highlight-focus:#7c4b0f;--scrape-example-help-border-color:#aaa;--scrape-example-help-color:#eee;--scrape-example-help-hover-border-color:#fff;--scrape-example-help-hover-color:#fff;--scrape-example-code-wrapper-background-start:rgba(15,20,25,1);--scrape-example-code-wrapper-background-end:rgba(15,20,25,0);--sidebar-resizer-hover:hsl(34,50%,33%);--sidebar-resizer-active:hsl(34,100%,66%);}:root[data-theme="ayu"] h1,:root[data-theme="ayu"] h2,:root[data-theme="ayu"] h3,:root[data-theme="ayu"] h4,:where(:root[data-theme="ayu"]) h1 a,:root[data-theme="ayu"] .sidebar h2 a,:root[data-theme="ayu"] .sidebar h3 a{color:#fff;}:root[data-theme="ayu"] .docblock code{color:#ffb454;}:root[data-theme="ayu"] .docblock a>code{color:#39AFD7 !important;}:root[data-theme="ayu"] .code-header,:root[data-theme="ayu"] .docblock pre>code,:root[data-theme="ayu"] pre,:root[data-theme="ayu"] pre>code,:root[data-theme="ayu"] .item-info code,:root[data-theme="ayu"] .rustdoc.source .example-wrap{color:#e6e1cf;}:root[data-theme="ayu"] .sidebar .current,:root[data-theme="ayu"] .sidebar .current a,:root[data-theme="ayu"] .sidebar a:hover,:root[data-theme="ayu"] #src-sidebar div.files>a:hover,:root[data-theme="ayu"] details.dir-entry summary:hover,:root[data-theme="ayu"] #src-sidebar div.files>a:focus,:root[data-theme="ayu"] details.dir-entry summary:focus,:root[data-theme="ayu"] #src-sidebar div.files>a.selected{color:#ffb44c;}:root[data-theme="ayu"] .sidebar-elems .location{color:#ff7733;}:root[data-theme="ayu"] .src-line-numbers .line-highlighted{color:#708090;padding-right:7px;border-right:1px solid #ffb44c;}:root[data-theme="ayu"] .search-results a:hover,:root[data-theme="ayu"] .search-results a:focus{color:#fff !important;background-color:#3c3c3c;}:root[data-theme="ayu"] .search-results a{color:#0096cf;}:root[data-theme="ayu"] .search-results a div.desc{color:#c5c5c5;}:root[data-theme="ayu"] .result-name .primitive>i,:root[data-theme="ayu"] .result-name .keyword>i{color:#788797;}:root[data-theme="ayu"] #search-tabs>button.selected{border-bottom:1px solid #ffb44c !important;border-top:none;}:root[data-theme="ayu"] #search-tabs>button:not(.selected){border:none;background-color:transparent !important;}:root[data-theme="ayu"] #search-tabs>button:hover{border-bottom:1px solid rgba(242,151,24,0.3);}:root[data-theme="ayu"] #settings-menu>a img,:root[data-theme="ayu"] #sidebar-button>a:before{filter:invert(100);} \ No newline at end of file diff --git a/static.files/scrape-examples-ef1e698c1d417c0c.js b/static.files/scrape-examples-ef1e698c1d417c0c.js new file mode 100644 index 000000000..ba830e374 --- /dev/null +++ b/static.files/scrape-examples-ef1e698c1d417c0c.js @@ -0,0 +1 @@ +"use strict";(function(){const DEFAULT_MAX_LINES=5;const HIDDEN_MAX_LINES=10;function scrollToLoc(elt,loc,isHidden){const lines=elt.querySelector(".src-line-numbers");let scrollOffset;const maxLines=isHidden?HIDDEN_MAX_LINES:DEFAULT_MAX_LINES;if(loc[1]-loc[0]>maxLines){const line=Math.max(0,loc[0]-1);scrollOffset=lines.children[line].offsetTop}else{const wrapper=elt.querySelector(".code-wrapper");const halfHeight=wrapper.offsetHeight/2;const offsetTop=lines.children[loc[0]].offsetTop;const lastLine=lines.children[loc[1]];const offsetBot=lastLine.offsetTop+lastLine.offsetHeight;const offsetMid=(offsetTop+offsetBot)/2;scrollOffset=offsetMid-halfHeight}lines.scrollTo(0,scrollOffset);elt.querySelector(".rust").scrollTo(0,scrollOffset)}function updateScrapedExample(example,isHidden){const locs=JSON.parse(example.attributes.getNamedItem("data-locs").textContent);let locIndex=0;const highlights=Array.prototype.slice.call(example.querySelectorAll(".highlight"));const link=example.querySelector(".scraped-example-title a");if(locs.length>1){const onChangeLoc=changeIndex=>{removeClass(highlights[locIndex],"focus");changeIndex();scrollToLoc(example,locs[locIndex][0],isHidden);addClass(highlights[locIndex],"focus");const url=locs[locIndex][1];const title=locs[locIndex][2];link.href=url;link.innerHTML=title};example.querySelector(".prev").addEventListener("click",()=>{onChangeLoc(()=>{locIndex=(locIndex-1+locs.length)%locs.length})});example.querySelector(".next").addEventListener("click",()=>{onChangeLoc(()=>{locIndex=(locIndex+1)%locs.length})})}const expandButton=example.querySelector(".expand");if(expandButton){expandButton.addEventListener("click",()=>{if(hasClass(example,"expanded")){removeClass(example,"expanded");scrollToLoc(example,locs[0][0],isHidden)}else{addClass(example,"expanded")}})}scrollToLoc(example,locs[0][0],isHidden)}const firstExamples=document.querySelectorAll(".scraped-example-list > .scraped-example");onEachLazy(firstExamples,el=>updateScrapedExample(el,false));onEachLazy(document.querySelectorAll(".more-examples-toggle"),toggle=>{onEachLazy(toggle.querySelectorAll(".toggle-line, .hide-more"),button=>{button.addEventListener("click",()=>{toggle.open=false})});const moreExamples=toggle.querySelectorAll(".scraped-example");toggle.querySelector("summary").addEventListener("click",()=>{setTimeout(()=>{onEachLazy(moreExamples,el=>updateScrapedExample(el,true))})},{once:true})})})() \ No newline at end of file diff --git a/static.files/search-a99f1315e7cc5121.js b/static.files/search-a99f1315e7cc5121.js new file mode 100644 index 000000000..aee0fc77f --- /dev/null +++ b/static.files/search-a99f1315e7cc5121.js @@ -0,0 +1,5 @@ +"use strict";if(!Array.prototype.toSpliced){Array.prototype.toSpliced=function(){const me=this.slice();Array.prototype.splice.apply(me,arguments);return me}}(function(){const itemTypes=["keyword","primitive","mod","externcrate","import","struct","enum","fn","type","static","trait","impl","tymethod","method","structfield","variant","macro","associatedtype","constant","associatedconstant","union","foreigntype","existential","attr","derive","traitalias","generic",];const TY_GENERIC=itemTypes.indexOf("generic");const TY_IMPORT=itemTypes.indexOf("import");const ROOT_PATH=typeof window!=="undefined"?window.rootPath:"../";const UNBOXING_LIMIT=5;const REGEX_IDENT=/\p{ID_Start}\p{ID_Continue}*|_\p{ID_Continue}+/uy;const REGEX_INVALID_TYPE_FILTER=/[^a-z]/ui;const MAX_RESULTS=200;const NO_TYPE_FILTER=-1;const editDistanceState={current:[],prev:[],prevPrev:[],calculate:function calculate(a,b,limit){if(a.lengthlimit){return limit+1}while(b.length>0&&b[0]===a[0]){a=a.substring(1);b=b.substring(1)}while(b.length>0&&b[b.length-1]===a[a.length-1]){a=a.substring(0,a.length-1);b=b.substring(0,b.length-1)}if(b.length===0){return minDist}const aLength=a.length;const bLength=b.length;for(let i=0;i<=bLength;++i){this.current[i]=0;this.prev[i]=i;this.prevPrev[i]=Number.MAX_VALUE}for(let i=1;i<=aLength;++i){this.current[0]=i;const aIdx=i-1;for(let j=1;j<=bLength;++j){const bIdx=j-1;const substitutionCost=a[aIdx]===b[bIdx]?0:1;this.current[j]=Math.min(this.prev[j]+1,this.current[j-1]+1,this.prev[j-1]+substitutionCost,);if((i>1)&&(j>1)&&(a[aIdx]===b[bIdx-1])&&(a[aIdx-1]===b[bIdx])){this.current[j]=Math.min(this.current[j],this.prevPrev[j-2]+1,)}}const prevPrevTmp=this.prevPrev;this.prevPrev=this.prev;this.prev=this.current;this.current=prevPrevTmp}const distance=this.prev[bLength];return distance<=limit?distance:(limit+1)},};function editDistance(a,b,limit){return editDistanceState.calculate(a,b,limit)}function isEndCharacter(c){return"=,>-])".indexOf(c)!==-1}function isSeparatorCharacter(c){return c===","||c==="="}function isReturnArrow(parserState){return parserState.userQuery.slice(parserState.pos,parserState.pos+2)==="->"}function skipWhitespace(parserState){while(parserState.pos0){const c=parserState.userQuery[pos-1];if(c===lookingFor){return true}else if(c!==" "){break}pos-=1}return false}function isLastElemGeneric(elems,parserState){return(elems.length>0&&elems[elems.length-1].generics.length>0)||prevIs(parserState,">")}function getFilteredNextElem(query,parserState,elems,isInGenerics){const start=parserState.pos;if(parserState.userQuery[parserState.pos]===":"&&!isPathStart(parserState)){throw["Expected type filter before ",":"]}getNextElem(query,parserState,elems,isInGenerics);if(parserState.userQuery[parserState.pos]===":"&&!isPathStart(parserState)){if(parserState.typeFilter!==null){throw["Unexpected ",":"," (expected path after type filter ",parserState.typeFilter+":",")",]}if(elems.length===0){throw["Expected type filter before ",":"]}else if(query.literalSearch){throw["Cannot use quotes on type filter"]}const typeFilterElem=elems.pop();checkExtraTypeFilterCharacters(start,parserState);parserState.typeFilter=typeFilterElem.name;parserState.pos+=1;parserState.totalElems-=1;query.literalSearch=false;getNextElem(query,parserState,elems,isInGenerics)}}function getItemsBefore(query,parserState,elems,endChar){let foundStopChar=true;let foundSeparator=false;const oldTypeFilter=parserState.typeFilter;parserState.typeFilter=null;const oldIsInBinding=parserState.isInBinding;parserState.isInBinding=null;let hofParameters=null;let extra="";if(endChar===">"){extra="<"}else if(endChar==="]"){extra="["}else if(endChar===")"){extra="("}else if(endChar===""){extra="->"}else{extra=endChar}while(parserState.pos"," after ","="]}hofParameters=[...elems];elems.length=0;parserState.pos+=2;foundStopChar=true;foundSeparator=false;continue}else if(c===" "){parserState.pos+=1;continue}else if(isSeparatorCharacter(c)){parserState.pos+=1;foundStopChar=true;foundSeparator=true;continue}else if(c===":"&&isPathStart(parserState)){throw["Unexpected ","::",": paths cannot start with ","::"]}else if(isEndCharacter(c)){throw["Unexpected ",c," after ",extra]}if(!foundStopChar){let extra=[];if(isLastElemGeneric(query.elems,parserState)){extra=[" after ",">"]}else if(prevIs(parserState,"\"")){throw["Cannot have more than one element if you use quotes"]}if(endChar!==""){throw["Expected ",",",", ","=",", or ",endChar,...extra,", found ",c,]}throw["Expected ",","," or ","=",...extra,", found ",c,]}const posBefore=parserState.pos;getFilteredNextElem(query,parserState,elems,endChar!=="");if(endChar!==""&&parserState.pos>=parserState.length){throw["Unclosed ",extra]}if(posBefore===parserState.pos){parserState.pos+=1}foundStopChar=false}if(parserState.pos>=parserState.length&&endChar!==""){throw["Unclosed ",extra]}parserState.pos+=1;if(hofParameters){foundSeparator=false;if([...elems,...hofParameters].some(x=>x.bindingName)||parserState.isInBinding){throw["Unexpected ","="," within ","->"]}const hofElem=makePrimitiveElement("->",{generics:hofParameters,bindings:new Map([["output",[...elems]]]),typeFilter:null,});elems.length=0;elems[0]=hofElem}parserState.typeFilter=oldTypeFilter;parserState.isInBinding=oldIsInBinding;return{foundSeparator}}function getNextElem(query,parserState,elems,isInGenerics){const generics=[];skipWhitespace(parserState);let start=parserState.pos;let end;if("[(".indexOf(parserState.userQuery[parserState.pos])!==-1){let endChar=")";let name="()";let friendlyName="tuple";if(parserState.userQuery[parserState.pos]==="["){endChar="]";name="[]";friendlyName="slice"}parserState.pos+=1;const{foundSeparator}=getItemsBefore(query,parserState,generics,endChar);const typeFilter=parserState.typeFilter;const bindingName=parserState.isInBinding;parserState.typeFilter=null;parserState.isInBinding=null;for(const gen of generics){if(gen.bindingName!==null){throw["Type parameter ","=",` cannot be within ${friendlyName} `,name]}}if(name==="()"&&!foundSeparator&&generics.length===1&&typeFilter===null){elems.push(generics[0])}else if(name==="()"&&generics.length===1&&generics[0].name==="->"){generics[0].typeFilter=typeFilter;elems.push(generics[0])}else{if(typeFilter!==null&&typeFilter!=="primitive"){throw["Invalid search type: primitive ",name," and ",typeFilter," both specified",]}parserState.totalElems+=1;if(isInGenerics){parserState.genericsElems+=1}elems.push(makePrimitiveElement(name,{bindingName,generics}))}}else if(parserState.userQuery[parserState.pos]==="&"){if(parserState.typeFilter!==null&&parserState.typeFilter!=="primitive"){throw["Invalid search type: primitive ","&"," and ",parserState.typeFilter," both specified",]}parserState.typeFilter=null;parserState.pos+=1;let c=parserState.userQuery[parserState.pos];while(c===" "&&parserState.pos=end){throw["Found generics without a path"]}parserState.pos+=1;getItemsBefore(query,parserState,generics,">")}else if(parserState.pos=end){throw["Found generics without a path"]}if(parserState.isInBinding){throw["Unexpected ","("," after ","="]}parserState.pos+=1;const typeFilter=parserState.typeFilter;parserState.typeFilter=null;getItemsBefore(query,parserState,generics,")");skipWhitespace(parserState);if(isReturnArrow(parserState)){parserState.pos+=2;skipWhitespace(parserState);getFilteredNextElem(query,parserState,generics,isInGenerics);generics[generics.length-1].bindingName=makePrimitiveElement("output")}else{generics.push(makePrimitiveElement(null,{bindingName:makePrimitiveElement("output"),typeFilter:null,}))}parserState.typeFilter=typeFilter}if(isStringElem){skipWhitespace(parserState)}if(start>=end&&generics.length===0){return}if(parserState.userQuery[parserState.pos]==="="){if(parserState.isInBinding){throw["Cannot write ","="," twice in a binding"]}if(!isInGenerics){throw["Type parameter ","="," must be within generics list"]}const name=parserState.userQuery.slice(start,end).trim();if(name==="!"){throw["Type parameter ","="," key cannot be ","!"," never type"]}if(name.includes("!")){throw["Type parameter ","="," key cannot be ","!"," macro"]}if(name.includes("::")){throw["Type parameter ","="," key cannot contain ","::"," path"]}if(name.includes(":")){throw["Type parameter ","="," key cannot contain ",":"," type"]}parserState.isInBinding={name,generics}}else{elems.push(createQueryElement(query,parserState,parserState.userQuery.slice(start,end),generics,isInGenerics,),)}}}function checkExtraTypeFilterCharacters(start,parserState){const query=parserState.userQuery.slice(start,parserState.pos).trim();const match=query.match(REGEX_INVALID_TYPE_FILTER);if(match){throw["Unexpected ",match[0]," in type filter (before ",":",")",]}}function createQueryElement(query,parserState,name,generics,isInGenerics){const path=name.trim();if(path.length===0&&generics.length===0){throw["Unexpected ",parserState.userQuery[parserState.pos]]}if(query.literalSearch&&parserState.totalElems-parserState.genericsElems>0){throw["Cannot have more than one element if you use quotes"]}const typeFilter=parserState.typeFilter;parserState.typeFilter=null;if(name==="!"){if(typeFilter!==null&&typeFilter!=="primitive"){throw["Invalid search type: primitive never type ","!"," and ",typeFilter," both specified",]}if(generics.length!==0){throw["Never type ","!"," does not accept generic parameters",]}const bindingName=parserState.isInBinding;parserState.isInBinding=null;return makePrimitiveElement("never",{bindingName})}const quadcolon=/::\s*::/.exec(path);if(path.startsWith("::")){throw["Paths cannot start with ","::"]}else if(path.endsWith("::")){throw["Paths cannot end with ","::"]}else if(quadcolon!==null){throw["Unexpected ",quadcolon[0]]}const pathSegments=path.split(/(?:::\s*)|(?:\s+(?:::\s*)?)/);if(pathSegments.length===0||(pathSegments.length===1&&pathSegments[0]==="")){if(generics.length>0||prevIs(parserState,">")){throw["Found generics without a path"]}else{throw["Unexpected ",parserState.userQuery[parserState.pos]]}}for(const[i,pathSegment]of pathSegments.entries()){if(pathSegment==="!"){if(i!==0){throw["Never type ","!"," is not associated item"]}pathSegments[i]="never"}}parserState.totalElems+=1;if(isInGenerics){parserState.genericsElems+=1}const bindingName=parserState.isInBinding;parserState.isInBinding=null;const bindings=new Map();const pathLast=pathSegments[pathSegments.length-1];return{name:name.trim(),id:null,fullPath:pathSegments,pathWithoutLast:pathSegments.slice(0,pathSegments.length-1),pathLast,normalizedPathLast:pathLast.replace(/_/g,""),generics:generics.filter(gen=>{if(gen.bindingName!==null){if(gen.name!==null){gen.bindingName.generics.unshift(gen)}bindings.set(gen.bindingName.name,gen.bindingName.generics);return false}return true}),bindings,typeFilter,bindingName,}}function makePrimitiveElement(name,extra){return Object.assign({name,id:null,fullPath:[name],pathWithoutLast:[],pathLast:name,normalizedPathLast:name,generics:[],bindings:new Map(),typeFilter:"primitive",bindingName:null,},extra)}function getStringElem(query,parserState,isInGenerics){if(isInGenerics){throw["Unexpected ","\""," in generics"]}else if(query.literalSearch){throw["Cannot have more than one literal search element"]}else if(parserState.totalElems-parserState.genericsElems>0){throw["Cannot use literal search when there is more than one element"]}parserState.pos+=1;const start=parserState.pos;const end=getIdentEndPosition(parserState);if(parserState.pos>=parserState.length){throw["Unclosed ","\""]}else if(parserState.userQuery[end]!=="\""){throw["Unexpected ",parserState.userQuery[end]," in a string element"]}else if(start===end){throw["Cannot have empty string element"]}parserState.pos+=1;query.literalSearch=true}function getIdentEndPosition(parserState){let afterIdent=consumeIdent(parserState);let end=parserState.pos;let macroExclamation=-1;while(parserState.pos0){throw["Unexpected ",c," after ",parserState.userQuery[parserState.pos-1]," (not a valid identifier)"]}else{throw["Unexpected ",c," (not a valid identifier)"]}parserState.pos+=1;afterIdent=consumeIdent(parserState);end=parserState.pos}if(macroExclamation!==-1){if(parserState.typeFilter===null){parserState.typeFilter="macro"}else if(parserState.typeFilter!=="macro"){throw["Invalid search type: macro ","!"," and ",parserState.typeFilter," both specified",]}end=macroExclamation}return end}function isSpecialStartCharacter(c){return"<\"".indexOf(c)!==-1}function isPathStart(parserState){return parserState.userQuery.slice(parserState.pos,parserState.pos+2)==="::"}function consumeIdent(parserState){REGEX_IDENT.lastIndex=parserState.pos;const match=parserState.userQuery.match(REGEX_IDENT);if(match){parserState.pos+=match[0].length;return true}return false}function isPathSeparator(c){return c===":"||c===" "}class VlqHexDecoder{constructor(string,cons){this.string=string;this.cons=cons;this.offset=0;this.backrefQueue=[]}decodeList(){let c=this.string.charCodeAt(this.offset);const ret=[];while(c!==125){ret.push(this.decode());c=this.string.charCodeAt(this.offset)}this.offset+=1;return ret}decode(){let n=0;let c=this.string.charCodeAt(this.offset);if(c===123){this.offset+=1;return this.decodeList()}while(c<96){n=(n<<4)|(c&0xF);this.offset+=1;c=this.string.charCodeAt(this.offset)}n=(n<<4)|(c&0xF);const[sign,value]=[n&1,n>>1];this.offset+=1;return sign?-value:value}next(){const c=this.string.charCodeAt(this.offset);if(c>=48&&c<64){this.offset+=1;return this.backrefQueue[c-48]}if(c===96){this.offset+=1;return this.cons(0)}const result=this.cons(this.decode());this.backrefQueue.unshift(result);if(this.backrefQueue.length>16){this.backrefQueue.pop()}return result}}class RoaringBitmap{constructor(str){const strdecoded=atob(str);const u8array=new Uint8Array(strdecoded.length);for(let j=0;j=4){offsets=[];for(let j=0;j>3]&(1<<(j&0x7))){const runcount=(u8array[i]|(u8array[i+1]<<8));i+=2;this.containers.push(new RoaringBitmapRun(runcount,u8array.slice(i,i+(runcount*4)),));i+=runcount*4}else if(this.cardinalities[j]>=4096){this.containers.push(new RoaringBitmapBits(u8array.slice(i,i+8192)));i+=8192}else{const end=this.cardinalities[j]*2;this.containers.push(new RoaringBitmapArray(this.cardinalities[j],u8array.slice(i,i+end),));i+=end}}}contains(keyvalue){const key=keyvalue>>16;const value=keyvalue&0xFFFF;for(let i=0;i=start&&value<=(start+lenm1)){return true}}return false}}class RoaringBitmapArray{constructor(cardinality,array){this.cardinality=cardinality;this.array=array}contains(value){const l=this.cardinality*2;for(let i=0;i>3]&(1<<(value&7)))}}class DocSearch{constructor(rawSearchIndex,rootPath,searchState){this.searchIndexDeprecated=new Map();this.searchIndexEmptyDesc=new Map();this.functionTypeFingerprint=null;this.typeNameIdMap=new Map();this.ALIASES=new Map();this.rootPath=rootPath;this.searchState=searchState;this.typeNameIdOfArray=this.buildTypeMapIndex("array");this.typeNameIdOfSlice=this.buildTypeMapIndex("slice");this.typeNameIdOfArrayOrSlice=this.buildTypeMapIndex("[]");this.typeNameIdOfTuple=this.buildTypeMapIndex("tuple");this.typeNameIdOfUnit=this.buildTypeMapIndex("unit");this.typeNameIdOfTupleOrUnit=this.buildTypeMapIndex("()");this.typeNameIdOfFn=this.buildTypeMapIndex("fn");this.typeNameIdOfFnMut=this.buildTypeMapIndex("fnmut");this.typeNameIdOfFnOnce=this.buildTypeMapIndex("fnonce");this.typeNameIdOfHof=this.buildTypeMapIndex("->");this.EMPTY_BINDINGS_MAP=new Map();this.EMPTY_GENERICS_ARRAY=[];this.TYPES_POOL=new Map();this.searchIndex=this.buildIndex(rawSearchIndex)}buildTypeMapIndex(name,isAssocType){if(name===""||name===null){return null}if(this.typeNameIdMap.has(name)){const obj=this.typeNameIdMap.get(name);obj.assocOnly=isAssocType&&obj.assocOnly;return obj.id}else{const id=this.typeNameIdMap.size;this.typeNameIdMap.set(name,{id,assocOnly:isAssocType});return id}}buildItemSearchTypeAll(types,lowercasePaths){return types.length>0?types.map(type=>this.buildItemSearchType(type,lowercasePaths)):this.EMPTY_GENERICS_ARRAY}buildItemSearchType(type,lowercasePaths,isAssocType){const PATH_INDEX_DATA=0;const GENERICS_DATA=1;const BINDINGS_DATA=2;let pathIndex,generics,bindings;if(typeof type==="number"){pathIndex=type;generics=this.EMPTY_GENERICS_ARRAY;bindings=this.EMPTY_BINDINGS_MAP}else{pathIndex=type[PATH_INDEX_DATA];generics=this.buildItemSearchTypeAll(type[GENERICS_DATA],lowercasePaths,);if(type.length>BINDINGS_DATA&&type[BINDINGS_DATA].length>0){bindings=new Map(type[BINDINGS_DATA].map(binding=>{const[assocType,constraints]=binding;return[this.buildItemSearchType(assocType,lowercasePaths,true).id,this.buildItemSearchTypeAll(constraints,lowercasePaths),]}))}else{bindings=this.EMPTY_BINDINGS_MAP}}let result;if(pathIndex<0){result={id:pathIndex,ty:TY_GENERIC,path:null,exactPath:null,generics,bindings,}}else if(pathIndex===0){result={id:null,ty:null,path:null,exactPath:null,generics,bindings,}}else{const item=lowercasePaths[pathIndex-1];result={id:this.buildTypeMapIndex(item.name,isAssocType),ty:item.ty,path:item.path,exactPath:item.exactPath,generics,bindings,}}const cr=this.TYPES_POOL.get(result.id);if(cr){if(cr.generics.length===result.generics.length&&cr.generics!==result.generics&&cr.generics.every((x,i)=>result.generics[i]===x)){result.generics=cr.generics}if(cr.bindings.size===result.bindings.size&&cr.bindings!==result.bindings){let ok=true;for(const[k,v]of cr.bindings.entries()){const v2=result.bindings.get(v);if(!v2){ok=false;break}if(v!==v2&&v.length===v2.length&&v.every((x,i)=>v2[i]===x)){result.bindings.set(k,v)}else if(v!==v2){ok=false;break}}if(ok){result.bindings=cr.bindings}}if(cr.ty===result.ty&&cr.path===result.path&&cr.bindings===result.bindings&&cr.generics===result.generics&&cr.ty===result.ty){return cr}}this.TYPES_POOL.set(result.id,result);return result}buildFunctionTypeFingerprint(type,output,fps){let input=type.id;if(input===this.typeNameIdOfArray||input===this.typeNameIdOfSlice){input=this.typeNameIdOfArrayOrSlice}if(input===this.typeNameIdOfTuple||input===this.typeNameIdOfUnit){input=this.typeNameIdOfTupleOrUnit}if(input===this.typeNameIdOfFn||input===this.typeNameIdOfFnMut||input===this.typeNameIdOfFnOnce){input=this.typeNameIdOfHof}const hashint1=k=>{k=(~~k+0x7ed55d16)+(k<<12);k=(k ^ 0xc761c23c)^(k>>>19);k=(~~k+0x165667b1)+(k<<5);k=(~~k+0xd3a2646c)^(k<<9);k=(~~k+0xfd7046c5)+(k<<3);return(k ^ 0xb55a4f09)^(k>>>16)};const hashint2=k=>{k=~k+(k<<15);k ^=k>>>12;k+=k<<2;k ^=k>>>4;k=Math.imul(k,2057);return k ^(k>>16)};if(input!==null){const h0a=hashint1(input);const h0b=hashint2(input);const h1a=~~(h0a+Math.imul(h0b,2));const h1b=~~(h0a+Math.imul(h0b,3));const h2a=~~(h0a+Math.imul(h0b,4));const h2b=~~(h0a+Math.imul(h0b,5));output[0]|=(1<<(h0a%32))|(1<<(h1b%32));output[1]|=(1<<(h1a%32))|(1<<(h2b%32));output[2]|=(1<<(h2a%32))|(1<<(h0b%32));fps.add(input)}for(const g of type.generics){this.buildFunctionTypeFingerprint(g,output,fps)}const fb={id:null,ty:0,generics:this.EMPTY_GENERICS_ARRAY,bindings:this.EMPTY_BINDINGS_MAP,};for(const[k,v]of type.bindings.entries()){fb.id=k;fb.generics=v;this.buildFunctionTypeFingerprint(fb,output,fps)}output[3]=fps.size}buildIndex(rawSearchIndex){const buildFunctionSearchTypeCallback=lowercasePaths=>{return functionSearchType=>{if(functionSearchType===0){return null}const INPUTS_DATA=0;const OUTPUT_DATA=1;let inputs,output;if(typeof functionSearchType[INPUTS_DATA]==="number"){inputs=[this.buildItemSearchType(functionSearchType[INPUTS_DATA],lowercasePaths),]}else{inputs=this.buildItemSearchTypeAll(functionSearchType[INPUTS_DATA],lowercasePaths,)}if(functionSearchType.length>1){if(typeof functionSearchType[OUTPUT_DATA]==="number"){output=[this.buildItemSearchType(functionSearchType[OUTPUT_DATA],lowercasePaths,),]}else{output=this.buildItemSearchTypeAll(functionSearchType[OUTPUT_DATA],lowercasePaths,)}}else{output=[]}const where_clause=[];const l=functionSearchType.length;for(let i=2;inoop);let descShard={crate,shard:0,start:0,len:itemDescShardDecoder.next(),promise:null,resolve:null,};const descShardList=[descShard];this.searchIndexDeprecated.set(crate,new RoaringBitmap(crateCorpus.c));this.searchIndexEmptyDesc.set(crate,new RoaringBitmap(crateCorpus.e));let descIndex=0;const crateRow={crate,ty:3,name:crate,path:"",descShard,descIndex,exactPath:"",desc:crateCorpus.doc,parent:undefined,type:null,id,word:crate,normalizedName:crate.indexOf("_")===-1?crate:crate.replace(/_/g,""),bitIndex:0,implDisambiguator:null,};id+=1;searchIndex.push(crateRow);currentIndex+=1;if(!this.searchIndexEmptyDesc.get(crate).contains(0)){descIndex+=1}const itemTypes=crateCorpus.t;const itemNames=crateCorpus.n;const itemPaths=new Map(crateCorpus.q);const itemReexports=new Map(crateCorpus.r);const itemParentIdxDecoder=new VlqHexDecoder(crateCorpus.i,noop=>noop);const implDisambiguator=new Map(crateCorpus.b);const paths=crateCorpus.p;const aliases=crateCorpus.a;const lowercasePaths=[];const itemFunctionDecoder=new VlqHexDecoder(crateCorpus.f,buildFunctionSearchTypeCallback(lowercasePaths),);let len=paths.length;let lastPath=itemPaths.get(0);for(let i=0;i2){path=itemPaths.has(elem[2])?itemPaths.get(elem[2]):lastPath;lastPath=path}const exactPath=elem.length>3?itemPaths.get(elem[3]):path;lowercasePaths.push({ty,name:name.toLowerCase(),path,exactPath});paths[i]={ty,name,path,exactPath}}lastPath="";len=itemTypes.length;let lastName="";let lastWord="";for(let i=0;i=descShard.len&&!this.searchIndexEmptyDesc.get(crate).contains(bitIndex)){descShard={crate,shard:descShard.shard+1,start:descShard.start+descShard.len,len:itemDescShardDecoder.next(),promise:null,resolve:null,};descIndex=0;descShardList.push(descShard)}const name=itemNames[i]===""?lastName:itemNames[i];const word=itemNames[i]===""?lastWord:itemNames[i].toLowerCase();const path=itemPaths.has(i)?itemPaths.get(i):lastPath;const type=itemFunctionDecoder.next();if(type!==null){if(type){const fp=this.functionTypeFingerprint.subarray(id*4,(id+1)*4);const fps=new Set();for(const t of type.inputs){this.buildFunctionTypeFingerprint(t,fp,fps)}for(const t of type.output){this.buildFunctionTypeFingerprint(t,fp,fps)}for(const w of type.where_clause){for(const t of w){this.buildFunctionTypeFingerprint(t,fp,fps)}}}}const itemParentIdx=itemParentIdxDecoder.next();const row={crate,ty:itemTypes.charCodeAt(i)-65,name,path,descShard,descIndex,exactPath:itemReexports.has(i)?itemPaths.get(itemReexports.get(i)):path,parent:itemParentIdx>0?paths[itemParentIdx-1]:undefined,type,id,word,normalizedName:word.indexOf("_")===-1?word:word.replace(/_/g,""),bitIndex,implDisambiguator:implDisambiguator.has(i)?implDisambiguator.get(i):null,};id+=1;searchIndex.push(row);lastPath=row.path;if(!this.searchIndexEmptyDesc.get(crate).contains(bitIndex)){descIndex+=1}lastName=name;lastWord=word}if(aliases){const currentCrateAliases=new Map();this.ALIASES.set(crate,currentCrateAliases);for(const alias_name in aliases){if(!Object.prototype.hasOwnProperty.call(aliases,alias_name)){continue}let currentNameAliases;if(currentCrateAliases.has(alias_name)){currentNameAliases=currentCrateAliases.get(alias_name)}else{currentNameAliases=[];currentCrateAliases.set(alias_name,currentNameAliases)}for(const local_alias of aliases[alias_name]){currentNameAliases.push(local_alias+currentIndex)}}}currentIndex+=itemTypes.length;this.searchState.descShards.set(crate,descShardList)}this.TYPES_POOL=new Map();return searchIndex}static parseQuery(userQuery){function itemTypeFromName(typename){const index=itemTypes.findIndex(i=>i===typename);if(index<0){throw["Unknown type filter ",typename]}return index}function convertTypeFilterOnElem(elem){if(elem.typeFilter!==null){let typeFilter=elem.typeFilter;if(typeFilter==="const"){typeFilter="constant"}elem.typeFilter=itemTypeFromName(typeFilter)}else{elem.typeFilter=NO_TYPE_FILTER}for(const elem2 of elem.generics){convertTypeFilterOnElem(elem2)}for(const constraints of elem.bindings.values()){for(const constraint of constraints){convertTypeFilterOnElem(constraint)}}}function newParsedQuery(userQuery){return{original:userQuery,userQuery:userQuery.toLowerCase(),elems:[],returned:[],foundElems:0,totalElems:0,literalSearch:false,error:null,correction:null,proposeCorrectionFrom:null,proposeCorrectionTo:null,typeFingerprint:new Uint32Array(4),}}function parseInput(query,parserState){let foundStopChar=true;while(parserState.pos"){if(isReturnArrow(parserState)){break}throw["Unexpected ",c," (did you mean ","->","?)"]}else if(parserState.pos>0){throw["Unexpected ",c," after ",parserState.userQuery[parserState.pos-1]]}throw["Unexpected ",c]}else if(c===" "){skipWhitespace(parserState);continue}if(!foundStopChar){let extra="";if(isLastElemGeneric(query.elems,parserState)){extra=[" after ",">"]}else if(prevIs(parserState,"\"")){throw["Cannot have more than one element if you use quotes"]}if(parserState.typeFilter!==null){throw["Expected ",","," or ","->",...extra,", found ",c,]}throw["Expected ",",",", ",":"," or ","->",...extra,", found ",c,]}const before=query.elems.length;getFilteredNextElem(query,parserState,query.elems,false);if(query.elems.length===before){parserState.pos+=1}foundStopChar=false}if(parserState.typeFilter!==null){throw["Unexpected ",":"," (expected path after type filter ",parserState.typeFilter+":",")",]}while(parserState.pos"]}break}else{parserState.pos+=1}}}userQuery=userQuery.trim().replace(/\r|\n|\t/g," ");const parserState={length:userQuery.length,pos:0,totalElems:0,genericsElems:0,typeFilter:null,isInBinding:null,userQuery:userQuery.toLowerCase(),};let query=newParsedQuery(userQuery);try{parseInput(query,parserState);for(const elem of query.elems){convertTypeFilterOnElem(elem)}for(const elem of query.returned){convertTypeFilterOnElem(elem)}}catch(err){query=newParsedQuery(userQuery);query.error=err;return query}if(!query.literalSearch){query.literalSearch=parserState.totalElems>1}query.foundElems=query.elems.length+query.returned.length;query.totalElems=parserState.totalElems;return query}async execQuery(parsedQuery,filterCrates,currentCrate){const results_others=new Map(),results_in_args=new Map(),results_returned=new Map();function createQueryResults(results_in_args,results_returned,results_others,parsedQuery){return{"in_args":results_in_args,"returned":results_returned,"others":results_others,"query":parsedQuery,}}const buildHrefAndPath=item=>{let displayPath;let href;const type=itemTypes[item.ty];const name=item.name;let path=item.path;let exactPath=item.exactPath;if(type==="mod"){displayPath=path+"::";href=this.rootPath+path.replace(/::/g,"/")+"/"+name+"/index.html"}else if(type==="import"){displayPath=item.path+"::";href=this.rootPath+item.path.replace(/::/g,"/")+"/index.html#reexport."+name}else if(type==="primitive"||type==="keyword"){displayPath="";href=this.rootPath+path.replace(/::/g,"/")+"/"+type+"."+name+".html"}else if(type==="externcrate"){displayPath="";href=this.rootPath+name+"/index.html"}else if(item.parent!==undefined){const myparent=item.parent;let anchor=type+"."+name;const parentType=itemTypes[myparent.ty];let pageType=parentType;let pageName=myparent.name;exactPath=`${myparent.exactPath}::${myparent.name}`;if(parentType==="primitive"){displayPath=myparent.name+"::"}else if(type==="structfield"&&parentType==="variant"){const enumNameIdx=item.path.lastIndexOf("::");const enumName=item.path.substr(enumNameIdx+2);path=item.path.substr(0,enumNameIdx);displayPath=path+"::"+enumName+"::"+myparent.name+"::";anchor="variant."+myparent.name+".field."+name;pageType="enum";pageName=enumName}else{displayPath=path+"::"+myparent.name+"::"}if(item.implDisambiguator!==null){anchor=item.implDisambiguator+"/"+anchor}href=this.rootPath+path.replace(/::/g,"/")+"/"+pageType+"."+pageName+".html#"+anchor}else{displayPath=item.path+"::";href=this.rootPath+item.path.replace(/::/g,"/")+"/"+type+"."+name+".html"}return[displayPath,href,`${exactPath}::${name}`]};function pathSplitter(path){const tmp=""+path.replace(/::/g,"::");if(tmp.endsWith("")){return tmp.slice(0,tmp.length-6)}return tmp}const transformResults=results=>{const duplicates=new Set();const out=[];for(const result of results){if(result.id!==-1){const obj=this.searchIndex[result.id];obj.dist=result.dist;const res=buildHrefAndPath(obj);obj.displayPath=pathSplitter(res[0]);obj.fullPath=res[2]+"|"+obj.ty;if(duplicates.has(obj.fullPath)){continue}if(obj.ty===TY_IMPORT&&duplicates.has(res[2])){continue}if(duplicates.has(res[2]+"|"+TY_IMPORT)){continue}duplicates.add(obj.fullPath);duplicates.add(res[2]);obj.href=res[1];out.push(obj);if(out.length>=MAX_RESULTS){break}}}return out};const sortResults=async(results,isType,preferredCrate)=>{const userQuery=parsedQuery.userQuery;const casedUserQuery=parsedQuery.original;const result_list=[];for(const result of results.values()){result.item=this.searchIndex[result.id];result.word=this.searchIndex[result.id].word;result_list.push(result)}result_list.sort((aaa,bbb)=>{let a,b;a=(aaa.item.name!==casedUserQuery);b=(bbb.item.name!==casedUserQuery);if(a!==b){return a-b}a=(aaa.word!==userQuery);b=(bbb.word!==userQuery);if(a!==b){return a-b}a=(aaa.index<0);b=(bbb.index<0);if(a!==b){return a-b}a=aaa.path_dist;b=bbb.path_dist;if(a!==b){return a-b}a=aaa.index;b=bbb.index;if(a!==b){return a-b}a=(aaa.dist);b=(bbb.dist);if(a!==b){return a-b}a=this.searchIndexDeprecated.get(aaa.item.crate).contains(aaa.item.bitIndex);b=this.searchIndexDeprecated.get(bbb.item.crate).contains(bbb.item.bitIndex);if(a!==b){return a-b}a=(aaa.item.crate!==preferredCrate);b=(bbb.item.crate!==preferredCrate);if(a!==b){return a-b}a=aaa.word.length;b=bbb.word.length;if(a!==b){return a-b}a=aaa.word;b=bbb.word;if(a!==b){return(a>b?+1:-1)}a=this.searchIndexEmptyDesc.get(aaa.item.crate).contains(aaa.item.bitIndex);b=this.searchIndexEmptyDesc.get(bbb.item.crate).contains(bbb.item.bitIndex);if(a!==b){return a-b}a=aaa.item.ty;b=bbb.item.ty;if(a!==b){return a-b}a=aaa.item.path;b=bbb.item.path;if(a!==b){return(a>b?+1:-1)}return 0});return transformResults(result_list)};function unifyFunctionTypes(fnTypesIn,queryElems,whereClause,mgensIn,solutionCb,unboxingDepth,){if(unboxingDepth>=UNBOXING_LIMIT){return false}const mgens=mgensIn===null?null:new Map(mgensIn);if(queryElems.length===0){return!solutionCb||solutionCb(mgens)}if(!fnTypesIn||fnTypesIn.length===0){return false}const ql=queryElems.length;const fl=fnTypesIn.length;if(ql===1&&queryElems[0].generics.length===0&&queryElems[0].bindings.size===0){const queryElem=queryElems[0];for(const fnType of fnTypesIn){if(!unifyFunctionTypeIsMatchCandidate(fnType,queryElem,mgens)){continue}if(fnType.id<0&&queryElem.id<0){if(mgens&&mgens.has(fnType.id)&&mgens.get(fnType.id)!==queryElem.id){continue}const mgensScratch=new Map(mgens);mgensScratch.set(fnType.id,queryElem.id);if(!solutionCb||solutionCb(mgensScratch)){return true}}else if(!solutionCb||solutionCb(mgens?new Map(mgens):null)){return true}}for(const fnType of fnTypesIn){if(!unifyFunctionTypeIsUnboxCandidate(fnType,queryElem,whereClause,mgens,unboxingDepth+1,)){continue}if(fnType.id<0){if(mgens&&mgens.has(fnType.id)&&mgens.get(fnType.id)!==0){continue}const mgensScratch=new Map(mgens);mgensScratch.set(fnType.id,0);if(unifyFunctionTypes(whereClause[(-fnType.id)-1],queryElems,whereClause,mgensScratch,solutionCb,unboxingDepth+1,)){return true}}else if(unifyFunctionTypes([...fnType.generics,...Array.from(fnType.bindings.values()).flat()],queryElems,whereClause,mgens?new Map(mgens):null,solutionCb,unboxingDepth+1,)){return true}}return false}const fnTypes=fnTypesIn.slice();const flast=fl-1;const qlast=ql-1;const queryElem=queryElems[qlast];let queryElemsTmp=null;for(let i=flast;i>=0;i-=1){const fnType=fnTypes[i];if(!unifyFunctionTypeIsMatchCandidate(fnType,queryElem,mgens)){continue}let mgensScratch;if(fnType.id<0){mgensScratch=new Map(mgens);if(mgensScratch.has(fnType.id)&&mgensScratch.get(fnType.id)!==queryElem.id){continue}mgensScratch.set(fnType.id,queryElem.id)}else{mgensScratch=mgens}fnTypes[i]=fnTypes[flast];fnTypes.length=flast;if(!queryElemsTmp){queryElemsTmp=queryElems.slice(0,qlast)}const passesUnification=unifyFunctionTypes(fnTypes,queryElemsTmp,whereClause,mgensScratch,mgensScratch=>{if(fnType.generics.length===0&&queryElem.generics.length===0&&fnType.bindings.size===0&&queryElem.bindings.size===0){return!solutionCb||solutionCb(mgensScratch)}const solution=unifyFunctionTypeCheckBindings(fnType,queryElem,whereClause,mgensScratch,unboxingDepth,);if(!solution){return false}const simplifiedGenerics=solution.simplifiedGenerics;for(const simplifiedMgens of solution.mgens){const passesUnification=unifyFunctionTypes(simplifiedGenerics,queryElem.generics,whereClause,simplifiedMgens,solutionCb,unboxingDepth,);if(passesUnification){return true}}return false},unboxingDepth,);if(passesUnification){return true}fnTypes[flast]=fnTypes[i];fnTypes[i]=fnType;fnTypes.length=fl}for(let i=flast;i>=0;i-=1){const fnType=fnTypes[i];if(!unifyFunctionTypeIsUnboxCandidate(fnType,queryElem,whereClause,mgens,unboxingDepth+1,)){continue}let mgensScratch;if(fnType.id<0){mgensScratch=new Map(mgens);if(mgensScratch.has(fnType.id)&&mgensScratch.get(fnType.id)!==0){continue}mgensScratch.set(fnType.id,0)}else{mgensScratch=mgens}const generics=fnType.id<0?whereClause[(-fnType.id)-1]:fnType.generics;const bindings=fnType.bindings?Array.from(fnType.bindings.values()).flat():[];const passesUnification=unifyFunctionTypes(fnTypes.toSpliced(i,1,...generics,...bindings),queryElems,whereClause,mgensScratch,solutionCb,unboxingDepth+1,);if(passesUnification){return true}}return false}const unifyFunctionTypeIsMatchCandidate=(fnType,queryElem,mgensIn)=>{if(!typePassesFilter(queryElem.typeFilter,fnType.ty)){return false}if(fnType.id<0&&queryElem.id<0){if(mgensIn){if(mgensIn.has(fnType.id)&&mgensIn.get(fnType.id)!==queryElem.id){return false}for(const[fid,qid]of mgensIn.entries()){if(fnType.id!==fid&&queryElem.id===qid){return false}if(fnType.id===fid&&queryElem.id!==qid){return false}}}return true}else{if(queryElem.id===this.typeNameIdOfArrayOrSlice&&(fnType.id===this.typeNameIdOfSlice||fnType.id===this.typeNameIdOfArray)){}else if(queryElem.id===this.typeNameIdOfTupleOrUnit&&(fnType.id===this.typeNameIdOfTuple||fnType.id===this.typeNameIdOfUnit)){}else if(queryElem.id===this.typeNameIdOfHof&&(fnType.id===this.typeNameIdOfFn||fnType.id===this.typeNameIdOfFnMut||fnType.id===this.typeNameIdOfFnOnce)){}else if(fnType.id!==queryElem.id||queryElem.id===null){return false}if((fnType.generics.length+fnType.bindings.size)===0&&queryElem.generics.length!==0){return false}if(fnType.bindings.size0){const fnTypePath=fnType.path!==undefined&&fnType.path!==null?fnType.path.split("::"):[];if(queryElemPathLength>fnTypePath.length){return false}let i=0;for(const path of fnTypePath){if(path===queryElem.pathWithoutLast[i]){i+=1;if(i>=queryElemPathLength){break}}}if(i0){let mgensSolutionSet=[mgensIn];for(const[name,constraints]of queryElem.bindings.entries()){if(mgensSolutionSet.length===0){return false}if(!fnType.bindings.has(name)){return false}const fnTypeBindings=fnType.bindings.get(name);mgensSolutionSet=mgensSolutionSet.flatMap(mgens=>{const newSolutions=[];unifyFunctionTypes(fnTypeBindings,constraints,whereClause,mgens,newMgens=>{newSolutions.push(newMgens);return false},unboxingDepth,);return newSolutions})}if(mgensSolutionSet.length===0){return false}const binds=Array.from(fnType.bindings.entries()).flatMap(entry=>{const[name,constraints]=entry;if(queryElem.bindings.has(name)){return[]}else{return constraints}});if(simplifiedGenerics.length>0){simplifiedGenerics=[...simplifiedGenerics,...binds]}else{simplifiedGenerics=binds}return{simplifiedGenerics,mgens:mgensSolutionSet}}return{simplifiedGenerics,mgens:[mgensIn]}}function unifyFunctionTypeIsUnboxCandidate(fnType,queryElem,whereClause,mgens,unboxingDepth,){if(unboxingDepth>=UNBOXING_LIMIT){return false}if(fnType.id<0&&queryElem.id>=0){if(!whereClause){return false}if(mgens&&mgens.has(fnType.id)&&mgens.get(fnType.id)!==0){return false}const mgensTmp=new Map(mgens);mgensTmp.set(fnType.id,null);return checkIfInList(whereClause[(-fnType.id)-1],queryElem,whereClause,mgensTmp,unboxingDepth,)}else if(fnType.generics.length>0||fnType.bindings.size>0){const simplifiedGenerics=[...fnType.generics,...Array.from(fnType.bindings.values()).flat(),];return checkIfInList(simplifiedGenerics,queryElem,whereClause,mgens,unboxingDepth,)}return false}function checkIfInList(list,elem,whereClause,mgens,unboxingDepth){for(const entry of list){if(checkType(entry,elem,whereClause,mgens,unboxingDepth)){return true}}return false}const checkType=(row,elem,whereClause,mgens,unboxingDepth)=>{if(unboxingDepth>=UNBOXING_LIMIT){return false}if(row.bindings.size===0&&elem.bindings.size===0){if(elem.id<0&&mgens===null){return row.id<0||checkIfInList(row.generics,elem,whereClause,mgens,unboxingDepth+1,)}if(row.id>0&&elem.id>0&&elem.pathWithoutLast.length===0&&typePassesFilter(elem.typeFilter,row.ty)&&elem.generics.length===0&&elem.id!==this.typeNameIdOfArrayOrSlice&&elem.id!==this.typeNameIdOfTupleOrUnit&&elem.id!==this.typeNameIdOfHof){return row.id===elem.id||checkIfInList(row.generics,elem,whereClause,mgens,unboxingDepth,)}}return unifyFunctionTypes([row],[elem],whereClause,mgens,null,unboxingDepth)};function checkPath(contains,ty){if(contains.length===0){return 0}const maxPathEditDistance=Math.floor(contains.reduce((acc,next)=>acc+next.length,0)/3,);let ret_dist=maxPathEditDistance+1;const path=ty.path.split("::");if(ty.parent&&ty.parent.name){path.push(ty.parent.name.toLowerCase())}const length=path.length;const clength=contains.length;pathiter:for(let i=length-clength;i>=0;i-=1){let dist_total=0;for(let x=0;xmaxPathEditDistance){continue pathiter}dist_total+=dist}}ret_dist=Math.min(ret_dist,Math.round(dist_total/clength))}return ret_dist>maxPathEditDistance?null:ret_dist}function typePassesFilter(filter,type){if(filter<=NO_TYPE_FILTER||filter===type)return true;const name=itemTypes[type];switch(itemTypes[filter]){case"constant":return name==="associatedconstant";case"fn":return name==="method"||name==="tymethod";case"type":return name==="primitive"||name==="associatedtype";case"trait":return name==="traitalias"}return false}function createAliasFromItem(item){return{crate:item.crate,name:item.name,path:item.path,descShard:item.descShard,descIndex:item.descIndex,exactPath:item.exactPath,ty:item.ty,parent:item.parent,type:item.type,is_alias:true,bitIndex:item.bitIndex,implDisambiguator:item.implDisambiguator,}}const handleAliases=async(ret,query,filterCrates,currentCrate)=>{const lowerQuery=query.toLowerCase();const aliases=[];const crateAliases=[];if(filterCrates!==null){if(this.ALIASES.has(filterCrates)&&this.ALIASES.get(filterCrates).has(lowerQuery)){const query_aliases=this.ALIASES.get(filterCrates).get(lowerQuery);for(const alias of query_aliases){aliases.push(createAliasFromItem(this.searchIndex[alias]))}}}else{for(const[crate,crateAliasesIndex]of this.ALIASES){if(crateAliasesIndex.has(lowerQuery)){const pushTo=crate===currentCrate?crateAliases:aliases;const query_aliases=crateAliasesIndex.get(lowerQuery);for(const alias of query_aliases){pushTo.push(createAliasFromItem(this.searchIndex[alias]))}}}}const sortFunc=(aaa,bbb)=>{if(aaa.path{return this.searchIndexEmptyDesc.get(alias.crate).contains(alias.bitIndex)?"":this.searchState.loadDesc(alias)};const[crateDescs,descs]=await Promise.all([Promise.all(crateAliases.map(fetchDesc)),Promise.all(aliases.map(fetchDesc)),]);const pushFunc=alias=>{alias.alias=query;const res=buildHrefAndPath(alias);alias.displayPath=pathSplitter(res[0]);alias.fullPath=alias.displayPath+alias.name;alias.href=res[1];ret.others.unshift(alias);if(ret.others.length>MAX_RESULTS){ret.others.pop()}};aliases.forEach((alias,i)=>{alias.desc=descs[i]});aliases.forEach(pushFunc);crateAliases.forEach((alias,i)=>{alias.desc=crateDescs[i]});crateAliases.forEach(pushFunc)};function addIntoResults(results,fullId,id,index,dist,path_dist,maxEditDistance){if(dist<=maxEditDistance||index!==-1){if(results.has(fullId)){const result=results.get(fullId);if(result.dontValidate||result.dist<=dist){return}}results.set(fullId,{id:id,index:index,dontValidate:parsedQuery.literalSearch,dist:dist,path_dist:path_dist,})}}function handleSingleArg(row,pos,elem,results_others,results_in_args,results_returned,maxEditDistance,){if(!row||(filterCrates!==null&&row.crate!==filterCrates)){return}let path_dist=0;const fullId=row.id;const tfpDist=compareTypeFingerprints(fullId,parsedQuery.typeFingerprint,);if(tfpDist!==null){const in_args=row.type&&row.type.inputs&&checkIfInList(row.type.inputs,elem,row.type.where_clause,null,0);const returned=row.type&&row.type.output&&checkIfInList(row.type.output,elem,row.type.where_clause,null,0);if(in_args){results_in_args.max_dist=Math.max(results_in_args.max_dist||0,tfpDist);const maxDist=results_in_args.sizenormalizedIndex&&normalizedIndex!==-1)){index=normalizedIndex}if(elem.fullPath.length>1){path_dist=checkPath(elem.pathWithoutLast,row);if(path_dist===null){return}}if(parsedQuery.literalSearch){if(row.word===elem.pathLast){addIntoResults(results_others,fullId,pos,index,0,path_dist)}return}const dist=editDistance(row.normalizedName,elem.normalizedPathLast,maxEditDistance);if(index===-1&&dist>maxEditDistance){return}addIntoResults(results_others,fullId,pos,index,dist,path_dist,maxEditDistance)}function handleArgs(row,pos,results){if(!row||(filterCrates!==null&&row.crate!==filterCrates)||!row.type){return}const tfpDist=compareTypeFingerprints(row.id,parsedQuery.typeFingerprint,);if(tfpDist===null){return}if(results.size>=MAX_RESULTS&&tfpDist>results.max_dist){return}if(!unifyFunctionTypes(row.type.inputs,parsedQuery.elems,row.type.where_clause,null,mgens=>{return unifyFunctionTypes(row.type.output,parsedQuery.returned,row.type.where_clause,mgens,null,0,)},0,)){return}results.max_dist=Math.max(results.max_dist||0,tfpDist);addIntoResults(results,row.id,pos,0,tfpDist,0,Number.MAX_VALUE)}const compareTypeFingerprints=(fullId,queryFingerprint)=>{const fh0=this.functionTypeFingerprint[fullId*4];const fh1=this.functionTypeFingerprint[(fullId*4)+1];const fh2=this.functionTypeFingerprint[(fullId*4)+2];const[qh0,qh1,qh2]=queryFingerprint;const[in0,in1,in2]=[fh0&qh0,fh1&qh1,fh2&qh2];if((in0 ^ qh0)||(in1 ^ qh1)||(in2 ^ qh2)){return null}return this.functionTypeFingerprint[(fullId*4)+3]};const innerRunQuery=()=>{const queryLen=parsedQuery.elems.reduce((acc,next)=>acc+next.pathLast.length,0)+parsedQuery.returned.reduce((acc,next)=>acc+next.pathLast.length,0);const maxEditDistance=Math.floor(queryLen/3);const genericSymbols=new Map();const convertNameToId=(elem,isAssocType)=>{const loweredName=elem.pathLast.toLowerCase();if(this.typeNameIdMap.has(loweredName)&&(isAssocType||!this.typeNameIdMap.get(loweredName).assocOnly)){elem.id=this.typeNameIdMap.get(loweredName).id}else if(!parsedQuery.literalSearch){let match=null;let matchDist=maxEditDistance+1;let matchName="";for(const[name,{id,assocOnly}]of this.typeNameIdMap){const dist=Math.min(editDistance(name,loweredName,maxEditDistance),editDistance(name,elem.normalizedPathLast,maxEditDistance),);if(dist<=matchDist&&dist<=maxEditDistance&&(isAssocType||!assocOnly)){if(dist===matchDist&&matchName>name){continue}match=id;matchDist=dist;matchName=name}}if(match!==null){parsedQuery.correction=matchName}elem.id=match}if((elem.id===null&&parsedQuery.totalElems>1&&elem.typeFilter===-1&&elem.generics.length===0&&elem.bindings.size===0)||elem.typeFilter===TY_GENERIC){if(genericSymbols.has(elem.name)){elem.id=genericSymbols.get(elem.name)}else{elem.id=-(genericSymbols.size+1);genericSymbols.set(elem.name,elem.id)}if(elem.typeFilter===-1&&elem.name.length>=3){const maxPartDistance=Math.floor(elem.name.length/3);let matchDist=maxPartDistance+1;let matchName="";for(const name of this.typeNameIdMap.keys()){const dist=editDistance(name,elem.name,maxPartDistance);if(dist<=matchDist&&dist<=maxPartDistance){if(dist===matchDist&&matchName>name){continue}matchDist=dist;matchName=name}}if(matchName!==""){parsedQuery.proposeCorrectionFrom=elem.name;parsedQuery.proposeCorrectionTo=matchName}}elem.typeFilter=TY_GENERIC}if(elem.generics.length>0&&elem.typeFilter===TY_GENERIC){parsedQuery.error=["Generic type parameter ",elem.name," does not accept generic parameters",]}for(const elem2 of elem.generics){convertNameToId(elem2)}elem.bindings=new Map(Array.from(elem.bindings.entries()).map(entry=>{const[name,constraints]=entry;if(!this.typeNameIdMap.has(name)){parsedQuery.error=["Type parameter ",name," does not exist",];return[null,[]]}for(const elem2 of constraints){convertNameToId(elem2)}return[this.typeNameIdMap.get(name).id,constraints]}),)};const fps=new Set();for(const elem of parsedQuery.elems){convertNameToId(elem);this.buildFunctionTypeFingerprint(elem,parsedQuery.typeFingerprint,fps)}for(const elem of parsedQuery.returned){convertNameToId(elem);this.buildFunctionTypeFingerprint(elem,parsedQuery.typeFingerprint,fps)}if(parsedQuery.foundElems===1&&parsedQuery.returned.length===0){if(parsedQuery.elems.length===1){const elem=parsedQuery.elems[0];const length=this.searchIndex.length;for(let i=0,nSearchIndex=length;i0){const sortQ=(a,b)=>{const ag=a.generics.length===0&&a.bindings.size===0;const bg=b.generics.length===0&&b.bindings.size===0;if(ag!==bg){return ag-bg}const ai=a.id>0;const bi=b.id>0;return ai-bi};parsedQuery.elems.sort(sortQ);parsedQuery.returned.sort(sortQ);for(let i=0,nSearchIndex=this.searchIndex.length;i{const descs=await Promise.all(list.map(result=>{return this.searchIndexEmptyDesc.get(result.crate).contains(result.bitIndex)?"":this.searchState.loadDesc(result)}));for(const[i,result]of list.entries()){result.desc=descs[i]}}));if(parsedQuery.error!==null&&ret.others.length!==0){ret.query.error=null}return ret}}let rawSearchIndex;let docSearch;const longItemTypes=["keyword","primitive type","module","extern crate","re-export","struct","enum","function","type alias","static","trait","","trait method","method","struct field","enum variant","macro","assoc type","constant","assoc const","union","foreign type","existential type","attribute macro","derive macro","trait alias",];let currentResults;function printTab(nb){let iter=0;let foundCurrentTab=false;let foundCurrentResultSet=false;onEachLazy(document.getElementById("search-tabs").childNodes,elem=>{if(nb===iter){addClass(elem,"selected");foundCurrentTab=true}else{removeClass(elem,"selected")}iter+=1});const isTypeSearch=(nb>0||iter===1);iter=0;onEachLazy(document.getElementById("results").childNodes,elem=>{if(nb===iter){addClass(elem,"active");foundCurrentResultSet=true}else{removeClass(elem,"active")}iter+=1});if(foundCurrentTab&&foundCurrentResultSet){searchState.currentTab=nb;const correctionsElem=document.getElementsByClassName("search-corrections");if(isTypeSearch){removeClass(correctionsElem[0],"hidden")}else{addClass(correctionsElem[0],"hidden")}}else if(nb!==0){printTab(0)}}function buildUrl(search,filterCrates){let extra="?search="+encodeURIComponent(search);if(filterCrates!==null){extra+="&filter-crate="+encodeURIComponent(filterCrates)}return getNakedUrl()+extra+window.location.hash}function getFilterCrates(){const elem=document.getElementById("crate-search");if(elem&&elem.value!=="all crates"&&window.searchIndex.has(elem.value)){return elem.value}return null}function nextTab(direction){const next=(searchState.currentTab+direction+3)%searchState.focusedByTab.length;searchState.focusedByTab[searchState.currentTab]=document.activeElement;printTab(next);focusSearchResult()}function focusSearchResult(){const target=searchState.focusedByTab[searchState.currentTab]||document.querySelectorAll(".search-results.active a").item(0)||document.querySelectorAll("#search-tabs button").item(searchState.currentTab);searchState.focusedByTab[searchState.currentTab]=null;if(target){target.focus()}}async function addTab(array,query,display){const extraClass=display?" active":"";const output=document.createElement("div");if(array.length>0){output.className="search-results "+extraClass;for(const item of array){const name=item.name;const type=itemTypes[item.ty];const longType=longItemTypes[item.ty];const typeName=longType.length!==0?`${longType}`:"?";const link=document.createElement("a");link.className="result-"+type;link.href=item.href;const resultName=document.createElement("div");resultName.className="result-name";resultName.insertAdjacentHTML("beforeend",`${typeName}`);link.appendChild(resultName);let alias=" ";if(item.is_alias){alias=`
\ +${item.alias} - see \ +
`}resultName.insertAdjacentHTML("beforeend",`
${alias}\ +${item.displayPath}${name}\ +
`);const description=document.createElement("div");description.className="desc";description.insertAdjacentHTML("beforeend",item.desc);link.appendChild(description);output.appendChild(link)}}else if(query.error===null){output.className="search-failed"+extraClass;output.innerHTML="No results :(
"+"Try on DuckDuckGo?

"+"Or try looking in one of these:"}return[output,array.length]}function makeTabHeader(tabNb,text,nbElems){const fmtNbElems=nbElems<10?`\u{2007}(${nbElems})\u{2007}\u{2007}`:nbElems<100?`\u{2007}(${nbElems})\u{2007}`:`\u{2007}(${nbElems})`;if(searchState.currentTab===tabNb){return""}return""}async function showResults(results,go_to_first,filterCrates){const search=searchState.outputElement();if(go_to_first||(results.others.length===1&&getSettingValue("go-to-only-result")==="true")){window.onunload=()=>{};searchState.removeQueryParameters();const elem=document.createElement("a");elem.href=results.others[0].href;removeClass(elem,"active");document.body.appendChild(elem);elem.click();return}if(results.query===undefined){results.query=DocSearch.parseQuery(searchState.input.value)}currentResults=results.query.userQuery;const[ret_others,ret_in_args,ret_returned]=await Promise.all([addTab(results.others,results.query,true),addTab(results.in_args,results.query,false),addTab(results.returned,results.query,false),]);let currentTab=searchState.currentTab;if((currentTab===0&&ret_others[1]===0)||(currentTab===1&&ret_in_args[1]===0)||(currentTab===2&&ret_returned[1]===0)){if(ret_others[1]!==0){currentTab=0}else if(ret_in_args[1]!==0){currentTab=1}else if(ret_returned[1]!==0){currentTab=2}}let crates="";if(rawSearchIndex.size>1){crates=" in 
"}let output=`

Results${crates}

`;if(results.query.error!==null){const error=results.query.error;error.forEach((value,index)=>{value=value.split("<").join("<").split(">").join(">");if(index%2!==0){error[index]=`${value.replaceAll(" ", " ")}`}else{error[index]=value}});output+=`

Query parser error: "${error.join("")}".

`;output+="
"+makeTabHeader(0,"In Names",ret_others[1])+"
";currentTab=0}else if(results.query.foundElems<=1&&results.query.returned.length===0){output+="
"+makeTabHeader(0,"In Names",ret_others[1])+makeTabHeader(1,"In Parameters",ret_in_args[1])+makeTabHeader(2,"In Return Types",ret_returned[1])+"
"}else{const signatureTabTitle=results.query.elems.length===0?"In Function Return Types":results.query.returned.length===0?"In Function Parameters":"In Function Signatures";output+="
"+makeTabHeader(0,signatureTabTitle,ret_others[1])+"
";currentTab=0}if(results.query.correction!==null){const orig=results.query.returned.length>0?results.query.returned[0].name:results.query.elems[0].name;output+="

"+`Type "${orig}" not found. `+"Showing results for closest type name "+`"${results.query.correction}" instead.

`}if(results.query.proposeCorrectionFrom!==null){const orig=results.query.proposeCorrectionFrom;const targ=results.query.proposeCorrectionTo;output+="

"+`Type "${orig}" not found and used as generic parameter. `+`Consider searching for "${targ}" instead.

`}const resultsElem=document.createElement("div");resultsElem.id="results";resultsElem.appendChild(ret_others[0]);resultsElem.appendChild(ret_in_args[0]);resultsElem.appendChild(ret_returned[0]);search.innerHTML=output;const crateSearch=document.getElementById("crate-search");if(crateSearch){crateSearch.addEventListener("input",updateCrate)}search.appendChild(resultsElem);searchState.showResults(search);const elems=document.getElementById("search-tabs").childNodes;searchState.focusedByTab=[];let i=0;for(const elem of elems){const j=i;elem.onclick=()=>printTab(j);searchState.focusedByTab.push(null);i+=1}printTab(currentTab)}function updateSearchHistory(url){if(!browserSupportsHistoryApi()){return}const params=searchState.getQueryStringParams();if(!history.state&&!params.search){history.pushState(null,"",url)}else{history.replaceState(null,"",url)}}async function search(forced){const query=DocSearch.parseQuery(searchState.input.value.trim());let filterCrates=getFilterCrates();if(!forced&&query.userQuery===currentResults){if(query.userQuery.length>0){putBackSearch()}return}searchState.setLoadingSearch();const params=searchState.getQueryStringParams();if(filterCrates===null&¶ms["filter-crate"]!==undefined){filterCrates=params["filter-crate"]}searchState.title="\""+query.original+"\" Search - Rust";updateSearchHistory(buildUrl(query.original,filterCrates));await showResults(await docSearch.execQuery(query,filterCrates,window.currentCrate),params.go_to_first,filterCrates)}function onSearchSubmit(e){e.preventDefault();searchState.clearInputTimeout();search()}function putBackSearch(){const search_input=searchState.input;if(!searchState.input){return}if(search_input.value!==""&&!searchState.isDisplayed()){searchState.showResults();if(browserSupportsHistoryApi()){history.replaceState(null,"",buildUrl(search_input.value,getFilterCrates()))}document.title=searchState.title}}function registerSearchEvents(){const params=searchState.getQueryStringParams();if(searchState.input.value===""){searchState.input.value=params.search||""}const searchAfter500ms=()=>{searchState.clearInputTimeout();if(searchState.input.value.length===0){searchState.hideResults()}else{searchState.timeout=setTimeout(search,500)}};searchState.input.onkeyup=searchAfter500ms;searchState.input.oninput=searchAfter500ms;document.getElementsByClassName("search-form")[0].onsubmit=onSearchSubmit;searchState.input.onchange=e=>{if(e.target!==document.activeElement){return}searchState.clearInputTimeout();setTimeout(search,0)};searchState.input.onpaste=searchState.input.onchange;searchState.outputElement().addEventListener("keydown",e=>{if(e.altKey||e.ctrlKey||e.shiftKey||e.metaKey){return}if(e.which===38){const previous=document.activeElement.previousElementSibling;if(previous){previous.focus()}else{searchState.focus()}e.preventDefault()}else if(e.which===40){const next=document.activeElement.nextElementSibling;if(next){next.focus()}const rect=document.activeElement.getBoundingClientRect();if(window.innerHeight-rect.bottom{if(e.which===40){focusSearchResult();e.preventDefault()}});searchState.input.addEventListener("focus",()=>{putBackSearch()});searchState.input.addEventListener("blur",()=>{searchState.input.placeholder=searchState.input.origPlaceholder});if(browserSupportsHistoryApi()){const previousTitle=document.title;window.addEventListener("popstate",e=>{const params=searchState.getQueryStringParams();document.title=previousTitle;currentResults=null;if(params.search&¶ms.search.length>0){searchState.input.value=params.search;e.preventDefault();search()}else{searchState.input.value="";searchState.hideResults()}})}window.onpageshow=()=>{const qSearch=searchState.getQueryStringParams().search;if(searchState.input.value===""&&qSearch){searchState.input.value=qSearch}search()}}function updateCrate(ev){if(ev.target.value==="all crates"){const query=searchState.input.value.trim();updateSearchHistory(buildUrl(query,null))}currentResults=null;search(true)}function initSearch(searchIndx){rawSearchIndex=searchIndx;if(typeof window!=="undefined"){docSearch=new DocSearch(rawSearchIndex,ROOT_PATH,searchState);registerSearchEvents();if(window.searchState.getQueryStringParams().search){search()}}else if(typeof exports!=="undefined"){docSearch=new DocSearch(rawSearchIndex,ROOT_PATH,searchState);exports.docSearch=docSearch;exports.parseQuery=DocSearch.parseQuery}}if(typeof exports!=="undefined"){exports.initSearch=initSearch}if(typeof window!=="undefined"){window.initSearch=initSearch;if(window.searchIndex!==undefined){initSearch(window.searchIndex)}}else{initSearch(new Map())}})() \ No newline at end of file diff --git a/static.files/settings-4313503d2e1961c2.js b/static.files/settings-4313503d2e1961c2.js new file mode 100644 index 000000000..ab425fe49 --- /dev/null +++ b/static.files/settings-4313503d2e1961c2.js @@ -0,0 +1,17 @@ +"use strict";(function(){const isSettingsPage=window.location.pathname.endsWith("/settings.html");function changeSetting(settingName,value){if(settingName==="theme"){const useSystem=value==="system preference"?"true":"false";updateLocalStorage("use-system-theme",useSystem)}updateLocalStorage(settingName,value);switch(settingName){case"theme":case"preferred-dark-theme":case"preferred-light-theme":updateTheme();updateLightAndDark();break;case"line-numbers":if(value===true){window.rustdoc_add_line_numbers_to_examples()}else{window.rustdoc_remove_line_numbers_from_examples()}break;case"hide-sidebar":if(value===true){addClass(document.documentElement,"hide-sidebar")}else{removeClass(document.documentElement,"hide-sidebar")}break}}function showLightAndDark(){removeClass(document.getElementById("preferred-light-theme"),"hidden");removeClass(document.getElementById("preferred-dark-theme"),"hidden")}function hideLightAndDark(){addClass(document.getElementById("preferred-light-theme"),"hidden");addClass(document.getElementById("preferred-dark-theme"),"hidden")}function updateLightAndDark(){const useSystem=getSettingValue("use-system-theme");if(useSystem==="true"||(useSystem===null&&getSettingValue("theme")===null)){showLightAndDark()}else{hideLightAndDark()}}function setEvents(settingsElement){updateLightAndDark();onEachLazy(settingsElement.querySelectorAll("input[type=\"checkbox\"]"),toggle=>{const settingId=toggle.id;const settingValue=getSettingValue(settingId);if(settingValue!==null){toggle.checked=settingValue==="true"}toggle.onchange=()=>{changeSetting(toggle.id,toggle.checked)}});onEachLazy(settingsElement.querySelectorAll("input[type=\"radio\"]"),elem=>{const settingId=elem.name;let settingValue=getSettingValue(settingId);if(settingId==="theme"){const useSystem=getSettingValue("use-system-theme");if(useSystem==="true"||settingValue===null){settingValue=useSystem==="false"?"light":"system preference"}}if(settingValue!==null&&settingValue!=="null"){elem.checked=settingValue===elem.value}elem.addEventListener("change",ev=>{changeSetting(ev.target.name,ev.target.value)})})}function buildSettingsPageSections(settings){let output="";for(const setting of settings){const js_data_name=setting["js_name"];const setting_name=setting["name"];if(setting["options"]!==undefined){output+=`\ +
+
${setting_name}
+
`;onEach(setting["options"],option=>{const checked=option===setting["default"]?" checked":"";const full=`${js_data_name}-${option.replace(/ /g,"-")}`;output+=`\ + `});output+=`\ +
+
`}else{const checked=setting["default"]===true?" checked":"";output+=`\ +
\ + \ +
`}}return output}function buildSettingsPage(){const theme_names=getVar("themes").split(",").filter(t=>t);theme_names.push("light","dark","ayu");const settings=[{"name":"Theme","js_name":"theme","default":"system preference","options":theme_names.concat("system preference"),},{"name":"Preferred light theme","js_name":"preferred-light-theme","default":"light","options":theme_names,},{"name":"Preferred dark theme","js_name":"preferred-dark-theme","default":"dark","options":theme_names,},{"name":"Auto-hide item contents for large items","js_name":"auto-hide-large-items","default":true,},{"name":"Auto-hide item methods' documentation","js_name":"auto-hide-method-docs","default":false,},{"name":"Auto-hide trait implementation documentation","js_name":"auto-hide-trait-implementations","default":false,},{"name":"Directly go to item in search if there is only one result","js_name":"go-to-only-result","default":false,},{"name":"Show line numbers on code examples","js_name":"line-numbers","default":false,},{"name":"Hide persistent navigation bar","js_name":"hide-sidebar","default":false,},{"name":"Disable keyboard shortcuts","js_name":"disable-shortcuts","default":false,},];const elementKind=isSettingsPage?"section":"div";const innerHTML=`
${buildSettingsPageSections(settings)}
`;const el=document.createElement(elementKind);el.id="settings";if(!isSettingsPage){el.className="popover"}el.innerHTML=innerHTML;if(isSettingsPage){document.getElementById(MAIN_ID).appendChild(el)}else{el.setAttribute("tabindex","-1");getSettingsButton().appendChild(el)}return el}const settingsMenu=buildSettingsPage();function displaySettings(){settingsMenu.style.display="";onEachLazy(settingsMenu.querySelectorAll("input[type='checkbox']"),el=>{const val=getSettingValue(el.id);const checked=val==="true";if(checked!==el.checked&&val!==null){el.checked=checked}})}function settingsBlurHandler(event){blurHandler(event,getSettingsButton(),window.hidePopoverMenus)}if(isSettingsPage){getSettingsButton().onclick=event=>{event.preventDefault()}}else{const settingsButton=getSettingsButton();const settingsMenu=document.getElementById("settings");settingsButton.onclick=event=>{if(settingsMenu.contains(event.target)){return}event.preventDefault();const shouldDisplaySettings=settingsMenu.style.display==="none";window.hideAllModals();if(shouldDisplaySettings){displaySettings()}};settingsButton.onblur=settingsBlurHandler;settingsButton.querySelector("a").onblur=settingsBlurHandler;onEachLazy(settingsMenu.querySelectorAll("input"),el=>{el.onblur=settingsBlurHandler});settingsMenu.onblur=settingsBlurHandler}setTimeout(()=>{setEvents(settingsMenu);if(!isSettingsPage){displaySettings()}removeClass(getSettingsButton(),"rotate")},0)})() \ No newline at end of file diff --git a/static.files/src-script-e66d777a5a92e9b2.js b/static.files/src-script-e66d777a5a92e9b2.js new file mode 100644 index 000000000..d0aebb851 --- /dev/null +++ b/static.files/src-script-e66d777a5a92e9b2.js @@ -0,0 +1 @@ +"use strict";(function(){const rootPath=getVar("root-path");const NAME_OFFSET=0;const DIRS_OFFSET=1;const FILES_OFFSET=2;const RUSTDOC_MOBILE_BREAKPOINT=700;function closeSidebarIfMobile(){if(window.innerWidth{removeClass(document.documentElement,"src-sidebar-expanded");updateLocalStorage("source-sidebar-show","false")};window.rustdocShowSourceSidebar=()=>{addClass(document.documentElement,"src-sidebar-expanded");updateLocalStorage("source-sidebar-show","true")};window.rustdocToggleSrcSidebar=()=>{if(document.documentElement.classList.contains("src-sidebar-expanded")){window.rustdocCloseSourceSidebar()}else{window.rustdocShowSourceSidebar()}};function createSrcSidebar(){const container=document.querySelector("nav.sidebar");const sidebar=document.createElement("div");sidebar.id="src-sidebar";let hasFoundFile=false;for(const[key,source]of srcIndex){source[NAME_OFFSET]=key;hasFoundFile=createDirEntry(source,sidebar,"",hasFoundFile)}container.appendChild(sidebar);const selected_elem=sidebar.getElementsByClassName("selected")[0];if(typeof selected_elem!=="undefined"){selected_elem.focus()}}function highlightSrcLines(){const match=window.location.hash.match(/^#?(\d+)(?:-(\d+))?$/);if(!match){return}let from=parseInt(match[1],10);let to=from;if(typeof match[2]!=="undefined"){to=parseInt(match[2],10)}if(to{onEachLazy(e.getElementsByTagName("a"),i_e=>{removeClass(i_e,"line-highlighted")})});for(let i=from;i<=to;++i){elem=document.getElementById(i);if(!elem){break}addClass(elem,"line-highlighted")}}const handleSrcHighlight=(function(){let prev_line_id=0;const set_fragment=name=>{const x=window.scrollX,y=window.scrollY;if(browserSupportsHistoryApi()){history.replaceState(null,null,"#"+name);highlightSrcLines()}else{location.replace("#"+name)}window.scrollTo(x,y)};return ev=>{let cur_line_id=parseInt(ev.target.id,10);if(isNaN(cur_line_id)||ev.ctrlKey||ev.altKey||ev.metaKey){return}ev.preventDefault();if(ev.shiftKey&&prev_line_id){if(prev_line_id>cur_line_id){const tmp=prev_line_id;prev_line_id=cur_line_id;cur_line_id=tmp}set_fragment(prev_line_id+"-"+cur_line_id)}else{prev_line_id=cur_line_id;set_fragment(cur_line_id)}}}());window.addEventListener("hashchange",highlightSrcLines);onEachLazy(document.getElementsByClassName("src-line-numbers"),el=>{el.addEventListener("click",handleSrcHighlight)});highlightSrcLines();window.createSrcSidebar=createSrcSidebar})() \ No newline at end of file diff --git a/static.files/storage-118b08c4c78b968e.js b/static.files/storage-118b08c4c78b968e.js new file mode 100644 index 000000000..981894677 --- /dev/null +++ b/static.files/storage-118b08c4c78b968e.js @@ -0,0 +1,24 @@ +"use strict";const builtinThemes=["light","dark","ayu"];const darkThemes=["dark","ayu"];window.currentTheme=document.getElementById("themeStyle");const settingsDataset=(function(){const settingsElement=document.getElementById("default-settings");return settingsElement&&settingsElement.dataset?settingsElement.dataset:null})();function getSettingValue(settingName){const current=getCurrentValue(settingName);if(current===null&&settingsDataset!==null){const def=settingsDataset[settingName.replace(/-/g,"_")];if(def!==undefined){return def}}return current}const localStoredTheme=getSettingValue("theme");function hasClass(elem,className){return elem&&elem.classList&&elem.classList.contains(className)}function addClass(elem,className){if(elem&&elem.classList){elem.classList.add(className)}}function removeClass(elem,className){if(elem&&elem.classList){elem.classList.remove(className)}}function onEach(arr,func){for(const elem of arr){if(func(elem)){return true}}return false}function onEachLazy(lazyArray,func){return onEach(Array.prototype.slice.call(lazyArray),func)}function updateLocalStorage(name,value){try{window.localStorage.setItem("rustdoc-"+name,value)}catch(e){}}function getCurrentValue(name){try{return window.localStorage.getItem("rustdoc-"+name)}catch(e){return null}}const getVar=(function getVar(name){const el=document.querySelector("head > meta[name='rustdoc-vars']");return el?el.attributes["data-"+name].value:null});function switchTheme(newThemeName,saveTheme){const themeNames=getVar("themes").split(",").filter(t=>t);themeNames.push(...builtinThemes);if(themeNames.indexOf(newThemeName)===-1){return}if(saveTheme){updateLocalStorage("theme",newThemeName)}document.documentElement.setAttribute("data-theme",newThemeName);if(builtinThemes.indexOf(newThemeName)!==-1){if(window.currentTheme){window.currentTheme.parentNode.removeChild(window.currentTheme);window.currentTheme=null}}else{const newHref=getVar("root-path")+encodeURIComponent(newThemeName)+getVar("resource-suffix")+".css";if(!window.currentTheme){if(document.readyState==="loading"){document.write(``);window.currentTheme=document.getElementById("themeStyle")}else{window.currentTheme=document.createElement("link");window.currentTheme.rel="stylesheet";window.currentTheme.id="themeStyle";window.currentTheme.href=newHref;document.documentElement.appendChild(window.currentTheme)}}else if(newHref!==window.currentTheme.href){window.currentTheme.href=newHref}}}const updateTheme=(function(){const mql=window.matchMedia("(prefers-color-scheme: dark)");function updateTheme(){if(getSettingValue("use-system-theme")!=="false"){const lightTheme=getSettingValue("preferred-light-theme")||"light";const darkTheme=getSettingValue("preferred-dark-theme")||"dark";updateLocalStorage("use-system-theme","true");switchTheme(mql.matches?darkTheme:lightTheme,true)}else{switchTheme(getSettingValue("theme"),false)}}mql.addEventListener("change",updateTheme);return updateTheme})();if(getSettingValue("use-system-theme")!=="false"&&window.matchMedia){if(getSettingValue("use-system-theme")===null&&getSettingValue("preferred-dark-theme")===null&&darkThemes.indexOf(localStoredTheme)>=0){updateLocalStorage("preferred-dark-theme",localStoredTheme)}}updateTheme();if(getSettingValue("source-sidebar-show")==="true"){addClass(document.documentElement,"src-sidebar-expanded")}if(getSettingValue("hide-sidebar")==="true"){addClass(document.documentElement,"hide-sidebar")}function updateSidebarWidth(){const desktopSidebarWidth=getSettingValue("desktop-sidebar-width");if(desktopSidebarWidth&&desktopSidebarWidth!=="null"){document.documentElement.style.setProperty("--desktop-sidebar-width",desktopSidebarWidth+"px",)}const srcSidebarWidth=getSettingValue("src-sidebar-width");if(srcSidebarWidth&&srcSidebarWidth!=="null"){document.documentElement.style.setProperty("--src-sidebar-width",srcSidebarWidth+"px",)}}updateSidebarWidth();window.addEventListener("pageshow",ev=>{if(ev.persisted){setTimeout(updateTheme,0);setTimeout(updateSidebarWidth,0)}});class RustdocSearchElement extends HTMLElement{constructor(){super()}connectedCallback(){const rootPath=getVar("root-path");const currentCrate=getVar("current-crate");this.innerHTML=``}}window.customElements.define("rustdoc-search",RustdocSearchElement) \ No newline at end of file diff --git a/trait.impl/bitflags/traits/trait.Flags.js b/trait.impl/bitflags/traits/trait.Flags.js new file mode 100644 index 000000000..17b120abc --- /dev/null +++ b/trait.impl/bitflags/traits/trait.Flags.js @@ -0,0 +1,9 @@ +(function() { + var implementors = Object.fromEntries([["client_sdk",[["impl Flags for CommandFlags"],["impl Flags for AssetFlags"],["impl Flags for EmbedFlags"],["impl Flags for EmoteFlags"],["impl Flags for Intent"],["impl Flags for MessageFlags"],["impl Flags for PartyFlags"],["impl Flags for PartyMemberFlags"],["impl Flags for PartyPrefsFlags"],["impl Flags for PinFolderFlags"],["impl Flags for Permissions"],["impl Flags for UserPresenceFlags"],["impl Flags for RoleFlags"],["impl Flags for RoomFlags"],["impl Flags for ThreadFlags"],["impl Flags for ExtraUserProfileBits"],["impl Flags for UserFlags"],["impl Flags for UserPrefsFlags"],["impl Flags for UserProfileBits"]]]]); + if (window.register_implementors) { + window.register_implementors(implementors); + } else { + window.pending_implementors = implementors; + } +})() +//{"start":57,"fragment_lengths":[3273]} \ No newline at end of file diff --git a/trait.impl/bitflags/traits/trait.PublicFlags.js b/trait.impl/bitflags/traits/trait.PublicFlags.js new file mode 100644 index 000000000..6508c77a4 --- /dev/null +++ b/trait.impl/bitflags/traits/trait.PublicFlags.js @@ -0,0 +1,9 @@ +(function() { + var implementors = Object.fromEntries([["client_sdk",[["impl PublicFlags for CommandFlags"],["impl PublicFlags for AssetFlags"],["impl PublicFlags for EmbedFlags"],["impl PublicFlags for EmoteFlags"],["impl PublicFlags for Intent"],["impl PublicFlags for MessageFlags"],["impl PublicFlags for PartyFlags"],["impl PublicFlags for PartyMemberFlags"],["impl PublicFlags for PartyPrefsFlags"],["impl PublicFlags for PinFolderFlags"],["impl PublicFlags for Permissions"],["impl PublicFlags for UserPresenceFlags"],["impl PublicFlags for RoleFlags"],["impl PublicFlags for RoomFlags"],["impl PublicFlags for ThreadFlags"],["impl PublicFlags for ExtraUserProfileBits"],["impl PublicFlags for UserFlags"],["impl PublicFlags for UserPrefsFlags"],["impl PublicFlags for UserProfileBits"]]]]); + if (window.register_implementors) { + window.register_implementors(implementors); + } else { + window.pending_implementors = implementors; + } +})() +//{"start":57,"fragment_lengths":[3387]} \ No newline at end of file diff --git a/trait.impl/bytecheck/trait.CheckBytes.js b/trait.impl/bytecheck/trait.CheckBytes.js new file mode 100644 index 000000000..224eec788 --- /dev/null +++ b/trait.impl/bytecheck/trait.CheckBytes.js @@ -0,0 +1,9 @@ +(function() { + var implementors = Object.fromEntries([["client_sdk",[["impl<C> CheckBytes<C> for CreateRoomKind
where\n C: Fallible + ?Sized,\n <C as Fallible>::Error: Source,
"],["impl<C> CheckBytes<C> for BannerAlign
where\n C: Fallible + ?Sized,\n <C as Fallible>::Error: Source,
"],["impl<C> CheckBytes<C> for ArchivedMessageKind
where\n C: Fallible + ?Sized,\n <C as Fallible>::Error: Source,
"],["impl<C> CheckBytes<C> for ArchivedApiErrorCode
where\n C: Fallible + ?Sized,\n <C as Fallible>::Error: Source,
"],["impl<C> CheckBytes<C> for ArchivedAssetFlags
where\n C: Fallible + ?Sized,\n <C as Fallible>::Error: Source,
"],["impl<C> CheckBytes<C> for ArchivedEmbedFlags
where\n C: Fallible + ?Sized,\n <C as Fallible>::Error: Source,
"],["impl<C> CheckBytes<C> for ArchivedEmoteFlags
where\n C: Fallible + ?Sized,\n <C as Fallible>::Error: Source,
"],["impl<C> CheckBytes<C> for ArchivedIntent
where\n C: Fallible + ?Sized,\n <C as Fallible>::Error: Source,
"],["impl<C> CheckBytes<C> for ArchivedMessageFlags
where\n C: Fallible + ?Sized,\n <C as Fallible>::Error: Source,
"],["impl<C> CheckBytes<C> for ArchivedPartyFlags
where\n C: Fallible + ?Sized,\n <C as Fallible>::Error: Source,
"],["impl<C> CheckBytes<C> for ArchivedPartyMemberFlags
where\n C: Fallible + ?Sized,\n <C as Fallible>::Error: Source,
"],["impl<C> CheckBytes<C> for ArchivedPartyPrefsFlags
where\n C: Fallible + ?Sized,\n <C as Fallible>::Error: Source,
"],["impl<C> CheckBytes<C> for ArchivedPinFolderFlags
where\n C: Fallible + ?Sized,\n <C as Fallible>::Error: Source,
"],["impl<C> CheckBytes<C> for ArchivedPermissions
where\n C: Fallible + ?Sized,\n <C as Fallible>::Error: Source,
"],["impl<C> CheckBytes<C> for ArchivedUserPresenceFlags
where\n C: Fallible + ?Sized,\n <C as Fallible>::Error: Source,
"],["impl<C> CheckBytes<C> for ArchivedRoleFlags
where\n C: Fallible + ?Sized,\n <C as Fallible>::Error: Source,
"],["impl<C> CheckBytes<C> for ArchivedRoomFlags
where\n C: Fallible + ?Sized,\n <C as Fallible>::Error: Source,
"],["impl<C> CheckBytes<C> for ArchivedThreadFlags
where\n C: Fallible + ?Sized,\n <C as Fallible>::Error: Source,
"],["impl<C> CheckBytes<C> for ArchivedExtraUserProfileBits
where\n C: Fallible + ?Sized,\n <C as Fallible>::Error: Source,
"],["impl<C> CheckBytes<C> for ArchivedFont
where\n C: Fallible + ?Sized,\n <C as Fallible>::Error: Source,
"],["impl<C> CheckBytes<C> for ArchivedFriendAddability
where\n C: Fallible + ?Sized,\n <C as Fallible>::Error: Source,
"],["impl<C> CheckBytes<C> for ArchivedLocale
where\n C: Fallible + ?Sized,\n <C as Fallible>::Error: Source,
"],["impl<C> CheckBytes<C> for ArchivedUserFlags
where\n C: Fallible + ?Sized,\n <C as Fallible>::Error: Source,
"],["impl<C> CheckBytes<C> for ArchivedUserPrefsFlags
where\n C: Fallible + ?Sized,\n <C as Fallible>::Error: Source,
"],["impl<C> CheckBytes<C> for ArchivedUserProfileBits
where\n C: Fallible + ?Sized,\n <C as Fallible>::Error: Source,
"],["impl<C> CheckBytes<C> for ArchivedUserRelationship
where\n C: Fallible + ?Sized,\n <C as Fallible>::Error: Source,
"],["impl<T, C> CheckBytes<C> for Nullable<T>
where\n C: Fallible + ?Sized,\n <C as Fallible>::Error: Source,\n T: CheckBytes<C>,
"],["impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedAuthToken
where\n BearerToken: Archive,\n BotToken: Archive,\n <__C as Fallible>::Error: Source,\n <BearerToken as Archive>::Archived: CheckBytes<__C>,\n <BotToken as Archive>::Archived: CheckBytes<__C>,
"],["impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedEmbed
where\n EmbedV1: Archive,\n <__C as Fallible>::Error: Source,\n <EmbedV1 as Archive>::Archived: CheckBytes<__C>,
"],["impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedEmbedType
where\n <__C as Fallible>::Error: Source,
"],["impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedEmote
where\n SmolStr: Archive,\n CustomEmote: Archive,\n <__C as Fallible>::Error: Source,\n <SmolStr as Archive>::Archived: CheckBytes<__C>,\n <CustomEmote as Archive>::Archived: CheckBytes<__C>,
"],["impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedCursor
where\n Snowflake: Archive,\n <__C as Fallible>::Error: Source,\n <Snowflake as Archive>::Archived: CheckBytes<__C>,
"],["impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedPartyUpdateEvent
where\n PartyPositionUpdate: Archive,\n Party: Archive,\n <__C as Fallible>::Error: Source,\n <PartyPositionUpdate as Archive>::Archived: CheckBytes<__C>,\n <Party as Archive>::Archived: CheckBytes<__C>,
"],["impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedClientMsg
where\n HeartbeatPayload: Archive,\n IdentifyPayload: Archive,\n ResumePayload: Archive,\n SetPresencePayload: Archive,\n SubscribePayload: Archive,\n UnsubscribePayload: Archive,\n <__C as Fallible>::Error: Source,\n <HeartbeatPayload as Archive>::Archived: CheckBytes<__C>,\n <IdentifyPayload as Archive>::Archived: CheckBytes<__C>,\n <ResumePayload as Archive>::Archived: CheckBytes<__C>,\n <SetPresencePayload as Archive>::Archived: CheckBytes<__C>,\n <SubscribePayload as Archive>::Archived: CheckBytes<__C>,\n <UnsubscribePayload as Archive>::Archived: CheckBytes<__C>,
"],["impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedServerMsg
where\n HelloPayload: Archive,\n HeartbeatAckPayload: Archive,\n ReadyPayload: Archive,\n InvalidSessionPayload: Archive,\n PartyCreatePayload: Archive,\n PartyUpdatePayload: Archive,\n PartyDeletePayload: Archive,\n RoleCreatePayload: Archive,\n RoleUpdatePayload: Archive,\n RoleDeletePayload: Archive,\n MemberAddPayload: Archive,\n MemberUpdatePayload: Archive,\n MemberRemovePayload: Archive,\n MemberBanPayload: Archive,\n MemberUnbanPayload: Archive,\n RoomCreatePayload: Archive,\n RoomUpdatePayload: Archive,\n RoomDeletePayload: Archive,\n RoomPinsUpdatePayload: Archive,\n MessageCreatePayload: Archive,\n MessageUpdatePayload: Archive,\n MessageDeletePayload: Archive,\n MessageReactionAddPayload: Archive,\n MessageReactionRemovePayload: Archive,\n MessageReactionRemoveAllPayload: Archive,\n MessageReactionRemoveEmotePayload: Archive,\n PresenceUpdatePayload: Archive,\n TypingStartPayload: Archive,\n UserUpdatePayload: Archive,\n ProfileUpdatePayload: Archive,\n RelationAddPayload: Archive,\n RelationRemovePayload: Archive,\n <__C as Fallible>::Error: Source,\n <HelloPayload as Archive>::Archived: CheckBytes<__C>,\n <HeartbeatAckPayload as Archive>::Archived: CheckBytes<__C>,\n <ReadyPayload as Archive>::Archived: CheckBytes<__C>,\n <InvalidSessionPayload as Archive>::Archived: CheckBytes<__C>,\n <PartyCreatePayload as Archive>::Archived: CheckBytes<__C>,\n <PartyUpdatePayload as Archive>::Archived: CheckBytes<__C>,\n <PartyDeletePayload as Archive>::Archived: CheckBytes<__C>,\n <RoleCreatePayload as Archive>::Archived: CheckBytes<__C>,\n <RoleUpdatePayload as Archive>::Archived: CheckBytes<__C>,\n <RoleDeletePayload as Archive>::Archived: CheckBytes<__C>,\n <MemberAddPayload as Archive>::Archived: CheckBytes<__C>,\n <MemberUpdatePayload as Archive>::Archived: CheckBytes<__C>,\n <MemberRemovePayload as Archive>::Archived: CheckBytes<__C>,\n <MemberBanPayload as Archive>::Archived: CheckBytes<__C>,\n <MemberUnbanPayload as Archive>::Archived: CheckBytes<__C>,\n <RoomCreatePayload as Archive>::Archived: CheckBytes<__C>,\n <RoomUpdatePayload as Archive>::Archived: CheckBytes<__C>,\n <RoomDeletePayload as Archive>::Archived: CheckBytes<__C>,\n <RoomPinsUpdatePayload as Archive>::Archived: CheckBytes<__C>,\n <MessageCreatePayload as Archive>::Archived: CheckBytes<__C>,\n <MessageUpdatePayload as Archive>::Archived: CheckBytes<__C>,\n <MessageDeletePayload as Archive>::Archived: CheckBytes<__C>,\n <MessageReactionAddPayload as Archive>::Archived: CheckBytes<__C>,\n <MessageReactionRemovePayload as Archive>::Archived: CheckBytes<__C>,\n <MessageReactionRemoveAllPayload as Archive>::Archived: CheckBytes<__C>,\n <MessageReactionRemoveEmotePayload as Archive>::Archived: CheckBytes<__C>,\n <PresenceUpdatePayload as Archive>::Archived: CheckBytes<__C>,\n <TypingStartPayload as Archive>::Archived: CheckBytes<__C>,\n <UserUpdatePayload as Archive>::Archived: CheckBytes<__C>,\n <ProfileUpdatePayload as Archive>::Archived: CheckBytes<__C>,\n <RelationAddPayload as Archive>::Archived: CheckBytes<__C>,\n <RelationRemovePayload as Archive>::Archived: CheckBytes<__C>,
"],["impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedEmoteOrEmoji
where\n EmoteId: Archive,\n SmolStr: Archive,\n <__C as Fallible>::Error: Source,\n <EmoteId as Archive>::Archived: CheckBytes<__C>,\n <SmolStr as Archive>::Archived: CheckBytes<__C>,
"],["impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedReaction
where\n ReactionShorthand: Archive,\n ReactionFull: Archive,\n <__C as Fallible>::Error: Source,\n <ReactionShorthand as Archive>::Archived: CheckBytes<__C>,\n <ReactionFull as Archive>::Archived: CheckBytes<__C>,
"],["impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedAnyActivity
where\n Activity: Archive,\n <__C as Fallible>::Error: Source,\n <Activity as Archive>::Archived: CheckBytes<__C>,
"],["impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedRoomKind
where\n <__C as Fallible>::Error: Source,
"],["impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedGetServerConfig
where\n <__C as Fallible>::Error: Trace,
"],["impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedCreateFile
where\n CreateFileBody: Archive,\n <__C as Fallible>::Error: Trace,\n <CreateFileBody as Archive>::Archived: CheckBytes<__C>,
"],["impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedCreateFileBody
where\n SmolStr: Archive,\n i32: Archive,\n Option<SmolStr>: Archive,\n Option<i32>: Archive,\n Option<String>: Archive,\n <__C as Fallible>::Error: Trace,\n <SmolStr as Archive>::Archived: CheckBytes<__C>,\n <i32 as Archive>::Archived: CheckBytes<__C>,\n <Option<SmolStr> as Archive>::Archived: CheckBytes<__C>,\n <Option<i32> as Archive>::Archived: CheckBytes<__C>,\n <Option<String> as Archive>::Archived: CheckBytes<__C>,
"],["impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedFileStatus
where\n u32: Archive,\n u64: Archive,\n <__C as Fallible>::Error: Trace,\n <u32 as Archive>::Archived: CheckBytes<__C>,\n <u64 as Archive>::Archived: CheckBytes<__C>,
"],["impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedFilesystemStatus
where\n i64: Archive,\n <__C as Fallible>::Error: Trace,\n <i64 as Archive>::Archived: CheckBytes<__C>,
"],["impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedGetFileStatus
where\n FileId: Archive,\n <__C as Fallible>::Error: Trace,\n <FileId as Archive>::Archived: CheckBytes<__C>,
"],["impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedGetFilesystemStatus
where\n <__C as Fallible>::Error: Trace,
"],["impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedGetInvite
where\n SmolStr: Archive,\n <__C as Fallible>::Error: Trace,\n <SmolStr as Archive>::Archived: CheckBytes<__C>,
"],["impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedRedeemInvite
where\n SmolStr: Archive,\n RedeemInviteBody: Archive,\n <__C as Fallible>::Error: Trace,\n <SmolStr as Archive>::Archived: CheckBytes<__C>,\n <RedeemInviteBody as Archive>::Archived: CheckBytes<__C>,
"],["impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedRedeemInviteBody
where\n Option<SmolStr>: Archive,\n <__C as Fallible>::Error: Trace,\n <Option<SmolStr> as Archive>::Archived: CheckBytes<__C>,
"],["impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedRevokeInvite
where\n SmolStr: Archive,\n <__C as Fallible>::Error: Trace,\n <SmolStr as Archive>::Archived: CheckBytes<__C>,
"],["impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedCreateParty
where\n CreatePartyForm: Archive,\n <__C as Fallible>::Error: Trace,\n <CreatePartyForm as Archive>::Archived: CheckBytes<__C>,
"],["impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedCreatePartyForm
where\n SmolStr: Archive,\n Option<ThinString>: Archive,\n PartyFlags: Archive,\n <__C as Fallible>::Error: Trace,\n <SmolStr as Archive>::Archived: CheckBytes<__C>,\n <Option<ThinString> as Archive>::Archived: CheckBytes<__C>,\n <PartyFlags as Archive>::Archived: CheckBytes<__C>,
"],["impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedCreatePartyInvite
where\n PartyId: Archive,\n CreatePartyInviteBody: Archive,\n <__C as Fallible>::Error: Trace,\n <PartyId as Archive>::Archived: CheckBytes<__C>,\n <CreatePartyInviteBody as Archive>::Archived: CheckBytes<__C>,
"],["impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedCreatePartyInviteBody
where\n Option<u16>: Archive,\n Option<u64>: Archive,\n Option<SmolStr>: Archive,\n <__C as Fallible>::Error: Trace,\n <Option<u16> as Archive>::Archived: CheckBytes<__C>,\n <Option<u64> as Archive>::Archived: CheckBytes<__C>,\n <Option<SmolStr> as Archive>::Archived: CheckBytes<__C>,
"],["impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedCreatePinFolder
where\n PartyId: Archive,\n CreatePinFolderForm: Archive,\n <__C as Fallible>::Error: Trace,\n <PartyId as Archive>::Archived: CheckBytes<__C>,\n <CreatePinFolderForm as Archive>::Archived: CheckBytes<__C>,
"],["impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedCreatePinFolderForm
where\n SmolStr: Archive,\n Option<SmolStr>: Archive,\n <__C as Fallible>::Error: Trace,\n <SmolStr as Archive>::Archived: CheckBytes<__C>,\n <Option<SmolStr> as Archive>::Archived: CheckBytes<__C>,
"],["impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedCreateRole
where\n PartyId: Archive,\n CreateRoleForm: Archive,\n <__C as Fallible>::Error: Trace,\n <PartyId as Archive>::Archived: CheckBytes<__C>,\n <CreateRoleForm as Archive>::Archived: CheckBytes<__C>,
"],["impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedCreateRoleForm
where\n SmolStr: Archive,\n <__C as Fallible>::Error: Trace,\n <SmolStr as Archive>::Archived: CheckBytes<__C>,
"],["impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedCreateRoom
where\n PartyId: Archive,\n CreateRoomForm: Archive,\n <__C as Fallible>::Error: Trace,\n <PartyId as Archive>::Archived: CheckBytes<__C>,\n <CreateRoomForm as Archive>::Archived: CheckBytes<__C>,
"],["impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedCreateRoomForm
where\n SmolStr: Archive,\n Option<SmolStr>: Archive,\n CreateRoomKind: Archive,\n ThinVec<Overwrite>: Archive,\n i16: Archive,\n <__C as Fallible>::Error: Trace,\n <SmolStr as Archive>::Archived: CheckBytes<__C>,\n <Option<SmolStr> as Archive>::Archived: CheckBytes<__C>,\n <CreateRoomKind as Archive>::Archived: CheckBytes<__C>,\n <ThinVec<Overwrite> as Archive>::Archived: CheckBytes<__C>,\n <i16 as Archive>::Archived: CheckBytes<__C>,
"],["impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedDeleteParty
where\n PartyId: Archive,\n <__C as Fallible>::Error: Trace,\n <PartyId as Archive>::Archived: CheckBytes<__C>,
"],["impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedDeleteRole
where\n PartyId: Archive,\n RoleId: Archive,\n <__C as Fallible>::Error: Trace,\n <PartyId as Archive>::Archived: CheckBytes<__C>,\n <RoleId as Archive>::Archived: CheckBytes<__C>,
"],["impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedGetMemberProfile
where\n PartyId: Archive,\n UserId: Archive,\n <__C as Fallible>::Error: Trace,\n <PartyId as Archive>::Archived: CheckBytes<__C>,\n <UserId as Archive>::Archived: CheckBytes<__C>,
"],["impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedGetParty
where\n PartyId: Archive,\n <__C as Fallible>::Error: Trace,\n <PartyId as Archive>::Archived: CheckBytes<__C>,
"],["impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedGetPartyInvites
where\n PartyId: Archive,\n <__C as Fallible>::Error: Trace,\n <PartyId as Archive>::Archived: CheckBytes<__C>,
"],["impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedGetPartyMember
where\n PartyId: Archive,\n UserId: Archive,\n <__C as Fallible>::Error: Trace,\n <PartyId as Archive>::Archived: CheckBytes<__C>,\n <UserId as Archive>::Archived: CheckBytes<__C>,
"],["impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedGetPartyMembers
where\n PartyId: Archive,\n <__C as Fallible>::Error: Trace,\n <PartyId as Archive>::Archived: CheckBytes<__C>,
"],["impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedGetPartyRooms
where\n PartyId: Archive,\n <__C as Fallible>::Error: Trace,\n <PartyId as Archive>::Archived: CheckBytes<__C>,
"],["impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedPartySettings
where\n PartyFlags: Archive,\n PartyPreferences: Archive,\n <__C as Fallible>::Error: Trace,\n <PartyFlags as Archive>::Archived: CheckBytes<__C>,\n <PartyPreferences as Archive>::Archived: CheckBytes<__C>,
"],["impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedPatchParty
where\n PartyId: Archive,\n PatchPartyForm: Archive,\n <__C as Fallible>::Error: Trace,\n <PartyId as Archive>::Archived: CheckBytes<__C>,\n <PatchPartyForm as Archive>::Archived: CheckBytes<__C>,
"],["impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedPatchPartyForm
where\n Option<SmolStr>: Archive,\n Nullable<SmolStr>: Archive,\n Option<PartyFlags>: Archive,\n Option<RoomId>: Archive,\n Nullable<FileId>: Archive,\n BannerAlign: Archive,\n <__C as Fallible>::Error: Trace,\n <Option<SmolStr> as Archive>::Archived: CheckBytes<__C>,\n <Nullable<SmolStr> as Archive>::Archived: CheckBytes<__C>,\n <Option<PartyFlags> as Archive>::Archived: CheckBytes<__C>,\n <Option<RoomId> as Archive>::Archived: CheckBytes<__C>,\n <Nullable<FileId> as Archive>::Archived: CheckBytes<__C>,\n <BannerAlign as Archive>::Archived: CheckBytes<__C>,
"],["impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedPatchRole
where\n PartyId: Archive,\n RoleId: Archive,\n PatchRoleForm: Archive,\n <__C as Fallible>::Error: Trace,\n <PartyId as Archive>::Archived: CheckBytes<__C>,\n <RoleId as Archive>::Archived: CheckBytes<__C>,\n <PatchRoleForm as Archive>::Archived: CheckBytes<__C>,
"],["impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedPatchRoleForm
where\n Option<RoleFlags>: Archive,\n Option<SmolStr>: Archive,\n Option<u32>: Archive,\n Option<Permissions>: Archive,\n Nullable<FileId>: Archive,\n Option<u8>: Archive,\n <__C as Fallible>::Error: Trace,\n <Option<RoleFlags> as Archive>::Archived: CheckBytes<__C>,\n <Option<SmolStr> as Archive>::Archived: CheckBytes<__C>,\n <Option<u32> as Archive>::Archived: CheckBytes<__C>,\n <Option<Permissions> as Archive>::Archived: CheckBytes<__C>,\n <Nullable<FileId> as Archive>::Archived: CheckBytes<__C>,\n <Option<u8> as Archive>::Archived: CheckBytes<__C>,
"],["impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedSearchParty
where\n PartyId: Archive,\n SearchQuery: Archive,\n <__C as Fallible>::Error: Trace,\n <PartyId as Archive>::Archived: CheckBytes<__C>,\n <SearchQuery as Archive>::Archived: CheckBytes<__C>,
"],["impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedSearchQuery
where\n ThinString: Archive,\n <__C as Fallible>::Error: Trace,\n <ThinString as Archive>::Archived: CheckBytes<__C>,
"],["impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedTransferOwnership
where\n PartyId: Archive,\n UserId: Archive,\n <__C as Fallible>::Error: Trace,\n <PartyId as Archive>::Archived: CheckBytes<__C>,\n <UserId as Archive>::Archived: CheckBytes<__C>,
"],["impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedUpdateMemberProfile
where\n PartyId: Archive,\n UpdateMemberProfileBody: Archive,\n <__C as Fallible>::Error: Trace,\n <PartyId as Archive>::Archived: CheckBytes<__C>,\n <UpdateMemberProfileBody as Archive>::Archived: CheckBytes<__C>,
"],["impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedUpdateMemberProfileBody
where\n UpdateUserProfileBody: Archive,\n <__C as Fallible>::Error: Trace,\n <UpdateUserProfileBody as Archive>::Archived: CheckBytes<__C>,
"],["impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedCreateMessage
where\n RoomId: Archive,\n CreateMessageBody: Archive,\n <__C as Fallible>::Error: Trace,\n <RoomId as Archive>::Archived: CheckBytes<__C>,\n <CreateMessageBody as Archive>::Archived: CheckBytes<__C>,
"],["impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedCreateMessageBody
where\n SmolStr: Archive,\n Option<RoomId>: Archive,\n ThinVec<FileId>: Archive,\n ThinVec<Embed>: Archive,\n bool: Archive,\n <__C as Fallible>::Error: Trace,\n <SmolStr as Archive>::Archived: CheckBytes<__C>,\n <Option<RoomId> as Archive>::Archived: CheckBytes<__C>,\n <ThinVec<FileId> as Archive>::Archived: CheckBytes<__C>,\n <ThinVec<Embed> as Archive>::Archived: CheckBytes<__C>,\n <bool as Archive>::Archived: CheckBytes<__C>,
"],["impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedDeleteAllReactions
where\n RoomId: Archive,\n MessageId: Archive,\n <__C as Fallible>::Error: Trace,\n <RoomId as Archive>::Archived: CheckBytes<__C>,\n <MessageId as Archive>::Archived: CheckBytes<__C>,
"],["impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedDeleteMessage
where\n RoomId: Archive,\n MessageId: Archive,\n <__C as Fallible>::Error: Trace,\n <RoomId as Archive>::Archived: CheckBytes<__C>,\n <MessageId as Archive>::Archived: CheckBytes<__C>,
"],["impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedDeleteOwnReaction
where\n RoomId: Archive,\n MessageId: Archive,\n EmoteOrEmoji: Archive,\n <__C as Fallible>::Error: Trace,\n <RoomId as Archive>::Archived: CheckBytes<__C>,\n <MessageId as Archive>::Archived: CheckBytes<__C>,\n <EmoteOrEmoji as Archive>::Archived: CheckBytes<__C>,
"],["impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedDeleteRoom
where\n RoomId: Archive,\n <__C as Fallible>::Error: Trace,\n <RoomId as Archive>::Archived: CheckBytes<__C>,
"],["impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedDeleteUserReaction
where\n RoomId: Archive,\n MessageId: Archive,\n EmoteOrEmoji: Archive,\n UserId: Archive,\n <__C as Fallible>::Error: Trace,\n <RoomId as Archive>::Archived: CheckBytes<__C>,\n <MessageId as Archive>::Archived: CheckBytes<__C>,\n <EmoteOrEmoji as Archive>::Archived: CheckBytes<__C>,\n <UserId as Archive>::Archived: CheckBytes<__C>,
"],["impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedEditMessage
where\n RoomId: Archive,\n MessageId: Archive,\n EditMessageBody: Archive,\n <__C as Fallible>::Error: Trace,\n <RoomId as Archive>::Archived: CheckBytes<__C>,\n <MessageId as Archive>::Archived: CheckBytes<__C>,\n <EditMessageBody as Archive>::Archived: CheckBytes<__C>,
"],["impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedEditMessageBody
where\n SmolStr: Archive,\n ThinVec<FileId>: Archive,\n <__C as Fallible>::Error: Trace,\n <SmolStr as Archive>::Archived: CheckBytes<__C>,\n <ThinVec<FileId> as Archive>::Archived: CheckBytes<__C>,
"],["impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedGetMessage
where\n RoomId: Archive,\n MessageId: Archive,\n <__C as Fallible>::Error: Trace,\n <RoomId as Archive>::Archived: CheckBytes<__C>,\n <MessageId as Archive>::Archived: CheckBytes<__C>,
"],["impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedGetMessages
where\n RoomId: Archive,\n GetMessagesQuery: Archive,\n <__C as Fallible>::Error: Trace,\n <RoomId as Archive>::Archived: CheckBytes<__C>,\n <GetMessagesQuery as Archive>::Archived: CheckBytes<__C>,
"],["impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedGetMessagesQuery
where\n Option<Cursor>: Archive,\n Option<MessageId>: Archive,\n Option<u8>: Archive,\n ThinVec<FolderId>: Archive,\n bool: Archive,\n u8: Archive,\n <__C as Fallible>::Error: Trace,\n <Option<Cursor> as Archive>::Archived: CheckBytes<__C>,\n <Option<MessageId> as Archive>::Archived: CheckBytes<__C>,\n <Option<u8> as Archive>::Archived: CheckBytes<__C>,\n <ThinVec<FolderId> as Archive>::Archived: CheckBytes<__C>,\n <bool as Archive>::Archived: CheckBytes<__C>,\n <u8 as Archive>::Archived: CheckBytes<__C>,
"],["impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedGetReactions
where\n RoomId: Archive,\n MessageId: Archive,\n EmoteOrEmoji: Archive,\n GetReactionsForm: Archive,\n <__C as Fallible>::Error: Trace,\n <RoomId as Archive>::Archived: CheckBytes<__C>,\n <MessageId as Archive>::Archived: CheckBytes<__C>,\n <EmoteOrEmoji as Archive>::Archived: CheckBytes<__C>,\n <GetReactionsForm as Archive>::Archived: CheckBytes<__C>,
"],["impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedGetReactionsForm
where\n Option<Snowflake>: Archive,\n Option<i8>: Archive,\n <__C as Fallible>::Error: Trace,\n <Option<Snowflake> as Archive>::Archived: CheckBytes<__C>,\n <Option<i8> as Archive>::Archived: CheckBytes<__C>,
"],["impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedGetRoom
where\n RoomId: Archive,\n <__C as Fallible>::Error: Trace,\n <RoomId as Archive>::Archived: CheckBytes<__C>,
"],["impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedPatchRoom
where\n RoomId: Archive,\n PatchRoomForm: Archive,\n <__C as Fallible>::Error: Trace,\n <RoomId as Archive>::Archived: CheckBytes<__C>,\n <PatchRoomForm as Archive>::Archived: CheckBytes<__C>,
"],["impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedPatchRoomForm
where\n Option<SmolStr>: Archive,\n Nullable<SmolStr>: Archive,\n Nullable<FileId>: Archive,\n Option<u8>: Archive,\n ThinVec<Snowflake>: Archive,\n ThinVec<Overwrite>: Archive,\n Option<bool>: Archive,\n <__C as Fallible>::Error: Trace,\n <Option<SmolStr> as Archive>::Archived: CheckBytes<__C>,\n <Nullable<SmolStr> as Archive>::Archived: CheckBytes<__C>,\n <Nullable<FileId> as Archive>::Archived: CheckBytes<__C>,\n <Option<u8> as Archive>::Archived: CheckBytes<__C>,\n <ThinVec<Snowflake> as Archive>::Archived: CheckBytes<__C>,\n <ThinVec<Overwrite> as Archive>::Archived: CheckBytes<__C>,\n <Option<bool> as Archive>::Archived: CheckBytes<__C>,
"],["impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedPinMessage
where\n RoomId: Archive,\n MessageId: Archive,\n FolderId: Archive,\n <__C as Fallible>::Error: Trace,\n <RoomId as Archive>::Archived: CheckBytes<__C>,\n <MessageId as Archive>::Archived: CheckBytes<__C>,\n <FolderId as Archive>::Archived: CheckBytes<__C>,
"],["impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedPutReaction
where\n RoomId: Archive,\n MessageId: Archive,\n EmoteOrEmoji: Archive,\n <__C as Fallible>::Error: Trace,\n <RoomId as Archive>::Archived: CheckBytes<__C>,\n <MessageId as Archive>::Archived: CheckBytes<__C>,\n <EmoteOrEmoji as Archive>::Archived: CheckBytes<__C>,
"],["impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedStarMessage
where\n RoomId: Archive,\n MessageId: Archive,\n <__C as Fallible>::Error: Trace,\n <RoomId as Archive>::Archived: CheckBytes<__C>,\n <MessageId as Archive>::Archived: CheckBytes<__C>,
"],["impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedStartTyping
where\n RoomId: Archive,\n StartTypingBody: Archive,\n <__C as Fallible>::Error: Trace,\n <RoomId as Archive>::Archived: CheckBytes<__C>,\n <StartTypingBody as Archive>::Archived: CheckBytes<__C>,
"],["impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedStartTypingBody
where\n Option<MessageId>: Archive,\n <__C as Fallible>::Error: Trace,\n <Option<MessageId> as Archive>::Archived: CheckBytes<__C>,
"],["impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedUnpinMessage
where\n RoomId: Archive,\n MessageId: Archive,\n FolderId: Archive,\n <__C as Fallible>::Error: Trace,\n <RoomId as Archive>::Archived: CheckBytes<__C>,\n <MessageId as Archive>::Archived: CheckBytes<__C>,\n <FolderId as Archive>::Archived: CheckBytes<__C>,
"],["impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedUnstarMessage
where\n RoomId: Archive,\n MessageId: Archive,\n <__C as Fallible>::Error: Trace,\n <RoomId as Archive>::Archived: CheckBytes<__C>,\n <MessageId as Archive>::Archived: CheckBytes<__C>,
"],["impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedAdded2FA
where\n String: Archive,\n Vec<String>: Archive,\n <__C as Fallible>::Error: Trace,\n <String as Archive>::Archived: CheckBytes<__C>,\n <Vec<String> as Archive>::Archived: CheckBytes<__C>,
"],["impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedChangePassword
where\n ChangePasswordForm: Archive,\n <__C as Fallible>::Error: Trace,\n <ChangePasswordForm as Archive>::Archived: CheckBytes<__C>,
"],["impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedChangePasswordForm
where\n SmolStr: Archive,\n Option<SmolStr>: Archive,\n <__C as Fallible>::Error: Trace,\n <SmolStr as Archive>::Archived: CheckBytes<__C>,\n <Option<SmolStr> as Archive>::Archived: CheckBytes<__C>,
"],["impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedClearSessions
where\n ClearSessionsForm: Archive,\n <__C as Fallible>::Error: Trace,\n <ClearSessionsForm as Archive>::Archived: CheckBytes<__C>,
"],["impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedClearSessionsForm
where\n Option<SmolStr>: Archive,\n <__C as Fallible>::Error: Trace,\n <Option<SmolStr> as Archive>::Archived: CheckBytes<__C>,
"],["impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedConfirm2FA
where\n Confirm2FAForm: Archive,\n <__C as Fallible>::Error: Trace,\n <Confirm2FAForm as Archive>::Archived: CheckBytes<__C>,
"],["impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedConfirm2FAForm
where\n SmolStr: Archive,\n <__C as Fallible>::Error: Trace,\n <SmolStr as Archive>::Archived: CheckBytes<__C>,
"],["impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedEnable2FA
where\n Enable2FAForm: Archive,\n <__C as Fallible>::Error: Trace,\n <Enable2FAForm as Archive>::Archived: CheckBytes<__C>,
"],["impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedEnable2FAForm
where\n SmolStr: Archive,\n String: Archive,\n <__C as Fallible>::Error: Trace,\n <SmolStr as Archive>::Archived: CheckBytes<__C>,\n <String as Archive>::Archived: CheckBytes<__C>,
"],["impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedGetRelationships
where\n <__C as Fallible>::Error: Trace,
"],["impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedGetSessions
where\n <__C as Fallible>::Error: Trace,
"],["impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedGetUser
where\n UserId: Archive,\n <__C as Fallible>::Error: Trace,\n <UserId as Archive>::Archived: CheckBytes<__C>,
"],["impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedPatchRelationship
where\n UserId: Archive,\n PatchRelationshipBody: Archive,\n <__C as Fallible>::Error: Trace,\n <UserId as Archive>::Archived: CheckBytes<__C>,\n <PatchRelationshipBody as Archive>::Archived: CheckBytes<__C>,
"],["impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedPatchRelationshipBody
where\n Nullable<UserRelationship>: Archive,\n Nullable<SmolStr>: Archive,\n <__C as Fallible>::Error: Trace,\n <Nullable<UserRelationship> as Archive>::Archived: CheckBytes<__C>,\n <Nullable<SmolStr> as Archive>::Archived: CheckBytes<__C>,
"],["impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedRemove2FA
where\n Remove2FAForm: Archive,\n <__C as Fallible>::Error: Trace,\n <Remove2FAForm as Archive>::Archived: CheckBytes<__C>,
"],["impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedRemove2FAForm
where\n SmolStr: Archive,\n <__C as Fallible>::Error: Trace,\n <SmolStr as Archive>::Archived: CheckBytes<__C>,
"],["impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedUpdateUserPrefs
where\n UpdateUserPrefsBody: Archive,\n <__C as Fallible>::Error: Trace,\n <UpdateUserPrefsBody as Archive>::Archived: CheckBytes<__C>,
"],["impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedUpdateUserPrefsBody
where\n UserPreferences: Archive,\n <__C as Fallible>::Error: Trace,\n <UserPreferences as Archive>::Archived: CheckBytes<__C>,
"],["impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedUpdateUserProfile
where\n UpdateUserProfileBody: Archive,\n <__C as Fallible>::Error: Trace,\n <UpdateUserProfileBody as Archive>::Archived: CheckBytes<__C>,
"],["impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedUpdateUserProfileBody
where\n UserProfileBits: Archive,\n ExtraUserProfileBits: Archive,\n Nullable<SmolStr>: Archive,\n Nullable<FileId>: Archive,\n BannerAlign: Archive,\n <__C as Fallible>::Error: Trace,\n <UserProfileBits as Archive>::Archived: CheckBytes<__C>,\n <ExtraUserProfileBits as Archive>::Archived: CheckBytes<__C>,\n <Nullable<SmolStr> as Archive>::Archived: CheckBytes<__C>,\n <Nullable<FileId> as Archive>::Archived: CheckBytes<__C>,\n <BannerAlign as Archive>::Archived: CheckBytes<__C>,
"],["impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedUserLogin
where\n UserLoginForm: Archive,\n <__C as Fallible>::Error: Trace,\n <UserLoginForm as Archive>::Archived: CheckBytes<__C>,
"],["impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedUserLoginForm
where\n SmolStr: Archive,\n Option<SmolStr>: Archive,\n <__C as Fallible>::Error: Trace,\n <SmolStr as Archive>::Archived: CheckBytes<__C>,\n <Option<SmolStr> as Archive>::Archived: CheckBytes<__C>,
"],["impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedUserLogout
where\n <__C as Fallible>::Error: Trace,
"],["impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedUserRegister
where\n UserRegisterForm: Archive,\n <__C as Fallible>::Error: Trace,\n <UserRegisterForm as Archive>::Archived: CheckBytes<__C>,
"],["impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedUserRegisterForm
where\n SmolStr: Archive,\n Timestamp: Archive,\n String: Archive,\n <__C as Fallible>::Error: Trace,\n <SmolStr as Archive>::Archived: CheckBytes<__C>,\n <Timestamp as Archive>::Archived: CheckBytes<__C>,\n <String as Archive>::Archived: CheckBytes<__C>,
"],["impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedApiError
where\n ApiErrorCode: Archive,\n AsOwned: ArchiveWith<Cow<'static, str>>,\n <__C as Fallible>::Error: Trace,\n <ApiErrorCode as Archive>::Archived: CheckBytes<__C>,\n <AsOwned as ArchiveWith<Cow<'static, str>>>::Archived: CheckBytes<__C>,
"],["impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedServerConfig
where\n HCaptchaSiteKey: Archive,\n SmolStr: Archive,\n u8: Archive,\n bool: Archive,\n ServerLimits: Archive,\n <__C as Fallible>::Error: Trace,\n <HCaptchaSiteKey as Archive>::Archived: CheckBytes<__C>,\n <SmolStr as Archive>::Archived: CheckBytes<__C>,\n <u8 as Archive>::Archived: CheckBytes<__C>,\n <bool as Archive>::Archived: CheckBytes<__C>,\n <ServerLimits as Archive>::Archived: CheckBytes<__C>,
"],["impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedServerLimits
where\n u64: Archive,\n u32: Archive,\n <__C as Fallible>::Error: Trace,\n <u64 as Archive>::Archived: CheckBytes<__C>,\n <u32 as Archive>::Archived: CheckBytes<__C>,
"],["impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedBasicEmbedMedia
where\n ThinString: Archive,\n Option<ThinString>: Archive,\n Option<UrlSignature>: Archive,\n Option<i32>: Archive,\n Option<SmolStr>: Archive,\n <__C as Fallible>::Error: Trace,\n <ThinString as Archive>::Archived: CheckBytes<__C>,\n <Option<ThinString> as Archive>::Archived: CheckBytes<__C>,\n <Option<UrlSignature> as Archive>::Archived: CheckBytes<__C>,\n <Option<i32> as Archive>::Archived: CheckBytes<__C>,\n <Option<SmolStr> as Archive>::Archived: CheckBytes<__C>,
"],["impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedEmbedAuthor
where\n SmolStr: Archive,\n Option<ThinString>: Archive,\n Niche: ArchiveWith<Option<Box<EmbedMedia>>>,\n <__C as Fallible>::Error: Trace,\n <SmolStr as Archive>::Archived: CheckBytes<__C>,\n <Option<ThinString> as Archive>::Archived: CheckBytes<__C>,\n <Niche as ArchiveWith<Option<Box<EmbedMedia>>>>::Archived: CheckBytes<__C>,
"],["impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedEmbedField
where\n SmolStr: Archive,\n Niche: ArchiveWith<Option<Box<EmbedMedia>>>,\n bool: Archive,\n <__C as Fallible>::Error: Trace,\n <SmolStr as Archive>::Archived: CheckBytes<__C>,\n <Niche as ArchiveWith<Option<Box<EmbedMedia>>>>::Archived: CheckBytes<__C>,\n <bool as Archive>::Archived: CheckBytes<__C>,
"],["impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedEmbedFooter
where\n ThinString: Archive,\n Niche: ArchiveWith<Option<Box<EmbedMedia>>>,\n <__C as Fallible>::Error: Trace,\n <ThinString as Archive>::Archived: CheckBytes<__C>,\n <Niche as ArchiveWith<Option<Box<EmbedMedia>>>>::Archived: CheckBytes<__C>,
"],["impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedEmbedMedia
where\n BasicEmbedMedia: Archive,\n Vec<BasicEmbedMedia>: Archive,\n <__C as Fallible>::Error: Trace,\n <BasicEmbedMedia as Archive>::Archived: CheckBytes<__C>,\n <Vec<BasicEmbedMedia> as Archive>::Archived: CheckBytes<__C>,
"],["impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedEmbedProvider
where\n Option<SmolStr>: Archive,\n Option<ThinString>: Archive,\n Niche: ArchiveWith<Option<Box<EmbedMedia>>>,\n <__C as Fallible>::Error: Trace,\n <Option<SmolStr> as Archive>::Archived: CheckBytes<__C>,\n <Option<ThinString> as Archive>::Archived: CheckBytes<__C>,\n <Niche as ArchiveWith<Option<Box<EmbedMedia>>>>::Archived: CheckBytes<__C>,
"],["impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedEmbedV1
where\n Timestamp: Archive,\n EmbedType: Archive,\n EmbedFlags: Archive,\n Option<ThinString>: Archive,\n Option<u32>: Archive,\n Option<EmbedAuthor>: Archive,\n EmbedProvider: Archive,\n Niche: ArchiveWith<Option<Box<EmbedMedia>>>,\n Vec<EmbedField>: Archive,\n Option<EmbedFooter>: Archive,\n <__C as Fallible>::Error: Trace,\n <Timestamp as Archive>::Archived: CheckBytes<__C>,\n <EmbedType as Archive>::Archived: CheckBytes<__C>,\n <EmbedFlags as Archive>::Archived: CheckBytes<__C>,\n <Option<ThinString> as Archive>::Archived: CheckBytes<__C>,\n <Option<u32> as Archive>::Archived: CheckBytes<__C>,\n <Option<EmbedAuthor> as Archive>::Archived: CheckBytes<__C>,\n <EmbedProvider as Archive>::Archived: CheckBytes<__C>,\n <Niche as ArchiveWith<Option<Box<EmbedMedia>>>>::Archived: CheckBytes<__C>,\n <Vec<EmbedField> as Archive>::Archived: CheckBytes<__C>,\n <Option<EmbedFooter> as Archive>::Archived: CheckBytes<__C>,
"],["impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedCustomEmote
where\n EmoteId: Archive,\n PartyId: Archive,\n FileId: Archive,\n SmolStr: Archive,\n EmoteFlags: Archive,\n f32: Archive,\n <__C as Fallible>::Error: Trace,\n <EmoteId as Archive>::Archived: CheckBytes<__C>,\n <PartyId as Archive>::Archived: CheckBytes<__C>,\n <FileId as Archive>::Archived: CheckBytes<__C>,\n <SmolStr as Archive>::Archived: CheckBytes<__C>,\n <EmoteFlags as Archive>::Archived: CheckBytes<__C>,\n <f32 as Archive>::Archived: CheckBytes<__C>,
"],["impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedFile
where\n FileId: Archive,\n SmolStr: Archive,\n i64: Archive,\n Option<SmolStr>: Archive,\n Option<i32>: Archive,\n Option<ThinString>: Archive,\n <__C as Fallible>::Error: Trace,\n <FileId as Archive>::Archived: CheckBytes<__C>,\n <SmolStr as Archive>::Archived: CheckBytes<__C>,\n <i64 as Archive>::Archived: CheckBytes<__C>,\n <Option<SmolStr> as Archive>::Archived: CheckBytes<__C>,\n <Option<i32> as Archive>::Archived: CheckBytes<__C>,\n <Option<ThinString> as Archive>::Archived: CheckBytes<__C>,
"],["impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedIdentify
where\n AuthToken: Archive,\n Intent: Archive,\n <__C as Fallible>::Error: Trace,\n <AuthToken as Archive>::Archived: CheckBytes<__C>,\n <Intent as Archive>::Archived: CheckBytes<__C>,
"],["impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedSetPresence
where\n UserPresence: Archive,\n <__C as Fallible>::Error: Trace,\n <UserPresence as Archive>::Archived: CheckBytes<__C>,
"],["impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedHello
where\n u32: Archive,\n <__C as Fallible>::Error: Trace,\n <u32 as Archive>::Archived: CheckBytes<__C>,
"],["impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedMessageDeleteEvent
where\n MessageId: Archive,\n RoomId: Archive,\n PartyId: Archive,\n <__C as Fallible>::Error: Trace,\n <MessageId as Archive>::Archived: CheckBytes<__C>,\n <RoomId as Archive>::Archived: CheckBytes<__C>,\n <PartyId as Archive>::Archived: CheckBytes<__C>,
"],["impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedPartyMemberEvent
where\n PartyId: Archive,\n PartyMember: Archive,\n <__C as Fallible>::Error: Trace,\n <PartyId as Archive>::Archived: CheckBytes<__C>,\n <PartyMember as Archive>::Archived: CheckBytes<__C>,
"],["impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedPartyPositionUpdate
where\n PartyId: Archive,\n i16: Archive,\n <__C as Fallible>::Error: Trace,\n <PartyId as Archive>::Archived: CheckBytes<__C>,\n <i16 as Archive>::Archived: CheckBytes<__C>,
"],["impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedProfileUpdateEvent
where\n Option<PartyId>: Archive,\n User: Archive,\n <__C as Fallible>::Error: Trace,\n <Option<PartyId> as Archive>::Archived: CheckBytes<__C>,\n <User as Archive>::Archived: CheckBytes<__C>,
"],["impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedReady
where\n User: Archive,\n ThinVec<ReadyParty>: Archive,\n ThinVec<Room>: Archive,\n Snowflake: Archive,\n <__C as Fallible>::Error: Trace,\n <User as Archive>::Archived: CheckBytes<__C>,\n <ThinVec<ReadyParty> as Archive>::Archived: CheckBytes<__C>,\n <ThinVec<Room> as Archive>::Archived: CheckBytes<__C>,\n <Snowflake as Archive>::Archived: CheckBytes<__C>,
"],["impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedReadyParty
where\n Party: Archive,\n PartyMember: Archive,\n <__C as Fallible>::Error: Trace,\n <Party as Archive>::Archived: CheckBytes<__C>,\n <PartyMember as Archive>::Archived: CheckBytes<__C>,
"],["impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedRoleDeleteEvent
where\n RoleId: Archive,\n PartyId: Archive,\n <__C as Fallible>::Error: Trace,\n <RoleId as Archive>::Archived: CheckBytes<__C>,\n <PartyId as Archive>::Archived: CheckBytes<__C>,
"],["impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedRoomDeleteEvent
where\n RoomId: Archive,\n NicheSnowflake: ArchiveWith<Option<PartyId>>,\n <__C as Fallible>::Error: Trace,\n <RoomId as Archive>::Archived: CheckBytes<__C>,\n <NicheSnowflake as ArchiveWith<Option<PartyId>>>::Archived: CheckBytes<__C>,
"],["impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedTypingStart
where\n RoomId: Archive,\n PartyId: Archive,\n UserId: Archive,\n PartyMember: Archive,\n Option<MessageId>: Archive,\n <__C as Fallible>::Error: Trace,\n <RoomId as Archive>::Archived: CheckBytes<__C>,\n <PartyId as Archive>::Archived: CheckBytes<__C>,\n <UserId as Archive>::Archived: CheckBytes<__C>,\n <PartyMember as Archive>::Archived: CheckBytes<__C>,\n <Option<MessageId> as Archive>::Archived: CheckBytes<__C>,
"],["impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedUserPresenceEvent
where\n Option<PartyId>: Archive,\n User: Archive,\n <__C as Fallible>::Error: Trace,\n <Option<PartyId> as Archive>::Archived: CheckBytes<__C>,\n <User as Archive>::Archived: CheckBytes<__C>,
"],["impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedUserReactionEvent
where\n UserId: Archive,\n RoomId: Archive,\n PartyId: Archive,\n MessageId: Archive,\n Niche: ArchiveWith<Option<Box<PartyMember>>>,\n EmoteOrEmoji: Archive,\n <__C as Fallible>::Error: Trace,\n <UserId as Archive>::Archived: CheckBytes<__C>,\n <RoomId as Archive>::Archived: CheckBytes<__C>,\n <PartyId as Archive>::Archived: CheckBytes<__C>,\n <MessageId as Archive>::Archived: CheckBytes<__C>,\n <Niche as ArchiveWith<Option<Box<PartyMember>>>>::Archived: CheckBytes<__C>,\n <EmoteOrEmoji as Archive>::Archived: CheckBytes<__C>,
"],["impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedHeartbeatPayload
where\n <__C as Fallible>::Error: Trace,
"],["impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedIdentifyPayload
where\n Box<Identify>: Archive,\n <__C as Fallible>::Error: Trace,\n <Box<Identify> as Archive>::Archived: CheckBytes<__C>,
"],["impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedResumePayload
where\n Snowflake: Archive,\n <__C as Fallible>::Error: Trace,\n <Snowflake as Archive>::Archived: CheckBytes<__C>,
"],["impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedSetPresencePayload
where\n Box<SetPresence>: Archive,\n <__C as Fallible>::Error: Trace,\n <Box<SetPresence> as Archive>::Archived: CheckBytes<__C>,
"],["impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedSubscribePayload
where\n PartyId: Archive,\n <__C as Fallible>::Error: Trace,\n <PartyId as Archive>::Archived: CheckBytes<__C>,
"],["impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedUnsubscribePayload
where\n PartyId: Archive,\n <__C as Fallible>::Error: Trace,\n <PartyId as Archive>::Archived: CheckBytes<__C>,
"],["impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedHeartbeatAckPayload
where\n <__C as Fallible>::Error: Trace,
"],["impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedHelloPayload
where\n Hello: Archive,\n <__C as Fallible>::Error: Trace,\n <Hello as Archive>::Archived: CheckBytes<__C>,
"],["impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedInvalidSessionPayload
where\n <__C as Fallible>::Error: Trace,
"],["impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedMemberAddPayload
where\n Arc<PartyMemberEvent>: Archive,\n <__C as Fallible>::Error: Trace,\n <Arc<PartyMemberEvent> as Archive>::Archived: CheckBytes<__C>,
"],["impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedMemberBanPayload
where\n Arc<PartyMemberEvent>: Archive,\n <__C as Fallible>::Error: Trace,\n <Arc<PartyMemberEvent> as Archive>::Archived: CheckBytes<__C>,
"],["impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedMemberRemovePayload
where\n Arc<PartyMemberEvent>: Archive,\n <__C as Fallible>::Error: Trace,\n <Arc<PartyMemberEvent> as Archive>::Archived: CheckBytes<__C>,
"],["impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedMemberUnbanPayload
where\n Arc<PartyMemberEvent>: Archive,\n <__C as Fallible>::Error: Trace,\n <Arc<PartyMemberEvent> as Archive>::Archived: CheckBytes<__C>,
"],["impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedMemberUpdatePayload
where\n Arc<PartyMemberEvent>: Archive,\n <__C as Fallible>::Error: Trace,\n <Arc<PartyMemberEvent> as Archive>::Archived: CheckBytes<__C>,
"],["impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedMessageCreatePayload
where\n Arc<Message>: Archive,\n <__C as Fallible>::Error: Trace,\n <Arc<Message> as Archive>::Archived: CheckBytes<__C>,
"],["impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedMessageDeletePayload
where\n Arc<MessageDeleteEvent>: Archive,\n <__C as Fallible>::Error: Trace,\n <Arc<MessageDeleteEvent> as Archive>::Archived: CheckBytes<__C>,
"],["impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedMessageReactionAddPayload
where\n Arc<UserReactionEvent>: Archive,\n <__C as Fallible>::Error: Trace,\n <Arc<UserReactionEvent> as Archive>::Archived: CheckBytes<__C>,
"],["impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedMessageReactionRemoveAllPayload
where\n <__C as Fallible>::Error: Trace,
"],["impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedMessageReactionRemoveEmotePayload
where\n <__C as Fallible>::Error: Trace,
"],["impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedMessageReactionRemovePayload
where\n Arc<UserReactionEvent>: Archive,\n <__C as Fallible>::Error: Trace,\n <Arc<UserReactionEvent> as Archive>::Archived: CheckBytes<__C>,
"],["impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedMessageUpdatePayload
where\n Arc<Message>: Archive,\n <__C as Fallible>::Error: Trace,\n <Arc<Message> as Archive>::Archived: CheckBytes<__C>,
"],["impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedPartyCreatePayload
where\n Arc<Party>: Archive,\n <__C as Fallible>::Error: Trace,\n <Arc<Party> as Archive>::Archived: CheckBytes<__C>,
"],["impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedPartyDeletePayload
where\n PartyId: Archive,\n <__C as Fallible>::Error: Trace,\n <PartyId as Archive>::Archived: CheckBytes<__C>,
"],["impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedPartyUpdatePayload
where\n Arc<PartyUpdateEvent>: Archive,\n <__C as Fallible>::Error: Trace,\n <Arc<PartyUpdateEvent> as Archive>::Archived: CheckBytes<__C>,
"],["impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedPresenceUpdatePayload
where\n Arc<UserPresenceEvent>: Archive,\n <__C as Fallible>::Error: Trace,\n <Arc<UserPresenceEvent> as Archive>::Archived: CheckBytes<__C>,
"],["impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedProfileUpdatePayload
where\n Arc<ProfileUpdateEvent>: Archive,\n <__C as Fallible>::Error: Trace,\n <Arc<ProfileUpdateEvent> as Archive>::Archived: CheckBytes<__C>,
"],["impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedReadyPayload
where\n Arc<Ready>: Archive,\n <__C as Fallible>::Error: Trace,\n <Arc<Ready> as Archive>::Archived: CheckBytes<__C>,
"],["impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedRelationAddPayload
where\n Arc<Relationship>: Archive,\n <__C as Fallible>::Error: Trace,\n <Arc<Relationship> as Archive>::Archived: CheckBytes<__C>,
"],["impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedRelationRemovePayload
where\n UserId: Archive,\n <__C as Fallible>::Error: Trace,\n <UserId as Archive>::Archived: CheckBytes<__C>,
"],["impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedRoleCreatePayload
where\n Arc<Role>: Archive,\n <__C as Fallible>::Error: Trace,\n <Arc<Role> as Archive>::Archived: CheckBytes<__C>,
"],["impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedRoleDeletePayload
where\n Arc<RoleDeleteEvent>: Archive,\n <__C as Fallible>::Error: Trace,\n <Arc<RoleDeleteEvent> as Archive>::Archived: CheckBytes<__C>,
"],["impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedRoleUpdatePayload
where\n Arc<Role>: Archive,\n <__C as Fallible>::Error: Trace,\n <Arc<Role> as Archive>::Archived: CheckBytes<__C>,
"],["impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedRoomCreatePayload
where\n Arc<()>: Archive,\n <__C as Fallible>::Error: Trace,\n <Arc<()> as Archive>::Archived: CheckBytes<__C>,
"],["impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedRoomDeletePayload
where\n Arc<RoomDeleteEvent>: Archive,\n <__C as Fallible>::Error: Trace,\n <Arc<RoomDeleteEvent> as Archive>::Archived: CheckBytes<__C>,
"],["impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedRoomPinsUpdatePayload
where\n <__C as Fallible>::Error: Trace,
"],["impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedRoomUpdatePayload
where\n Arc<()>: Archive,\n <__C as Fallible>::Error: Trace,\n <Arc<()> as Archive>::Archived: CheckBytes<__C>,
"],["impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedTypingStartPayload
where\n Arc<TypingStart>: Archive,\n <__C as Fallible>::Error: Trace,\n <Arc<TypingStart> as Archive>::Archived: CheckBytes<__C>,
"],["impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedUserUpdatePayload
where\n Arc<User>: Archive,\n <__C as Fallible>::Error: Trace,\n <Arc<User> as Archive>::Archived: CheckBytes<__C>,
"],["impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedInvite
where\n SmolStr: Archive,\n PartialParty: Archive,\n NicheSnowflake: ArchiveWith<Option<UserId>>,\n Option<SmolStr>: Archive,\n Option<Timestamp>: Archive,\n Option<u16>: Archive,\n <__C as Fallible>::Error: Trace,\n <SmolStr as Archive>::Archived: CheckBytes<__C>,\n <PartialParty as Archive>::Archived: CheckBytes<__C>,\n <NicheSnowflake as ArchiveWith<Option<UserId>>>::Archived: CheckBytes<__C>,\n <Option<SmolStr> as Archive>::Archived: CheckBytes<__C>,\n <Option<Timestamp> as Archive>::Archived: CheckBytes<__C>,\n <Option<u16> as Archive>::Archived: CheckBytes<__C>,
"],["impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedAttachment
where\n File: Archive,\n <__C as Fallible>::Error: Trace,\n <File as Archive>::Archived: CheckBytes<__C>,
"],["impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedMessage
where\n MessageId: Archive,\n RoomId: Archive,\n PartyId: Archive,\n MessageKind: Archive,\n PartyMember: Archive,\n Option<MessageId>: Archive,\n Option<Timestamp>: Archive,\n Option<SmolStr>: Archive,\n MessageFlags: Archive,\n ThinVec<FolderId>: Archive,\n ThinVec<UserId>: Archive,\n ThinVec<RoleId>: Archive,\n ThinVec<RoomId>: Archive,\n ThinVec<Reaction>: Archive,\n ThinVec<Attachment>: Archive,\n ThinVec<Embed>: Archive,\n i32: Archive,\n <__C as Fallible>::Error: Trace,\n <MessageId as Archive>::Archived: CheckBytes<__C>,\n <RoomId as Archive>::Archived: CheckBytes<__C>,\n <PartyId as Archive>::Archived: CheckBytes<__C>,\n <MessageKind as Archive>::Archived: CheckBytes<__C>,\n <PartyMember as Archive>::Archived: CheckBytes<__C>,\n <Option<MessageId> as Archive>::Archived: CheckBytes<__C>,\n <Option<Timestamp> as Archive>::Archived: CheckBytes<__C>,\n <Option<SmolStr> as Archive>::Archived: CheckBytes<__C>,\n <MessageFlags as Archive>::Archived: CheckBytes<__C>,\n <ThinVec<FolderId> as Archive>::Archived: CheckBytes<__C>,\n <ThinVec<UserId> as Archive>::Archived: CheckBytes<__C>,\n <ThinVec<RoleId> as Archive>::Archived: CheckBytes<__C>,\n <ThinVec<RoomId> as Archive>::Archived: CheckBytes<__C>,\n <ThinVec<Reaction> as Archive>::Archived: CheckBytes<__C>,\n <ThinVec<Attachment> as Archive>::Archived: CheckBytes<__C>,\n <ThinVec<Embed> as Archive>::Archived: CheckBytes<__C>,\n <i32 as Archive>::Archived: CheckBytes<__C>,
"],["impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedReactionFull
where\n EmoteOrEmoji: Archive,\n ThinVec<UserId>: Archive,\n <__C as Fallible>::Error: Trace,\n <EmoteOrEmoji as Archive>::Archived: CheckBytes<__C>,\n <ThinVec<UserId> as Archive>::Archived: CheckBytes<__C>,
"],["impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedReactionShorthand
where\n EmoteOrEmoji: Archive,\n bool: Archive,\n i64: Archive,\n <__C as Fallible>::Error: Trace,\n <EmoteOrEmoji as Archive>::Archived: CheckBytes<__C>,\n <bool as Archive>::Archived: CheckBytes<__C>,\n <i64 as Archive>::Archived: CheckBytes<__C>,
"],["impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedPartialParty
where\n PartyId: Archive,\n SmolStr: Archive,\n Option<ThinString>: Archive,\n <__C as Fallible>::Error: Trace,\n <PartyId as Archive>::Archived: CheckBytes<__C>,\n <SmolStr as Archive>::Archived: CheckBytes<__C>,\n <Option<ThinString> as Archive>::Archived: CheckBytes<__C>,
"],["impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedParty
where\n PartialParty: Archive,\n PartyFlags: Archive,\n Option<EncryptedSnowflake>: Archive,\n Nullable<EncryptedSnowflake>: Archive,\n RoomId: Archive,\n Option<i16>: Archive,\n UserId: Archive,\n ThinVec<Role>: Archive,\n ThinVec<Emote>: Archive,\n ThinVec<PinFolder>: Archive,\n <__C as Fallible>::Error: Trace,\n <PartialParty as Archive>::Archived: CheckBytes<__C>,\n <PartyFlags as Archive>::Archived: CheckBytes<__C>,\n <Option<EncryptedSnowflake> as Archive>::Archived: CheckBytes<__C>,\n <Nullable<EncryptedSnowflake> as Archive>::Archived: CheckBytes<__C>,\n <RoomId as Archive>::Archived: CheckBytes<__C>,\n <Option<i16> as Archive>::Archived: CheckBytes<__C>,\n <UserId as Archive>::Archived: CheckBytes<__C>,\n <ThinVec<Role> as Archive>::Archived: CheckBytes<__C>,\n <ThinVec<Emote> as Archive>::Archived: CheckBytes<__C>,\n <ThinVec<PinFolder> as Archive>::Archived: CheckBytes<__C>,
"],["impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedPartyMember
where\n User: Archive,\n Option<Timestamp>: Archive,\n PartyMemberFlags: Archive,\n ThinVec<RoleId>: Archive,\n <__C as Fallible>::Error: Trace,\n <User as Archive>::Archived: CheckBytes<__C>,\n <Option<Timestamp> as Archive>::Archived: CheckBytes<__C>,\n <PartyMemberFlags as Archive>::Archived: CheckBytes<__C>,\n <ThinVec<RoleId> as Archive>::Archived: CheckBytes<__C>,
"],["impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedPartyPreferences
where\n Locale: Archive,\n PartyPrefsFlags: Archive,\n <__C as Fallible>::Error: Trace,\n <Locale as Archive>::Archived: CheckBytes<__C>,\n <PartyPrefsFlags as Archive>::Archived: CheckBytes<__C>,
"],["impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedPinFolder
where\n FolderId: Archive,\n SmolStr: Archive,\n PinFolderFlags: Archive,\n Option<SmolStr>: Archive,\n <__C as Fallible>::Error: Trace,\n <FolderId as Archive>::Archived: CheckBytes<__C>,\n <SmolStr as Archive>::Archived: CheckBytes<__C>,\n <PinFolderFlags as Archive>::Archived: CheckBytes<__C>,\n <Option<SmolStr> as Archive>::Archived: CheckBytes<__C>,
"],["impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedOverwrite
where\n Snowflake: Archive,\n Permissions: Archive,\n <__C as Fallible>::Error: Trace,\n <Snowflake as Archive>::Archived: CheckBytes<__C>,\n <Permissions as Archive>::Archived: CheckBytes<__C>,
"],["impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedActivity
where\n <__C as Fallible>::Error: Trace,
"],["impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedUserPresence
where\n UserPresenceFlags: Archive,\n Option<u64>: Archive,\n Option<Timestamp>: Archive,\n Option<AnyActivity>: Archive,\n <__C as Fallible>::Error: Trace,\n <UserPresenceFlags as Archive>::Archived: CheckBytes<__C>,\n <Option<u64> as Archive>::Archived: CheckBytes<__C>,\n <Option<Timestamp> as Archive>::Archived: CheckBytes<__C>,\n <Option<AnyActivity> as Archive>::Archived: CheckBytes<__C>,
"],["impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedRole
where\n RoleId: Archive,\n PartyId: Archive,\n Option<EncryptedSnowflake>: Archive,\n SmolStr: Archive,\n Option<SmolStr>: Archive,\n Permissions: Archive,\n Option<u32>: Archive,\n i16: Archive,\n RoleFlags: Archive,\n <__C as Fallible>::Error: Trace,\n <RoleId as Archive>::Archived: CheckBytes<__C>,\n <PartyId as Archive>::Archived: CheckBytes<__C>,\n <Option<EncryptedSnowflake> as Archive>::Archived: CheckBytes<__C>,\n <SmolStr as Archive>::Archived: CheckBytes<__C>,\n <Option<SmolStr> as Archive>::Archived: CheckBytes<__C>,\n <Permissions as Archive>::Archived: CheckBytes<__C>,\n <Option<u32> as Archive>::Archived: CheckBytes<__C>,\n <i16 as Archive>::Archived: CheckBytes<__C>,\n <RoleFlags as Archive>::Archived: CheckBytes<__C>,
"],["impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedFullRoom
where\n Room: Archive,\n Permissions: Archive,\n <__C as Fallible>::Error: Trace,\n <Room as Archive>::Archived: CheckBytes<__C>,\n <Permissions as Archive>::Archived: CheckBytes<__C>,
"],["impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedRoom
where\n RoomId: Archive,\n RoomFlags: Archive,\n PartyId: Archive,\n Option<EncryptedSnowflake>: Archive,\n SmolStr: Archive,\n Option<SmolStr>: Archive,\n i16: Archive,\n Niche: ArchiveWith<Option<NonZeroU32>>,\n NicheSnowflake: ArchiveWith<Option<RoomId>>,\n ThinVec<Overwrite>: Archive,\n <__C as Fallible>::Error: Trace,\n <RoomId as Archive>::Archived: CheckBytes<__C>,\n <RoomFlags as Archive>::Archived: CheckBytes<__C>,\n <PartyId as Archive>::Archived: CheckBytes<__C>,\n <Option<EncryptedSnowflake> as Archive>::Archived: CheckBytes<__C>,\n <SmolStr as Archive>::Archived: CheckBytes<__C>,\n <Option<SmolStr> as Archive>::Archived: CheckBytes<__C>,\n <i16 as Archive>::Archived: CheckBytes<__C>,\n <Niche as ArchiveWith<Option<NonZeroU32>>>::Archived: CheckBytes<__C>,\n <NicheSnowflake as ArchiveWith<Option<RoomId>>>::Archived: CheckBytes<__C>,\n <ThinVec<Overwrite> as Archive>::Archived: CheckBytes<__C>,
"],["impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedAnonymousSession
where\n Timestamp: Archive,\n <__C as Fallible>::Error: Trace,\n <Timestamp as Archive>::Archived: CheckBytes<__C>,
"],["impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedSession
where\n AuthToken: Archive,\n Timestamp: Archive,\n <__C as Fallible>::Error: Trace,\n <AuthToken as Archive>::Archived: CheckBytes<__C>,\n <Timestamp as Archive>::Archived: CheckBytes<__C>,
"],["impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedRoomStatistics
where\n u64: Archive,\n <__C as Fallible>::Error: Trace,\n <u64 as Archive>::Archived: CheckBytes<__C>,
"],["impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedThread
where\n ThreadId: Archive,\n Message: Archive,\n ThreadFlags: Archive,\n <__C as Fallible>::Error: Trace,\n <ThreadId as Archive>::Archived: CheckBytes<__C>,\n <Message as Archive>::Archived: CheckBytes<__C>,\n <ThreadFlags as Archive>::Archived: CheckBytes<__C>,
"],["impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedFontSize
where\n f32: Archive,\n <__C as Fallible>::Error: Trace,\n <f32 as Archive>::Archived: CheckBytes<__C>,
"],["impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedPadding
where\n u8: Archive,\n <__C as Fallible>::Error: Trace,\n <u8 as Archive>::Archived: CheckBytes<__C>,
"],["impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedTabSize
where\n u8: Archive,\n <__C as Fallible>::Error: Trace,\n <u8 as Archive>::Archived: CheckBytes<__C>,
"],["impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedTemperature
where\n u16: Archive,\n <__C as Fallible>::Error: Trace,\n <u16 as Archive>::Archived: CheckBytes<__C>,
"],["impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedRelationship
where\n Option<SmolStr>: Archive,\n User: Archive,\n Timestamp: Archive,\n UserRelationship: Archive,\n bool: Archive,\n <__C as Fallible>::Error: Trace,\n <Option<SmolStr> as Archive>::Archived: CheckBytes<__C>,\n <User as Archive>::Archived: CheckBytes<__C>,\n <Timestamp as Archive>::Archived: CheckBytes<__C>,\n <UserRelationship as Archive>::Archived: CheckBytes<__C>,\n <bool as Archive>::Archived: CheckBytes<__C>,
"],["impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedUser
where\n UserId: Archive,\n SmolStr: Archive,\n i32: Archive,\n UserFlags: Archive,\n Nullable<Arc<UserProfile>>: Archive,\n Option<SmolStr>: Archive,\n Option<UserPreferences>: Archive,\n Option<UserPresence>: Archive,\n <__C as Fallible>::Error: Trace,\n <UserId as Archive>::Archived: CheckBytes<__C>,\n <SmolStr as Archive>::Archived: CheckBytes<__C>,\n <i32 as Archive>::Archived: CheckBytes<__C>,\n <UserFlags as Archive>::Archived: CheckBytes<__C>,\n <Nullable<Arc<UserProfile>> as Archive>::Archived: CheckBytes<__C>,\n <Option<SmolStr> as Archive>::Archived: CheckBytes<__C>,\n <Option<UserPreferences> as Archive>::Archived: CheckBytes<__C>,\n <Option<UserPresence> as Archive>::Archived: CheckBytes<__C>,
"],["impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedUserPreferences
where\n Locale: Archive,\n UserPrefsFlags: Archive,\n FriendAddability: Archive,\n Temperature: Archive,\n Font: Archive,\n FontSize: Archive,\n Padding: Archive,\n TabSize: Archive,\n <__C as Fallible>::Error: Trace,\n <Locale as Archive>::Archived: CheckBytes<__C>,\n <UserPrefsFlags as Archive>::Archived: CheckBytes<__C>,\n <FriendAddability as Archive>::Archived: CheckBytes<__C>,\n <Temperature as Archive>::Archived: CheckBytes<__C>,\n <Font as Archive>::Archived: CheckBytes<__C>,\n <FontSize as Archive>::Archived: CheckBytes<__C>,\n <Padding as Archive>::Archived: CheckBytes<__C>,\n <TabSize as Archive>::Archived: CheckBytes<__C>,
"],["impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedUserProfile
where\n UserProfileBits: Archive,\n ExtraUserProfileBits: Archive,\n Nullable<SmolStr>: Archive,\n Nullable<EncryptedSnowflake>: Archive,\n <__C as Fallible>::Error: Trace,\n <UserProfileBits as Archive>::Archived: CheckBytes<__C>,\n <ExtraUserProfileBits as Archive>::Archived: CheckBytes<__C>,\n <Nullable<SmolStr> as Archive>::Archived: CheckBytes<__C>,\n <Nullable<EncryptedSnowflake> as Archive>::Archived: CheckBytes<__C>,
"],["impl<const N: usize, C> CheckBytes<C> for FixedStr<N>
where\n C: Fallible + ?Sized,\n C::Error: Source,
"]]]]); + if (window.register_implementors) { + window.register_implementors(implementors); + } else { + window.pending_implementors = implementors; + } +})() +//{"start":57,"fragment_lengths":[313845]} \ No newline at end of file diff --git a/trait.impl/client_sdk/api/command/trait.Command.js b/trait.impl/client_sdk/api/command/trait.Command.js new file mode 100644 index 000000000..1521b6d32 --- /dev/null +++ b/trait.impl/client_sdk/api/command/trait.Command.js @@ -0,0 +1,9 @@ +(function() { + var implementors = Object.fromEntries([["client_sdk",[]]]); + if (window.register_implementors) { + window.register_implementors(implementors); + } else { + window.pending_implementors = implementors; + } +})() +//{"start":57,"fragment_lengths":[17]} \ No newline at end of file diff --git a/trait.impl/client_sdk/api/command/trait.CommandBody.js b/trait.impl/client_sdk/api/command/trait.CommandBody.js new file mode 100644 index 000000000..1521b6d32 --- /dev/null +++ b/trait.impl/client_sdk/api/command/trait.CommandBody.js @@ -0,0 +1,9 @@ +(function() { + var implementors = Object.fromEntries([["client_sdk",[]]]); + if (window.register_implementors) { + window.register_implementors(implementors); + } else { + window.pending_implementors = implementors; + } +})() +//{"start":57,"fragment_lengths":[17]} \ No newline at end of file diff --git a/trait.impl/client_sdk/api/command/trait.CommandResult.js b/trait.impl/client_sdk/api/command/trait.CommandResult.js new file mode 100644 index 000000000..1521b6d32 --- /dev/null +++ b/trait.impl/client_sdk/api/command/trait.CommandResult.js @@ -0,0 +1,9 @@ +(function() { + var implementors = Object.fromEntries([["client_sdk",[]]]); + if (window.register_implementors) { + window.register_implementors(implementors); + } else { + window.pending_implementors = implementors; + } +})() +//{"start":57,"fragment_lengths":[17]} \ No newline at end of file diff --git a/trait.impl/client_sdk/framework/standard/error/trait.StandardErrorExt.js b/trait.impl/client_sdk/framework/standard/error/trait.StandardErrorExt.js new file mode 100644 index 000000000..1521b6d32 --- /dev/null +++ b/trait.impl/client_sdk/framework/standard/error/trait.StandardErrorExt.js @@ -0,0 +1,9 @@ +(function() { + var implementors = Object.fromEntries([["client_sdk",[]]]); + if (window.register_implementors) { + window.register_implementors(implementors); + } else { + window.pending_implementors = implementors; + } +})() +//{"start":57,"fragment_lengths":[17]} \ No newline at end of file diff --git a/trait.impl/client_sdk/models/embed/v1/trait.BoxedEmbedMediaExt.js b/trait.impl/client_sdk/models/embed/v1/trait.BoxedEmbedMediaExt.js new file mode 100644 index 000000000..1521b6d32 --- /dev/null +++ b/trait.impl/client_sdk/models/embed/v1/trait.BoxedEmbedMediaExt.js @@ -0,0 +1,9 @@ +(function() { + var implementors = Object.fromEntries([["client_sdk",[]]]); + if (window.register_implementors) { + window.register_implementors(implementors); + } else { + window.pending_implementors = implementors; + } +})() +//{"start":57,"fragment_lengths":[17]} \ No newline at end of file diff --git a/trait.impl/client_sdk/models/embed/v1/trait.VisitMedia.js b/trait.impl/client_sdk/models/embed/v1/trait.VisitMedia.js new file mode 100644 index 000000000..1521b6d32 --- /dev/null +++ b/trait.impl/client_sdk/models/embed/v1/trait.VisitMedia.js @@ -0,0 +1,9 @@ +(function() { + var implementors = Object.fromEntries([["client_sdk",[]]]); + if (window.register_implementors) { + window.register_implementors(implementors); + } else { + window.pending_implementors = implementors; + } +})() +//{"start":57,"fragment_lengths":[17]} \ No newline at end of file diff --git a/trait.impl/client_sdk/models/gateway/message/trait.ClientMsgHandlers.js b/trait.impl/client_sdk/models/gateway/message/trait.ClientMsgHandlers.js new file mode 100644 index 000000000..1521b6d32 --- /dev/null +++ b/trait.impl/client_sdk/models/gateway/message/trait.ClientMsgHandlers.js @@ -0,0 +1,9 @@ +(function() { + var implementors = Object.fromEntries([["client_sdk",[]]]); + if (window.register_implementors) { + window.register_implementors(implementors); + } else { + window.pending_implementors = implementors; + } +})() +//{"start":57,"fragment_lengths":[17]} \ No newline at end of file diff --git a/trait.impl/client_sdk/models/gateway/message/trait.ServerMsgHandlers.js b/trait.impl/client_sdk/models/gateway/message/trait.ServerMsgHandlers.js new file mode 100644 index 000000000..1521b6d32 --- /dev/null +++ b/trait.impl/client_sdk/models/gateway/message/trait.ServerMsgHandlers.js @@ -0,0 +1,9 @@ +(function() { + var implementors = Object.fromEntries([["client_sdk",[]]]); + if (window.register_implementors) { + window.register_implementors(implementors); + } else { + window.pending_implementors = implementors; + } +})() +//{"start":57,"fragment_lengths":[17]} \ No newline at end of file diff --git a/trait.impl/core/borrow/trait.Borrow.js b/trait.impl/core/borrow/trait.Borrow.js new file mode 100644 index 000000000..9d7c62f3d --- /dev/null +++ b/trait.impl/core/borrow/trait.Borrow.js @@ -0,0 +1,9 @@ +(function() { + var implementors = Object.fromEntries([["client_sdk",[["impl Borrow<str> for ThinString"]]]]); + if (window.register_implementors) { + window.register_implementors(implementors); + } else { + window.pending_implementors = implementors; + } +})() +//{"start":57,"fragment_lengths":[434]} \ No newline at end of file diff --git a/trait.impl/core/borrow/trait.BorrowMut.js b/trait.impl/core/borrow/trait.BorrowMut.js new file mode 100644 index 000000000..0ac1de8ca --- /dev/null +++ b/trait.impl/core/borrow/trait.BorrowMut.js @@ -0,0 +1,9 @@ +(function() { + var implementors = Object.fromEntries([["client_sdk",[["impl BorrowMut<str> for ThinString"]]]]); + if (window.register_implementors) { + window.register_implementors(implementors); + } else { + window.pending_implementors = implementors; + } +})() +//{"start":57,"fragment_lengths":[443]} \ No newline at end of file diff --git a/trait.impl/core/clone/trait.Clone.js b/trait.impl/core/clone/trait.Clone.js new file mode 100644 index 000000000..7fccbaa55 --- /dev/null +++ b/trait.impl/core/clone/trait.Clone.js @@ -0,0 +1,9 @@ +(function() { + var implementors = Object.fromEntries([["client_sdk",[["impl Clone for AssetQuery"],["impl Clone for CreateRoomKind"],["impl Clone for BannerAlign"],["impl Clone for ApiErrorCode"],["impl Clone for Encoding"],["impl Clone for GatewayErrorCode"],["impl Clone for AuthToken"],["impl Clone for Embed"],["impl Clone for EmbedType"],["impl Clone for Emote"],["impl Clone for Cursor"],["impl Clone for ClientMsgOpcode"],["impl Clone for ServerMsgOpcode"],["impl Clone for ArchivedMessageKind"],["impl Clone for EmoteOrEmoji"],["impl Clone for MessageKind"],["impl Clone for Reaction"],["impl Clone for AnyActivity"],["impl Clone for RoomKind"],["impl Clone for ElevationLevel"],["impl Clone for Font"],["impl Clone for FriendAddability"],["impl Clone for Locale"],["impl Clone for UserRelationship"],["impl Clone for FileStatus"],["impl Clone for FilesystemStatus"],["impl Clone for PartySettings"],["impl Clone for Added2FA"],["impl Clone for ApiError"],["impl Clone for ArchivedApiErrorCode"],["impl Clone for GatewayQueryParams"],["impl Clone for CommandFlags"],["impl Clone for MissingItemError"],["impl Clone for RateLimit"],["impl Clone for Client"],["impl Clone for Driver"],["impl Clone for StandardContext"],["impl Clone for ArchivedAssetFlags"],["impl Clone for AssetFlags"],["impl Clone for ServerConfig"],["impl Clone for ServerLimits"],["impl Clone for ArchivedEmbedFlags"],["impl Clone for BasicEmbedMedia"],["impl Clone for EmbedAuthor"],["impl Clone for EmbedField"],["impl Clone for EmbedFlags"],["impl Clone for EmbedFooter"],["impl Clone for EmbedMedia"],["impl Clone for EmbedProvider"],["impl Clone for EmbedV1"],["impl Clone for ArchivedEmoteFlags"],["impl Clone for CustomEmote"],["impl Clone for EmoteFlags"],["impl Clone for File"],["impl Clone for Identify"],["impl Clone for SetPresence"],["impl Clone for Hello"],["impl Clone for PartyPositionUpdate"],["impl Clone for Ready"],["impl Clone for ReadyParty"],["impl Clone for TypingStart"],["impl Clone for ArchivedIntent"],["impl Clone for Intent"],["impl Clone for Invite"],["impl Clone for ArchivedMessageFlags"],["impl Clone for Attachment"],["impl Clone for Message"],["impl Clone for MessageFlags"],["impl Clone for ReactionFull"],["impl Clone for ReactionShorthand"],["impl Clone for ArchivedPartyFlags"],["impl Clone for ArchivedPartyMemberFlags"],["impl Clone for ArchivedPartyPrefsFlags"],["impl Clone for ArchivedPinFolderFlags"],["impl Clone for PartialParty"],["impl Clone for Party"],["impl Clone for PartyFlags"],["impl Clone for PartyMember"],["impl Clone for PartyMemberFlags"],["impl Clone for PartyPreferences"],["impl Clone for PartyPrefsFlags"],["impl Clone for PinFolder"],["impl Clone for PinFolderFlags"],["impl Clone for ArchivedPermissions"],["impl Clone for Overwrite"],["impl Clone for Permissions"],["impl Clone for Activity"],["impl Clone for ArchivedUserPresenceFlags"],["impl Clone for UserPresence"],["impl Clone for UserPresenceFlags"],["impl Clone for ArchivedRoleFlags"],["impl Clone for Role"],["impl Clone for RoleFlags"],["impl Clone for ArchivedRoomFlags"],["impl Clone for FullRoom"],["impl Clone for Room"],["impl Clone for RoomFlags"],["impl Clone for AnonymousSession"],["impl Clone for Session"],["impl Clone for RoomStatistics"],["impl Clone for Statistics"],["impl Clone for FxRandomState2"],["impl Clone for ArchivedThreadFlags"],["impl Clone for Thread"],["impl Clone for ThreadFlags"],["impl Clone for FontSize"],["impl Clone for Padding"],["impl Clone for TabSize"],["impl Clone for Temperature"],["impl Clone for ArchivedExtraUserProfileBits"],["impl Clone for ArchivedFont"],["impl Clone for ArchivedFriendAddability"],["impl Clone for ArchivedLocale"],["impl Clone for ArchivedUserFlags"],["impl Clone for ArchivedUserPrefsFlags"],["impl Clone for ArchivedUserProfileBits"],["impl Clone for ArchivedUserRelationship"],["impl Clone for ExtraUserProfileBits"],["impl Clone for Relationship"],["impl Clone for User"],["impl Clone for UserFlags"],["impl Clone for UserPreferences"],["impl Clone for UserPrefsFlags"],["impl Clone for UserProfile"],["impl Clone for UserProfileBits"],["impl Clone for FromUtf8Error"],["impl Clone for ThinString"],["impl<'a> Clone for Argument<'a>"],["impl<T: Clone> Clone for Nullable<T>"],["impl<const N: usize> Clone for FixedStr<N>"]]]]); + if (window.register_implementors) { + window.register_implementors(implementors); + } else { + window.pending_implementors = implementors; + } +})() +//{"start":57,"fragment_lengths":[39548]} \ No newline at end of file diff --git a/trait.impl/core/cmp/trait.Eq.js b/trait.impl/core/cmp/trait.Eq.js new file mode 100644 index 000000000..c2f9037dc --- /dev/null +++ b/trait.impl/core/cmp/trait.Eq.js @@ -0,0 +1,9 @@ +(function() { + var implementors = Object.fromEntries([["client_sdk",[["impl Eq for CreateRoomKind"],["impl Eq for BannerAlign"],["impl Eq for ApiErrorCode"],["impl Eq for Encoding"],["impl Eq for GatewayErrorCode"],["impl Eq for EmbedType"],["impl Eq for Cursor"],["impl Eq for ArchivedMessageKind"],["impl Eq for MessageKind"],["impl Eq for RoomKind"],["impl Eq for ElevationLevel"],["impl Eq for Font"],["impl Eq for FriendAddability"],["impl Eq for Locale"],["impl Eq for UserRelationship"],["impl Eq for Added2FA"],["impl Eq for ArchivedApiErrorCode"],["impl Eq for CommandFlags"],["impl Eq for MissingItemError"],["impl Eq for RateLimit"],["impl Eq for ArchivedAssetFlags"],["impl Eq for AssetFlags"],["impl Eq for ArchivedEmbedFlags"],["impl Eq for EmbedFlags"],["impl Eq for ArchivedEmoteFlags"],["impl Eq for EmoteFlags"],["impl Eq for HeartbeatPayload"],["impl Eq for HeartbeatAckPayload"],["impl Eq for InvalidSessionPayload"],["impl Eq for ArchivedIntent"],["impl Eq for Intent"],["impl Eq for ArchivedMessageFlags"],["impl Eq for MessageFlags"],["impl Eq for ArchivedPartyFlags"],["impl Eq for ArchivedPartyMemberFlags"],["impl Eq for ArchivedPartyPrefsFlags"],["impl Eq for ArchivedPinFolderFlags"],["impl Eq for PartyFlags"],["impl Eq for PartyMemberFlags"],["impl Eq for PartyPrefsFlags"],["impl Eq for PinFolderFlags"],["impl Eq for ArchivedPermissions"],["impl Eq for Overwrite"],["impl Eq for Permissions"],["impl Eq for ArchivedUserPresenceFlags"],["impl Eq for UserPresenceFlags"],["impl Eq for ArchivedRoleFlags"],["impl Eq for RoleFlags"],["impl Eq for ArchivedRoomFlags"],["impl Eq for RoomFlags"],["impl Eq for FxRandomState2"],["impl Eq for ArchivedThreadFlags"],["impl Eq for ThreadFlags"],["impl Eq for ArchivedExtraUserProfileBits"],["impl Eq for ArchivedFont"],["impl Eq for ArchivedFriendAddability"],["impl Eq for ArchivedLocale"],["impl Eq for ArchivedUserFlags"],["impl Eq for ArchivedUserPrefsFlags"],["impl Eq for ArchivedUserProfileBits"],["impl Eq for ArchivedUserRelationship"],["impl Eq for ExtraUserProfileBits"],["impl Eq for UserFlags"],["impl Eq for UserPrefsFlags"],["impl Eq for UserProfileBits"],["impl Eq for FromUtf8Error"],["impl Eq for ThinString"],["impl<'a> Eq for Argument<'a>"],["impl<const N: usize> Eq for FixedStr<N>"]]]]); + if (window.register_implementors) { + window.register_implementors(implementors); + } else { + window.pending_implementors = implementors; + } +})() +//{"start":57,"fragment_lengths":[20560]} \ No newline at end of file diff --git a/trait.impl/core/cmp/trait.Ord.js b/trait.impl/core/cmp/trait.Ord.js new file mode 100644 index 000000000..d2880f1a6 --- /dev/null +++ b/trait.impl/core/cmp/trait.Ord.js @@ -0,0 +1,9 @@ +(function() { + var implementors = Object.fromEntries([["client_sdk",[["impl Ord for ElevationLevel"],["impl Ord for ArchivedApiErrorCode"],["impl Ord for ArchivedFont"],["impl Ord for ArchivedFriendAddability"],["impl Ord for ArchivedLocale"],["impl Ord for ArchivedUserRelationship"],["impl Ord for ThinString"]]]]); + if (window.register_implementors) { + window.register_implementors(implementors); + } else { + window.pending_implementors = implementors; + } +})() +//{"start":57,"fragment_lengths":[2136]} \ No newline at end of file diff --git a/trait.impl/core/cmp/trait.PartialEq.js b/trait.impl/core/cmp/trait.PartialEq.js new file mode 100644 index 000000000..419a1054b --- /dev/null +++ b/trait.impl/core/cmp/trait.PartialEq.js @@ -0,0 +1,9 @@ +(function() { + var implementors = Object.fromEntries([["client_sdk",[["impl PartialEq for CreateRoomKind"],["impl PartialEq for BannerAlign"],["impl PartialEq for ApiErrorCode"],["impl PartialEq for Encoding"],["impl PartialEq for GatewayErrorCode"],["impl PartialEq for EmbedType"],["impl PartialEq for Cursor"],["impl PartialEq for ArchivedMessageKind"],["impl PartialEq for MessageKind"],["impl PartialEq for RoomKind"],["impl PartialEq for ElevationLevel"],["impl PartialEq for Font"],["impl PartialEq for FriendAddability"],["impl PartialEq for Locale"],["impl PartialEq for UserRelationship"],["impl PartialEq for FileStatus"],["impl PartialEq for FilesystemStatus"],["impl PartialEq for PatchPartyForm"],["impl PartialEq for PatchRoleForm"],["impl PartialEq for PatchRoomForm"],["impl PartialEq for Added2FA"],["impl PartialEq for ArchivedApiErrorCode"],["impl PartialEq for GatewayQueryParams"],["impl PartialEq for CommandFlags"],["impl PartialEq for MissingItemError"],["impl PartialEq for RateLimit"],["impl PartialEq for ArchivedAssetFlags"],["impl PartialEq for AssetFlags"],["impl PartialEq for ServerConfig"],["impl PartialEq for ServerLimits"],["impl PartialEq for ArchivedEmbedFlags"],["impl PartialEq for EmbedFlags"],["impl PartialEq for ArchivedEmoteFlags"],["impl PartialEq for EmoteFlags"],["impl PartialEq for HeartbeatPayload"],["impl PartialEq for HeartbeatAckPayload"],["impl PartialEq for InvalidSessionPayload"],["impl PartialEq for ArchivedIntent"],["impl PartialEq for Intent"],["impl PartialEq for ArchivedMessageFlags"],["impl PartialEq for MessageFlags"],["impl PartialEq for ArchivedPartyFlags"],["impl PartialEq for ArchivedPartyMemberFlags"],["impl PartialEq for ArchivedPartyPrefsFlags"],["impl PartialEq for ArchivedPinFolderFlags"],["impl PartialEq for PartyFlags"],["impl PartialEq for PartyMemberFlags"],["impl PartialEq for PartyPrefsFlags"],["impl PartialEq for PinFolderFlags"],["impl PartialEq for ArchivedPermissions"],["impl PartialEq for Overwrite"],["impl PartialEq for Permissions"],["impl PartialEq for ArchivedUserPresenceFlags"],["impl PartialEq for UserPresenceFlags"],["impl PartialEq for ArchivedRoleFlags"],["impl PartialEq for RoleFlags"],["impl PartialEq for ArchivedRoomFlags"],["impl PartialEq for RoomFlags"],["impl PartialEq for FxRandomState2"],["impl PartialEq for ArchivedThreadFlags"],["impl PartialEq for ThreadFlags"],["impl PartialEq for FontSize"],["impl PartialEq for Padding"],["impl PartialEq for TabSize"],["impl PartialEq for Temperature"],["impl PartialEq for ArchivedExtraUserProfileBits"],["impl PartialEq for ArchivedFont"],["impl PartialEq for ArchivedFriendAddability"],["impl PartialEq for ArchivedLocale"],["impl PartialEq for ArchivedUserFlags"],["impl PartialEq for ArchivedUserPrefsFlags"],["impl PartialEq for ArchivedUserProfileBits"],["impl PartialEq for ArchivedUserRelationship"],["impl PartialEq for ExtraUserProfileBits"],["impl PartialEq for UserFlags"],["impl PartialEq for UserPrefsFlags"],["impl PartialEq for UserProfileBits"],["impl PartialEq for FromUtf8Error"],["impl PartialEq for ThinString"],["impl PartialEq<ArchivedPatchPartyForm> for PatchPartyForm
where\n Option<SmolStr>: Archive,\n Nullable<SmolStr>: Archive,\n Option<PartyFlags>: Archive,\n Option<RoomId>: Archive,\n Nullable<FileId>: Archive,\n BannerAlign: Archive,\n <Option<SmolStr> as Archive>::Archived: PartialEq<Option<SmolStr>>,\n <Nullable<SmolStr> as Archive>::Archived: PartialEq<Nullable<SmolStr>>,\n <Option<PartyFlags> as Archive>::Archived: PartialEq<Option<PartyFlags>>,\n <Option<RoomId> as Archive>::Archived: PartialEq<Option<RoomId>>,\n <Nullable<FileId> as Archive>::Archived: PartialEq<Nullable<FileId>>,\n <BannerAlign as Archive>::Archived: PartialEq<BannerAlign>,
"],["impl PartialEq<ArchivedPatchRoleForm> for PatchRoleForm
where\n Option<RoleFlags>: Archive,\n Option<SmolStr>: Archive,\n Option<u32>: Archive,\n Option<Permissions>: Archive,\n Nullable<FileId>: Archive,\n Option<u8>: Archive,\n <Option<RoleFlags> as Archive>::Archived: PartialEq<Option<RoleFlags>>,\n <Option<SmolStr> as Archive>::Archived: PartialEq<Option<SmolStr>>,\n <Option<u32> as Archive>::Archived: PartialEq<Option<u32>>,\n <Option<Permissions> as Archive>::Archived: PartialEq<Option<Permissions>>,\n <Nullable<FileId> as Archive>::Archived: PartialEq<Nullable<FileId>>,\n <Option<u8> as Archive>::Archived: PartialEq<Option<u8>>,
"],["impl PartialEq<PatchPartyForm> for ArchivedPatchPartyForm
where\n Option<SmolStr>: Archive,\n Nullable<SmolStr>: Archive,\n Option<PartyFlags>: Archive,\n Option<RoomId>: Archive,\n Nullable<FileId>: Archive,\n BannerAlign: Archive,\n <Option<SmolStr> as Archive>::Archived: PartialEq<Option<SmolStr>>,\n <Nullable<SmolStr> as Archive>::Archived: PartialEq<Nullable<SmolStr>>,\n <Option<PartyFlags> as Archive>::Archived: PartialEq<Option<PartyFlags>>,\n <Option<RoomId> as Archive>::Archived: PartialEq<Option<RoomId>>,\n <Nullable<FileId> as Archive>::Archived: PartialEq<Nullable<FileId>>,\n <BannerAlign as Archive>::Archived: PartialEq<BannerAlign>,
"],["impl PartialEq<PatchRoleForm> for ArchivedPatchRoleForm
where\n Option<RoleFlags>: Archive,\n Option<SmolStr>: Archive,\n Option<u32>: Archive,\n Option<Permissions>: Archive,\n Nullable<FileId>: Archive,\n Option<u8>: Archive,\n <Option<RoleFlags> as Archive>::Archived: PartialEq<Option<RoleFlags>>,\n <Option<SmolStr> as Archive>::Archived: PartialEq<Option<SmolStr>>,\n <Option<u32> as Archive>::Archived: PartialEq<Option<u32>>,\n <Option<Permissions> as Archive>::Archived: PartialEq<Option<Permissions>>,\n <Nullable<FileId> as Archive>::Archived: PartialEq<Nullable<FileId>>,\n <Option<u8> as Archive>::Archived: PartialEq<Option<u8>>,
"],["impl PartialEq<ArchivedPatchRoomForm> for PatchRoomForm
where\n Option<SmolStr>: Archive,\n Nullable<SmolStr>: Archive,\n Nullable<FileId>: Archive,\n Option<u8>: Archive,\n ThinVec<Snowflake>: Archive,\n ThinVec<Overwrite>: Archive,\n Option<bool>: Archive,\n <Option<SmolStr> as Archive>::Archived: PartialEq<Option<SmolStr>>,\n <Nullable<SmolStr> as Archive>::Archived: PartialEq<Nullable<SmolStr>>,\n <Nullable<FileId> as Archive>::Archived: PartialEq<Nullable<FileId>>,\n <Option<u8> as Archive>::Archived: PartialEq<Option<u8>>,\n <ThinVec<Snowflake> as Archive>::Archived: PartialEq<ThinVec<Snowflake>>,\n <ThinVec<Overwrite> as Archive>::Archived: PartialEq<ThinVec<Overwrite>>,\n <Option<bool> as Archive>::Archived: PartialEq<Option<bool>>,
"],["impl PartialEq<PatchRoomForm> for ArchivedPatchRoomForm
where\n Option<SmolStr>: Archive,\n Nullable<SmolStr>: Archive,\n Nullable<FileId>: Archive,\n Option<u8>: Archive,\n ThinVec<Snowflake>: Archive,\n ThinVec<Overwrite>: Archive,\n Option<bool>: Archive,\n <Option<SmolStr> as Archive>::Archived: PartialEq<Option<SmolStr>>,\n <Nullable<SmolStr> as Archive>::Archived: PartialEq<Nullable<SmolStr>>,\n <Nullable<FileId> as Archive>::Archived: PartialEq<Nullable<FileId>>,\n <Option<u8> as Archive>::Archived: PartialEq<Option<u8>>,\n <ThinVec<Snowflake> as Archive>::Archived: PartialEq<ThinVec<Snowflake>>,\n <ThinVec<Overwrite> as Archive>::Archived: PartialEq<ThinVec<Overwrite>>,\n <Option<bool> as Archive>::Archived: PartialEq<Option<bool>>,
"],["impl PartialEq<ArchivedAssetFlags> for AssetFlags"],["impl PartialEq<AssetFlags> for ArchivedAssetFlags"],["impl PartialEq<ArchivedEmbedFlags> for EmbedFlags"],["impl PartialEq<EmbedFlags> for ArchivedEmbedFlags"],["impl PartialEq<ArchivedEmoteFlags> for EmoteFlags"],["impl PartialEq<EmoteFlags> for ArchivedEmoteFlags"],["impl PartialEq<ArchivedIntent> for Intent"],["impl PartialEq<Intent> for ArchivedIntent"],["impl PartialEq<ArchivedMessageFlags> for MessageFlags"],["impl PartialEq<MessageFlags> for ArchivedMessageFlags"],["impl PartialEq<ArchivedPartyFlags> for PartyFlags"],["impl PartialEq<ArchivedPartyMemberFlags> for PartyMemberFlags"],["impl PartialEq<ArchivedPartyPrefsFlags> for PartyPrefsFlags"],["impl PartialEq<ArchivedPinFolderFlags> for PinFolderFlags"],["impl PartialEq<PartyFlags> for ArchivedPartyFlags"],["impl PartialEq<PartyMemberFlags> for ArchivedPartyMemberFlags"],["impl PartialEq<PartyPrefsFlags> for ArchivedPartyPrefsFlags"],["impl PartialEq<PinFolderFlags> for ArchivedPinFolderFlags"],["impl PartialEq<ArchivedOverwrite> for Overwrite
where\n Snowflake: Archive,\n Permissions: Archive,\n <Snowflake as Archive>::Archived: PartialEq<Snowflake>,\n <Permissions as Archive>::Archived: PartialEq<Permissions>,
"],["impl PartialEq<ArchivedPermissions> for Permissions"],["impl PartialEq<Overwrite> for ArchivedOverwrite
where\n Snowflake: Archive,\n Permissions: Archive,\n <Snowflake as Archive>::Archived: PartialEq<Snowflake>,\n <Permissions as Archive>::Archived: PartialEq<Permissions>,
"],["impl PartialEq<Permissions> for ArchivedPermissions"],["impl PartialEq<ArchivedUserPresenceFlags> for UserPresenceFlags"],["impl PartialEq<UserPresenceFlags> for ArchivedUserPresenceFlags"],["impl PartialEq<ArchivedRoleFlags> for RoleFlags"],["impl PartialEq<RoleFlags> for ArchivedRoleFlags"],["impl PartialEq<ArchivedRoomFlags> for RoomFlags"],["impl PartialEq<RoomFlags> for ArchivedRoomFlags"],["impl PartialEq<ArchivedThreadFlags> for ThreadFlags"],["impl PartialEq<ThreadFlags> for ArchivedThreadFlags"],["impl PartialEq<ArchivedExtraUserProfileBits> for ExtraUserProfileBits"],["impl PartialEq<ArchivedUserFlags> for UserFlags"],["impl PartialEq<ArchivedUserPrefsFlags> for UserPrefsFlags"],["impl PartialEq<ArchivedUserProfileBits> for UserProfileBits"],["impl PartialEq<ExtraUserProfileBits> for ArchivedExtraUserProfileBits"],["impl PartialEq<UserFlags> for ArchivedUserFlags"],["impl PartialEq<UserPrefsFlags> for ArchivedUserPrefsFlags"],["impl PartialEq<UserProfileBits> for ArchivedUserProfileBits"],["impl<'a> PartialEq for Argument<'a>"],["impl<'a, 'b> PartialEq<&'a str> for ThinString"],["impl<'a, 'b> PartialEq<Cow<'a, str>> for ThinString"],["impl<'a, 'b> PartialEq<str> for ThinString"],["impl<'a, 'b> PartialEq<ThinString> for &'a str"],["impl<'a, 'b> PartialEq<ThinString> for Cow<'a, str>"],["impl<'a, 'b> PartialEq<ThinString> for str"],["impl<'a, 'b> PartialEq<ThinString> for String"],["impl<'a, 'b> PartialEq<String> for ThinString"],["impl<T, U> PartialEq<Nullable<U>> for Nullable<T>
where\n T: PartialEq<U>,
"],["impl<const N: usize> PartialEq for FixedStr<N>"]]]]); + if (window.register_implementors) { + window.register_implementors(implementors); + } else { + window.pending_implementors = implementors; + } +})() +//{"start":57,"fragment_lengths":[92349]} \ No newline at end of file diff --git a/trait.impl/core/cmp/trait.PartialOrd.js b/trait.impl/core/cmp/trait.PartialOrd.js new file mode 100644 index 000000000..60df638e0 --- /dev/null +++ b/trait.impl/core/cmp/trait.PartialOrd.js @@ -0,0 +1,9 @@ +(function() { + var implementors = Object.fromEntries([["client_sdk",[["impl PartialOrd for ElevationLevel"],["impl PartialOrd for UserRelationship"],["impl PartialOrd for ArchivedApiErrorCode"],["impl PartialOrd for FontSize"],["impl PartialOrd for Padding"],["impl PartialOrd for TabSize"],["impl PartialOrd for Temperature"],["impl PartialOrd for ArchivedFont"],["impl PartialOrd for ArchivedFriendAddability"],["impl PartialOrd for ArchivedLocale"],["impl PartialOrd for ArchivedUserRelationship"],["impl PartialOrd for ThinString"]]]]); + if (window.register_implementors) { + window.register_implementors(implementors); + } else { + window.pending_implementors = implementors; + } +})() +//{"start":57,"fragment_lengths":[3884]} \ No newline at end of file diff --git a/trait.impl/core/convert/trait.AsMut.js b/trait.impl/core/convert/trait.AsMut.js new file mode 100644 index 000000000..b63e9649d --- /dev/null +++ b/trait.impl/core/convert/trait.AsMut.js @@ -0,0 +1,9 @@ +(function() { + var implementors = Object.fromEntries([["client_sdk",[["impl AsMut<str> for ThinString"],["impl<const N: usize> AsMut<str> for FixedStr<N>"]]]]); + if (window.register_implementors) { + window.register_implementors(implementors); + } else { + window.pending_implementors = implementors; + } +})() +//{"start":57,"fragment_lengths":[971]} \ No newline at end of file diff --git a/trait.impl/core/convert/trait.AsRef.js b/trait.impl/core/convert/trait.AsRef.js new file mode 100644 index 000000000..5f37c6927 --- /dev/null +++ b/trait.impl/core/convert/trait.AsRef.js @@ -0,0 +1,9 @@ +(function() { + var implementors = Object.fromEntries([["client_sdk",[["impl AsRef<str> for ThinString"],["impl AsRef<[u8]> for ThinString"],["impl<const N: usize> AsRef<str> for FixedStr<N>"],["impl<const N: usize> AsRef<[u8]> for FixedStr<N>"]]]]); + if (window.register_implementors) { + window.register_implementors(implementors); + } else { + window.pending_implementors = implementors; + } +})() +//{"start":57,"fragment_lengths":[1926]} \ No newline at end of file diff --git a/trait.impl/core/convert/trait.From.js b/trait.impl/core/convert/trait.From.js new file mode 100644 index 000000000..f19746c3a --- /dev/null +++ b/trait.impl/core/convert/trait.From.js @@ -0,0 +1,9 @@ +(function() { + var implementors = Object.fromEntries([["client_sdk",[["impl From<&ClientMsg> for ClientMsgOpcode"],["impl From<&ServerMsg> for ServerMsgOpcode"],["impl From<&str> for ThinString"],["impl From<&String> for ThinString"],["impl From<&mut str> for ThinString"],["impl From<AssetQuery> for AssetFlags"],["impl From<ClientError> for StandardError"],["impl From<DriverError> for ClientError"],["impl From<DriverError> for StandardError"],["impl From<GatewayError> for StandardError"],["impl From<RoomKind> for RoomFlags"],["impl From<ParseError> for DriverError"],["impl From<char> for ThinString"],["impl From<u64> for PartyPrefsFlags"],["impl From<u64> for UserPrefsFlags"],["impl From<ArchivedAssetFlags> for AssetFlags"],["impl From<AssetFlags> for AssetQuery"],["impl From<ArchivedEmbedFlags> for EmbedFlags"],["impl From<ArchivedEmoteFlags> for EmoteFlags"],["impl From<ArchivedIntent> for Intent"],["impl From<ArchivedMessageFlags> for MessageFlags"],["impl From<ArchivedPartyFlags> for PartyFlags"],["impl From<ArchivedPartyMemberFlags> for PartyMemberFlags"],["impl From<ArchivedPartyPrefsFlags> for PartyPrefsFlags"],["impl From<ArchivedPinFolderFlags> for PinFolderFlags"],["impl From<ArchivedPermissions> for Permissions"],["impl From<ArchivedUserPresenceFlags> for UserPresenceFlags"],["impl From<ArchivedRoleFlags> for RoleFlags"],["impl From<ArchivedRoomFlags> for RoomFlags"],["impl From<ArchivedThreadFlags> for ThreadFlags"],["impl From<ArchivedExtraUserProfileBits> for ExtraUserProfileBits"],["impl From<ArchivedUserFlags> for UserFlags"],["impl From<ArchivedUserPrefsFlags> for UserPrefsFlags"],["impl From<ArchivedUserProfileBits> for UserProfileBits"],["impl From<UserPreferences> for UpdateUserPrefsBody"],["impl From<Box<str>> for ThinString"],["impl From<String> for ThinString"],["impl From<Error> for DriverError"],["impl From<ParseIntError> for DriverError"],["impl From<Error> for ClientError"],["impl From<Error> for ApiError"],["impl From<Error> for DriverError"],["impl From<Error> for GatewayError"],["impl From<Error> for ClientError"],["impl From<Error> for DriverError"],["impl From<Error> for DriverError"],["impl From<Error> for GatewayError"],["impl From<Error<Error>> for DriverError"],["impl From<Error<Error>> for DriverError"],["impl From<Error<Error>> for GatewayError"],["impl From<Error<Error>> for GatewayError"],["impl From<InvalidHeaderValue> for DriverError"],["impl From<ToStrError> for DriverError"],["impl<'a> From<Cow<'a, str>> for ThinString"],["impl<T> From<Option<T>> for Nullable<T>"],["impl<T> From<T> for Nullable<T>"],["impl<const N: usize> From<FixedStr<N>> for SmolStr"]]]]); + if (window.register_implementors) { + window.register_implementors(implementors); + } else { + window.pending_implementors = implementors; + } +})() +//{"start":57,"fragment_lengths":[25337]} \ No newline at end of file diff --git a/trait.impl/core/convert/trait.TryFrom.js b/trait.impl/core/convert/trait.TryFrom.js new file mode 100644 index 000000000..e5ba51684 --- /dev/null +++ b/trait.impl/core/convert/trait.TryFrom.js @@ -0,0 +1,9 @@ +(function() { + var implementors = Object.fromEntries([["client_sdk",[["impl TryFrom<i16> for ApiErrorCode"],["impl TryFrom<i16> for GatewayErrorCode"],["impl TryFrom<i16> for MessageKind"],["impl TryFrom<i16> for RoomKind"],["impl TryFrom<i16> for UserRelationship"],["impl TryFrom<i32> for ApiErrorCode"],["impl TryFrom<i32> for GatewayErrorCode"],["impl TryFrom<i32> for MessageKind"],["impl TryFrom<i32> for RoomKind"],["impl TryFrom<i32> for UserRelationship"],["impl TryFrom<i64> for ApiErrorCode"],["impl TryFrom<i64> for GatewayErrorCode"],["impl TryFrom<i64> for MessageKind"],["impl TryFrom<i64> for RoomKind"],["impl TryFrom<i64> for UserRelationship"],["impl TryFrom<i8> for ApiErrorCode"],["impl TryFrom<i8> for GatewayErrorCode"],["impl TryFrom<i8> for MessageKind"],["impl TryFrom<i8> for RoomKind"],["impl TryFrom<i8> for UserRelationship"],["impl TryFrom<u16> for ApiErrorCode"],["impl TryFrom<u16> for GatewayErrorCode"],["impl TryFrom<u16> for MessageKind"],["impl TryFrom<u16> for RoomKind"],["impl TryFrom<u16> for UserRelationship"],["impl TryFrom<u32> for ApiErrorCode"],["impl TryFrom<u32> for GatewayErrorCode"],["impl TryFrom<u32> for MessageKind"],["impl TryFrom<u32> for RoomKind"],["impl TryFrom<u32> for UserRelationship"],["impl TryFrom<u64> for ApiErrorCode"],["impl TryFrom<u64> for GatewayErrorCode"],["impl TryFrom<u64> for MessageKind"],["impl TryFrom<u64> for RoomKind"],["impl TryFrom<u64> for UserRelationship"],["impl TryFrom<u8> for ApiErrorCode"],["impl TryFrom<u8> for GatewayErrorCode"],["impl TryFrom<u8> for MessageKind"],["impl TryFrom<u8> for RoomKind"],["impl TryFrom<u8> for UserRelationship"]]]]); + if (window.register_implementors) { + window.register_implementors(implementors); + } else { + window.pending_implementors = implementors; + } +})() +//{"start":57,"fragment_lengths":[16172]} \ No newline at end of file diff --git a/trait.impl/core/default/trait.Default.js b/trait.impl/core/default/trait.Default.js new file mode 100644 index 000000000..8e782a46f --- /dev/null +++ b/trait.impl/core/default/trait.Default.js @@ -0,0 +1,9 @@ +(function() { + var implementors = Object.fromEntries([["client_sdk",[["impl Default for CreateRoomKind"],["impl Default for BannerAlign"],["impl Default for Encoding"],["impl Default for MessageKind"],["impl Default for Font"],["impl Default for FriendAddability"],["impl Default for Locale"],["impl Default for UserRelationship"],["impl Default for PatchPartyForm"],["impl Default for PatchRoleForm"],["impl Default for GetMessagesQuery"],["impl Default for PatchRoomForm"],["impl Default for StartTypingBody"],["impl Default for PatchRelationshipBody"],["impl Default for UpdateUserProfileBody"],["impl Default for GatewayQueryParams"],["impl Default for RateLimit"],["impl Default for BasicEmbedMedia"],["impl Default for EmbedAuthor"],["impl Default for EmbedField"],["impl Default for EmbedFooter"],["impl Default for EmbedMedia"],["impl Default for EmbedProvider"],["impl Default for EmbedV1"],["impl Default for Hello"],["impl Default for HeartbeatPayload"],["impl Default for HeartbeatAckPayload"],["impl Default for InvalidSessionPayload"],["impl Default for PartyFlags"],["impl Default for PartyMemberFlags"],["impl Default for PartyPrefsFlags"],["impl Default for Permissions"],["impl Default for RoleFlags"],["impl Default for FxRandomState2"],["impl Default for FontSize"],["impl Default for Padding"],["impl Default for TabSize"],["impl Default for Temperature"],["impl Default for ExtraUserProfileBits"],["impl Default for UserPrefsFlags"],["impl Default for UserProfile"],["impl Default for UserProfileBits"],["impl Default for ThinString"],["impl<C> Default for DynamicClientMsgHandlers<C, (), ()>"],["impl<C> Default for DynamicServerMsgHandlers<C, (), ()>"],["impl<T> Default for Nullable<T>"]]]]); + if (window.register_implementors) { + window.register_implementors(implementors); + } else { + window.pending_implementors = implementors; + } +})() +//{"start":57,"fragment_lengths":[15221]} \ No newline at end of file diff --git a/trait.impl/core/error/trait.Error.js b/trait.impl/core/error/trait.Error.js new file mode 100644 index 000000000..b131af1b6 --- /dev/null +++ b/trait.impl/core/error/trait.Error.js @@ -0,0 +1,9 @@ +(function() { + var implementors = Object.fromEntries([["client_sdk",[["impl Error for ClientError"],["impl Error for DriverError"],["impl Error for StandardError"],["impl Error for GatewayError"],["impl Error for ApiError"],["impl Error for MissingItemError"],["impl Error for InvalidAuthToken"],["impl Error for FromUtf8Error"]]]]); + if (window.register_implementors) { + window.register_implementors(implementors); + } else { + window.pending_implementors = implementors; + } +})() +//{"start":57,"fragment_lengths":[2361]} \ No newline at end of file diff --git a/trait.impl/core/fmt/trait.Binary.js b/trait.impl/core/fmt/trait.Binary.js new file mode 100644 index 000000000..aa82a700b --- /dev/null +++ b/trait.impl/core/fmt/trait.Binary.js @@ -0,0 +1,9 @@ +(function() { + var implementors = Object.fromEntries([["client_sdk",[["impl Binary for CommandFlags"],["impl Binary for AssetFlags"],["impl Binary for EmbedFlags"],["impl Binary for EmoteFlags"],["impl Binary for Intent"],["impl Binary for MessageFlags"],["impl Binary for PartyFlags"],["impl Binary for PartyMemberFlags"],["impl Binary for PartyPrefsFlags"],["impl Binary for PinFolderFlags"],["impl Binary for Permissions"],["impl Binary for UserPresenceFlags"],["impl Binary for RoleFlags"],["impl Binary for RoomFlags"],["impl Binary for ThreadFlags"],["impl Binary for ExtraUserProfileBits"],["impl Binary for UserFlags"],["impl Binary for UserPrefsFlags"],["impl Binary for UserProfileBits"]]]]); + if (window.register_implementors) { + window.register_implementors(implementors); + } else { + window.pending_implementors = implementors; + } +})() +//{"start":57,"fragment_lengths":[5686]} \ No newline at end of file diff --git a/trait.impl/core/fmt/trait.Debug.js b/trait.impl/core/fmt/trait.Debug.js new file mode 100644 index 000000000..f6b6b34df --- /dev/null +++ b/trait.impl/core/fmt/trait.Debug.js @@ -0,0 +1,9 @@ +(function() { + var implementors = Object.fromEntries([["client_sdk",[["impl Debug for AssetQuery"],["impl Debug for CreateRoomKind"],["impl Debug for BannerAlign"],["impl Debug for ApiErrorCode"],["impl Debug for ClientError"],["impl Debug for DriverError"],["impl Debug for Encoding"],["impl Debug for StandardError"],["impl Debug for GatewayError"],["impl Debug for GatewayErrorCode"],["impl Debug for AuthToken"],["impl Debug for Embed"],["impl Debug for EmbedType"],["impl Debug for Emote"],["impl Debug for Cursor"],["impl Debug for PartyUpdateEvent"],["impl Debug for ClientMsg"],["impl Debug for ClientMsgOpcode"],["impl Debug for ServerMsg"],["impl Debug for ServerMsgOpcode"],["impl Debug for ArchivedMessageKind"],["impl Debug for EmoteOrEmoji"],["impl Debug for MessageKind"],["impl Debug for Reaction"],["impl Debug for AnyActivity"],["impl Debug for RoomKind"],["impl Debug for ElevationLevel"],["impl Debug for Font"],["impl Debug for FriendAddability"],["impl Debug for Locale"],["impl Debug for UserRelationship"],["impl Debug for GetServerConfig"],["impl Debug for CreateFile"],["impl Debug for CreateFileBody"],["impl Debug for FileStatus"],["impl Debug for FilesystemStatus"],["impl Debug for GetFileStatus"],["impl Debug for GetFilesystemStatus"],["impl Debug for GetInvite"],["impl Debug for RedeemInvite"],["impl Debug for RedeemInviteBody"],["impl Debug for RevokeInvite"],["impl Debug for CreateParty"],["impl Debug for CreatePartyForm"],["impl Debug for CreatePartyInvite"],["impl Debug for CreatePartyInviteBody"],["impl Debug for CreatePinFolder"],["impl Debug for CreatePinFolderForm"],["impl Debug for CreateRole"],["impl Debug for CreateRoleForm"],["impl Debug for CreateRoom"],["impl Debug for CreateRoomForm"],["impl Debug for DeleteParty"],["impl Debug for DeleteRole"],["impl Debug for GetMemberProfile"],["impl Debug for GetParty"],["impl Debug for GetPartyInvites"],["impl Debug for GetPartyMember"],["impl Debug for GetPartyMembers"],["impl Debug for GetPartyRooms"],["impl Debug for PartySettings"],["impl Debug for PatchParty"],["impl Debug for PatchPartyForm"],["impl Debug for PatchRole"],["impl Debug for PatchRoleForm"],["impl Debug for SearchParty"],["impl Debug for SearchQuery"],["impl Debug for TransferOwnership"],["impl Debug for UpdateMemberProfile"],["impl Debug for UpdateMemberProfileBody"],["impl Debug for CreateMessage"],["impl Debug for CreateMessageBody"],["impl Debug for DeleteAllReactions"],["impl Debug for DeleteMessage"],["impl Debug for DeleteOwnReaction"],["impl Debug for DeleteRoom"],["impl Debug for DeleteUserReaction"],["impl Debug for EditMessage"],["impl Debug for EditMessageBody"],["impl Debug for GetMessage"],["impl Debug for GetMessages"],["impl Debug for GetMessagesQuery"],["impl Debug for GetReactions"],["impl Debug for GetReactionsForm"],["impl Debug for GetRoom"],["impl Debug for PatchRoom"],["impl Debug for PatchRoomForm"],["impl Debug for PinMessage"],["impl Debug for PutReaction"],["impl Debug for StarMessage"],["impl Debug for StartTyping"],["impl Debug for StartTypingBody"],["impl Debug for UnpinMessage"],["impl Debug for UnstarMessage"],["impl Debug for Added2FA"],["impl Debug for ChangePassword"],["impl Debug for ChangePasswordForm"],["impl Debug for ClearSessions"],["impl Debug for ClearSessionsForm"],["impl Debug for Confirm2FA"],["impl Debug for Confirm2FAForm"],["impl Debug for Enable2FA"],["impl Debug for Enable2FAForm"],["impl Debug for GetRelationships"],["impl Debug for GetSessions"],["impl Debug for GetUser"],["impl Debug for PatchRelationship"],["impl Debug for PatchRelationshipBody"],["impl Debug for Remove2FA"],["impl Debug for Remove2FAForm"],["impl Debug for UpdateUserPrefs"],["impl Debug for UpdateUserPrefsBody"],["impl Debug for UpdateUserProfile"],["impl Debug for UpdateUserProfileBody"],["impl Debug for UserLogin"],["impl Debug for UserLoginForm"],["impl Debug for UserLogout"],["impl Debug for UserRegister"],["impl Debug for UserRegisterForm"],["impl Debug for ApiError"],["impl Debug for ArchivedApiError"],["impl Debug for ArchivedApiErrorCode"],["impl Debug for GatewayQueryParams"],["impl Debug for CommandFlags"],["impl Debug for MissingItemError"],["impl Debug for RateLimit"],["impl Debug for Argument<'_>"],["impl Debug for ArchivedAssetFlags"],["impl Debug for AssetFlags"],["impl Debug for InvalidAuthToken"],["impl Debug for ServerConfig"],["impl Debug for ServerLimits"],["impl Debug for ArchivedEmbedFlags"],["impl Debug for BasicEmbedMedia"],["impl Debug for EmbedAuthor"],["impl Debug for EmbedField"],["impl Debug for EmbedFlags"],["impl Debug for EmbedFooter"],["impl Debug for EmbedMedia"],["impl Debug for EmbedProvider"],["impl Debug for EmbedV1"],["impl Debug for ArchivedEmoteFlags"],["impl Debug for CustomEmote"],["impl Debug for EmoteFlags"],["impl Debug for File"],["impl Debug for Identify"],["impl Debug for SetPresence"],["impl Debug for Hello"],["impl Debug for MessageDeleteEvent"],["impl Debug for PartyMemberEvent"],["impl Debug for PartyPositionUpdate"],["impl Debug for ProfileUpdateEvent"],["impl Debug for Ready"],["impl Debug for ReadyParty"],["impl Debug for RoleDeleteEvent"],["impl Debug for RoomDeleteEvent"],["impl Debug for TypingStart"],["impl Debug for UserPresenceEvent"],["impl Debug for UserReactionEvent"],["impl Debug for HeartbeatPayload"],["impl Debug for IdentifyPayload"],["impl Debug for ResumePayload"],["impl Debug for SetPresencePayload"],["impl Debug for SubscribePayload"],["impl Debug for UnsubscribePayload"],["impl Debug for HeartbeatAckPayload"],["impl Debug for HelloPayload"],["impl Debug for InvalidSessionPayload"],["impl Debug for MemberAddPayload"],["impl Debug for MemberBanPayload"],["impl Debug for MemberRemovePayload"],["impl Debug for MemberUnbanPayload"],["impl Debug for MemberUpdatePayload"],["impl Debug for MessageCreatePayload"],["impl Debug for MessageDeletePayload"],["impl Debug for MessageReactionAddPayload"],["impl Debug for MessageReactionRemoveAllPayload"],["impl Debug for MessageReactionRemoveEmotePayload"],["impl Debug for MessageReactionRemovePayload"],["impl Debug for MessageUpdatePayload"],["impl Debug for PartyCreatePayload"],["impl Debug for PartyDeletePayload"],["impl Debug for PartyUpdatePayload"],["impl Debug for PresenceUpdatePayload"],["impl Debug for ProfileUpdatePayload"],["impl Debug for ReadyPayload"],["impl Debug for RelationAddPayload"],["impl Debug for RelationRemovePayload"],["impl Debug for RoleCreatePayload"],["impl Debug for RoleDeletePayload"],["impl Debug for RoleUpdatePayload"],["impl Debug for RoomCreatePayload"],["impl Debug for RoomDeletePayload"],["impl Debug for RoomPinsUpdatePayload"],["impl Debug for RoomUpdatePayload"],["impl Debug for TypingStartPayload"],["impl Debug for UserUpdatePayload"],["impl Debug for ArchivedIntent"],["impl Debug for Intent"],["impl Debug for Invite"],["impl Debug for ArchivedMessageFlags"],["impl Debug for Attachment"],["impl Debug for Message"],["impl Debug for MessageFlags"],["impl Debug for ReactionFull"],["impl Debug for ReactionShorthand"],["impl Debug for ArchivedPartyFlags"],["impl Debug for ArchivedPartyMemberFlags"],["impl Debug for ArchivedPartyPrefsFlags"],["impl Debug for ArchivedPinFolderFlags"],["impl Debug for PartialParty"],["impl Debug for Party"],["impl Debug for PartyFlags"],["impl Debug for PartyMember"],["impl Debug for PartyMemberFlags"],["impl Debug for PartyPreferences"],["impl Debug for PartyPrefsFlags"],["impl Debug for PinFolder"],["impl Debug for PinFolderFlags"],["impl Debug for ArchivedPermissions"],["impl Debug for Overwrite"],["impl Debug for Permissions"],["impl Debug for Activity"],["impl Debug for ArchivedUserPresenceFlags"],["impl Debug for UserPresence"],["impl Debug for UserPresenceFlags"],["impl Debug for ArchivedRoleFlags"],["impl Debug for Role"],["impl Debug for RoleFlags"],["impl Debug for ArchivedRoomFlags"],["impl Debug for FullRoom"],["impl Debug for Room"],["impl Debug for RoomFlags"],["impl Debug for AnonymousSession"],["impl Debug for Session"],["impl Debug for RoomStatistics"],["impl Debug for Statistics"],["impl Debug for FxRandomState2"],["impl Debug for ArchivedThreadFlags"],["impl Debug for Thread"],["impl Debug for ThreadFlags"],["impl Debug for FontSize"],["impl Debug for Padding"],["impl Debug for TabSize"],["impl Debug for Temperature"],["impl Debug for ArchivedExtraUserProfileBits"],["impl Debug for ArchivedFont"],["impl Debug for ArchivedFriendAddability"],["impl Debug for ArchivedLocale"],["impl Debug for ArchivedUserFlags"],["impl Debug for ArchivedUserPrefsFlags"],["impl Debug for ArchivedUserProfileBits"],["impl Debug for ArchivedUserRelationship"],["impl Debug for ExtraUserProfileBits"],["impl Debug for Relationship"],["impl Debug for User"],["impl Debug for UserFlags"],["impl Debug for UserPreferences"],["impl Debug for UserPrefsFlags"],["impl Debug for UserProfile"],["impl Debug for UserProfileBits"],["impl Debug for FromUtf8Error"],["impl Debug for ThinString"],["impl<T: Debug> Debug for Nullable<T>"],["impl<const N: usize> Debug for FixedStr<N>"]]]]); + if (window.register_implementors) { + window.register_implementors(implementors); + } else { + window.pending_implementors = implementors; + } +})() +//{"start":57,"fragment_lengths":[83637]} \ No newline at end of file diff --git a/trait.impl/core/fmt/trait.Display.js b/trait.impl/core/fmt/trait.Display.js new file mode 100644 index 000000000..45744e183 --- /dev/null +++ b/trait.impl/core/fmt/trait.Display.js @@ -0,0 +1,9 @@ +(function() { + var implementors = Object.fromEntries([["client_sdk",[["impl Display for ClientError"],["impl Display for DriverError"],["impl Display for StandardError"],["impl Display for GatewayError"],["impl Display for AuthToken"],["impl Display for EmoteOrEmoji"],["impl Display for ApiError"],["impl Display for MissingItemError"],["impl Display for InvalidAuthToken"],["impl Display for FromUtf8Error"],["impl Display for ThinString"],["impl<const N: usize> Display for FixedStr<N>"]]]]); + if (window.register_implementors) { + window.register_implementors(implementors); + } else { + window.pending_implementors = implementors; + } +})() +//{"start":57,"fragment_lengths":[3705]} \ No newline at end of file diff --git a/trait.impl/core/fmt/trait.LowerHex.js b/trait.impl/core/fmt/trait.LowerHex.js new file mode 100644 index 000000000..5ae8c1902 --- /dev/null +++ b/trait.impl/core/fmt/trait.LowerHex.js @@ -0,0 +1,9 @@ +(function() { + var implementors = Object.fromEntries([["client_sdk",[["impl LowerHex for CommandFlags"],["impl LowerHex for AssetFlags"],["impl LowerHex for EmbedFlags"],["impl LowerHex for EmoteFlags"],["impl LowerHex for Intent"],["impl LowerHex for MessageFlags"],["impl LowerHex for PartyFlags"],["impl LowerHex for PartyMemberFlags"],["impl LowerHex for PartyPrefsFlags"],["impl LowerHex for PinFolderFlags"],["impl LowerHex for Permissions"],["impl LowerHex for UserPresenceFlags"],["impl LowerHex for RoleFlags"],["impl LowerHex for RoomFlags"],["impl LowerHex for ThreadFlags"],["impl LowerHex for ExtraUserProfileBits"],["impl LowerHex for UserFlags"],["impl LowerHex for UserPrefsFlags"],["impl LowerHex for UserProfileBits"]]]]); + if (window.register_implementors) { + window.register_implementors(implementors); + } else { + window.pending_implementors = implementors; + } +})() +//{"start":57,"fragment_lengths":[5800]} \ No newline at end of file diff --git a/trait.impl/core/fmt/trait.Octal.js b/trait.impl/core/fmt/trait.Octal.js new file mode 100644 index 000000000..b8de8bb7d --- /dev/null +++ b/trait.impl/core/fmt/trait.Octal.js @@ -0,0 +1,9 @@ +(function() { + var implementors = Object.fromEntries([["client_sdk",[["impl Octal for CommandFlags"],["impl Octal for AssetFlags"],["impl Octal for EmbedFlags"],["impl Octal for EmoteFlags"],["impl Octal for Intent"],["impl Octal for MessageFlags"],["impl Octal for PartyFlags"],["impl Octal for PartyMemberFlags"],["impl Octal for PartyPrefsFlags"],["impl Octal for PinFolderFlags"],["impl Octal for Permissions"],["impl Octal for UserPresenceFlags"],["impl Octal for RoleFlags"],["impl Octal for RoomFlags"],["impl Octal for ThreadFlags"],["impl Octal for ExtraUserProfileBits"],["impl Octal for UserFlags"],["impl Octal for UserPrefsFlags"],["impl Octal for UserProfileBits"]]]]); + if (window.register_implementors) { + window.register_implementors(implementors); + } else { + window.pending_implementors = implementors; + } +})() +//{"start":57,"fragment_lengths":[5629]} \ No newline at end of file diff --git a/trait.impl/core/fmt/trait.UpperHex.js b/trait.impl/core/fmt/trait.UpperHex.js new file mode 100644 index 000000000..d57395be5 --- /dev/null +++ b/trait.impl/core/fmt/trait.UpperHex.js @@ -0,0 +1,9 @@ +(function() { + var implementors = Object.fromEntries([["client_sdk",[["impl UpperHex for CommandFlags"],["impl UpperHex for AssetFlags"],["impl UpperHex for EmbedFlags"],["impl UpperHex for EmoteFlags"],["impl UpperHex for Intent"],["impl UpperHex for MessageFlags"],["impl UpperHex for PartyFlags"],["impl UpperHex for PartyMemberFlags"],["impl UpperHex for PartyPrefsFlags"],["impl UpperHex for PinFolderFlags"],["impl UpperHex for Permissions"],["impl UpperHex for UserPresenceFlags"],["impl UpperHex for RoleFlags"],["impl UpperHex for RoomFlags"],["impl UpperHex for ThreadFlags"],["impl UpperHex for ExtraUserProfileBits"],["impl UpperHex for UserFlags"],["impl UpperHex for UserPrefsFlags"],["impl UpperHex for UserProfileBits"]]]]); + if (window.register_implementors) { + window.register_implementors(implementors); + } else { + window.pending_implementors = implementors; + } +})() +//{"start":57,"fragment_lengths":[5800]} \ No newline at end of file diff --git a/trait.impl/core/fmt/trait.Write.js b/trait.impl/core/fmt/trait.Write.js new file mode 100644 index 000000000..90a0c1c52 --- /dev/null +++ b/trait.impl/core/fmt/trait.Write.js @@ -0,0 +1,9 @@ +(function() { + var implementors = Object.fromEntries([["client_sdk",[["impl Write for ThinString"]]]]); + if (window.register_implementors) { + window.register_implementors(implementors); + } else { + window.pending_implementors = implementors; + } +})() +//{"start":57,"fragment_lengths":[322]} \ No newline at end of file diff --git a/trait.impl/core/hash/trait.BuildHasher.js b/trait.impl/core/hash/trait.BuildHasher.js new file mode 100644 index 000000000..cf137a882 --- /dev/null +++ b/trait.impl/core/hash/trait.BuildHasher.js @@ -0,0 +1,9 @@ +(function() { + var implementors = Object.fromEntries([["client_sdk",[["impl BuildHasher for FxRandomState2"]]]]); + if (window.register_implementors) { + window.register_implementors(implementors); + } else { + window.pending_implementors = implementors; + } +})() +//{"start":57,"fragment_lengths":[324]} \ No newline at end of file diff --git a/trait.impl/core/hash/trait.Hash.js b/trait.impl/core/hash/trait.Hash.js new file mode 100644 index 000000000..ea8a6be3a --- /dev/null +++ b/trait.impl/core/hash/trait.Hash.js @@ -0,0 +1,9 @@ +(function() { + var implementors = Object.fromEntries([["client_sdk",[["impl Hash for CreateRoomKind"],["impl Hash for BannerAlign"],["impl Hash for ApiErrorCode"],["impl Hash for Encoding"],["impl Hash for GatewayErrorCode"],["impl Hash for Cursor"],["impl Hash for ArchivedMessageKind"],["impl Hash for MessageKind"],["impl Hash for RoomKind"],["impl Hash for ElevationLevel"],["impl Hash for Font"],["impl Hash for FriendAddability"],["impl Hash for Locale"],["impl Hash for UserRelationship"],["impl Hash for ArchivedApiErrorCode"],["impl Hash for CommandFlags"],["impl Hash for AssetFlags"],["impl Hash for EmbedFlags"],["impl Hash for EmoteFlags"],["impl Hash for Intent"],["impl Hash for MessageFlags"],["impl Hash for PartyFlags"],["impl Hash for PartyMemberFlags"],["impl Hash for PartyPrefsFlags"],["impl Hash for PinFolderFlags"],["impl Hash for Permissions"],["impl Hash for UserPresenceFlags"],["impl Hash for RoleFlags"],["impl Hash for RoomFlags"],["impl Hash for ThreadFlags"],["impl Hash for ArchivedFont"],["impl Hash for ArchivedFriendAddability"],["impl Hash for ArchivedLocale"],["impl Hash for ArchivedUserRelationship"],["impl Hash for ExtraUserProfileBits"],["impl Hash for UserFlags"],["impl Hash for UserPrefsFlags"],["impl Hash for UserProfileBits"],["impl Hash for ThinString"],["impl<'a> Hash for Argument<'a>"],["impl<T: Hash> Hash for Nullable<T>"],["impl<const N: usize> Hash for FixedStr<N>"]]]]); + if (window.register_implementors) { + window.register_implementors(implementors); + } else { + window.pending_implementors = implementors; + } +})() +//{"start":57,"fragment_lengths":[12635]} \ No newline at end of file diff --git a/trait.impl/core/iter/traits/collect/trait.Extend.js b/trait.impl/core/iter/traits/collect/trait.Extend.js new file mode 100644 index 000000000..c4002c3ee --- /dev/null +++ b/trait.impl/core/iter/traits/collect/trait.Extend.js @@ -0,0 +1,9 @@ +(function() { + var implementors = Object.fromEntries([["client_sdk",[["impl Extend<char> for ThinString"],["impl Extend<CommandFlags> for CommandFlags"],["impl Extend<AssetFlags> for AssetFlags"],["impl Extend<EmbedFlags> for EmbedFlags"],["impl Extend<EmoteFlags> for EmoteFlags"],["impl Extend<Intent> for Intent"],["impl Extend<MessageFlags> for MessageFlags"],["impl Extend<PartyFlags> for PartyFlags"],["impl Extend<PartyMemberFlags> for PartyMemberFlags"],["impl Extend<PartyPrefsFlags> for PartyPrefsFlags"],["impl Extend<PinFolderFlags> for PinFolderFlags"],["impl Extend<Permissions> for Permissions"],["impl Extend<UserPresenceFlags> for UserPresenceFlags"],["impl Extend<RoleFlags> for RoleFlags"],["impl Extend<RoomFlags> for RoomFlags"],["impl Extend<ThreadFlags> for ThreadFlags"],["impl Extend<ExtraUserProfileBits> for ExtraUserProfileBits"],["impl Extend<UserFlags> for UserFlags"],["impl Extend<UserPrefsFlags> for UserPrefsFlags"],["impl Extend<UserProfileBits> for UserProfileBits"],["impl Extend<ThinString> for ThinString"],["impl Extend<Box<str>> for ThinString"],["impl Extend<String> for ThinString"],["impl<'a> Extend<&'a char> for ThinString"],["impl<'a> Extend<&'a str> for ThinString"],["impl<'a> Extend<Cow<'a, str>> for ThinString"]]]]); + if (window.register_implementors) { + window.register_implementors(implementors); + } else { + window.pending_implementors = implementors; + } +})() +//{"start":57,"fragment_lengths":[12928]} \ No newline at end of file diff --git a/trait.impl/core/iter/traits/collect/trait.FromIterator.js b/trait.impl/core/iter/traits/collect/trait.FromIterator.js new file mode 100644 index 000000000..eac01a153 --- /dev/null +++ b/trait.impl/core/iter/traits/collect/trait.FromIterator.js @@ -0,0 +1,9 @@ +(function() { + var implementors = Object.fromEntries([["client_sdk",[["impl FromIterator<char> for ThinString"],["impl FromIterator<CommandFlags> for CommandFlags"],["impl FromIterator<AssetFlags> for AssetFlags"],["impl FromIterator<EmbedFlags> for EmbedFlags"],["impl FromIterator<EmoteFlags> for EmoteFlags"],["impl FromIterator<Intent> for Intent"],["impl FromIterator<MessageFlags> for MessageFlags"],["impl FromIterator<PartyFlags> for PartyFlags"],["impl FromIterator<PartyMemberFlags> for PartyMemberFlags"],["impl FromIterator<PartyPrefsFlags> for PartyPrefsFlags"],["impl FromIterator<PinFolderFlags> for PinFolderFlags"],["impl FromIterator<Permissions> for Permissions"],["impl FromIterator<UserPresenceFlags> for UserPresenceFlags"],["impl FromIterator<RoleFlags> for RoleFlags"],["impl FromIterator<RoomFlags> for RoomFlags"],["impl FromIterator<ThreadFlags> for ThreadFlags"],["impl FromIterator<ExtraUserProfileBits> for ExtraUserProfileBits"],["impl FromIterator<UserFlags> for UserFlags"],["impl FromIterator<UserPrefsFlags> for UserPrefsFlags"],["impl FromIterator<UserProfileBits> for UserProfileBits"],["impl FromIterator<ThinString> for ThinString"],["impl FromIterator<String> for ThinString"],["impl<'a> FromIterator<&'a char> for ThinString"],["impl<'a> FromIterator<&'a str> for ThinString"]]]]); + if (window.register_implementors) { + window.register_implementors(implementors); + } else { + window.pending_implementors = implementors; + } +})() +//{"start":57,"fragment_lengths":[12178]} \ No newline at end of file diff --git a/trait.impl/core/iter/traits/collect/trait.IntoIterator.js b/trait.impl/core/iter/traits/collect/trait.IntoIterator.js new file mode 100644 index 000000000..87e162506 --- /dev/null +++ b/trait.impl/core/iter/traits/collect/trait.IntoIterator.js @@ -0,0 +1,9 @@ +(function() { + var implementors = Object.fromEntries([["client_sdk",[["impl IntoIterator for CommandFlags"],["impl IntoIterator for AssetFlags"],["impl IntoIterator for EmbedFlags"],["impl IntoIterator for EmoteFlags"],["impl IntoIterator for Intent"],["impl IntoIterator for MessageFlags"],["impl IntoIterator for PartyFlags"],["impl IntoIterator for PartyMemberFlags"],["impl IntoIterator for PartyPrefsFlags"],["impl IntoIterator for PinFolderFlags"],["impl IntoIterator for Permissions"],["impl IntoIterator for UserPresenceFlags"],["impl IntoIterator for RoleFlags"],["impl IntoIterator for RoomFlags"],["impl IntoIterator for ThreadFlags"],["impl IntoIterator for ExtraUserProfileBits"],["impl IntoIterator for UserFlags"],["impl IntoIterator for UserPrefsFlags"],["impl IntoIterator for UserProfileBits"]]]]); + if (window.register_implementors) { + window.register_implementors(implementors); + } else { + window.pending_implementors = implementors; + } +})() +//{"start":57,"fragment_lengths":[6674]} \ No newline at end of file diff --git a/trait.impl/core/marker/trait.Copy.js b/trait.impl/core/marker/trait.Copy.js new file mode 100644 index 000000000..0ca25ce1c --- /dev/null +++ b/trait.impl/core/marker/trait.Copy.js @@ -0,0 +1,9 @@ +(function() { + var implementors = Object.fromEntries([["client_sdk",[["impl Copy for CreateRoomKind"],["impl Copy for BannerAlign"],["impl Copy for ApiErrorCode"],["impl Copy for Encoding"],["impl Copy for GatewayErrorCode"],["impl Copy for AuthToken"],["impl Copy for EmbedType"],["impl Copy for Cursor"],["impl Copy for ClientMsgOpcode"],["impl Copy for ServerMsgOpcode"],["impl Copy for ArchivedMessageKind"],["impl Copy for MessageKind"],["impl Copy for RoomKind"],["impl Copy for ElevationLevel"],["impl Copy for Font"],["impl Copy for FriendAddability"],["impl Copy for Locale"],["impl Copy for UserRelationship"],["impl Copy for FileStatus"],["impl Copy for FilesystemStatus"],["impl Copy for ArchivedApiErrorCode"],["impl Copy for GatewayQueryParams"],["impl Copy for CommandFlags"],["impl Copy for MissingItemError"],["impl Copy for RateLimit"],["impl Copy for ArchivedAssetFlags"],["impl Copy for AssetFlags"],["impl Copy for ArchivedEmbedFlags"],["impl Copy for EmbedFlags"],["impl Copy for ArchivedEmoteFlags"],["impl Copy for EmoteFlags"],["impl Copy for ArchivedIntent"],["impl Copy for Intent"],["impl Copy for ArchivedMessageFlags"],["impl Copy for MessageFlags"],["impl Copy for ArchivedPartyFlags"],["impl Copy for ArchivedPartyMemberFlags"],["impl Copy for ArchivedPartyPrefsFlags"],["impl Copy for ArchivedPinFolderFlags"],["impl Copy for PartyFlags"],["impl Copy for PartyMemberFlags"],["impl Copy for PartyPrefsFlags"],["impl Copy for PinFolderFlags"],["impl Copy for ArchivedPermissions"],["impl Copy for Overwrite"],["impl Copy for Permissions"],["impl Copy for ArchivedUserPresenceFlags"],["impl Copy for UserPresenceFlags"],["impl Copy for ArchivedRoleFlags"],["impl Copy for RoleFlags"],["impl Copy for ArchivedRoomFlags"],["impl Copy for RoomFlags"],["impl Copy for FxRandomState2"],["impl Copy for ArchivedThreadFlags"],["impl Copy for ThreadFlags"],["impl Copy for FontSize"],["impl Copy for Padding"],["impl Copy for TabSize"],["impl Copy for Temperature"],["impl Copy for ArchivedExtraUserProfileBits"],["impl Copy for ArchivedFont"],["impl Copy for ArchivedFriendAddability"],["impl Copy for ArchivedLocale"],["impl Copy for ArchivedUserFlags"],["impl Copy for ArchivedUserPrefsFlags"],["impl Copy for ArchivedUserProfileBits"],["impl Copy for ArchivedUserRelationship"],["impl Copy for ExtraUserProfileBits"],["impl Copy for UserFlags"],["impl Copy for UserPrefsFlags"],["impl Copy for UserProfileBits"],["impl<'a> Copy for Argument<'a>"],["impl<T: Copy> Copy for Nullable<T>"],["impl<const N: usize> Copy for FixedStr<N>"]]]]); + if (window.register_implementors) { + window.register_implementors(implementors); + } else { + window.pending_implementors = implementors; + } +})() +//{"start":57,"fragment_lengths":[22864]} \ No newline at end of file diff --git a/trait.impl/core/marker/trait.Freeze.js b/trait.impl/core/marker/trait.Freeze.js new file mode 100644 index 000000000..cc361acd8 --- /dev/null +++ b/trait.impl/core/marker/trait.Freeze.js @@ -0,0 +1,9 @@ +(function() { + var implementors = Object.fromEntries([["client_sdk",[["impl !Freeze for StandardError",1,["client_sdk::framework::standard::error::StandardError"]],["impl !Freeze for GatewayError",1,["client_sdk::gateway::error::GatewayError"]],["impl !Freeze for GatewayConnection",1,["client_sdk::gateway::conn::GatewayConnection"]],["impl !Freeze for GatewayConnectionControl",1,["client_sdk::gateway::conn::GatewayConnectionControl"]],["impl !Freeze for GatewaySocket",1,["client_sdk::gateway::socket::GatewaySocket"]],["impl Freeze for AssetQuery",1,["client_sdk::api::asset::AssetQuery"]],["impl Freeze for CreateRoomKind",1,["client_sdk::api::commands::party::CreateRoomKind"]],["impl Freeze for BannerAlign",1,["client_sdk::api::commands::user::BannerAlign"]],["impl Freeze for ApiErrorCode",1,["client_sdk::api::error::api_error_code_impl::ApiErrorCode"]],["impl Freeze for ClientError",1,["client_sdk::client::error::ClientError"]],["impl Freeze for DriverError",1,["client_sdk::driver::error::DriverError"]],["impl Freeze for Encoding",1,["client_sdk::driver::Encoding"]],["impl Freeze for GatewayErrorCode",1,["client_sdk::gateway::error::GatewayErrorCode"]],["impl Freeze for ArchivedAuthToken",1,["client_sdk::models::auth::ArchivedAuthToken"]],["impl Freeze for AuthToken",1,["client_sdk::models::auth::AuthToken"]],["impl Freeze for AuthTokenResolver",1,["client_sdk::models::auth::AuthTokenResolver"]],["impl Freeze for ArchivedEmbed",1,["client_sdk::models::embed::ArchivedEmbed"]],["impl Freeze for Embed",1,["client_sdk::models::embed::Embed"]],["impl Freeze for EmbedResolver",1,["client_sdk::models::embed::EmbedResolver"]],["impl Freeze for ArchivedEmbedType",1,["client_sdk::models::embed::v1::ArchivedEmbedType"]],["impl Freeze for EmbedType",1,["client_sdk::models::embed::v1::EmbedType"]],["impl Freeze for EmbedTypeResolver",1,["client_sdk::models::embed::v1::EmbedTypeResolver"]],["impl Freeze for ArchivedEmote",1,["client_sdk::models::emote::ArchivedEmote"]],["impl Freeze for Emote",1,["client_sdk::models::emote::Emote"]],["impl Freeze for EmoteResolver",1,["client_sdk::models::emote::EmoteResolver"]],["impl Freeze for ArchivedCursor",1,["client_sdk::models::ArchivedCursor"]],["impl Freeze for Cursor",1,["client_sdk::models::Cursor"]],["impl Freeze for CursorResolver",1,["client_sdk::models::CursorResolver"]],["impl Freeze for ArchivedPartyUpdateEvent",1,["client_sdk::models::gateway::events::ArchivedPartyUpdateEvent"]],["impl Freeze for PartyUpdateEvent",1,["client_sdk::models::gateway::events::PartyUpdateEvent"]],["impl Freeze for PartyUpdateEventResolver",1,["client_sdk::models::gateway::events::PartyUpdateEventResolver"]],["impl Freeze for ArchivedClientMsg",1,["client_sdk::models::gateway::message::ArchivedClientMsg"]],["impl Freeze for ArchivedServerMsg",1,["client_sdk::models::gateway::message::ArchivedServerMsg"]],["impl Freeze for ClientMsg",1,["client_sdk::models::gateway::message::ClientMsg"]],["impl Freeze for ClientMsgOpcode",1,["client_sdk::models::gateway::message::ClientMsgOpcode"]],["impl Freeze for ClientMsgResolver",1,["client_sdk::models::gateway::message::ClientMsgResolver"]],["impl Freeze for ServerMsg",1,["client_sdk::models::gateway::message::ServerMsg"]],["impl Freeze for ServerMsgOpcode",1,["client_sdk::models::gateway::message::ServerMsgOpcode"]],["impl Freeze for ServerMsgResolver",1,["client_sdk::models::gateway::message::ServerMsgResolver"]],["impl Freeze for ArchivedEmoteOrEmoji",1,["client_sdk::models::message::ArchivedEmoteOrEmoji"]],["impl Freeze for ArchivedMessageKind",1,["client_sdk::models::message::message_kind_impl::ArchivedMessageKind"]],["impl Freeze for ArchivedReaction",1,["client_sdk::models::message::ArchivedReaction"]],["impl Freeze for EmoteOrEmoji",1,["client_sdk::models::message::EmoteOrEmoji"]],["impl Freeze for EmoteOrEmojiResolver",1,["client_sdk::models::message::EmoteOrEmojiResolver"]],["impl Freeze for MessageKind",1,["client_sdk::models::message::message_kind_impl::MessageKind"]],["impl Freeze for Reaction",1,["client_sdk::models::message::Reaction"]],["impl Freeze for ReactionResolver",1,["client_sdk::models::message::ReactionResolver"]],["impl Freeze for AnyActivity",1,["client_sdk::models::presence::AnyActivity"]],["impl Freeze for AnyActivityResolver",1,["client_sdk::models::presence::AnyActivityResolver"]],["impl Freeze for ArchivedAnyActivity",1,["client_sdk::models::presence::ArchivedAnyActivity"]],["impl Freeze for ArchivedRoomKind",1,["client_sdk::models::room::ArchivedRoomKind"]],["impl Freeze for RoomKind",1,["client_sdk::models::room::RoomKind"]],["impl Freeze for RoomKindResolver",1,["client_sdk::models::room::RoomKindResolver"]],["impl Freeze for ElevationLevel",1,["client_sdk::models::user::ElevationLevel"]],["impl Freeze for Font",1,["client_sdk::models::user::prefs::font_impl::Font"]],["impl Freeze for FriendAddability",1,["client_sdk::models::user::prefs::friend_addability_impl::FriendAddability"]],["impl Freeze for Locale",1,["client_sdk::models::user::prefs::locale_impl::Locale"]],["impl Freeze for UserRelationship",1,["client_sdk::models::user::user_relationship_impl::UserRelationship"]],["impl Freeze for ArchivedGetServerConfig",1,["client_sdk::api::commands::config::ArchivedGetServerConfig"]],["impl Freeze for GetServerConfig",1,["client_sdk::api::commands::config::GetServerConfig"]],["impl Freeze for GetServerConfigResolver",1,["client_sdk::api::commands::config::GetServerConfigResolver"]],["impl Freeze for ArchivedCreateFile",1,["client_sdk::api::commands::file::ArchivedCreateFile"]],["impl Freeze for ArchivedCreateFileBody",1,["client_sdk::api::commands::file::ArchivedCreateFileBody"]],["impl Freeze for ArchivedFileStatus",1,["client_sdk::api::commands::file::ArchivedFileStatus"]],["impl Freeze for ArchivedFilesystemStatus",1,["client_sdk::api::commands::file::ArchivedFilesystemStatus"]],["impl Freeze for ArchivedGetFileStatus",1,["client_sdk::api::commands::file::ArchivedGetFileStatus"]],["impl Freeze for ArchivedGetFilesystemStatus",1,["client_sdk::api::commands::file::ArchivedGetFilesystemStatus"]],["impl Freeze for CreateFile",1,["client_sdk::api::commands::file::CreateFile"]],["impl Freeze for CreateFileBody",1,["client_sdk::api::commands::file::CreateFileBody"]],["impl Freeze for CreateFileBodyResolver",1,["client_sdk::api::commands::file::CreateFileBodyResolver"]],["impl Freeze for CreateFileResolver",1,["client_sdk::api::commands::file::CreateFileResolver"]],["impl Freeze for FileStatus",1,["client_sdk::api::commands::file::FileStatus"]],["impl Freeze for FileStatusResolver",1,["client_sdk::api::commands::file::FileStatusResolver"]],["impl Freeze for FilesystemStatus",1,["client_sdk::api::commands::file::FilesystemStatus"]],["impl Freeze for FilesystemStatusResolver",1,["client_sdk::api::commands::file::FilesystemStatusResolver"]],["impl Freeze for GetFileStatus",1,["client_sdk::api::commands::file::GetFileStatus"]],["impl Freeze for GetFileStatusResolver",1,["client_sdk::api::commands::file::GetFileStatusResolver"]],["impl Freeze for GetFilesystemStatus",1,["client_sdk::api::commands::file::GetFilesystemStatus"]],["impl Freeze for GetFilesystemStatusResolver",1,["client_sdk::api::commands::file::GetFilesystemStatusResolver"]],["impl Freeze for ArchivedGetInvite",1,["client_sdk::api::commands::invite::ArchivedGetInvite"]],["impl Freeze for ArchivedRedeemInvite",1,["client_sdk::api::commands::invite::ArchivedRedeemInvite"]],["impl Freeze for ArchivedRedeemInviteBody",1,["client_sdk::api::commands::invite::ArchivedRedeemInviteBody"]],["impl Freeze for ArchivedRevokeInvite",1,["client_sdk::api::commands::invite::ArchivedRevokeInvite"]],["impl Freeze for GetInvite",1,["client_sdk::api::commands::invite::GetInvite"]],["impl Freeze for GetInviteResolver",1,["client_sdk::api::commands::invite::GetInviteResolver"]],["impl Freeze for RedeemInvite",1,["client_sdk::api::commands::invite::RedeemInvite"]],["impl Freeze for RedeemInviteBody",1,["client_sdk::api::commands::invite::RedeemInviteBody"]],["impl Freeze for RedeemInviteBodyResolver",1,["client_sdk::api::commands::invite::RedeemInviteBodyResolver"]],["impl Freeze for RedeemInviteResolver",1,["client_sdk::api::commands::invite::RedeemInviteResolver"]],["impl Freeze for RevokeInvite",1,["client_sdk::api::commands::invite::RevokeInvite"]],["impl Freeze for RevokeInviteResolver",1,["client_sdk::api::commands::invite::RevokeInviteResolver"]],["impl Freeze for ArchivedCreateParty",1,["client_sdk::api::commands::party::ArchivedCreateParty"]],["impl Freeze for ArchivedCreatePartyForm",1,["client_sdk::api::commands::party::ArchivedCreatePartyForm"]],["impl Freeze for ArchivedCreatePartyInvite",1,["client_sdk::api::commands::party::ArchivedCreatePartyInvite"]],["impl Freeze for ArchivedCreatePartyInviteBody",1,["client_sdk::api::commands::party::ArchivedCreatePartyInviteBody"]],["impl Freeze for ArchivedCreatePinFolder",1,["client_sdk::api::commands::party::ArchivedCreatePinFolder"]],["impl Freeze for ArchivedCreatePinFolderForm",1,["client_sdk::api::commands::party::ArchivedCreatePinFolderForm"]],["impl Freeze for ArchivedCreateRole",1,["client_sdk::api::commands::party::ArchivedCreateRole"]],["impl Freeze for ArchivedCreateRoleForm",1,["client_sdk::api::commands::party::ArchivedCreateRoleForm"]],["impl Freeze for ArchivedCreateRoom",1,["client_sdk::api::commands::party::ArchivedCreateRoom"]],["impl Freeze for ArchivedCreateRoomForm",1,["client_sdk::api::commands::party::ArchivedCreateRoomForm"]],["impl Freeze for ArchivedDeleteParty",1,["client_sdk::api::commands::party::ArchivedDeleteParty"]],["impl Freeze for ArchivedDeleteRole",1,["client_sdk::api::commands::party::ArchivedDeleteRole"]],["impl Freeze for ArchivedGetMemberProfile",1,["client_sdk::api::commands::party::ArchivedGetMemberProfile"]],["impl Freeze for ArchivedGetParty",1,["client_sdk::api::commands::party::ArchivedGetParty"]],["impl Freeze for ArchivedGetPartyInvites",1,["client_sdk::api::commands::party::ArchivedGetPartyInvites"]],["impl Freeze for ArchivedGetPartyMember",1,["client_sdk::api::commands::party::ArchivedGetPartyMember"]],["impl Freeze for ArchivedGetPartyMembers",1,["client_sdk::api::commands::party::ArchivedGetPartyMembers"]],["impl Freeze for ArchivedGetPartyRooms",1,["client_sdk::api::commands::party::ArchivedGetPartyRooms"]],["impl Freeze for ArchivedPartySettings",1,["client_sdk::api::commands::party::ArchivedPartySettings"]],["impl Freeze for ArchivedPatchParty",1,["client_sdk::api::commands::party::ArchivedPatchParty"]],["impl Freeze for ArchivedPatchPartyForm",1,["client_sdk::api::commands::party::ArchivedPatchPartyForm"]],["impl Freeze for ArchivedPatchRole",1,["client_sdk::api::commands::party::ArchivedPatchRole"]],["impl Freeze for ArchivedPatchRoleForm",1,["client_sdk::api::commands::party::ArchivedPatchRoleForm"]],["impl Freeze for ArchivedSearchParty",1,["client_sdk::api::commands::party::ArchivedSearchParty"]],["impl Freeze for ArchivedSearchQuery",1,["client_sdk::api::commands::party::ArchivedSearchQuery"]],["impl Freeze for ArchivedTransferOwnership",1,["client_sdk::api::commands::party::ArchivedTransferOwnership"]],["impl Freeze for ArchivedUpdateMemberProfile",1,["client_sdk::api::commands::party::ArchivedUpdateMemberProfile"]],["impl Freeze for ArchivedUpdateMemberProfileBody",1,["client_sdk::api::commands::party::ArchivedUpdateMemberProfileBody"]],["impl Freeze for CreateParty",1,["client_sdk::api::commands::party::CreateParty"]],["impl Freeze for CreatePartyForm",1,["client_sdk::api::commands::party::CreatePartyForm"]],["impl Freeze for CreatePartyFormResolver",1,["client_sdk::api::commands::party::CreatePartyFormResolver"]],["impl Freeze for CreatePartyInvite",1,["client_sdk::api::commands::party::CreatePartyInvite"]],["impl Freeze for CreatePartyInviteBody",1,["client_sdk::api::commands::party::CreatePartyInviteBody"]],["impl Freeze for CreatePartyInviteBodyResolver",1,["client_sdk::api::commands::party::CreatePartyInviteBodyResolver"]],["impl Freeze for CreatePartyInviteResolver",1,["client_sdk::api::commands::party::CreatePartyInviteResolver"]],["impl Freeze for CreatePartyResolver",1,["client_sdk::api::commands::party::CreatePartyResolver"]],["impl Freeze for CreatePinFolder",1,["client_sdk::api::commands::party::CreatePinFolder"]],["impl Freeze for CreatePinFolderForm",1,["client_sdk::api::commands::party::CreatePinFolderForm"]],["impl Freeze for CreatePinFolderFormResolver",1,["client_sdk::api::commands::party::CreatePinFolderFormResolver"]],["impl Freeze for CreatePinFolderResolver",1,["client_sdk::api::commands::party::CreatePinFolderResolver"]],["impl Freeze for CreateRole",1,["client_sdk::api::commands::party::CreateRole"]],["impl Freeze for CreateRoleForm",1,["client_sdk::api::commands::party::CreateRoleForm"]],["impl Freeze for CreateRoleFormResolver",1,["client_sdk::api::commands::party::CreateRoleFormResolver"]],["impl Freeze for CreateRoleResolver",1,["client_sdk::api::commands::party::CreateRoleResolver"]],["impl Freeze for CreateRoom",1,["client_sdk::api::commands::party::CreateRoom"]],["impl Freeze for CreateRoomForm",1,["client_sdk::api::commands::party::CreateRoomForm"]],["impl Freeze for CreateRoomFormResolver",1,["client_sdk::api::commands::party::CreateRoomFormResolver"]],["impl Freeze for CreateRoomResolver",1,["client_sdk::api::commands::party::CreateRoomResolver"]],["impl Freeze for DeleteParty",1,["client_sdk::api::commands::party::DeleteParty"]],["impl Freeze for DeletePartyResolver",1,["client_sdk::api::commands::party::DeletePartyResolver"]],["impl Freeze for DeleteRole",1,["client_sdk::api::commands::party::DeleteRole"]],["impl Freeze for DeleteRoleResolver",1,["client_sdk::api::commands::party::DeleteRoleResolver"]],["impl Freeze for GetMemberProfile",1,["client_sdk::api::commands::party::GetMemberProfile"]],["impl Freeze for GetMemberProfileResolver",1,["client_sdk::api::commands::party::GetMemberProfileResolver"]],["impl Freeze for GetParty",1,["client_sdk::api::commands::party::GetParty"]],["impl Freeze for GetPartyInvites",1,["client_sdk::api::commands::party::GetPartyInvites"]],["impl Freeze for GetPartyInvitesResolver",1,["client_sdk::api::commands::party::GetPartyInvitesResolver"]],["impl Freeze for GetPartyMember",1,["client_sdk::api::commands::party::GetPartyMember"]],["impl Freeze for GetPartyMemberResolver",1,["client_sdk::api::commands::party::GetPartyMemberResolver"]],["impl Freeze for GetPartyMembers",1,["client_sdk::api::commands::party::GetPartyMembers"]],["impl Freeze for GetPartyMembersResolver",1,["client_sdk::api::commands::party::GetPartyMembersResolver"]],["impl Freeze for GetPartyResolver",1,["client_sdk::api::commands::party::GetPartyResolver"]],["impl Freeze for GetPartyRooms",1,["client_sdk::api::commands::party::GetPartyRooms"]],["impl Freeze for GetPartyRoomsResolver",1,["client_sdk::api::commands::party::GetPartyRoomsResolver"]],["impl Freeze for PartySettings",1,["client_sdk::api::commands::party::PartySettings"]],["impl Freeze for PartySettingsResolver",1,["client_sdk::api::commands::party::PartySettingsResolver"]],["impl Freeze for PatchParty",1,["client_sdk::api::commands::party::PatchParty"]],["impl Freeze for PatchPartyForm",1,["client_sdk::api::commands::party::PatchPartyForm"]],["impl Freeze for PatchPartyFormResolver",1,["client_sdk::api::commands::party::PatchPartyFormResolver"]],["impl Freeze for PatchPartyResolver",1,["client_sdk::api::commands::party::PatchPartyResolver"]],["impl Freeze for PatchRole",1,["client_sdk::api::commands::party::PatchRole"]],["impl Freeze for PatchRoleForm",1,["client_sdk::api::commands::party::PatchRoleForm"]],["impl Freeze for PatchRoleFormResolver",1,["client_sdk::api::commands::party::PatchRoleFormResolver"]],["impl Freeze for PatchRoleResolver",1,["client_sdk::api::commands::party::PatchRoleResolver"]],["impl Freeze for SearchParty",1,["client_sdk::api::commands::party::SearchParty"]],["impl Freeze for SearchPartyResolver",1,["client_sdk::api::commands::party::SearchPartyResolver"]],["impl Freeze for SearchQuery",1,["client_sdk::api::commands::party::SearchQuery"]],["impl Freeze for SearchQueryResolver",1,["client_sdk::api::commands::party::SearchQueryResolver"]],["impl Freeze for TransferOwnership",1,["client_sdk::api::commands::party::TransferOwnership"]],["impl Freeze for TransferOwnershipResolver",1,["client_sdk::api::commands::party::TransferOwnershipResolver"]],["impl Freeze for UpdateMemberProfile",1,["client_sdk::api::commands::party::UpdateMemberProfile"]],["impl Freeze for UpdateMemberProfileBody",1,["client_sdk::api::commands::party::UpdateMemberProfileBody"]],["impl Freeze for UpdateMemberProfileBodyResolver",1,["client_sdk::api::commands::party::UpdateMemberProfileBodyResolver"]],["impl Freeze for UpdateMemberProfileResolver",1,["client_sdk::api::commands::party::UpdateMemberProfileResolver"]],["impl Freeze for ArchivedCreateMessage",1,["client_sdk::api::commands::room::ArchivedCreateMessage"]],["impl Freeze for ArchivedCreateMessageBody",1,["client_sdk::api::commands::room::ArchivedCreateMessageBody"]],["impl Freeze for ArchivedDeleteAllReactions",1,["client_sdk::api::commands::room::ArchivedDeleteAllReactions"]],["impl Freeze for ArchivedDeleteMessage",1,["client_sdk::api::commands::room::ArchivedDeleteMessage"]],["impl Freeze for ArchivedDeleteOwnReaction",1,["client_sdk::api::commands::room::ArchivedDeleteOwnReaction"]],["impl Freeze for ArchivedDeleteRoom",1,["client_sdk::api::commands::room::ArchivedDeleteRoom"]],["impl Freeze for ArchivedDeleteUserReaction",1,["client_sdk::api::commands::room::ArchivedDeleteUserReaction"]],["impl Freeze for ArchivedEditMessage",1,["client_sdk::api::commands::room::ArchivedEditMessage"]],["impl Freeze for ArchivedEditMessageBody",1,["client_sdk::api::commands::room::ArchivedEditMessageBody"]],["impl Freeze for ArchivedGetMessage",1,["client_sdk::api::commands::room::ArchivedGetMessage"]],["impl Freeze for ArchivedGetMessages",1,["client_sdk::api::commands::room::ArchivedGetMessages"]],["impl Freeze for ArchivedGetMessagesQuery",1,["client_sdk::api::commands::room::ArchivedGetMessagesQuery"]],["impl Freeze for ArchivedGetReactions",1,["client_sdk::api::commands::room::ArchivedGetReactions"]],["impl Freeze for ArchivedGetReactionsForm",1,["client_sdk::api::commands::room::ArchivedGetReactionsForm"]],["impl Freeze for ArchivedGetRoom",1,["client_sdk::api::commands::room::ArchivedGetRoom"]],["impl Freeze for ArchivedPatchRoom",1,["client_sdk::api::commands::room::ArchivedPatchRoom"]],["impl Freeze for ArchivedPatchRoomForm",1,["client_sdk::api::commands::room::ArchivedPatchRoomForm"]],["impl Freeze for ArchivedPinMessage",1,["client_sdk::api::commands::room::ArchivedPinMessage"]],["impl Freeze for ArchivedPutReaction",1,["client_sdk::api::commands::room::ArchivedPutReaction"]],["impl Freeze for ArchivedStarMessage",1,["client_sdk::api::commands::room::ArchivedStarMessage"]],["impl Freeze for ArchivedStartTyping",1,["client_sdk::api::commands::room::ArchivedStartTyping"]],["impl Freeze for ArchivedStartTypingBody",1,["client_sdk::api::commands::room::ArchivedStartTypingBody"]],["impl Freeze for ArchivedUnpinMessage",1,["client_sdk::api::commands::room::ArchivedUnpinMessage"]],["impl Freeze for ArchivedUnstarMessage",1,["client_sdk::api::commands::room::ArchivedUnstarMessage"]],["impl Freeze for CreateMessage",1,["client_sdk::api::commands::room::CreateMessage"]],["impl Freeze for CreateMessageBody",1,["client_sdk::api::commands::room::CreateMessageBody"]],["impl Freeze for CreateMessageBodyResolver",1,["client_sdk::api::commands::room::CreateMessageBodyResolver"]],["impl Freeze for CreateMessageResolver",1,["client_sdk::api::commands::room::CreateMessageResolver"]],["impl Freeze for DeleteAllReactions",1,["client_sdk::api::commands::room::DeleteAllReactions"]],["impl Freeze for DeleteAllReactionsResolver",1,["client_sdk::api::commands::room::DeleteAllReactionsResolver"]],["impl Freeze for DeleteMessage",1,["client_sdk::api::commands::room::DeleteMessage"]],["impl Freeze for DeleteMessageResolver",1,["client_sdk::api::commands::room::DeleteMessageResolver"]],["impl Freeze for DeleteOwnReaction",1,["client_sdk::api::commands::room::DeleteOwnReaction"]],["impl Freeze for DeleteOwnReactionResolver",1,["client_sdk::api::commands::room::DeleteOwnReactionResolver"]],["impl Freeze for DeleteRoom",1,["client_sdk::api::commands::room::DeleteRoom"]],["impl Freeze for DeleteRoomResolver",1,["client_sdk::api::commands::room::DeleteRoomResolver"]],["impl Freeze for DeleteUserReaction",1,["client_sdk::api::commands::room::DeleteUserReaction"]],["impl Freeze for DeleteUserReactionResolver",1,["client_sdk::api::commands::room::DeleteUserReactionResolver"]],["impl Freeze for EditMessage",1,["client_sdk::api::commands::room::EditMessage"]],["impl Freeze for EditMessageBody",1,["client_sdk::api::commands::room::EditMessageBody"]],["impl Freeze for EditMessageBodyResolver",1,["client_sdk::api::commands::room::EditMessageBodyResolver"]],["impl Freeze for EditMessageResolver",1,["client_sdk::api::commands::room::EditMessageResolver"]],["impl Freeze for GetMessage",1,["client_sdk::api::commands::room::GetMessage"]],["impl Freeze for GetMessageResolver",1,["client_sdk::api::commands::room::GetMessageResolver"]],["impl Freeze for GetMessages",1,["client_sdk::api::commands::room::GetMessages"]],["impl Freeze for GetMessagesQuery",1,["client_sdk::api::commands::room::GetMessagesQuery"]],["impl Freeze for GetMessagesQueryResolver",1,["client_sdk::api::commands::room::GetMessagesQueryResolver"]],["impl Freeze for GetMessagesResolver",1,["client_sdk::api::commands::room::GetMessagesResolver"]],["impl Freeze for GetReactions",1,["client_sdk::api::commands::room::GetReactions"]],["impl Freeze for GetReactionsForm",1,["client_sdk::api::commands::room::GetReactionsForm"]],["impl Freeze for GetReactionsFormResolver",1,["client_sdk::api::commands::room::GetReactionsFormResolver"]],["impl Freeze for GetReactionsResolver",1,["client_sdk::api::commands::room::GetReactionsResolver"]],["impl Freeze for GetRoom",1,["client_sdk::api::commands::room::GetRoom"]],["impl Freeze for GetRoomResolver",1,["client_sdk::api::commands::room::GetRoomResolver"]],["impl Freeze for PatchRoom",1,["client_sdk::api::commands::room::PatchRoom"]],["impl Freeze for PatchRoomForm",1,["client_sdk::api::commands::room::PatchRoomForm"]],["impl Freeze for PatchRoomFormResolver",1,["client_sdk::api::commands::room::PatchRoomFormResolver"]],["impl Freeze for PatchRoomResolver",1,["client_sdk::api::commands::room::PatchRoomResolver"]],["impl Freeze for PinMessage",1,["client_sdk::api::commands::room::PinMessage"]],["impl Freeze for PinMessageResolver",1,["client_sdk::api::commands::room::PinMessageResolver"]],["impl Freeze for PutReaction",1,["client_sdk::api::commands::room::PutReaction"]],["impl Freeze for PutReactionResolver",1,["client_sdk::api::commands::room::PutReactionResolver"]],["impl Freeze for StarMessage",1,["client_sdk::api::commands::room::StarMessage"]],["impl Freeze for StarMessageResolver",1,["client_sdk::api::commands::room::StarMessageResolver"]],["impl Freeze for StartTyping",1,["client_sdk::api::commands::room::StartTyping"]],["impl Freeze for StartTypingBody",1,["client_sdk::api::commands::room::StartTypingBody"]],["impl Freeze for StartTypingBodyResolver",1,["client_sdk::api::commands::room::StartTypingBodyResolver"]],["impl Freeze for StartTypingResolver",1,["client_sdk::api::commands::room::StartTypingResolver"]],["impl Freeze for UnpinMessage",1,["client_sdk::api::commands::room::UnpinMessage"]],["impl Freeze for UnpinMessageResolver",1,["client_sdk::api::commands::room::UnpinMessageResolver"]],["impl Freeze for UnstarMessage",1,["client_sdk::api::commands::room::UnstarMessage"]],["impl Freeze for UnstarMessageResolver",1,["client_sdk::api::commands::room::UnstarMessageResolver"]],["impl Freeze for Added2FA",1,["client_sdk::api::commands::user::Added2FA"]],["impl Freeze for Added2FAResolver",1,["client_sdk::api::commands::user::Added2FAResolver"]],["impl Freeze for ArchivedAdded2FA",1,["client_sdk::api::commands::user::ArchivedAdded2FA"]],["impl Freeze for ArchivedChangePassword",1,["client_sdk::api::commands::user::ArchivedChangePassword"]],["impl Freeze for ArchivedChangePasswordForm",1,["client_sdk::api::commands::user::ArchivedChangePasswordForm"]],["impl Freeze for ArchivedClearSessions",1,["client_sdk::api::commands::user::ArchivedClearSessions"]],["impl Freeze for ArchivedClearSessionsForm",1,["client_sdk::api::commands::user::ArchivedClearSessionsForm"]],["impl Freeze for ArchivedConfirm2FA",1,["client_sdk::api::commands::user::ArchivedConfirm2FA"]],["impl Freeze for ArchivedConfirm2FAForm",1,["client_sdk::api::commands::user::ArchivedConfirm2FAForm"]],["impl Freeze for ArchivedEnable2FA",1,["client_sdk::api::commands::user::ArchivedEnable2FA"]],["impl Freeze for ArchivedEnable2FAForm",1,["client_sdk::api::commands::user::ArchivedEnable2FAForm"]],["impl Freeze for ArchivedGetRelationships",1,["client_sdk::api::commands::user::ArchivedGetRelationships"]],["impl Freeze for ArchivedGetSessions",1,["client_sdk::api::commands::user::ArchivedGetSessions"]],["impl Freeze for ArchivedGetUser",1,["client_sdk::api::commands::user::ArchivedGetUser"]],["impl Freeze for ArchivedPatchRelationship",1,["client_sdk::api::commands::user::ArchivedPatchRelationship"]],["impl Freeze for ArchivedPatchRelationshipBody",1,["client_sdk::api::commands::user::ArchivedPatchRelationshipBody"]],["impl Freeze for ArchivedRemove2FA",1,["client_sdk::api::commands::user::ArchivedRemove2FA"]],["impl Freeze for ArchivedRemove2FAForm",1,["client_sdk::api::commands::user::ArchivedRemove2FAForm"]],["impl Freeze for ArchivedUpdateUserPrefs",1,["client_sdk::api::commands::user::ArchivedUpdateUserPrefs"]],["impl Freeze for ArchivedUpdateUserPrefsBody",1,["client_sdk::api::commands::user::ArchivedUpdateUserPrefsBody"]],["impl Freeze for ArchivedUpdateUserProfile",1,["client_sdk::api::commands::user::ArchivedUpdateUserProfile"]],["impl Freeze for ArchivedUpdateUserProfileBody",1,["client_sdk::api::commands::user::ArchivedUpdateUserProfileBody"]],["impl Freeze for ArchivedUserLogin",1,["client_sdk::api::commands::user::ArchivedUserLogin"]],["impl Freeze for ArchivedUserLoginForm",1,["client_sdk::api::commands::user::ArchivedUserLoginForm"]],["impl Freeze for ArchivedUserLogout",1,["client_sdk::api::commands::user::ArchivedUserLogout"]],["impl Freeze for ArchivedUserRegister",1,["client_sdk::api::commands::user::ArchivedUserRegister"]],["impl Freeze for ArchivedUserRegisterForm",1,["client_sdk::api::commands::user::ArchivedUserRegisterForm"]],["impl Freeze for ChangePassword",1,["client_sdk::api::commands::user::ChangePassword"]],["impl Freeze for ChangePasswordForm",1,["client_sdk::api::commands::user::ChangePasswordForm"]],["impl Freeze for ChangePasswordFormResolver",1,["client_sdk::api::commands::user::ChangePasswordFormResolver"]],["impl Freeze for ChangePasswordResolver",1,["client_sdk::api::commands::user::ChangePasswordResolver"]],["impl Freeze for ClearSessions",1,["client_sdk::api::commands::user::ClearSessions"]],["impl Freeze for ClearSessionsForm",1,["client_sdk::api::commands::user::ClearSessionsForm"]],["impl Freeze for ClearSessionsFormResolver",1,["client_sdk::api::commands::user::ClearSessionsFormResolver"]],["impl Freeze for ClearSessionsResolver",1,["client_sdk::api::commands::user::ClearSessionsResolver"]],["impl Freeze for Confirm2FA",1,["client_sdk::api::commands::user::Confirm2FA"]],["impl Freeze for Confirm2FAForm",1,["client_sdk::api::commands::user::Confirm2FAForm"]],["impl Freeze for Confirm2FAFormResolver",1,["client_sdk::api::commands::user::Confirm2FAFormResolver"]],["impl Freeze for Confirm2FAResolver",1,["client_sdk::api::commands::user::Confirm2FAResolver"]],["impl Freeze for Enable2FA",1,["client_sdk::api::commands::user::Enable2FA"]],["impl Freeze for Enable2FAForm",1,["client_sdk::api::commands::user::Enable2FAForm"]],["impl Freeze for Enable2FAFormResolver",1,["client_sdk::api::commands::user::Enable2FAFormResolver"]],["impl Freeze for Enable2FAResolver",1,["client_sdk::api::commands::user::Enable2FAResolver"]],["impl Freeze for GetRelationships",1,["client_sdk::api::commands::user::GetRelationships"]],["impl Freeze for GetRelationshipsResolver",1,["client_sdk::api::commands::user::GetRelationshipsResolver"]],["impl Freeze for GetSessions",1,["client_sdk::api::commands::user::GetSessions"]],["impl Freeze for GetSessionsResolver",1,["client_sdk::api::commands::user::GetSessionsResolver"]],["impl Freeze for GetUser",1,["client_sdk::api::commands::user::GetUser"]],["impl Freeze for GetUserResolver",1,["client_sdk::api::commands::user::GetUserResolver"]],["impl Freeze for PatchRelationship",1,["client_sdk::api::commands::user::PatchRelationship"]],["impl Freeze for PatchRelationshipBody",1,["client_sdk::api::commands::user::PatchRelationshipBody"]],["impl Freeze for PatchRelationshipBodyResolver",1,["client_sdk::api::commands::user::PatchRelationshipBodyResolver"]],["impl Freeze for PatchRelationshipResolver",1,["client_sdk::api::commands::user::PatchRelationshipResolver"]],["impl Freeze for Remove2FA",1,["client_sdk::api::commands::user::Remove2FA"]],["impl Freeze for Remove2FAForm",1,["client_sdk::api::commands::user::Remove2FAForm"]],["impl Freeze for Remove2FAFormResolver",1,["client_sdk::api::commands::user::Remove2FAFormResolver"]],["impl Freeze for Remove2FAResolver",1,["client_sdk::api::commands::user::Remove2FAResolver"]],["impl Freeze for UpdateUserPrefs",1,["client_sdk::api::commands::user::UpdateUserPrefs"]],["impl Freeze for UpdateUserPrefsBody",1,["client_sdk::api::commands::user::UpdateUserPrefsBody"]],["impl Freeze for UpdateUserPrefsBodyResolver",1,["client_sdk::api::commands::user::UpdateUserPrefsBodyResolver"]],["impl Freeze for UpdateUserPrefsResolver",1,["client_sdk::api::commands::user::UpdateUserPrefsResolver"]],["impl Freeze for UpdateUserProfile",1,["client_sdk::api::commands::user::UpdateUserProfile"]],["impl Freeze for UpdateUserProfileBody",1,["client_sdk::api::commands::user::UpdateUserProfileBody"]],["impl Freeze for UpdateUserProfileBodyResolver",1,["client_sdk::api::commands::user::UpdateUserProfileBodyResolver"]],["impl Freeze for UpdateUserProfileResolver",1,["client_sdk::api::commands::user::UpdateUserProfileResolver"]],["impl Freeze for UserLogin",1,["client_sdk::api::commands::user::UserLogin"]],["impl Freeze for UserLoginForm",1,["client_sdk::api::commands::user::UserLoginForm"]],["impl Freeze for UserLoginFormResolver",1,["client_sdk::api::commands::user::UserLoginFormResolver"]],["impl Freeze for UserLoginResolver",1,["client_sdk::api::commands::user::UserLoginResolver"]],["impl Freeze for UserLogout",1,["client_sdk::api::commands::user::UserLogout"]],["impl Freeze for UserLogoutResolver",1,["client_sdk::api::commands::user::UserLogoutResolver"]],["impl Freeze for UserRegister",1,["client_sdk::api::commands::user::UserRegister"]],["impl Freeze for UserRegisterForm",1,["client_sdk::api::commands::user::UserRegisterForm"]],["impl Freeze for UserRegisterFormResolver",1,["client_sdk::api::commands::user::UserRegisterFormResolver"]],["impl Freeze for UserRegisterResolver",1,["client_sdk::api::commands::user::UserRegisterResolver"]],["impl Freeze for ApiError",1,["client_sdk::api::error::ApiError"]],["impl Freeze for ApiErrorResolver",1,["client_sdk::api::error::ApiErrorResolver"]],["impl Freeze for ArchivedApiError",1,["client_sdk::api::error::ArchivedApiError"]],["impl Freeze for ArchivedApiErrorCode",1,["client_sdk::api::error::api_error_code_impl::ArchivedApiErrorCode"]],["impl Freeze for GatewayQueryParams",1,["client_sdk::api::gateway::GatewayQueryParams"]],["impl Freeze for CommandFlags",1,["client_sdk::api::command::CommandFlags"]],["impl Freeze for MissingItemError",1,["client_sdk::api::command::MissingItemError"]],["impl Freeze for RateLimit",1,["client_sdk::api::command::RateLimit"]],["impl Freeze for Client",1,["client_sdk::client::Client"]],["impl Freeze for Driver",1,["client_sdk::driver::Driver"]],["impl Freeze for StandardContext",1,["client_sdk::framework::standard::ctx::StandardContext"]],["impl Freeze for ArchivedAssetFlags",1,["client_sdk::models::asset::ArchivedAssetFlags"]],["impl Freeze for AssetFlags",1,["client_sdk::models::asset::AssetFlags"]],["impl Freeze for InvalidAuthToken",1,["client_sdk::models::auth::InvalidAuthToken"]],["impl Freeze for ArchivedServerConfig",1,["client_sdk::models::config::ArchivedServerConfig"]],["impl Freeze for ArchivedServerLimits",1,["client_sdk::models::config::ArchivedServerLimits"]],["impl Freeze for ServerConfig",1,["client_sdk::models::config::ServerConfig"]],["impl Freeze for ServerConfigResolver",1,["client_sdk::models::config::ServerConfigResolver"]],["impl Freeze for ServerLimits",1,["client_sdk::models::config::ServerLimits"]],["impl Freeze for ServerLimitsResolver",1,["client_sdk::models::config::ServerLimitsResolver"]],["impl Freeze for ArchivedBasicEmbedMedia",1,["client_sdk::models::embed::v1::ArchivedBasicEmbedMedia"]],["impl Freeze for ArchivedEmbedAuthor",1,["client_sdk::models::embed::v1::ArchivedEmbedAuthor"]],["impl Freeze for ArchivedEmbedField",1,["client_sdk::models::embed::v1::ArchivedEmbedField"]],["impl Freeze for ArchivedEmbedFlags",1,["client_sdk::models::embed::v1::ArchivedEmbedFlags"]],["impl Freeze for ArchivedEmbedFooter",1,["client_sdk::models::embed::v1::ArchivedEmbedFooter"]],["impl Freeze for ArchivedEmbedMedia",1,["client_sdk::models::embed::v1::ArchivedEmbedMedia"]],["impl Freeze for ArchivedEmbedProvider",1,["client_sdk::models::embed::v1::ArchivedEmbedProvider"]],["impl Freeze for ArchivedEmbedV1",1,["client_sdk::models::embed::v1::ArchivedEmbedV1"]],["impl Freeze for BasicEmbedMedia",1,["client_sdk::models::embed::v1::BasicEmbedMedia"]],["impl Freeze for BasicEmbedMediaResolver",1,["client_sdk::models::embed::v1::BasicEmbedMediaResolver"]],["impl Freeze for EmbedAuthor",1,["client_sdk::models::embed::v1::EmbedAuthor"]],["impl Freeze for EmbedAuthorResolver",1,["client_sdk::models::embed::v1::EmbedAuthorResolver"]],["impl Freeze for EmbedField",1,["client_sdk::models::embed::v1::EmbedField"]],["impl Freeze for EmbedFieldResolver",1,["client_sdk::models::embed::v1::EmbedFieldResolver"]],["impl Freeze for EmbedFlags",1,["client_sdk::models::embed::v1::EmbedFlags"]],["impl Freeze for EmbedFooter",1,["client_sdk::models::embed::v1::EmbedFooter"]],["impl Freeze for EmbedFooterResolver",1,["client_sdk::models::embed::v1::EmbedFooterResolver"]],["impl Freeze for EmbedMedia",1,["client_sdk::models::embed::v1::EmbedMedia"]],["impl Freeze for EmbedMediaResolver",1,["client_sdk::models::embed::v1::EmbedMediaResolver"]],["impl Freeze for EmbedProvider",1,["client_sdk::models::embed::v1::EmbedProvider"]],["impl Freeze for EmbedProviderResolver",1,["client_sdk::models::embed::v1::EmbedProviderResolver"]],["impl Freeze for EmbedV1",1,["client_sdk::models::embed::v1::EmbedV1"]],["impl Freeze for EmbedV1Resolver",1,["client_sdk::models::embed::v1::EmbedV1Resolver"]],["impl Freeze for ArchivedCustomEmote",1,["client_sdk::models::emote::ArchivedCustomEmote"]],["impl Freeze for ArchivedEmoteFlags",1,["client_sdk::models::emote::ArchivedEmoteFlags"]],["impl Freeze for CustomEmote",1,["client_sdk::models::emote::CustomEmote"]],["impl Freeze for CustomEmoteResolver",1,["client_sdk::models::emote::CustomEmoteResolver"]],["impl Freeze for EmoteFlags",1,["client_sdk::models::emote::EmoteFlags"]],["impl Freeze for ArchivedFile",1,["client_sdk::models::file::ArchivedFile"]],["impl Freeze for File",1,["client_sdk::models::file::File"]],["impl Freeze for FileResolver",1,["client_sdk::models::file::FileResolver"]],["impl Freeze for FileUpload",1,["client_sdk::models::file::FileUpload"]],["impl Freeze for ArchivedIdentify",1,["client_sdk::models::gateway::commands::ArchivedIdentify"]],["impl Freeze for ArchivedSetPresence",1,["client_sdk::models::gateway::commands::ArchivedSetPresence"]],["impl Freeze for Identify",1,["client_sdk::models::gateway::commands::Identify"]],["impl Freeze for IdentifyResolver",1,["client_sdk::models::gateway::commands::IdentifyResolver"]],["impl Freeze for SetPresence",1,["client_sdk::models::gateway::commands::SetPresence"]],["impl Freeze for SetPresenceResolver",1,["client_sdk::models::gateway::commands::SetPresenceResolver"]],["impl Freeze for ArchivedHello",1,["client_sdk::models::gateway::events::ArchivedHello"]],["impl Freeze for ArchivedMessageDeleteEvent",1,["client_sdk::models::gateway::events::ArchivedMessageDeleteEvent"]],["impl Freeze for ArchivedPartyMemberEvent",1,["client_sdk::models::gateway::events::ArchivedPartyMemberEvent"]],["impl Freeze for ArchivedPartyPositionUpdate",1,["client_sdk::models::gateway::events::ArchivedPartyPositionUpdate"]],["impl Freeze for ArchivedProfileUpdateEvent",1,["client_sdk::models::gateway::events::ArchivedProfileUpdateEvent"]],["impl Freeze for ArchivedReady",1,["client_sdk::models::gateway::events::ArchivedReady"]],["impl Freeze for ArchivedReadyParty",1,["client_sdk::models::gateway::events::ArchivedReadyParty"]],["impl Freeze for ArchivedRoleDeleteEvent",1,["client_sdk::models::gateway::events::ArchivedRoleDeleteEvent"]],["impl Freeze for ArchivedRoomDeleteEvent",1,["client_sdk::models::gateway::events::ArchivedRoomDeleteEvent"]],["impl Freeze for ArchivedTypingStart",1,["client_sdk::models::gateway::events::ArchivedTypingStart"]],["impl Freeze for ArchivedUserPresenceEvent",1,["client_sdk::models::gateway::events::ArchivedUserPresenceEvent"]],["impl Freeze for ArchivedUserReactionEvent",1,["client_sdk::models::gateway::events::ArchivedUserReactionEvent"]],["impl Freeze for Hello",1,["client_sdk::models::gateway::events::Hello"]],["impl Freeze for HelloResolver",1,["client_sdk::models::gateway::events::HelloResolver"]],["impl Freeze for MessageDeleteEvent",1,["client_sdk::models::gateway::events::MessageDeleteEvent"]],["impl Freeze for MessageDeleteEventResolver",1,["client_sdk::models::gateway::events::MessageDeleteEventResolver"]],["impl Freeze for PartyMemberEvent",1,["client_sdk::models::gateway::events::PartyMemberEvent"]],["impl Freeze for PartyMemberEventResolver",1,["client_sdk::models::gateway::events::PartyMemberEventResolver"]],["impl Freeze for PartyPositionUpdate",1,["client_sdk::models::gateway::events::PartyPositionUpdate"]],["impl Freeze for PartyPositionUpdateResolver",1,["client_sdk::models::gateway::events::PartyPositionUpdateResolver"]],["impl Freeze for ProfileUpdateEvent",1,["client_sdk::models::gateway::events::ProfileUpdateEvent"]],["impl Freeze for ProfileUpdateEventResolver",1,["client_sdk::models::gateway::events::ProfileUpdateEventResolver"]],["impl Freeze for Ready",1,["client_sdk::models::gateway::events::Ready"]],["impl Freeze for ReadyParty",1,["client_sdk::models::gateway::events::ReadyParty"]],["impl Freeze for ReadyPartyResolver",1,["client_sdk::models::gateway::events::ReadyPartyResolver"]],["impl Freeze for ReadyResolver",1,["client_sdk::models::gateway::events::ReadyResolver"]],["impl Freeze for RoleDeleteEvent",1,["client_sdk::models::gateway::events::RoleDeleteEvent"]],["impl Freeze for RoleDeleteEventResolver",1,["client_sdk::models::gateway::events::RoleDeleteEventResolver"]],["impl Freeze for RoomDeleteEvent",1,["client_sdk::models::gateway::events::RoomDeleteEvent"]],["impl Freeze for RoomDeleteEventResolver",1,["client_sdk::models::gateway::events::RoomDeleteEventResolver"]],["impl Freeze for TypingStart",1,["client_sdk::models::gateway::events::TypingStart"]],["impl Freeze for TypingStartResolver",1,["client_sdk::models::gateway::events::TypingStartResolver"]],["impl Freeze for UserPresenceEvent",1,["client_sdk::models::gateway::events::UserPresenceEvent"]],["impl Freeze for UserPresenceEventResolver",1,["client_sdk::models::gateway::events::UserPresenceEventResolver"]],["impl Freeze for UserReactionEvent",1,["client_sdk::models::gateway::events::UserReactionEvent"]],["impl Freeze for UserReactionEventResolver",1,["client_sdk::models::gateway::events::UserReactionEventResolver"]],["impl Freeze for ArchivedHeartbeatPayload",1,["client_sdk::models::gateway::message::client_msg_payloads::ArchivedHeartbeatPayload"]],["impl Freeze for ArchivedIdentifyPayload",1,["client_sdk::models::gateway::message::client_msg_payloads::ArchivedIdentifyPayload"]],["impl Freeze for ArchivedResumePayload",1,["client_sdk::models::gateway::message::client_msg_payloads::ArchivedResumePayload"]],["impl Freeze for ArchivedSetPresencePayload",1,["client_sdk::models::gateway::message::client_msg_payloads::ArchivedSetPresencePayload"]],["impl Freeze for ArchivedSubscribePayload",1,["client_sdk::models::gateway::message::client_msg_payloads::ArchivedSubscribePayload"]],["impl Freeze for ArchivedUnsubscribePayload",1,["client_sdk::models::gateway::message::client_msg_payloads::ArchivedUnsubscribePayload"]],["impl Freeze for HeartbeatPayload",1,["client_sdk::models::gateway::message::client_msg_payloads::HeartbeatPayload"]],["impl Freeze for HeartbeatPayloadResolver",1,["client_sdk::models::gateway::message::client_msg_payloads::HeartbeatPayloadResolver"]],["impl Freeze for IdentifyPayload",1,["client_sdk::models::gateway::message::client_msg_payloads::IdentifyPayload"]],["impl Freeze for IdentifyPayloadResolver",1,["client_sdk::models::gateway::message::client_msg_payloads::IdentifyPayloadResolver"]],["impl Freeze for ResumePayload",1,["client_sdk::models::gateway::message::client_msg_payloads::ResumePayload"]],["impl Freeze for ResumePayloadResolver",1,["client_sdk::models::gateway::message::client_msg_payloads::ResumePayloadResolver"]],["impl Freeze for SetPresencePayload",1,["client_sdk::models::gateway::message::client_msg_payloads::SetPresencePayload"]],["impl Freeze for SetPresencePayloadResolver",1,["client_sdk::models::gateway::message::client_msg_payloads::SetPresencePayloadResolver"]],["impl Freeze for SubscribePayload",1,["client_sdk::models::gateway::message::client_msg_payloads::SubscribePayload"]],["impl Freeze for SubscribePayloadResolver",1,["client_sdk::models::gateway::message::client_msg_payloads::SubscribePayloadResolver"]],["impl Freeze for UnsubscribePayload",1,["client_sdk::models::gateway::message::client_msg_payloads::UnsubscribePayload"]],["impl Freeze for UnsubscribePayloadResolver",1,["client_sdk::models::gateway::message::client_msg_payloads::UnsubscribePayloadResolver"]],["impl Freeze for ArchivedHeartbeatAckPayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ArchivedHeartbeatAckPayload"]],["impl Freeze for ArchivedHelloPayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ArchivedHelloPayload"]],["impl Freeze for ArchivedInvalidSessionPayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ArchivedInvalidSessionPayload"]],["impl Freeze for ArchivedMemberAddPayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ArchivedMemberAddPayload"]],["impl Freeze for ArchivedMemberBanPayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ArchivedMemberBanPayload"]],["impl Freeze for ArchivedMemberRemovePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ArchivedMemberRemovePayload"]],["impl Freeze for ArchivedMemberUnbanPayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ArchivedMemberUnbanPayload"]],["impl Freeze for ArchivedMemberUpdatePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ArchivedMemberUpdatePayload"]],["impl Freeze for ArchivedMessageCreatePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ArchivedMessageCreatePayload"]],["impl Freeze for ArchivedMessageDeletePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ArchivedMessageDeletePayload"]],["impl Freeze for ArchivedMessageReactionAddPayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ArchivedMessageReactionAddPayload"]],["impl Freeze for ArchivedMessageReactionRemoveAllPayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ArchivedMessageReactionRemoveAllPayload"]],["impl Freeze for ArchivedMessageReactionRemoveEmotePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ArchivedMessageReactionRemoveEmotePayload"]],["impl Freeze for ArchivedMessageReactionRemovePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ArchivedMessageReactionRemovePayload"]],["impl Freeze for ArchivedMessageUpdatePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ArchivedMessageUpdatePayload"]],["impl Freeze for ArchivedPartyCreatePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ArchivedPartyCreatePayload"]],["impl Freeze for ArchivedPartyDeletePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ArchivedPartyDeletePayload"]],["impl Freeze for ArchivedPartyUpdatePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ArchivedPartyUpdatePayload"]],["impl Freeze for ArchivedPresenceUpdatePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ArchivedPresenceUpdatePayload"]],["impl Freeze for ArchivedProfileUpdatePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ArchivedProfileUpdatePayload"]],["impl Freeze for ArchivedReadyPayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ArchivedReadyPayload"]],["impl Freeze for ArchivedRelationAddPayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ArchivedRelationAddPayload"]],["impl Freeze for ArchivedRelationRemovePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ArchivedRelationRemovePayload"]],["impl Freeze for ArchivedRoleCreatePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ArchivedRoleCreatePayload"]],["impl Freeze for ArchivedRoleDeletePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ArchivedRoleDeletePayload"]],["impl Freeze for ArchivedRoleUpdatePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ArchivedRoleUpdatePayload"]],["impl Freeze for ArchivedRoomCreatePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ArchivedRoomCreatePayload"]],["impl Freeze for ArchivedRoomDeletePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ArchivedRoomDeletePayload"]],["impl Freeze for ArchivedRoomPinsUpdatePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ArchivedRoomPinsUpdatePayload"]],["impl Freeze for ArchivedRoomUpdatePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ArchivedRoomUpdatePayload"]],["impl Freeze for ArchivedTypingStartPayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ArchivedTypingStartPayload"]],["impl Freeze for ArchivedUserUpdatePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ArchivedUserUpdatePayload"]],["impl Freeze for HeartbeatAckPayload",1,["client_sdk::models::gateway::message::server_msg_payloads::HeartbeatAckPayload"]],["impl Freeze for HeartbeatAckPayloadResolver",1,["client_sdk::models::gateway::message::server_msg_payloads::HeartbeatAckPayloadResolver"]],["impl Freeze for HelloPayload",1,["client_sdk::models::gateway::message::server_msg_payloads::HelloPayload"]],["impl Freeze for HelloPayloadResolver",1,["client_sdk::models::gateway::message::server_msg_payloads::HelloPayloadResolver"]],["impl Freeze for InvalidSessionPayload",1,["client_sdk::models::gateway::message::server_msg_payloads::InvalidSessionPayload"]],["impl Freeze for InvalidSessionPayloadResolver",1,["client_sdk::models::gateway::message::server_msg_payloads::InvalidSessionPayloadResolver"]],["impl Freeze for MemberAddPayload",1,["client_sdk::models::gateway::message::server_msg_payloads::MemberAddPayload"]],["impl Freeze for MemberAddPayloadResolver",1,["client_sdk::models::gateway::message::server_msg_payloads::MemberAddPayloadResolver"]],["impl Freeze for MemberBanPayload",1,["client_sdk::models::gateway::message::server_msg_payloads::MemberBanPayload"]],["impl Freeze for MemberBanPayloadResolver",1,["client_sdk::models::gateway::message::server_msg_payloads::MemberBanPayloadResolver"]],["impl Freeze for MemberRemovePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::MemberRemovePayload"]],["impl Freeze for MemberRemovePayloadResolver",1,["client_sdk::models::gateway::message::server_msg_payloads::MemberRemovePayloadResolver"]],["impl Freeze for MemberUnbanPayload",1,["client_sdk::models::gateway::message::server_msg_payloads::MemberUnbanPayload"]],["impl Freeze for MemberUnbanPayloadResolver",1,["client_sdk::models::gateway::message::server_msg_payloads::MemberUnbanPayloadResolver"]],["impl Freeze for MemberUpdatePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::MemberUpdatePayload"]],["impl Freeze for MemberUpdatePayloadResolver",1,["client_sdk::models::gateway::message::server_msg_payloads::MemberUpdatePayloadResolver"]],["impl Freeze for MessageCreatePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::MessageCreatePayload"]],["impl Freeze for MessageCreatePayloadResolver",1,["client_sdk::models::gateway::message::server_msg_payloads::MessageCreatePayloadResolver"]],["impl Freeze for MessageDeletePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::MessageDeletePayload"]],["impl Freeze for MessageDeletePayloadResolver",1,["client_sdk::models::gateway::message::server_msg_payloads::MessageDeletePayloadResolver"]],["impl Freeze for MessageReactionAddPayload",1,["client_sdk::models::gateway::message::server_msg_payloads::MessageReactionAddPayload"]],["impl Freeze for MessageReactionAddPayloadResolver",1,["client_sdk::models::gateway::message::server_msg_payloads::MessageReactionAddPayloadResolver"]],["impl Freeze for MessageReactionRemoveAllPayload",1,["client_sdk::models::gateway::message::server_msg_payloads::MessageReactionRemoveAllPayload"]],["impl Freeze for MessageReactionRemoveAllPayloadResolver",1,["client_sdk::models::gateway::message::server_msg_payloads::MessageReactionRemoveAllPayloadResolver"]],["impl Freeze for MessageReactionRemoveEmotePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::MessageReactionRemoveEmotePayload"]],["impl Freeze for MessageReactionRemoveEmotePayloadResolver",1,["client_sdk::models::gateway::message::server_msg_payloads::MessageReactionRemoveEmotePayloadResolver"]],["impl Freeze for MessageReactionRemovePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::MessageReactionRemovePayload"]],["impl Freeze for MessageReactionRemovePayloadResolver",1,["client_sdk::models::gateway::message::server_msg_payloads::MessageReactionRemovePayloadResolver"]],["impl Freeze for MessageUpdatePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::MessageUpdatePayload"]],["impl Freeze for MessageUpdatePayloadResolver",1,["client_sdk::models::gateway::message::server_msg_payloads::MessageUpdatePayloadResolver"]],["impl Freeze for PartyCreatePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::PartyCreatePayload"]],["impl Freeze for PartyCreatePayloadResolver",1,["client_sdk::models::gateway::message::server_msg_payloads::PartyCreatePayloadResolver"]],["impl Freeze for PartyDeletePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::PartyDeletePayload"]],["impl Freeze for PartyDeletePayloadResolver",1,["client_sdk::models::gateway::message::server_msg_payloads::PartyDeletePayloadResolver"]],["impl Freeze for PartyUpdatePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::PartyUpdatePayload"]],["impl Freeze for PartyUpdatePayloadResolver",1,["client_sdk::models::gateway::message::server_msg_payloads::PartyUpdatePayloadResolver"]],["impl Freeze for PresenceUpdatePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::PresenceUpdatePayload"]],["impl Freeze for PresenceUpdatePayloadResolver",1,["client_sdk::models::gateway::message::server_msg_payloads::PresenceUpdatePayloadResolver"]],["impl Freeze for ProfileUpdatePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ProfileUpdatePayload"]],["impl Freeze for ProfileUpdatePayloadResolver",1,["client_sdk::models::gateway::message::server_msg_payloads::ProfileUpdatePayloadResolver"]],["impl Freeze for ReadyPayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ReadyPayload"]],["impl Freeze for ReadyPayloadResolver",1,["client_sdk::models::gateway::message::server_msg_payloads::ReadyPayloadResolver"]],["impl Freeze for RelationAddPayload",1,["client_sdk::models::gateway::message::server_msg_payloads::RelationAddPayload"]],["impl Freeze for RelationAddPayloadResolver",1,["client_sdk::models::gateway::message::server_msg_payloads::RelationAddPayloadResolver"]],["impl Freeze for RelationRemovePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::RelationRemovePayload"]],["impl Freeze for RelationRemovePayloadResolver",1,["client_sdk::models::gateway::message::server_msg_payloads::RelationRemovePayloadResolver"]],["impl Freeze for RoleCreatePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::RoleCreatePayload"]],["impl Freeze for RoleCreatePayloadResolver",1,["client_sdk::models::gateway::message::server_msg_payloads::RoleCreatePayloadResolver"]],["impl Freeze for RoleDeletePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::RoleDeletePayload"]],["impl Freeze for RoleDeletePayloadResolver",1,["client_sdk::models::gateway::message::server_msg_payloads::RoleDeletePayloadResolver"]],["impl Freeze for RoleUpdatePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::RoleUpdatePayload"]],["impl Freeze for RoleUpdatePayloadResolver",1,["client_sdk::models::gateway::message::server_msg_payloads::RoleUpdatePayloadResolver"]],["impl Freeze for RoomCreatePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::RoomCreatePayload"]],["impl Freeze for RoomCreatePayloadResolver",1,["client_sdk::models::gateway::message::server_msg_payloads::RoomCreatePayloadResolver"]],["impl Freeze for RoomDeletePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::RoomDeletePayload"]],["impl Freeze for RoomDeletePayloadResolver",1,["client_sdk::models::gateway::message::server_msg_payloads::RoomDeletePayloadResolver"]],["impl Freeze for RoomPinsUpdatePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::RoomPinsUpdatePayload"]],["impl Freeze for RoomPinsUpdatePayloadResolver",1,["client_sdk::models::gateway::message::server_msg_payloads::RoomPinsUpdatePayloadResolver"]],["impl Freeze for RoomUpdatePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::RoomUpdatePayload"]],["impl Freeze for RoomUpdatePayloadResolver",1,["client_sdk::models::gateway::message::server_msg_payloads::RoomUpdatePayloadResolver"]],["impl Freeze for TypingStartPayload",1,["client_sdk::models::gateway::message::server_msg_payloads::TypingStartPayload"]],["impl Freeze for TypingStartPayloadResolver",1,["client_sdk::models::gateway::message::server_msg_payloads::TypingStartPayloadResolver"]],["impl Freeze for UserUpdatePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::UserUpdatePayload"]],["impl Freeze for UserUpdatePayloadResolver",1,["client_sdk::models::gateway::message::server_msg_payloads::UserUpdatePayloadResolver"]],["impl Freeze for ArchivedIntent",1,["client_sdk::models::gateway::ArchivedIntent"]],["impl Freeze for Intent",1,["client_sdk::models::gateway::Intent"]],["impl Freeze for ArchivedInvite",1,["client_sdk::models::invite::ArchivedInvite"]],["impl Freeze for Invite",1,["client_sdk::models::invite::Invite"]],["impl Freeze for InviteResolver",1,["client_sdk::models::invite::InviteResolver"]],["impl Freeze for ArchivedAttachment",1,["client_sdk::models::message::ArchivedAttachment"]],["impl Freeze for ArchivedMessage",1,["client_sdk::models::message::ArchivedMessage"]],["impl Freeze for ArchivedMessageFlags",1,["client_sdk::models::message::ArchivedMessageFlags"]],["impl Freeze for ArchivedReactionFull",1,["client_sdk::models::message::ArchivedReactionFull"]],["impl Freeze for ArchivedReactionShorthand",1,["client_sdk::models::message::ArchivedReactionShorthand"]],["impl Freeze for Attachment",1,["client_sdk::models::message::Attachment"]],["impl Freeze for AttachmentResolver",1,["client_sdk::models::message::AttachmentResolver"]],["impl Freeze for Message",1,["client_sdk::models::message::Message"]],["impl Freeze for MessageFlags",1,["client_sdk::models::message::MessageFlags"]],["impl Freeze for MessageResolver",1,["client_sdk::models::message::MessageResolver"]],["impl Freeze for ReactionFull",1,["client_sdk::models::message::ReactionFull"]],["impl Freeze for ReactionFullResolver",1,["client_sdk::models::message::ReactionFullResolver"]],["impl Freeze for ReactionShorthand",1,["client_sdk::models::message::ReactionShorthand"]],["impl Freeze for ReactionShorthandResolver",1,["client_sdk::models::message::ReactionShorthandResolver"]],["impl Freeze for ArchivedPartialParty",1,["client_sdk::models::party::ArchivedPartialParty"]],["impl Freeze for ArchivedParty",1,["client_sdk::models::party::ArchivedParty"]],["impl Freeze for ArchivedPartyFlags",1,["client_sdk::models::party::ArchivedPartyFlags"]],["impl Freeze for ArchivedPartyMember",1,["client_sdk::models::party::ArchivedPartyMember"]],["impl Freeze for ArchivedPartyMemberFlags",1,["client_sdk::models::party::ArchivedPartyMemberFlags"]],["impl Freeze for ArchivedPartyPreferences",1,["client_sdk::models::party::prefs::ArchivedPartyPreferences"]],["impl Freeze for ArchivedPartyPrefsFlags",1,["client_sdk::models::party::prefs::ArchivedPartyPrefsFlags"]],["impl Freeze for ArchivedPinFolder",1,["client_sdk::models::party::ArchivedPinFolder"]],["impl Freeze for ArchivedPinFolderFlags",1,["client_sdk::models::party::ArchivedPinFolderFlags"]],["impl Freeze for PartialParty",1,["client_sdk::models::party::PartialParty"]],["impl Freeze for PartialPartyResolver",1,["client_sdk::models::party::PartialPartyResolver"]],["impl Freeze for Party",1,["client_sdk::models::party::Party"]],["impl Freeze for PartyFlags",1,["client_sdk::models::party::PartyFlags"]],["impl Freeze for PartyMember",1,["client_sdk::models::party::PartyMember"]],["impl Freeze for PartyMemberFlags",1,["client_sdk::models::party::PartyMemberFlags"]],["impl Freeze for PartyMemberResolver",1,["client_sdk::models::party::PartyMemberResolver"]],["impl Freeze for PartyPreferences",1,["client_sdk::models::party::prefs::PartyPreferences"]],["impl Freeze for PartyPreferencesResolver",1,["client_sdk::models::party::prefs::PartyPreferencesResolver"]],["impl Freeze for PartyPrefsFlags",1,["client_sdk::models::party::prefs::PartyPrefsFlags"]],["impl Freeze for PartyResolver",1,["client_sdk::models::party::PartyResolver"]],["impl Freeze for PinFolder",1,["client_sdk::models::party::PinFolder"]],["impl Freeze for PinFolderFlags",1,["client_sdk::models::party::PinFolderFlags"]],["impl Freeze for PinFolderResolver",1,["client_sdk::models::party::PinFolderResolver"]],["impl Freeze for ArchivedOverwrite",1,["client_sdk::models::permission::ArchivedOverwrite"]],["impl Freeze for ArchivedPermissions",1,["client_sdk::models::permission::ArchivedPermissions"]],["impl Freeze for Overwrite",1,["client_sdk::models::permission::Overwrite"]],["impl Freeze for OverwriteResolver",1,["client_sdk::models::permission::OverwriteResolver"]],["impl Freeze for Permissions",1,["client_sdk::models::permission::Permissions"]],["impl Freeze for Activity",1,["client_sdk::models::presence::Activity"]],["impl Freeze for ActivityResolver",1,["client_sdk::models::presence::ActivityResolver"]],["impl Freeze for ArchivedActivity",1,["client_sdk::models::presence::ArchivedActivity"]],["impl Freeze for ArchivedUserPresence",1,["client_sdk::models::presence::ArchivedUserPresence"]],["impl Freeze for ArchivedUserPresenceFlags",1,["client_sdk::models::presence::ArchivedUserPresenceFlags"]],["impl Freeze for UserPresence",1,["client_sdk::models::presence::UserPresence"]],["impl Freeze for UserPresenceFlags",1,["client_sdk::models::presence::UserPresenceFlags"]],["impl Freeze for UserPresenceResolver",1,["client_sdk::models::presence::UserPresenceResolver"]],["impl Freeze for ArchivedRole",1,["client_sdk::models::role::ArchivedRole"]],["impl Freeze for ArchivedRoleFlags",1,["client_sdk::models::role::ArchivedRoleFlags"]],["impl Freeze for Role",1,["client_sdk::models::role::Role"]],["impl Freeze for RoleFlags",1,["client_sdk::models::role::RoleFlags"]],["impl Freeze for RoleResolver",1,["client_sdk::models::role::RoleResolver"]],["impl Freeze for ArchivedFullRoom",1,["client_sdk::models::room::ArchivedFullRoom"]],["impl Freeze for ArchivedRoom",1,["client_sdk::models::room::ArchivedRoom"]],["impl Freeze for ArchivedRoomFlags",1,["client_sdk::models::room::ArchivedRoomFlags"]],["impl Freeze for FullRoom",1,["client_sdk::models::room::FullRoom"]],["impl Freeze for FullRoomResolver",1,["client_sdk::models::room::FullRoomResolver"]],["impl Freeze for Room",1,["client_sdk::models::room::Room"]],["impl Freeze for RoomFlags",1,["client_sdk::models::room::RoomFlags"]],["impl Freeze for RoomResolver",1,["client_sdk::models::room::RoomResolver"]],["impl Freeze for AnonymousSession",1,["client_sdk::models::session::AnonymousSession"]],["impl Freeze for AnonymousSessionResolver",1,["client_sdk::models::session::AnonymousSessionResolver"]],["impl Freeze for ArchivedAnonymousSession",1,["client_sdk::models::session::ArchivedAnonymousSession"]],["impl Freeze for ArchivedSession",1,["client_sdk::models::session::ArchivedSession"]],["impl Freeze for Session",1,["client_sdk::models::session::Session"]],["impl Freeze for SessionResolver",1,["client_sdk::models::session::SessionResolver"]],["impl Freeze for ArchivedRoomStatistics",1,["client_sdk::models::stats::ArchivedRoomStatistics"]],["impl Freeze for RoomStatistics",1,["client_sdk::models::stats::RoomStatistics"]],["impl Freeze for RoomStatisticsResolver",1,["client_sdk::models::stats::RoomStatisticsResolver"]],["impl Freeze for Statistics",1,["client_sdk::models::stats::Statistics"]],["impl Freeze for FxRandomState2",1,["client_sdk::models::FxRandomState2"]],["impl Freeze for ArchivedThread",1,["client_sdk::models::thread::ArchivedThread"]],["impl Freeze for ArchivedThreadFlags",1,["client_sdk::models::thread::ArchivedThreadFlags"]],["impl Freeze for Thread",1,["client_sdk::models::thread::Thread"]],["impl Freeze for ThreadFlags",1,["client_sdk::models::thread::ThreadFlags"]],["impl Freeze for ThreadResolver",1,["client_sdk::models::thread::ThreadResolver"]],["impl Freeze for ArchivedFontSize",1,["client_sdk::models::user::prefs::preferences::ArchivedFontSize"]],["impl Freeze for ArchivedPadding",1,["client_sdk::models::user::prefs::preferences::ArchivedPadding"]],["impl Freeze for ArchivedTabSize",1,["client_sdk::models::user::prefs::preferences::ArchivedTabSize"]],["impl Freeze for ArchivedTemperature",1,["client_sdk::models::user::prefs::preferences::ArchivedTemperature"]],["impl Freeze for FontSize",1,["client_sdk::models::user::prefs::preferences::FontSize"]],["impl Freeze for FontSizeResolver",1,["client_sdk::models::user::prefs::preferences::FontSizeResolver"]],["impl Freeze for Padding",1,["client_sdk::models::user::prefs::preferences::Padding"]],["impl Freeze for PaddingResolver",1,["client_sdk::models::user::prefs::preferences::PaddingResolver"]],["impl Freeze for TabSize",1,["client_sdk::models::user::prefs::preferences::TabSize"]],["impl Freeze for TabSizeResolver",1,["client_sdk::models::user::prefs::preferences::TabSizeResolver"]],["impl Freeze for Temperature",1,["client_sdk::models::user::prefs::preferences::Temperature"]],["impl Freeze for TemperatureResolver",1,["client_sdk::models::user::prefs::preferences::TemperatureResolver"]],["impl Freeze for ArchivedExtraUserProfileBits",1,["client_sdk::models::user::ArchivedExtraUserProfileBits"]],["impl Freeze for ArchivedFont",1,["client_sdk::models::user::prefs::font_impl::ArchivedFont"]],["impl Freeze for ArchivedFriendAddability",1,["client_sdk::models::user::prefs::friend_addability_impl::ArchivedFriendAddability"]],["impl Freeze for ArchivedLocale",1,["client_sdk::models::user::prefs::locale_impl::ArchivedLocale"]],["impl Freeze for ArchivedRelationship",1,["client_sdk::models::user::ArchivedRelationship"]],["impl Freeze for ArchivedUser",1,["client_sdk::models::user::ArchivedUser"]],["impl Freeze for ArchivedUserFlags",1,["client_sdk::models::user::ArchivedUserFlags"]],["impl Freeze for ArchivedUserPreferences",1,["client_sdk::models::user::prefs::ArchivedUserPreferences"]],["impl Freeze for ArchivedUserPrefsFlags",1,["client_sdk::models::user::prefs::ArchivedUserPrefsFlags"]],["impl Freeze for ArchivedUserProfile",1,["client_sdk::models::user::ArchivedUserProfile"]],["impl Freeze for ArchivedUserProfileBits",1,["client_sdk::models::user::ArchivedUserProfileBits"]],["impl Freeze for ArchivedUserRelationship",1,["client_sdk::models::user::user_relationship_impl::ArchivedUserRelationship"]],["impl Freeze for ExtraUserProfileBits",1,["client_sdk::models::user::ExtraUserProfileBits"]],["impl Freeze for Relationship",1,["client_sdk::models::user::Relationship"]],["impl Freeze for RelationshipResolver",1,["client_sdk::models::user::RelationshipResolver"]],["impl Freeze for User",1,["client_sdk::models::user::User"]],["impl Freeze for UserFlags",1,["client_sdk::models::user::UserFlags"]],["impl Freeze for UserPreferences",1,["client_sdk::models::user::prefs::UserPreferences"]],["impl Freeze for UserPreferencesResolver",1,["client_sdk::models::user::prefs::UserPreferencesResolver"]],["impl Freeze for UserPrefsFlags",1,["client_sdk::models::user::prefs::UserPrefsFlags"]],["impl Freeze for UserProfile",1,["client_sdk::models::user::UserProfile"]],["impl Freeze for UserProfileBits",1,["client_sdk::models::user::UserProfileBits"]],["impl Freeze for UserProfileResolver",1,["client_sdk::models::user::UserProfileResolver"]],["impl Freeze for UserResolver",1,["client_sdk::models::user::UserResolver"]],["impl Freeze for FromUtf8Error",1,["client_sdk::models::util::thin_str::FromUtf8Error"]],["impl Freeze for ThinString",1,["client_sdk::models::util::thin_str::ThinString"]],["impl<'a> Freeze for Argument<'a>",1,["client_sdk::framework_utils::args::Argument"]],["impl<'a> Freeze for ArgumentSplitter<'a>",1,["client_sdk::framework_utils::args::ArgumentSplitter"]],["impl<C, U, S> Freeze for DynamicClientMsgHandlers<C, U, S>",1,["client_sdk::models::gateway::message::DynamicClientMsgHandlers"]],["impl<C, U, S> Freeze for DynamicServerMsgHandlers<C, U, S>",1,["client_sdk::models::gateway::message::DynamicServerMsgHandlers"]],["impl<H, E = StandardError> !Freeze for Standard<H, E>",1,["client_sdk::framework::standard::Standard"]],["impl<T> Freeze for Nullable<T>
where\n T: Freeze,
",1,["client_sdk::models::nullable::Nullable"]],["impl<const N: usize> Freeze for FixedStr<N>",1,["client_sdk::models::util::fixed_str::FixedStr"]]]]]); + if (window.register_implementors) { + window.register_implementors(implementors); + } else { + window.pending_implementors = implementors; + } +})() +//{"start":57,"fragment_lengths":[265963]} \ No newline at end of file diff --git a/trait.impl/core/marker/trait.Send.js b/trait.impl/core/marker/trait.Send.js new file mode 100644 index 000000000..dbb10f40e --- /dev/null +++ b/trait.impl/core/marker/trait.Send.js @@ -0,0 +1,9 @@ +(function() { + var implementors = Object.fromEntries([["client_sdk",[["impl Send for AssetQuery",1,["client_sdk::api::asset::AssetQuery"]],["impl Send for CreateRoomKind",1,["client_sdk::api::commands::party::CreateRoomKind"]],["impl Send for BannerAlign",1,["client_sdk::api::commands::user::BannerAlign"]],["impl Send for ApiErrorCode",1,["client_sdk::api::error::api_error_code_impl::ApiErrorCode"]],["impl Send for ClientError",1,["client_sdk::client::error::ClientError"]],["impl Send for DriverError",1,["client_sdk::driver::error::DriverError"]],["impl Send for Encoding",1,["client_sdk::driver::Encoding"]],["impl Send for StandardError",1,["client_sdk::framework::standard::error::StandardError"]],["impl Send for GatewayError",1,["client_sdk::gateway::error::GatewayError"]],["impl Send for GatewayErrorCode",1,["client_sdk::gateway::error::GatewayErrorCode"]],["impl Send for ArchivedAuthToken",1,["client_sdk::models::auth::ArchivedAuthToken"]],["impl Send for AuthToken",1,["client_sdk::models::auth::AuthToken"]],["impl Send for AuthTokenResolver",1,["client_sdk::models::auth::AuthTokenResolver"]],["impl Send for ArchivedEmbed",1,["client_sdk::models::embed::ArchivedEmbed"]],["impl Send for Embed",1,["client_sdk::models::embed::Embed"]],["impl Send for EmbedResolver",1,["client_sdk::models::embed::EmbedResolver"]],["impl Send for ArchivedEmbedType",1,["client_sdk::models::embed::v1::ArchivedEmbedType"]],["impl Send for EmbedType",1,["client_sdk::models::embed::v1::EmbedType"]],["impl Send for EmbedTypeResolver",1,["client_sdk::models::embed::v1::EmbedTypeResolver"]],["impl Send for ArchivedEmote",1,["client_sdk::models::emote::ArchivedEmote"]],["impl Send for Emote",1,["client_sdk::models::emote::Emote"]],["impl Send for EmoteResolver",1,["client_sdk::models::emote::EmoteResolver"]],["impl Send for ArchivedCursor",1,["client_sdk::models::ArchivedCursor"]],["impl Send for Cursor",1,["client_sdk::models::Cursor"]],["impl Send for CursorResolver",1,["client_sdk::models::CursorResolver"]],["impl Send for ArchivedPartyUpdateEvent",1,["client_sdk::models::gateway::events::ArchivedPartyUpdateEvent"]],["impl Send for PartyUpdateEvent",1,["client_sdk::models::gateway::events::PartyUpdateEvent"]],["impl Send for PartyUpdateEventResolver",1,["client_sdk::models::gateway::events::PartyUpdateEventResolver"]],["impl Send for ArchivedClientMsg",1,["client_sdk::models::gateway::message::ArchivedClientMsg"]],["impl Send for ArchivedServerMsg",1,["client_sdk::models::gateway::message::ArchivedServerMsg"]],["impl Send for ClientMsg",1,["client_sdk::models::gateway::message::ClientMsg"]],["impl Send for ClientMsgOpcode",1,["client_sdk::models::gateway::message::ClientMsgOpcode"]],["impl Send for ClientMsgResolver",1,["client_sdk::models::gateway::message::ClientMsgResolver"]],["impl Send for ServerMsg",1,["client_sdk::models::gateway::message::ServerMsg"]],["impl Send for ServerMsgOpcode",1,["client_sdk::models::gateway::message::ServerMsgOpcode"]],["impl Send for ServerMsgResolver",1,["client_sdk::models::gateway::message::ServerMsgResolver"]],["impl Send for ArchivedEmoteOrEmoji",1,["client_sdk::models::message::ArchivedEmoteOrEmoji"]],["impl Send for ArchivedMessageKind",1,["client_sdk::models::message::message_kind_impl::ArchivedMessageKind"]],["impl Send for ArchivedReaction",1,["client_sdk::models::message::ArchivedReaction"]],["impl Send for EmoteOrEmoji",1,["client_sdk::models::message::EmoteOrEmoji"]],["impl Send for EmoteOrEmojiResolver",1,["client_sdk::models::message::EmoteOrEmojiResolver"]],["impl Send for MessageKind",1,["client_sdk::models::message::message_kind_impl::MessageKind"]],["impl Send for Reaction",1,["client_sdk::models::message::Reaction"]],["impl Send for ReactionResolver",1,["client_sdk::models::message::ReactionResolver"]],["impl Send for AnyActivity",1,["client_sdk::models::presence::AnyActivity"]],["impl Send for AnyActivityResolver",1,["client_sdk::models::presence::AnyActivityResolver"]],["impl Send for ArchivedAnyActivity",1,["client_sdk::models::presence::ArchivedAnyActivity"]],["impl Send for ArchivedRoomKind",1,["client_sdk::models::room::ArchivedRoomKind"]],["impl Send for RoomKind",1,["client_sdk::models::room::RoomKind"]],["impl Send for RoomKindResolver",1,["client_sdk::models::room::RoomKindResolver"]],["impl Send for ElevationLevel",1,["client_sdk::models::user::ElevationLevel"]],["impl Send for Font",1,["client_sdk::models::user::prefs::font_impl::Font"]],["impl Send for FriendAddability",1,["client_sdk::models::user::prefs::friend_addability_impl::FriendAddability"]],["impl Send for Locale",1,["client_sdk::models::user::prefs::locale_impl::Locale"]],["impl Send for UserRelationship",1,["client_sdk::models::user::user_relationship_impl::UserRelationship"]],["impl Send for ArchivedGetServerConfig",1,["client_sdk::api::commands::config::ArchivedGetServerConfig"]],["impl Send for GetServerConfig",1,["client_sdk::api::commands::config::GetServerConfig"]],["impl Send for GetServerConfigResolver",1,["client_sdk::api::commands::config::GetServerConfigResolver"]],["impl Send for ArchivedCreateFile",1,["client_sdk::api::commands::file::ArchivedCreateFile"]],["impl Send for ArchivedCreateFileBody",1,["client_sdk::api::commands::file::ArchivedCreateFileBody"]],["impl Send for ArchivedFileStatus",1,["client_sdk::api::commands::file::ArchivedFileStatus"]],["impl Send for ArchivedFilesystemStatus",1,["client_sdk::api::commands::file::ArchivedFilesystemStatus"]],["impl Send for ArchivedGetFileStatus",1,["client_sdk::api::commands::file::ArchivedGetFileStatus"]],["impl Send for ArchivedGetFilesystemStatus",1,["client_sdk::api::commands::file::ArchivedGetFilesystemStatus"]],["impl Send for CreateFile",1,["client_sdk::api::commands::file::CreateFile"]],["impl Send for CreateFileBody",1,["client_sdk::api::commands::file::CreateFileBody"]],["impl Send for CreateFileBodyResolver",1,["client_sdk::api::commands::file::CreateFileBodyResolver"]],["impl Send for CreateFileResolver",1,["client_sdk::api::commands::file::CreateFileResolver"]],["impl Send for FileStatus",1,["client_sdk::api::commands::file::FileStatus"]],["impl Send for FileStatusResolver",1,["client_sdk::api::commands::file::FileStatusResolver"]],["impl Send for FilesystemStatus",1,["client_sdk::api::commands::file::FilesystemStatus"]],["impl Send for FilesystemStatusResolver",1,["client_sdk::api::commands::file::FilesystemStatusResolver"]],["impl Send for GetFileStatus",1,["client_sdk::api::commands::file::GetFileStatus"]],["impl Send for GetFileStatusResolver",1,["client_sdk::api::commands::file::GetFileStatusResolver"]],["impl Send for GetFilesystemStatus",1,["client_sdk::api::commands::file::GetFilesystemStatus"]],["impl Send for GetFilesystemStatusResolver",1,["client_sdk::api::commands::file::GetFilesystemStatusResolver"]],["impl Send for ArchivedGetInvite",1,["client_sdk::api::commands::invite::ArchivedGetInvite"]],["impl Send for ArchivedRedeemInvite",1,["client_sdk::api::commands::invite::ArchivedRedeemInvite"]],["impl Send for ArchivedRedeemInviteBody",1,["client_sdk::api::commands::invite::ArchivedRedeemInviteBody"]],["impl Send for ArchivedRevokeInvite",1,["client_sdk::api::commands::invite::ArchivedRevokeInvite"]],["impl Send for GetInvite",1,["client_sdk::api::commands::invite::GetInvite"]],["impl Send for GetInviteResolver",1,["client_sdk::api::commands::invite::GetInviteResolver"]],["impl Send for RedeemInvite",1,["client_sdk::api::commands::invite::RedeemInvite"]],["impl Send for RedeemInviteBody",1,["client_sdk::api::commands::invite::RedeemInviteBody"]],["impl Send for RedeemInviteBodyResolver",1,["client_sdk::api::commands::invite::RedeemInviteBodyResolver"]],["impl Send for RedeemInviteResolver",1,["client_sdk::api::commands::invite::RedeemInviteResolver"]],["impl Send for RevokeInvite",1,["client_sdk::api::commands::invite::RevokeInvite"]],["impl Send for RevokeInviteResolver",1,["client_sdk::api::commands::invite::RevokeInviteResolver"]],["impl Send for ArchivedCreateParty",1,["client_sdk::api::commands::party::ArchivedCreateParty"]],["impl Send for ArchivedCreatePartyForm",1,["client_sdk::api::commands::party::ArchivedCreatePartyForm"]],["impl Send for ArchivedCreatePartyInvite",1,["client_sdk::api::commands::party::ArchivedCreatePartyInvite"]],["impl Send for ArchivedCreatePartyInviteBody",1,["client_sdk::api::commands::party::ArchivedCreatePartyInviteBody"]],["impl Send for ArchivedCreatePinFolder",1,["client_sdk::api::commands::party::ArchivedCreatePinFolder"]],["impl Send for ArchivedCreatePinFolderForm",1,["client_sdk::api::commands::party::ArchivedCreatePinFolderForm"]],["impl Send for ArchivedCreateRole",1,["client_sdk::api::commands::party::ArchivedCreateRole"]],["impl Send for ArchivedCreateRoleForm",1,["client_sdk::api::commands::party::ArchivedCreateRoleForm"]],["impl Send for ArchivedCreateRoom",1,["client_sdk::api::commands::party::ArchivedCreateRoom"]],["impl Send for ArchivedCreateRoomForm",1,["client_sdk::api::commands::party::ArchivedCreateRoomForm"]],["impl Send for ArchivedDeleteParty",1,["client_sdk::api::commands::party::ArchivedDeleteParty"]],["impl Send for ArchivedDeleteRole",1,["client_sdk::api::commands::party::ArchivedDeleteRole"]],["impl Send for ArchivedGetMemberProfile",1,["client_sdk::api::commands::party::ArchivedGetMemberProfile"]],["impl Send for ArchivedGetParty",1,["client_sdk::api::commands::party::ArchivedGetParty"]],["impl Send for ArchivedGetPartyInvites",1,["client_sdk::api::commands::party::ArchivedGetPartyInvites"]],["impl Send for ArchivedGetPartyMember",1,["client_sdk::api::commands::party::ArchivedGetPartyMember"]],["impl Send for ArchivedGetPartyMembers",1,["client_sdk::api::commands::party::ArchivedGetPartyMembers"]],["impl Send for ArchivedGetPartyRooms",1,["client_sdk::api::commands::party::ArchivedGetPartyRooms"]],["impl Send for ArchivedPartySettings",1,["client_sdk::api::commands::party::ArchivedPartySettings"]],["impl Send for ArchivedPatchParty",1,["client_sdk::api::commands::party::ArchivedPatchParty"]],["impl Send for ArchivedPatchPartyForm",1,["client_sdk::api::commands::party::ArchivedPatchPartyForm"]],["impl Send for ArchivedPatchRole",1,["client_sdk::api::commands::party::ArchivedPatchRole"]],["impl Send for ArchivedPatchRoleForm",1,["client_sdk::api::commands::party::ArchivedPatchRoleForm"]],["impl Send for ArchivedSearchParty",1,["client_sdk::api::commands::party::ArchivedSearchParty"]],["impl Send for ArchivedSearchQuery",1,["client_sdk::api::commands::party::ArchivedSearchQuery"]],["impl Send for ArchivedTransferOwnership",1,["client_sdk::api::commands::party::ArchivedTransferOwnership"]],["impl Send for ArchivedUpdateMemberProfile",1,["client_sdk::api::commands::party::ArchivedUpdateMemberProfile"]],["impl Send for ArchivedUpdateMemberProfileBody",1,["client_sdk::api::commands::party::ArchivedUpdateMemberProfileBody"]],["impl Send for CreateParty",1,["client_sdk::api::commands::party::CreateParty"]],["impl Send for CreatePartyForm",1,["client_sdk::api::commands::party::CreatePartyForm"]],["impl Send for CreatePartyFormResolver",1,["client_sdk::api::commands::party::CreatePartyFormResolver"]],["impl Send for CreatePartyInvite",1,["client_sdk::api::commands::party::CreatePartyInvite"]],["impl Send for CreatePartyInviteBody",1,["client_sdk::api::commands::party::CreatePartyInviteBody"]],["impl Send for CreatePartyInviteBodyResolver",1,["client_sdk::api::commands::party::CreatePartyInviteBodyResolver"]],["impl Send for CreatePartyInviteResolver",1,["client_sdk::api::commands::party::CreatePartyInviteResolver"]],["impl Send for CreatePartyResolver",1,["client_sdk::api::commands::party::CreatePartyResolver"]],["impl Send for CreatePinFolder",1,["client_sdk::api::commands::party::CreatePinFolder"]],["impl Send for CreatePinFolderForm",1,["client_sdk::api::commands::party::CreatePinFolderForm"]],["impl Send for CreatePinFolderFormResolver",1,["client_sdk::api::commands::party::CreatePinFolderFormResolver"]],["impl Send for CreatePinFolderResolver",1,["client_sdk::api::commands::party::CreatePinFolderResolver"]],["impl Send for CreateRole",1,["client_sdk::api::commands::party::CreateRole"]],["impl Send for CreateRoleForm",1,["client_sdk::api::commands::party::CreateRoleForm"]],["impl Send for CreateRoleFormResolver",1,["client_sdk::api::commands::party::CreateRoleFormResolver"]],["impl Send for CreateRoleResolver",1,["client_sdk::api::commands::party::CreateRoleResolver"]],["impl Send for CreateRoom",1,["client_sdk::api::commands::party::CreateRoom"]],["impl Send for CreateRoomForm",1,["client_sdk::api::commands::party::CreateRoomForm"]],["impl Send for CreateRoomFormResolver",1,["client_sdk::api::commands::party::CreateRoomFormResolver"]],["impl Send for CreateRoomResolver",1,["client_sdk::api::commands::party::CreateRoomResolver"]],["impl Send for DeleteParty",1,["client_sdk::api::commands::party::DeleteParty"]],["impl Send for DeletePartyResolver",1,["client_sdk::api::commands::party::DeletePartyResolver"]],["impl Send for DeleteRole",1,["client_sdk::api::commands::party::DeleteRole"]],["impl Send for DeleteRoleResolver",1,["client_sdk::api::commands::party::DeleteRoleResolver"]],["impl Send for GetMemberProfile",1,["client_sdk::api::commands::party::GetMemberProfile"]],["impl Send for GetMemberProfileResolver",1,["client_sdk::api::commands::party::GetMemberProfileResolver"]],["impl Send for GetParty",1,["client_sdk::api::commands::party::GetParty"]],["impl Send for GetPartyInvites",1,["client_sdk::api::commands::party::GetPartyInvites"]],["impl Send for GetPartyInvitesResolver",1,["client_sdk::api::commands::party::GetPartyInvitesResolver"]],["impl Send for GetPartyMember",1,["client_sdk::api::commands::party::GetPartyMember"]],["impl Send for GetPartyMemberResolver",1,["client_sdk::api::commands::party::GetPartyMemberResolver"]],["impl Send for GetPartyMembers",1,["client_sdk::api::commands::party::GetPartyMembers"]],["impl Send for GetPartyMembersResolver",1,["client_sdk::api::commands::party::GetPartyMembersResolver"]],["impl Send for GetPartyResolver",1,["client_sdk::api::commands::party::GetPartyResolver"]],["impl Send for GetPartyRooms",1,["client_sdk::api::commands::party::GetPartyRooms"]],["impl Send for GetPartyRoomsResolver",1,["client_sdk::api::commands::party::GetPartyRoomsResolver"]],["impl Send for PartySettings",1,["client_sdk::api::commands::party::PartySettings"]],["impl Send for PartySettingsResolver",1,["client_sdk::api::commands::party::PartySettingsResolver"]],["impl Send for PatchParty",1,["client_sdk::api::commands::party::PatchParty"]],["impl Send for PatchPartyForm",1,["client_sdk::api::commands::party::PatchPartyForm"]],["impl Send for PatchPartyFormResolver",1,["client_sdk::api::commands::party::PatchPartyFormResolver"]],["impl Send for PatchPartyResolver",1,["client_sdk::api::commands::party::PatchPartyResolver"]],["impl Send for PatchRole",1,["client_sdk::api::commands::party::PatchRole"]],["impl Send for PatchRoleForm",1,["client_sdk::api::commands::party::PatchRoleForm"]],["impl Send for PatchRoleFormResolver",1,["client_sdk::api::commands::party::PatchRoleFormResolver"]],["impl Send for PatchRoleResolver",1,["client_sdk::api::commands::party::PatchRoleResolver"]],["impl Send for SearchParty",1,["client_sdk::api::commands::party::SearchParty"]],["impl Send for SearchPartyResolver",1,["client_sdk::api::commands::party::SearchPartyResolver"]],["impl Send for SearchQuery",1,["client_sdk::api::commands::party::SearchQuery"]],["impl Send for SearchQueryResolver",1,["client_sdk::api::commands::party::SearchQueryResolver"]],["impl Send for TransferOwnership",1,["client_sdk::api::commands::party::TransferOwnership"]],["impl Send for TransferOwnershipResolver",1,["client_sdk::api::commands::party::TransferOwnershipResolver"]],["impl Send for UpdateMemberProfile",1,["client_sdk::api::commands::party::UpdateMemberProfile"]],["impl Send for UpdateMemberProfileBody",1,["client_sdk::api::commands::party::UpdateMemberProfileBody"]],["impl Send for UpdateMemberProfileBodyResolver",1,["client_sdk::api::commands::party::UpdateMemberProfileBodyResolver"]],["impl Send for UpdateMemberProfileResolver",1,["client_sdk::api::commands::party::UpdateMemberProfileResolver"]],["impl Send for ArchivedCreateMessage",1,["client_sdk::api::commands::room::ArchivedCreateMessage"]],["impl Send for ArchivedCreateMessageBody",1,["client_sdk::api::commands::room::ArchivedCreateMessageBody"]],["impl Send for ArchivedDeleteAllReactions",1,["client_sdk::api::commands::room::ArchivedDeleteAllReactions"]],["impl Send for ArchivedDeleteMessage",1,["client_sdk::api::commands::room::ArchivedDeleteMessage"]],["impl Send for ArchivedDeleteOwnReaction",1,["client_sdk::api::commands::room::ArchivedDeleteOwnReaction"]],["impl Send for ArchivedDeleteRoom",1,["client_sdk::api::commands::room::ArchivedDeleteRoom"]],["impl Send for ArchivedDeleteUserReaction",1,["client_sdk::api::commands::room::ArchivedDeleteUserReaction"]],["impl Send for ArchivedEditMessage",1,["client_sdk::api::commands::room::ArchivedEditMessage"]],["impl Send for ArchivedEditMessageBody",1,["client_sdk::api::commands::room::ArchivedEditMessageBody"]],["impl Send for ArchivedGetMessage",1,["client_sdk::api::commands::room::ArchivedGetMessage"]],["impl Send for ArchivedGetMessages",1,["client_sdk::api::commands::room::ArchivedGetMessages"]],["impl Send for ArchivedGetMessagesQuery",1,["client_sdk::api::commands::room::ArchivedGetMessagesQuery"]],["impl Send for ArchivedGetReactions",1,["client_sdk::api::commands::room::ArchivedGetReactions"]],["impl Send for ArchivedGetReactionsForm",1,["client_sdk::api::commands::room::ArchivedGetReactionsForm"]],["impl Send for ArchivedGetRoom",1,["client_sdk::api::commands::room::ArchivedGetRoom"]],["impl Send for ArchivedPatchRoom",1,["client_sdk::api::commands::room::ArchivedPatchRoom"]],["impl Send for ArchivedPatchRoomForm",1,["client_sdk::api::commands::room::ArchivedPatchRoomForm"]],["impl Send for ArchivedPinMessage",1,["client_sdk::api::commands::room::ArchivedPinMessage"]],["impl Send for ArchivedPutReaction",1,["client_sdk::api::commands::room::ArchivedPutReaction"]],["impl Send for ArchivedStarMessage",1,["client_sdk::api::commands::room::ArchivedStarMessage"]],["impl Send for ArchivedStartTyping",1,["client_sdk::api::commands::room::ArchivedStartTyping"]],["impl Send for ArchivedStartTypingBody",1,["client_sdk::api::commands::room::ArchivedStartTypingBody"]],["impl Send for ArchivedUnpinMessage",1,["client_sdk::api::commands::room::ArchivedUnpinMessage"]],["impl Send for ArchivedUnstarMessage",1,["client_sdk::api::commands::room::ArchivedUnstarMessage"]],["impl Send for CreateMessage",1,["client_sdk::api::commands::room::CreateMessage"]],["impl Send for CreateMessageBody",1,["client_sdk::api::commands::room::CreateMessageBody"]],["impl Send for CreateMessageBodyResolver",1,["client_sdk::api::commands::room::CreateMessageBodyResolver"]],["impl Send for CreateMessageResolver",1,["client_sdk::api::commands::room::CreateMessageResolver"]],["impl Send for DeleteAllReactions",1,["client_sdk::api::commands::room::DeleteAllReactions"]],["impl Send for DeleteAllReactionsResolver",1,["client_sdk::api::commands::room::DeleteAllReactionsResolver"]],["impl Send for DeleteMessage",1,["client_sdk::api::commands::room::DeleteMessage"]],["impl Send for DeleteMessageResolver",1,["client_sdk::api::commands::room::DeleteMessageResolver"]],["impl Send for DeleteOwnReaction",1,["client_sdk::api::commands::room::DeleteOwnReaction"]],["impl Send for DeleteOwnReactionResolver",1,["client_sdk::api::commands::room::DeleteOwnReactionResolver"]],["impl Send for DeleteRoom",1,["client_sdk::api::commands::room::DeleteRoom"]],["impl Send for DeleteRoomResolver",1,["client_sdk::api::commands::room::DeleteRoomResolver"]],["impl Send for DeleteUserReaction",1,["client_sdk::api::commands::room::DeleteUserReaction"]],["impl Send for DeleteUserReactionResolver",1,["client_sdk::api::commands::room::DeleteUserReactionResolver"]],["impl Send for EditMessage",1,["client_sdk::api::commands::room::EditMessage"]],["impl Send for EditMessageBody",1,["client_sdk::api::commands::room::EditMessageBody"]],["impl Send for EditMessageBodyResolver",1,["client_sdk::api::commands::room::EditMessageBodyResolver"]],["impl Send for EditMessageResolver",1,["client_sdk::api::commands::room::EditMessageResolver"]],["impl Send for GetMessage",1,["client_sdk::api::commands::room::GetMessage"]],["impl Send for GetMessageResolver",1,["client_sdk::api::commands::room::GetMessageResolver"]],["impl Send for GetMessages",1,["client_sdk::api::commands::room::GetMessages"]],["impl Send for GetMessagesQuery",1,["client_sdk::api::commands::room::GetMessagesQuery"]],["impl Send for GetMessagesQueryResolver",1,["client_sdk::api::commands::room::GetMessagesQueryResolver"]],["impl Send for GetMessagesResolver",1,["client_sdk::api::commands::room::GetMessagesResolver"]],["impl Send for GetReactions",1,["client_sdk::api::commands::room::GetReactions"]],["impl Send for GetReactionsForm",1,["client_sdk::api::commands::room::GetReactionsForm"]],["impl Send for GetReactionsFormResolver",1,["client_sdk::api::commands::room::GetReactionsFormResolver"]],["impl Send for GetReactionsResolver",1,["client_sdk::api::commands::room::GetReactionsResolver"]],["impl Send for GetRoom",1,["client_sdk::api::commands::room::GetRoom"]],["impl Send for GetRoomResolver",1,["client_sdk::api::commands::room::GetRoomResolver"]],["impl Send for PatchRoom",1,["client_sdk::api::commands::room::PatchRoom"]],["impl Send for PatchRoomForm",1,["client_sdk::api::commands::room::PatchRoomForm"]],["impl Send for PatchRoomFormResolver",1,["client_sdk::api::commands::room::PatchRoomFormResolver"]],["impl Send for PatchRoomResolver",1,["client_sdk::api::commands::room::PatchRoomResolver"]],["impl Send for PinMessage",1,["client_sdk::api::commands::room::PinMessage"]],["impl Send for PinMessageResolver",1,["client_sdk::api::commands::room::PinMessageResolver"]],["impl Send for PutReaction",1,["client_sdk::api::commands::room::PutReaction"]],["impl Send for PutReactionResolver",1,["client_sdk::api::commands::room::PutReactionResolver"]],["impl Send for StarMessage",1,["client_sdk::api::commands::room::StarMessage"]],["impl Send for StarMessageResolver",1,["client_sdk::api::commands::room::StarMessageResolver"]],["impl Send for StartTyping",1,["client_sdk::api::commands::room::StartTyping"]],["impl Send for StartTypingBody",1,["client_sdk::api::commands::room::StartTypingBody"]],["impl Send for StartTypingBodyResolver",1,["client_sdk::api::commands::room::StartTypingBodyResolver"]],["impl Send for StartTypingResolver",1,["client_sdk::api::commands::room::StartTypingResolver"]],["impl Send for UnpinMessage",1,["client_sdk::api::commands::room::UnpinMessage"]],["impl Send for UnpinMessageResolver",1,["client_sdk::api::commands::room::UnpinMessageResolver"]],["impl Send for UnstarMessage",1,["client_sdk::api::commands::room::UnstarMessage"]],["impl Send for UnstarMessageResolver",1,["client_sdk::api::commands::room::UnstarMessageResolver"]],["impl Send for Added2FA",1,["client_sdk::api::commands::user::Added2FA"]],["impl Send for Added2FAResolver",1,["client_sdk::api::commands::user::Added2FAResolver"]],["impl Send for ArchivedAdded2FA",1,["client_sdk::api::commands::user::ArchivedAdded2FA"]],["impl Send for ArchivedChangePassword",1,["client_sdk::api::commands::user::ArchivedChangePassword"]],["impl Send for ArchivedChangePasswordForm",1,["client_sdk::api::commands::user::ArchivedChangePasswordForm"]],["impl Send for ArchivedClearSessions",1,["client_sdk::api::commands::user::ArchivedClearSessions"]],["impl Send for ArchivedClearSessionsForm",1,["client_sdk::api::commands::user::ArchivedClearSessionsForm"]],["impl Send for ArchivedConfirm2FA",1,["client_sdk::api::commands::user::ArchivedConfirm2FA"]],["impl Send for ArchivedConfirm2FAForm",1,["client_sdk::api::commands::user::ArchivedConfirm2FAForm"]],["impl Send for ArchivedEnable2FA",1,["client_sdk::api::commands::user::ArchivedEnable2FA"]],["impl Send for ArchivedEnable2FAForm",1,["client_sdk::api::commands::user::ArchivedEnable2FAForm"]],["impl Send for ArchivedGetRelationships",1,["client_sdk::api::commands::user::ArchivedGetRelationships"]],["impl Send for ArchivedGetSessions",1,["client_sdk::api::commands::user::ArchivedGetSessions"]],["impl Send for ArchivedGetUser",1,["client_sdk::api::commands::user::ArchivedGetUser"]],["impl Send for ArchivedPatchRelationship",1,["client_sdk::api::commands::user::ArchivedPatchRelationship"]],["impl Send for ArchivedPatchRelationshipBody",1,["client_sdk::api::commands::user::ArchivedPatchRelationshipBody"]],["impl Send for ArchivedRemove2FA",1,["client_sdk::api::commands::user::ArchivedRemove2FA"]],["impl Send for ArchivedRemove2FAForm",1,["client_sdk::api::commands::user::ArchivedRemove2FAForm"]],["impl Send for ArchivedUpdateUserPrefs",1,["client_sdk::api::commands::user::ArchivedUpdateUserPrefs"]],["impl Send for ArchivedUpdateUserPrefsBody",1,["client_sdk::api::commands::user::ArchivedUpdateUserPrefsBody"]],["impl Send for ArchivedUpdateUserProfile",1,["client_sdk::api::commands::user::ArchivedUpdateUserProfile"]],["impl Send for ArchivedUpdateUserProfileBody",1,["client_sdk::api::commands::user::ArchivedUpdateUserProfileBody"]],["impl Send for ArchivedUserLogin",1,["client_sdk::api::commands::user::ArchivedUserLogin"]],["impl Send for ArchivedUserLoginForm",1,["client_sdk::api::commands::user::ArchivedUserLoginForm"]],["impl Send for ArchivedUserLogout",1,["client_sdk::api::commands::user::ArchivedUserLogout"]],["impl Send for ArchivedUserRegister",1,["client_sdk::api::commands::user::ArchivedUserRegister"]],["impl Send for ArchivedUserRegisterForm",1,["client_sdk::api::commands::user::ArchivedUserRegisterForm"]],["impl Send for ChangePassword",1,["client_sdk::api::commands::user::ChangePassword"]],["impl Send for ChangePasswordForm",1,["client_sdk::api::commands::user::ChangePasswordForm"]],["impl Send for ChangePasswordFormResolver",1,["client_sdk::api::commands::user::ChangePasswordFormResolver"]],["impl Send for ChangePasswordResolver",1,["client_sdk::api::commands::user::ChangePasswordResolver"]],["impl Send for ClearSessions",1,["client_sdk::api::commands::user::ClearSessions"]],["impl Send for ClearSessionsForm",1,["client_sdk::api::commands::user::ClearSessionsForm"]],["impl Send for ClearSessionsFormResolver",1,["client_sdk::api::commands::user::ClearSessionsFormResolver"]],["impl Send for ClearSessionsResolver",1,["client_sdk::api::commands::user::ClearSessionsResolver"]],["impl Send for Confirm2FA",1,["client_sdk::api::commands::user::Confirm2FA"]],["impl Send for Confirm2FAForm",1,["client_sdk::api::commands::user::Confirm2FAForm"]],["impl Send for Confirm2FAFormResolver",1,["client_sdk::api::commands::user::Confirm2FAFormResolver"]],["impl Send for Confirm2FAResolver",1,["client_sdk::api::commands::user::Confirm2FAResolver"]],["impl Send for Enable2FA",1,["client_sdk::api::commands::user::Enable2FA"]],["impl Send for Enable2FAForm",1,["client_sdk::api::commands::user::Enable2FAForm"]],["impl Send for Enable2FAFormResolver",1,["client_sdk::api::commands::user::Enable2FAFormResolver"]],["impl Send for Enable2FAResolver",1,["client_sdk::api::commands::user::Enable2FAResolver"]],["impl Send for GetRelationships",1,["client_sdk::api::commands::user::GetRelationships"]],["impl Send for GetRelationshipsResolver",1,["client_sdk::api::commands::user::GetRelationshipsResolver"]],["impl Send for GetSessions",1,["client_sdk::api::commands::user::GetSessions"]],["impl Send for GetSessionsResolver",1,["client_sdk::api::commands::user::GetSessionsResolver"]],["impl Send for GetUser",1,["client_sdk::api::commands::user::GetUser"]],["impl Send for GetUserResolver",1,["client_sdk::api::commands::user::GetUserResolver"]],["impl Send for PatchRelationship",1,["client_sdk::api::commands::user::PatchRelationship"]],["impl Send for PatchRelationshipBody",1,["client_sdk::api::commands::user::PatchRelationshipBody"]],["impl Send for PatchRelationshipBodyResolver",1,["client_sdk::api::commands::user::PatchRelationshipBodyResolver"]],["impl Send for PatchRelationshipResolver",1,["client_sdk::api::commands::user::PatchRelationshipResolver"]],["impl Send for Remove2FA",1,["client_sdk::api::commands::user::Remove2FA"]],["impl Send for Remove2FAForm",1,["client_sdk::api::commands::user::Remove2FAForm"]],["impl Send for Remove2FAFormResolver",1,["client_sdk::api::commands::user::Remove2FAFormResolver"]],["impl Send for Remove2FAResolver",1,["client_sdk::api::commands::user::Remove2FAResolver"]],["impl Send for UpdateUserPrefs",1,["client_sdk::api::commands::user::UpdateUserPrefs"]],["impl Send for UpdateUserPrefsBody",1,["client_sdk::api::commands::user::UpdateUserPrefsBody"]],["impl Send for UpdateUserPrefsBodyResolver",1,["client_sdk::api::commands::user::UpdateUserPrefsBodyResolver"]],["impl Send for UpdateUserPrefsResolver",1,["client_sdk::api::commands::user::UpdateUserPrefsResolver"]],["impl Send for UpdateUserProfile",1,["client_sdk::api::commands::user::UpdateUserProfile"]],["impl Send for UpdateUserProfileBody",1,["client_sdk::api::commands::user::UpdateUserProfileBody"]],["impl Send for UpdateUserProfileBodyResolver",1,["client_sdk::api::commands::user::UpdateUserProfileBodyResolver"]],["impl Send for UpdateUserProfileResolver",1,["client_sdk::api::commands::user::UpdateUserProfileResolver"]],["impl Send for UserLogin",1,["client_sdk::api::commands::user::UserLogin"]],["impl Send for UserLoginForm",1,["client_sdk::api::commands::user::UserLoginForm"]],["impl Send for UserLoginFormResolver",1,["client_sdk::api::commands::user::UserLoginFormResolver"]],["impl Send for UserLoginResolver",1,["client_sdk::api::commands::user::UserLoginResolver"]],["impl Send for UserLogout",1,["client_sdk::api::commands::user::UserLogout"]],["impl Send for UserLogoutResolver",1,["client_sdk::api::commands::user::UserLogoutResolver"]],["impl Send for UserRegister",1,["client_sdk::api::commands::user::UserRegister"]],["impl Send for UserRegisterForm",1,["client_sdk::api::commands::user::UserRegisterForm"]],["impl Send for UserRegisterFormResolver",1,["client_sdk::api::commands::user::UserRegisterFormResolver"]],["impl Send for UserRegisterResolver",1,["client_sdk::api::commands::user::UserRegisterResolver"]],["impl Send for ApiError",1,["client_sdk::api::error::ApiError"]],["impl Send for ApiErrorResolver",1,["client_sdk::api::error::ApiErrorResolver"]],["impl Send for ArchivedApiError",1,["client_sdk::api::error::ArchivedApiError"]],["impl Send for ArchivedApiErrorCode",1,["client_sdk::api::error::api_error_code_impl::ArchivedApiErrorCode"]],["impl Send for GatewayQueryParams",1,["client_sdk::api::gateway::GatewayQueryParams"]],["impl Send for CommandFlags",1,["client_sdk::api::command::CommandFlags"]],["impl Send for MissingItemError",1,["client_sdk::api::command::MissingItemError"]],["impl Send for RateLimit",1,["client_sdk::api::command::RateLimit"]],["impl Send for Client",1,["client_sdk::client::Client"]],["impl Send for Driver",1,["client_sdk::driver::Driver"]],["impl Send for StandardContext",1,["client_sdk::framework::standard::ctx::StandardContext"]],["impl Send for GatewayConnection",1,["client_sdk::gateway::conn::GatewayConnection"]],["impl Send for GatewayConnectionControl",1,["client_sdk::gateway::conn::GatewayConnectionControl"]],["impl Send for GatewaySocket",1,["client_sdk::gateway::socket::GatewaySocket"]],["impl Send for ArchivedAssetFlags",1,["client_sdk::models::asset::ArchivedAssetFlags"]],["impl Send for AssetFlags",1,["client_sdk::models::asset::AssetFlags"]],["impl Send for InvalidAuthToken",1,["client_sdk::models::auth::InvalidAuthToken"]],["impl Send for ArchivedServerConfig",1,["client_sdk::models::config::ArchivedServerConfig"]],["impl Send for ArchivedServerLimits",1,["client_sdk::models::config::ArchivedServerLimits"]],["impl Send for ServerConfig",1,["client_sdk::models::config::ServerConfig"]],["impl Send for ServerConfigResolver",1,["client_sdk::models::config::ServerConfigResolver"]],["impl Send for ServerLimits",1,["client_sdk::models::config::ServerLimits"]],["impl Send for ServerLimitsResolver",1,["client_sdk::models::config::ServerLimitsResolver"]],["impl Send for ArchivedBasicEmbedMedia",1,["client_sdk::models::embed::v1::ArchivedBasicEmbedMedia"]],["impl Send for ArchivedEmbedAuthor",1,["client_sdk::models::embed::v1::ArchivedEmbedAuthor"]],["impl Send for ArchivedEmbedField",1,["client_sdk::models::embed::v1::ArchivedEmbedField"]],["impl Send for ArchivedEmbedFlags",1,["client_sdk::models::embed::v1::ArchivedEmbedFlags"]],["impl Send for ArchivedEmbedFooter",1,["client_sdk::models::embed::v1::ArchivedEmbedFooter"]],["impl Send for ArchivedEmbedMedia",1,["client_sdk::models::embed::v1::ArchivedEmbedMedia"]],["impl Send for ArchivedEmbedProvider",1,["client_sdk::models::embed::v1::ArchivedEmbedProvider"]],["impl Send for ArchivedEmbedV1",1,["client_sdk::models::embed::v1::ArchivedEmbedV1"]],["impl Send for BasicEmbedMedia",1,["client_sdk::models::embed::v1::BasicEmbedMedia"]],["impl Send for BasicEmbedMediaResolver",1,["client_sdk::models::embed::v1::BasicEmbedMediaResolver"]],["impl Send for EmbedAuthor",1,["client_sdk::models::embed::v1::EmbedAuthor"]],["impl Send for EmbedAuthorResolver",1,["client_sdk::models::embed::v1::EmbedAuthorResolver"]],["impl Send for EmbedField",1,["client_sdk::models::embed::v1::EmbedField"]],["impl Send for EmbedFieldResolver",1,["client_sdk::models::embed::v1::EmbedFieldResolver"]],["impl Send for EmbedFlags",1,["client_sdk::models::embed::v1::EmbedFlags"]],["impl Send for EmbedFooter",1,["client_sdk::models::embed::v1::EmbedFooter"]],["impl Send for EmbedFooterResolver",1,["client_sdk::models::embed::v1::EmbedFooterResolver"]],["impl Send for EmbedMedia",1,["client_sdk::models::embed::v1::EmbedMedia"]],["impl Send for EmbedMediaResolver",1,["client_sdk::models::embed::v1::EmbedMediaResolver"]],["impl Send for EmbedProvider",1,["client_sdk::models::embed::v1::EmbedProvider"]],["impl Send for EmbedProviderResolver",1,["client_sdk::models::embed::v1::EmbedProviderResolver"]],["impl Send for EmbedV1",1,["client_sdk::models::embed::v1::EmbedV1"]],["impl Send for EmbedV1Resolver",1,["client_sdk::models::embed::v1::EmbedV1Resolver"]],["impl Send for ArchivedCustomEmote",1,["client_sdk::models::emote::ArchivedCustomEmote"]],["impl Send for ArchivedEmoteFlags",1,["client_sdk::models::emote::ArchivedEmoteFlags"]],["impl Send for CustomEmote",1,["client_sdk::models::emote::CustomEmote"]],["impl Send for CustomEmoteResolver",1,["client_sdk::models::emote::CustomEmoteResolver"]],["impl Send for EmoteFlags",1,["client_sdk::models::emote::EmoteFlags"]],["impl Send for ArchivedFile",1,["client_sdk::models::file::ArchivedFile"]],["impl Send for File",1,["client_sdk::models::file::File"]],["impl Send for FileResolver",1,["client_sdk::models::file::FileResolver"]],["impl Send for FileUpload",1,["client_sdk::models::file::FileUpload"]],["impl Send for ArchivedIdentify",1,["client_sdk::models::gateway::commands::ArchivedIdentify"]],["impl Send for ArchivedSetPresence",1,["client_sdk::models::gateway::commands::ArchivedSetPresence"]],["impl Send for Identify",1,["client_sdk::models::gateway::commands::Identify"]],["impl Send for IdentifyResolver",1,["client_sdk::models::gateway::commands::IdentifyResolver"]],["impl Send for SetPresence",1,["client_sdk::models::gateway::commands::SetPresence"]],["impl Send for SetPresenceResolver",1,["client_sdk::models::gateway::commands::SetPresenceResolver"]],["impl Send for ArchivedHello",1,["client_sdk::models::gateway::events::ArchivedHello"]],["impl Send for ArchivedMessageDeleteEvent",1,["client_sdk::models::gateway::events::ArchivedMessageDeleteEvent"]],["impl Send for ArchivedPartyMemberEvent",1,["client_sdk::models::gateway::events::ArchivedPartyMemberEvent"]],["impl Send for ArchivedPartyPositionUpdate",1,["client_sdk::models::gateway::events::ArchivedPartyPositionUpdate"]],["impl Send for ArchivedProfileUpdateEvent",1,["client_sdk::models::gateway::events::ArchivedProfileUpdateEvent"]],["impl Send for ArchivedReady",1,["client_sdk::models::gateway::events::ArchivedReady"]],["impl Send for ArchivedReadyParty",1,["client_sdk::models::gateway::events::ArchivedReadyParty"]],["impl Send for ArchivedRoleDeleteEvent",1,["client_sdk::models::gateway::events::ArchivedRoleDeleteEvent"]],["impl Send for ArchivedRoomDeleteEvent",1,["client_sdk::models::gateway::events::ArchivedRoomDeleteEvent"]],["impl Send for ArchivedTypingStart",1,["client_sdk::models::gateway::events::ArchivedTypingStart"]],["impl Send for ArchivedUserPresenceEvent",1,["client_sdk::models::gateway::events::ArchivedUserPresenceEvent"]],["impl Send for ArchivedUserReactionEvent",1,["client_sdk::models::gateway::events::ArchivedUserReactionEvent"]],["impl Send for Hello",1,["client_sdk::models::gateway::events::Hello"]],["impl Send for HelloResolver",1,["client_sdk::models::gateway::events::HelloResolver"]],["impl Send for MessageDeleteEvent",1,["client_sdk::models::gateway::events::MessageDeleteEvent"]],["impl Send for MessageDeleteEventResolver",1,["client_sdk::models::gateway::events::MessageDeleteEventResolver"]],["impl Send for PartyMemberEvent",1,["client_sdk::models::gateway::events::PartyMemberEvent"]],["impl Send for PartyMemberEventResolver",1,["client_sdk::models::gateway::events::PartyMemberEventResolver"]],["impl Send for PartyPositionUpdate",1,["client_sdk::models::gateway::events::PartyPositionUpdate"]],["impl Send for PartyPositionUpdateResolver",1,["client_sdk::models::gateway::events::PartyPositionUpdateResolver"]],["impl Send for ProfileUpdateEvent",1,["client_sdk::models::gateway::events::ProfileUpdateEvent"]],["impl Send for ProfileUpdateEventResolver",1,["client_sdk::models::gateway::events::ProfileUpdateEventResolver"]],["impl Send for Ready",1,["client_sdk::models::gateway::events::Ready"]],["impl Send for ReadyParty",1,["client_sdk::models::gateway::events::ReadyParty"]],["impl Send for ReadyPartyResolver",1,["client_sdk::models::gateway::events::ReadyPartyResolver"]],["impl Send for ReadyResolver",1,["client_sdk::models::gateway::events::ReadyResolver"]],["impl Send for RoleDeleteEvent",1,["client_sdk::models::gateway::events::RoleDeleteEvent"]],["impl Send for RoleDeleteEventResolver",1,["client_sdk::models::gateway::events::RoleDeleteEventResolver"]],["impl Send for RoomDeleteEvent",1,["client_sdk::models::gateway::events::RoomDeleteEvent"]],["impl Send for RoomDeleteEventResolver",1,["client_sdk::models::gateway::events::RoomDeleteEventResolver"]],["impl Send for TypingStart",1,["client_sdk::models::gateway::events::TypingStart"]],["impl Send for TypingStartResolver",1,["client_sdk::models::gateway::events::TypingStartResolver"]],["impl Send for UserPresenceEvent",1,["client_sdk::models::gateway::events::UserPresenceEvent"]],["impl Send for UserPresenceEventResolver",1,["client_sdk::models::gateway::events::UserPresenceEventResolver"]],["impl Send for UserReactionEvent",1,["client_sdk::models::gateway::events::UserReactionEvent"]],["impl Send for UserReactionEventResolver",1,["client_sdk::models::gateway::events::UserReactionEventResolver"]],["impl Send for ArchivedHeartbeatPayload",1,["client_sdk::models::gateway::message::client_msg_payloads::ArchivedHeartbeatPayload"]],["impl Send for ArchivedIdentifyPayload",1,["client_sdk::models::gateway::message::client_msg_payloads::ArchivedIdentifyPayload"]],["impl Send for ArchivedResumePayload",1,["client_sdk::models::gateway::message::client_msg_payloads::ArchivedResumePayload"]],["impl Send for ArchivedSetPresencePayload",1,["client_sdk::models::gateway::message::client_msg_payloads::ArchivedSetPresencePayload"]],["impl Send for ArchivedSubscribePayload",1,["client_sdk::models::gateway::message::client_msg_payloads::ArchivedSubscribePayload"]],["impl Send for ArchivedUnsubscribePayload",1,["client_sdk::models::gateway::message::client_msg_payloads::ArchivedUnsubscribePayload"]],["impl Send for HeartbeatPayload",1,["client_sdk::models::gateway::message::client_msg_payloads::HeartbeatPayload"]],["impl Send for HeartbeatPayloadResolver",1,["client_sdk::models::gateway::message::client_msg_payloads::HeartbeatPayloadResolver"]],["impl Send for IdentifyPayload",1,["client_sdk::models::gateway::message::client_msg_payloads::IdentifyPayload"]],["impl Send for IdentifyPayloadResolver",1,["client_sdk::models::gateway::message::client_msg_payloads::IdentifyPayloadResolver"]],["impl Send for ResumePayload",1,["client_sdk::models::gateway::message::client_msg_payloads::ResumePayload"]],["impl Send for ResumePayloadResolver",1,["client_sdk::models::gateway::message::client_msg_payloads::ResumePayloadResolver"]],["impl Send for SetPresencePayload",1,["client_sdk::models::gateway::message::client_msg_payloads::SetPresencePayload"]],["impl Send for SetPresencePayloadResolver",1,["client_sdk::models::gateway::message::client_msg_payloads::SetPresencePayloadResolver"]],["impl Send for SubscribePayload",1,["client_sdk::models::gateway::message::client_msg_payloads::SubscribePayload"]],["impl Send for SubscribePayloadResolver",1,["client_sdk::models::gateway::message::client_msg_payloads::SubscribePayloadResolver"]],["impl Send for UnsubscribePayload",1,["client_sdk::models::gateway::message::client_msg_payloads::UnsubscribePayload"]],["impl Send for UnsubscribePayloadResolver",1,["client_sdk::models::gateway::message::client_msg_payloads::UnsubscribePayloadResolver"]],["impl Send for ArchivedHeartbeatAckPayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ArchivedHeartbeatAckPayload"]],["impl Send for ArchivedHelloPayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ArchivedHelloPayload"]],["impl Send for ArchivedInvalidSessionPayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ArchivedInvalidSessionPayload"]],["impl Send for ArchivedMemberAddPayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ArchivedMemberAddPayload"]],["impl Send for ArchivedMemberBanPayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ArchivedMemberBanPayload"]],["impl Send for ArchivedMemberRemovePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ArchivedMemberRemovePayload"]],["impl Send for ArchivedMemberUnbanPayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ArchivedMemberUnbanPayload"]],["impl Send for ArchivedMemberUpdatePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ArchivedMemberUpdatePayload"]],["impl Send for ArchivedMessageCreatePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ArchivedMessageCreatePayload"]],["impl Send for ArchivedMessageDeletePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ArchivedMessageDeletePayload"]],["impl Send for ArchivedMessageReactionAddPayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ArchivedMessageReactionAddPayload"]],["impl Send for ArchivedMessageReactionRemoveAllPayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ArchivedMessageReactionRemoveAllPayload"]],["impl Send for ArchivedMessageReactionRemoveEmotePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ArchivedMessageReactionRemoveEmotePayload"]],["impl Send for ArchivedMessageReactionRemovePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ArchivedMessageReactionRemovePayload"]],["impl Send for ArchivedMessageUpdatePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ArchivedMessageUpdatePayload"]],["impl Send for ArchivedPartyCreatePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ArchivedPartyCreatePayload"]],["impl Send for ArchivedPartyDeletePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ArchivedPartyDeletePayload"]],["impl Send for ArchivedPartyUpdatePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ArchivedPartyUpdatePayload"]],["impl Send for ArchivedPresenceUpdatePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ArchivedPresenceUpdatePayload"]],["impl Send for ArchivedProfileUpdatePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ArchivedProfileUpdatePayload"]],["impl Send for ArchivedReadyPayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ArchivedReadyPayload"]],["impl Send for ArchivedRelationAddPayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ArchivedRelationAddPayload"]],["impl Send for ArchivedRelationRemovePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ArchivedRelationRemovePayload"]],["impl Send for ArchivedRoleCreatePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ArchivedRoleCreatePayload"]],["impl Send for ArchivedRoleDeletePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ArchivedRoleDeletePayload"]],["impl Send for ArchivedRoleUpdatePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ArchivedRoleUpdatePayload"]],["impl Send for ArchivedRoomCreatePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ArchivedRoomCreatePayload"]],["impl Send for ArchivedRoomDeletePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ArchivedRoomDeletePayload"]],["impl Send for ArchivedRoomPinsUpdatePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ArchivedRoomPinsUpdatePayload"]],["impl Send for ArchivedRoomUpdatePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ArchivedRoomUpdatePayload"]],["impl Send for ArchivedTypingStartPayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ArchivedTypingStartPayload"]],["impl Send for ArchivedUserUpdatePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ArchivedUserUpdatePayload"]],["impl Send for HeartbeatAckPayload",1,["client_sdk::models::gateway::message::server_msg_payloads::HeartbeatAckPayload"]],["impl Send for HeartbeatAckPayloadResolver",1,["client_sdk::models::gateway::message::server_msg_payloads::HeartbeatAckPayloadResolver"]],["impl Send for HelloPayload",1,["client_sdk::models::gateway::message::server_msg_payloads::HelloPayload"]],["impl Send for HelloPayloadResolver",1,["client_sdk::models::gateway::message::server_msg_payloads::HelloPayloadResolver"]],["impl Send for InvalidSessionPayload",1,["client_sdk::models::gateway::message::server_msg_payloads::InvalidSessionPayload"]],["impl Send for InvalidSessionPayloadResolver",1,["client_sdk::models::gateway::message::server_msg_payloads::InvalidSessionPayloadResolver"]],["impl Send for MemberAddPayload",1,["client_sdk::models::gateway::message::server_msg_payloads::MemberAddPayload"]],["impl Send for MemberAddPayloadResolver",1,["client_sdk::models::gateway::message::server_msg_payloads::MemberAddPayloadResolver"]],["impl Send for MemberBanPayload",1,["client_sdk::models::gateway::message::server_msg_payloads::MemberBanPayload"]],["impl Send for MemberBanPayloadResolver",1,["client_sdk::models::gateway::message::server_msg_payloads::MemberBanPayloadResolver"]],["impl Send for MemberRemovePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::MemberRemovePayload"]],["impl Send for MemberRemovePayloadResolver",1,["client_sdk::models::gateway::message::server_msg_payloads::MemberRemovePayloadResolver"]],["impl Send for MemberUnbanPayload",1,["client_sdk::models::gateway::message::server_msg_payloads::MemberUnbanPayload"]],["impl Send for MemberUnbanPayloadResolver",1,["client_sdk::models::gateway::message::server_msg_payloads::MemberUnbanPayloadResolver"]],["impl Send for MemberUpdatePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::MemberUpdatePayload"]],["impl Send for MemberUpdatePayloadResolver",1,["client_sdk::models::gateway::message::server_msg_payloads::MemberUpdatePayloadResolver"]],["impl Send for MessageCreatePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::MessageCreatePayload"]],["impl Send for MessageCreatePayloadResolver",1,["client_sdk::models::gateway::message::server_msg_payloads::MessageCreatePayloadResolver"]],["impl Send for MessageDeletePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::MessageDeletePayload"]],["impl Send for MessageDeletePayloadResolver",1,["client_sdk::models::gateway::message::server_msg_payloads::MessageDeletePayloadResolver"]],["impl Send for MessageReactionAddPayload",1,["client_sdk::models::gateway::message::server_msg_payloads::MessageReactionAddPayload"]],["impl Send for MessageReactionAddPayloadResolver",1,["client_sdk::models::gateway::message::server_msg_payloads::MessageReactionAddPayloadResolver"]],["impl Send for MessageReactionRemoveAllPayload",1,["client_sdk::models::gateway::message::server_msg_payloads::MessageReactionRemoveAllPayload"]],["impl Send for MessageReactionRemoveAllPayloadResolver",1,["client_sdk::models::gateway::message::server_msg_payloads::MessageReactionRemoveAllPayloadResolver"]],["impl Send for MessageReactionRemoveEmotePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::MessageReactionRemoveEmotePayload"]],["impl Send for MessageReactionRemoveEmotePayloadResolver",1,["client_sdk::models::gateway::message::server_msg_payloads::MessageReactionRemoveEmotePayloadResolver"]],["impl Send for MessageReactionRemovePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::MessageReactionRemovePayload"]],["impl Send for MessageReactionRemovePayloadResolver",1,["client_sdk::models::gateway::message::server_msg_payloads::MessageReactionRemovePayloadResolver"]],["impl Send for MessageUpdatePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::MessageUpdatePayload"]],["impl Send for MessageUpdatePayloadResolver",1,["client_sdk::models::gateway::message::server_msg_payloads::MessageUpdatePayloadResolver"]],["impl Send for PartyCreatePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::PartyCreatePayload"]],["impl Send for PartyCreatePayloadResolver",1,["client_sdk::models::gateway::message::server_msg_payloads::PartyCreatePayloadResolver"]],["impl Send for PartyDeletePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::PartyDeletePayload"]],["impl Send for PartyDeletePayloadResolver",1,["client_sdk::models::gateway::message::server_msg_payloads::PartyDeletePayloadResolver"]],["impl Send for PartyUpdatePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::PartyUpdatePayload"]],["impl Send for PartyUpdatePayloadResolver",1,["client_sdk::models::gateway::message::server_msg_payloads::PartyUpdatePayloadResolver"]],["impl Send for PresenceUpdatePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::PresenceUpdatePayload"]],["impl Send for PresenceUpdatePayloadResolver",1,["client_sdk::models::gateway::message::server_msg_payloads::PresenceUpdatePayloadResolver"]],["impl Send for ProfileUpdatePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ProfileUpdatePayload"]],["impl Send for ProfileUpdatePayloadResolver",1,["client_sdk::models::gateway::message::server_msg_payloads::ProfileUpdatePayloadResolver"]],["impl Send for ReadyPayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ReadyPayload"]],["impl Send for ReadyPayloadResolver",1,["client_sdk::models::gateway::message::server_msg_payloads::ReadyPayloadResolver"]],["impl Send for RelationAddPayload",1,["client_sdk::models::gateway::message::server_msg_payloads::RelationAddPayload"]],["impl Send for RelationAddPayloadResolver",1,["client_sdk::models::gateway::message::server_msg_payloads::RelationAddPayloadResolver"]],["impl Send for RelationRemovePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::RelationRemovePayload"]],["impl Send for RelationRemovePayloadResolver",1,["client_sdk::models::gateway::message::server_msg_payloads::RelationRemovePayloadResolver"]],["impl Send for RoleCreatePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::RoleCreatePayload"]],["impl Send for RoleCreatePayloadResolver",1,["client_sdk::models::gateway::message::server_msg_payloads::RoleCreatePayloadResolver"]],["impl Send for RoleDeletePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::RoleDeletePayload"]],["impl Send for RoleDeletePayloadResolver",1,["client_sdk::models::gateway::message::server_msg_payloads::RoleDeletePayloadResolver"]],["impl Send for RoleUpdatePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::RoleUpdatePayload"]],["impl Send for RoleUpdatePayloadResolver",1,["client_sdk::models::gateway::message::server_msg_payloads::RoleUpdatePayloadResolver"]],["impl Send for RoomCreatePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::RoomCreatePayload"]],["impl Send for RoomCreatePayloadResolver",1,["client_sdk::models::gateway::message::server_msg_payloads::RoomCreatePayloadResolver"]],["impl Send for RoomDeletePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::RoomDeletePayload"]],["impl Send for RoomDeletePayloadResolver",1,["client_sdk::models::gateway::message::server_msg_payloads::RoomDeletePayloadResolver"]],["impl Send for RoomPinsUpdatePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::RoomPinsUpdatePayload"]],["impl Send for RoomPinsUpdatePayloadResolver",1,["client_sdk::models::gateway::message::server_msg_payloads::RoomPinsUpdatePayloadResolver"]],["impl Send for RoomUpdatePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::RoomUpdatePayload"]],["impl Send for RoomUpdatePayloadResolver",1,["client_sdk::models::gateway::message::server_msg_payloads::RoomUpdatePayloadResolver"]],["impl Send for TypingStartPayload",1,["client_sdk::models::gateway::message::server_msg_payloads::TypingStartPayload"]],["impl Send for TypingStartPayloadResolver",1,["client_sdk::models::gateway::message::server_msg_payloads::TypingStartPayloadResolver"]],["impl Send for UserUpdatePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::UserUpdatePayload"]],["impl Send for UserUpdatePayloadResolver",1,["client_sdk::models::gateway::message::server_msg_payloads::UserUpdatePayloadResolver"]],["impl Send for ArchivedIntent",1,["client_sdk::models::gateway::ArchivedIntent"]],["impl Send for Intent",1,["client_sdk::models::gateway::Intent"]],["impl Send for ArchivedInvite",1,["client_sdk::models::invite::ArchivedInvite"]],["impl Send for Invite",1,["client_sdk::models::invite::Invite"]],["impl Send for InviteResolver",1,["client_sdk::models::invite::InviteResolver"]],["impl Send for ArchivedAttachment",1,["client_sdk::models::message::ArchivedAttachment"]],["impl Send for ArchivedMessage",1,["client_sdk::models::message::ArchivedMessage"]],["impl Send for ArchivedMessageFlags",1,["client_sdk::models::message::ArchivedMessageFlags"]],["impl Send for ArchivedReactionFull",1,["client_sdk::models::message::ArchivedReactionFull"]],["impl Send for ArchivedReactionShorthand",1,["client_sdk::models::message::ArchivedReactionShorthand"]],["impl Send for Attachment",1,["client_sdk::models::message::Attachment"]],["impl Send for AttachmentResolver",1,["client_sdk::models::message::AttachmentResolver"]],["impl Send for Message",1,["client_sdk::models::message::Message"]],["impl Send for MessageFlags",1,["client_sdk::models::message::MessageFlags"]],["impl Send for MessageResolver",1,["client_sdk::models::message::MessageResolver"]],["impl Send for ReactionFull",1,["client_sdk::models::message::ReactionFull"]],["impl Send for ReactionFullResolver",1,["client_sdk::models::message::ReactionFullResolver"]],["impl Send for ReactionShorthand",1,["client_sdk::models::message::ReactionShorthand"]],["impl Send for ReactionShorthandResolver",1,["client_sdk::models::message::ReactionShorthandResolver"]],["impl Send for ArchivedPartialParty",1,["client_sdk::models::party::ArchivedPartialParty"]],["impl Send for ArchivedParty",1,["client_sdk::models::party::ArchivedParty"]],["impl Send for ArchivedPartyFlags",1,["client_sdk::models::party::ArchivedPartyFlags"]],["impl Send for ArchivedPartyMember",1,["client_sdk::models::party::ArchivedPartyMember"]],["impl Send for ArchivedPartyMemberFlags",1,["client_sdk::models::party::ArchivedPartyMemberFlags"]],["impl Send for ArchivedPartyPreferences",1,["client_sdk::models::party::prefs::ArchivedPartyPreferences"]],["impl Send for ArchivedPartyPrefsFlags",1,["client_sdk::models::party::prefs::ArchivedPartyPrefsFlags"]],["impl Send for ArchivedPinFolder",1,["client_sdk::models::party::ArchivedPinFolder"]],["impl Send for ArchivedPinFolderFlags",1,["client_sdk::models::party::ArchivedPinFolderFlags"]],["impl Send for PartialParty",1,["client_sdk::models::party::PartialParty"]],["impl Send for PartialPartyResolver",1,["client_sdk::models::party::PartialPartyResolver"]],["impl Send for Party",1,["client_sdk::models::party::Party"]],["impl Send for PartyFlags",1,["client_sdk::models::party::PartyFlags"]],["impl Send for PartyMember",1,["client_sdk::models::party::PartyMember"]],["impl Send for PartyMemberFlags",1,["client_sdk::models::party::PartyMemberFlags"]],["impl Send for PartyMemberResolver",1,["client_sdk::models::party::PartyMemberResolver"]],["impl Send for PartyPreferences",1,["client_sdk::models::party::prefs::PartyPreferences"]],["impl Send for PartyPreferencesResolver",1,["client_sdk::models::party::prefs::PartyPreferencesResolver"]],["impl Send for PartyPrefsFlags",1,["client_sdk::models::party::prefs::PartyPrefsFlags"]],["impl Send for PartyResolver",1,["client_sdk::models::party::PartyResolver"]],["impl Send for PinFolder",1,["client_sdk::models::party::PinFolder"]],["impl Send for PinFolderFlags",1,["client_sdk::models::party::PinFolderFlags"]],["impl Send for PinFolderResolver",1,["client_sdk::models::party::PinFolderResolver"]],["impl Send for ArchivedOverwrite",1,["client_sdk::models::permission::ArchivedOverwrite"]],["impl Send for ArchivedPermissions",1,["client_sdk::models::permission::ArchivedPermissions"]],["impl Send for Overwrite",1,["client_sdk::models::permission::Overwrite"]],["impl Send for OverwriteResolver",1,["client_sdk::models::permission::OverwriteResolver"]],["impl Send for Permissions",1,["client_sdk::models::permission::Permissions"]],["impl Send for Activity",1,["client_sdk::models::presence::Activity"]],["impl Send for ActivityResolver",1,["client_sdk::models::presence::ActivityResolver"]],["impl Send for ArchivedActivity",1,["client_sdk::models::presence::ArchivedActivity"]],["impl Send for ArchivedUserPresence",1,["client_sdk::models::presence::ArchivedUserPresence"]],["impl Send for ArchivedUserPresenceFlags",1,["client_sdk::models::presence::ArchivedUserPresenceFlags"]],["impl Send for UserPresence",1,["client_sdk::models::presence::UserPresence"]],["impl Send for UserPresenceFlags",1,["client_sdk::models::presence::UserPresenceFlags"]],["impl Send for UserPresenceResolver",1,["client_sdk::models::presence::UserPresenceResolver"]],["impl Send for ArchivedRole",1,["client_sdk::models::role::ArchivedRole"]],["impl Send for ArchivedRoleFlags",1,["client_sdk::models::role::ArchivedRoleFlags"]],["impl Send for Role",1,["client_sdk::models::role::Role"]],["impl Send for RoleFlags",1,["client_sdk::models::role::RoleFlags"]],["impl Send for RoleResolver",1,["client_sdk::models::role::RoleResolver"]],["impl Send for ArchivedFullRoom",1,["client_sdk::models::room::ArchivedFullRoom"]],["impl Send for ArchivedRoom",1,["client_sdk::models::room::ArchivedRoom"]],["impl Send for ArchivedRoomFlags",1,["client_sdk::models::room::ArchivedRoomFlags"]],["impl Send for FullRoom",1,["client_sdk::models::room::FullRoom"]],["impl Send for FullRoomResolver",1,["client_sdk::models::room::FullRoomResolver"]],["impl Send for Room",1,["client_sdk::models::room::Room"]],["impl Send for RoomFlags",1,["client_sdk::models::room::RoomFlags"]],["impl Send for RoomResolver",1,["client_sdk::models::room::RoomResolver"]],["impl Send for AnonymousSession",1,["client_sdk::models::session::AnonymousSession"]],["impl Send for AnonymousSessionResolver",1,["client_sdk::models::session::AnonymousSessionResolver"]],["impl Send for ArchivedAnonymousSession",1,["client_sdk::models::session::ArchivedAnonymousSession"]],["impl Send for ArchivedSession",1,["client_sdk::models::session::ArchivedSession"]],["impl Send for Session",1,["client_sdk::models::session::Session"]],["impl Send for SessionResolver",1,["client_sdk::models::session::SessionResolver"]],["impl Send for ArchivedRoomStatistics",1,["client_sdk::models::stats::ArchivedRoomStatistics"]],["impl Send for RoomStatistics",1,["client_sdk::models::stats::RoomStatistics"]],["impl Send for RoomStatisticsResolver",1,["client_sdk::models::stats::RoomStatisticsResolver"]],["impl Send for Statistics",1,["client_sdk::models::stats::Statistics"]],["impl Send for FxRandomState2",1,["client_sdk::models::FxRandomState2"]],["impl Send for ArchivedThread",1,["client_sdk::models::thread::ArchivedThread"]],["impl Send for ArchivedThreadFlags",1,["client_sdk::models::thread::ArchivedThreadFlags"]],["impl Send for Thread",1,["client_sdk::models::thread::Thread"]],["impl Send for ThreadFlags",1,["client_sdk::models::thread::ThreadFlags"]],["impl Send for ThreadResolver",1,["client_sdk::models::thread::ThreadResolver"]],["impl Send for ArchivedFontSize",1,["client_sdk::models::user::prefs::preferences::ArchivedFontSize"]],["impl Send for ArchivedPadding",1,["client_sdk::models::user::prefs::preferences::ArchivedPadding"]],["impl Send for ArchivedTabSize",1,["client_sdk::models::user::prefs::preferences::ArchivedTabSize"]],["impl Send for ArchivedTemperature",1,["client_sdk::models::user::prefs::preferences::ArchivedTemperature"]],["impl Send for FontSize",1,["client_sdk::models::user::prefs::preferences::FontSize"]],["impl Send for FontSizeResolver",1,["client_sdk::models::user::prefs::preferences::FontSizeResolver"]],["impl Send for Padding",1,["client_sdk::models::user::prefs::preferences::Padding"]],["impl Send for PaddingResolver",1,["client_sdk::models::user::prefs::preferences::PaddingResolver"]],["impl Send for TabSize",1,["client_sdk::models::user::prefs::preferences::TabSize"]],["impl Send for TabSizeResolver",1,["client_sdk::models::user::prefs::preferences::TabSizeResolver"]],["impl Send for Temperature",1,["client_sdk::models::user::prefs::preferences::Temperature"]],["impl Send for TemperatureResolver",1,["client_sdk::models::user::prefs::preferences::TemperatureResolver"]],["impl Send for ArchivedExtraUserProfileBits",1,["client_sdk::models::user::ArchivedExtraUserProfileBits"]],["impl Send for ArchivedFont",1,["client_sdk::models::user::prefs::font_impl::ArchivedFont"]],["impl Send for ArchivedFriendAddability",1,["client_sdk::models::user::prefs::friend_addability_impl::ArchivedFriendAddability"]],["impl Send for ArchivedLocale",1,["client_sdk::models::user::prefs::locale_impl::ArchivedLocale"]],["impl Send for ArchivedRelationship",1,["client_sdk::models::user::ArchivedRelationship"]],["impl Send for ArchivedUser",1,["client_sdk::models::user::ArchivedUser"]],["impl Send for ArchivedUserFlags",1,["client_sdk::models::user::ArchivedUserFlags"]],["impl Send for ArchivedUserPreferences",1,["client_sdk::models::user::prefs::ArchivedUserPreferences"]],["impl Send for ArchivedUserPrefsFlags",1,["client_sdk::models::user::prefs::ArchivedUserPrefsFlags"]],["impl Send for ArchivedUserProfile",1,["client_sdk::models::user::ArchivedUserProfile"]],["impl Send for ArchivedUserProfileBits",1,["client_sdk::models::user::ArchivedUserProfileBits"]],["impl Send for ArchivedUserRelationship",1,["client_sdk::models::user::user_relationship_impl::ArchivedUserRelationship"]],["impl Send for ExtraUserProfileBits",1,["client_sdk::models::user::ExtraUserProfileBits"]],["impl Send for Relationship",1,["client_sdk::models::user::Relationship"]],["impl Send for RelationshipResolver",1,["client_sdk::models::user::RelationshipResolver"]],["impl Send for User",1,["client_sdk::models::user::User"]],["impl Send for UserFlags",1,["client_sdk::models::user::UserFlags"]],["impl Send for UserPreferences",1,["client_sdk::models::user::prefs::UserPreferences"]],["impl Send for UserPreferencesResolver",1,["client_sdk::models::user::prefs::UserPreferencesResolver"]],["impl Send for UserPrefsFlags",1,["client_sdk::models::user::prefs::UserPrefsFlags"]],["impl Send for UserProfile",1,["client_sdk::models::user::UserProfile"]],["impl Send for UserProfileBits",1,["client_sdk::models::user::UserProfileBits"]],["impl Send for UserProfileResolver",1,["client_sdk::models::user::UserProfileResolver"]],["impl Send for UserResolver",1,["client_sdk::models::user::UserResolver"]],["impl Send for FromUtf8Error",1,["client_sdk::models::util::thin_str::FromUtf8Error"]],["impl Send for ThinString",1,["client_sdk::models::util::thin_str::ThinString"]],["impl<'a> Send for Argument<'a>",1,["client_sdk::framework_utils::args::Argument"]],["impl<'a> Send for ArgumentSplitter<'a>",1,["client_sdk::framework_utils::args::ArgumentSplitter"]],["impl<C, U, S> Send for DynamicClientMsgHandlers<C, U, S>
where\n S: Sync + Send,
",1,["client_sdk::models::gateway::message::DynamicClientMsgHandlers"]],["impl<C, U, S> Send for DynamicServerMsgHandlers<C, U, S>
where\n S: Sync + Send,
",1,["client_sdk::models::gateway::message::DynamicServerMsgHandlers"]],["impl<H, E = StandardError> !Send for Standard<H, E>",1,["client_sdk::framework::standard::Standard"]],["impl<T> Send for Nullable<T>
where\n T: Send,
",1,["client_sdk::models::nullable::Nullable"]],["impl<const N: usize> Send for FixedStr<N>",1,["client_sdk::models::util::fixed_str::FixedStr"]]]]]); + if (window.register_implementors) { + window.register_implementors(implementors); + } else { + window.pending_implementors = implementors; + } +})() +//{"start":57,"fragment_lengths":[262616]} \ No newline at end of file diff --git a/trait.impl/core/marker/trait.StructuralPartialEq.js b/trait.impl/core/marker/trait.StructuralPartialEq.js new file mode 100644 index 000000000..39ca02251 --- /dev/null +++ b/trait.impl/core/marker/trait.StructuralPartialEq.js @@ -0,0 +1,9 @@ +(function() { + var implementors = Object.fromEntries([["client_sdk",[["impl StructuralPartialEq for CreateRoomKind"],["impl StructuralPartialEq for BannerAlign"],["impl StructuralPartialEq for ApiErrorCode"],["impl StructuralPartialEq for Encoding"],["impl StructuralPartialEq for GatewayErrorCode"],["impl StructuralPartialEq for EmbedType"],["impl StructuralPartialEq for Cursor"],["impl StructuralPartialEq for ArchivedMessageKind"],["impl StructuralPartialEq for MessageKind"],["impl StructuralPartialEq for RoomKind"],["impl StructuralPartialEq for ElevationLevel"],["impl StructuralPartialEq for Font"],["impl StructuralPartialEq for FriendAddability"],["impl StructuralPartialEq for Locale"],["impl StructuralPartialEq for UserRelationship"],["impl StructuralPartialEq for FileStatus"],["impl StructuralPartialEq for FilesystemStatus"],["impl StructuralPartialEq for PatchPartyForm"],["impl StructuralPartialEq for PatchRoleForm"],["impl StructuralPartialEq for PatchRoomForm"],["impl StructuralPartialEq for Added2FA"],["impl StructuralPartialEq for ArchivedApiErrorCode"],["impl StructuralPartialEq for GatewayQueryParams"],["impl StructuralPartialEq for CommandFlags"],["impl StructuralPartialEq for MissingItemError"],["impl StructuralPartialEq for RateLimit"],["impl StructuralPartialEq for ArchivedAssetFlags"],["impl StructuralPartialEq for AssetFlags"],["impl StructuralPartialEq for ServerConfig"],["impl StructuralPartialEq for ServerLimits"],["impl StructuralPartialEq for ArchivedEmbedFlags"],["impl StructuralPartialEq for EmbedFlags"],["impl StructuralPartialEq for ArchivedEmoteFlags"],["impl StructuralPartialEq for EmoteFlags"],["impl StructuralPartialEq for HeartbeatPayload"],["impl StructuralPartialEq for HeartbeatAckPayload"],["impl StructuralPartialEq for InvalidSessionPayload"],["impl StructuralPartialEq for ArchivedIntent"],["impl StructuralPartialEq for Intent"],["impl StructuralPartialEq for ArchivedMessageFlags"],["impl StructuralPartialEq for MessageFlags"],["impl StructuralPartialEq for ArchivedPartyFlags"],["impl StructuralPartialEq for ArchivedPartyMemberFlags"],["impl StructuralPartialEq for ArchivedPartyPrefsFlags"],["impl StructuralPartialEq for ArchivedPinFolderFlags"],["impl StructuralPartialEq for PartyFlags"],["impl StructuralPartialEq for PartyMemberFlags"],["impl StructuralPartialEq for PartyPrefsFlags"],["impl StructuralPartialEq for PinFolderFlags"],["impl StructuralPartialEq for ArchivedPermissions"],["impl StructuralPartialEq for Overwrite"],["impl StructuralPartialEq for Permissions"],["impl StructuralPartialEq for ArchivedUserPresenceFlags"],["impl StructuralPartialEq for UserPresenceFlags"],["impl StructuralPartialEq for ArchivedRoleFlags"],["impl StructuralPartialEq for RoleFlags"],["impl StructuralPartialEq for ArchivedRoomFlags"],["impl StructuralPartialEq for RoomFlags"],["impl StructuralPartialEq for FxRandomState2"],["impl StructuralPartialEq for ArchivedThreadFlags"],["impl StructuralPartialEq for ThreadFlags"],["impl StructuralPartialEq for FontSize"],["impl StructuralPartialEq for Padding"],["impl StructuralPartialEq for TabSize"],["impl StructuralPartialEq for Temperature"],["impl StructuralPartialEq for ArchivedExtraUserProfileBits"],["impl StructuralPartialEq for ArchivedFont"],["impl StructuralPartialEq for ArchivedFriendAddability"],["impl StructuralPartialEq for ArchivedLocale"],["impl StructuralPartialEq for ArchivedUserFlags"],["impl StructuralPartialEq for ArchivedUserPrefsFlags"],["impl StructuralPartialEq for ArchivedUserProfileBits"],["impl StructuralPartialEq for ArchivedUserRelationship"],["impl StructuralPartialEq for ExtraUserProfileBits"],["impl StructuralPartialEq for UserFlags"],["impl StructuralPartialEq for UserPrefsFlags"],["impl StructuralPartialEq for UserProfileBits"],["impl StructuralPartialEq for FromUtf8Error"],["impl StructuralPartialEq for ThinString"],["impl<'a> StructuralPartialEq for Argument<'a>"],["impl<const N: usize> StructuralPartialEq for FixedStr<N>"]]]]); + if (window.register_implementors) { + window.register_implementors(implementors); + } else { + window.pending_implementors = implementors; + } +})() +//{"start":57,"fragment_lengths":[28753]} \ No newline at end of file diff --git a/trait.impl/core/marker/trait.Sync.js b/trait.impl/core/marker/trait.Sync.js new file mode 100644 index 000000000..dde86ad60 --- /dev/null +++ b/trait.impl/core/marker/trait.Sync.js @@ -0,0 +1,9 @@ +(function() { + var implementors = Object.fromEntries([["client_sdk",[["impl !Sync for GatewayConnection",1,["client_sdk::gateway::conn::GatewayConnection"]],["impl Sync for AssetQuery",1,["client_sdk::api::asset::AssetQuery"]],["impl Sync for CreateRoomKind",1,["client_sdk::api::commands::party::CreateRoomKind"]],["impl Sync for BannerAlign",1,["client_sdk::api::commands::user::BannerAlign"]],["impl Sync for ApiErrorCode",1,["client_sdk::api::error::api_error_code_impl::ApiErrorCode"]],["impl Sync for ClientError",1,["client_sdk::client::error::ClientError"]],["impl Sync for DriverError",1,["client_sdk::driver::error::DriverError"]],["impl Sync for Encoding",1,["client_sdk::driver::Encoding"]],["impl Sync for StandardError",1,["client_sdk::framework::standard::error::StandardError"]],["impl Sync for GatewayError",1,["client_sdk::gateway::error::GatewayError"]],["impl Sync for GatewayErrorCode",1,["client_sdk::gateway::error::GatewayErrorCode"]],["impl Sync for ArchivedAuthToken",1,["client_sdk::models::auth::ArchivedAuthToken"]],["impl Sync for AuthToken",1,["client_sdk::models::auth::AuthToken"]],["impl Sync for AuthTokenResolver",1,["client_sdk::models::auth::AuthTokenResolver"]],["impl Sync for ArchivedEmbed",1,["client_sdk::models::embed::ArchivedEmbed"]],["impl Sync for Embed",1,["client_sdk::models::embed::Embed"]],["impl Sync for EmbedResolver",1,["client_sdk::models::embed::EmbedResolver"]],["impl Sync for ArchivedEmbedType",1,["client_sdk::models::embed::v1::ArchivedEmbedType"]],["impl Sync for EmbedType",1,["client_sdk::models::embed::v1::EmbedType"]],["impl Sync for EmbedTypeResolver",1,["client_sdk::models::embed::v1::EmbedTypeResolver"]],["impl Sync for ArchivedEmote",1,["client_sdk::models::emote::ArchivedEmote"]],["impl Sync for Emote",1,["client_sdk::models::emote::Emote"]],["impl Sync for EmoteResolver",1,["client_sdk::models::emote::EmoteResolver"]],["impl Sync for ArchivedCursor",1,["client_sdk::models::ArchivedCursor"]],["impl Sync for Cursor",1,["client_sdk::models::Cursor"]],["impl Sync for CursorResolver",1,["client_sdk::models::CursorResolver"]],["impl Sync for ArchivedPartyUpdateEvent",1,["client_sdk::models::gateway::events::ArchivedPartyUpdateEvent"]],["impl Sync for PartyUpdateEvent",1,["client_sdk::models::gateway::events::PartyUpdateEvent"]],["impl Sync for PartyUpdateEventResolver",1,["client_sdk::models::gateway::events::PartyUpdateEventResolver"]],["impl Sync for ArchivedClientMsg",1,["client_sdk::models::gateway::message::ArchivedClientMsg"]],["impl Sync for ArchivedServerMsg",1,["client_sdk::models::gateway::message::ArchivedServerMsg"]],["impl Sync for ClientMsg",1,["client_sdk::models::gateway::message::ClientMsg"]],["impl Sync for ClientMsgOpcode",1,["client_sdk::models::gateway::message::ClientMsgOpcode"]],["impl Sync for ClientMsgResolver",1,["client_sdk::models::gateway::message::ClientMsgResolver"]],["impl Sync for ServerMsg",1,["client_sdk::models::gateway::message::ServerMsg"]],["impl Sync for ServerMsgOpcode",1,["client_sdk::models::gateway::message::ServerMsgOpcode"]],["impl Sync for ServerMsgResolver",1,["client_sdk::models::gateway::message::ServerMsgResolver"]],["impl Sync for ArchivedEmoteOrEmoji",1,["client_sdk::models::message::ArchivedEmoteOrEmoji"]],["impl Sync for ArchivedMessageKind",1,["client_sdk::models::message::message_kind_impl::ArchivedMessageKind"]],["impl Sync for ArchivedReaction",1,["client_sdk::models::message::ArchivedReaction"]],["impl Sync for EmoteOrEmoji",1,["client_sdk::models::message::EmoteOrEmoji"]],["impl Sync for EmoteOrEmojiResolver",1,["client_sdk::models::message::EmoteOrEmojiResolver"]],["impl Sync for MessageKind",1,["client_sdk::models::message::message_kind_impl::MessageKind"]],["impl Sync for Reaction",1,["client_sdk::models::message::Reaction"]],["impl Sync for ReactionResolver",1,["client_sdk::models::message::ReactionResolver"]],["impl Sync for AnyActivity",1,["client_sdk::models::presence::AnyActivity"]],["impl Sync for AnyActivityResolver",1,["client_sdk::models::presence::AnyActivityResolver"]],["impl Sync for ArchivedAnyActivity",1,["client_sdk::models::presence::ArchivedAnyActivity"]],["impl Sync for ArchivedRoomKind",1,["client_sdk::models::room::ArchivedRoomKind"]],["impl Sync for RoomKind",1,["client_sdk::models::room::RoomKind"]],["impl Sync for RoomKindResolver",1,["client_sdk::models::room::RoomKindResolver"]],["impl Sync for ElevationLevel",1,["client_sdk::models::user::ElevationLevel"]],["impl Sync for Font",1,["client_sdk::models::user::prefs::font_impl::Font"]],["impl Sync for FriendAddability",1,["client_sdk::models::user::prefs::friend_addability_impl::FriendAddability"]],["impl Sync for Locale",1,["client_sdk::models::user::prefs::locale_impl::Locale"]],["impl Sync for UserRelationship",1,["client_sdk::models::user::user_relationship_impl::UserRelationship"]],["impl Sync for ArchivedGetServerConfig",1,["client_sdk::api::commands::config::ArchivedGetServerConfig"]],["impl Sync for GetServerConfig",1,["client_sdk::api::commands::config::GetServerConfig"]],["impl Sync for GetServerConfigResolver",1,["client_sdk::api::commands::config::GetServerConfigResolver"]],["impl Sync for ArchivedCreateFile",1,["client_sdk::api::commands::file::ArchivedCreateFile"]],["impl Sync for ArchivedCreateFileBody",1,["client_sdk::api::commands::file::ArchivedCreateFileBody"]],["impl Sync for ArchivedFileStatus",1,["client_sdk::api::commands::file::ArchivedFileStatus"]],["impl Sync for ArchivedFilesystemStatus",1,["client_sdk::api::commands::file::ArchivedFilesystemStatus"]],["impl Sync for ArchivedGetFileStatus",1,["client_sdk::api::commands::file::ArchivedGetFileStatus"]],["impl Sync for ArchivedGetFilesystemStatus",1,["client_sdk::api::commands::file::ArchivedGetFilesystemStatus"]],["impl Sync for CreateFile",1,["client_sdk::api::commands::file::CreateFile"]],["impl Sync for CreateFileBody",1,["client_sdk::api::commands::file::CreateFileBody"]],["impl Sync for CreateFileBodyResolver",1,["client_sdk::api::commands::file::CreateFileBodyResolver"]],["impl Sync for CreateFileResolver",1,["client_sdk::api::commands::file::CreateFileResolver"]],["impl Sync for FileStatus",1,["client_sdk::api::commands::file::FileStatus"]],["impl Sync for FileStatusResolver",1,["client_sdk::api::commands::file::FileStatusResolver"]],["impl Sync for FilesystemStatus",1,["client_sdk::api::commands::file::FilesystemStatus"]],["impl Sync for FilesystemStatusResolver",1,["client_sdk::api::commands::file::FilesystemStatusResolver"]],["impl Sync for GetFileStatus",1,["client_sdk::api::commands::file::GetFileStatus"]],["impl Sync for GetFileStatusResolver",1,["client_sdk::api::commands::file::GetFileStatusResolver"]],["impl Sync for GetFilesystemStatus",1,["client_sdk::api::commands::file::GetFilesystemStatus"]],["impl Sync for GetFilesystemStatusResolver",1,["client_sdk::api::commands::file::GetFilesystemStatusResolver"]],["impl Sync for ArchivedGetInvite",1,["client_sdk::api::commands::invite::ArchivedGetInvite"]],["impl Sync for ArchivedRedeemInvite",1,["client_sdk::api::commands::invite::ArchivedRedeemInvite"]],["impl Sync for ArchivedRedeemInviteBody",1,["client_sdk::api::commands::invite::ArchivedRedeemInviteBody"]],["impl Sync for ArchivedRevokeInvite",1,["client_sdk::api::commands::invite::ArchivedRevokeInvite"]],["impl Sync for GetInvite",1,["client_sdk::api::commands::invite::GetInvite"]],["impl Sync for GetInviteResolver",1,["client_sdk::api::commands::invite::GetInviteResolver"]],["impl Sync for RedeemInvite",1,["client_sdk::api::commands::invite::RedeemInvite"]],["impl Sync for RedeemInviteBody",1,["client_sdk::api::commands::invite::RedeemInviteBody"]],["impl Sync for RedeemInviteBodyResolver",1,["client_sdk::api::commands::invite::RedeemInviteBodyResolver"]],["impl Sync for RedeemInviteResolver",1,["client_sdk::api::commands::invite::RedeemInviteResolver"]],["impl Sync for RevokeInvite",1,["client_sdk::api::commands::invite::RevokeInvite"]],["impl Sync for RevokeInviteResolver",1,["client_sdk::api::commands::invite::RevokeInviteResolver"]],["impl Sync for ArchivedCreateParty",1,["client_sdk::api::commands::party::ArchivedCreateParty"]],["impl Sync for ArchivedCreatePartyForm",1,["client_sdk::api::commands::party::ArchivedCreatePartyForm"]],["impl Sync for ArchivedCreatePartyInvite",1,["client_sdk::api::commands::party::ArchivedCreatePartyInvite"]],["impl Sync for ArchivedCreatePartyInviteBody",1,["client_sdk::api::commands::party::ArchivedCreatePartyInviteBody"]],["impl Sync for ArchivedCreatePinFolder",1,["client_sdk::api::commands::party::ArchivedCreatePinFolder"]],["impl Sync for ArchivedCreatePinFolderForm",1,["client_sdk::api::commands::party::ArchivedCreatePinFolderForm"]],["impl Sync for ArchivedCreateRole",1,["client_sdk::api::commands::party::ArchivedCreateRole"]],["impl Sync for ArchivedCreateRoleForm",1,["client_sdk::api::commands::party::ArchivedCreateRoleForm"]],["impl Sync for ArchivedCreateRoom",1,["client_sdk::api::commands::party::ArchivedCreateRoom"]],["impl Sync for ArchivedCreateRoomForm",1,["client_sdk::api::commands::party::ArchivedCreateRoomForm"]],["impl Sync for ArchivedDeleteParty",1,["client_sdk::api::commands::party::ArchivedDeleteParty"]],["impl Sync for ArchivedDeleteRole",1,["client_sdk::api::commands::party::ArchivedDeleteRole"]],["impl Sync for ArchivedGetMemberProfile",1,["client_sdk::api::commands::party::ArchivedGetMemberProfile"]],["impl Sync for ArchivedGetParty",1,["client_sdk::api::commands::party::ArchivedGetParty"]],["impl Sync for ArchivedGetPartyInvites",1,["client_sdk::api::commands::party::ArchivedGetPartyInvites"]],["impl Sync for ArchivedGetPartyMember",1,["client_sdk::api::commands::party::ArchivedGetPartyMember"]],["impl Sync for ArchivedGetPartyMembers",1,["client_sdk::api::commands::party::ArchivedGetPartyMembers"]],["impl Sync for ArchivedGetPartyRooms",1,["client_sdk::api::commands::party::ArchivedGetPartyRooms"]],["impl Sync for ArchivedPartySettings",1,["client_sdk::api::commands::party::ArchivedPartySettings"]],["impl Sync for ArchivedPatchParty",1,["client_sdk::api::commands::party::ArchivedPatchParty"]],["impl Sync for ArchivedPatchPartyForm",1,["client_sdk::api::commands::party::ArchivedPatchPartyForm"]],["impl Sync for ArchivedPatchRole",1,["client_sdk::api::commands::party::ArchivedPatchRole"]],["impl Sync for ArchivedPatchRoleForm",1,["client_sdk::api::commands::party::ArchivedPatchRoleForm"]],["impl Sync for ArchivedSearchParty",1,["client_sdk::api::commands::party::ArchivedSearchParty"]],["impl Sync for ArchivedSearchQuery",1,["client_sdk::api::commands::party::ArchivedSearchQuery"]],["impl Sync for ArchivedTransferOwnership",1,["client_sdk::api::commands::party::ArchivedTransferOwnership"]],["impl Sync for ArchivedUpdateMemberProfile",1,["client_sdk::api::commands::party::ArchivedUpdateMemberProfile"]],["impl Sync for ArchivedUpdateMemberProfileBody",1,["client_sdk::api::commands::party::ArchivedUpdateMemberProfileBody"]],["impl Sync for CreateParty",1,["client_sdk::api::commands::party::CreateParty"]],["impl Sync for CreatePartyForm",1,["client_sdk::api::commands::party::CreatePartyForm"]],["impl Sync for CreatePartyFormResolver",1,["client_sdk::api::commands::party::CreatePartyFormResolver"]],["impl Sync for CreatePartyInvite",1,["client_sdk::api::commands::party::CreatePartyInvite"]],["impl Sync for CreatePartyInviteBody",1,["client_sdk::api::commands::party::CreatePartyInviteBody"]],["impl Sync for CreatePartyInviteBodyResolver",1,["client_sdk::api::commands::party::CreatePartyInviteBodyResolver"]],["impl Sync for CreatePartyInviteResolver",1,["client_sdk::api::commands::party::CreatePartyInviteResolver"]],["impl Sync for CreatePartyResolver",1,["client_sdk::api::commands::party::CreatePartyResolver"]],["impl Sync for CreatePinFolder",1,["client_sdk::api::commands::party::CreatePinFolder"]],["impl Sync for CreatePinFolderForm",1,["client_sdk::api::commands::party::CreatePinFolderForm"]],["impl Sync for CreatePinFolderFormResolver",1,["client_sdk::api::commands::party::CreatePinFolderFormResolver"]],["impl Sync for CreatePinFolderResolver",1,["client_sdk::api::commands::party::CreatePinFolderResolver"]],["impl Sync for CreateRole",1,["client_sdk::api::commands::party::CreateRole"]],["impl Sync for CreateRoleForm",1,["client_sdk::api::commands::party::CreateRoleForm"]],["impl Sync for CreateRoleFormResolver",1,["client_sdk::api::commands::party::CreateRoleFormResolver"]],["impl Sync for CreateRoleResolver",1,["client_sdk::api::commands::party::CreateRoleResolver"]],["impl Sync for CreateRoom",1,["client_sdk::api::commands::party::CreateRoom"]],["impl Sync for CreateRoomForm",1,["client_sdk::api::commands::party::CreateRoomForm"]],["impl Sync for CreateRoomFormResolver",1,["client_sdk::api::commands::party::CreateRoomFormResolver"]],["impl Sync for CreateRoomResolver",1,["client_sdk::api::commands::party::CreateRoomResolver"]],["impl Sync for DeleteParty",1,["client_sdk::api::commands::party::DeleteParty"]],["impl Sync for DeletePartyResolver",1,["client_sdk::api::commands::party::DeletePartyResolver"]],["impl Sync for DeleteRole",1,["client_sdk::api::commands::party::DeleteRole"]],["impl Sync for DeleteRoleResolver",1,["client_sdk::api::commands::party::DeleteRoleResolver"]],["impl Sync for GetMemberProfile",1,["client_sdk::api::commands::party::GetMemberProfile"]],["impl Sync for GetMemberProfileResolver",1,["client_sdk::api::commands::party::GetMemberProfileResolver"]],["impl Sync for GetParty",1,["client_sdk::api::commands::party::GetParty"]],["impl Sync for GetPartyInvites",1,["client_sdk::api::commands::party::GetPartyInvites"]],["impl Sync for GetPartyInvitesResolver",1,["client_sdk::api::commands::party::GetPartyInvitesResolver"]],["impl Sync for GetPartyMember",1,["client_sdk::api::commands::party::GetPartyMember"]],["impl Sync for GetPartyMemberResolver",1,["client_sdk::api::commands::party::GetPartyMemberResolver"]],["impl Sync for GetPartyMembers",1,["client_sdk::api::commands::party::GetPartyMembers"]],["impl Sync for GetPartyMembersResolver",1,["client_sdk::api::commands::party::GetPartyMembersResolver"]],["impl Sync for GetPartyResolver",1,["client_sdk::api::commands::party::GetPartyResolver"]],["impl Sync for GetPartyRooms",1,["client_sdk::api::commands::party::GetPartyRooms"]],["impl Sync for GetPartyRoomsResolver",1,["client_sdk::api::commands::party::GetPartyRoomsResolver"]],["impl Sync for PartySettings",1,["client_sdk::api::commands::party::PartySettings"]],["impl Sync for PartySettingsResolver",1,["client_sdk::api::commands::party::PartySettingsResolver"]],["impl Sync for PatchParty",1,["client_sdk::api::commands::party::PatchParty"]],["impl Sync for PatchPartyForm",1,["client_sdk::api::commands::party::PatchPartyForm"]],["impl Sync for PatchPartyFormResolver",1,["client_sdk::api::commands::party::PatchPartyFormResolver"]],["impl Sync for PatchPartyResolver",1,["client_sdk::api::commands::party::PatchPartyResolver"]],["impl Sync for PatchRole",1,["client_sdk::api::commands::party::PatchRole"]],["impl Sync for PatchRoleForm",1,["client_sdk::api::commands::party::PatchRoleForm"]],["impl Sync for PatchRoleFormResolver",1,["client_sdk::api::commands::party::PatchRoleFormResolver"]],["impl Sync for PatchRoleResolver",1,["client_sdk::api::commands::party::PatchRoleResolver"]],["impl Sync for SearchParty",1,["client_sdk::api::commands::party::SearchParty"]],["impl Sync for SearchPartyResolver",1,["client_sdk::api::commands::party::SearchPartyResolver"]],["impl Sync for SearchQuery",1,["client_sdk::api::commands::party::SearchQuery"]],["impl Sync for SearchQueryResolver",1,["client_sdk::api::commands::party::SearchQueryResolver"]],["impl Sync for TransferOwnership",1,["client_sdk::api::commands::party::TransferOwnership"]],["impl Sync for TransferOwnershipResolver",1,["client_sdk::api::commands::party::TransferOwnershipResolver"]],["impl Sync for UpdateMemberProfile",1,["client_sdk::api::commands::party::UpdateMemberProfile"]],["impl Sync for UpdateMemberProfileBody",1,["client_sdk::api::commands::party::UpdateMemberProfileBody"]],["impl Sync for UpdateMemberProfileBodyResolver",1,["client_sdk::api::commands::party::UpdateMemberProfileBodyResolver"]],["impl Sync for UpdateMemberProfileResolver",1,["client_sdk::api::commands::party::UpdateMemberProfileResolver"]],["impl Sync for ArchivedCreateMessage",1,["client_sdk::api::commands::room::ArchivedCreateMessage"]],["impl Sync for ArchivedCreateMessageBody",1,["client_sdk::api::commands::room::ArchivedCreateMessageBody"]],["impl Sync for ArchivedDeleteAllReactions",1,["client_sdk::api::commands::room::ArchivedDeleteAllReactions"]],["impl Sync for ArchivedDeleteMessage",1,["client_sdk::api::commands::room::ArchivedDeleteMessage"]],["impl Sync for ArchivedDeleteOwnReaction",1,["client_sdk::api::commands::room::ArchivedDeleteOwnReaction"]],["impl Sync for ArchivedDeleteRoom",1,["client_sdk::api::commands::room::ArchivedDeleteRoom"]],["impl Sync for ArchivedDeleteUserReaction",1,["client_sdk::api::commands::room::ArchivedDeleteUserReaction"]],["impl Sync for ArchivedEditMessage",1,["client_sdk::api::commands::room::ArchivedEditMessage"]],["impl Sync for ArchivedEditMessageBody",1,["client_sdk::api::commands::room::ArchivedEditMessageBody"]],["impl Sync for ArchivedGetMessage",1,["client_sdk::api::commands::room::ArchivedGetMessage"]],["impl Sync for ArchivedGetMessages",1,["client_sdk::api::commands::room::ArchivedGetMessages"]],["impl Sync for ArchivedGetMessagesQuery",1,["client_sdk::api::commands::room::ArchivedGetMessagesQuery"]],["impl Sync for ArchivedGetReactions",1,["client_sdk::api::commands::room::ArchivedGetReactions"]],["impl Sync for ArchivedGetReactionsForm",1,["client_sdk::api::commands::room::ArchivedGetReactionsForm"]],["impl Sync for ArchivedGetRoom",1,["client_sdk::api::commands::room::ArchivedGetRoom"]],["impl Sync for ArchivedPatchRoom",1,["client_sdk::api::commands::room::ArchivedPatchRoom"]],["impl Sync for ArchivedPatchRoomForm",1,["client_sdk::api::commands::room::ArchivedPatchRoomForm"]],["impl Sync for ArchivedPinMessage",1,["client_sdk::api::commands::room::ArchivedPinMessage"]],["impl Sync for ArchivedPutReaction",1,["client_sdk::api::commands::room::ArchivedPutReaction"]],["impl Sync for ArchivedStarMessage",1,["client_sdk::api::commands::room::ArchivedStarMessage"]],["impl Sync for ArchivedStartTyping",1,["client_sdk::api::commands::room::ArchivedStartTyping"]],["impl Sync for ArchivedStartTypingBody",1,["client_sdk::api::commands::room::ArchivedStartTypingBody"]],["impl Sync for ArchivedUnpinMessage",1,["client_sdk::api::commands::room::ArchivedUnpinMessage"]],["impl Sync for ArchivedUnstarMessage",1,["client_sdk::api::commands::room::ArchivedUnstarMessage"]],["impl Sync for CreateMessage",1,["client_sdk::api::commands::room::CreateMessage"]],["impl Sync for CreateMessageBody",1,["client_sdk::api::commands::room::CreateMessageBody"]],["impl Sync for CreateMessageBodyResolver",1,["client_sdk::api::commands::room::CreateMessageBodyResolver"]],["impl Sync for CreateMessageResolver",1,["client_sdk::api::commands::room::CreateMessageResolver"]],["impl Sync for DeleteAllReactions",1,["client_sdk::api::commands::room::DeleteAllReactions"]],["impl Sync for DeleteAllReactionsResolver",1,["client_sdk::api::commands::room::DeleteAllReactionsResolver"]],["impl Sync for DeleteMessage",1,["client_sdk::api::commands::room::DeleteMessage"]],["impl Sync for DeleteMessageResolver",1,["client_sdk::api::commands::room::DeleteMessageResolver"]],["impl Sync for DeleteOwnReaction",1,["client_sdk::api::commands::room::DeleteOwnReaction"]],["impl Sync for DeleteOwnReactionResolver",1,["client_sdk::api::commands::room::DeleteOwnReactionResolver"]],["impl Sync for DeleteRoom",1,["client_sdk::api::commands::room::DeleteRoom"]],["impl Sync for DeleteRoomResolver",1,["client_sdk::api::commands::room::DeleteRoomResolver"]],["impl Sync for DeleteUserReaction",1,["client_sdk::api::commands::room::DeleteUserReaction"]],["impl Sync for DeleteUserReactionResolver",1,["client_sdk::api::commands::room::DeleteUserReactionResolver"]],["impl Sync for EditMessage",1,["client_sdk::api::commands::room::EditMessage"]],["impl Sync for EditMessageBody",1,["client_sdk::api::commands::room::EditMessageBody"]],["impl Sync for EditMessageBodyResolver",1,["client_sdk::api::commands::room::EditMessageBodyResolver"]],["impl Sync for EditMessageResolver",1,["client_sdk::api::commands::room::EditMessageResolver"]],["impl Sync for GetMessage",1,["client_sdk::api::commands::room::GetMessage"]],["impl Sync for GetMessageResolver",1,["client_sdk::api::commands::room::GetMessageResolver"]],["impl Sync for GetMessages",1,["client_sdk::api::commands::room::GetMessages"]],["impl Sync for GetMessagesQuery",1,["client_sdk::api::commands::room::GetMessagesQuery"]],["impl Sync for GetMessagesQueryResolver",1,["client_sdk::api::commands::room::GetMessagesQueryResolver"]],["impl Sync for GetMessagesResolver",1,["client_sdk::api::commands::room::GetMessagesResolver"]],["impl Sync for GetReactions",1,["client_sdk::api::commands::room::GetReactions"]],["impl Sync for GetReactionsForm",1,["client_sdk::api::commands::room::GetReactionsForm"]],["impl Sync for GetReactionsFormResolver",1,["client_sdk::api::commands::room::GetReactionsFormResolver"]],["impl Sync for GetReactionsResolver",1,["client_sdk::api::commands::room::GetReactionsResolver"]],["impl Sync for GetRoom",1,["client_sdk::api::commands::room::GetRoom"]],["impl Sync for GetRoomResolver",1,["client_sdk::api::commands::room::GetRoomResolver"]],["impl Sync for PatchRoom",1,["client_sdk::api::commands::room::PatchRoom"]],["impl Sync for PatchRoomForm",1,["client_sdk::api::commands::room::PatchRoomForm"]],["impl Sync for PatchRoomFormResolver",1,["client_sdk::api::commands::room::PatchRoomFormResolver"]],["impl Sync for PatchRoomResolver",1,["client_sdk::api::commands::room::PatchRoomResolver"]],["impl Sync for PinMessage",1,["client_sdk::api::commands::room::PinMessage"]],["impl Sync for PinMessageResolver",1,["client_sdk::api::commands::room::PinMessageResolver"]],["impl Sync for PutReaction",1,["client_sdk::api::commands::room::PutReaction"]],["impl Sync for PutReactionResolver",1,["client_sdk::api::commands::room::PutReactionResolver"]],["impl Sync for StarMessage",1,["client_sdk::api::commands::room::StarMessage"]],["impl Sync for StarMessageResolver",1,["client_sdk::api::commands::room::StarMessageResolver"]],["impl Sync for StartTyping",1,["client_sdk::api::commands::room::StartTyping"]],["impl Sync for StartTypingBody",1,["client_sdk::api::commands::room::StartTypingBody"]],["impl Sync for StartTypingBodyResolver",1,["client_sdk::api::commands::room::StartTypingBodyResolver"]],["impl Sync for StartTypingResolver",1,["client_sdk::api::commands::room::StartTypingResolver"]],["impl Sync for UnpinMessage",1,["client_sdk::api::commands::room::UnpinMessage"]],["impl Sync for UnpinMessageResolver",1,["client_sdk::api::commands::room::UnpinMessageResolver"]],["impl Sync for UnstarMessage",1,["client_sdk::api::commands::room::UnstarMessage"]],["impl Sync for UnstarMessageResolver",1,["client_sdk::api::commands::room::UnstarMessageResolver"]],["impl Sync for Added2FA",1,["client_sdk::api::commands::user::Added2FA"]],["impl Sync for Added2FAResolver",1,["client_sdk::api::commands::user::Added2FAResolver"]],["impl Sync for ArchivedAdded2FA",1,["client_sdk::api::commands::user::ArchivedAdded2FA"]],["impl Sync for ArchivedChangePassword",1,["client_sdk::api::commands::user::ArchivedChangePassword"]],["impl Sync for ArchivedChangePasswordForm",1,["client_sdk::api::commands::user::ArchivedChangePasswordForm"]],["impl Sync for ArchivedClearSessions",1,["client_sdk::api::commands::user::ArchivedClearSessions"]],["impl Sync for ArchivedClearSessionsForm",1,["client_sdk::api::commands::user::ArchivedClearSessionsForm"]],["impl Sync for ArchivedConfirm2FA",1,["client_sdk::api::commands::user::ArchivedConfirm2FA"]],["impl Sync for ArchivedConfirm2FAForm",1,["client_sdk::api::commands::user::ArchivedConfirm2FAForm"]],["impl Sync for ArchivedEnable2FA",1,["client_sdk::api::commands::user::ArchivedEnable2FA"]],["impl Sync for ArchivedEnable2FAForm",1,["client_sdk::api::commands::user::ArchivedEnable2FAForm"]],["impl Sync for ArchivedGetRelationships",1,["client_sdk::api::commands::user::ArchivedGetRelationships"]],["impl Sync for ArchivedGetSessions",1,["client_sdk::api::commands::user::ArchivedGetSessions"]],["impl Sync for ArchivedGetUser",1,["client_sdk::api::commands::user::ArchivedGetUser"]],["impl Sync for ArchivedPatchRelationship",1,["client_sdk::api::commands::user::ArchivedPatchRelationship"]],["impl Sync for ArchivedPatchRelationshipBody",1,["client_sdk::api::commands::user::ArchivedPatchRelationshipBody"]],["impl Sync for ArchivedRemove2FA",1,["client_sdk::api::commands::user::ArchivedRemove2FA"]],["impl Sync for ArchivedRemove2FAForm",1,["client_sdk::api::commands::user::ArchivedRemove2FAForm"]],["impl Sync for ArchivedUpdateUserPrefs",1,["client_sdk::api::commands::user::ArchivedUpdateUserPrefs"]],["impl Sync for ArchivedUpdateUserPrefsBody",1,["client_sdk::api::commands::user::ArchivedUpdateUserPrefsBody"]],["impl Sync for ArchivedUpdateUserProfile",1,["client_sdk::api::commands::user::ArchivedUpdateUserProfile"]],["impl Sync for ArchivedUpdateUserProfileBody",1,["client_sdk::api::commands::user::ArchivedUpdateUserProfileBody"]],["impl Sync for ArchivedUserLogin",1,["client_sdk::api::commands::user::ArchivedUserLogin"]],["impl Sync for ArchivedUserLoginForm",1,["client_sdk::api::commands::user::ArchivedUserLoginForm"]],["impl Sync for ArchivedUserLogout",1,["client_sdk::api::commands::user::ArchivedUserLogout"]],["impl Sync for ArchivedUserRegister",1,["client_sdk::api::commands::user::ArchivedUserRegister"]],["impl Sync for ArchivedUserRegisterForm",1,["client_sdk::api::commands::user::ArchivedUserRegisterForm"]],["impl Sync for ChangePassword",1,["client_sdk::api::commands::user::ChangePassword"]],["impl Sync for ChangePasswordForm",1,["client_sdk::api::commands::user::ChangePasswordForm"]],["impl Sync for ChangePasswordFormResolver",1,["client_sdk::api::commands::user::ChangePasswordFormResolver"]],["impl Sync for ChangePasswordResolver",1,["client_sdk::api::commands::user::ChangePasswordResolver"]],["impl Sync for ClearSessions",1,["client_sdk::api::commands::user::ClearSessions"]],["impl Sync for ClearSessionsForm",1,["client_sdk::api::commands::user::ClearSessionsForm"]],["impl Sync for ClearSessionsFormResolver",1,["client_sdk::api::commands::user::ClearSessionsFormResolver"]],["impl Sync for ClearSessionsResolver",1,["client_sdk::api::commands::user::ClearSessionsResolver"]],["impl Sync for Confirm2FA",1,["client_sdk::api::commands::user::Confirm2FA"]],["impl Sync for Confirm2FAForm",1,["client_sdk::api::commands::user::Confirm2FAForm"]],["impl Sync for Confirm2FAFormResolver",1,["client_sdk::api::commands::user::Confirm2FAFormResolver"]],["impl Sync for Confirm2FAResolver",1,["client_sdk::api::commands::user::Confirm2FAResolver"]],["impl Sync for Enable2FA",1,["client_sdk::api::commands::user::Enable2FA"]],["impl Sync for Enable2FAForm",1,["client_sdk::api::commands::user::Enable2FAForm"]],["impl Sync for Enable2FAFormResolver",1,["client_sdk::api::commands::user::Enable2FAFormResolver"]],["impl Sync for Enable2FAResolver",1,["client_sdk::api::commands::user::Enable2FAResolver"]],["impl Sync for GetRelationships",1,["client_sdk::api::commands::user::GetRelationships"]],["impl Sync for GetRelationshipsResolver",1,["client_sdk::api::commands::user::GetRelationshipsResolver"]],["impl Sync for GetSessions",1,["client_sdk::api::commands::user::GetSessions"]],["impl Sync for GetSessionsResolver",1,["client_sdk::api::commands::user::GetSessionsResolver"]],["impl Sync for GetUser",1,["client_sdk::api::commands::user::GetUser"]],["impl Sync for GetUserResolver",1,["client_sdk::api::commands::user::GetUserResolver"]],["impl Sync for PatchRelationship",1,["client_sdk::api::commands::user::PatchRelationship"]],["impl Sync for PatchRelationshipBody",1,["client_sdk::api::commands::user::PatchRelationshipBody"]],["impl Sync for PatchRelationshipBodyResolver",1,["client_sdk::api::commands::user::PatchRelationshipBodyResolver"]],["impl Sync for PatchRelationshipResolver",1,["client_sdk::api::commands::user::PatchRelationshipResolver"]],["impl Sync for Remove2FA",1,["client_sdk::api::commands::user::Remove2FA"]],["impl Sync for Remove2FAForm",1,["client_sdk::api::commands::user::Remove2FAForm"]],["impl Sync for Remove2FAFormResolver",1,["client_sdk::api::commands::user::Remove2FAFormResolver"]],["impl Sync for Remove2FAResolver",1,["client_sdk::api::commands::user::Remove2FAResolver"]],["impl Sync for UpdateUserPrefs",1,["client_sdk::api::commands::user::UpdateUserPrefs"]],["impl Sync for UpdateUserPrefsBody",1,["client_sdk::api::commands::user::UpdateUserPrefsBody"]],["impl Sync for UpdateUserPrefsBodyResolver",1,["client_sdk::api::commands::user::UpdateUserPrefsBodyResolver"]],["impl Sync for UpdateUserPrefsResolver",1,["client_sdk::api::commands::user::UpdateUserPrefsResolver"]],["impl Sync for UpdateUserProfile",1,["client_sdk::api::commands::user::UpdateUserProfile"]],["impl Sync for UpdateUserProfileBody",1,["client_sdk::api::commands::user::UpdateUserProfileBody"]],["impl Sync for UpdateUserProfileBodyResolver",1,["client_sdk::api::commands::user::UpdateUserProfileBodyResolver"]],["impl Sync for UpdateUserProfileResolver",1,["client_sdk::api::commands::user::UpdateUserProfileResolver"]],["impl Sync for UserLogin",1,["client_sdk::api::commands::user::UserLogin"]],["impl Sync for UserLoginForm",1,["client_sdk::api::commands::user::UserLoginForm"]],["impl Sync for UserLoginFormResolver",1,["client_sdk::api::commands::user::UserLoginFormResolver"]],["impl Sync for UserLoginResolver",1,["client_sdk::api::commands::user::UserLoginResolver"]],["impl Sync for UserLogout",1,["client_sdk::api::commands::user::UserLogout"]],["impl Sync for UserLogoutResolver",1,["client_sdk::api::commands::user::UserLogoutResolver"]],["impl Sync for UserRegister",1,["client_sdk::api::commands::user::UserRegister"]],["impl Sync for UserRegisterForm",1,["client_sdk::api::commands::user::UserRegisterForm"]],["impl Sync for UserRegisterFormResolver",1,["client_sdk::api::commands::user::UserRegisterFormResolver"]],["impl Sync for UserRegisterResolver",1,["client_sdk::api::commands::user::UserRegisterResolver"]],["impl Sync for ApiError",1,["client_sdk::api::error::ApiError"]],["impl Sync for ApiErrorResolver",1,["client_sdk::api::error::ApiErrorResolver"]],["impl Sync for ArchivedApiError",1,["client_sdk::api::error::ArchivedApiError"]],["impl Sync for ArchivedApiErrorCode",1,["client_sdk::api::error::api_error_code_impl::ArchivedApiErrorCode"]],["impl Sync for GatewayQueryParams",1,["client_sdk::api::gateway::GatewayQueryParams"]],["impl Sync for CommandFlags",1,["client_sdk::api::command::CommandFlags"]],["impl Sync for MissingItemError",1,["client_sdk::api::command::MissingItemError"]],["impl Sync for RateLimit",1,["client_sdk::api::command::RateLimit"]],["impl Sync for Client",1,["client_sdk::client::Client"]],["impl Sync for Driver",1,["client_sdk::driver::Driver"]],["impl Sync for StandardContext",1,["client_sdk::framework::standard::ctx::StandardContext"]],["impl Sync for GatewayConnectionControl",1,["client_sdk::gateway::conn::GatewayConnectionControl"]],["impl Sync for GatewaySocket",1,["client_sdk::gateway::socket::GatewaySocket"]],["impl Sync for ArchivedAssetFlags",1,["client_sdk::models::asset::ArchivedAssetFlags"]],["impl Sync for AssetFlags",1,["client_sdk::models::asset::AssetFlags"]],["impl Sync for InvalidAuthToken",1,["client_sdk::models::auth::InvalidAuthToken"]],["impl Sync for ArchivedServerConfig",1,["client_sdk::models::config::ArchivedServerConfig"]],["impl Sync for ArchivedServerLimits",1,["client_sdk::models::config::ArchivedServerLimits"]],["impl Sync for ServerConfig",1,["client_sdk::models::config::ServerConfig"]],["impl Sync for ServerConfigResolver",1,["client_sdk::models::config::ServerConfigResolver"]],["impl Sync for ServerLimits",1,["client_sdk::models::config::ServerLimits"]],["impl Sync for ServerLimitsResolver",1,["client_sdk::models::config::ServerLimitsResolver"]],["impl Sync for ArchivedBasicEmbedMedia",1,["client_sdk::models::embed::v1::ArchivedBasicEmbedMedia"]],["impl Sync for ArchivedEmbedAuthor",1,["client_sdk::models::embed::v1::ArchivedEmbedAuthor"]],["impl Sync for ArchivedEmbedField",1,["client_sdk::models::embed::v1::ArchivedEmbedField"]],["impl Sync for ArchivedEmbedFlags",1,["client_sdk::models::embed::v1::ArchivedEmbedFlags"]],["impl Sync for ArchivedEmbedFooter",1,["client_sdk::models::embed::v1::ArchivedEmbedFooter"]],["impl Sync for ArchivedEmbedMedia",1,["client_sdk::models::embed::v1::ArchivedEmbedMedia"]],["impl Sync for ArchivedEmbedProvider",1,["client_sdk::models::embed::v1::ArchivedEmbedProvider"]],["impl Sync for ArchivedEmbedV1",1,["client_sdk::models::embed::v1::ArchivedEmbedV1"]],["impl Sync for BasicEmbedMedia",1,["client_sdk::models::embed::v1::BasicEmbedMedia"]],["impl Sync for BasicEmbedMediaResolver",1,["client_sdk::models::embed::v1::BasicEmbedMediaResolver"]],["impl Sync for EmbedAuthor",1,["client_sdk::models::embed::v1::EmbedAuthor"]],["impl Sync for EmbedAuthorResolver",1,["client_sdk::models::embed::v1::EmbedAuthorResolver"]],["impl Sync for EmbedField",1,["client_sdk::models::embed::v1::EmbedField"]],["impl Sync for EmbedFieldResolver",1,["client_sdk::models::embed::v1::EmbedFieldResolver"]],["impl Sync for EmbedFlags",1,["client_sdk::models::embed::v1::EmbedFlags"]],["impl Sync for EmbedFooter",1,["client_sdk::models::embed::v1::EmbedFooter"]],["impl Sync for EmbedFooterResolver",1,["client_sdk::models::embed::v1::EmbedFooterResolver"]],["impl Sync for EmbedMedia",1,["client_sdk::models::embed::v1::EmbedMedia"]],["impl Sync for EmbedMediaResolver",1,["client_sdk::models::embed::v1::EmbedMediaResolver"]],["impl Sync for EmbedProvider",1,["client_sdk::models::embed::v1::EmbedProvider"]],["impl Sync for EmbedProviderResolver",1,["client_sdk::models::embed::v1::EmbedProviderResolver"]],["impl Sync for EmbedV1",1,["client_sdk::models::embed::v1::EmbedV1"]],["impl Sync for EmbedV1Resolver",1,["client_sdk::models::embed::v1::EmbedV1Resolver"]],["impl Sync for ArchivedCustomEmote",1,["client_sdk::models::emote::ArchivedCustomEmote"]],["impl Sync for ArchivedEmoteFlags",1,["client_sdk::models::emote::ArchivedEmoteFlags"]],["impl Sync for CustomEmote",1,["client_sdk::models::emote::CustomEmote"]],["impl Sync for CustomEmoteResolver",1,["client_sdk::models::emote::CustomEmoteResolver"]],["impl Sync for EmoteFlags",1,["client_sdk::models::emote::EmoteFlags"]],["impl Sync for ArchivedFile",1,["client_sdk::models::file::ArchivedFile"]],["impl Sync for File",1,["client_sdk::models::file::File"]],["impl Sync for FileResolver",1,["client_sdk::models::file::FileResolver"]],["impl Sync for FileUpload",1,["client_sdk::models::file::FileUpload"]],["impl Sync for ArchivedIdentify",1,["client_sdk::models::gateway::commands::ArchivedIdentify"]],["impl Sync for ArchivedSetPresence",1,["client_sdk::models::gateway::commands::ArchivedSetPresence"]],["impl Sync for Identify",1,["client_sdk::models::gateway::commands::Identify"]],["impl Sync for IdentifyResolver",1,["client_sdk::models::gateway::commands::IdentifyResolver"]],["impl Sync for SetPresence",1,["client_sdk::models::gateway::commands::SetPresence"]],["impl Sync for SetPresenceResolver",1,["client_sdk::models::gateway::commands::SetPresenceResolver"]],["impl Sync for ArchivedHello",1,["client_sdk::models::gateway::events::ArchivedHello"]],["impl Sync for ArchivedMessageDeleteEvent",1,["client_sdk::models::gateway::events::ArchivedMessageDeleteEvent"]],["impl Sync for ArchivedPartyMemberEvent",1,["client_sdk::models::gateway::events::ArchivedPartyMemberEvent"]],["impl Sync for ArchivedPartyPositionUpdate",1,["client_sdk::models::gateway::events::ArchivedPartyPositionUpdate"]],["impl Sync for ArchivedProfileUpdateEvent",1,["client_sdk::models::gateway::events::ArchivedProfileUpdateEvent"]],["impl Sync for ArchivedReady",1,["client_sdk::models::gateway::events::ArchivedReady"]],["impl Sync for ArchivedReadyParty",1,["client_sdk::models::gateway::events::ArchivedReadyParty"]],["impl Sync for ArchivedRoleDeleteEvent",1,["client_sdk::models::gateway::events::ArchivedRoleDeleteEvent"]],["impl Sync for ArchivedRoomDeleteEvent",1,["client_sdk::models::gateway::events::ArchivedRoomDeleteEvent"]],["impl Sync for ArchivedTypingStart",1,["client_sdk::models::gateway::events::ArchivedTypingStart"]],["impl Sync for ArchivedUserPresenceEvent",1,["client_sdk::models::gateway::events::ArchivedUserPresenceEvent"]],["impl Sync for ArchivedUserReactionEvent",1,["client_sdk::models::gateway::events::ArchivedUserReactionEvent"]],["impl Sync for Hello",1,["client_sdk::models::gateway::events::Hello"]],["impl Sync for HelloResolver",1,["client_sdk::models::gateway::events::HelloResolver"]],["impl Sync for MessageDeleteEvent",1,["client_sdk::models::gateway::events::MessageDeleteEvent"]],["impl Sync for MessageDeleteEventResolver",1,["client_sdk::models::gateway::events::MessageDeleteEventResolver"]],["impl Sync for PartyMemberEvent",1,["client_sdk::models::gateway::events::PartyMemberEvent"]],["impl Sync for PartyMemberEventResolver",1,["client_sdk::models::gateway::events::PartyMemberEventResolver"]],["impl Sync for PartyPositionUpdate",1,["client_sdk::models::gateway::events::PartyPositionUpdate"]],["impl Sync for PartyPositionUpdateResolver",1,["client_sdk::models::gateway::events::PartyPositionUpdateResolver"]],["impl Sync for ProfileUpdateEvent",1,["client_sdk::models::gateway::events::ProfileUpdateEvent"]],["impl Sync for ProfileUpdateEventResolver",1,["client_sdk::models::gateway::events::ProfileUpdateEventResolver"]],["impl Sync for Ready",1,["client_sdk::models::gateway::events::Ready"]],["impl Sync for ReadyParty",1,["client_sdk::models::gateway::events::ReadyParty"]],["impl Sync for ReadyPartyResolver",1,["client_sdk::models::gateway::events::ReadyPartyResolver"]],["impl Sync for ReadyResolver",1,["client_sdk::models::gateway::events::ReadyResolver"]],["impl Sync for RoleDeleteEvent",1,["client_sdk::models::gateway::events::RoleDeleteEvent"]],["impl Sync for RoleDeleteEventResolver",1,["client_sdk::models::gateway::events::RoleDeleteEventResolver"]],["impl Sync for RoomDeleteEvent",1,["client_sdk::models::gateway::events::RoomDeleteEvent"]],["impl Sync for RoomDeleteEventResolver",1,["client_sdk::models::gateway::events::RoomDeleteEventResolver"]],["impl Sync for TypingStart",1,["client_sdk::models::gateway::events::TypingStart"]],["impl Sync for TypingStartResolver",1,["client_sdk::models::gateway::events::TypingStartResolver"]],["impl Sync for UserPresenceEvent",1,["client_sdk::models::gateway::events::UserPresenceEvent"]],["impl Sync for UserPresenceEventResolver",1,["client_sdk::models::gateway::events::UserPresenceEventResolver"]],["impl Sync for UserReactionEvent",1,["client_sdk::models::gateway::events::UserReactionEvent"]],["impl Sync for UserReactionEventResolver",1,["client_sdk::models::gateway::events::UserReactionEventResolver"]],["impl Sync for ArchivedHeartbeatPayload",1,["client_sdk::models::gateway::message::client_msg_payloads::ArchivedHeartbeatPayload"]],["impl Sync for ArchivedIdentifyPayload",1,["client_sdk::models::gateway::message::client_msg_payloads::ArchivedIdentifyPayload"]],["impl Sync for ArchivedResumePayload",1,["client_sdk::models::gateway::message::client_msg_payloads::ArchivedResumePayload"]],["impl Sync for ArchivedSetPresencePayload",1,["client_sdk::models::gateway::message::client_msg_payloads::ArchivedSetPresencePayload"]],["impl Sync for ArchivedSubscribePayload",1,["client_sdk::models::gateway::message::client_msg_payloads::ArchivedSubscribePayload"]],["impl Sync for ArchivedUnsubscribePayload",1,["client_sdk::models::gateway::message::client_msg_payloads::ArchivedUnsubscribePayload"]],["impl Sync for HeartbeatPayload",1,["client_sdk::models::gateway::message::client_msg_payloads::HeartbeatPayload"]],["impl Sync for HeartbeatPayloadResolver",1,["client_sdk::models::gateway::message::client_msg_payloads::HeartbeatPayloadResolver"]],["impl Sync for IdentifyPayload",1,["client_sdk::models::gateway::message::client_msg_payloads::IdentifyPayload"]],["impl Sync for IdentifyPayloadResolver",1,["client_sdk::models::gateway::message::client_msg_payloads::IdentifyPayloadResolver"]],["impl Sync for ResumePayload",1,["client_sdk::models::gateway::message::client_msg_payloads::ResumePayload"]],["impl Sync for ResumePayloadResolver",1,["client_sdk::models::gateway::message::client_msg_payloads::ResumePayloadResolver"]],["impl Sync for SetPresencePayload",1,["client_sdk::models::gateway::message::client_msg_payloads::SetPresencePayload"]],["impl Sync for SetPresencePayloadResolver",1,["client_sdk::models::gateway::message::client_msg_payloads::SetPresencePayloadResolver"]],["impl Sync for SubscribePayload",1,["client_sdk::models::gateway::message::client_msg_payloads::SubscribePayload"]],["impl Sync for SubscribePayloadResolver",1,["client_sdk::models::gateway::message::client_msg_payloads::SubscribePayloadResolver"]],["impl Sync for UnsubscribePayload",1,["client_sdk::models::gateway::message::client_msg_payloads::UnsubscribePayload"]],["impl Sync for UnsubscribePayloadResolver",1,["client_sdk::models::gateway::message::client_msg_payloads::UnsubscribePayloadResolver"]],["impl Sync for ArchivedHeartbeatAckPayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ArchivedHeartbeatAckPayload"]],["impl Sync for ArchivedHelloPayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ArchivedHelloPayload"]],["impl Sync for ArchivedInvalidSessionPayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ArchivedInvalidSessionPayload"]],["impl Sync for ArchivedMemberAddPayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ArchivedMemberAddPayload"]],["impl Sync for ArchivedMemberBanPayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ArchivedMemberBanPayload"]],["impl Sync for ArchivedMemberRemovePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ArchivedMemberRemovePayload"]],["impl Sync for ArchivedMemberUnbanPayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ArchivedMemberUnbanPayload"]],["impl Sync for ArchivedMemberUpdatePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ArchivedMemberUpdatePayload"]],["impl Sync for ArchivedMessageCreatePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ArchivedMessageCreatePayload"]],["impl Sync for ArchivedMessageDeletePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ArchivedMessageDeletePayload"]],["impl Sync for ArchivedMessageReactionAddPayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ArchivedMessageReactionAddPayload"]],["impl Sync for ArchivedMessageReactionRemoveAllPayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ArchivedMessageReactionRemoveAllPayload"]],["impl Sync for ArchivedMessageReactionRemoveEmotePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ArchivedMessageReactionRemoveEmotePayload"]],["impl Sync for ArchivedMessageReactionRemovePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ArchivedMessageReactionRemovePayload"]],["impl Sync for ArchivedMessageUpdatePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ArchivedMessageUpdatePayload"]],["impl Sync for ArchivedPartyCreatePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ArchivedPartyCreatePayload"]],["impl Sync for ArchivedPartyDeletePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ArchivedPartyDeletePayload"]],["impl Sync for ArchivedPartyUpdatePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ArchivedPartyUpdatePayload"]],["impl Sync for ArchivedPresenceUpdatePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ArchivedPresenceUpdatePayload"]],["impl Sync for ArchivedProfileUpdatePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ArchivedProfileUpdatePayload"]],["impl Sync for ArchivedReadyPayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ArchivedReadyPayload"]],["impl Sync for ArchivedRelationAddPayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ArchivedRelationAddPayload"]],["impl Sync for ArchivedRelationRemovePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ArchivedRelationRemovePayload"]],["impl Sync for ArchivedRoleCreatePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ArchivedRoleCreatePayload"]],["impl Sync for ArchivedRoleDeletePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ArchivedRoleDeletePayload"]],["impl Sync for ArchivedRoleUpdatePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ArchivedRoleUpdatePayload"]],["impl Sync for ArchivedRoomCreatePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ArchivedRoomCreatePayload"]],["impl Sync for ArchivedRoomDeletePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ArchivedRoomDeletePayload"]],["impl Sync for ArchivedRoomPinsUpdatePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ArchivedRoomPinsUpdatePayload"]],["impl Sync for ArchivedRoomUpdatePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ArchivedRoomUpdatePayload"]],["impl Sync for ArchivedTypingStartPayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ArchivedTypingStartPayload"]],["impl Sync for ArchivedUserUpdatePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ArchivedUserUpdatePayload"]],["impl Sync for HeartbeatAckPayload",1,["client_sdk::models::gateway::message::server_msg_payloads::HeartbeatAckPayload"]],["impl Sync for HeartbeatAckPayloadResolver",1,["client_sdk::models::gateway::message::server_msg_payloads::HeartbeatAckPayloadResolver"]],["impl Sync for HelloPayload",1,["client_sdk::models::gateway::message::server_msg_payloads::HelloPayload"]],["impl Sync for HelloPayloadResolver",1,["client_sdk::models::gateway::message::server_msg_payloads::HelloPayloadResolver"]],["impl Sync for InvalidSessionPayload",1,["client_sdk::models::gateway::message::server_msg_payloads::InvalidSessionPayload"]],["impl Sync for InvalidSessionPayloadResolver",1,["client_sdk::models::gateway::message::server_msg_payloads::InvalidSessionPayloadResolver"]],["impl Sync for MemberAddPayload",1,["client_sdk::models::gateway::message::server_msg_payloads::MemberAddPayload"]],["impl Sync for MemberAddPayloadResolver",1,["client_sdk::models::gateway::message::server_msg_payloads::MemberAddPayloadResolver"]],["impl Sync for MemberBanPayload",1,["client_sdk::models::gateway::message::server_msg_payloads::MemberBanPayload"]],["impl Sync for MemberBanPayloadResolver",1,["client_sdk::models::gateway::message::server_msg_payloads::MemberBanPayloadResolver"]],["impl Sync for MemberRemovePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::MemberRemovePayload"]],["impl Sync for MemberRemovePayloadResolver",1,["client_sdk::models::gateway::message::server_msg_payloads::MemberRemovePayloadResolver"]],["impl Sync for MemberUnbanPayload",1,["client_sdk::models::gateway::message::server_msg_payloads::MemberUnbanPayload"]],["impl Sync for MemberUnbanPayloadResolver",1,["client_sdk::models::gateway::message::server_msg_payloads::MemberUnbanPayloadResolver"]],["impl Sync for MemberUpdatePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::MemberUpdatePayload"]],["impl Sync for MemberUpdatePayloadResolver",1,["client_sdk::models::gateway::message::server_msg_payloads::MemberUpdatePayloadResolver"]],["impl Sync for MessageCreatePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::MessageCreatePayload"]],["impl Sync for MessageCreatePayloadResolver",1,["client_sdk::models::gateway::message::server_msg_payloads::MessageCreatePayloadResolver"]],["impl Sync for MessageDeletePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::MessageDeletePayload"]],["impl Sync for MessageDeletePayloadResolver",1,["client_sdk::models::gateway::message::server_msg_payloads::MessageDeletePayloadResolver"]],["impl Sync for MessageReactionAddPayload",1,["client_sdk::models::gateway::message::server_msg_payloads::MessageReactionAddPayload"]],["impl Sync for MessageReactionAddPayloadResolver",1,["client_sdk::models::gateway::message::server_msg_payloads::MessageReactionAddPayloadResolver"]],["impl Sync for MessageReactionRemoveAllPayload",1,["client_sdk::models::gateway::message::server_msg_payloads::MessageReactionRemoveAllPayload"]],["impl Sync for MessageReactionRemoveAllPayloadResolver",1,["client_sdk::models::gateway::message::server_msg_payloads::MessageReactionRemoveAllPayloadResolver"]],["impl Sync for MessageReactionRemoveEmotePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::MessageReactionRemoveEmotePayload"]],["impl Sync for MessageReactionRemoveEmotePayloadResolver",1,["client_sdk::models::gateway::message::server_msg_payloads::MessageReactionRemoveEmotePayloadResolver"]],["impl Sync for MessageReactionRemovePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::MessageReactionRemovePayload"]],["impl Sync for MessageReactionRemovePayloadResolver",1,["client_sdk::models::gateway::message::server_msg_payloads::MessageReactionRemovePayloadResolver"]],["impl Sync for MessageUpdatePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::MessageUpdatePayload"]],["impl Sync for MessageUpdatePayloadResolver",1,["client_sdk::models::gateway::message::server_msg_payloads::MessageUpdatePayloadResolver"]],["impl Sync for PartyCreatePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::PartyCreatePayload"]],["impl Sync for PartyCreatePayloadResolver",1,["client_sdk::models::gateway::message::server_msg_payloads::PartyCreatePayloadResolver"]],["impl Sync for PartyDeletePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::PartyDeletePayload"]],["impl Sync for PartyDeletePayloadResolver",1,["client_sdk::models::gateway::message::server_msg_payloads::PartyDeletePayloadResolver"]],["impl Sync for PartyUpdatePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::PartyUpdatePayload"]],["impl Sync for PartyUpdatePayloadResolver",1,["client_sdk::models::gateway::message::server_msg_payloads::PartyUpdatePayloadResolver"]],["impl Sync for PresenceUpdatePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::PresenceUpdatePayload"]],["impl Sync for PresenceUpdatePayloadResolver",1,["client_sdk::models::gateway::message::server_msg_payloads::PresenceUpdatePayloadResolver"]],["impl Sync for ProfileUpdatePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ProfileUpdatePayload"]],["impl Sync for ProfileUpdatePayloadResolver",1,["client_sdk::models::gateway::message::server_msg_payloads::ProfileUpdatePayloadResolver"]],["impl Sync for ReadyPayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ReadyPayload"]],["impl Sync for ReadyPayloadResolver",1,["client_sdk::models::gateway::message::server_msg_payloads::ReadyPayloadResolver"]],["impl Sync for RelationAddPayload",1,["client_sdk::models::gateway::message::server_msg_payloads::RelationAddPayload"]],["impl Sync for RelationAddPayloadResolver",1,["client_sdk::models::gateway::message::server_msg_payloads::RelationAddPayloadResolver"]],["impl Sync for RelationRemovePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::RelationRemovePayload"]],["impl Sync for RelationRemovePayloadResolver",1,["client_sdk::models::gateway::message::server_msg_payloads::RelationRemovePayloadResolver"]],["impl Sync for RoleCreatePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::RoleCreatePayload"]],["impl Sync for RoleCreatePayloadResolver",1,["client_sdk::models::gateway::message::server_msg_payloads::RoleCreatePayloadResolver"]],["impl Sync for RoleDeletePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::RoleDeletePayload"]],["impl Sync for RoleDeletePayloadResolver",1,["client_sdk::models::gateway::message::server_msg_payloads::RoleDeletePayloadResolver"]],["impl Sync for RoleUpdatePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::RoleUpdatePayload"]],["impl Sync for RoleUpdatePayloadResolver",1,["client_sdk::models::gateway::message::server_msg_payloads::RoleUpdatePayloadResolver"]],["impl Sync for RoomCreatePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::RoomCreatePayload"]],["impl Sync for RoomCreatePayloadResolver",1,["client_sdk::models::gateway::message::server_msg_payloads::RoomCreatePayloadResolver"]],["impl Sync for RoomDeletePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::RoomDeletePayload"]],["impl Sync for RoomDeletePayloadResolver",1,["client_sdk::models::gateway::message::server_msg_payloads::RoomDeletePayloadResolver"]],["impl Sync for RoomPinsUpdatePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::RoomPinsUpdatePayload"]],["impl Sync for RoomPinsUpdatePayloadResolver",1,["client_sdk::models::gateway::message::server_msg_payloads::RoomPinsUpdatePayloadResolver"]],["impl Sync for RoomUpdatePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::RoomUpdatePayload"]],["impl Sync for RoomUpdatePayloadResolver",1,["client_sdk::models::gateway::message::server_msg_payloads::RoomUpdatePayloadResolver"]],["impl Sync for TypingStartPayload",1,["client_sdk::models::gateway::message::server_msg_payloads::TypingStartPayload"]],["impl Sync for TypingStartPayloadResolver",1,["client_sdk::models::gateway::message::server_msg_payloads::TypingStartPayloadResolver"]],["impl Sync for UserUpdatePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::UserUpdatePayload"]],["impl Sync for UserUpdatePayloadResolver",1,["client_sdk::models::gateway::message::server_msg_payloads::UserUpdatePayloadResolver"]],["impl Sync for ArchivedIntent",1,["client_sdk::models::gateway::ArchivedIntent"]],["impl Sync for Intent",1,["client_sdk::models::gateway::Intent"]],["impl Sync for ArchivedInvite",1,["client_sdk::models::invite::ArchivedInvite"]],["impl Sync for Invite",1,["client_sdk::models::invite::Invite"]],["impl Sync for InviteResolver",1,["client_sdk::models::invite::InviteResolver"]],["impl Sync for ArchivedAttachment",1,["client_sdk::models::message::ArchivedAttachment"]],["impl Sync for ArchivedMessage",1,["client_sdk::models::message::ArchivedMessage"]],["impl Sync for ArchivedMessageFlags",1,["client_sdk::models::message::ArchivedMessageFlags"]],["impl Sync for ArchivedReactionFull",1,["client_sdk::models::message::ArchivedReactionFull"]],["impl Sync for ArchivedReactionShorthand",1,["client_sdk::models::message::ArchivedReactionShorthand"]],["impl Sync for Attachment",1,["client_sdk::models::message::Attachment"]],["impl Sync for AttachmentResolver",1,["client_sdk::models::message::AttachmentResolver"]],["impl Sync for Message",1,["client_sdk::models::message::Message"]],["impl Sync for MessageFlags",1,["client_sdk::models::message::MessageFlags"]],["impl Sync for MessageResolver",1,["client_sdk::models::message::MessageResolver"]],["impl Sync for ReactionFull",1,["client_sdk::models::message::ReactionFull"]],["impl Sync for ReactionFullResolver",1,["client_sdk::models::message::ReactionFullResolver"]],["impl Sync for ReactionShorthand",1,["client_sdk::models::message::ReactionShorthand"]],["impl Sync for ReactionShorthandResolver",1,["client_sdk::models::message::ReactionShorthandResolver"]],["impl Sync for ArchivedPartialParty",1,["client_sdk::models::party::ArchivedPartialParty"]],["impl Sync for ArchivedParty",1,["client_sdk::models::party::ArchivedParty"]],["impl Sync for ArchivedPartyFlags",1,["client_sdk::models::party::ArchivedPartyFlags"]],["impl Sync for ArchivedPartyMember",1,["client_sdk::models::party::ArchivedPartyMember"]],["impl Sync for ArchivedPartyMemberFlags",1,["client_sdk::models::party::ArchivedPartyMemberFlags"]],["impl Sync for ArchivedPartyPreferences",1,["client_sdk::models::party::prefs::ArchivedPartyPreferences"]],["impl Sync for ArchivedPartyPrefsFlags",1,["client_sdk::models::party::prefs::ArchivedPartyPrefsFlags"]],["impl Sync for ArchivedPinFolder",1,["client_sdk::models::party::ArchivedPinFolder"]],["impl Sync for ArchivedPinFolderFlags",1,["client_sdk::models::party::ArchivedPinFolderFlags"]],["impl Sync for PartialParty",1,["client_sdk::models::party::PartialParty"]],["impl Sync for PartialPartyResolver",1,["client_sdk::models::party::PartialPartyResolver"]],["impl Sync for Party",1,["client_sdk::models::party::Party"]],["impl Sync for PartyFlags",1,["client_sdk::models::party::PartyFlags"]],["impl Sync for PartyMember",1,["client_sdk::models::party::PartyMember"]],["impl Sync for PartyMemberFlags",1,["client_sdk::models::party::PartyMemberFlags"]],["impl Sync for PartyMemberResolver",1,["client_sdk::models::party::PartyMemberResolver"]],["impl Sync for PartyPreferences",1,["client_sdk::models::party::prefs::PartyPreferences"]],["impl Sync for PartyPreferencesResolver",1,["client_sdk::models::party::prefs::PartyPreferencesResolver"]],["impl Sync for PartyPrefsFlags",1,["client_sdk::models::party::prefs::PartyPrefsFlags"]],["impl Sync for PartyResolver",1,["client_sdk::models::party::PartyResolver"]],["impl Sync for PinFolder",1,["client_sdk::models::party::PinFolder"]],["impl Sync for PinFolderFlags",1,["client_sdk::models::party::PinFolderFlags"]],["impl Sync for PinFolderResolver",1,["client_sdk::models::party::PinFolderResolver"]],["impl Sync for ArchivedOverwrite",1,["client_sdk::models::permission::ArchivedOverwrite"]],["impl Sync for ArchivedPermissions",1,["client_sdk::models::permission::ArchivedPermissions"]],["impl Sync for Overwrite",1,["client_sdk::models::permission::Overwrite"]],["impl Sync for OverwriteResolver",1,["client_sdk::models::permission::OverwriteResolver"]],["impl Sync for Permissions",1,["client_sdk::models::permission::Permissions"]],["impl Sync for Activity",1,["client_sdk::models::presence::Activity"]],["impl Sync for ActivityResolver",1,["client_sdk::models::presence::ActivityResolver"]],["impl Sync for ArchivedActivity",1,["client_sdk::models::presence::ArchivedActivity"]],["impl Sync for ArchivedUserPresence",1,["client_sdk::models::presence::ArchivedUserPresence"]],["impl Sync for ArchivedUserPresenceFlags",1,["client_sdk::models::presence::ArchivedUserPresenceFlags"]],["impl Sync for UserPresence",1,["client_sdk::models::presence::UserPresence"]],["impl Sync for UserPresenceFlags",1,["client_sdk::models::presence::UserPresenceFlags"]],["impl Sync for UserPresenceResolver",1,["client_sdk::models::presence::UserPresenceResolver"]],["impl Sync for ArchivedRole",1,["client_sdk::models::role::ArchivedRole"]],["impl Sync for ArchivedRoleFlags",1,["client_sdk::models::role::ArchivedRoleFlags"]],["impl Sync for Role",1,["client_sdk::models::role::Role"]],["impl Sync for RoleFlags",1,["client_sdk::models::role::RoleFlags"]],["impl Sync for RoleResolver",1,["client_sdk::models::role::RoleResolver"]],["impl Sync for ArchivedFullRoom",1,["client_sdk::models::room::ArchivedFullRoom"]],["impl Sync for ArchivedRoom",1,["client_sdk::models::room::ArchivedRoom"]],["impl Sync for ArchivedRoomFlags",1,["client_sdk::models::room::ArchivedRoomFlags"]],["impl Sync for FullRoom",1,["client_sdk::models::room::FullRoom"]],["impl Sync for FullRoomResolver",1,["client_sdk::models::room::FullRoomResolver"]],["impl Sync for Room",1,["client_sdk::models::room::Room"]],["impl Sync for RoomFlags",1,["client_sdk::models::room::RoomFlags"]],["impl Sync for RoomResolver",1,["client_sdk::models::room::RoomResolver"]],["impl Sync for AnonymousSession",1,["client_sdk::models::session::AnonymousSession"]],["impl Sync for AnonymousSessionResolver",1,["client_sdk::models::session::AnonymousSessionResolver"]],["impl Sync for ArchivedAnonymousSession",1,["client_sdk::models::session::ArchivedAnonymousSession"]],["impl Sync for ArchivedSession",1,["client_sdk::models::session::ArchivedSession"]],["impl Sync for Session",1,["client_sdk::models::session::Session"]],["impl Sync for SessionResolver",1,["client_sdk::models::session::SessionResolver"]],["impl Sync for ArchivedRoomStatistics",1,["client_sdk::models::stats::ArchivedRoomStatistics"]],["impl Sync for RoomStatistics",1,["client_sdk::models::stats::RoomStatistics"]],["impl Sync for RoomStatisticsResolver",1,["client_sdk::models::stats::RoomStatisticsResolver"]],["impl Sync for Statistics",1,["client_sdk::models::stats::Statistics"]],["impl Sync for FxRandomState2",1,["client_sdk::models::FxRandomState2"]],["impl Sync for ArchivedThread",1,["client_sdk::models::thread::ArchivedThread"]],["impl Sync for ArchivedThreadFlags",1,["client_sdk::models::thread::ArchivedThreadFlags"]],["impl Sync for Thread",1,["client_sdk::models::thread::Thread"]],["impl Sync for ThreadFlags",1,["client_sdk::models::thread::ThreadFlags"]],["impl Sync for ThreadResolver",1,["client_sdk::models::thread::ThreadResolver"]],["impl Sync for ArchivedFontSize",1,["client_sdk::models::user::prefs::preferences::ArchivedFontSize"]],["impl Sync for ArchivedPadding",1,["client_sdk::models::user::prefs::preferences::ArchivedPadding"]],["impl Sync for ArchivedTabSize",1,["client_sdk::models::user::prefs::preferences::ArchivedTabSize"]],["impl Sync for ArchivedTemperature",1,["client_sdk::models::user::prefs::preferences::ArchivedTemperature"]],["impl Sync for FontSize",1,["client_sdk::models::user::prefs::preferences::FontSize"]],["impl Sync for FontSizeResolver",1,["client_sdk::models::user::prefs::preferences::FontSizeResolver"]],["impl Sync for Padding",1,["client_sdk::models::user::prefs::preferences::Padding"]],["impl Sync for PaddingResolver",1,["client_sdk::models::user::prefs::preferences::PaddingResolver"]],["impl Sync for TabSize",1,["client_sdk::models::user::prefs::preferences::TabSize"]],["impl Sync for TabSizeResolver",1,["client_sdk::models::user::prefs::preferences::TabSizeResolver"]],["impl Sync for Temperature",1,["client_sdk::models::user::prefs::preferences::Temperature"]],["impl Sync for TemperatureResolver",1,["client_sdk::models::user::prefs::preferences::TemperatureResolver"]],["impl Sync for ArchivedExtraUserProfileBits",1,["client_sdk::models::user::ArchivedExtraUserProfileBits"]],["impl Sync for ArchivedFont",1,["client_sdk::models::user::prefs::font_impl::ArchivedFont"]],["impl Sync for ArchivedFriendAddability",1,["client_sdk::models::user::prefs::friend_addability_impl::ArchivedFriendAddability"]],["impl Sync for ArchivedLocale",1,["client_sdk::models::user::prefs::locale_impl::ArchivedLocale"]],["impl Sync for ArchivedRelationship",1,["client_sdk::models::user::ArchivedRelationship"]],["impl Sync for ArchivedUser",1,["client_sdk::models::user::ArchivedUser"]],["impl Sync for ArchivedUserFlags",1,["client_sdk::models::user::ArchivedUserFlags"]],["impl Sync for ArchivedUserPreferences",1,["client_sdk::models::user::prefs::ArchivedUserPreferences"]],["impl Sync for ArchivedUserPrefsFlags",1,["client_sdk::models::user::prefs::ArchivedUserPrefsFlags"]],["impl Sync for ArchivedUserProfile",1,["client_sdk::models::user::ArchivedUserProfile"]],["impl Sync for ArchivedUserProfileBits",1,["client_sdk::models::user::ArchivedUserProfileBits"]],["impl Sync for ArchivedUserRelationship",1,["client_sdk::models::user::user_relationship_impl::ArchivedUserRelationship"]],["impl Sync for ExtraUserProfileBits",1,["client_sdk::models::user::ExtraUserProfileBits"]],["impl Sync for Relationship",1,["client_sdk::models::user::Relationship"]],["impl Sync for RelationshipResolver",1,["client_sdk::models::user::RelationshipResolver"]],["impl Sync for User",1,["client_sdk::models::user::User"]],["impl Sync for UserFlags",1,["client_sdk::models::user::UserFlags"]],["impl Sync for UserPreferences",1,["client_sdk::models::user::prefs::UserPreferences"]],["impl Sync for UserPreferencesResolver",1,["client_sdk::models::user::prefs::UserPreferencesResolver"]],["impl Sync for UserPrefsFlags",1,["client_sdk::models::user::prefs::UserPrefsFlags"]],["impl Sync for UserProfile",1,["client_sdk::models::user::UserProfile"]],["impl Sync for UserProfileBits",1,["client_sdk::models::user::UserProfileBits"]],["impl Sync for UserProfileResolver",1,["client_sdk::models::user::UserProfileResolver"]],["impl Sync for UserResolver",1,["client_sdk::models::user::UserResolver"]],["impl Sync for FromUtf8Error",1,["client_sdk::models::util::thin_str::FromUtf8Error"]],["impl Sync for ThinString",1,["client_sdk::models::util::thin_str::ThinString"]],["impl<'a> Sync for Argument<'a>",1,["client_sdk::framework_utils::args::Argument"]],["impl<'a> Sync for ArgumentSplitter<'a>",1,["client_sdk::framework_utils::args::ArgumentSplitter"]],["impl<C, U, S> Sync for DynamicClientMsgHandlers<C, U, S>
where\n S: Sync + Send,
",1,["client_sdk::models::gateway::message::DynamicClientMsgHandlers"]],["impl<C, U, S> Sync for DynamicServerMsgHandlers<C, U, S>
where\n S: Sync + Send,
",1,["client_sdk::models::gateway::message::DynamicServerMsgHandlers"]],["impl<H, E = StandardError> !Sync for Standard<H, E>",1,["client_sdk::framework::standard::Standard"]],["impl<T> Sync for Nullable<T>
where\n T: Sync,
",1,["client_sdk::models::nullable::Nullable"]],["impl<const N: usize> Sync for FixedStr<N>",1,["client_sdk::models::util::fixed_str::FixedStr"]]]]]); + if (window.register_implementors) { + window.register_implementors(implementors); + } else { + window.pending_implementors = implementors; + } +})() +//{"start":57,"fragment_lengths":[262617]} \ No newline at end of file diff --git a/trait.impl/core/marker/trait.Unpin.js b/trait.impl/core/marker/trait.Unpin.js new file mode 100644 index 000000000..72a447047 --- /dev/null +++ b/trait.impl/core/marker/trait.Unpin.js @@ -0,0 +1,9 @@ +(function() { + var implementors = Object.fromEntries([["client_sdk",[["impl !Unpin for ArchivedEmbed",1,["client_sdk::models::embed::ArchivedEmbed"]],["impl !Unpin for ArchivedEmote",1,["client_sdk::models::emote::ArchivedEmote"]],["impl !Unpin for ArchivedPartyUpdateEvent",1,["client_sdk::models::gateway::events::ArchivedPartyUpdateEvent"]],["impl !Unpin for ArchivedClientMsg",1,["client_sdk::models::gateway::message::ArchivedClientMsg"]],["impl !Unpin for ArchivedServerMsg",1,["client_sdk::models::gateway::message::ArchivedServerMsg"]],["impl !Unpin for ArchivedEmoteOrEmoji",1,["client_sdk::models::message::ArchivedEmoteOrEmoji"]],["impl !Unpin for ArchivedReaction",1,["client_sdk::models::message::ArchivedReaction"]],["impl !Unpin for ArchivedCreateFile",1,["client_sdk::api::commands::file::ArchivedCreateFile"]],["impl !Unpin for ArchivedCreateFileBody",1,["client_sdk::api::commands::file::ArchivedCreateFileBody"]],["impl !Unpin for ArchivedGetInvite",1,["client_sdk::api::commands::invite::ArchivedGetInvite"]],["impl !Unpin for ArchivedRedeemInvite",1,["client_sdk::api::commands::invite::ArchivedRedeemInvite"]],["impl !Unpin for ArchivedRedeemInviteBody",1,["client_sdk::api::commands::invite::ArchivedRedeemInviteBody"]],["impl !Unpin for ArchivedRevokeInvite",1,["client_sdk::api::commands::invite::ArchivedRevokeInvite"]],["impl !Unpin for ArchivedCreateParty",1,["client_sdk::api::commands::party::ArchivedCreateParty"]],["impl !Unpin for ArchivedCreatePartyForm",1,["client_sdk::api::commands::party::ArchivedCreatePartyForm"]],["impl !Unpin for ArchivedCreatePartyInvite",1,["client_sdk::api::commands::party::ArchivedCreatePartyInvite"]],["impl !Unpin for ArchivedCreatePartyInviteBody",1,["client_sdk::api::commands::party::ArchivedCreatePartyInviteBody"]],["impl !Unpin for ArchivedCreatePinFolder",1,["client_sdk::api::commands::party::ArchivedCreatePinFolder"]],["impl !Unpin for ArchivedCreatePinFolderForm",1,["client_sdk::api::commands::party::ArchivedCreatePinFolderForm"]],["impl !Unpin for ArchivedCreateRole",1,["client_sdk::api::commands::party::ArchivedCreateRole"]],["impl !Unpin for ArchivedCreateRoleForm",1,["client_sdk::api::commands::party::ArchivedCreateRoleForm"]],["impl !Unpin for ArchivedCreateRoom",1,["client_sdk::api::commands::party::ArchivedCreateRoom"]],["impl !Unpin for ArchivedCreateRoomForm",1,["client_sdk::api::commands::party::ArchivedCreateRoomForm"]],["impl !Unpin for ArchivedPatchParty",1,["client_sdk::api::commands::party::ArchivedPatchParty"]],["impl !Unpin for ArchivedPatchPartyForm",1,["client_sdk::api::commands::party::ArchivedPatchPartyForm"]],["impl !Unpin for ArchivedPatchRole",1,["client_sdk::api::commands::party::ArchivedPatchRole"]],["impl !Unpin for ArchivedPatchRoleForm",1,["client_sdk::api::commands::party::ArchivedPatchRoleForm"]],["impl !Unpin for ArchivedSearchParty",1,["client_sdk::api::commands::party::ArchivedSearchParty"]],["impl !Unpin for ArchivedSearchQuery",1,["client_sdk::api::commands::party::ArchivedSearchQuery"]],["impl !Unpin for ArchivedUpdateMemberProfile",1,["client_sdk::api::commands::party::ArchivedUpdateMemberProfile"]],["impl !Unpin for ArchivedUpdateMemberProfileBody",1,["client_sdk::api::commands::party::ArchivedUpdateMemberProfileBody"]],["impl !Unpin for ArchivedCreateMessage",1,["client_sdk::api::commands::room::ArchivedCreateMessage"]],["impl !Unpin for ArchivedCreateMessageBody",1,["client_sdk::api::commands::room::ArchivedCreateMessageBody"]],["impl !Unpin for ArchivedDeleteOwnReaction",1,["client_sdk::api::commands::room::ArchivedDeleteOwnReaction"]],["impl !Unpin for ArchivedDeleteUserReaction",1,["client_sdk::api::commands::room::ArchivedDeleteUserReaction"]],["impl !Unpin for ArchivedEditMessage",1,["client_sdk::api::commands::room::ArchivedEditMessage"]],["impl !Unpin for ArchivedEditMessageBody",1,["client_sdk::api::commands::room::ArchivedEditMessageBody"]],["impl !Unpin for ArchivedGetMessages",1,["client_sdk::api::commands::room::ArchivedGetMessages"]],["impl !Unpin for ArchivedGetMessagesQuery",1,["client_sdk::api::commands::room::ArchivedGetMessagesQuery"]],["impl !Unpin for ArchivedGetReactions",1,["client_sdk::api::commands::room::ArchivedGetReactions"]],["impl !Unpin for ArchivedPatchRoom",1,["client_sdk::api::commands::room::ArchivedPatchRoom"]],["impl !Unpin for ArchivedPatchRoomForm",1,["client_sdk::api::commands::room::ArchivedPatchRoomForm"]],["impl !Unpin for ArchivedPutReaction",1,["client_sdk::api::commands::room::ArchivedPutReaction"]],["impl !Unpin for ArchivedAdded2FA",1,["client_sdk::api::commands::user::ArchivedAdded2FA"]],["impl !Unpin for ArchivedChangePassword",1,["client_sdk::api::commands::user::ArchivedChangePassword"]],["impl !Unpin for ArchivedChangePasswordForm",1,["client_sdk::api::commands::user::ArchivedChangePasswordForm"]],["impl !Unpin for ArchivedClearSessions",1,["client_sdk::api::commands::user::ArchivedClearSessions"]],["impl !Unpin for ArchivedClearSessionsForm",1,["client_sdk::api::commands::user::ArchivedClearSessionsForm"]],["impl !Unpin for ArchivedConfirm2FA",1,["client_sdk::api::commands::user::ArchivedConfirm2FA"]],["impl !Unpin for ArchivedConfirm2FAForm",1,["client_sdk::api::commands::user::ArchivedConfirm2FAForm"]],["impl !Unpin for ArchivedEnable2FA",1,["client_sdk::api::commands::user::ArchivedEnable2FA"]],["impl !Unpin for ArchivedEnable2FAForm",1,["client_sdk::api::commands::user::ArchivedEnable2FAForm"]],["impl !Unpin for ArchivedPatchRelationship",1,["client_sdk::api::commands::user::ArchivedPatchRelationship"]],["impl !Unpin for ArchivedPatchRelationshipBody",1,["client_sdk::api::commands::user::ArchivedPatchRelationshipBody"]],["impl !Unpin for ArchivedRemove2FA",1,["client_sdk::api::commands::user::ArchivedRemove2FA"]],["impl !Unpin for ArchivedRemove2FAForm",1,["client_sdk::api::commands::user::ArchivedRemove2FAForm"]],["impl !Unpin for ArchivedUpdateUserProfile",1,["client_sdk::api::commands::user::ArchivedUpdateUserProfile"]],["impl !Unpin for ArchivedUpdateUserProfileBody",1,["client_sdk::api::commands::user::ArchivedUpdateUserProfileBody"]],["impl !Unpin for ArchivedUserLogin",1,["client_sdk::api::commands::user::ArchivedUserLogin"]],["impl !Unpin for ArchivedUserLoginForm",1,["client_sdk::api::commands::user::ArchivedUserLoginForm"]],["impl !Unpin for ArchivedUserRegister",1,["client_sdk::api::commands::user::ArchivedUserRegister"]],["impl !Unpin for ArchivedUserRegisterForm",1,["client_sdk::api::commands::user::ArchivedUserRegisterForm"]],["impl !Unpin for ArchivedApiError",1,["client_sdk::api::error::ArchivedApiError"]],["impl !Unpin for ArchivedServerConfig",1,["client_sdk::models::config::ArchivedServerConfig"]],["impl !Unpin for ArchivedBasicEmbedMedia",1,["client_sdk::models::embed::v1::ArchivedBasicEmbedMedia"]],["impl !Unpin for ArchivedEmbedAuthor",1,["client_sdk::models::embed::v1::ArchivedEmbedAuthor"]],["impl !Unpin for ArchivedEmbedField",1,["client_sdk::models::embed::v1::ArchivedEmbedField"]],["impl !Unpin for ArchivedEmbedFooter",1,["client_sdk::models::embed::v1::ArchivedEmbedFooter"]],["impl !Unpin for ArchivedEmbedMedia",1,["client_sdk::models::embed::v1::ArchivedEmbedMedia"]],["impl !Unpin for ArchivedEmbedProvider",1,["client_sdk::models::embed::v1::ArchivedEmbedProvider"]],["impl !Unpin for ArchivedEmbedV1",1,["client_sdk::models::embed::v1::ArchivedEmbedV1"]],["impl !Unpin for ArchivedCustomEmote",1,["client_sdk::models::emote::ArchivedCustomEmote"]],["impl !Unpin for ArchivedFile",1,["client_sdk::models::file::ArchivedFile"]],["impl !Unpin for ArchivedPartyMemberEvent",1,["client_sdk::models::gateway::events::ArchivedPartyMemberEvent"]],["impl !Unpin for ArchivedProfileUpdateEvent",1,["client_sdk::models::gateway::events::ArchivedProfileUpdateEvent"]],["impl !Unpin for ArchivedReady",1,["client_sdk::models::gateway::events::ArchivedReady"]],["impl !Unpin for ArchivedReadyParty",1,["client_sdk::models::gateway::events::ArchivedReadyParty"]],["impl !Unpin for ArchivedTypingStart",1,["client_sdk::models::gateway::events::ArchivedTypingStart"]],["impl !Unpin for ArchivedUserPresenceEvent",1,["client_sdk::models::gateway::events::ArchivedUserPresenceEvent"]],["impl !Unpin for ArchivedUserReactionEvent",1,["client_sdk::models::gateway::events::ArchivedUserReactionEvent"]],["impl !Unpin for ArchivedIdentifyPayload",1,["client_sdk::models::gateway::message::client_msg_payloads::ArchivedIdentifyPayload"]],["impl !Unpin for ArchivedSetPresencePayload",1,["client_sdk::models::gateway::message::client_msg_payloads::ArchivedSetPresencePayload"]],["impl !Unpin for ArchivedMemberAddPayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ArchivedMemberAddPayload"]],["impl !Unpin for ArchivedMemberBanPayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ArchivedMemberBanPayload"]],["impl !Unpin for ArchivedMemberRemovePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ArchivedMemberRemovePayload"]],["impl !Unpin for ArchivedMemberUnbanPayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ArchivedMemberUnbanPayload"]],["impl !Unpin for ArchivedMemberUpdatePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ArchivedMemberUpdatePayload"]],["impl !Unpin for ArchivedMessageCreatePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ArchivedMessageCreatePayload"]],["impl !Unpin for ArchivedMessageDeletePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ArchivedMessageDeletePayload"]],["impl !Unpin for ArchivedMessageReactionAddPayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ArchivedMessageReactionAddPayload"]],["impl !Unpin for ArchivedMessageReactionRemovePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ArchivedMessageReactionRemovePayload"]],["impl !Unpin for ArchivedMessageUpdatePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ArchivedMessageUpdatePayload"]],["impl !Unpin for ArchivedPartyCreatePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ArchivedPartyCreatePayload"]],["impl !Unpin for ArchivedPartyUpdatePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ArchivedPartyUpdatePayload"]],["impl !Unpin for ArchivedPresenceUpdatePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ArchivedPresenceUpdatePayload"]],["impl !Unpin for ArchivedProfileUpdatePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ArchivedProfileUpdatePayload"]],["impl !Unpin for ArchivedReadyPayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ArchivedReadyPayload"]],["impl !Unpin for ArchivedRelationAddPayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ArchivedRelationAddPayload"]],["impl !Unpin for ArchivedRoleCreatePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ArchivedRoleCreatePayload"]],["impl !Unpin for ArchivedRoleDeletePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ArchivedRoleDeletePayload"]],["impl !Unpin for ArchivedRoleUpdatePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ArchivedRoleUpdatePayload"]],["impl !Unpin for ArchivedRoomCreatePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ArchivedRoomCreatePayload"]],["impl !Unpin for ArchivedRoomDeletePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ArchivedRoomDeletePayload"]],["impl !Unpin for ArchivedRoomUpdatePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ArchivedRoomUpdatePayload"]],["impl !Unpin for ArchivedTypingStartPayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ArchivedTypingStartPayload"]],["impl !Unpin for ArchivedUserUpdatePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ArchivedUserUpdatePayload"]],["impl !Unpin for ArchivedInvite",1,["client_sdk::models::invite::ArchivedInvite"]],["impl !Unpin for ArchivedAttachment",1,["client_sdk::models::message::ArchivedAttachment"]],["impl !Unpin for ArchivedMessage",1,["client_sdk::models::message::ArchivedMessage"]],["impl !Unpin for ArchivedReactionFull",1,["client_sdk::models::message::ArchivedReactionFull"]],["impl !Unpin for ArchivedReactionShorthand",1,["client_sdk::models::message::ArchivedReactionShorthand"]],["impl !Unpin for ArchivedPartialParty",1,["client_sdk::models::party::ArchivedPartialParty"]],["impl !Unpin for ArchivedParty",1,["client_sdk::models::party::ArchivedParty"]],["impl !Unpin for ArchivedPartyMember",1,["client_sdk::models::party::ArchivedPartyMember"]],["impl !Unpin for ArchivedPinFolder",1,["client_sdk::models::party::ArchivedPinFolder"]],["impl !Unpin for ArchivedRole",1,["client_sdk::models::role::ArchivedRole"]],["impl !Unpin for ArchivedFullRoom",1,["client_sdk::models::room::ArchivedFullRoom"]],["impl !Unpin for ArchivedRoom",1,["client_sdk::models::room::ArchivedRoom"]],["impl !Unpin for ArchivedThread",1,["client_sdk::models::thread::ArchivedThread"]],["impl !Unpin for ArchivedRelationship",1,["client_sdk::models::user::ArchivedRelationship"]],["impl !Unpin for ArchivedUser",1,["client_sdk::models::user::ArchivedUser"]],["impl !Unpin for ArchivedUserProfile",1,["client_sdk::models::user::ArchivedUserProfile"]],["impl Unpin for AssetQuery",1,["client_sdk::api::asset::AssetQuery"]],["impl Unpin for CreateRoomKind",1,["client_sdk::api::commands::party::CreateRoomKind"]],["impl Unpin for BannerAlign",1,["client_sdk::api::commands::user::BannerAlign"]],["impl Unpin for ApiErrorCode",1,["client_sdk::api::error::api_error_code_impl::ApiErrorCode"]],["impl Unpin for ClientError",1,["client_sdk::client::error::ClientError"]],["impl Unpin for DriverError",1,["client_sdk::driver::error::DriverError"]],["impl Unpin for Encoding",1,["client_sdk::driver::Encoding"]],["impl Unpin for StandardError",1,["client_sdk::framework::standard::error::StandardError"]],["impl Unpin for GatewayError",1,["client_sdk::gateway::error::GatewayError"]],["impl Unpin for GatewayErrorCode",1,["client_sdk::gateway::error::GatewayErrorCode"]],["impl Unpin for ArchivedAuthToken",1,["client_sdk::models::auth::ArchivedAuthToken"]],["impl Unpin for AuthToken",1,["client_sdk::models::auth::AuthToken"]],["impl Unpin for AuthTokenResolver",1,["client_sdk::models::auth::AuthTokenResolver"]],["impl Unpin for Embed",1,["client_sdk::models::embed::Embed"]],["impl Unpin for EmbedResolver",1,["client_sdk::models::embed::EmbedResolver"]],["impl Unpin for ArchivedEmbedType",1,["client_sdk::models::embed::v1::ArchivedEmbedType"]],["impl Unpin for EmbedType",1,["client_sdk::models::embed::v1::EmbedType"]],["impl Unpin for EmbedTypeResolver",1,["client_sdk::models::embed::v1::EmbedTypeResolver"]],["impl Unpin for Emote",1,["client_sdk::models::emote::Emote"]],["impl Unpin for EmoteResolver",1,["client_sdk::models::emote::EmoteResolver"]],["impl Unpin for ArchivedCursor",1,["client_sdk::models::ArchivedCursor"]],["impl Unpin for Cursor",1,["client_sdk::models::Cursor"]],["impl Unpin for CursorResolver",1,["client_sdk::models::CursorResolver"]],["impl Unpin for PartyUpdateEvent",1,["client_sdk::models::gateway::events::PartyUpdateEvent"]],["impl Unpin for PartyUpdateEventResolver",1,["client_sdk::models::gateway::events::PartyUpdateEventResolver"]],["impl Unpin for ClientMsg",1,["client_sdk::models::gateway::message::ClientMsg"]],["impl Unpin for ClientMsgOpcode",1,["client_sdk::models::gateway::message::ClientMsgOpcode"]],["impl Unpin for ClientMsgResolver",1,["client_sdk::models::gateway::message::ClientMsgResolver"]],["impl Unpin for ServerMsg",1,["client_sdk::models::gateway::message::ServerMsg"]],["impl Unpin for ServerMsgOpcode",1,["client_sdk::models::gateway::message::ServerMsgOpcode"]],["impl Unpin for ServerMsgResolver",1,["client_sdk::models::gateway::message::ServerMsgResolver"]],["impl Unpin for ArchivedMessageKind",1,["client_sdk::models::message::message_kind_impl::ArchivedMessageKind"]],["impl Unpin for EmoteOrEmoji",1,["client_sdk::models::message::EmoteOrEmoji"]],["impl Unpin for EmoteOrEmojiResolver",1,["client_sdk::models::message::EmoteOrEmojiResolver"]],["impl Unpin for MessageKind",1,["client_sdk::models::message::message_kind_impl::MessageKind"]],["impl Unpin for Reaction",1,["client_sdk::models::message::Reaction"]],["impl Unpin for ReactionResolver",1,["client_sdk::models::message::ReactionResolver"]],["impl Unpin for AnyActivity",1,["client_sdk::models::presence::AnyActivity"]],["impl Unpin for AnyActivityResolver",1,["client_sdk::models::presence::AnyActivityResolver"]],["impl Unpin for ArchivedAnyActivity",1,["client_sdk::models::presence::ArchivedAnyActivity"]],["impl Unpin for ArchivedRoomKind",1,["client_sdk::models::room::ArchivedRoomKind"]],["impl Unpin for RoomKind",1,["client_sdk::models::room::RoomKind"]],["impl Unpin for RoomKindResolver",1,["client_sdk::models::room::RoomKindResolver"]],["impl Unpin for ElevationLevel",1,["client_sdk::models::user::ElevationLevel"]],["impl Unpin for Font",1,["client_sdk::models::user::prefs::font_impl::Font"]],["impl Unpin for FriendAddability",1,["client_sdk::models::user::prefs::friend_addability_impl::FriendAddability"]],["impl Unpin for Locale",1,["client_sdk::models::user::prefs::locale_impl::Locale"]],["impl Unpin for UserRelationship",1,["client_sdk::models::user::user_relationship_impl::UserRelationship"]],["impl Unpin for ArchivedGetServerConfig",1,["client_sdk::api::commands::config::ArchivedGetServerConfig"]],["impl Unpin for GetServerConfig",1,["client_sdk::api::commands::config::GetServerConfig"]],["impl Unpin for GetServerConfigResolver",1,["client_sdk::api::commands::config::GetServerConfigResolver"]],["impl Unpin for ArchivedFileStatus",1,["client_sdk::api::commands::file::ArchivedFileStatus"]],["impl Unpin for ArchivedFilesystemStatus",1,["client_sdk::api::commands::file::ArchivedFilesystemStatus"]],["impl Unpin for ArchivedGetFileStatus",1,["client_sdk::api::commands::file::ArchivedGetFileStatus"]],["impl Unpin for ArchivedGetFilesystemStatus",1,["client_sdk::api::commands::file::ArchivedGetFilesystemStatus"]],["impl Unpin for CreateFile",1,["client_sdk::api::commands::file::CreateFile"]],["impl Unpin for CreateFileBody",1,["client_sdk::api::commands::file::CreateFileBody"]],["impl Unpin for CreateFileBodyResolver",1,["client_sdk::api::commands::file::CreateFileBodyResolver"]],["impl Unpin for CreateFileResolver",1,["client_sdk::api::commands::file::CreateFileResolver"]],["impl Unpin for FileStatus",1,["client_sdk::api::commands::file::FileStatus"]],["impl Unpin for FileStatusResolver",1,["client_sdk::api::commands::file::FileStatusResolver"]],["impl Unpin for FilesystemStatus",1,["client_sdk::api::commands::file::FilesystemStatus"]],["impl Unpin for FilesystemStatusResolver",1,["client_sdk::api::commands::file::FilesystemStatusResolver"]],["impl Unpin for GetFileStatus",1,["client_sdk::api::commands::file::GetFileStatus"]],["impl Unpin for GetFileStatusResolver",1,["client_sdk::api::commands::file::GetFileStatusResolver"]],["impl Unpin for GetFilesystemStatus",1,["client_sdk::api::commands::file::GetFilesystemStatus"]],["impl Unpin for GetFilesystemStatusResolver",1,["client_sdk::api::commands::file::GetFilesystemStatusResolver"]],["impl Unpin for GetInvite",1,["client_sdk::api::commands::invite::GetInvite"]],["impl Unpin for GetInviteResolver",1,["client_sdk::api::commands::invite::GetInviteResolver"]],["impl Unpin for RedeemInvite",1,["client_sdk::api::commands::invite::RedeemInvite"]],["impl Unpin for RedeemInviteBody",1,["client_sdk::api::commands::invite::RedeemInviteBody"]],["impl Unpin for RedeemInviteBodyResolver",1,["client_sdk::api::commands::invite::RedeemInviteBodyResolver"]],["impl Unpin for RedeemInviteResolver",1,["client_sdk::api::commands::invite::RedeemInviteResolver"]],["impl Unpin for RevokeInvite",1,["client_sdk::api::commands::invite::RevokeInvite"]],["impl Unpin for RevokeInviteResolver",1,["client_sdk::api::commands::invite::RevokeInviteResolver"]],["impl Unpin for ArchivedDeleteParty",1,["client_sdk::api::commands::party::ArchivedDeleteParty"]],["impl Unpin for ArchivedDeleteRole",1,["client_sdk::api::commands::party::ArchivedDeleteRole"]],["impl Unpin for ArchivedGetMemberProfile",1,["client_sdk::api::commands::party::ArchivedGetMemberProfile"]],["impl Unpin for ArchivedGetParty",1,["client_sdk::api::commands::party::ArchivedGetParty"]],["impl Unpin for ArchivedGetPartyInvites",1,["client_sdk::api::commands::party::ArchivedGetPartyInvites"]],["impl Unpin for ArchivedGetPartyMember",1,["client_sdk::api::commands::party::ArchivedGetPartyMember"]],["impl Unpin for ArchivedGetPartyMembers",1,["client_sdk::api::commands::party::ArchivedGetPartyMembers"]],["impl Unpin for ArchivedGetPartyRooms",1,["client_sdk::api::commands::party::ArchivedGetPartyRooms"]],["impl Unpin for ArchivedPartySettings",1,["client_sdk::api::commands::party::ArchivedPartySettings"]],["impl Unpin for ArchivedTransferOwnership",1,["client_sdk::api::commands::party::ArchivedTransferOwnership"]],["impl Unpin for CreateParty",1,["client_sdk::api::commands::party::CreateParty"]],["impl Unpin for CreatePartyForm",1,["client_sdk::api::commands::party::CreatePartyForm"]],["impl Unpin for CreatePartyFormResolver",1,["client_sdk::api::commands::party::CreatePartyFormResolver"]],["impl Unpin for CreatePartyInvite",1,["client_sdk::api::commands::party::CreatePartyInvite"]],["impl Unpin for CreatePartyInviteBody",1,["client_sdk::api::commands::party::CreatePartyInviteBody"]],["impl Unpin for CreatePartyInviteBodyResolver",1,["client_sdk::api::commands::party::CreatePartyInviteBodyResolver"]],["impl Unpin for CreatePartyInviteResolver",1,["client_sdk::api::commands::party::CreatePartyInviteResolver"]],["impl Unpin for CreatePartyResolver",1,["client_sdk::api::commands::party::CreatePartyResolver"]],["impl Unpin for CreatePinFolder",1,["client_sdk::api::commands::party::CreatePinFolder"]],["impl Unpin for CreatePinFolderForm",1,["client_sdk::api::commands::party::CreatePinFolderForm"]],["impl Unpin for CreatePinFolderFormResolver",1,["client_sdk::api::commands::party::CreatePinFolderFormResolver"]],["impl Unpin for CreatePinFolderResolver",1,["client_sdk::api::commands::party::CreatePinFolderResolver"]],["impl Unpin for CreateRole",1,["client_sdk::api::commands::party::CreateRole"]],["impl Unpin for CreateRoleForm",1,["client_sdk::api::commands::party::CreateRoleForm"]],["impl Unpin for CreateRoleFormResolver",1,["client_sdk::api::commands::party::CreateRoleFormResolver"]],["impl Unpin for CreateRoleResolver",1,["client_sdk::api::commands::party::CreateRoleResolver"]],["impl Unpin for CreateRoom",1,["client_sdk::api::commands::party::CreateRoom"]],["impl Unpin for CreateRoomForm",1,["client_sdk::api::commands::party::CreateRoomForm"]],["impl Unpin for CreateRoomFormResolver",1,["client_sdk::api::commands::party::CreateRoomFormResolver"]],["impl Unpin for CreateRoomResolver",1,["client_sdk::api::commands::party::CreateRoomResolver"]],["impl Unpin for DeleteParty",1,["client_sdk::api::commands::party::DeleteParty"]],["impl Unpin for DeletePartyResolver",1,["client_sdk::api::commands::party::DeletePartyResolver"]],["impl Unpin for DeleteRole",1,["client_sdk::api::commands::party::DeleteRole"]],["impl Unpin for DeleteRoleResolver",1,["client_sdk::api::commands::party::DeleteRoleResolver"]],["impl Unpin for GetMemberProfile",1,["client_sdk::api::commands::party::GetMemberProfile"]],["impl Unpin for GetMemberProfileResolver",1,["client_sdk::api::commands::party::GetMemberProfileResolver"]],["impl Unpin for GetParty",1,["client_sdk::api::commands::party::GetParty"]],["impl Unpin for GetPartyInvites",1,["client_sdk::api::commands::party::GetPartyInvites"]],["impl Unpin for GetPartyInvitesResolver",1,["client_sdk::api::commands::party::GetPartyInvitesResolver"]],["impl Unpin for GetPartyMember",1,["client_sdk::api::commands::party::GetPartyMember"]],["impl Unpin for GetPartyMemberResolver",1,["client_sdk::api::commands::party::GetPartyMemberResolver"]],["impl Unpin for GetPartyMembers",1,["client_sdk::api::commands::party::GetPartyMembers"]],["impl Unpin for GetPartyMembersResolver",1,["client_sdk::api::commands::party::GetPartyMembersResolver"]],["impl Unpin for GetPartyResolver",1,["client_sdk::api::commands::party::GetPartyResolver"]],["impl Unpin for GetPartyRooms",1,["client_sdk::api::commands::party::GetPartyRooms"]],["impl Unpin for GetPartyRoomsResolver",1,["client_sdk::api::commands::party::GetPartyRoomsResolver"]],["impl Unpin for PartySettings",1,["client_sdk::api::commands::party::PartySettings"]],["impl Unpin for PartySettingsResolver",1,["client_sdk::api::commands::party::PartySettingsResolver"]],["impl Unpin for PatchParty",1,["client_sdk::api::commands::party::PatchParty"]],["impl Unpin for PatchPartyForm",1,["client_sdk::api::commands::party::PatchPartyForm"]],["impl Unpin for PatchPartyFormResolver",1,["client_sdk::api::commands::party::PatchPartyFormResolver"]],["impl Unpin for PatchPartyResolver",1,["client_sdk::api::commands::party::PatchPartyResolver"]],["impl Unpin for PatchRole",1,["client_sdk::api::commands::party::PatchRole"]],["impl Unpin for PatchRoleForm",1,["client_sdk::api::commands::party::PatchRoleForm"]],["impl Unpin for PatchRoleFormResolver",1,["client_sdk::api::commands::party::PatchRoleFormResolver"]],["impl Unpin for PatchRoleResolver",1,["client_sdk::api::commands::party::PatchRoleResolver"]],["impl Unpin for SearchParty",1,["client_sdk::api::commands::party::SearchParty"]],["impl Unpin for SearchPartyResolver",1,["client_sdk::api::commands::party::SearchPartyResolver"]],["impl Unpin for SearchQuery",1,["client_sdk::api::commands::party::SearchQuery"]],["impl Unpin for SearchQueryResolver",1,["client_sdk::api::commands::party::SearchQueryResolver"]],["impl Unpin for TransferOwnership",1,["client_sdk::api::commands::party::TransferOwnership"]],["impl Unpin for TransferOwnershipResolver",1,["client_sdk::api::commands::party::TransferOwnershipResolver"]],["impl Unpin for UpdateMemberProfile",1,["client_sdk::api::commands::party::UpdateMemberProfile"]],["impl Unpin for UpdateMemberProfileBody",1,["client_sdk::api::commands::party::UpdateMemberProfileBody"]],["impl Unpin for UpdateMemberProfileBodyResolver",1,["client_sdk::api::commands::party::UpdateMemberProfileBodyResolver"]],["impl Unpin for UpdateMemberProfileResolver",1,["client_sdk::api::commands::party::UpdateMemberProfileResolver"]],["impl Unpin for ArchivedDeleteAllReactions",1,["client_sdk::api::commands::room::ArchivedDeleteAllReactions"]],["impl Unpin for ArchivedDeleteMessage",1,["client_sdk::api::commands::room::ArchivedDeleteMessage"]],["impl Unpin for ArchivedDeleteRoom",1,["client_sdk::api::commands::room::ArchivedDeleteRoom"]],["impl Unpin for ArchivedGetMessage",1,["client_sdk::api::commands::room::ArchivedGetMessage"]],["impl Unpin for ArchivedGetReactionsForm",1,["client_sdk::api::commands::room::ArchivedGetReactionsForm"]],["impl Unpin for ArchivedGetRoom",1,["client_sdk::api::commands::room::ArchivedGetRoom"]],["impl Unpin for ArchivedPinMessage",1,["client_sdk::api::commands::room::ArchivedPinMessage"]],["impl Unpin for ArchivedStarMessage",1,["client_sdk::api::commands::room::ArchivedStarMessage"]],["impl Unpin for ArchivedStartTyping",1,["client_sdk::api::commands::room::ArchivedStartTyping"]],["impl Unpin for ArchivedStartTypingBody",1,["client_sdk::api::commands::room::ArchivedStartTypingBody"]],["impl Unpin for ArchivedUnpinMessage",1,["client_sdk::api::commands::room::ArchivedUnpinMessage"]],["impl Unpin for ArchivedUnstarMessage",1,["client_sdk::api::commands::room::ArchivedUnstarMessage"]],["impl Unpin for CreateMessage",1,["client_sdk::api::commands::room::CreateMessage"]],["impl Unpin for CreateMessageBody",1,["client_sdk::api::commands::room::CreateMessageBody"]],["impl Unpin for CreateMessageBodyResolver",1,["client_sdk::api::commands::room::CreateMessageBodyResolver"]],["impl Unpin for CreateMessageResolver",1,["client_sdk::api::commands::room::CreateMessageResolver"]],["impl Unpin for DeleteAllReactions",1,["client_sdk::api::commands::room::DeleteAllReactions"]],["impl Unpin for DeleteAllReactionsResolver",1,["client_sdk::api::commands::room::DeleteAllReactionsResolver"]],["impl Unpin for DeleteMessage",1,["client_sdk::api::commands::room::DeleteMessage"]],["impl Unpin for DeleteMessageResolver",1,["client_sdk::api::commands::room::DeleteMessageResolver"]],["impl Unpin for DeleteOwnReaction",1,["client_sdk::api::commands::room::DeleteOwnReaction"]],["impl Unpin for DeleteOwnReactionResolver",1,["client_sdk::api::commands::room::DeleteOwnReactionResolver"]],["impl Unpin for DeleteRoom",1,["client_sdk::api::commands::room::DeleteRoom"]],["impl Unpin for DeleteRoomResolver",1,["client_sdk::api::commands::room::DeleteRoomResolver"]],["impl Unpin for DeleteUserReaction",1,["client_sdk::api::commands::room::DeleteUserReaction"]],["impl Unpin for DeleteUserReactionResolver",1,["client_sdk::api::commands::room::DeleteUserReactionResolver"]],["impl Unpin for EditMessage",1,["client_sdk::api::commands::room::EditMessage"]],["impl Unpin for EditMessageBody",1,["client_sdk::api::commands::room::EditMessageBody"]],["impl Unpin for EditMessageBodyResolver",1,["client_sdk::api::commands::room::EditMessageBodyResolver"]],["impl Unpin for EditMessageResolver",1,["client_sdk::api::commands::room::EditMessageResolver"]],["impl Unpin for GetMessage",1,["client_sdk::api::commands::room::GetMessage"]],["impl Unpin for GetMessageResolver",1,["client_sdk::api::commands::room::GetMessageResolver"]],["impl Unpin for GetMessages",1,["client_sdk::api::commands::room::GetMessages"]],["impl Unpin for GetMessagesQuery",1,["client_sdk::api::commands::room::GetMessagesQuery"]],["impl Unpin for GetMessagesQueryResolver",1,["client_sdk::api::commands::room::GetMessagesQueryResolver"]],["impl Unpin for GetMessagesResolver",1,["client_sdk::api::commands::room::GetMessagesResolver"]],["impl Unpin for GetReactions",1,["client_sdk::api::commands::room::GetReactions"]],["impl Unpin for GetReactionsForm",1,["client_sdk::api::commands::room::GetReactionsForm"]],["impl Unpin for GetReactionsFormResolver",1,["client_sdk::api::commands::room::GetReactionsFormResolver"]],["impl Unpin for GetReactionsResolver",1,["client_sdk::api::commands::room::GetReactionsResolver"]],["impl Unpin for GetRoom",1,["client_sdk::api::commands::room::GetRoom"]],["impl Unpin for GetRoomResolver",1,["client_sdk::api::commands::room::GetRoomResolver"]],["impl Unpin for PatchRoom",1,["client_sdk::api::commands::room::PatchRoom"]],["impl Unpin for PatchRoomForm",1,["client_sdk::api::commands::room::PatchRoomForm"]],["impl Unpin for PatchRoomFormResolver",1,["client_sdk::api::commands::room::PatchRoomFormResolver"]],["impl Unpin for PatchRoomResolver",1,["client_sdk::api::commands::room::PatchRoomResolver"]],["impl Unpin for PinMessage",1,["client_sdk::api::commands::room::PinMessage"]],["impl Unpin for PinMessageResolver",1,["client_sdk::api::commands::room::PinMessageResolver"]],["impl Unpin for PutReaction",1,["client_sdk::api::commands::room::PutReaction"]],["impl Unpin for PutReactionResolver",1,["client_sdk::api::commands::room::PutReactionResolver"]],["impl Unpin for StarMessage",1,["client_sdk::api::commands::room::StarMessage"]],["impl Unpin for StarMessageResolver",1,["client_sdk::api::commands::room::StarMessageResolver"]],["impl Unpin for StartTyping",1,["client_sdk::api::commands::room::StartTyping"]],["impl Unpin for StartTypingBody",1,["client_sdk::api::commands::room::StartTypingBody"]],["impl Unpin for StartTypingBodyResolver",1,["client_sdk::api::commands::room::StartTypingBodyResolver"]],["impl Unpin for StartTypingResolver",1,["client_sdk::api::commands::room::StartTypingResolver"]],["impl Unpin for UnpinMessage",1,["client_sdk::api::commands::room::UnpinMessage"]],["impl Unpin for UnpinMessageResolver",1,["client_sdk::api::commands::room::UnpinMessageResolver"]],["impl Unpin for UnstarMessage",1,["client_sdk::api::commands::room::UnstarMessage"]],["impl Unpin for UnstarMessageResolver",1,["client_sdk::api::commands::room::UnstarMessageResolver"]],["impl Unpin for Added2FA",1,["client_sdk::api::commands::user::Added2FA"]],["impl Unpin for Added2FAResolver",1,["client_sdk::api::commands::user::Added2FAResolver"]],["impl Unpin for ArchivedGetRelationships",1,["client_sdk::api::commands::user::ArchivedGetRelationships"]],["impl Unpin for ArchivedGetSessions",1,["client_sdk::api::commands::user::ArchivedGetSessions"]],["impl Unpin for ArchivedGetUser",1,["client_sdk::api::commands::user::ArchivedGetUser"]],["impl Unpin for ArchivedUpdateUserPrefs",1,["client_sdk::api::commands::user::ArchivedUpdateUserPrefs"]],["impl Unpin for ArchivedUpdateUserPrefsBody",1,["client_sdk::api::commands::user::ArchivedUpdateUserPrefsBody"]],["impl Unpin for ArchivedUserLogout",1,["client_sdk::api::commands::user::ArchivedUserLogout"]],["impl Unpin for ChangePassword",1,["client_sdk::api::commands::user::ChangePassword"]],["impl Unpin for ChangePasswordForm",1,["client_sdk::api::commands::user::ChangePasswordForm"]],["impl Unpin for ChangePasswordFormResolver",1,["client_sdk::api::commands::user::ChangePasswordFormResolver"]],["impl Unpin for ChangePasswordResolver",1,["client_sdk::api::commands::user::ChangePasswordResolver"]],["impl Unpin for ClearSessions",1,["client_sdk::api::commands::user::ClearSessions"]],["impl Unpin for ClearSessionsForm",1,["client_sdk::api::commands::user::ClearSessionsForm"]],["impl Unpin for ClearSessionsFormResolver",1,["client_sdk::api::commands::user::ClearSessionsFormResolver"]],["impl Unpin for ClearSessionsResolver",1,["client_sdk::api::commands::user::ClearSessionsResolver"]],["impl Unpin for Confirm2FA",1,["client_sdk::api::commands::user::Confirm2FA"]],["impl Unpin for Confirm2FAForm",1,["client_sdk::api::commands::user::Confirm2FAForm"]],["impl Unpin for Confirm2FAFormResolver",1,["client_sdk::api::commands::user::Confirm2FAFormResolver"]],["impl Unpin for Confirm2FAResolver",1,["client_sdk::api::commands::user::Confirm2FAResolver"]],["impl Unpin for Enable2FA",1,["client_sdk::api::commands::user::Enable2FA"]],["impl Unpin for Enable2FAForm",1,["client_sdk::api::commands::user::Enable2FAForm"]],["impl Unpin for Enable2FAFormResolver",1,["client_sdk::api::commands::user::Enable2FAFormResolver"]],["impl Unpin for Enable2FAResolver",1,["client_sdk::api::commands::user::Enable2FAResolver"]],["impl Unpin for GetRelationships",1,["client_sdk::api::commands::user::GetRelationships"]],["impl Unpin for GetRelationshipsResolver",1,["client_sdk::api::commands::user::GetRelationshipsResolver"]],["impl Unpin for GetSessions",1,["client_sdk::api::commands::user::GetSessions"]],["impl Unpin for GetSessionsResolver",1,["client_sdk::api::commands::user::GetSessionsResolver"]],["impl Unpin for GetUser",1,["client_sdk::api::commands::user::GetUser"]],["impl Unpin for GetUserResolver",1,["client_sdk::api::commands::user::GetUserResolver"]],["impl Unpin for PatchRelationship",1,["client_sdk::api::commands::user::PatchRelationship"]],["impl Unpin for PatchRelationshipBody",1,["client_sdk::api::commands::user::PatchRelationshipBody"]],["impl Unpin for PatchRelationshipBodyResolver",1,["client_sdk::api::commands::user::PatchRelationshipBodyResolver"]],["impl Unpin for PatchRelationshipResolver",1,["client_sdk::api::commands::user::PatchRelationshipResolver"]],["impl Unpin for Remove2FA",1,["client_sdk::api::commands::user::Remove2FA"]],["impl Unpin for Remove2FAForm",1,["client_sdk::api::commands::user::Remove2FAForm"]],["impl Unpin for Remove2FAFormResolver",1,["client_sdk::api::commands::user::Remove2FAFormResolver"]],["impl Unpin for Remove2FAResolver",1,["client_sdk::api::commands::user::Remove2FAResolver"]],["impl Unpin for UpdateUserPrefs",1,["client_sdk::api::commands::user::UpdateUserPrefs"]],["impl Unpin for UpdateUserPrefsBody",1,["client_sdk::api::commands::user::UpdateUserPrefsBody"]],["impl Unpin for UpdateUserPrefsBodyResolver",1,["client_sdk::api::commands::user::UpdateUserPrefsBodyResolver"]],["impl Unpin for UpdateUserPrefsResolver",1,["client_sdk::api::commands::user::UpdateUserPrefsResolver"]],["impl Unpin for UpdateUserProfile",1,["client_sdk::api::commands::user::UpdateUserProfile"]],["impl Unpin for UpdateUserProfileBody",1,["client_sdk::api::commands::user::UpdateUserProfileBody"]],["impl Unpin for UpdateUserProfileBodyResolver",1,["client_sdk::api::commands::user::UpdateUserProfileBodyResolver"]],["impl Unpin for UpdateUserProfileResolver",1,["client_sdk::api::commands::user::UpdateUserProfileResolver"]],["impl Unpin for UserLogin",1,["client_sdk::api::commands::user::UserLogin"]],["impl Unpin for UserLoginForm",1,["client_sdk::api::commands::user::UserLoginForm"]],["impl Unpin for UserLoginFormResolver",1,["client_sdk::api::commands::user::UserLoginFormResolver"]],["impl Unpin for UserLoginResolver",1,["client_sdk::api::commands::user::UserLoginResolver"]],["impl Unpin for UserLogout",1,["client_sdk::api::commands::user::UserLogout"]],["impl Unpin for UserLogoutResolver",1,["client_sdk::api::commands::user::UserLogoutResolver"]],["impl Unpin for UserRegister",1,["client_sdk::api::commands::user::UserRegister"]],["impl Unpin for UserRegisterForm",1,["client_sdk::api::commands::user::UserRegisterForm"]],["impl Unpin for UserRegisterFormResolver",1,["client_sdk::api::commands::user::UserRegisterFormResolver"]],["impl Unpin for UserRegisterResolver",1,["client_sdk::api::commands::user::UserRegisterResolver"]],["impl Unpin for ApiError",1,["client_sdk::api::error::ApiError"]],["impl Unpin for ApiErrorResolver",1,["client_sdk::api::error::ApiErrorResolver"]],["impl Unpin for ArchivedApiErrorCode",1,["client_sdk::api::error::api_error_code_impl::ArchivedApiErrorCode"]],["impl Unpin for GatewayQueryParams",1,["client_sdk::api::gateway::GatewayQueryParams"]],["impl Unpin for CommandFlags",1,["client_sdk::api::command::CommandFlags"]],["impl Unpin for MissingItemError",1,["client_sdk::api::command::MissingItemError"]],["impl Unpin for RateLimit",1,["client_sdk::api::command::RateLimit"]],["impl Unpin for Client",1,["client_sdk::client::Client"]],["impl Unpin for Driver",1,["client_sdk::driver::Driver"]],["impl Unpin for StandardContext",1,["client_sdk::framework::standard::ctx::StandardContext"]],["impl Unpin for GatewayConnection",1,["client_sdk::gateway::conn::GatewayConnection"]],["impl Unpin for GatewayConnectionControl",1,["client_sdk::gateway::conn::GatewayConnectionControl"]],["impl Unpin for ArchivedAssetFlags",1,["client_sdk::models::asset::ArchivedAssetFlags"]],["impl Unpin for AssetFlags",1,["client_sdk::models::asset::AssetFlags"]],["impl Unpin for InvalidAuthToken",1,["client_sdk::models::auth::InvalidAuthToken"]],["impl Unpin for ArchivedServerLimits",1,["client_sdk::models::config::ArchivedServerLimits"]],["impl Unpin for ServerConfig",1,["client_sdk::models::config::ServerConfig"]],["impl Unpin for ServerConfigResolver",1,["client_sdk::models::config::ServerConfigResolver"]],["impl Unpin for ServerLimits",1,["client_sdk::models::config::ServerLimits"]],["impl Unpin for ServerLimitsResolver",1,["client_sdk::models::config::ServerLimitsResolver"]],["impl Unpin for ArchivedEmbedFlags",1,["client_sdk::models::embed::v1::ArchivedEmbedFlags"]],["impl Unpin for BasicEmbedMedia",1,["client_sdk::models::embed::v1::BasicEmbedMedia"]],["impl Unpin for BasicEmbedMediaResolver",1,["client_sdk::models::embed::v1::BasicEmbedMediaResolver"]],["impl Unpin for EmbedAuthor",1,["client_sdk::models::embed::v1::EmbedAuthor"]],["impl Unpin for EmbedAuthorResolver",1,["client_sdk::models::embed::v1::EmbedAuthorResolver"]],["impl Unpin for EmbedField",1,["client_sdk::models::embed::v1::EmbedField"]],["impl Unpin for EmbedFieldResolver",1,["client_sdk::models::embed::v1::EmbedFieldResolver"]],["impl Unpin for EmbedFlags",1,["client_sdk::models::embed::v1::EmbedFlags"]],["impl Unpin for EmbedFooter",1,["client_sdk::models::embed::v1::EmbedFooter"]],["impl Unpin for EmbedFooterResolver",1,["client_sdk::models::embed::v1::EmbedFooterResolver"]],["impl Unpin for EmbedMedia",1,["client_sdk::models::embed::v1::EmbedMedia"]],["impl Unpin for EmbedMediaResolver",1,["client_sdk::models::embed::v1::EmbedMediaResolver"]],["impl Unpin for EmbedProvider",1,["client_sdk::models::embed::v1::EmbedProvider"]],["impl Unpin for EmbedProviderResolver",1,["client_sdk::models::embed::v1::EmbedProviderResolver"]],["impl Unpin for EmbedV1",1,["client_sdk::models::embed::v1::EmbedV1"]],["impl Unpin for EmbedV1Resolver",1,["client_sdk::models::embed::v1::EmbedV1Resolver"]],["impl Unpin for ArchivedEmoteFlags",1,["client_sdk::models::emote::ArchivedEmoteFlags"]],["impl Unpin for CustomEmote",1,["client_sdk::models::emote::CustomEmote"]],["impl Unpin for CustomEmoteResolver",1,["client_sdk::models::emote::CustomEmoteResolver"]],["impl Unpin for EmoteFlags",1,["client_sdk::models::emote::EmoteFlags"]],["impl Unpin for File",1,["client_sdk::models::file::File"]],["impl Unpin for FileResolver",1,["client_sdk::models::file::FileResolver"]],["impl Unpin for FileUpload",1,["client_sdk::models::file::FileUpload"]],["impl Unpin for ArchivedIdentify",1,["client_sdk::models::gateway::commands::ArchivedIdentify"]],["impl Unpin for ArchivedSetPresence",1,["client_sdk::models::gateway::commands::ArchivedSetPresence"]],["impl Unpin for Identify",1,["client_sdk::models::gateway::commands::Identify"]],["impl Unpin for IdentifyResolver",1,["client_sdk::models::gateway::commands::IdentifyResolver"]],["impl Unpin for SetPresence",1,["client_sdk::models::gateway::commands::SetPresence"]],["impl Unpin for SetPresenceResolver",1,["client_sdk::models::gateway::commands::SetPresenceResolver"]],["impl Unpin for ArchivedHello",1,["client_sdk::models::gateway::events::ArchivedHello"]],["impl Unpin for ArchivedMessageDeleteEvent",1,["client_sdk::models::gateway::events::ArchivedMessageDeleteEvent"]],["impl Unpin for ArchivedPartyPositionUpdate",1,["client_sdk::models::gateway::events::ArchivedPartyPositionUpdate"]],["impl Unpin for ArchivedRoleDeleteEvent",1,["client_sdk::models::gateway::events::ArchivedRoleDeleteEvent"]],["impl Unpin for ArchivedRoomDeleteEvent",1,["client_sdk::models::gateway::events::ArchivedRoomDeleteEvent"]],["impl Unpin for Hello",1,["client_sdk::models::gateway::events::Hello"]],["impl Unpin for HelloResolver",1,["client_sdk::models::gateway::events::HelloResolver"]],["impl Unpin for MessageDeleteEvent",1,["client_sdk::models::gateway::events::MessageDeleteEvent"]],["impl Unpin for MessageDeleteEventResolver",1,["client_sdk::models::gateway::events::MessageDeleteEventResolver"]],["impl Unpin for PartyMemberEvent",1,["client_sdk::models::gateway::events::PartyMemberEvent"]],["impl Unpin for PartyMemberEventResolver",1,["client_sdk::models::gateway::events::PartyMemberEventResolver"]],["impl Unpin for PartyPositionUpdate",1,["client_sdk::models::gateway::events::PartyPositionUpdate"]],["impl Unpin for PartyPositionUpdateResolver",1,["client_sdk::models::gateway::events::PartyPositionUpdateResolver"]],["impl Unpin for ProfileUpdateEvent",1,["client_sdk::models::gateway::events::ProfileUpdateEvent"]],["impl Unpin for ProfileUpdateEventResolver",1,["client_sdk::models::gateway::events::ProfileUpdateEventResolver"]],["impl Unpin for Ready",1,["client_sdk::models::gateway::events::Ready"]],["impl Unpin for ReadyParty",1,["client_sdk::models::gateway::events::ReadyParty"]],["impl Unpin for ReadyPartyResolver",1,["client_sdk::models::gateway::events::ReadyPartyResolver"]],["impl Unpin for ReadyResolver",1,["client_sdk::models::gateway::events::ReadyResolver"]],["impl Unpin for RoleDeleteEvent",1,["client_sdk::models::gateway::events::RoleDeleteEvent"]],["impl Unpin for RoleDeleteEventResolver",1,["client_sdk::models::gateway::events::RoleDeleteEventResolver"]],["impl Unpin for RoomDeleteEvent",1,["client_sdk::models::gateway::events::RoomDeleteEvent"]],["impl Unpin for RoomDeleteEventResolver",1,["client_sdk::models::gateway::events::RoomDeleteEventResolver"]],["impl Unpin for TypingStart",1,["client_sdk::models::gateway::events::TypingStart"]],["impl Unpin for TypingStartResolver",1,["client_sdk::models::gateway::events::TypingStartResolver"]],["impl Unpin for UserPresenceEvent",1,["client_sdk::models::gateway::events::UserPresenceEvent"]],["impl Unpin for UserPresenceEventResolver",1,["client_sdk::models::gateway::events::UserPresenceEventResolver"]],["impl Unpin for UserReactionEvent",1,["client_sdk::models::gateway::events::UserReactionEvent"]],["impl Unpin for UserReactionEventResolver",1,["client_sdk::models::gateway::events::UserReactionEventResolver"]],["impl Unpin for ArchivedHeartbeatPayload",1,["client_sdk::models::gateway::message::client_msg_payloads::ArchivedHeartbeatPayload"]],["impl Unpin for ArchivedResumePayload",1,["client_sdk::models::gateway::message::client_msg_payloads::ArchivedResumePayload"]],["impl Unpin for ArchivedSubscribePayload",1,["client_sdk::models::gateway::message::client_msg_payloads::ArchivedSubscribePayload"]],["impl Unpin for ArchivedUnsubscribePayload",1,["client_sdk::models::gateway::message::client_msg_payloads::ArchivedUnsubscribePayload"]],["impl Unpin for HeartbeatPayload",1,["client_sdk::models::gateway::message::client_msg_payloads::HeartbeatPayload"]],["impl Unpin for HeartbeatPayloadResolver",1,["client_sdk::models::gateway::message::client_msg_payloads::HeartbeatPayloadResolver"]],["impl Unpin for IdentifyPayload",1,["client_sdk::models::gateway::message::client_msg_payloads::IdentifyPayload"]],["impl Unpin for IdentifyPayloadResolver",1,["client_sdk::models::gateway::message::client_msg_payloads::IdentifyPayloadResolver"]],["impl Unpin for ResumePayload",1,["client_sdk::models::gateway::message::client_msg_payloads::ResumePayload"]],["impl Unpin for ResumePayloadResolver",1,["client_sdk::models::gateway::message::client_msg_payloads::ResumePayloadResolver"]],["impl Unpin for SetPresencePayload",1,["client_sdk::models::gateway::message::client_msg_payloads::SetPresencePayload"]],["impl Unpin for SetPresencePayloadResolver",1,["client_sdk::models::gateway::message::client_msg_payloads::SetPresencePayloadResolver"]],["impl Unpin for SubscribePayload",1,["client_sdk::models::gateway::message::client_msg_payloads::SubscribePayload"]],["impl Unpin for SubscribePayloadResolver",1,["client_sdk::models::gateway::message::client_msg_payloads::SubscribePayloadResolver"]],["impl Unpin for UnsubscribePayload",1,["client_sdk::models::gateway::message::client_msg_payloads::UnsubscribePayload"]],["impl Unpin for UnsubscribePayloadResolver",1,["client_sdk::models::gateway::message::client_msg_payloads::UnsubscribePayloadResolver"]],["impl Unpin for ArchivedHeartbeatAckPayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ArchivedHeartbeatAckPayload"]],["impl Unpin for ArchivedHelloPayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ArchivedHelloPayload"]],["impl Unpin for ArchivedInvalidSessionPayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ArchivedInvalidSessionPayload"]],["impl Unpin for ArchivedMessageReactionRemoveAllPayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ArchivedMessageReactionRemoveAllPayload"]],["impl Unpin for ArchivedMessageReactionRemoveEmotePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ArchivedMessageReactionRemoveEmotePayload"]],["impl Unpin for ArchivedPartyDeletePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ArchivedPartyDeletePayload"]],["impl Unpin for ArchivedRelationRemovePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ArchivedRelationRemovePayload"]],["impl Unpin for ArchivedRoomPinsUpdatePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ArchivedRoomPinsUpdatePayload"]],["impl Unpin for HeartbeatAckPayload",1,["client_sdk::models::gateway::message::server_msg_payloads::HeartbeatAckPayload"]],["impl Unpin for HeartbeatAckPayloadResolver",1,["client_sdk::models::gateway::message::server_msg_payloads::HeartbeatAckPayloadResolver"]],["impl Unpin for HelloPayload",1,["client_sdk::models::gateway::message::server_msg_payloads::HelloPayload"]],["impl Unpin for HelloPayloadResolver",1,["client_sdk::models::gateway::message::server_msg_payloads::HelloPayloadResolver"]],["impl Unpin for InvalidSessionPayload",1,["client_sdk::models::gateway::message::server_msg_payloads::InvalidSessionPayload"]],["impl Unpin for InvalidSessionPayloadResolver",1,["client_sdk::models::gateway::message::server_msg_payloads::InvalidSessionPayloadResolver"]],["impl Unpin for MemberAddPayload",1,["client_sdk::models::gateway::message::server_msg_payloads::MemberAddPayload"]],["impl Unpin for MemberAddPayloadResolver",1,["client_sdk::models::gateway::message::server_msg_payloads::MemberAddPayloadResolver"]],["impl Unpin for MemberBanPayload",1,["client_sdk::models::gateway::message::server_msg_payloads::MemberBanPayload"]],["impl Unpin for MemberBanPayloadResolver",1,["client_sdk::models::gateway::message::server_msg_payloads::MemberBanPayloadResolver"]],["impl Unpin for MemberRemovePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::MemberRemovePayload"]],["impl Unpin for MemberRemovePayloadResolver",1,["client_sdk::models::gateway::message::server_msg_payloads::MemberRemovePayloadResolver"]],["impl Unpin for MemberUnbanPayload",1,["client_sdk::models::gateway::message::server_msg_payloads::MemberUnbanPayload"]],["impl Unpin for MemberUnbanPayloadResolver",1,["client_sdk::models::gateway::message::server_msg_payloads::MemberUnbanPayloadResolver"]],["impl Unpin for MemberUpdatePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::MemberUpdatePayload"]],["impl Unpin for MemberUpdatePayloadResolver",1,["client_sdk::models::gateway::message::server_msg_payloads::MemberUpdatePayloadResolver"]],["impl Unpin for MessageCreatePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::MessageCreatePayload"]],["impl Unpin for MessageCreatePayloadResolver",1,["client_sdk::models::gateway::message::server_msg_payloads::MessageCreatePayloadResolver"]],["impl Unpin for MessageDeletePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::MessageDeletePayload"]],["impl Unpin for MessageDeletePayloadResolver",1,["client_sdk::models::gateway::message::server_msg_payloads::MessageDeletePayloadResolver"]],["impl Unpin for MessageReactionAddPayload",1,["client_sdk::models::gateway::message::server_msg_payloads::MessageReactionAddPayload"]],["impl Unpin for MessageReactionAddPayloadResolver",1,["client_sdk::models::gateway::message::server_msg_payloads::MessageReactionAddPayloadResolver"]],["impl Unpin for MessageReactionRemoveAllPayload",1,["client_sdk::models::gateway::message::server_msg_payloads::MessageReactionRemoveAllPayload"]],["impl Unpin for MessageReactionRemoveAllPayloadResolver",1,["client_sdk::models::gateway::message::server_msg_payloads::MessageReactionRemoveAllPayloadResolver"]],["impl Unpin for MessageReactionRemoveEmotePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::MessageReactionRemoveEmotePayload"]],["impl Unpin for MessageReactionRemoveEmotePayloadResolver",1,["client_sdk::models::gateway::message::server_msg_payloads::MessageReactionRemoveEmotePayloadResolver"]],["impl Unpin for MessageReactionRemovePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::MessageReactionRemovePayload"]],["impl Unpin for MessageReactionRemovePayloadResolver",1,["client_sdk::models::gateway::message::server_msg_payloads::MessageReactionRemovePayloadResolver"]],["impl Unpin for MessageUpdatePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::MessageUpdatePayload"]],["impl Unpin for MessageUpdatePayloadResolver",1,["client_sdk::models::gateway::message::server_msg_payloads::MessageUpdatePayloadResolver"]],["impl Unpin for PartyCreatePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::PartyCreatePayload"]],["impl Unpin for PartyCreatePayloadResolver",1,["client_sdk::models::gateway::message::server_msg_payloads::PartyCreatePayloadResolver"]],["impl Unpin for PartyDeletePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::PartyDeletePayload"]],["impl Unpin for PartyDeletePayloadResolver",1,["client_sdk::models::gateway::message::server_msg_payloads::PartyDeletePayloadResolver"]],["impl Unpin for PartyUpdatePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::PartyUpdatePayload"]],["impl Unpin for PartyUpdatePayloadResolver",1,["client_sdk::models::gateway::message::server_msg_payloads::PartyUpdatePayloadResolver"]],["impl Unpin for PresenceUpdatePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::PresenceUpdatePayload"]],["impl Unpin for PresenceUpdatePayloadResolver",1,["client_sdk::models::gateway::message::server_msg_payloads::PresenceUpdatePayloadResolver"]],["impl Unpin for ProfileUpdatePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ProfileUpdatePayload"]],["impl Unpin for ProfileUpdatePayloadResolver",1,["client_sdk::models::gateway::message::server_msg_payloads::ProfileUpdatePayloadResolver"]],["impl Unpin for ReadyPayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ReadyPayload"]],["impl Unpin for ReadyPayloadResolver",1,["client_sdk::models::gateway::message::server_msg_payloads::ReadyPayloadResolver"]],["impl Unpin for RelationAddPayload",1,["client_sdk::models::gateway::message::server_msg_payloads::RelationAddPayload"]],["impl Unpin for RelationAddPayloadResolver",1,["client_sdk::models::gateway::message::server_msg_payloads::RelationAddPayloadResolver"]],["impl Unpin for RelationRemovePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::RelationRemovePayload"]],["impl Unpin for RelationRemovePayloadResolver",1,["client_sdk::models::gateway::message::server_msg_payloads::RelationRemovePayloadResolver"]],["impl Unpin for RoleCreatePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::RoleCreatePayload"]],["impl Unpin for RoleCreatePayloadResolver",1,["client_sdk::models::gateway::message::server_msg_payloads::RoleCreatePayloadResolver"]],["impl Unpin for RoleDeletePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::RoleDeletePayload"]],["impl Unpin for RoleDeletePayloadResolver",1,["client_sdk::models::gateway::message::server_msg_payloads::RoleDeletePayloadResolver"]],["impl Unpin for RoleUpdatePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::RoleUpdatePayload"]],["impl Unpin for RoleUpdatePayloadResolver",1,["client_sdk::models::gateway::message::server_msg_payloads::RoleUpdatePayloadResolver"]],["impl Unpin for RoomCreatePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::RoomCreatePayload"]],["impl Unpin for RoomCreatePayloadResolver",1,["client_sdk::models::gateway::message::server_msg_payloads::RoomCreatePayloadResolver"]],["impl Unpin for RoomDeletePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::RoomDeletePayload"]],["impl Unpin for RoomDeletePayloadResolver",1,["client_sdk::models::gateway::message::server_msg_payloads::RoomDeletePayloadResolver"]],["impl Unpin for RoomPinsUpdatePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::RoomPinsUpdatePayload"]],["impl Unpin for RoomPinsUpdatePayloadResolver",1,["client_sdk::models::gateway::message::server_msg_payloads::RoomPinsUpdatePayloadResolver"]],["impl Unpin for RoomUpdatePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::RoomUpdatePayload"]],["impl Unpin for RoomUpdatePayloadResolver",1,["client_sdk::models::gateway::message::server_msg_payloads::RoomUpdatePayloadResolver"]],["impl Unpin for TypingStartPayload",1,["client_sdk::models::gateway::message::server_msg_payloads::TypingStartPayload"]],["impl Unpin for TypingStartPayloadResolver",1,["client_sdk::models::gateway::message::server_msg_payloads::TypingStartPayloadResolver"]],["impl Unpin for UserUpdatePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::UserUpdatePayload"]],["impl Unpin for UserUpdatePayloadResolver",1,["client_sdk::models::gateway::message::server_msg_payloads::UserUpdatePayloadResolver"]],["impl Unpin for ArchivedIntent",1,["client_sdk::models::gateway::ArchivedIntent"]],["impl Unpin for Intent",1,["client_sdk::models::gateway::Intent"]],["impl Unpin for Invite",1,["client_sdk::models::invite::Invite"]],["impl Unpin for InviteResolver",1,["client_sdk::models::invite::InviteResolver"]],["impl Unpin for ArchivedMessageFlags",1,["client_sdk::models::message::ArchivedMessageFlags"]],["impl Unpin for Attachment",1,["client_sdk::models::message::Attachment"]],["impl Unpin for AttachmentResolver",1,["client_sdk::models::message::AttachmentResolver"]],["impl Unpin for Message",1,["client_sdk::models::message::Message"]],["impl Unpin for MessageFlags",1,["client_sdk::models::message::MessageFlags"]],["impl Unpin for MessageResolver",1,["client_sdk::models::message::MessageResolver"]],["impl Unpin for ReactionFull",1,["client_sdk::models::message::ReactionFull"]],["impl Unpin for ReactionFullResolver",1,["client_sdk::models::message::ReactionFullResolver"]],["impl Unpin for ReactionShorthand",1,["client_sdk::models::message::ReactionShorthand"]],["impl Unpin for ReactionShorthandResolver",1,["client_sdk::models::message::ReactionShorthandResolver"]],["impl Unpin for ArchivedPartyFlags",1,["client_sdk::models::party::ArchivedPartyFlags"]],["impl Unpin for ArchivedPartyMemberFlags",1,["client_sdk::models::party::ArchivedPartyMemberFlags"]],["impl Unpin for ArchivedPartyPreferences",1,["client_sdk::models::party::prefs::ArchivedPartyPreferences"]],["impl Unpin for ArchivedPartyPrefsFlags",1,["client_sdk::models::party::prefs::ArchivedPartyPrefsFlags"]],["impl Unpin for ArchivedPinFolderFlags",1,["client_sdk::models::party::ArchivedPinFolderFlags"]],["impl Unpin for PartialParty",1,["client_sdk::models::party::PartialParty"]],["impl Unpin for PartialPartyResolver",1,["client_sdk::models::party::PartialPartyResolver"]],["impl Unpin for Party",1,["client_sdk::models::party::Party"]],["impl Unpin for PartyFlags",1,["client_sdk::models::party::PartyFlags"]],["impl Unpin for PartyMember",1,["client_sdk::models::party::PartyMember"]],["impl Unpin for PartyMemberFlags",1,["client_sdk::models::party::PartyMemberFlags"]],["impl Unpin for PartyMemberResolver",1,["client_sdk::models::party::PartyMemberResolver"]],["impl Unpin for PartyPreferences",1,["client_sdk::models::party::prefs::PartyPreferences"]],["impl Unpin for PartyPreferencesResolver",1,["client_sdk::models::party::prefs::PartyPreferencesResolver"]],["impl Unpin for PartyPrefsFlags",1,["client_sdk::models::party::prefs::PartyPrefsFlags"]],["impl Unpin for PartyResolver",1,["client_sdk::models::party::PartyResolver"]],["impl Unpin for PinFolder",1,["client_sdk::models::party::PinFolder"]],["impl Unpin for PinFolderFlags",1,["client_sdk::models::party::PinFolderFlags"]],["impl Unpin for PinFolderResolver",1,["client_sdk::models::party::PinFolderResolver"]],["impl Unpin for ArchivedOverwrite",1,["client_sdk::models::permission::ArchivedOverwrite"]],["impl Unpin for ArchivedPermissions",1,["client_sdk::models::permission::ArchivedPermissions"]],["impl Unpin for Overwrite",1,["client_sdk::models::permission::Overwrite"]],["impl Unpin for OverwriteResolver",1,["client_sdk::models::permission::OverwriteResolver"]],["impl Unpin for Permissions",1,["client_sdk::models::permission::Permissions"]],["impl Unpin for Activity",1,["client_sdk::models::presence::Activity"]],["impl Unpin for ActivityResolver",1,["client_sdk::models::presence::ActivityResolver"]],["impl Unpin for ArchivedActivity",1,["client_sdk::models::presence::ArchivedActivity"]],["impl Unpin for ArchivedUserPresence",1,["client_sdk::models::presence::ArchivedUserPresence"]],["impl Unpin for ArchivedUserPresenceFlags",1,["client_sdk::models::presence::ArchivedUserPresenceFlags"]],["impl Unpin for UserPresence",1,["client_sdk::models::presence::UserPresence"]],["impl Unpin for UserPresenceFlags",1,["client_sdk::models::presence::UserPresenceFlags"]],["impl Unpin for UserPresenceResolver",1,["client_sdk::models::presence::UserPresenceResolver"]],["impl Unpin for ArchivedRoleFlags",1,["client_sdk::models::role::ArchivedRoleFlags"]],["impl Unpin for Role",1,["client_sdk::models::role::Role"]],["impl Unpin for RoleFlags",1,["client_sdk::models::role::RoleFlags"]],["impl Unpin for RoleResolver",1,["client_sdk::models::role::RoleResolver"]],["impl Unpin for ArchivedRoomFlags",1,["client_sdk::models::room::ArchivedRoomFlags"]],["impl Unpin for FullRoom",1,["client_sdk::models::room::FullRoom"]],["impl Unpin for FullRoomResolver",1,["client_sdk::models::room::FullRoomResolver"]],["impl Unpin for Room",1,["client_sdk::models::room::Room"]],["impl Unpin for RoomFlags",1,["client_sdk::models::room::RoomFlags"]],["impl Unpin for RoomResolver",1,["client_sdk::models::room::RoomResolver"]],["impl Unpin for AnonymousSession",1,["client_sdk::models::session::AnonymousSession"]],["impl Unpin for AnonymousSessionResolver",1,["client_sdk::models::session::AnonymousSessionResolver"]],["impl Unpin for ArchivedAnonymousSession",1,["client_sdk::models::session::ArchivedAnonymousSession"]],["impl Unpin for ArchivedSession",1,["client_sdk::models::session::ArchivedSession"]],["impl Unpin for Session",1,["client_sdk::models::session::Session"]],["impl Unpin for SessionResolver",1,["client_sdk::models::session::SessionResolver"]],["impl Unpin for ArchivedRoomStatistics",1,["client_sdk::models::stats::ArchivedRoomStatistics"]],["impl Unpin for RoomStatistics",1,["client_sdk::models::stats::RoomStatistics"]],["impl Unpin for RoomStatisticsResolver",1,["client_sdk::models::stats::RoomStatisticsResolver"]],["impl Unpin for Statistics",1,["client_sdk::models::stats::Statistics"]],["impl Unpin for FxRandomState2",1,["client_sdk::models::FxRandomState2"]],["impl Unpin for ArchivedThreadFlags",1,["client_sdk::models::thread::ArchivedThreadFlags"]],["impl Unpin for Thread",1,["client_sdk::models::thread::Thread"]],["impl Unpin for ThreadFlags",1,["client_sdk::models::thread::ThreadFlags"]],["impl Unpin for ThreadResolver",1,["client_sdk::models::thread::ThreadResolver"]],["impl Unpin for ArchivedFontSize",1,["client_sdk::models::user::prefs::preferences::ArchivedFontSize"]],["impl Unpin for ArchivedPadding",1,["client_sdk::models::user::prefs::preferences::ArchivedPadding"]],["impl Unpin for ArchivedTabSize",1,["client_sdk::models::user::prefs::preferences::ArchivedTabSize"]],["impl Unpin for ArchivedTemperature",1,["client_sdk::models::user::prefs::preferences::ArchivedTemperature"]],["impl Unpin for FontSize",1,["client_sdk::models::user::prefs::preferences::FontSize"]],["impl Unpin for FontSizeResolver",1,["client_sdk::models::user::prefs::preferences::FontSizeResolver"]],["impl Unpin for Padding",1,["client_sdk::models::user::prefs::preferences::Padding"]],["impl Unpin for PaddingResolver",1,["client_sdk::models::user::prefs::preferences::PaddingResolver"]],["impl Unpin for TabSize",1,["client_sdk::models::user::prefs::preferences::TabSize"]],["impl Unpin for TabSizeResolver",1,["client_sdk::models::user::prefs::preferences::TabSizeResolver"]],["impl Unpin for Temperature",1,["client_sdk::models::user::prefs::preferences::Temperature"]],["impl Unpin for TemperatureResolver",1,["client_sdk::models::user::prefs::preferences::TemperatureResolver"]],["impl Unpin for ArchivedExtraUserProfileBits",1,["client_sdk::models::user::ArchivedExtraUserProfileBits"]],["impl Unpin for ArchivedFont",1,["client_sdk::models::user::prefs::font_impl::ArchivedFont"]],["impl Unpin for ArchivedFriendAddability",1,["client_sdk::models::user::prefs::friend_addability_impl::ArchivedFriendAddability"]],["impl Unpin for ArchivedLocale",1,["client_sdk::models::user::prefs::locale_impl::ArchivedLocale"]],["impl Unpin for ArchivedUserFlags",1,["client_sdk::models::user::ArchivedUserFlags"]],["impl Unpin for ArchivedUserPreferences",1,["client_sdk::models::user::prefs::ArchivedUserPreferences"]],["impl Unpin for ArchivedUserPrefsFlags",1,["client_sdk::models::user::prefs::ArchivedUserPrefsFlags"]],["impl Unpin for ArchivedUserProfileBits",1,["client_sdk::models::user::ArchivedUserProfileBits"]],["impl Unpin for ArchivedUserRelationship",1,["client_sdk::models::user::user_relationship_impl::ArchivedUserRelationship"]],["impl Unpin for ExtraUserProfileBits",1,["client_sdk::models::user::ExtraUserProfileBits"]],["impl Unpin for Relationship",1,["client_sdk::models::user::Relationship"]],["impl Unpin for RelationshipResolver",1,["client_sdk::models::user::RelationshipResolver"]],["impl Unpin for User",1,["client_sdk::models::user::User"]],["impl Unpin for UserFlags",1,["client_sdk::models::user::UserFlags"]],["impl Unpin for UserPreferences",1,["client_sdk::models::user::prefs::UserPreferences"]],["impl Unpin for UserPreferencesResolver",1,["client_sdk::models::user::prefs::UserPreferencesResolver"]],["impl Unpin for UserPrefsFlags",1,["client_sdk::models::user::prefs::UserPrefsFlags"]],["impl Unpin for UserProfile",1,["client_sdk::models::user::UserProfile"]],["impl Unpin for UserProfileBits",1,["client_sdk::models::user::UserProfileBits"]],["impl Unpin for UserProfileResolver",1,["client_sdk::models::user::UserProfileResolver"]],["impl Unpin for UserResolver",1,["client_sdk::models::user::UserResolver"]],["impl Unpin for FromUtf8Error",1,["client_sdk::models::util::thin_str::FromUtf8Error"]],["impl Unpin for ThinString",1,["client_sdk::models::util::thin_str::ThinString"]],["impl<'__pin> Unpin for GatewaySocket
where\n PinnedFieldsOf<__Origin<'__pin>>: Unpin,
"],["impl<'a> Unpin for Argument<'a>",1,["client_sdk::framework_utils::args::Argument"]],["impl<'a> Unpin for ArgumentSplitter<'a>",1,["client_sdk::framework_utils::args::ArgumentSplitter"]],["impl<C, U, S> Unpin for DynamicClientMsgHandlers<C, U, S>
where\n S: Unpin,
",1,["client_sdk::models::gateway::message::DynamicClientMsgHandlers"]],["impl<C, U, S> Unpin for DynamicServerMsgHandlers<C, U, S>
where\n S: Unpin,
",1,["client_sdk::models::gateway::message::DynamicServerMsgHandlers"]],["impl<H, E> Unpin for Standard<H, E>
where\n H: Unpin,
",1,["client_sdk::framework::standard::Standard"]],["impl<T> Unpin for Nullable<T>
where\n T: Unpin,
",1,["client_sdk::models::nullable::Nullable"]],["impl<const N: usize> Unpin for FixedStr<N>",1,["client_sdk::models::util::fixed_str::FixedStr"]]]]]); + if (window.register_implementors) { + window.register_implementors(implementors); + } else { + window.pending_implementors = implementors; + } +})() +//{"start":57,"fragment_lengths":[264652]} \ No newline at end of file diff --git a/trait.impl/core/ops/arith/trait.Sub.js b/trait.impl/core/ops/arith/trait.Sub.js new file mode 100644 index 000000000..e5e729694 --- /dev/null +++ b/trait.impl/core/ops/arith/trait.Sub.js @@ -0,0 +1,9 @@ +(function() { + var implementors = Object.fromEntries([["client_sdk",[["impl Sub for CommandFlags"],["impl Sub for AssetFlags"],["impl Sub for EmbedFlags"],["impl Sub for EmoteFlags"],["impl Sub for Intent"],["impl Sub for MessageFlags"],["impl Sub for PartyFlags"],["impl Sub for PartyMemberFlags"],["impl Sub for PartyPrefsFlags"],["impl Sub for PinFolderFlags"],["impl Sub for Permissions"],["impl Sub for UserPresenceFlags"],["impl Sub for RoleFlags"],["impl Sub for RoomFlags"],["impl Sub for ThreadFlags"],["impl Sub for ExtraUserProfileBits"],["impl Sub for UserFlags"],["impl Sub for UserPrefsFlags"],["impl Sub for UserProfileBits"]]]]); + if (window.register_implementors) { + window.register_implementors(implementors); + } else { + window.pending_implementors = implementors; + } +})() +//{"start":57,"fragment_lengths":[5762]} \ No newline at end of file diff --git a/trait.impl/core/ops/arith/trait.SubAssign.js b/trait.impl/core/ops/arith/trait.SubAssign.js new file mode 100644 index 000000000..2de7786c2 --- /dev/null +++ b/trait.impl/core/ops/arith/trait.SubAssign.js @@ -0,0 +1,9 @@ +(function() { + var implementors = Object.fromEntries([["client_sdk",[["impl SubAssign for CommandFlags"],["impl SubAssign for AssetFlags"],["impl SubAssign for EmbedFlags"],["impl SubAssign for EmoteFlags"],["impl SubAssign for Intent"],["impl SubAssign for MessageFlags"],["impl SubAssign for PartyFlags"],["impl SubAssign for PartyMemberFlags"],["impl SubAssign for PartyPrefsFlags"],["impl SubAssign for PinFolderFlags"],["impl SubAssign for Permissions"],["impl SubAssign for UserPresenceFlags"],["impl SubAssign for RoleFlags"],["impl SubAssign for RoomFlags"],["impl SubAssign for ThreadFlags"],["impl SubAssign for ExtraUserProfileBits"],["impl SubAssign for UserFlags"],["impl SubAssign for UserPrefsFlags"],["impl SubAssign for UserProfileBits"]]]]); + if (window.register_implementors) { + window.register_implementors(implementors); + } else { + window.pending_implementors = implementors; + } +})() +//{"start":57,"fragment_lengths":[6104]} \ No newline at end of file diff --git a/trait.impl/core/ops/bit/trait.BitAnd.js b/trait.impl/core/ops/bit/trait.BitAnd.js new file mode 100644 index 000000000..4ebdfc047 --- /dev/null +++ b/trait.impl/core/ops/bit/trait.BitAnd.js @@ -0,0 +1,9 @@ +(function() { + var implementors = Object.fromEntries([["client_sdk",[["impl BitAnd for CommandFlags"],["impl BitAnd for AssetFlags"],["impl BitAnd for EmbedFlags"],["impl BitAnd for EmoteFlags"],["impl BitAnd for Intent"],["impl BitAnd for MessageFlags"],["impl BitAnd for PartyFlags"],["impl BitAnd for PartyMemberFlags"],["impl BitAnd for PartyPrefsFlags"],["impl BitAnd for PinFolderFlags"],["impl BitAnd for Permissions"],["impl BitAnd for UserPresenceFlags"],["impl BitAnd for RoleFlags"],["impl BitAnd for RoomFlags"],["impl BitAnd for ThreadFlags"],["impl BitAnd for ExtraUserProfileBits"],["impl BitAnd for UserFlags"],["impl BitAnd for UserPrefsFlags"],["impl BitAnd for UserProfileBits"]]]]); + if (window.register_implementors) { + window.register_implementors(implementors); + } else { + window.pending_implementors = implementors; + } +})() +//{"start":57,"fragment_lengths":[5857]} \ No newline at end of file diff --git a/trait.impl/core/ops/bit/trait.BitAndAssign.js b/trait.impl/core/ops/bit/trait.BitAndAssign.js new file mode 100644 index 000000000..5f76c22c5 --- /dev/null +++ b/trait.impl/core/ops/bit/trait.BitAndAssign.js @@ -0,0 +1,9 @@ +(function() { + var implementors = Object.fromEntries([["client_sdk",[["impl BitAndAssign for CommandFlags"],["impl BitAndAssign for AssetFlags"],["impl BitAndAssign for EmbedFlags"],["impl BitAndAssign for EmoteFlags"],["impl BitAndAssign for Intent"],["impl BitAndAssign for MessageFlags"],["impl BitAndAssign for PartyFlags"],["impl BitAndAssign for PartyMemberFlags"],["impl BitAndAssign for PartyPrefsFlags"],["impl BitAndAssign for PinFolderFlags"],["impl BitAndAssign for Permissions"],["impl BitAndAssign for UserPresenceFlags"],["impl BitAndAssign for RoleFlags"],["impl BitAndAssign for RoomFlags"],["impl BitAndAssign for ThreadFlags"],["impl BitAndAssign for ExtraUserProfileBits"],["impl BitAndAssign for UserFlags"],["impl BitAndAssign for UserPrefsFlags"],["impl BitAndAssign for UserProfileBits"]]]]); + if (window.register_implementors) { + window.register_implementors(implementors); + } else { + window.pending_implementors = implementors; + } +})() +//{"start":57,"fragment_lengths":[6199]} \ No newline at end of file diff --git a/trait.impl/core/ops/bit/trait.BitOr.js b/trait.impl/core/ops/bit/trait.BitOr.js new file mode 100644 index 000000000..ad6720f90 --- /dev/null +++ b/trait.impl/core/ops/bit/trait.BitOr.js @@ -0,0 +1,9 @@ +(function() { + var implementors = Object.fromEntries([["client_sdk",[["impl BitOr for CommandFlags"],["impl BitOr for AssetFlags"],["impl BitOr for EmbedFlags"],["impl BitOr for EmoteFlags"],["impl BitOr for Intent"],["impl BitOr for MessageFlags"],["impl BitOr for PartyFlags"],["impl BitOr for PartyMemberFlags"],["impl BitOr for PartyPrefsFlags"],["impl BitOr for PinFolderFlags"],["impl BitOr for Permissions"],["impl BitOr for UserPresenceFlags"],["impl BitOr for RoleFlags"],["impl BitOr for RoomFlags"],["impl BitOr for ThreadFlags"],["impl BitOr for ExtraUserProfileBits"],["impl BitOr for UserFlags"],["impl BitOr for UserPrefsFlags"],["impl BitOr for UserProfileBits"]]]]); + if (window.register_implementors) { + window.register_implementors(implementors); + } else { + window.pending_implementors = implementors; + } +})() +//{"start":57,"fragment_lengths":[5800]} \ No newline at end of file diff --git a/trait.impl/core/ops/bit/trait.BitOrAssign.js b/trait.impl/core/ops/bit/trait.BitOrAssign.js new file mode 100644 index 000000000..593af3069 --- /dev/null +++ b/trait.impl/core/ops/bit/trait.BitOrAssign.js @@ -0,0 +1,9 @@ +(function() { + var implementors = Object.fromEntries([["client_sdk",[["impl BitOrAssign for CommandFlags"],["impl BitOrAssign for AssetFlags"],["impl BitOrAssign for EmbedFlags"],["impl BitOrAssign for EmoteFlags"],["impl BitOrAssign for Intent"],["impl BitOrAssign for MessageFlags"],["impl BitOrAssign for PartyFlags"],["impl BitOrAssign for PartyMemberFlags"],["impl BitOrAssign for PartyPrefsFlags"],["impl BitOrAssign for PinFolderFlags"],["impl BitOrAssign for Permissions"],["impl BitOrAssign for UserPresenceFlags"],["impl BitOrAssign for RoleFlags"],["impl BitOrAssign for RoomFlags"],["impl BitOrAssign for ThreadFlags"],["impl BitOrAssign for ExtraUserProfileBits"],["impl BitOrAssign for UserFlags"],["impl BitOrAssign for UserPrefsFlags"],["impl BitOrAssign for UserProfileBits"]]]]); + if (window.register_implementors) { + window.register_implementors(implementors); + } else { + window.pending_implementors = implementors; + } +})() +//{"start":57,"fragment_lengths":[6142]} \ No newline at end of file diff --git a/trait.impl/core/ops/bit/trait.BitXor.js b/trait.impl/core/ops/bit/trait.BitXor.js new file mode 100644 index 000000000..a8db05867 --- /dev/null +++ b/trait.impl/core/ops/bit/trait.BitXor.js @@ -0,0 +1,9 @@ +(function() { + var implementors = Object.fromEntries([["client_sdk",[["impl BitXor for CommandFlags"],["impl BitXor for AssetFlags"],["impl BitXor for EmbedFlags"],["impl BitXor for EmoteFlags"],["impl BitXor for Intent"],["impl BitXor for MessageFlags"],["impl BitXor for PartyFlags"],["impl BitXor for PartyMemberFlags"],["impl BitXor for PartyPrefsFlags"],["impl BitXor for PinFolderFlags"],["impl BitXor for Permissions"],["impl BitXor for UserPresenceFlags"],["impl BitXor for RoleFlags"],["impl BitXor for RoomFlags"],["impl BitXor for ThreadFlags"],["impl BitXor for ExtraUserProfileBits"],["impl BitXor for UserFlags"],["impl BitXor for UserPrefsFlags"],["impl BitXor for UserProfileBits"]]]]); + if (window.register_implementors) { + window.register_implementors(implementors); + } else { + window.pending_implementors = implementors; + } +})() +//{"start":57,"fragment_lengths":[5857]} \ No newline at end of file diff --git a/trait.impl/core/ops/bit/trait.BitXorAssign.js b/trait.impl/core/ops/bit/trait.BitXorAssign.js new file mode 100644 index 000000000..522c81d82 --- /dev/null +++ b/trait.impl/core/ops/bit/trait.BitXorAssign.js @@ -0,0 +1,9 @@ +(function() { + var implementors = Object.fromEntries([["client_sdk",[["impl BitXorAssign for CommandFlags"],["impl BitXorAssign for AssetFlags"],["impl BitXorAssign for EmbedFlags"],["impl BitXorAssign for EmoteFlags"],["impl BitXorAssign for Intent"],["impl BitXorAssign for MessageFlags"],["impl BitXorAssign for PartyFlags"],["impl BitXorAssign for PartyMemberFlags"],["impl BitXorAssign for PartyPrefsFlags"],["impl BitXorAssign for PinFolderFlags"],["impl BitXorAssign for Permissions"],["impl BitXorAssign for UserPresenceFlags"],["impl BitXorAssign for RoleFlags"],["impl BitXorAssign for RoomFlags"],["impl BitXorAssign for ThreadFlags"],["impl BitXorAssign for ExtraUserProfileBits"],["impl BitXorAssign for UserFlags"],["impl BitXorAssign for UserPrefsFlags"],["impl BitXorAssign for UserProfileBits"]]]]); + if (window.register_implementors) { + window.register_implementors(implementors); + } else { + window.pending_implementors = implementors; + } +})() +//{"start":57,"fragment_lengths":[6199]} \ No newline at end of file diff --git a/trait.impl/core/ops/bit/trait.Not.js b/trait.impl/core/ops/bit/trait.Not.js new file mode 100644 index 000000000..0619d3134 --- /dev/null +++ b/trait.impl/core/ops/bit/trait.Not.js @@ -0,0 +1,9 @@ +(function() { + var implementors = Object.fromEntries([["client_sdk",[["impl Not for CommandFlags"],["impl Not for AssetFlags"],["impl Not for EmbedFlags"],["impl Not for EmoteFlags"],["impl Not for Intent"],["impl Not for MessageFlags"],["impl Not for PartyFlags"],["impl Not for PartyMemberFlags"],["impl Not for PartyPrefsFlags"],["impl Not for PinFolderFlags"],["impl Not for Permissions"],["impl Not for UserPresenceFlags"],["impl Not for RoleFlags"],["impl Not for RoomFlags"],["impl Not for ThreadFlags"],["impl Not for ExtraUserProfileBits"],["impl Not for UserFlags"],["impl Not for UserPrefsFlags"],["impl Not for UserProfileBits"]]]]); + if (window.register_implementors) { + window.register_implementors(implementors); + } else { + window.pending_implementors = implementors; + } +})() +//{"start":57,"fragment_lengths":[5686]} \ No newline at end of file diff --git a/trait.impl/core/ops/deref/trait.Deref.js b/trait.impl/core/ops/deref/trait.Deref.js new file mode 100644 index 000000000..6c982ddc3 --- /dev/null +++ b/trait.impl/core/ops/deref/trait.Deref.js @@ -0,0 +1,9 @@ +(function() { + var implementors = Object.fromEntries([["client_sdk",[["impl Deref for AuthToken"],["impl Deref for CreateFile"],["impl Deref for RedeemInvite"],["impl Deref for CreateParty"],["impl Deref for CreatePartyInvite"],["impl Deref for CreatePinFolder"],["impl Deref for CreateRole"],["impl Deref for CreateRoom"],["impl Deref for PatchParty"],["impl Deref for PatchRole"],["impl Deref for SearchParty"],["impl Deref for UpdateMemberProfile"],["impl Deref for CreateMessage"],["impl Deref for EditMessage"],["impl Deref for GetMessages"],["impl Deref for GetReactions"],["impl Deref for PatchRoom"],["impl Deref for StartTyping"],["impl Deref for ChangePassword"],["impl Deref for ClearSessions"],["impl Deref for Confirm2FA"],["impl Deref for Enable2FA"],["impl Deref for PatchRelationship"],["impl Deref for Remove2FA"],["impl Deref for UpdateUserPrefs"],["impl Deref for UpdateUserProfile"],["impl Deref for UserLogin"],["impl Deref for UserRegister"],["impl Deref for ArchivedEmbedMedia"],["impl Deref for EmbedMedia"],["impl Deref for ArchivedReadyParty"],["impl Deref for ReadyParty"],["impl Deref for ArchivedIdentifyPayload"],["impl Deref for ArchivedSetPresencePayload"],["impl Deref for IdentifyPayload"],["impl Deref for SetPresencePayload"],["impl Deref for ArchivedMemberAddPayload"],["impl Deref for ArchivedMemberBanPayload"],["impl Deref for ArchivedMemberRemovePayload"],["impl Deref for ArchivedMemberUnbanPayload"],["impl Deref for ArchivedMemberUpdatePayload"],["impl Deref for ArchivedMessageCreatePayload"],["impl Deref for ArchivedMessageDeletePayload"],["impl Deref for ArchivedMessageReactionAddPayload"],["impl Deref for ArchivedMessageReactionRemovePayload"],["impl Deref for ArchivedMessageUpdatePayload"],["impl Deref for ArchivedPartyCreatePayload"],["impl Deref for ArchivedPartyUpdatePayload"],["impl Deref for ArchivedPresenceUpdatePayload"],["impl Deref for ArchivedProfileUpdatePayload"],["impl Deref for ArchivedReadyPayload"],["impl Deref for ArchivedRelationAddPayload"],["impl Deref for ArchivedRoleCreatePayload"],["impl Deref for ArchivedRoleDeletePayload"],["impl Deref for ArchivedRoleUpdatePayload"],["impl Deref for ArchivedRoomCreatePayload"],["impl Deref for ArchivedRoomDeletePayload"],["impl Deref for ArchivedRoomUpdatePayload"],["impl Deref for ArchivedTypingStartPayload"],["impl Deref for MemberAddPayload"],["impl Deref for MemberBanPayload"],["impl Deref for MemberRemovePayload"],["impl Deref for MemberUnbanPayload"],["impl Deref for MemberUpdatePayload"],["impl Deref for MessageCreatePayload"],["impl Deref for MessageDeletePayload"],["impl Deref for MessageReactionAddPayload"],["impl Deref for MessageReactionRemovePayload"],["impl Deref for MessageUpdatePayload"],["impl Deref for PartyCreatePayload"],["impl Deref for PartyUpdatePayload"],["impl Deref for PresenceUpdatePayload"],["impl Deref for ProfileUpdatePayload"],["impl Deref for ReadyPayload"],["impl Deref for RelationAddPayload"],["impl Deref for RoleCreatePayload"],["impl Deref for RoleDeletePayload"],["impl Deref for RoleUpdatePayload"],["impl Deref for RoomCreatePayload"],["impl Deref for RoomDeletePayload"],["impl Deref for RoomUpdatePayload"],["impl Deref for TypingStartPayload"],["impl Deref for ArchivedParty"],["impl Deref for Party"],["impl Deref for PartyMember"],["impl Deref for FontSize"],["impl Deref for Padding"],["impl Deref for TabSize"],["impl Deref for Temperature"],["impl Deref for ThinString"],["impl<const N: usize> Deref for FixedStr<N>"]]]]); + if (window.register_implementors) { + window.register_implementors(implementors); + } else { + window.pending_implementors = implementors; + } +})() +//{"start":57,"fragment_lengths":[33263]} \ No newline at end of file diff --git a/trait.impl/core/ops/deref/trait.DerefMut.js b/trait.impl/core/ops/deref/trait.DerefMut.js new file mode 100644 index 000000000..79eb6609d --- /dev/null +++ b/trait.impl/core/ops/deref/trait.DerefMut.js @@ -0,0 +1,9 @@ +(function() { + var implementors = Object.fromEntries([["client_sdk",[["impl DerefMut for CreateFile"],["impl DerefMut for RedeemInvite"],["impl DerefMut for CreateParty"],["impl DerefMut for CreatePartyInvite"],["impl DerefMut for CreatePinFolder"],["impl DerefMut for CreateRole"],["impl DerefMut for CreateRoom"],["impl DerefMut for PatchParty"],["impl DerefMut for PatchRole"],["impl DerefMut for SearchParty"],["impl DerefMut for UpdateMemberProfile"],["impl DerefMut for CreateMessage"],["impl DerefMut for EditMessage"],["impl DerefMut for GetMessages"],["impl DerefMut for GetReactions"],["impl DerefMut for PatchRoom"],["impl DerefMut for StartTyping"],["impl DerefMut for ChangePassword"],["impl DerefMut for ClearSessions"],["impl DerefMut for Confirm2FA"],["impl DerefMut for Enable2FA"],["impl DerefMut for PatchRelationship"],["impl DerefMut for Remove2FA"],["impl DerefMut for UpdateUserPrefs"],["impl DerefMut for UpdateUserProfile"],["impl DerefMut for UserLogin"],["impl DerefMut for UserRegister"],["impl DerefMut for EmbedMedia"],["impl DerefMut for ReadyParty"],["impl DerefMut for FontSize"],["impl DerefMut for Padding"],["impl DerefMut for TabSize"],["impl DerefMut for Temperature"],["impl DerefMut for ThinString"],["impl<const N: usize> DerefMut for FixedStr<N>"]]]]); + if (window.register_implementors) { + window.register_implementors(implementors); + } else { + window.pending_implementors = implementors; + } +})() +//{"start":57,"fragment_lengths":[11640]} \ No newline at end of file diff --git a/trait.impl/core/panic/unwind_safe/trait.RefUnwindSafe.js b/trait.impl/core/panic/unwind_safe/trait.RefUnwindSafe.js new file mode 100644 index 000000000..b902af7ff --- /dev/null +++ b/trait.impl/core/panic/unwind_safe/trait.RefUnwindSafe.js @@ -0,0 +1,9 @@ +(function() { + var implementors = Object.fromEntries([["client_sdk",[["impl !RefUnwindSafe for ClientError",1,["client_sdk::client::error::ClientError"]],["impl !RefUnwindSafe for DriverError",1,["client_sdk::driver::error::DriverError"]],["impl !RefUnwindSafe for StandardError",1,["client_sdk::framework::standard::error::StandardError"]],["impl !RefUnwindSafe for GatewayError",1,["client_sdk::gateway::error::GatewayError"]],["impl !RefUnwindSafe for Client",1,["client_sdk::client::Client"]],["impl !RefUnwindSafe for Driver",1,["client_sdk::driver::Driver"]],["impl !RefUnwindSafe for StandardContext",1,["client_sdk::framework::standard::ctx::StandardContext"]],["impl !RefUnwindSafe for GatewayConnection",1,["client_sdk::gateway::conn::GatewayConnection"]],["impl !RefUnwindSafe for GatewaySocket",1,["client_sdk::gateway::socket::GatewaySocket"]],["impl RefUnwindSafe for AssetQuery",1,["client_sdk::api::asset::AssetQuery"]],["impl RefUnwindSafe for CreateRoomKind",1,["client_sdk::api::commands::party::CreateRoomKind"]],["impl RefUnwindSafe for BannerAlign",1,["client_sdk::api::commands::user::BannerAlign"]],["impl RefUnwindSafe for ApiErrorCode",1,["client_sdk::api::error::api_error_code_impl::ApiErrorCode"]],["impl RefUnwindSafe for Encoding",1,["client_sdk::driver::Encoding"]],["impl RefUnwindSafe for GatewayErrorCode",1,["client_sdk::gateway::error::GatewayErrorCode"]],["impl RefUnwindSafe for ArchivedAuthToken",1,["client_sdk::models::auth::ArchivedAuthToken"]],["impl RefUnwindSafe for AuthToken",1,["client_sdk::models::auth::AuthToken"]],["impl RefUnwindSafe for AuthTokenResolver",1,["client_sdk::models::auth::AuthTokenResolver"]],["impl RefUnwindSafe for ArchivedEmbed",1,["client_sdk::models::embed::ArchivedEmbed"]],["impl RefUnwindSafe for Embed",1,["client_sdk::models::embed::Embed"]],["impl RefUnwindSafe for EmbedResolver",1,["client_sdk::models::embed::EmbedResolver"]],["impl RefUnwindSafe for ArchivedEmbedType",1,["client_sdk::models::embed::v1::ArchivedEmbedType"]],["impl RefUnwindSafe for EmbedType",1,["client_sdk::models::embed::v1::EmbedType"]],["impl RefUnwindSafe for EmbedTypeResolver",1,["client_sdk::models::embed::v1::EmbedTypeResolver"]],["impl RefUnwindSafe for ArchivedEmote",1,["client_sdk::models::emote::ArchivedEmote"]],["impl RefUnwindSafe for Emote",1,["client_sdk::models::emote::Emote"]],["impl RefUnwindSafe for EmoteResolver",1,["client_sdk::models::emote::EmoteResolver"]],["impl RefUnwindSafe for ArchivedCursor",1,["client_sdk::models::ArchivedCursor"]],["impl RefUnwindSafe for Cursor",1,["client_sdk::models::Cursor"]],["impl RefUnwindSafe for CursorResolver",1,["client_sdk::models::CursorResolver"]],["impl RefUnwindSafe for ArchivedPartyUpdateEvent",1,["client_sdk::models::gateway::events::ArchivedPartyUpdateEvent"]],["impl RefUnwindSafe for PartyUpdateEvent",1,["client_sdk::models::gateway::events::PartyUpdateEvent"]],["impl RefUnwindSafe for PartyUpdateEventResolver",1,["client_sdk::models::gateway::events::PartyUpdateEventResolver"]],["impl RefUnwindSafe for ArchivedClientMsg",1,["client_sdk::models::gateway::message::ArchivedClientMsg"]],["impl RefUnwindSafe for ArchivedServerMsg",1,["client_sdk::models::gateway::message::ArchivedServerMsg"]],["impl RefUnwindSafe for ClientMsg",1,["client_sdk::models::gateway::message::ClientMsg"]],["impl RefUnwindSafe for ClientMsgOpcode",1,["client_sdk::models::gateway::message::ClientMsgOpcode"]],["impl RefUnwindSafe for ClientMsgResolver",1,["client_sdk::models::gateway::message::ClientMsgResolver"]],["impl RefUnwindSafe for ServerMsg",1,["client_sdk::models::gateway::message::ServerMsg"]],["impl RefUnwindSafe for ServerMsgOpcode",1,["client_sdk::models::gateway::message::ServerMsgOpcode"]],["impl RefUnwindSafe for ServerMsgResolver",1,["client_sdk::models::gateway::message::ServerMsgResolver"]],["impl RefUnwindSafe for ArchivedEmoteOrEmoji",1,["client_sdk::models::message::ArchivedEmoteOrEmoji"]],["impl RefUnwindSafe for ArchivedMessageKind",1,["client_sdk::models::message::message_kind_impl::ArchivedMessageKind"]],["impl RefUnwindSafe for ArchivedReaction",1,["client_sdk::models::message::ArchivedReaction"]],["impl RefUnwindSafe for EmoteOrEmoji",1,["client_sdk::models::message::EmoteOrEmoji"]],["impl RefUnwindSafe for EmoteOrEmojiResolver",1,["client_sdk::models::message::EmoteOrEmojiResolver"]],["impl RefUnwindSafe for MessageKind",1,["client_sdk::models::message::message_kind_impl::MessageKind"]],["impl RefUnwindSafe for Reaction",1,["client_sdk::models::message::Reaction"]],["impl RefUnwindSafe for ReactionResolver",1,["client_sdk::models::message::ReactionResolver"]],["impl RefUnwindSafe for AnyActivity",1,["client_sdk::models::presence::AnyActivity"]],["impl RefUnwindSafe for AnyActivityResolver",1,["client_sdk::models::presence::AnyActivityResolver"]],["impl RefUnwindSafe for ArchivedAnyActivity",1,["client_sdk::models::presence::ArchivedAnyActivity"]],["impl RefUnwindSafe for ArchivedRoomKind",1,["client_sdk::models::room::ArchivedRoomKind"]],["impl RefUnwindSafe for RoomKind",1,["client_sdk::models::room::RoomKind"]],["impl RefUnwindSafe for RoomKindResolver",1,["client_sdk::models::room::RoomKindResolver"]],["impl RefUnwindSafe for ElevationLevel",1,["client_sdk::models::user::ElevationLevel"]],["impl RefUnwindSafe for Font",1,["client_sdk::models::user::prefs::font_impl::Font"]],["impl RefUnwindSafe for FriendAddability",1,["client_sdk::models::user::prefs::friend_addability_impl::FriendAddability"]],["impl RefUnwindSafe for Locale",1,["client_sdk::models::user::prefs::locale_impl::Locale"]],["impl RefUnwindSafe for UserRelationship",1,["client_sdk::models::user::user_relationship_impl::UserRelationship"]],["impl RefUnwindSafe for ArchivedGetServerConfig",1,["client_sdk::api::commands::config::ArchivedGetServerConfig"]],["impl RefUnwindSafe for GetServerConfig",1,["client_sdk::api::commands::config::GetServerConfig"]],["impl RefUnwindSafe for GetServerConfigResolver",1,["client_sdk::api::commands::config::GetServerConfigResolver"]],["impl RefUnwindSafe for ArchivedCreateFile",1,["client_sdk::api::commands::file::ArchivedCreateFile"]],["impl RefUnwindSafe for ArchivedCreateFileBody",1,["client_sdk::api::commands::file::ArchivedCreateFileBody"]],["impl RefUnwindSafe for ArchivedFileStatus",1,["client_sdk::api::commands::file::ArchivedFileStatus"]],["impl RefUnwindSafe for ArchivedFilesystemStatus",1,["client_sdk::api::commands::file::ArchivedFilesystemStatus"]],["impl RefUnwindSafe for ArchivedGetFileStatus",1,["client_sdk::api::commands::file::ArchivedGetFileStatus"]],["impl RefUnwindSafe for ArchivedGetFilesystemStatus",1,["client_sdk::api::commands::file::ArchivedGetFilesystemStatus"]],["impl RefUnwindSafe for CreateFile",1,["client_sdk::api::commands::file::CreateFile"]],["impl RefUnwindSafe for CreateFileBody",1,["client_sdk::api::commands::file::CreateFileBody"]],["impl RefUnwindSafe for CreateFileBodyResolver",1,["client_sdk::api::commands::file::CreateFileBodyResolver"]],["impl RefUnwindSafe for CreateFileResolver",1,["client_sdk::api::commands::file::CreateFileResolver"]],["impl RefUnwindSafe for FileStatus",1,["client_sdk::api::commands::file::FileStatus"]],["impl RefUnwindSafe for FileStatusResolver",1,["client_sdk::api::commands::file::FileStatusResolver"]],["impl RefUnwindSafe for FilesystemStatus",1,["client_sdk::api::commands::file::FilesystemStatus"]],["impl RefUnwindSafe for FilesystemStatusResolver",1,["client_sdk::api::commands::file::FilesystemStatusResolver"]],["impl RefUnwindSafe for GetFileStatus",1,["client_sdk::api::commands::file::GetFileStatus"]],["impl RefUnwindSafe for GetFileStatusResolver",1,["client_sdk::api::commands::file::GetFileStatusResolver"]],["impl RefUnwindSafe for GetFilesystemStatus",1,["client_sdk::api::commands::file::GetFilesystemStatus"]],["impl RefUnwindSafe for GetFilesystemStatusResolver",1,["client_sdk::api::commands::file::GetFilesystemStatusResolver"]],["impl RefUnwindSafe for ArchivedGetInvite",1,["client_sdk::api::commands::invite::ArchivedGetInvite"]],["impl RefUnwindSafe for ArchivedRedeemInvite",1,["client_sdk::api::commands::invite::ArchivedRedeemInvite"]],["impl RefUnwindSafe for ArchivedRedeemInviteBody",1,["client_sdk::api::commands::invite::ArchivedRedeemInviteBody"]],["impl RefUnwindSafe for ArchivedRevokeInvite",1,["client_sdk::api::commands::invite::ArchivedRevokeInvite"]],["impl RefUnwindSafe for GetInvite",1,["client_sdk::api::commands::invite::GetInvite"]],["impl RefUnwindSafe for GetInviteResolver",1,["client_sdk::api::commands::invite::GetInviteResolver"]],["impl RefUnwindSafe for RedeemInvite",1,["client_sdk::api::commands::invite::RedeemInvite"]],["impl RefUnwindSafe for RedeemInviteBody",1,["client_sdk::api::commands::invite::RedeemInviteBody"]],["impl RefUnwindSafe for RedeemInviteBodyResolver",1,["client_sdk::api::commands::invite::RedeemInviteBodyResolver"]],["impl RefUnwindSafe for RedeemInviteResolver",1,["client_sdk::api::commands::invite::RedeemInviteResolver"]],["impl RefUnwindSafe for RevokeInvite",1,["client_sdk::api::commands::invite::RevokeInvite"]],["impl RefUnwindSafe for RevokeInviteResolver",1,["client_sdk::api::commands::invite::RevokeInviteResolver"]],["impl RefUnwindSafe for ArchivedCreateParty",1,["client_sdk::api::commands::party::ArchivedCreateParty"]],["impl RefUnwindSafe for ArchivedCreatePartyForm",1,["client_sdk::api::commands::party::ArchivedCreatePartyForm"]],["impl RefUnwindSafe for ArchivedCreatePartyInvite",1,["client_sdk::api::commands::party::ArchivedCreatePartyInvite"]],["impl RefUnwindSafe for ArchivedCreatePartyInviteBody",1,["client_sdk::api::commands::party::ArchivedCreatePartyInviteBody"]],["impl RefUnwindSafe for ArchivedCreatePinFolder",1,["client_sdk::api::commands::party::ArchivedCreatePinFolder"]],["impl RefUnwindSafe for ArchivedCreatePinFolderForm",1,["client_sdk::api::commands::party::ArchivedCreatePinFolderForm"]],["impl RefUnwindSafe for ArchivedCreateRole",1,["client_sdk::api::commands::party::ArchivedCreateRole"]],["impl RefUnwindSafe for ArchivedCreateRoleForm",1,["client_sdk::api::commands::party::ArchivedCreateRoleForm"]],["impl RefUnwindSafe for ArchivedCreateRoom",1,["client_sdk::api::commands::party::ArchivedCreateRoom"]],["impl RefUnwindSafe for ArchivedCreateRoomForm",1,["client_sdk::api::commands::party::ArchivedCreateRoomForm"]],["impl RefUnwindSafe for ArchivedDeleteParty",1,["client_sdk::api::commands::party::ArchivedDeleteParty"]],["impl RefUnwindSafe for ArchivedDeleteRole",1,["client_sdk::api::commands::party::ArchivedDeleteRole"]],["impl RefUnwindSafe for ArchivedGetMemberProfile",1,["client_sdk::api::commands::party::ArchivedGetMemberProfile"]],["impl RefUnwindSafe for ArchivedGetParty",1,["client_sdk::api::commands::party::ArchivedGetParty"]],["impl RefUnwindSafe for ArchivedGetPartyInvites",1,["client_sdk::api::commands::party::ArchivedGetPartyInvites"]],["impl RefUnwindSafe for ArchivedGetPartyMember",1,["client_sdk::api::commands::party::ArchivedGetPartyMember"]],["impl RefUnwindSafe for ArchivedGetPartyMembers",1,["client_sdk::api::commands::party::ArchivedGetPartyMembers"]],["impl RefUnwindSafe for ArchivedGetPartyRooms",1,["client_sdk::api::commands::party::ArchivedGetPartyRooms"]],["impl RefUnwindSafe for ArchivedPartySettings",1,["client_sdk::api::commands::party::ArchivedPartySettings"]],["impl RefUnwindSafe for ArchivedPatchParty",1,["client_sdk::api::commands::party::ArchivedPatchParty"]],["impl RefUnwindSafe for ArchivedPatchPartyForm",1,["client_sdk::api::commands::party::ArchivedPatchPartyForm"]],["impl RefUnwindSafe for ArchivedPatchRole",1,["client_sdk::api::commands::party::ArchivedPatchRole"]],["impl RefUnwindSafe for ArchivedPatchRoleForm",1,["client_sdk::api::commands::party::ArchivedPatchRoleForm"]],["impl RefUnwindSafe for ArchivedSearchParty",1,["client_sdk::api::commands::party::ArchivedSearchParty"]],["impl RefUnwindSafe for ArchivedSearchQuery",1,["client_sdk::api::commands::party::ArchivedSearchQuery"]],["impl RefUnwindSafe for ArchivedTransferOwnership",1,["client_sdk::api::commands::party::ArchivedTransferOwnership"]],["impl RefUnwindSafe for ArchivedUpdateMemberProfile",1,["client_sdk::api::commands::party::ArchivedUpdateMemberProfile"]],["impl RefUnwindSafe for ArchivedUpdateMemberProfileBody",1,["client_sdk::api::commands::party::ArchivedUpdateMemberProfileBody"]],["impl RefUnwindSafe for CreateParty",1,["client_sdk::api::commands::party::CreateParty"]],["impl RefUnwindSafe for CreatePartyForm",1,["client_sdk::api::commands::party::CreatePartyForm"]],["impl RefUnwindSafe for CreatePartyFormResolver",1,["client_sdk::api::commands::party::CreatePartyFormResolver"]],["impl RefUnwindSafe for CreatePartyInvite",1,["client_sdk::api::commands::party::CreatePartyInvite"]],["impl RefUnwindSafe for CreatePartyInviteBody",1,["client_sdk::api::commands::party::CreatePartyInviteBody"]],["impl RefUnwindSafe for CreatePartyInviteBodyResolver",1,["client_sdk::api::commands::party::CreatePartyInviteBodyResolver"]],["impl RefUnwindSafe for CreatePartyInviteResolver",1,["client_sdk::api::commands::party::CreatePartyInviteResolver"]],["impl RefUnwindSafe for CreatePartyResolver",1,["client_sdk::api::commands::party::CreatePartyResolver"]],["impl RefUnwindSafe for CreatePinFolder",1,["client_sdk::api::commands::party::CreatePinFolder"]],["impl RefUnwindSafe for CreatePinFolderForm",1,["client_sdk::api::commands::party::CreatePinFolderForm"]],["impl RefUnwindSafe for CreatePinFolderFormResolver",1,["client_sdk::api::commands::party::CreatePinFolderFormResolver"]],["impl RefUnwindSafe for CreatePinFolderResolver",1,["client_sdk::api::commands::party::CreatePinFolderResolver"]],["impl RefUnwindSafe for CreateRole",1,["client_sdk::api::commands::party::CreateRole"]],["impl RefUnwindSafe for CreateRoleForm",1,["client_sdk::api::commands::party::CreateRoleForm"]],["impl RefUnwindSafe for CreateRoleFormResolver",1,["client_sdk::api::commands::party::CreateRoleFormResolver"]],["impl RefUnwindSafe for CreateRoleResolver",1,["client_sdk::api::commands::party::CreateRoleResolver"]],["impl RefUnwindSafe for CreateRoom",1,["client_sdk::api::commands::party::CreateRoom"]],["impl RefUnwindSafe for CreateRoomForm",1,["client_sdk::api::commands::party::CreateRoomForm"]],["impl RefUnwindSafe for CreateRoomFormResolver",1,["client_sdk::api::commands::party::CreateRoomFormResolver"]],["impl RefUnwindSafe for CreateRoomResolver",1,["client_sdk::api::commands::party::CreateRoomResolver"]],["impl RefUnwindSafe for DeleteParty",1,["client_sdk::api::commands::party::DeleteParty"]],["impl RefUnwindSafe for DeletePartyResolver",1,["client_sdk::api::commands::party::DeletePartyResolver"]],["impl RefUnwindSafe for DeleteRole",1,["client_sdk::api::commands::party::DeleteRole"]],["impl RefUnwindSafe for DeleteRoleResolver",1,["client_sdk::api::commands::party::DeleteRoleResolver"]],["impl RefUnwindSafe for GetMemberProfile",1,["client_sdk::api::commands::party::GetMemberProfile"]],["impl RefUnwindSafe for GetMemberProfileResolver",1,["client_sdk::api::commands::party::GetMemberProfileResolver"]],["impl RefUnwindSafe for GetParty",1,["client_sdk::api::commands::party::GetParty"]],["impl RefUnwindSafe for GetPartyInvites",1,["client_sdk::api::commands::party::GetPartyInvites"]],["impl RefUnwindSafe for GetPartyInvitesResolver",1,["client_sdk::api::commands::party::GetPartyInvitesResolver"]],["impl RefUnwindSafe for GetPartyMember",1,["client_sdk::api::commands::party::GetPartyMember"]],["impl RefUnwindSafe for GetPartyMemberResolver",1,["client_sdk::api::commands::party::GetPartyMemberResolver"]],["impl RefUnwindSafe for GetPartyMembers",1,["client_sdk::api::commands::party::GetPartyMembers"]],["impl RefUnwindSafe for GetPartyMembersResolver",1,["client_sdk::api::commands::party::GetPartyMembersResolver"]],["impl RefUnwindSafe for GetPartyResolver",1,["client_sdk::api::commands::party::GetPartyResolver"]],["impl RefUnwindSafe for GetPartyRooms",1,["client_sdk::api::commands::party::GetPartyRooms"]],["impl RefUnwindSafe for GetPartyRoomsResolver",1,["client_sdk::api::commands::party::GetPartyRoomsResolver"]],["impl RefUnwindSafe for PartySettings",1,["client_sdk::api::commands::party::PartySettings"]],["impl RefUnwindSafe for PartySettingsResolver",1,["client_sdk::api::commands::party::PartySettingsResolver"]],["impl RefUnwindSafe for PatchParty",1,["client_sdk::api::commands::party::PatchParty"]],["impl RefUnwindSafe for PatchPartyForm",1,["client_sdk::api::commands::party::PatchPartyForm"]],["impl RefUnwindSafe for PatchPartyFormResolver",1,["client_sdk::api::commands::party::PatchPartyFormResolver"]],["impl RefUnwindSafe for PatchPartyResolver",1,["client_sdk::api::commands::party::PatchPartyResolver"]],["impl RefUnwindSafe for PatchRole",1,["client_sdk::api::commands::party::PatchRole"]],["impl RefUnwindSafe for PatchRoleForm",1,["client_sdk::api::commands::party::PatchRoleForm"]],["impl RefUnwindSafe for PatchRoleFormResolver",1,["client_sdk::api::commands::party::PatchRoleFormResolver"]],["impl RefUnwindSafe for PatchRoleResolver",1,["client_sdk::api::commands::party::PatchRoleResolver"]],["impl RefUnwindSafe for SearchParty",1,["client_sdk::api::commands::party::SearchParty"]],["impl RefUnwindSafe for SearchPartyResolver",1,["client_sdk::api::commands::party::SearchPartyResolver"]],["impl RefUnwindSafe for SearchQuery",1,["client_sdk::api::commands::party::SearchQuery"]],["impl RefUnwindSafe for SearchQueryResolver",1,["client_sdk::api::commands::party::SearchQueryResolver"]],["impl RefUnwindSafe for TransferOwnership",1,["client_sdk::api::commands::party::TransferOwnership"]],["impl RefUnwindSafe for TransferOwnershipResolver",1,["client_sdk::api::commands::party::TransferOwnershipResolver"]],["impl RefUnwindSafe for UpdateMemberProfile",1,["client_sdk::api::commands::party::UpdateMemberProfile"]],["impl RefUnwindSafe for UpdateMemberProfileBody",1,["client_sdk::api::commands::party::UpdateMemberProfileBody"]],["impl RefUnwindSafe for UpdateMemberProfileBodyResolver",1,["client_sdk::api::commands::party::UpdateMemberProfileBodyResolver"]],["impl RefUnwindSafe for UpdateMemberProfileResolver",1,["client_sdk::api::commands::party::UpdateMemberProfileResolver"]],["impl RefUnwindSafe for ArchivedCreateMessage",1,["client_sdk::api::commands::room::ArchivedCreateMessage"]],["impl RefUnwindSafe for ArchivedCreateMessageBody",1,["client_sdk::api::commands::room::ArchivedCreateMessageBody"]],["impl RefUnwindSafe for ArchivedDeleteAllReactions",1,["client_sdk::api::commands::room::ArchivedDeleteAllReactions"]],["impl RefUnwindSafe for ArchivedDeleteMessage",1,["client_sdk::api::commands::room::ArchivedDeleteMessage"]],["impl RefUnwindSafe for ArchivedDeleteOwnReaction",1,["client_sdk::api::commands::room::ArchivedDeleteOwnReaction"]],["impl RefUnwindSafe for ArchivedDeleteRoom",1,["client_sdk::api::commands::room::ArchivedDeleteRoom"]],["impl RefUnwindSafe for ArchivedDeleteUserReaction",1,["client_sdk::api::commands::room::ArchivedDeleteUserReaction"]],["impl RefUnwindSafe for ArchivedEditMessage",1,["client_sdk::api::commands::room::ArchivedEditMessage"]],["impl RefUnwindSafe for ArchivedEditMessageBody",1,["client_sdk::api::commands::room::ArchivedEditMessageBody"]],["impl RefUnwindSafe for ArchivedGetMessage",1,["client_sdk::api::commands::room::ArchivedGetMessage"]],["impl RefUnwindSafe for ArchivedGetMessages",1,["client_sdk::api::commands::room::ArchivedGetMessages"]],["impl RefUnwindSafe for ArchivedGetMessagesQuery",1,["client_sdk::api::commands::room::ArchivedGetMessagesQuery"]],["impl RefUnwindSafe for ArchivedGetReactions",1,["client_sdk::api::commands::room::ArchivedGetReactions"]],["impl RefUnwindSafe for ArchivedGetReactionsForm",1,["client_sdk::api::commands::room::ArchivedGetReactionsForm"]],["impl RefUnwindSafe for ArchivedGetRoom",1,["client_sdk::api::commands::room::ArchivedGetRoom"]],["impl RefUnwindSafe for ArchivedPatchRoom",1,["client_sdk::api::commands::room::ArchivedPatchRoom"]],["impl RefUnwindSafe for ArchivedPatchRoomForm",1,["client_sdk::api::commands::room::ArchivedPatchRoomForm"]],["impl RefUnwindSafe for ArchivedPinMessage",1,["client_sdk::api::commands::room::ArchivedPinMessage"]],["impl RefUnwindSafe for ArchivedPutReaction",1,["client_sdk::api::commands::room::ArchivedPutReaction"]],["impl RefUnwindSafe for ArchivedStarMessage",1,["client_sdk::api::commands::room::ArchivedStarMessage"]],["impl RefUnwindSafe for ArchivedStartTyping",1,["client_sdk::api::commands::room::ArchivedStartTyping"]],["impl RefUnwindSafe for ArchivedStartTypingBody",1,["client_sdk::api::commands::room::ArchivedStartTypingBody"]],["impl RefUnwindSafe for ArchivedUnpinMessage",1,["client_sdk::api::commands::room::ArchivedUnpinMessage"]],["impl RefUnwindSafe for ArchivedUnstarMessage",1,["client_sdk::api::commands::room::ArchivedUnstarMessage"]],["impl RefUnwindSafe for CreateMessage",1,["client_sdk::api::commands::room::CreateMessage"]],["impl RefUnwindSafe for CreateMessageBody",1,["client_sdk::api::commands::room::CreateMessageBody"]],["impl RefUnwindSafe for CreateMessageBodyResolver",1,["client_sdk::api::commands::room::CreateMessageBodyResolver"]],["impl RefUnwindSafe for CreateMessageResolver",1,["client_sdk::api::commands::room::CreateMessageResolver"]],["impl RefUnwindSafe for DeleteAllReactions",1,["client_sdk::api::commands::room::DeleteAllReactions"]],["impl RefUnwindSafe for DeleteAllReactionsResolver",1,["client_sdk::api::commands::room::DeleteAllReactionsResolver"]],["impl RefUnwindSafe for DeleteMessage",1,["client_sdk::api::commands::room::DeleteMessage"]],["impl RefUnwindSafe for DeleteMessageResolver",1,["client_sdk::api::commands::room::DeleteMessageResolver"]],["impl RefUnwindSafe for DeleteOwnReaction",1,["client_sdk::api::commands::room::DeleteOwnReaction"]],["impl RefUnwindSafe for DeleteOwnReactionResolver",1,["client_sdk::api::commands::room::DeleteOwnReactionResolver"]],["impl RefUnwindSafe for DeleteRoom",1,["client_sdk::api::commands::room::DeleteRoom"]],["impl RefUnwindSafe for DeleteRoomResolver",1,["client_sdk::api::commands::room::DeleteRoomResolver"]],["impl RefUnwindSafe for DeleteUserReaction",1,["client_sdk::api::commands::room::DeleteUserReaction"]],["impl RefUnwindSafe for DeleteUserReactionResolver",1,["client_sdk::api::commands::room::DeleteUserReactionResolver"]],["impl RefUnwindSafe for EditMessage",1,["client_sdk::api::commands::room::EditMessage"]],["impl RefUnwindSafe for EditMessageBody",1,["client_sdk::api::commands::room::EditMessageBody"]],["impl RefUnwindSafe for EditMessageBodyResolver",1,["client_sdk::api::commands::room::EditMessageBodyResolver"]],["impl RefUnwindSafe for EditMessageResolver",1,["client_sdk::api::commands::room::EditMessageResolver"]],["impl RefUnwindSafe for GetMessage",1,["client_sdk::api::commands::room::GetMessage"]],["impl RefUnwindSafe for GetMessageResolver",1,["client_sdk::api::commands::room::GetMessageResolver"]],["impl RefUnwindSafe for GetMessages",1,["client_sdk::api::commands::room::GetMessages"]],["impl RefUnwindSafe for GetMessagesQuery",1,["client_sdk::api::commands::room::GetMessagesQuery"]],["impl RefUnwindSafe for GetMessagesQueryResolver",1,["client_sdk::api::commands::room::GetMessagesQueryResolver"]],["impl RefUnwindSafe for GetMessagesResolver",1,["client_sdk::api::commands::room::GetMessagesResolver"]],["impl RefUnwindSafe for GetReactions",1,["client_sdk::api::commands::room::GetReactions"]],["impl RefUnwindSafe for GetReactionsForm",1,["client_sdk::api::commands::room::GetReactionsForm"]],["impl RefUnwindSafe for GetReactionsFormResolver",1,["client_sdk::api::commands::room::GetReactionsFormResolver"]],["impl RefUnwindSafe for GetReactionsResolver",1,["client_sdk::api::commands::room::GetReactionsResolver"]],["impl RefUnwindSafe for GetRoom",1,["client_sdk::api::commands::room::GetRoom"]],["impl RefUnwindSafe for GetRoomResolver",1,["client_sdk::api::commands::room::GetRoomResolver"]],["impl RefUnwindSafe for PatchRoom",1,["client_sdk::api::commands::room::PatchRoom"]],["impl RefUnwindSafe for PatchRoomForm",1,["client_sdk::api::commands::room::PatchRoomForm"]],["impl RefUnwindSafe for PatchRoomFormResolver",1,["client_sdk::api::commands::room::PatchRoomFormResolver"]],["impl RefUnwindSafe for PatchRoomResolver",1,["client_sdk::api::commands::room::PatchRoomResolver"]],["impl RefUnwindSafe for PinMessage",1,["client_sdk::api::commands::room::PinMessage"]],["impl RefUnwindSafe for PinMessageResolver",1,["client_sdk::api::commands::room::PinMessageResolver"]],["impl RefUnwindSafe for PutReaction",1,["client_sdk::api::commands::room::PutReaction"]],["impl RefUnwindSafe for PutReactionResolver",1,["client_sdk::api::commands::room::PutReactionResolver"]],["impl RefUnwindSafe for StarMessage",1,["client_sdk::api::commands::room::StarMessage"]],["impl RefUnwindSafe for StarMessageResolver",1,["client_sdk::api::commands::room::StarMessageResolver"]],["impl RefUnwindSafe for StartTyping",1,["client_sdk::api::commands::room::StartTyping"]],["impl RefUnwindSafe for StartTypingBody",1,["client_sdk::api::commands::room::StartTypingBody"]],["impl RefUnwindSafe for StartTypingBodyResolver",1,["client_sdk::api::commands::room::StartTypingBodyResolver"]],["impl RefUnwindSafe for StartTypingResolver",1,["client_sdk::api::commands::room::StartTypingResolver"]],["impl RefUnwindSafe for UnpinMessage",1,["client_sdk::api::commands::room::UnpinMessage"]],["impl RefUnwindSafe for UnpinMessageResolver",1,["client_sdk::api::commands::room::UnpinMessageResolver"]],["impl RefUnwindSafe for UnstarMessage",1,["client_sdk::api::commands::room::UnstarMessage"]],["impl RefUnwindSafe for UnstarMessageResolver",1,["client_sdk::api::commands::room::UnstarMessageResolver"]],["impl RefUnwindSafe for Added2FA",1,["client_sdk::api::commands::user::Added2FA"]],["impl RefUnwindSafe for Added2FAResolver",1,["client_sdk::api::commands::user::Added2FAResolver"]],["impl RefUnwindSafe for ArchivedAdded2FA",1,["client_sdk::api::commands::user::ArchivedAdded2FA"]],["impl RefUnwindSafe for ArchivedChangePassword",1,["client_sdk::api::commands::user::ArchivedChangePassword"]],["impl RefUnwindSafe for ArchivedChangePasswordForm",1,["client_sdk::api::commands::user::ArchivedChangePasswordForm"]],["impl RefUnwindSafe for ArchivedClearSessions",1,["client_sdk::api::commands::user::ArchivedClearSessions"]],["impl RefUnwindSafe for ArchivedClearSessionsForm",1,["client_sdk::api::commands::user::ArchivedClearSessionsForm"]],["impl RefUnwindSafe for ArchivedConfirm2FA",1,["client_sdk::api::commands::user::ArchivedConfirm2FA"]],["impl RefUnwindSafe for ArchivedConfirm2FAForm",1,["client_sdk::api::commands::user::ArchivedConfirm2FAForm"]],["impl RefUnwindSafe for ArchivedEnable2FA",1,["client_sdk::api::commands::user::ArchivedEnable2FA"]],["impl RefUnwindSafe for ArchivedEnable2FAForm",1,["client_sdk::api::commands::user::ArchivedEnable2FAForm"]],["impl RefUnwindSafe for ArchivedGetRelationships",1,["client_sdk::api::commands::user::ArchivedGetRelationships"]],["impl RefUnwindSafe for ArchivedGetSessions",1,["client_sdk::api::commands::user::ArchivedGetSessions"]],["impl RefUnwindSafe for ArchivedGetUser",1,["client_sdk::api::commands::user::ArchivedGetUser"]],["impl RefUnwindSafe for ArchivedPatchRelationship",1,["client_sdk::api::commands::user::ArchivedPatchRelationship"]],["impl RefUnwindSafe for ArchivedPatchRelationshipBody",1,["client_sdk::api::commands::user::ArchivedPatchRelationshipBody"]],["impl RefUnwindSafe for ArchivedRemove2FA",1,["client_sdk::api::commands::user::ArchivedRemove2FA"]],["impl RefUnwindSafe for ArchivedRemove2FAForm",1,["client_sdk::api::commands::user::ArchivedRemove2FAForm"]],["impl RefUnwindSafe for ArchivedUpdateUserPrefs",1,["client_sdk::api::commands::user::ArchivedUpdateUserPrefs"]],["impl RefUnwindSafe for ArchivedUpdateUserPrefsBody",1,["client_sdk::api::commands::user::ArchivedUpdateUserPrefsBody"]],["impl RefUnwindSafe for ArchivedUpdateUserProfile",1,["client_sdk::api::commands::user::ArchivedUpdateUserProfile"]],["impl RefUnwindSafe for ArchivedUpdateUserProfileBody",1,["client_sdk::api::commands::user::ArchivedUpdateUserProfileBody"]],["impl RefUnwindSafe for ArchivedUserLogin",1,["client_sdk::api::commands::user::ArchivedUserLogin"]],["impl RefUnwindSafe for ArchivedUserLoginForm",1,["client_sdk::api::commands::user::ArchivedUserLoginForm"]],["impl RefUnwindSafe for ArchivedUserLogout",1,["client_sdk::api::commands::user::ArchivedUserLogout"]],["impl RefUnwindSafe for ArchivedUserRegister",1,["client_sdk::api::commands::user::ArchivedUserRegister"]],["impl RefUnwindSafe for ArchivedUserRegisterForm",1,["client_sdk::api::commands::user::ArchivedUserRegisterForm"]],["impl RefUnwindSafe for ChangePassword",1,["client_sdk::api::commands::user::ChangePassword"]],["impl RefUnwindSafe for ChangePasswordForm",1,["client_sdk::api::commands::user::ChangePasswordForm"]],["impl RefUnwindSafe for ChangePasswordFormResolver",1,["client_sdk::api::commands::user::ChangePasswordFormResolver"]],["impl RefUnwindSafe for ChangePasswordResolver",1,["client_sdk::api::commands::user::ChangePasswordResolver"]],["impl RefUnwindSafe for ClearSessions",1,["client_sdk::api::commands::user::ClearSessions"]],["impl RefUnwindSafe for ClearSessionsForm",1,["client_sdk::api::commands::user::ClearSessionsForm"]],["impl RefUnwindSafe for ClearSessionsFormResolver",1,["client_sdk::api::commands::user::ClearSessionsFormResolver"]],["impl RefUnwindSafe for ClearSessionsResolver",1,["client_sdk::api::commands::user::ClearSessionsResolver"]],["impl RefUnwindSafe for Confirm2FA",1,["client_sdk::api::commands::user::Confirm2FA"]],["impl RefUnwindSafe for Confirm2FAForm",1,["client_sdk::api::commands::user::Confirm2FAForm"]],["impl RefUnwindSafe for Confirm2FAFormResolver",1,["client_sdk::api::commands::user::Confirm2FAFormResolver"]],["impl RefUnwindSafe for Confirm2FAResolver",1,["client_sdk::api::commands::user::Confirm2FAResolver"]],["impl RefUnwindSafe for Enable2FA",1,["client_sdk::api::commands::user::Enable2FA"]],["impl RefUnwindSafe for Enable2FAForm",1,["client_sdk::api::commands::user::Enable2FAForm"]],["impl RefUnwindSafe for Enable2FAFormResolver",1,["client_sdk::api::commands::user::Enable2FAFormResolver"]],["impl RefUnwindSafe for Enable2FAResolver",1,["client_sdk::api::commands::user::Enable2FAResolver"]],["impl RefUnwindSafe for GetRelationships",1,["client_sdk::api::commands::user::GetRelationships"]],["impl RefUnwindSafe for GetRelationshipsResolver",1,["client_sdk::api::commands::user::GetRelationshipsResolver"]],["impl RefUnwindSafe for GetSessions",1,["client_sdk::api::commands::user::GetSessions"]],["impl RefUnwindSafe for GetSessionsResolver",1,["client_sdk::api::commands::user::GetSessionsResolver"]],["impl RefUnwindSafe for GetUser",1,["client_sdk::api::commands::user::GetUser"]],["impl RefUnwindSafe for GetUserResolver",1,["client_sdk::api::commands::user::GetUserResolver"]],["impl RefUnwindSafe for PatchRelationship",1,["client_sdk::api::commands::user::PatchRelationship"]],["impl RefUnwindSafe for PatchRelationshipBody",1,["client_sdk::api::commands::user::PatchRelationshipBody"]],["impl RefUnwindSafe for PatchRelationshipBodyResolver",1,["client_sdk::api::commands::user::PatchRelationshipBodyResolver"]],["impl RefUnwindSafe for PatchRelationshipResolver",1,["client_sdk::api::commands::user::PatchRelationshipResolver"]],["impl RefUnwindSafe for Remove2FA",1,["client_sdk::api::commands::user::Remove2FA"]],["impl RefUnwindSafe for Remove2FAForm",1,["client_sdk::api::commands::user::Remove2FAForm"]],["impl RefUnwindSafe for Remove2FAFormResolver",1,["client_sdk::api::commands::user::Remove2FAFormResolver"]],["impl RefUnwindSafe for Remove2FAResolver",1,["client_sdk::api::commands::user::Remove2FAResolver"]],["impl RefUnwindSafe for UpdateUserPrefs",1,["client_sdk::api::commands::user::UpdateUserPrefs"]],["impl RefUnwindSafe for UpdateUserPrefsBody",1,["client_sdk::api::commands::user::UpdateUserPrefsBody"]],["impl RefUnwindSafe for UpdateUserPrefsBodyResolver",1,["client_sdk::api::commands::user::UpdateUserPrefsBodyResolver"]],["impl RefUnwindSafe for UpdateUserPrefsResolver",1,["client_sdk::api::commands::user::UpdateUserPrefsResolver"]],["impl RefUnwindSafe for UpdateUserProfile",1,["client_sdk::api::commands::user::UpdateUserProfile"]],["impl RefUnwindSafe for UpdateUserProfileBody",1,["client_sdk::api::commands::user::UpdateUserProfileBody"]],["impl RefUnwindSafe for UpdateUserProfileBodyResolver",1,["client_sdk::api::commands::user::UpdateUserProfileBodyResolver"]],["impl RefUnwindSafe for UpdateUserProfileResolver",1,["client_sdk::api::commands::user::UpdateUserProfileResolver"]],["impl RefUnwindSafe for UserLogin",1,["client_sdk::api::commands::user::UserLogin"]],["impl RefUnwindSafe for UserLoginForm",1,["client_sdk::api::commands::user::UserLoginForm"]],["impl RefUnwindSafe for UserLoginFormResolver",1,["client_sdk::api::commands::user::UserLoginFormResolver"]],["impl RefUnwindSafe for UserLoginResolver",1,["client_sdk::api::commands::user::UserLoginResolver"]],["impl RefUnwindSafe for UserLogout",1,["client_sdk::api::commands::user::UserLogout"]],["impl RefUnwindSafe for UserLogoutResolver",1,["client_sdk::api::commands::user::UserLogoutResolver"]],["impl RefUnwindSafe for UserRegister",1,["client_sdk::api::commands::user::UserRegister"]],["impl RefUnwindSafe for UserRegisterForm",1,["client_sdk::api::commands::user::UserRegisterForm"]],["impl RefUnwindSafe for UserRegisterFormResolver",1,["client_sdk::api::commands::user::UserRegisterFormResolver"]],["impl RefUnwindSafe for UserRegisterResolver",1,["client_sdk::api::commands::user::UserRegisterResolver"]],["impl RefUnwindSafe for ApiError",1,["client_sdk::api::error::ApiError"]],["impl RefUnwindSafe for ApiErrorResolver",1,["client_sdk::api::error::ApiErrorResolver"]],["impl RefUnwindSafe for ArchivedApiError",1,["client_sdk::api::error::ArchivedApiError"]],["impl RefUnwindSafe for ArchivedApiErrorCode",1,["client_sdk::api::error::api_error_code_impl::ArchivedApiErrorCode"]],["impl RefUnwindSafe for GatewayQueryParams",1,["client_sdk::api::gateway::GatewayQueryParams"]],["impl RefUnwindSafe for CommandFlags",1,["client_sdk::api::command::CommandFlags"]],["impl RefUnwindSafe for MissingItemError",1,["client_sdk::api::command::MissingItemError"]],["impl RefUnwindSafe for RateLimit",1,["client_sdk::api::command::RateLimit"]],["impl RefUnwindSafe for GatewayConnectionControl",1,["client_sdk::gateway::conn::GatewayConnectionControl"]],["impl RefUnwindSafe for ArchivedAssetFlags",1,["client_sdk::models::asset::ArchivedAssetFlags"]],["impl RefUnwindSafe for AssetFlags",1,["client_sdk::models::asset::AssetFlags"]],["impl RefUnwindSafe for InvalidAuthToken",1,["client_sdk::models::auth::InvalidAuthToken"]],["impl RefUnwindSafe for ArchivedServerConfig",1,["client_sdk::models::config::ArchivedServerConfig"]],["impl RefUnwindSafe for ArchivedServerLimits",1,["client_sdk::models::config::ArchivedServerLimits"]],["impl RefUnwindSafe for ServerConfig",1,["client_sdk::models::config::ServerConfig"]],["impl RefUnwindSafe for ServerConfigResolver",1,["client_sdk::models::config::ServerConfigResolver"]],["impl RefUnwindSafe for ServerLimits",1,["client_sdk::models::config::ServerLimits"]],["impl RefUnwindSafe for ServerLimitsResolver",1,["client_sdk::models::config::ServerLimitsResolver"]],["impl RefUnwindSafe for ArchivedBasicEmbedMedia",1,["client_sdk::models::embed::v1::ArchivedBasicEmbedMedia"]],["impl RefUnwindSafe for ArchivedEmbedAuthor",1,["client_sdk::models::embed::v1::ArchivedEmbedAuthor"]],["impl RefUnwindSafe for ArchivedEmbedField",1,["client_sdk::models::embed::v1::ArchivedEmbedField"]],["impl RefUnwindSafe for ArchivedEmbedFlags",1,["client_sdk::models::embed::v1::ArchivedEmbedFlags"]],["impl RefUnwindSafe for ArchivedEmbedFooter",1,["client_sdk::models::embed::v1::ArchivedEmbedFooter"]],["impl RefUnwindSafe for ArchivedEmbedMedia",1,["client_sdk::models::embed::v1::ArchivedEmbedMedia"]],["impl RefUnwindSafe for ArchivedEmbedProvider",1,["client_sdk::models::embed::v1::ArchivedEmbedProvider"]],["impl RefUnwindSafe for ArchivedEmbedV1",1,["client_sdk::models::embed::v1::ArchivedEmbedV1"]],["impl RefUnwindSafe for BasicEmbedMedia",1,["client_sdk::models::embed::v1::BasicEmbedMedia"]],["impl RefUnwindSafe for BasicEmbedMediaResolver",1,["client_sdk::models::embed::v1::BasicEmbedMediaResolver"]],["impl RefUnwindSafe for EmbedAuthor",1,["client_sdk::models::embed::v1::EmbedAuthor"]],["impl RefUnwindSafe for EmbedAuthorResolver",1,["client_sdk::models::embed::v1::EmbedAuthorResolver"]],["impl RefUnwindSafe for EmbedField",1,["client_sdk::models::embed::v1::EmbedField"]],["impl RefUnwindSafe for EmbedFieldResolver",1,["client_sdk::models::embed::v1::EmbedFieldResolver"]],["impl RefUnwindSafe for EmbedFlags",1,["client_sdk::models::embed::v1::EmbedFlags"]],["impl RefUnwindSafe for EmbedFooter",1,["client_sdk::models::embed::v1::EmbedFooter"]],["impl RefUnwindSafe for EmbedFooterResolver",1,["client_sdk::models::embed::v1::EmbedFooterResolver"]],["impl RefUnwindSafe for EmbedMedia",1,["client_sdk::models::embed::v1::EmbedMedia"]],["impl RefUnwindSafe for EmbedMediaResolver",1,["client_sdk::models::embed::v1::EmbedMediaResolver"]],["impl RefUnwindSafe for EmbedProvider",1,["client_sdk::models::embed::v1::EmbedProvider"]],["impl RefUnwindSafe for EmbedProviderResolver",1,["client_sdk::models::embed::v1::EmbedProviderResolver"]],["impl RefUnwindSafe for EmbedV1",1,["client_sdk::models::embed::v1::EmbedV1"]],["impl RefUnwindSafe for EmbedV1Resolver",1,["client_sdk::models::embed::v1::EmbedV1Resolver"]],["impl RefUnwindSafe for ArchivedCustomEmote",1,["client_sdk::models::emote::ArchivedCustomEmote"]],["impl RefUnwindSafe for ArchivedEmoteFlags",1,["client_sdk::models::emote::ArchivedEmoteFlags"]],["impl RefUnwindSafe for CustomEmote",1,["client_sdk::models::emote::CustomEmote"]],["impl RefUnwindSafe for CustomEmoteResolver",1,["client_sdk::models::emote::CustomEmoteResolver"]],["impl RefUnwindSafe for EmoteFlags",1,["client_sdk::models::emote::EmoteFlags"]],["impl RefUnwindSafe for ArchivedFile",1,["client_sdk::models::file::ArchivedFile"]],["impl RefUnwindSafe for File",1,["client_sdk::models::file::File"]],["impl RefUnwindSafe for FileResolver",1,["client_sdk::models::file::FileResolver"]],["impl RefUnwindSafe for FileUpload",1,["client_sdk::models::file::FileUpload"]],["impl RefUnwindSafe for ArchivedIdentify",1,["client_sdk::models::gateway::commands::ArchivedIdentify"]],["impl RefUnwindSafe for ArchivedSetPresence",1,["client_sdk::models::gateway::commands::ArchivedSetPresence"]],["impl RefUnwindSafe for Identify",1,["client_sdk::models::gateway::commands::Identify"]],["impl RefUnwindSafe for IdentifyResolver",1,["client_sdk::models::gateway::commands::IdentifyResolver"]],["impl RefUnwindSafe for SetPresence",1,["client_sdk::models::gateway::commands::SetPresence"]],["impl RefUnwindSafe for SetPresenceResolver",1,["client_sdk::models::gateway::commands::SetPresenceResolver"]],["impl RefUnwindSafe for ArchivedHello",1,["client_sdk::models::gateway::events::ArchivedHello"]],["impl RefUnwindSafe for ArchivedMessageDeleteEvent",1,["client_sdk::models::gateway::events::ArchivedMessageDeleteEvent"]],["impl RefUnwindSafe for ArchivedPartyMemberEvent",1,["client_sdk::models::gateway::events::ArchivedPartyMemberEvent"]],["impl RefUnwindSafe for ArchivedPartyPositionUpdate",1,["client_sdk::models::gateway::events::ArchivedPartyPositionUpdate"]],["impl RefUnwindSafe for ArchivedProfileUpdateEvent",1,["client_sdk::models::gateway::events::ArchivedProfileUpdateEvent"]],["impl RefUnwindSafe for ArchivedReady",1,["client_sdk::models::gateway::events::ArchivedReady"]],["impl RefUnwindSafe for ArchivedReadyParty",1,["client_sdk::models::gateway::events::ArchivedReadyParty"]],["impl RefUnwindSafe for ArchivedRoleDeleteEvent",1,["client_sdk::models::gateway::events::ArchivedRoleDeleteEvent"]],["impl RefUnwindSafe for ArchivedRoomDeleteEvent",1,["client_sdk::models::gateway::events::ArchivedRoomDeleteEvent"]],["impl RefUnwindSafe for ArchivedTypingStart",1,["client_sdk::models::gateway::events::ArchivedTypingStart"]],["impl RefUnwindSafe for ArchivedUserPresenceEvent",1,["client_sdk::models::gateway::events::ArchivedUserPresenceEvent"]],["impl RefUnwindSafe for ArchivedUserReactionEvent",1,["client_sdk::models::gateway::events::ArchivedUserReactionEvent"]],["impl RefUnwindSafe for Hello",1,["client_sdk::models::gateway::events::Hello"]],["impl RefUnwindSafe for HelloResolver",1,["client_sdk::models::gateway::events::HelloResolver"]],["impl RefUnwindSafe for MessageDeleteEvent",1,["client_sdk::models::gateway::events::MessageDeleteEvent"]],["impl RefUnwindSafe for MessageDeleteEventResolver",1,["client_sdk::models::gateway::events::MessageDeleteEventResolver"]],["impl RefUnwindSafe for PartyMemberEvent",1,["client_sdk::models::gateway::events::PartyMemberEvent"]],["impl RefUnwindSafe for PartyMemberEventResolver",1,["client_sdk::models::gateway::events::PartyMemberEventResolver"]],["impl RefUnwindSafe for PartyPositionUpdate",1,["client_sdk::models::gateway::events::PartyPositionUpdate"]],["impl RefUnwindSafe for PartyPositionUpdateResolver",1,["client_sdk::models::gateway::events::PartyPositionUpdateResolver"]],["impl RefUnwindSafe for ProfileUpdateEvent",1,["client_sdk::models::gateway::events::ProfileUpdateEvent"]],["impl RefUnwindSafe for ProfileUpdateEventResolver",1,["client_sdk::models::gateway::events::ProfileUpdateEventResolver"]],["impl RefUnwindSafe for Ready",1,["client_sdk::models::gateway::events::Ready"]],["impl RefUnwindSafe for ReadyParty",1,["client_sdk::models::gateway::events::ReadyParty"]],["impl RefUnwindSafe for ReadyPartyResolver",1,["client_sdk::models::gateway::events::ReadyPartyResolver"]],["impl RefUnwindSafe for ReadyResolver",1,["client_sdk::models::gateway::events::ReadyResolver"]],["impl RefUnwindSafe for RoleDeleteEvent",1,["client_sdk::models::gateway::events::RoleDeleteEvent"]],["impl RefUnwindSafe for RoleDeleteEventResolver",1,["client_sdk::models::gateway::events::RoleDeleteEventResolver"]],["impl RefUnwindSafe for RoomDeleteEvent",1,["client_sdk::models::gateway::events::RoomDeleteEvent"]],["impl RefUnwindSafe for RoomDeleteEventResolver",1,["client_sdk::models::gateway::events::RoomDeleteEventResolver"]],["impl RefUnwindSafe for TypingStart",1,["client_sdk::models::gateway::events::TypingStart"]],["impl RefUnwindSafe for TypingStartResolver",1,["client_sdk::models::gateway::events::TypingStartResolver"]],["impl RefUnwindSafe for UserPresenceEvent",1,["client_sdk::models::gateway::events::UserPresenceEvent"]],["impl RefUnwindSafe for UserPresenceEventResolver",1,["client_sdk::models::gateway::events::UserPresenceEventResolver"]],["impl RefUnwindSafe for UserReactionEvent",1,["client_sdk::models::gateway::events::UserReactionEvent"]],["impl RefUnwindSafe for UserReactionEventResolver",1,["client_sdk::models::gateway::events::UserReactionEventResolver"]],["impl RefUnwindSafe for ArchivedHeartbeatPayload",1,["client_sdk::models::gateway::message::client_msg_payloads::ArchivedHeartbeatPayload"]],["impl RefUnwindSafe for ArchivedIdentifyPayload",1,["client_sdk::models::gateway::message::client_msg_payloads::ArchivedIdentifyPayload"]],["impl RefUnwindSafe for ArchivedResumePayload",1,["client_sdk::models::gateway::message::client_msg_payloads::ArchivedResumePayload"]],["impl RefUnwindSafe for ArchivedSetPresencePayload",1,["client_sdk::models::gateway::message::client_msg_payloads::ArchivedSetPresencePayload"]],["impl RefUnwindSafe for ArchivedSubscribePayload",1,["client_sdk::models::gateway::message::client_msg_payloads::ArchivedSubscribePayload"]],["impl RefUnwindSafe for ArchivedUnsubscribePayload",1,["client_sdk::models::gateway::message::client_msg_payloads::ArchivedUnsubscribePayload"]],["impl RefUnwindSafe for HeartbeatPayload",1,["client_sdk::models::gateway::message::client_msg_payloads::HeartbeatPayload"]],["impl RefUnwindSafe for HeartbeatPayloadResolver",1,["client_sdk::models::gateway::message::client_msg_payloads::HeartbeatPayloadResolver"]],["impl RefUnwindSafe for IdentifyPayload",1,["client_sdk::models::gateway::message::client_msg_payloads::IdentifyPayload"]],["impl RefUnwindSafe for IdentifyPayloadResolver",1,["client_sdk::models::gateway::message::client_msg_payloads::IdentifyPayloadResolver"]],["impl RefUnwindSafe for ResumePayload",1,["client_sdk::models::gateway::message::client_msg_payloads::ResumePayload"]],["impl RefUnwindSafe for ResumePayloadResolver",1,["client_sdk::models::gateway::message::client_msg_payloads::ResumePayloadResolver"]],["impl RefUnwindSafe for SetPresencePayload",1,["client_sdk::models::gateway::message::client_msg_payloads::SetPresencePayload"]],["impl RefUnwindSafe for SetPresencePayloadResolver",1,["client_sdk::models::gateway::message::client_msg_payloads::SetPresencePayloadResolver"]],["impl RefUnwindSafe for SubscribePayload",1,["client_sdk::models::gateway::message::client_msg_payloads::SubscribePayload"]],["impl RefUnwindSafe for SubscribePayloadResolver",1,["client_sdk::models::gateway::message::client_msg_payloads::SubscribePayloadResolver"]],["impl RefUnwindSafe for UnsubscribePayload",1,["client_sdk::models::gateway::message::client_msg_payloads::UnsubscribePayload"]],["impl RefUnwindSafe for UnsubscribePayloadResolver",1,["client_sdk::models::gateway::message::client_msg_payloads::UnsubscribePayloadResolver"]],["impl RefUnwindSafe for ArchivedHeartbeatAckPayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ArchivedHeartbeatAckPayload"]],["impl RefUnwindSafe for ArchivedHelloPayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ArchivedHelloPayload"]],["impl RefUnwindSafe for ArchivedInvalidSessionPayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ArchivedInvalidSessionPayload"]],["impl RefUnwindSafe for ArchivedMemberAddPayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ArchivedMemberAddPayload"]],["impl RefUnwindSafe for ArchivedMemberBanPayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ArchivedMemberBanPayload"]],["impl RefUnwindSafe for ArchivedMemberRemovePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ArchivedMemberRemovePayload"]],["impl RefUnwindSafe for ArchivedMemberUnbanPayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ArchivedMemberUnbanPayload"]],["impl RefUnwindSafe for ArchivedMemberUpdatePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ArchivedMemberUpdatePayload"]],["impl RefUnwindSafe for ArchivedMessageCreatePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ArchivedMessageCreatePayload"]],["impl RefUnwindSafe for ArchivedMessageDeletePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ArchivedMessageDeletePayload"]],["impl RefUnwindSafe for ArchivedMessageReactionAddPayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ArchivedMessageReactionAddPayload"]],["impl RefUnwindSafe for ArchivedMessageReactionRemoveAllPayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ArchivedMessageReactionRemoveAllPayload"]],["impl RefUnwindSafe for ArchivedMessageReactionRemoveEmotePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ArchivedMessageReactionRemoveEmotePayload"]],["impl RefUnwindSafe for ArchivedMessageReactionRemovePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ArchivedMessageReactionRemovePayload"]],["impl RefUnwindSafe for ArchivedMessageUpdatePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ArchivedMessageUpdatePayload"]],["impl RefUnwindSafe for ArchivedPartyCreatePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ArchivedPartyCreatePayload"]],["impl RefUnwindSafe for ArchivedPartyDeletePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ArchivedPartyDeletePayload"]],["impl RefUnwindSafe for ArchivedPartyUpdatePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ArchivedPartyUpdatePayload"]],["impl RefUnwindSafe for ArchivedPresenceUpdatePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ArchivedPresenceUpdatePayload"]],["impl RefUnwindSafe for ArchivedProfileUpdatePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ArchivedProfileUpdatePayload"]],["impl RefUnwindSafe for ArchivedReadyPayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ArchivedReadyPayload"]],["impl RefUnwindSafe for ArchivedRelationAddPayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ArchivedRelationAddPayload"]],["impl RefUnwindSafe for ArchivedRelationRemovePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ArchivedRelationRemovePayload"]],["impl RefUnwindSafe for ArchivedRoleCreatePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ArchivedRoleCreatePayload"]],["impl RefUnwindSafe for ArchivedRoleDeletePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ArchivedRoleDeletePayload"]],["impl RefUnwindSafe for ArchivedRoleUpdatePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ArchivedRoleUpdatePayload"]],["impl RefUnwindSafe for ArchivedRoomCreatePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ArchivedRoomCreatePayload"]],["impl RefUnwindSafe for ArchivedRoomDeletePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ArchivedRoomDeletePayload"]],["impl RefUnwindSafe for ArchivedRoomPinsUpdatePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ArchivedRoomPinsUpdatePayload"]],["impl RefUnwindSafe for ArchivedRoomUpdatePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ArchivedRoomUpdatePayload"]],["impl RefUnwindSafe for ArchivedTypingStartPayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ArchivedTypingStartPayload"]],["impl RefUnwindSafe for ArchivedUserUpdatePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ArchivedUserUpdatePayload"]],["impl RefUnwindSafe for HeartbeatAckPayload",1,["client_sdk::models::gateway::message::server_msg_payloads::HeartbeatAckPayload"]],["impl RefUnwindSafe for HeartbeatAckPayloadResolver",1,["client_sdk::models::gateway::message::server_msg_payloads::HeartbeatAckPayloadResolver"]],["impl RefUnwindSafe for HelloPayload",1,["client_sdk::models::gateway::message::server_msg_payloads::HelloPayload"]],["impl RefUnwindSafe for HelloPayloadResolver",1,["client_sdk::models::gateway::message::server_msg_payloads::HelloPayloadResolver"]],["impl RefUnwindSafe for InvalidSessionPayload",1,["client_sdk::models::gateway::message::server_msg_payloads::InvalidSessionPayload"]],["impl RefUnwindSafe for InvalidSessionPayloadResolver",1,["client_sdk::models::gateway::message::server_msg_payloads::InvalidSessionPayloadResolver"]],["impl RefUnwindSafe for MemberAddPayload",1,["client_sdk::models::gateway::message::server_msg_payloads::MemberAddPayload"]],["impl RefUnwindSafe for MemberAddPayloadResolver",1,["client_sdk::models::gateway::message::server_msg_payloads::MemberAddPayloadResolver"]],["impl RefUnwindSafe for MemberBanPayload",1,["client_sdk::models::gateway::message::server_msg_payloads::MemberBanPayload"]],["impl RefUnwindSafe for MemberBanPayloadResolver",1,["client_sdk::models::gateway::message::server_msg_payloads::MemberBanPayloadResolver"]],["impl RefUnwindSafe for MemberRemovePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::MemberRemovePayload"]],["impl RefUnwindSafe for MemberRemovePayloadResolver",1,["client_sdk::models::gateway::message::server_msg_payloads::MemberRemovePayloadResolver"]],["impl RefUnwindSafe for MemberUnbanPayload",1,["client_sdk::models::gateway::message::server_msg_payloads::MemberUnbanPayload"]],["impl RefUnwindSafe for MemberUnbanPayloadResolver",1,["client_sdk::models::gateway::message::server_msg_payloads::MemberUnbanPayloadResolver"]],["impl RefUnwindSafe for MemberUpdatePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::MemberUpdatePayload"]],["impl RefUnwindSafe for MemberUpdatePayloadResolver",1,["client_sdk::models::gateway::message::server_msg_payloads::MemberUpdatePayloadResolver"]],["impl RefUnwindSafe for MessageCreatePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::MessageCreatePayload"]],["impl RefUnwindSafe for MessageCreatePayloadResolver",1,["client_sdk::models::gateway::message::server_msg_payloads::MessageCreatePayloadResolver"]],["impl RefUnwindSafe for MessageDeletePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::MessageDeletePayload"]],["impl RefUnwindSafe for MessageDeletePayloadResolver",1,["client_sdk::models::gateway::message::server_msg_payloads::MessageDeletePayloadResolver"]],["impl RefUnwindSafe for MessageReactionAddPayload",1,["client_sdk::models::gateway::message::server_msg_payloads::MessageReactionAddPayload"]],["impl RefUnwindSafe for MessageReactionAddPayloadResolver",1,["client_sdk::models::gateway::message::server_msg_payloads::MessageReactionAddPayloadResolver"]],["impl RefUnwindSafe for MessageReactionRemoveAllPayload",1,["client_sdk::models::gateway::message::server_msg_payloads::MessageReactionRemoveAllPayload"]],["impl RefUnwindSafe for MessageReactionRemoveAllPayloadResolver",1,["client_sdk::models::gateway::message::server_msg_payloads::MessageReactionRemoveAllPayloadResolver"]],["impl RefUnwindSafe for MessageReactionRemoveEmotePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::MessageReactionRemoveEmotePayload"]],["impl RefUnwindSafe for MessageReactionRemoveEmotePayloadResolver",1,["client_sdk::models::gateway::message::server_msg_payloads::MessageReactionRemoveEmotePayloadResolver"]],["impl RefUnwindSafe for MessageReactionRemovePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::MessageReactionRemovePayload"]],["impl RefUnwindSafe for MessageReactionRemovePayloadResolver",1,["client_sdk::models::gateway::message::server_msg_payloads::MessageReactionRemovePayloadResolver"]],["impl RefUnwindSafe for MessageUpdatePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::MessageUpdatePayload"]],["impl RefUnwindSafe for MessageUpdatePayloadResolver",1,["client_sdk::models::gateway::message::server_msg_payloads::MessageUpdatePayloadResolver"]],["impl RefUnwindSafe for PartyCreatePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::PartyCreatePayload"]],["impl RefUnwindSafe for PartyCreatePayloadResolver",1,["client_sdk::models::gateway::message::server_msg_payloads::PartyCreatePayloadResolver"]],["impl RefUnwindSafe for PartyDeletePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::PartyDeletePayload"]],["impl RefUnwindSafe for PartyDeletePayloadResolver",1,["client_sdk::models::gateway::message::server_msg_payloads::PartyDeletePayloadResolver"]],["impl RefUnwindSafe for PartyUpdatePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::PartyUpdatePayload"]],["impl RefUnwindSafe for PartyUpdatePayloadResolver",1,["client_sdk::models::gateway::message::server_msg_payloads::PartyUpdatePayloadResolver"]],["impl RefUnwindSafe for PresenceUpdatePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::PresenceUpdatePayload"]],["impl RefUnwindSafe for PresenceUpdatePayloadResolver",1,["client_sdk::models::gateway::message::server_msg_payloads::PresenceUpdatePayloadResolver"]],["impl RefUnwindSafe for ProfileUpdatePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ProfileUpdatePayload"]],["impl RefUnwindSafe for ProfileUpdatePayloadResolver",1,["client_sdk::models::gateway::message::server_msg_payloads::ProfileUpdatePayloadResolver"]],["impl RefUnwindSafe for ReadyPayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ReadyPayload"]],["impl RefUnwindSafe for ReadyPayloadResolver",1,["client_sdk::models::gateway::message::server_msg_payloads::ReadyPayloadResolver"]],["impl RefUnwindSafe for RelationAddPayload",1,["client_sdk::models::gateway::message::server_msg_payloads::RelationAddPayload"]],["impl RefUnwindSafe for RelationAddPayloadResolver",1,["client_sdk::models::gateway::message::server_msg_payloads::RelationAddPayloadResolver"]],["impl RefUnwindSafe for RelationRemovePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::RelationRemovePayload"]],["impl RefUnwindSafe for RelationRemovePayloadResolver",1,["client_sdk::models::gateway::message::server_msg_payloads::RelationRemovePayloadResolver"]],["impl RefUnwindSafe for RoleCreatePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::RoleCreatePayload"]],["impl RefUnwindSafe for RoleCreatePayloadResolver",1,["client_sdk::models::gateway::message::server_msg_payloads::RoleCreatePayloadResolver"]],["impl RefUnwindSafe for RoleDeletePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::RoleDeletePayload"]],["impl RefUnwindSafe for RoleDeletePayloadResolver",1,["client_sdk::models::gateway::message::server_msg_payloads::RoleDeletePayloadResolver"]],["impl RefUnwindSafe for RoleUpdatePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::RoleUpdatePayload"]],["impl RefUnwindSafe for RoleUpdatePayloadResolver",1,["client_sdk::models::gateway::message::server_msg_payloads::RoleUpdatePayloadResolver"]],["impl RefUnwindSafe for RoomCreatePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::RoomCreatePayload"]],["impl RefUnwindSafe for RoomCreatePayloadResolver",1,["client_sdk::models::gateway::message::server_msg_payloads::RoomCreatePayloadResolver"]],["impl RefUnwindSafe for RoomDeletePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::RoomDeletePayload"]],["impl RefUnwindSafe for RoomDeletePayloadResolver",1,["client_sdk::models::gateway::message::server_msg_payloads::RoomDeletePayloadResolver"]],["impl RefUnwindSafe for RoomPinsUpdatePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::RoomPinsUpdatePayload"]],["impl RefUnwindSafe for RoomPinsUpdatePayloadResolver",1,["client_sdk::models::gateway::message::server_msg_payloads::RoomPinsUpdatePayloadResolver"]],["impl RefUnwindSafe for RoomUpdatePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::RoomUpdatePayload"]],["impl RefUnwindSafe for RoomUpdatePayloadResolver",1,["client_sdk::models::gateway::message::server_msg_payloads::RoomUpdatePayloadResolver"]],["impl RefUnwindSafe for TypingStartPayload",1,["client_sdk::models::gateway::message::server_msg_payloads::TypingStartPayload"]],["impl RefUnwindSafe for TypingStartPayloadResolver",1,["client_sdk::models::gateway::message::server_msg_payloads::TypingStartPayloadResolver"]],["impl RefUnwindSafe for UserUpdatePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::UserUpdatePayload"]],["impl RefUnwindSafe for UserUpdatePayloadResolver",1,["client_sdk::models::gateway::message::server_msg_payloads::UserUpdatePayloadResolver"]],["impl RefUnwindSafe for ArchivedIntent",1,["client_sdk::models::gateway::ArchivedIntent"]],["impl RefUnwindSafe for Intent",1,["client_sdk::models::gateway::Intent"]],["impl RefUnwindSafe for ArchivedInvite",1,["client_sdk::models::invite::ArchivedInvite"]],["impl RefUnwindSafe for Invite",1,["client_sdk::models::invite::Invite"]],["impl RefUnwindSafe for InviteResolver",1,["client_sdk::models::invite::InviteResolver"]],["impl RefUnwindSafe for ArchivedAttachment",1,["client_sdk::models::message::ArchivedAttachment"]],["impl RefUnwindSafe for ArchivedMessage",1,["client_sdk::models::message::ArchivedMessage"]],["impl RefUnwindSafe for ArchivedMessageFlags",1,["client_sdk::models::message::ArchivedMessageFlags"]],["impl RefUnwindSafe for ArchivedReactionFull",1,["client_sdk::models::message::ArchivedReactionFull"]],["impl RefUnwindSafe for ArchivedReactionShorthand",1,["client_sdk::models::message::ArchivedReactionShorthand"]],["impl RefUnwindSafe for Attachment",1,["client_sdk::models::message::Attachment"]],["impl RefUnwindSafe for AttachmentResolver",1,["client_sdk::models::message::AttachmentResolver"]],["impl RefUnwindSafe for Message",1,["client_sdk::models::message::Message"]],["impl RefUnwindSafe for MessageFlags",1,["client_sdk::models::message::MessageFlags"]],["impl RefUnwindSafe for MessageResolver",1,["client_sdk::models::message::MessageResolver"]],["impl RefUnwindSafe for ReactionFull",1,["client_sdk::models::message::ReactionFull"]],["impl RefUnwindSafe for ReactionFullResolver",1,["client_sdk::models::message::ReactionFullResolver"]],["impl RefUnwindSafe for ReactionShorthand",1,["client_sdk::models::message::ReactionShorthand"]],["impl RefUnwindSafe for ReactionShorthandResolver",1,["client_sdk::models::message::ReactionShorthandResolver"]],["impl RefUnwindSafe for ArchivedPartialParty",1,["client_sdk::models::party::ArchivedPartialParty"]],["impl RefUnwindSafe for ArchivedParty",1,["client_sdk::models::party::ArchivedParty"]],["impl RefUnwindSafe for ArchivedPartyFlags",1,["client_sdk::models::party::ArchivedPartyFlags"]],["impl RefUnwindSafe for ArchivedPartyMember",1,["client_sdk::models::party::ArchivedPartyMember"]],["impl RefUnwindSafe for ArchivedPartyMemberFlags",1,["client_sdk::models::party::ArchivedPartyMemberFlags"]],["impl RefUnwindSafe for ArchivedPartyPreferences",1,["client_sdk::models::party::prefs::ArchivedPartyPreferences"]],["impl RefUnwindSafe for ArchivedPartyPrefsFlags",1,["client_sdk::models::party::prefs::ArchivedPartyPrefsFlags"]],["impl RefUnwindSafe for ArchivedPinFolder",1,["client_sdk::models::party::ArchivedPinFolder"]],["impl RefUnwindSafe for ArchivedPinFolderFlags",1,["client_sdk::models::party::ArchivedPinFolderFlags"]],["impl RefUnwindSafe for PartialParty",1,["client_sdk::models::party::PartialParty"]],["impl RefUnwindSafe for PartialPartyResolver",1,["client_sdk::models::party::PartialPartyResolver"]],["impl RefUnwindSafe for Party",1,["client_sdk::models::party::Party"]],["impl RefUnwindSafe for PartyFlags",1,["client_sdk::models::party::PartyFlags"]],["impl RefUnwindSafe for PartyMember",1,["client_sdk::models::party::PartyMember"]],["impl RefUnwindSafe for PartyMemberFlags",1,["client_sdk::models::party::PartyMemberFlags"]],["impl RefUnwindSafe for PartyMemberResolver",1,["client_sdk::models::party::PartyMemberResolver"]],["impl RefUnwindSafe for PartyPreferences",1,["client_sdk::models::party::prefs::PartyPreferences"]],["impl RefUnwindSafe for PartyPreferencesResolver",1,["client_sdk::models::party::prefs::PartyPreferencesResolver"]],["impl RefUnwindSafe for PartyPrefsFlags",1,["client_sdk::models::party::prefs::PartyPrefsFlags"]],["impl RefUnwindSafe for PartyResolver",1,["client_sdk::models::party::PartyResolver"]],["impl RefUnwindSafe for PinFolder",1,["client_sdk::models::party::PinFolder"]],["impl RefUnwindSafe for PinFolderFlags",1,["client_sdk::models::party::PinFolderFlags"]],["impl RefUnwindSafe for PinFolderResolver",1,["client_sdk::models::party::PinFolderResolver"]],["impl RefUnwindSafe for ArchivedOverwrite",1,["client_sdk::models::permission::ArchivedOverwrite"]],["impl RefUnwindSafe for ArchivedPermissions",1,["client_sdk::models::permission::ArchivedPermissions"]],["impl RefUnwindSafe for Overwrite",1,["client_sdk::models::permission::Overwrite"]],["impl RefUnwindSafe for OverwriteResolver",1,["client_sdk::models::permission::OverwriteResolver"]],["impl RefUnwindSafe for Permissions",1,["client_sdk::models::permission::Permissions"]],["impl RefUnwindSafe for Activity",1,["client_sdk::models::presence::Activity"]],["impl RefUnwindSafe for ActivityResolver",1,["client_sdk::models::presence::ActivityResolver"]],["impl RefUnwindSafe for ArchivedActivity",1,["client_sdk::models::presence::ArchivedActivity"]],["impl RefUnwindSafe for ArchivedUserPresence",1,["client_sdk::models::presence::ArchivedUserPresence"]],["impl RefUnwindSafe for ArchivedUserPresenceFlags",1,["client_sdk::models::presence::ArchivedUserPresenceFlags"]],["impl RefUnwindSafe for UserPresence",1,["client_sdk::models::presence::UserPresence"]],["impl RefUnwindSafe for UserPresenceFlags",1,["client_sdk::models::presence::UserPresenceFlags"]],["impl RefUnwindSafe for UserPresenceResolver",1,["client_sdk::models::presence::UserPresenceResolver"]],["impl RefUnwindSafe for ArchivedRole",1,["client_sdk::models::role::ArchivedRole"]],["impl RefUnwindSafe for ArchivedRoleFlags",1,["client_sdk::models::role::ArchivedRoleFlags"]],["impl RefUnwindSafe for Role",1,["client_sdk::models::role::Role"]],["impl RefUnwindSafe for RoleFlags",1,["client_sdk::models::role::RoleFlags"]],["impl RefUnwindSafe for RoleResolver",1,["client_sdk::models::role::RoleResolver"]],["impl RefUnwindSafe for ArchivedFullRoom",1,["client_sdk::models::room::ArchivedFullRoom"]],["impl RefUnwindSafe for ArchivedRoom",1,["client_sdk::models::room::ArchivedRoom"]],["impl RefUnwindSafe for ArchivedRoomFlags",1,["client_sdk::models::room::ArchivedRoomFlags"]],["impl RefUnwindSafe for FullRoom",1,["client_sdk::models::room::FullRoom"]],["impl RefUnwindSafe for FullRoomResolver",1,["client_sdk::models::room::FullRoomResolver"]],["impl RefUnwindSafe for Room",1,["client_sdk::models::room::Room"]],["impl RefUnwindSafe for RoomFlags",1,["client_sdk::models::room::RoomFlags"]],["impl RefUnwindSafe for RoomResolver",1,["client_sdk::models::room::RoomResolver"]],["impl RefUnwindSafe for AnonymousSession",1,["client_sdk::models::session::AnonymousSession"]],["impl RefUnwindSafe for AnonymousSessionResolver",1,["client_sdk::models::session::AnonymousSessionResolver"]],["impl RefUnwindSafe for ArchivedAnonymousSession",1,["client_sdk::models::session::ArchivedAnonymousSession"]],["impl RefUnwindSafe for ArchivedSession",1,["client_sdk::models::session::ArchivedSession"]],["impl RefUnwindSafe for Session",1,["client_sdk::models::session::Session"]],["impl RefUnwindSafe for SessionResolver",1,["client_sdk::models::session::SessionResolver"]],["impl RefUnwindSafe for ArchivedRoomStatistics",1,["client_sdk::models::stats::ArchivedRoomStatistics"]],["impl RefUnwindSafe for RoomStatistics",1,["client_sdk::models::stats::RoomStatistics"]],["impl RefUnwindSafe for RoomStatisticsResolver",1,["client_sdk::models::stats::RoomStatisticsResolver"]],["impl RefUnwindSafe for Statistics",1,["client_sdk::models::stats::Statistics"]],["impl RefUnwindSafe for FxRandomState2",1,["client_sdk::models::FxRandomState2"]],["impl RefUnwindSafe for ArchivedThread",1,["client_sdk::models::thread::ArchivedThread"]],["impl RefUnwindSafe for ArchivedThreadFlags",1,["client_sdk::models::thread::ArchivedThreadFlags"]],["impl RefUnwindSafe for Thread",1,["client_sdk::models::thread::Thread"]],["impl RefUnwindSafe for ThreadFlags",1,["client_sdk::models::thread::ThreadFlags"]],["impl RefUnwindSafe for ThreadResolver",1,["client_sdk::models::thread::ThreadResolver"]],["impl RefUnwindSafe for ArchivedFontSize",1,["client_sdk::models::user::prefs::preferences::ArchivedFontSize"]],["impl RefUnwindSafe for ArchivedPadding",1,["client_sdk::models::user::prefs::preferences::ArchivedPadding"]],["impl RefUnwindSafe for ArchivedTabSize",1,["client_sdk::models::user::prefs::preferences::ArchivedTabSize"]],["impl RefUnwindSafe for ArchivedTemperature",1,["client_sdk::models::user::prefs::preferences::ArchivedTemperature"]],["impl RefUnwindSafe for FontSize",1,["client_sdk::models::user::prefs::preferences::FontSize"]],["impl RefUnwindSafe for FontSizeResolver",1,["client_sdk::models::user::prefs::preferences::FontSizeResolver"]],["impl RefUnwindSafe for Padding",1,["client_sdk::models::user::prefs::preferences::Padding"]],["impl RefUnwindSafe for PaddingResolver",1,["client_sdk::models::user::prefs::preferences::PaddingResolver"]],["impl RefUnwindSafe for TabSize",1,["client_sdk::models::user::prefs::preferences::TabSize"]],["impl RefUnwindSafe for TabSizeResolver",1,["client_sdk::models::user::prefs::preferences::TabSizeResolver"]],["impl RefUnwindSafe for Temperature",1,["client_sdk::models::user::prefs::preferences::Temperature"]],["impl RefUnwindSafe for TemperatureResolver",1,["client_sdk::models::user::prefs::preferences::TemperatureResolver"]],["impl RefUnwindSafe for ArchivedExtraUserProfileBits",1,["client_sdk::models::user::ArchivedExtraUserProfileBits"]],["impl RefUnwindSafe for ArchivedFont",1,["client_sdk::models::user::prefs::font_impl::ArchivedFont"]],["impl RefUnwindSafe for ArchivedFriendAddability",1,["client_sdk::models::user::prefs::friend_addability_impl::ArchivedFriendAddability"]],["impl RefUnwindSafe for ArchivedLocale",1,["client_sdk::models::user::prefs::locale_impl::ArchivedLocale"]],["impl RefUnwindSafe for ArchivedRelationship",1,["client_sdk::models::user::ArchivedRelationship"]],["impl RefUnwindSafe for ArchivedUser",1,["client_sdk::models::user::ArchivedUser"]],["impl RefUnwindSafe for ArchivedUserFlags",1,["client_sdk::models::user::ArchivedUserFlags"]],["impl RefUnwindSafe for ArchivedUserPreferences",1,["client_sdk::models::user::prefs::ArchivedUserPreferences"]],["impl RefUnwindSafe for ArchivedUserPrefsFlags",1,["client_sdk::models::user::prefs::ArchivedUserPrefsFlags"]],["impl RefUnwindSafe for ArchivedUserProfile",1,["client_sdk::models::user::ArchivedUserProfile"]],["impl RefUnwindSafe for ArchivedUserProfileBits",1,["client_sdk::models::user::ArchivedUserProfileBits"]],["impl RefUnwindSafe for ArchivedUserRelationship",1,["client_sdk::models::user::user_relationship_impl::ArchivedUserRelationship"]],["impl RefUnwindSafe for ExtraUserProfileBits",1,["client_sdk::models::user::ExtraUserProfileBits"]],["impl RefUnwindSafe for Relationship",1,["client_sdk::models::user::Relationship"]],["impl RefUnwindSafe for RelationshipResolver",1,["client_sdk::models::user::RelationshipResolver"]],["impl RefUnwindSafe for User",1,["client_sdk::models::user::User"]],["impl RefUnwindSafe for UserFlags",1,["client_sdk::models::user::UserFlags"]],["impl RefUnwindSafe for UserPreferences",1,["client_sdk::models::user::prefs::UserPreferences"]],["impl RefUnwindSafe for UserPreferencesResolver",1,["client_sdk::models::user::prefs::UserPreferencesResolver"]],["impl RefUnwindSafe for UserPrefsFlags",1,["client_sdk::models::user::prefs::UserPrefsFlags"]],["impl RefUnwindSafe for UserProfile",1,["client_sdk::models::user::UserProfile"]],["impl RefUnwindSafe for UserProfileBits",1,["client_sdk::models::user::UserProfileBits"]],["impl RefUnwindSafe for UserProfileResolver",1,["client_sdk::models::user::UserProfileResolver"]],["impl RefUnwindSafe for UserResolver",1,["client_sdk::models::user::UserResolver"]],["impl RefUnwindSafe for FromUtf8Error",1,["client_sdk::models::util::thin_str::FromUtf8Error"]],["impl RefUnwindSafe for ThinString",1,["client_sdk::models::util::thin_str::ThinString"]],["impl<'a> RefUnwindSafe for Argument<'a>",1,["client_sdk::framework_utils::args::Argument"]],["impl<'a> RefUnwindSafe for ArgumentSplitter<'a>",1,["client_sdk::framework_utils::args::ArgumentSplitter"]],["impl<C, U = (), S = ()> !RefUnwindSafe for DynamicClientMsgHandlers<C, U, S>",1,["client_sdk::models::gateway::message::DynamicClientMsgHandlers"]],["impl<C, U = (), S = ()> !RefUnwindSafe for DynamicServerMsgHandlers<C, U, S>",1,["client_sdk::models::gateway::message::DynamicServerMsgHandlers"]],["impl<H, E = StandardError> !RefUnwindSafe for Standard<H, E>",1,["client_sdk::framework::standard::Standard"]],["impl<T> RefUnwindSafe for Nullable<T>
where\n T: RefUnwindSafe,
",1,["client_sdk::models::nullable::Nullable"]],["impl<const N: usize> RefUnwindSafe for FixedStr<N>",1,["client_sdk::models::util::fixed_str::FixedStr"]]]]]); + if (window.register_implementors) { + window.register_implementors(implementors); + } else { + window.pending_implementors = implementors; + } +})() +//{"start":57,"fragment_lengths":[295401]} \ No newline at end of file diff --git a/trait.impl/core/panic/unwind_safe/trait.UnwindSafe.js b/trait.impl/core/panic/unwind_safe/trait.UnwindSafe.js new file mode 100644 index 000000000..f13eefcb6 --- /dev/null +++ b/trait.impl/core/panic/unwind_safe/trait.UnwindSafe.js @@ -0,0 +1,9 @@ +(function() { + var implementors = Object.fromEntries([["client_sdk",[["impl !UnwindSafe for ClientError",1,["client_sdk::client::error::ClientError"]],["impl !UnwindSafe for DriverError",1,["client_sdk::driver::error::DriverError"]],["impl !UnwindSafe for StandardError",1,["client_sdk::framework::standard::error::StandardError"]],["impl !UnwindSafe for GatewayError",1,["client_sdk::gateway::error::GatewayError"]],["impl !UnwindSafe for Client",1,["client_sdk::client::Client"]],["impl !UnwindSafe for Driver",1,["client_sdk::driver::Driver"]],["impl !UnwindSafe for StandardContext",1,["client_sdk::framework::standard::ctx::StandardContext"]],["impl !UnwindSafe for GatewayConnection",1,["client_sdk::gateway::conn::GatewayConnection"]],["impl !UnwindSafe for GatewaySocket",1,["client_sdk::gateway::socket::GatewaySocket"]],["impl UnwindSafe for AssetQuery",1,["client_sdk::api::asset::AssetQuery"]],["impl UnwindSafe for CreateRoomKind",1,["client_sdk::api::commands::party::CreateRoomKind"]],["impl UnwindSafe for BannerAlign",1,["client_sdk::api::commands::user::BannerAlign"]],["impl UnwindSafe for ApiErrorCode",1,["client_sdk::api::error::api_error_code_impl::ApiErrorCode"]],["impl UnwindSafe for Encoding",1,["client_sdk::driver::Encoding"]],["impl UnwindSafe for GatewayErrorCode",1,["client_sdk::gateway::error::GatewayErrorCode"]],["impl UnwindSafe for ArchivedAuthToken",1,["client_sdk::models::auth::ArchivedAuthToken"]],["impl UnwindSafe for AuthToken",1,["client_sdk::models::auth::AuthToken"]],["impl UnwindSafe for AuthTokenResolver",1,["client_sdk::models::auth::AuthTokenResolver"]],["impl UnwindSafe for ArchivedEmbed",1,["client_sdk::models::embed::ArchivedEmbed"]],["impl UnwindSafe for Embed",1,["client_sdk::models::embed::Embed"]],["impl UnwindSafe for EmbedResolver",1,["client_sdk::models::embed::EmbedResolver"]],["impl UnwindSafe for ArchivedEmbedType",1,["client_sdk::models::embed::v1::ArchivedEmbedType"]],["impl UnwindSafe for EmbedType",1,["client_sdk::models::embed::v1::EmbedType"]],["impl UnwindSafe for EmbedTypeResolver",1,["client_sdk::models::embed::v1::EmbedTypeResolver"]],["impl UnwindSafe for ArchivedEmote",1,["client_sdk::models::emote::ArchivedEmote"]],["impl UnwindSafe for Emote",1,["client_sdk::models::emote::Emote"]],["impl UnwindSafe for EmoteResolver",1,["client_sdk::models::emote::EmoteResolver"]],["impl UnwindSafe for ArchivedCursor",1,["client_sdk::models::ArchivedCursor"]],["impl UnwindSafe for Cursor",1,["client_sdk::models::Cursor"]],["impl UnwindSafe for CursorResolver",1,["client_sdk::models::CursorResolver"]],["impl UnwindSafe for ArchivedPartyUpdateEvent",1,["client_sdk::models::gateway::events::ArchivedPartyUpdateEvent"]],["impl UnwindSafe for PartyUpdateEvent",1,["client_sdk::models::gateway::events::PartyUpdateEvent"]],["impl UnwindSafe for PartyUpdateEventResolver",1,["client_sdk::models::gateway::events::PartyUpdateEventResolver"]],["impl UnwindSafe for ArchivedClientMsg",1,["client_sdk::models::gateway::message::ArchivedClientMsg"]],["impl UnwindSafe for ArchivedServerMsg",1,["client_sdk::models::gateway::message::ArchivedServerMsg"]],["impl UnwindSafe for ClientMsg",1,["client_sdk::models::gateway::message::ClientMsg"]],["impl UnwindSafe for ClientMsgOpcode",1,["client_sdk::models::gateway::message::ClientMsgOpcode"]],["impl UnwindSafe for ClientMsgResolver",1,["client_sdk::models::gateway::message::ClientMsgResolver"]],["impl UnwindSafe for ServerMsg",1,["client_sdk::models::gateway::message::ServerMsg"]],["impl UnwindSafe for ServerMsgOpcode",1,["client_sdk::models::gateway::message::ServerMsgOpcode"]],["impl UnwindSafe for ServerMsgResolver",1,["client_sdk::models::gateway::message::ServerMsgResolver"]],["impl UnwindSafe for ArchivedEmoteOrEmoji",1,["client_sdk::models::message::ArchivedEmoteOrEmoji"]],["impl UnwindSafe for ArchivedMessageKind",1,["client_sdk::models::message::message_kind_impl::ArchivedMessageKind"]],["impl UnwindSafe for ArchivedReaction",1,["client_sdk::models::message::ArchivedReaction"]],["impl UnwindSafe for EmoteOrEmoji",1,["client_sdk::models::message::EmoteOrEmoji"]],["impl UnwindSafe for EmoteOrEmojiResolver",1,["client_sdk::models::message::EmoteOrEmojiResolver"]],["impl UnwindSafe for MessageKind",1,["client_sdk::models::message::message_kind_impl::MessageKind"]],["impl UnwindSafe for Reaction",1,["client_sdk::models::message::Reaction"]],["impl UnwindSafe for ReactionResolver",1,["client_sdk::models::message::ReactionResolver"]],["impl UnwindSafe for AnyActivity",1,["client_sdk::models::presence::AnyActivity"]],["impl UnwindSafe for AnyActivityResolver",1,["client_sdk::models::presence::AnyActivityResolver"]],["impl UnwindSafe for ArchivedAnyActivity",1,["client_sdk::models::presence::ArchivedAnyActivity"]],["impl UnwindSafe for ArchivedRoomKind",1,["client_sdk::models::room::ArchivedRoomKind"]],["impl UnwindSafe for RoomKind",1,["client_sdk::models::room::RoomKind"]],["impl UnwindSafe for RoomKindResolver",1,["client_sdk::models::room::RoomKindResolver"]],["impl UnwindSafe for ElevationLevel",1,["client_sdk::models::user::ElevationLevel"]],["impl UnwindSafe for Font",1,["client_sdk::models::user::prefs::font_impl::Font"]],["impl UnwindSafe for FriendAddability",1,["client_sdk::models::user::prefs::friend_addability_impl::FriendAddability"]],["impl UnwindSafe for Locale",1,["client_sdk::models::user::prefs::locale_impl::Locale"]],["impl UnwindSafe for UserRelationship",1,["client_sdk::models::user::user_relationship_impl::UserRelationship"]],["impl UnwindSafe for ArchivedGetServerConfig",1,["client_sdk::api::commands::config::ArchivedGetServerConfig"]],["impl UnwindSafe for GetServerConfig",1,["client_sdk::api::commands::config::GetServerConfig"]],["impl UnwindSafe for GetServerConfigResolver",1,["client_sdk::api::commands::config::GetServerConfigResolver"]],["impl UnwindSafe for ArchivedCreateFile",1,["client_sdk::api::commands::file::ArchivedCreateFile"]],["impl UnwindSafe for ArchivedCreateFileBody",1,["client_sdk::api::commands::file::ArchivedCreateFileBody"]],["impl UnwindSafe for ArchivedFileStatus",1,["client_sdk::api::commands::file::ArchivedFileStatus"]],["impl UnwindSafe for ArchivedFilesystemStatus",1,["client_sdk::api::commands::file::ArchivedFilesystemStatus"]],["impl UnwindSafe for ArchivedGetFileStatus",1,["client_sdk::api::commands::file::ArchivedGetFileStatus"]],["impl UnwindSafe for ArchivedGetFilesystemStatus",1,["client_sdk::api::commands::file::ArchivedGetFilesystemStatus"]],["impl UnwindSafe for CreateFile",1,["client_sdk::api::commands::file::CreateFile"]],["impl UnwindSafe for CreateFileBody",1,["client_sdk::api::commands::file::CreateFileBody"]],["impl UnwindSafe for CreateFileBodyResolver",1,["client_sdk::api::commands::file::CreateFileBodyResolver"]],["impl UnwindSafe for CreateFileResolver",1,["client_sdk::api::commands::file::CreateFileResolver"]],["impl UnwindSafe for FileStatus",1,["client_sdk::api::commands::file::FileStatus"]],["impl UnwindSafe for FileStatusResolver",1,["client_sdk::api::commands::file::FileStatusResolver"]],["impl UnwindSafe for FilesystemStatus",1,["client_sdk::api::commands::file::FilesystemStatus"]],["impl UnwindSafe for FilesystemStatusResolver",1,["client_sdk::api::commands::file::FilesystemStatusResolver"]],["impl UnwindSafe for GetFileStatus",1,["client_sdk::api::commands::file::GetFileStatus"]],["impl UnwindSafe for GetFileStatusResolver",1,["client_sdk::api::commands::file::GetFileStatusResolver"]],["impl UnwindSafe for GetFilesystemStatus",1,["client_sdk::api::commands::file::GetFilesystemStatus"]],["impl UnwindSafe for GetFilesystemStatusResolver",1,["client_sdk::api::commands::file::GetFilesystemStatusResolver"]],["impl UnwindSafe for ArchivedGetInvite",1,["client_sdk::api::commands::invite::ArchivedGetInvite"]],["impl UnwindSafe for ArchivedRedeemInvite",1,["client_sdk::api::commands::invite::ArchivedRedeemInvite"]],["impl UnwindSafe for ArchivedRedeemInviteBody",1,["client_sdk::api::commands::invite::ArchivedRedeemInviteBody"]],["impl UnwindSafe for ArchivedRevokeInvite",1,["client_sdk::api::commands::invite::ArchivedRevokeInvite"]],["impl UnwindSafe for GetInvite",1,["client_sdk::api::commands::invite::GetInvite"]],["impl UnwindSafe for GetInviteResolver",1,["client_sdk::api::commands::invite::GetInviteResolver"]],["impl UnwindSafe for RedeemInvite",1,["client_sdk::api::commands::invite::RedeemInvite"]],["impl UnwindSafe for RedeemInviteBody",1,["client_sdk::api::commands::invite::RedeemInviteBody"]],["impl UnwindSafe for RedeemInviteBodyResolver",1,["client_sdk::api::commands::invite::RedeemInviteBodyResolver"]],["impl UnwindSafe for RedeemInviteResolver",1,["client_sdk::api::commands::invite::RedeemInviteResolver"]],["impl UnwindSafe for RevokeInvite",1,["client_sdk::api::commands::invite::RevokeInvite"]],["impl UnwindSafe for RevokeInviteResolver",1,["client_sdk::api::commands::invite::RevokeInviteResolver"]],["impl UnwindSafe for ArchivedCreateParty",1,["client_sdk::api::commands::party::ArchivedCreateParty"]],["impl UnwindSafe for ArchivedCreatePartyForm",1,["client_sdk::api::commands::party::ArchivedCreatePartyForm"]],["impl UnwindSafe for ArchivedCreatePartyInvite",1,["client_sdk::api::commands::party::ArchivedCreatePartyInvite"]],["impl UnwindSafe for ArchivedCreatePartyInviteBody",1,["client_sdk::api::commands::party::ArchivedCreatePartyInviteBody"]],["impl UnwindSafe for ArchivedCreatePinFolder",1,["client_sdk::api::commands::party::ArchivedCreatePinFolder"]],["impl UnwindSafe for ArchivedCreatePinFolderForm",1,["client_sdk::api::commands::party::ArchivedCreatePinFolderForm"]],["impl UnwindSafe for ArchivedCreateRole",1,["client_sdk::api::commands::party::ArchivedCreateRole"]],["impl UnwindSafe for ArchivedCreateRoleForm",1,["client_sdk::api::commands::party::ArchivedCreateRoleForm"]],["impl UnwindSafe for ArchivedCreateRoom",1,["client_sdk::api::commands::party::ArchivedCreateRoom"]],["impl UnwindSafe for ArchivedCreateRoomForm",1,["client_sdk::api::commands::party::ArchivedCreateRoomForm"]],["impl UnwindSafe for ArchivedDeleteParty",1,["client_sdk::api::commands::party::ArchivedDeleteParty"]],["impl UnwindSafe for ArchivedDeleteRole",1,["client_sdk::api::commands::party::ArchivedDeleteRole"]],["impl UnwindSafe for ArchivedGetMemberProfile",1,["client_sdk::api::commands::party::ArchivedGetMemberProfile"]],["impl UnwindSafe for ArchivedGetParty",1,["client_sdk::api::commands::party::ArchivedGetParty"]],["impl UnwindSafe for ArchivedGetPartyInvites",1,["client_sdk::api::commands::party::ArchivedGetPartyInvites"]],["impl UnwindSafe for ArchivedGetPartyMember",1,["client_sdk::api::commands::party::ArchivedGetPartyMember"]],["impl UnwindSafe for ArchivedGetPartyMembers",1,["client_sdk::api::commands::party::ArchivedGetPartyMembers"]],["impl UnwindSafe for ArchivedGetPartyRooms",1,["client_sdk::api::commands::party::ArchivedGetPartyRooms"]],["impl UnwindSafe for ArchivedPartySettings",1,["client_sdk::api::commands::party::ArchivedPartySettings"]],["impl UnwindSafe for ArchivedPatchParty",1,["client_sdk::api::commands::party::ArchivedPatchParty"]],["impl UnwindSafe for ArchivedPatchPartyForm",1,["client_sdk::api::commands::party::ArchivedPatchPartyForm"]],["impl UnwindSafe for ArchivedPatchRole",1,["client_sdk::api::commands::party::ArchivedPatchRole"]],["impl UnwindSafe for ArchivedPatchRoleForm",1,["client_sdk::api::commands::party::ArchivedPatchRoleForm"]],["impl UnwindSafe for ArchivedSearchParty",1,["client_sdk::api::commands::party::ArchivedSearchParty"]],["impl UnwindSafe for ArchivedSearchQuery",1,["client_sdk::api::commands::party::ArchivedSearchQuery"]],["impl UnwindSafe for ArchivedTransferOwnership",1,["client_sdk::api::commands::party::ArchivedTransferOwnership"]],["impl UnwindSafe for ArchivedUpdateMemberProfile",1,["client_sdk::api::commands::party::ArchivedUpdateMemberProfile"]],["impl UnwindSafe for ArchivedUpdateMemberProfileBody",1,["client_sdk::api::commands::party::ArchivedUpdateMemberProfileBody"]],["impl UnwindSafe for CreateParty",1,["client_sdk::api::commands::party::CreateParty"]],["impl UnwindSafe for CreatePartyForm",1,["client_sdk::api::commands::party::CreatePartyForm"]],["impl UnwindSafe for CreatePartyFormResolver",1,["client_sdk::api::commands::party::CreatePartyFormResolver"]],["impl UnwindSafe for CreatePartyInvite",1,["client_sdk::api::commands::party::CreatePartyInvite"]],["impl UnwindSafe for CreatePartyInviteBody",1,["client_sdk::api::commands::party::CreatePartyInviteBody"]],["impl UnwindSafe for CreatePartyInviteBodyResolver",1,["client_sdk::api::commands::party::CreatePartyInviteBodyResolver"]],["impl UnwindSafe for CreatePartyInviteResolver",1,["client_sdk::api::commands::party::CreatePartyInviteResolver"]],["impl UnwindSafe for CreatePartyResolver",1,["client_sdk::api::commands::party::CreatePartyResolver"]],["impl UnwindSafe for CreatePinFolder",1,["client_sdk::api::commands::party::CreatePinFolder"]],["impl UnwindSafe for CreatePinFolderForm",1,["client_sdk::api::commands::party::CreatePinFolderForm"]],["impl UnwindSafe for CreatePinFolderFormResolver",1,["client_sdk::api::commands::party::CreatePinFolderFormResolver"]],["impl UnwindSafe for CreatePinFolderResolver",1,["client_sdk::api::commands::party::CreatePinFolderResolver"]],["impl UnwindSafe for CreateRole",1,["client_sdk::api::commands::party::CreateRole"]],["impl UnwindSafe for CreateRoleForm",1,["client_sdk::api::commands::party::CreateRoleForm"]],["impl UnwindSafe for CreateRoleFormResolver",1,["client_sdk::api::commands::party::CreateRoleFormResolver"]],["impl UnwindSafe for CreateRoleResolver",1,["client_sdk::api::commands::party::CreateRoleResolver"]],["impl UnwindSafe for CreateRoom",1,["client_sdk::api::commands::party::CreateRoom"]],["impl UnwindSafe for CreateRoomForm",1,["client_sdk::api::commands::party::CreateRoomForm"]],["impl UnwindSafe for CreateRoomFormResolver",1,["client_sdk::api::commands::party::CreateRoomFormResolver"]],["impl UnwindSafe for CreateRoomResolver",1,["client_sdk::api::commands::party::CreateRoomResolver"]],["impl UnwindSafe for DeleteParty",1,["client_sdk::api::commands::party::DeleteParty"]],["impl UnwindSafe for DeletePartyResolver",1,["client_sdk::api::commands::party::DeletePartyResolver"]],["impl UnwindSafe for DeleteRole",1,["client_sdk::api::commands::party::DeleteRole"]],["impl UnwindSafe for DeleteRoleResolver",1,["client_sdk::api::commands::party::DeleteRoleResolver"]],["impl UnwindSafe for GetMemberProfile",1,["client_sdk::api::commands::party::GetMemberProfile"]],["impl UnwindSafe for GetMemberProfileResolver",1,["client_sdk::api::commands::party::GetMemberProfileResolver"]],["impl UnwindSafe for GetParty",1,["client_sdk::api::commands::party::GetParty"]],["impl UnwindSafe for GetPartyInvites",1,["client_sdk::api::commands::party::GetPartyInvites"]],["impl UnwindSafe for GetPartyInvitesResolver",1,["client_sdk::api::commands::party::GetPartyInvitesResolver"]],["impl UnwindSafe for GetPartyMember",1,["client_sdk::api::commands::party::GetPartyMember"]],["impl UnwindSafe for GetPartyMemberResolver",1,["client_sdk::api::commands::party::GetPartyMemberResolver"]],["impl UnwindSafe for GetPartyMembers",1,["client_sdk::api::commands::party::GetPartyMembers"]],["impl UnwindSafe for GetPartyMembersResolver",1,["client_sdk::api::commands::party::GetPartyMembersResolver"]],["impl UnwindSafe for GetPartyResolver",1,["client_sdk::api::commands::party::GetPartyResolver"]],["impl UnwindSafe for GetPartyRooms",1,["client_sdk::api::commands::party::GetPartyRooms"]],["impl UnwindSafe for GetPartyRoomsResolver",1,["client_sdk::api::commands::party::GetPartyRoomsResolver"]],["impl UnwindSafe for PartySettings",1,["client_sdk::api::commands::party::PartySettings"]],["impl UnwindSafe for PartySettingsResolver",1,["client_sdk::api::commands::party::PartySettingsResolver"]],["impl UnwindSafe for PatchParty",1,["client_sdk::api::commands::party::PatchParty"]],["impl UnwindSafe for PatchPartyForm",1,["client_sdk::api::commands::party::PatchPartyForm"]],["impl UnwindSafe for PatchPartyFormResolver",1,["client_sdk::api::commands::party::PatchPartyFormResolver"]],["impl UnwindSafe for PatchPartyResolver",1,["client_sdk::api::commands::party::PatchPartyResolver"]],["impl UnwindSafe for PatchRole",1,["client_sdk::api::commands::party::PatchRole"]],["impl UnwindSafe for PatchRoleForm",1,["client_sdk::api::commands::party::PatchRoleForm"]],["impl UnwindSafe for PatchRoleFormResolver",1,["client_sdk::api::commands::party::PatchRoleFormResolver"]],["impl UnwindSafe for PatchRoleResolver",1,["client_sdk::api::commands::party::PatchRoleResolver"]],["impl UnwindSafe for SearchParty",1,["client_sdk::api::commands::party::SearchParty"]],["impl UnwindSafe for SearchPartyResolver",1,["client_sdk::api::commands::party::SearchPartyResolver"]],["impl UnwindSafe for SearchQuery",1,["client_sdk::api::commands::party::SearchQuery"]],["impl UnwindSafe for SearchQueryResolver",1,["client_sdk::api::commands::party::SearchQueryResolver"]],["impl UnwindSafe for TransferOwnership",1,["client_sdk::api::commands::party::TransferOwnership"]],["impl UnwindSafe for TransferOwnershipResolver",1,["client_sdk::api::commands::party::TransferOwnershipResolver"]],["impl UnwindSafe for UpdateMemberProfile",1,["client_sdk::api::commands::party::UpdateMemberProfile"]],["impl UnwindSafe for UpdateMemberProfileBody",1,["client_sdk::api::commands::party::UpdateMemberProfileBody"]],["impl UnwindSafe for UpdateMemberProfileBodyResolver",1,["client_sdk::api::commands::party::UpdateMemberProfileBodyResolver"]],["impl UnwindSafe for UpdateMemberProfileResolver",1,["client_sdk::api::commands::party::UpdateMemberProfileResolver"]],["impl UnwindSafe for ArchivedCreateMessage",1,["client_sdk::api::commands::room::ArchivedCreateMessage"]],["impl UnwindSafe for ArchivedCreateMessageBody",1,["client_sdk::api::commands::room::ArchivedCreateMessageBody"]],["impl UnwindSafe for ArchivedDeleteAllReactions",1,["client_sdk::api::commands::room::ArchivedDeleteAllReactions"]],["impl UnwindSafe for ArchivedDeleteMessage",1,["client_sdk::api::commands::room::ArchivedDeleteMessage"]],["impl UnwindSafe for ArchivedDeleteOwnReaction",1,["client_sdk::api::commands::room::ArchivedDeleteOwnReaction"]],["impl UnwindSafe for ArchivedDeleteRoom",1,["client_sdk::api::commands::room::ArchivedDeleteRoom"]],["impl UnwindSafe for ArchivedDeleteUserReaction",1,["client_sdk::api::commands::room::ArchivedDeleteUserReaction"]],["impl UnwindSafe for ArchivedEditMessage",1,["client_sdk::api::commands::room::ArchivedEditMessage"]],["impl UnwindSafe for ArchivedEditMessageBody",1,["client_sdk::api::commands::room::ArchivedEditMessageBody"]],["impl UnwindSafe for ArchivedGetMessage",1,["client_sdk::api::commands::room::ArchivedGetMessage"]],["impl UnwindSafe for ArchivedGetMessages",1,["client_sdk::api::commands::room::ArchivedGetMessages"]],["impl UnwindSafe for ArchivedGetMessagesQuery",1,["client_sdk::api::commands::room::ArchivedGetMessagesQuery"]],["impl UnwindSafe for ArchivedGetReactions",1,["client_sdk::api::commands::room::ArchivedGetReactions"]],["impl UnwindSafe for ArchivedGetReactionsForm",1,["client_sdk::api::commands::room::ArchivedGetReactionsForm"]],["impl UnwindSafe for ArchivedGetRoom",1,["client_sdk::api::commands::room::ArchivedGetRoom"]],["impl UnwindSafe for ArchivedPatchRoom",1,["client_sdk::api::commands::room::ArchivedPatchRoom"]],["impl UnwindSafe for ArchivedPatchRoomForm",1,["client_sdk::api::commands::room::ArchivedPatchRoomForm"]],["impl UnwindSafe for ArchivedPinMessage",1,["client_sdk::api::commands::room::ArchivedPinMessage"]],["impl UnwindSafe for ArchivedPutReaction",1,["client_sdk::api::commands::room::ArchivedPutReaction"]],["impl UnwindSafe for ArchivedStarMessage",1,["client_sdk::api::commands::room::ArchivedStarMessage"]],["impl UnwindSafe for ArchivedStartTyping",1,["client_sdk::api::commands::room::ArchivedStartTyping"]],["impl UnwindSafe for ArchivedStartTypingBody",1,["client_sdk::api::commands::room::ArchivedStartTypingBody"]],["impl UnwindSafe for ArchivedUnpinMessage",1,["client_sdk::api::commands::room::ArchivedUnpinMessage"]],["impl UnwindSafe for ArchivedUnstarMessage",1,["client_sdk::api::commands::room::ArchivedUnstarMessage"]],["impl UnwindSafe for CreateMessage",1,["client_sdk::api::commands::room::CreateMessage"]],["impl UnwindSafe for CreateMessageBody",1,["client_sdk::api::commands::room::CreateMessageBody"]],["impl UnwindSafe for CreateMessageBodyResolver",1,["client_sdk::api::commands::room::CreateMessageBodyResolver"]],["impl UnwindSafe for CreateMessageResolver",1,["client_sdk::api::commands::room::CreateMessageResolver"]],["impl UnwindSafe for DeleteAllReactions",1,["client_sdk::api::commands::room::DeleteAllReactions"]],["impl UnwindSafe for DeleteAllReactionsResolver",1,["client_sdk::api::commands::room::DeleteAllReactionsResolver"]],["impl UnwindSafe for DeleteMessage",1,["client_sdk::api::commands::room::DeleteMessage"]],["impl UnwindSafe for DeleteMessageResolver",1,["client_sdk::api::commands::room::DeleteMessageResolver"]],["impl UnwindSafe for DeleteOwnReaction",1,["client_sdk::api::commands::room::DeleteOwnReaction"]],["impl UnwindSafe for DeleteOwnReactionResolver",1,["client_sdk::api::commands::room::DeleteOwnReactionResolver"]],["impl UnwindSafe for DeleteRoom",1,["client_sdk::api::commands::room::DeleteRoom"]],["impl UnwindSafe for DeleteRoomResolver",1,["client_sdk::api::commands::room::DeleteRoomResolver"]],["impl UnwindSafe for DeleteUserReaction",1,["client_sdk::api::commands::room::DeleteUserReaction"]],["impl UnwindSafe for DeleteUserReactionResolver",1,["client_sdk::api::commands::room::DeleteUserReactionResolver"]],["impl UnwindSafe for EditMessage",1,["client_sdk::api::commands::room::EditMessage"]],["impl UnwindSafe for EditMessageBody",1,["client_sdk::api::commands::room::EditMessageBody"]],["impl UnwindSafe for EditMessageBodyResolver",1,["client_sdk::api::commands::room::EditMessageBodyResolver"]],["impl UnwindSafe for EditMessageResolver",1,["client_sdk::api::commands::room::EditMessageResolver"]],["impl UnwindSafe for GetMessage",1,["client_sdk::api::commands::room::GetMessage"]],["impl UnwindSafe for GetMessageResolver",1,["client_sdk::api::commands::room::GetMessageResolver"]],["impl UnwindSafe for GetMessages",1,["client_sdk::api::commands::room::GetMessages"]],["impl UnwindSafe for GetMessagesQuery",1,["client_sdk::api::commands::room::GetMessagesQuery"]],["impl UnwindSafe for GetMessagesQueryResolver",1,["client_sdk::api::commands::room::GetMessagesQueryResolver"]],["impl UnwindSafe for GetMessagesResolver",1,["client_sdk::api::commands::room::GetMessagesResolver"]],["impl UnwindSafe for GetReactions",1,["client_sdk::api::commands::room::GetReactions"]],["impl UnwindSafe for GetReactionsForm",1,["client_sdk::api::commands::room::GetReactionsForm"]],["impl UnwindSafe for GetReactionsFormResolver",1,["client_sdk::api::commands::room::GetReactionsFormResolver"]],["impl UnwindSafe for GetReactionsResolver",1,["client_sdk::api::commands::room::GetReactionsResolver"]],["impl UnwindSafe for GetRoom",1,["client_sdk::api::commands::room::GetRoom"]],["impl UnwindSafe for GetRoomResolver",1,["client_sdk::api::commands::room::GetRoomResolver"]],["impl UnwindSafe for PatchRoom",1,["client_sdk::api::commands::room::PatchRoom"]],["impl UnwindSafe for PatchRoomForm",1,["client_sdk::api::commands::room::PatchRoomForm"]],["impl UnwindSafe for PatchRoomFormResolver",1,["client_sdk::api::commands::room::PatchRoomFormResolver"]],["impl UnwindSafe for PatchRoomResolver",1,["client_sdk::api::commands::room::PatchRoomResolver"]],["impl UnwindSafe for PinMessage",1,["client_sdk::api::commands::room::PinMessage"]],["impl UnwindSafe for PinMessageResolver",1,["client_sdk::api::commands::room::PinMessageResolver"]],["impl UnwindSafe for PutReaction",1,["client_sdk::api::commands::room::PutReaction"]],["impl UnwindSafe for PutReactionResolver",1,["client_sdk::api::commands::room::PutReactionResolver"]],["impl UnwindSafe for StarMessage",1,["client_sdk::api::commands::room::StarMessage"]],["impl UnwindSafe for StarMessageResolver",1,["client_sdk::api::commands::room::StarMessageResolver"]],["impl UnwindSafe for StartTyping",1,["client_sdk::api::commands::room::StartTyping"]],["impl UnwindSafe for StartTypingBody",1,["client_sdk::api::commands::room::StartTypingBody"]],["impl UnwindSafe for StartTypingBodyResolver",1,["client_sdk::api::commands::room::StartTypingBodyResolver"]],["impl UnwindSafe for StartTypingResolver",1,["client_sdk::api::commands::room::StartTypingResolver"]],["impl UnwindSafe for UnpinMessage",1,["client_sdk::api::commands::room::UnpinMessage"]],["impl UnwindSafe for UnpinMessageResolver",1,["client_sdk::api::commands::room::UnpinMessageResolver"]],["impl UnwindSafe for UnstarMessage",1,["client_sdk::api::commands::room::UnstarMessage"]],["impl UnwindSafe for UnstarMessageResolver",1,["client_sdk::api::commands::room::UnstarMessageResolver"]],["impl UnwindSafe for Added2FA",1,["client_sdk::api::commands::user::Added2FA"]],["impl UnwindSafe for Added2FAResolver",1,["client_sdk::api::commands::user::Added2FAResolver"]],["impl UnwindSafe for ArchivedAdded2FA",1,["client_sdk::api::commands::user::ArchivedAdded2FA"]],["impl UnwindSafe for ArchivedChangePassword",1,["client_sdk::api::commands::user::ArchivedChangePassword"]],["impl UnwindSafe for ArchivedChangePasswordForm",1,["client_sdk::api::commands::user::ArchivedChangePasswordForm"]],["impl UnwindSafe for ArchivedClearSessions",1,["client_sdk::api::commands::user::ArchivedClearSessions"]],["impl UnwindSafe for ArchivedClearSessionsForm",1,["client_sdk::api::commands::user::ArchivedClearSessionsForm"]],["impl UnwindSafe for ArchivedConfirm2FA",1,["client_sdk::api::commands::user::ArchivedConfirm2FA"]],["impl UnwindSafe for ArchivedConfirm2FAForm",1,["client_sdk::api::commands::user::ArchivedConfirm2FAForm"]],["impl UnwindSafe for ArchivedEnable2FA",1,["client_sdk::api::commands::user::ArchivedEnable2FA"]],["impl UnwindSafe for ArchivedEnable2FAForm",1,["client_sdk::api::commands::user::ArchivedEnable2FAForm"]],["impl UnwindSafe for ArchivedGetRelationships",1,["client_sdk::api::commands::user::ArchivedGetRelationships"]],["impl UnwindSafe for ArchivedGetSessions",1,["client_sdk::api::commands::user::ArchivedGetSessions"]],["impl UnwindSafe for ArchivedGetUser",1,["client_sdk::api::commands::user::ArchivedGetUser"]],["impl UnwindSafe for ArchivedPatchRelationship",1,["client_sdk::api::commands::user::ArchivedPatchRelationship"]],["impl UnwindSafe for ArchivedPatchRelationshipBody",1,["client_sdk::api::commands::user::ArchivedPatchRelationshipBody"]],["impl UnwindSafe for ArchivedRemove2FA",1,["client_sdk::api::commands::user::ArchivedRemove2FA"]],["impl UnwindSafe for ArchivedRemove2FAForm",1,["client_sdk::api::commands::user::ArchivedRemove2FAForm"]],["impl UnwindSafe for ArchivedUpdateUserPrefs",1,["client_sdk::api::commands::user::ArchivedUpdateUserPrefs"]],["impl UnwindSafe for ArchivedUpdateUserPrefsBody",1,["client_sdk::api::commands::user::ArchivedUpdateUserPrefsBody"]],["impl UnwindSafe for ArchivedUpdateUserProfile",1,["client_sdk::api::commands::user::ArchivedUpdateUserProfile"]],["impl UnwindSafe for ArchivedUpdateUserProfileBody",1,["client_sdk::api::commands::user::ArchivedUpdateUserProfileBody"]],["impl UnwindSafe for ArchivedUserLogin",1,["client_sdk::api::commands::user::ArchivedUserLogin"]],["impl UnwindSafe for ArchivedUserLoginForm",1,["client_sdk::api::commands::user::ArchivedUserLoginForm"]],["impl UnwindSafe for ArchivedUserLogout",1,["client_sdk::api::commands::user::ArchivedUserLogout"]],["impl UnwindSafe for ArchivedUserRegister",1,["client_sdk::api::commands::user::ArchivedUserRegister"]],["impl UnwindSafe for ArchivedUserRegisterForm",1,["client_sdk::api::commands::user::ArchivedUserRegisterForm"]],["impl UnwindSafe for ChangePassword",1,["client_sdk::api::commands::user::ChangePassword"]],["impl UnwindSafe for ChangePasswordForm",1,["client_sdk::api::commands::user::ChangePasswordForm"]],["impl UnwindSafe for ChangePasswordFormResolver",1,["client_sdk::api::commands::user::ChangePasswordFormResolver"]],["impl UnwindSafe for ChangePasswordResolver",1,["client_sdk::api::commands::user::ChangePasswordResolver"]],["impl UnwindSafe for ClearSessions",1,["client_sdk::api::commands::user::ClearSessions"]],["impl UnwindSafe for ClearSessionsForm",1,["client_sdk::api::commands::user::ClearSessionsForm"]],["impl UnwindSafe for ClearSessionsFormResolver",1,["client_sdk::api::commands::user::ClearSessionsFormResolver"]],["impl UnwindSafe for ClearSessionsResolver",1,["client_sdk::api::commands::user::ClearSessionsResolver"]],["impl UnwindSafe for Confirm2FA",1,["client_sdk::api::commands::user::Confirm2FA"]],["impl UnwindSafe for Confirm2FAForm",1,["client_sdk::api::commands::user::Confirm2FAForm"]],["impl UnwindSafe for Confirm2FAFormResolver",1,["client_sdk::api::commands::user::Confirm2FAFormResolver"]],["impl UnwindSafe for Confirm2FAResolver",1,["client_sdk::api::commands::user::Confirm2FAResolver"]],["impl UnwindSafe for Enable2FA",1,["client_sdk::api::commands::user::Enable2FA"]],["impl UnwindSafe for Enable2FAForm",1,["client_sdk::api::commands::user::Enable2FAForm"]],["impl UnwindSafe for Enable2FAFormResolver",1,["client_sdk::api::commands::user::Enable2FAFormResolver"]],["impl UnwindSafe for Enable2FAResolver",1,["client_sdk::api::commands::user::Enable2FAResolver"]],["impl UnwindSafe for GetRelationships",1,["client_sdk::api::commands::user::GetRelationships"]],["impl UnwindSafe for GetRelationshipsResolver",1,["client_sdk::api::commands::user::GetRelationshipsResolver"]],["impl UnwindSafe for GetSessions",1,["client_sdk::api::commands::user::GetSessions"]],["impl UnwindSafe for GetSessionsResolver",1,["client_sdk::api::commands::user::GetSessionsResolver"]],["impl UnwindSafe for GetUser",1,["client_sdk::api::commands::user::GetUser"]],["impl UnwindSafe for GetUserResolver",1,["client_sdk::api::commands::user::GetUserResolver"]],["impl UnwindSafe for PatchRelationship",1,["client_sdk::api::commands::user::PatchRelationship"]],["impl UnwindSafe for PatchRelationshipBody",1,["client_sdk::api::commands::user::PatchRelationshipBody"]],["impl UnwindSafe for PatchRelationshipBodyResolver",1,["client_sdk::api::commands::user::PatchRelationshipBodyResolver"]],["impl UnwindSafe for PatchRelationshipResolver",1,["client_sdk::api::commands::user::PatchRelationshipResolver"]],["impl UnwindSafe for Remove2FA",1,["client_sdk::api::commands::user::Remove2FA"]],["impl UnwindSafe for Remove2FAForm",1,["client_sdk::api::commands::user::Remove2FAForm"]],["impl UnwindSafe for Remove2FAFormResolver",1,["client_sdk::api::commands::user::Remove2FAFormResolver"]],["impl UnwindSafe for Remove2FAResolver",1,["client_sdk::api::commands::user::Remove2FAResolver"]],["impl UnwindSafe for UpdateUserPrefs",1,["client_sdk::api::commands::user::UpdateUserPrefs"]],["impl UnwindSafe for UpdateUserPrefsBody",1,["client_sdk::api::commands::user::UpdateUserPrefsBody"]],["impl UnwindSafe for UpdateUserPrefsBodyResolver",1,["client_sdk::api::commands::user::UpdateUserPrefsBodyResolver"]],["impl UnwindSafe for UpdateUserPrefsResolver",1,["client_sdk::api::commands::user::UpdateUserPrefsResolver"]],["impl UnwindSafe for UpdateUserProfile",1,["client_sdk::api::commands::user::UpdateUserProfile"]],["impl UnwindSafe for UpdateUserProfileBody",1,["client_sdk::api::commands::user::UpdateUserProfileBody"]],["impl UnwindSafe for UpdateUserProfileBodyResolver",1,["client_sdk::api::commands::user::UpdateUserProfileBodyResolver"]],["impl UnwindSafe for UpdateUserProfileResolver",1,["client_sdk::api::commands::user::UpdateUserProfileResolver"]],["impl UnwindSafe for UserLogin",1,["client_sdk::api::commands::user::UserLogin"]],["impl UnwindSafe for UserLoginForm",1,["client_sdk::api::commands::user::UserLoginForm"]],["impl UnwindSafe for UserLoginFormResolver",1,["client_sdk::api::commands::user::UserLoginFormResolver"]],["impl UnwindSafe for UserLoginResolver",1,["client_sdk::api::commands::user::UserLoginResolver"]],["impl UnwindSafe for UserLogout",1,["client_sdk::api::commands::user::UserLogout"]],["impl UnwindSafe for UserLogoutResolver",1,["client_sdk::api::commands::user::UserLogoutResolver"]],["impl UnwindSafe for UserRegister",1,["client_sdk::api::commands::user::UserRegister"]],["impl UnwindSafe for UserRegisterForm",1,["client_sdk::api::commands::user::UserRegisterForm"]],["impl UnwindSafe for UserRegisterFormResolver",1,["client_sdk::api::commands::user::UserRegisterFormResolver"]],["impl UnwindSafe for UserRegisterResolver",1,["client_sdk::api::commands::user::UserRegisterResolver"]],["impl UnwindSafe for ApiError",1,["client_sdk::api::error::ApiError"]],["impl UnwindSafe for ApiErrorResolver",1,["client_sdk::api::error::ApiErrorResolver"]],["impl UnwindSafe for ArchivedApiError",1,["client_sdk::api::error::ArchivedApiError"]],["impl UnwindSafe for ArchivedApiErrorCode",1,["client_sdk::api::error::api_error_code_impl::ArchivedApiErrorCode"]],["impl UnwindSafe for GatewayQueryParams",1,["client_sdk::api::gateway::GatewayQueryParams"]],["impl UnwindSafe for CommandFlags",1,["client_sdk::api::command::CommandFlags"]],["impl UnwindSafe for MissingItemError",1,["client_sdk::api::command::MissingItemError"]],["impl UnwindSafe for RateLimit",1,["client_sdk::api::command::RateLimit"]],["impl UnwindSafe for GatewayConnectionControl",1,["client_sdk::gateway::conn::GatewayConnectionControl"]],["impl UnwindSafe for ArchivedAssetFlags",1,["client_sdk::models::asset::ArchivedAssetFlags"]],["impl UnwindSafe for AssetFlags",1,["client_sdk::models::asset::AssetFlags"]],["impl UnwindSafe for InvalidAuthToken",1,["client_sdk::models::auth::InvalidAuthToken"]],["impl UnwindSafe for ArchivedServerConfig",1,["client_sdk::models::config::ArchivedServerConfig"]],["impl UnwindSafe for ArchivedServerLimits",1,["client_sdk::models::config::ArchivedServerLimits"]],["impl UnwindSafe for ServerConfig",1,["client_sdk::models::config::ServerConfig"]],["impl UnwindSafe for ServerConfigResolver",1,["client_sdk::models::config::ServerConfigResolver"]],["impl UnwindSafe for ServerLimits",1,["client_sdk::models::config::ServerLimits"]],["impl UnwindSafe for ServerLimitsResolver",1,["client_sdk::models::config::ServerLimitsResolver"]],["impl UnwindSafe for ArchivedBasicEmbedMedia",1,["client_sdk::models::embed::v1::ArchivedBasicEmbedMedia"]],["impl UnwindSafe for ArchivedEmbedAuthor",1,["client_sdk::models::embed::v1::ArchivedEmbedAuthor"]],["impl UnwindSafe for ArchivedEmbedField",1,["client_sdk::models::embed::v1::ArchivedEmbedField"]],["impl UnwindSafe for ArchivedEmbedFlags",1,["client_sdk::models::embed::v1::ArchivedEmbedFlags"]],["impl UnwindSafe for ArchivedEmbedFooter",1,["client_sdk::models::embed::v1::ArchivedEmbedFooter"]],["impl UnwindSafe for ArchivedEmbedMedia",1,["client_sdk::models::embed::v1::ArchivedEmbedMedia"]],["impl UnwindSafe for ArchivedEmbedProvider",1,["client_sdk::models::embed::v1::ArchivedEmbedProvider"]],["impl UnwindSafe for ArchivedEmbedV1",1,["client_sdk::models::embed::v1::ArchivedEmbedV1"]],["impl UnwindSafe for BasicEmbedMedia",1,["client_sdk::models::embed::v1::BasicEmbedMedia"]],["impl UnwindSafe for BasicEmbedMediaResolver",1,["client_sdk::models::embed::v1::BasicEmbedMediaResolver"]],["impl UnwindSafe for EmbedAuthor",1,["client_sdk::models::embed::v1::EmbedAuthor"]],["impl UnwindSafe for EmbedAuthorResolver",1,["client_sdk::models::embed::v1::EmbedAuthorResolver"]],["impl UnwindSafe for EmbedField",1,["client_sdk::models::embed::v1::EmbedField"]],["impl UnwindSafe for EmbedFieldResolver",1,["client_sdk::models::embed::v1::EmbedFieldResolver"]],["impl UnwindSafe for EmbedFlags",1,["client_sdk::models::embed::v1::EmbedFlags"]],["impl UnwindSafe for EmbedFooter",1,["client_sdk::models::embed::v1::EmbedFooter"]],["impl UnwindSafe for EmbedFooterResolver",1,["client_sdk::models::embed::v1::EmbedFooterResolver"]],["impl UnwindSafe for EmbedMedia",1,["client_sdk::models::embed::v1::EmbedMedia"]],["impl UnwindSafe for EmbedMediaResolver",1,["client_sdk::models::embed::v1::EmbedMediaResolver"]],["impl UnwindSafe for EmbedProvider",1,["client_sdk::models::embed::v1::EmbedProvider"]],["impl UnwindSafe for EmbedProviderResolver",1,["client_sdk::models::embed::v1::EmbedProviderResolver"]],["impl UnwindSafe for EmbedV1",1,["client_sdk::models::embed::v1::EmbedV1"]],["impl UnwindSafe for EmbedV1Resolver",1,["client_sdk::models::embed::v1::EmbedV1Resolver"]],["impl UnwindSafe for ArchivedCustomEmote",1,["client_sdk::models::emote::ArchivedCustomEmote"]],["impl UnwindSafe for ArchivedEmoteFlags",1,["client_sdk::models::emote::ArchivedEmoteFlags"]],["impl UnwindSafe for CustomEmote",1,["client_sdk::models::emote::CustomEmote"]],["impl UnwindSafe for CustomEmoteResolver",1,["client_sdk::models::emote::CustomEmoteResolver"]],["impl UnwindSafe for EmoteFlags",1,["client_sdk::models::emote::EmoteFlags"]],["impl UnwindSafe for ArchivedFile",1,["client_sdk::models::file::ArchivedFile"]],["impl UnwindSafe for File",1,["client_sdk::models::file::File"]],["impl UnwindSafe for FileResolver",1,["client_sdk::models::file::FileResolver"]],["impl UnwindSafe for FileUpload",1,["client_sdk::models::file::FileUpload"]],["impl UnwindSafe for ArchivedIdentify",1,["client_sdk::models::gateway::commands::ArchivedIdentify"]],["impl UnwindSafe for ArchivedSetPresence",1,["client_sdk::models::gateway::commands::ArchivedSetPresence"]],["impl UnwindSafe for Identify",1,["client_sdk::models::gateway::commands::Identify"]],["impl UnwindSafe for IdentifyResolver",1,["client_sdk::models::gateway::commands::IdentifyResolver"]],["impl UnwindSafe for SetPresence",1,["client_sdk::models::gateway::commands::SetPresence"]],["impl UnwindSafe for SetPresenceResolver",1,["client_sdk::models::gateway::commands::SetPresenceResolver"]],["impl UnwindSafe for ArchivedHello",1,["client_sdk::models::gateway::events::ArchivedHello"]],["impl UnwindSafe for ArchivedMessageDeleteEvent",1,["client_sdk::models::gateway::events::ArchivedMessageDeleteEvent"]],["impl UnwindSafe for ArchivedPartyMemberEvent",1,["client_sdk::models::gateway::events::ArchivedPartyMemberEvent"]],["impl UnwindSafe for ArchivedPartyPositionUpdate",1,["client_sdk::models::gateway::events::ArchivedPartyPositionUpdate"]],["impl UnwindSafe for ArchivedProfileUpdateEvent",1,["client_sdk::models::gateway::events::ArchivedProfileUpdateEvent"]],["impl UnwindSafe for ArchivedReady",1,["client_sdk::models::gateway::events::ArchivedReady"]],["impl UnwindSafe for ArchivedReadyParty",1,["client_sdk::models::gateway::events::ArchivedReadyParty"]],["impl UnwindSafe for ArchivedRoleDeleteEvent",1,["client_sdk::models::gateway::events::ArchivedRoleDeleteEvent"]],["impl UnwindSafe for ArchivedRoomDeleteEvent",1,["client_sdk::models::gateway::events::ArchivedRoomDeleteEvent"]],["impl UnwindSafe for ArchivedTypingStart",1,["client_sdk::models::gateway::events::ArchivedTypingStart"]],["impl UnwindSafe for ArchivedUserPresenceEvent",1,["client_sdk::models::gateway::events::ArchivedUserPresenceEvent"]],["impl UnwindSafe for ArchivedUserReactionEvent",1,["client_sdk::models::gateway::events::ArchivedUserReactionEvent"]],["impl UnwindSafe for Hello",1,["client_sdk::models::gateway::events::Hello"]],["impl UnwindSafe for HelloResolver",1,["client_sdk::models::gateway::events::HelloResolver"]],["impl UnwindSafe for MessageDeleteEvent",1,["client_sdk::models::gateway::events::MessageDeleteEvent"]],["impl UnwindSafe for MessageDeleteEventResolver",1,["client_sdk::models::gateway::events::MessageDeleteEventResolver"]],["impl UnwindSafe for PartyMemberEvent",1,["client_sdk::models::gateway::events::PartyMemberEvent"]],["impl UnwindSafe for PartyMemberEventResolver",1,["client_sdk::models::gateway::events::PartyMemberEventResolver"]],["impl UnwindSafe for PartyPositionUpdate",1,["client_sdk::models::gateway::events::PartyPositionUpdate"]],["impl UnwindSafe for PartyPositionUpdateResolver",1,["client_sdk::models::gateway::events::PartyPositionUpdateResolver"]],["impl UnwindSafe for ProfileUpdateEvent",1,["client_sdk::models::gateway::events::ProfileUpdateEvent"]],["impl UnwindSafe for ProfileUpdateEventResolver",1,["client_sdk::models::gateway::events::ProfileUpdateEventResolver"]],["impl UnwindSafe for Ready",1,["client_sdk::models::gateway::events::Ready"]],["impl UnwindSafe for ReadyParty",1,["client_sdk::models::gateway::events::ReadyParty"]],["impl UnwindSafe for ReadyPartyResolver",1,["client_sdk::models::gateway::events::ReadyPartyResolver"]],["impl UnwindSafe for ReadyResolver",1,["client_sdk::models::gateway::events::ReadyResolver"]],["impl UnwindSafe for RoleDeleteEvent",1,["client_sdk::models::gateway::events::RoleDeleteEvent"]],["impl UnwindSafe for RoleDeleteEventResolver",1,["client_sdk::models::gateway::events::RoleDeleteEventResolver"]],["impl UnwindSafe for RoomDeleteEvent",1,["client_sdk::models::gateway::events::RoomDeleteEvent"]],["impl UnwindSafe for RoomDeleteEventResolver",1,["client_sdk::models::gateway::events::RoomDeleteEventResolver"]],["impl UnwindSafe for TypingStart",1,["client_sdk::models::gateway::events::TypingStart"]],["impl UnwindSafe for TypingStartResolver",1,["client_sdk::models::gateway::events::TypingStartResolver"]],["impl UnwindSafe for UserPresenceEvent",1,["client_sdk::models::gateway::events::UserPresenceEvent"]],["impl UnwindSafe for UserPresenceEventResolver",1,["client_sdk::models::gateway::events::UserPresenceEventResolver"]],["impl UnwindSafe for UserReactionEvent",1,["client_sdk::models::gateway::events::UserReactionEvent"]],["impl UnwindSafe for UserReactionEventResolver",1,["client_sdk::models::gateway::events::UserReactionEventResolver"]],["impl UnwindSafe for ArchivedHeartbeatPayload",1,["client_sdk::models::gateway::message::client_msg_payloads::ArchivedHeartbeatPayload"]],["impl UnwindSafe for ArchivedIdentifyPayload",1,["client_sdk::models::gateway::message::client_msg_payloads::ArchivedIdentifyPayload"]],["impl UnwindSafe for ArchivedResumePayload",1,["client_sdk::models::gateway::message::client_msg_payloads::ArchivedResumePayload"]],["impl UnwindSafe for ArchivedSetPresencePayload",1,["client_sdk::models::gateway::message::client_msg_payloads::ArchivedSetPresencePayload"]],["impl UnwindSafe for ArchivedSubscribePayload",1,["client_sdk::models::gateway::message::client_msg_payloads::ArchivedSubscribePayload"]],["impl UnwindSafe for ArchivedUnsubscribePayload",1,["client_sdk::models::gateway::message::client_msg_payloads::ArchivedUnsubscribePayload"]],["impl UnwindSafe for HeartbeatPayload",1,["client_sdk::models::gateway::message::client_msg_payloads::HeartbeatPayload"]],["impl UnwindSafe for HeartbeatPayloadResolver",1,["client_sdk::models::gateway::message::client_msg_payloads::HeartbeatPayloadResolver"]],["impl UnwindSafe for IdentifyPayload",1,["client_sdk::models::gateway::message::client_msg_payloads::IdentifyPayload"]],["impl UnwindSafe for IdentifyPayloadResolver",1,["client_sdk::models::gateway::message::client_msg_payloads::IdentifyPayloadResolver"]],["impl UnwindSafe for ResumePayload",1,["client_sdk::models::gateway::message::client_msg_payloads::ResumePayload"]],["impl UnwindSafe for ResumePayloadResolver",1,["client_sdk::models::gateway::message::client_msg_payloads::ResumePayloadResolver"]],["impl UnwindSafe for SetPresencePayload",1,["client_sdk::models::gateway::message::client_msg_payloads::SetPresencePayload"]],["impl UnwindSafe for SetPresencePayloadResolver",1,["client_sdk::models::gateway::message::client_msg_payloads::SetPresencePayloadResolver"]],["impl UnwindSafe for SubscribePayload",1,["client_sdk::models::gateway::message::client_msg_payloads::SubscribePayload"]],["impl UnwindSafe for SubscribePayloadResolver",1,["client_sdk::models::gateway::message::client_msg_payloads::SubscribePayloadResolver"]],["impl UnwindSafe for UnsubscribePayload",1,["client_sdk::models::gateway::message::client_msg_payloads::UnsubscribePayload"]],["impl UnwindSafe for UnsubscribePayloadResolver",1,["client_sdk::models::gateway::message::client_msg_payloads::UnsubscribePayloadResolver"]],["impl UnwindSafe for ArchivedHeartbeatAckPayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ArchivedHeartbeatAckPayload"]],["impl UnwindSafe for ArchivedHelloPayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ArchivedHelloPayload"]],["impl UnwindSafe for ArchivedInvalidSessionPayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ArchivedInvalidSessionPayload"]],["impl UnwindSafe for ArchivedMemberAddPayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ArchivedMemberAddPayload"]],["impl UnwindSafe for ArchivedMemberBanPayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ArchivedMemberBanPayload"]],["impl UnwindSafe for ArchivedMemberRemovePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ArchivedMemberRemovePayload"]],["impl UnwindSafe for ArchivedMemberUnbanPayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ArchivedMemberUnbanPayload"]],["impl UnwindSafe for ArchivedMemberUpdatePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ArchivedMemberUpdatePayload"]],["impl UnwindSafe for ArchivedMessageCreatePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ArchivedMessageCreatePayload"]],["impl UnwindSafe for ArchivedMessageDeletePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ArchivedMessageDeletePayload"]],["impl UnwindSafe for ArchivedMessageReactionAddPayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ArchivedMessageReactionAddPayload"]],["impl UnwindSafe for ArchivedMessageReactionRemoveAllPayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ArchivedMessageReactionRemoveAllPayload"]],["impl UnwindSafe for ArchivedMessageReactionRemoveEmotePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ArchivedMessageReactionRemoveEmotePayload"]],["impl UnwindSafe for ArchivedMessageReactionRemovePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ArchivedMessageReactionRemovePayload"]],["impl UnwindSafe for ArchivedMessageUpdatePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ArchivedMessageUpdatePayload"]],["impl UnwindSafe for ArchivedPartyCreatePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ArchivedPartyCreatePayload"]],["impl UnwindSafe for ArchivedPartyDeletePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ArchivedPartyDeletePayload"]],["impl UnwindSafe for ArchivedPartyUpdatePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ArchivedPartyUpdatePayload"]],["impl UnwindSafe for ArchivedPresenceUpdatePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ArchivedPresenceUpdatePayload"]],["impl UnwindSafe for ArchivedProfileUpdatePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ArchivedProfileUpdatePayload"]],["impl UnwindSafe for ArchivedReadyPayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ArchivedReadyPayload"]],["impl UnwindSafe for ArchivedRelationAddPayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ArchivedRelationAddPayload"]],["impl UnwindSafe for ArchivedRelationRemovePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ArchivedRelationRemovePayload"]],["impl UnwindSafe for ArchivedRoleCreatePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ArchivedRoleCreatePayload"]],["impl UnwindSafe for ArchivedRoleDeletePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ArchivedRoleDeletePayload"]],["impl UnwindSafe for ArchivedRoleUpdatePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ArchivedRoleUpdatePayload"]],["impl UnwindSafe for ArchivedRoomCreatePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ArchivedRoomCreatePayload"]],["impl UnwindSafe for ArchivedRoomDeletePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ArchivedRoomDeletePayload"]],["impl UnwindSafe for ArchivedRoomPinsUpdatePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ArchivedRoomPinsUpdatePayload"]],["impl UnwindSafe for ArchivedRoomUpdatePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ArchivedRoomUpdatePayload"]],["impl UnwindSafe for ArchivedTypingStartPayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ArchivedTypingStartPayload"]],["impl UnwindSafe for ArchivedUserUpdatePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ArchivedUserUpdatePayload"]],["impl UnwindSafe for HeartbeatAckPayload",1,["client_sdk::models::gateway::message::server_msg_payloads::HeartbeatAckPayload"]],["impl UnwindSafe for HeartbeatAckPayloadResolver",1,["client_sdk::models::gateway::message::server_msg_payloads::HeartbeatAckPayloadResolver"]],["impl UnwindSafe for HelloPayload",1,["client_sdk::models::gateway::message::server_msg_payloads::HelloPayload"]],["impl UnwindSafe for HelloPayloadResolver",1,["client_sdk::models::gateway::message::server_msg_payloads::HelloPayloadResolver"]],["impl UnwindSafe for InvalidSessionPayload",1,["client_sdk::models::gateway::message::server_msg_payloads::InvalidSessionPayload"]],["impl UnwindSafe for InvalidSessionPayloadResolver",1,["client_sdk::models::gateway::message::server_msg_payloads::InvalidSessionPayloadResolver"]],["impl UnwindSafe for MemberAddPayload",1,["client_sdk::models::gateway::message::server_msg_payloads::MemberAddPayload"]],["impl UnwindSafe for MemberAddPayloadResolver",1,["client_sdk::models::gateway::message::server_msg_payloads::MemberAddPayloadResolver"]],["impl UnwindSafe for MemberBanPayload",1,["client_sdk::models::gateway::message::server_msg_payloads::MemberBanPayload"]],["impl UnwindSafe for MemberBanPayloadResolver",1,["client_sdk::models::gateway::message::server_msg_payloads::MemberBanPayloadResolver"]],["impl UnwindSafe for MemberRemovePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::MemberRemovePayload"]],["impl UnwindSafe for MemberRemovePayloadResolver",1,["client_sdk::models::gateway::message::server_msg_payloads::MemberRemovePayloadResolver"]],["impl UnwindSafe for MemberUnbanPayload",1,["client_sdk::models::gateway::message::server_msg_payloads::MemberUnbanPayload"]],["impl UnwindSafe for MemberUnbanPayloadResolver",1,["client_sdk::models::gateway::message::server_msg_payloads::MemberUnbanPayloadResolver"]],["impl UnwindSafe for MemberUpdatePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::MemberUpdatePayload"]],["impl UnwindSafe for MemberUpdatePayloadResolver",1,["client_sdk::models::gateway::message::server_msg_payloads::MemberUpdatePayloadResolver"]],["impl UnwindSafe for MessageCreatePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::MessageCreatePayload"]],["impl UnwindSafe for MessageCreatePayloadResolver",1,["client_sdk::models::gateway::message::server_msg_payloads::MessageCreatePayloadResolver"]],["impl UnwindSafe for MessageDeletePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::MessageDeletePayload"]],["impl UnwindSafe for MessageDeletePayloadResolver",1,["client_sdk::models::gateway::message::server_msg_payloads::MessageDeletePayloadResolver"]],["impl UnwindSafe for MessageReactionAddPayload",1,["client_sdk::models::gateway::message::server_msg_payloads::MessageReactionAddPayload"]],["impl UnwindSafe for MessageReactionAddPayloadResolver",1,["client_sdk::models::gateway::message::server_msg_payloads::MessageReactionAddPayloadResolver"]],["impl UnwindSafe for MessageReactionRemoveAllPayload",1,["client_sdk::models::gateway::message::server_msg_payloads::MessageReactionRemoveAllPayload"]],["impl UnwindSafe for MessageReactionRemoveAllPayloadResolver",1,["client_sdk::models::gateway::message::server_msg_payloads::MessageReactionRemoveAllPayloadResolver"]],["impl UnwindSafe for MessageReactionRemoveEmotePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::MessageReactionRemoveEmotePayload"]],["impl UnwindSafe for MessageReactionRemoveEmotePayloadResolver",1,["client_sdk::models::gateway::message::server_msg_payloads::MessageReactionRemoveEmotePayloadResolver"]],["impl UnwindSafe for MessageReactionRemovePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::MessageReactionRemovePayload"]],["impl UnwindSafe for MessageReactionRemovePayloadResolver",1,["client_sdk::models::gateway::message::server_msg_payloads::MessageReactionRemovePayloadResolver"]],["impl UnwindSafe for MessageUpdatePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::MessageUpdatePayload"]],["impl UnwindSafe for MessageUpdatePayloadResolver",1,["client_sdk::models::gateway::message::server_msg_payloads::MessageUpdatePayloadResolver"]],["impl UnwindSafe for PartyCreatePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::PartyCreatePayload"]],["impl UnwindSafe for PartyCreatePayloadResolver",1,["client_sdk::models::gateway::message::server_msg_payloads::PartyCreatePayloadResolver"]],["impl UnwindSafe for PartyDeletePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::PartyDeletePayload"]],["impl UnwindSafe for PartyDeletePayloadResolver",1,["client_sdk::models::gateway::message::server_msg_payloads::PartyDeletePayloadResolver"]],["impl UnwindSafe for PartyUpdatePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::PartyUpdatePayload"]],["impl UnwindSafe for PartyUpdatePayloadResolver",1,["client_sdk::models::gateway::message::server_msg_payloads::PartyUpdatePayloadResolver"]],["impl UnwindSafe for PresenceUpdatePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::PresenceUpdatePayload"]],["impl UnwindSafe for PresenceUpdatePayloadResolver",1,["client_sdk::models::gateway::message::server_msg_payloads::PresenceUpdatePayloadResolver"]],["impl UnwindSafe for ProfileUpdatePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ProfileUpdatePayload"]],["impl UnwindSafe for ProfileUpdatePayloadResolver",1,["client_sdk::models::gateway::message::server_msg_payloads::ProfileUpdatePayloadResolver"]],["impl UnwindSafe for ReadyPayload",1,["client_sdk::models::gateway::message::server_msg_payloads::ReadyPayload"]],["impl UnwindSafe for ReadyPayloadResolver",1,["client_sdk::models::gateway::message::server_msg_payloads::ReadyPayloadResolver"]],["impl UnwindSafe for RelationAddPayload",1,["client_sdk::models::gateway::message::server_msg_payloads::RelationAddPayload"]],["impl UnwindSafe for RelationAddPayloadResolver",1,["client_sdk::models::gateway::message::server_msg_payloads::RelationAddPayloadResolver"]],["impl UnwindSafe for RelationRemovePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::RelationRemovePayload"]],["impl UnwindSafe for RelationRemovePayloadResolver",1,["client_sdk::models::gateway::message::server_msg_payloads::RelationRemovePayloadResolver"]],["impl UnwindSafe for RoleCreatePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::RoleCreatePayload"]],["impl UnwindSafe for RoleCreatePayloadResolver",1,["client_sdk::models::gateway::message::server_msg_payloads::RoleCreatePayloadResolver"]],["impl UnwindSafe for RoleDeletePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::RoleDeletePayload"]],["impl UnwindSafe for RoleDeletePayloadResolver",1,["client_sdk::models::gateway::message::server_msg_payloads::RoleDeletePayloadResolver"]],["impl UnwindSafe for RoleUpdatePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::RoleUpdatePayload"]],["impl UnwindSafe for RoleUpdatePayloadResolver",1,["client_sdk::models::gateway::message::server_msg_payloads::RoleUpdatePayloadResolver"]],["impl UnwindSafe for RoomCreatePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::RoomCreatePayload"]],["impl UnwindSafe for RoomCreatePayloadResolver",1,["client_sdk::models::gateway::message::server_msg_payloads::RoomCreatePayloadResolver"]],["impl UnwindSafe for RoomDeletePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::RoomDeletePayload"]],["impl UnwindSafe for RoomDeletePayloadResolver",1,["client_sdk::models::gateway::message::server_msg_payloads::RoomDeletePayloadResolver"]],["impl UnwindSafe for RoomPinsUpdatePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::RoomPinsUpdatePayload"]],["impl UnwindSafe for RoomPinsUpdatePayloadResolver",1,["client_sdk::models::gateway::message::server_msg_payloads::RoomPinsUpdatePayloadResolver"]],["impl UnwindSafe for RoomUpdatePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::RoomUpdatePayload"]],["impl UnwindSafe for RoomUpdatePayloadResolver",1,["client_sdk::models::gateway::message::server_msg_payloads::RoomUpdatePayloadResolver"]],["impl UnwindSafe for TypingStartPayload",1,["client_sdk::models::gateway::message::server_msg_payloads::TypingStartPayload"]],["impl UnwindSafe for TypingStartPayloadResolver",1,["client_sdk::models::gateway::message::server_msg_payloads::TypingStartPayloadResolver"]],["impl UnwindSafe for UserUpdatePayload",1,["client_sdk::models::gateway::message::server_msg_payloads::UserUpdatePayload"]],["impl UnwindSafe for UserUpdatePayloadResolver",1,["client_sdk::models::gateway::message::server_msg_payloads::UserUpdatePayloadResolver"]],["impl UnwindSafe for ArchivedIntent",1,["client_sdk::models::gateway::ArchivedIntent"]],["impl UnwindSafe for Intent",1,["client_sdk::models::gateway::Intent"]],["impl UnwindSafe for ArchivedInvite",1,["client_sdk::models::invite::ArchivedInvite"]],["impl UnwindSafe for Invite",1,["client_sdk::models::invite::Invite"]],["impl UnwindSafe for InviteResolver",1,["client_sdk::models::invite::InviteResolver"]],["impl UnwindSafe for ArchivedAttachment",1,["client_sdk::models::message::ArchivedAttachment"]],["impl UnwindSafe for ArchivedMessage",1,["client_sdk::models::message::ArchivedMessage"]],["impl UnwindSafe for ArchivedMessageFlags",1,["client_sdk::models::message::ArchivedMessageFlags"]],["impl UnwindSafe for ArchivedReactionFull",1,["client_sdk::models::message::ArchivedReactionFull"]],["impl UnwindSafe for ArchivedReactionShorthand",1,["client_sdk::models::message::ArchivedReactionShorthand"]],["impl UnwindSafe for Attachment",1,["client_sdk::models::message::Attachment"]],["impl UnwindSafe for AttachmentResolver",1,["client_sdk::models::message::AttachmentResolver"]],["impl UnwindSafe for Message",1,["client_sdk::models::message::Message"]],["impl UnwindSafe for MessageFlags",1,["client_sdk::models::message::MessageFlags"]],["impl UnwindSafe for MessageResolver",1,["client_sdk::models::message::MessageResolver"]],["impl UnwindSafe for ReactionFull",1,["client_sdk::models::message::ReactionFull"]],["impl UnwindSafe for ReactionFullResolver",1,["client_sdk::models::message::ReactionFullResolver"]],["impl UnwindSafe for ReactionShorthand",1,["client_sdk::models::message::ReactionShorthand"]],["impl UnwindSafe for ReactionShorthandResolver",1,["client_sdk::models::message::ReactionShorthandResolver"]],["impl UnwindSafe for ArchivedPartialParty",1,["client_sdk::models::party::ArchivedPartialParty"]],["impl UnwindSafe for ArchivedParty",1,["client_sdk::models::party::ArchivedParty"]],["impl UnwindSafe for ArchivedPartyFlags",1,["client_sdk::models::party::ArchivedPartyFlags"]],["impl UnwindSafe for ArchivedPartyMember",1,["client_sdk::models::party::ArchivedPartyMember"]],["impl UnwindSafe for ArchivedPartyMemberFlags",1,["client_sdk::models::party::ArchivedPartyMemberFlags"]],["impl UnwindSafe for ArchivedPartyPreferences",1,["client_sdk::models::party::prefs::ArchivedPartyPreferences"]],["impl UnwindSafe for ArchivedPartyPrefsFlags",1,["client_sdk::models::party::prefs::ArchivedPartyPrefsFlags"]],["impl UnwindSafe for ArchivedPinFolder",1,["client_sdk::models::party::ArchivedPinFolder"]],["impl UnwindSafe for ArchivedPinFolderFlags",1,["client_sdk::models::party::ArchivedPinFolderFlags"]],["impl UnwindSafe for PartialParty",1,["client_sdk::models::party::PartialParty"]],["impl UnwindSafe for PartialPartyResolver",1,["client_sdk::models::party::PartialPartyResolver"]],["impl UnwindSafe for Party",1,["client_sdk::models::party::Party"]],["impl UnwindSafe for PartyFlags",1,["client_sdk::models::party::PartyFlags"]],["impl UnwindSafe for PartyMember",1,["client_sdk::models::party::PartyMember"]],["impl UnwindSafe for PartyMemberFlags",1,["client_sdk::models::party::PartyMemberFlags"]],["impl UnwindSafe for PartyMemberResolver",1,["client_sdk::models::party::PartyMemberResolver"]],["impl UnwindSafe for PartyPreferences",1,["client_sdk::models::party::prefs::PartyPreferences"]],["impl UnwindSafe for PartyPreferencesResolver",1,["client_sdk::models::party::prefs::PartyPreferencesResolver"]],["impl UnwindSafe for PartyPrefsFlags",1,["client_sdk::models::party::prefs::PartyPrefsFlags"]],["impl UnwindSafe for PartyResolver",1,["client_sdk::models::party::PartyResolver"]],["impl UnwindSafe for PinFolder",1,["client_sdk::models::party::PinFolder"]],["impl UnwindSafe for PinFolderFlags",1,["client_sdk::models::party::PinFolderFlags"]],["impl UnwindSafe for PinFolderResolver",1,["client_sdk::models::party::PinFolderResolver"]],["impl UnwindSafe for ArchivedOverwrite",1,["client_sdk::models::permission::ArchivedOverwrite"]],["impl UnwindSafe for ArchivedPermissions",1,["client_sdk::models::permission::ArchivedPermissions"]],["impl UnwindSafe for Overwrite",1,["client_sdk::models::permission::Overwrite"]],["impl UnwindSafe for OverwriteResolver",1,["client_sdk::models::permission::OverwriteResolver"]],["impl UnwindSafe for Permissions",1,["client_sdk::models::permission::Permissions"]],["impl UnwindSafe for Activity",1,["client_sdk::models::presence::Activity"]],["impl UnwindSafe for ActivityResolver",1,["client_sdk::models::presence::ActivityResolver"]],["impl UnwindSafe for ArchivedActivity",1,["client_sdk::models::presence::ArchivedActivity"]],["impl UnwindSafe for ArchivedUserPresence",1,["client_sdk::models::presence::ArchivedUserPresence"]],["impl UnwindSafe for ArchivedUserPresenceFlags",1,["client_sdk::models::presence::ArchivedUserPresenceFlags"]],["impl UnwindSafe for UserPresence",1,["client_sdk::models::presence::UserPresence"]],["impl UnwindSafe for UserPresenceFlags",1,["client_sdk::models::presence::UserPresenceFlags"]],["impl UnwindSafe for UserPresenceResolver",1,["client_sdk::models::presence::UserPresenceResolver"]],["impl UnwindSafe for ArchivedRole",1,["client_sdk::models::role::ArchivedRole"]],["impl UnwindSafe for ArchivedRoleFlags",1,["client_sdk::models::role::ArchivedRoleFlags"]],["impl UnwindSafe for Role",1,["client_sdk::models::role::Role"]],["impl UnwindSafe for RoleFlags",1,["client_sdk::models::role::RoleFlags"]],["impl UnwindSafe for RoleResolver",1,["client_sdk::models::role::RoleResolver"]],["impl UnwindSafe for ArchivedFullRoom",1,["client_sdk::models::room::ArchivedFullRoom"]],["impl UnwindSafe for ArchivedRoom",1,["client_sdk::models::room::ArchivedRoom"]],["impl UnwindSafe for ArchivedRoomFlags",1,["client_sdk::models::room::ArchivedRoomFlags"]],["impl UnwindSafe for FullRoom",1,["client_sdk::models::room::FullRoom"]],["impl UnwindSafe for FullRoomResolver",1,["client_sdk::models::room::FullRoomResolver"]],["impl UnwindSafe for Room",1,["client_sdk::models::room::Room"]],["impl UnwindSafe for RoomFlags",1,["client_sdk::models::room::RoomFlags"]],["impl UnwindSafe for RoomResolver",1,["client_sdk::models::room::RoomResolver"]],["impl UnwindSafe for AnonymousSession",1,["client_sdk::models::session::AnonymousSession"]],["impl UnwindSafe for AnonymousSessionResolver",1,["client_sdk::models::session::AnonymousSessionResolver"]],["impl UnwindSafe for ArchivedAnonymousSession",1,["client_sdk::models::session::ArchivedAnonymousSession"]],["impl UnwindSafe for ArchivedSession",1,["client_sdk::models::session::ArchivedSession"]],["impl UnwindSafe for Session",1,["client_sdk::models::session::Session"]],["impl UnwindSafe for SessionResolver",1,["client_sdk::models::session::SessionResolver"]],["impl UnwindSafe for ArchivedRoomStatistics",1,["client_sdk::models::stats::ArchivedRoomStatistics"]],["impl UnwindSafe for RoomStatistics",1,["client_sdk::models::stats::RoomStatistics"]],["impl UnwindSafe for RoomStatisticsResolver",1,["client_sdk::models::stats::RoomStatisticsResolver"]],["impl UnwindSafe for Statistics",1,["client_sdk::models::stats::Statistics"]],["impl UnwindSafe for FxRandomState2",1,["client_sdk::models::FxRandomState2"]],["impl UnwindSafe for ArchivedThread",1,["client_sdk::models::thread::ArchivedThread"]],["impl UnwindSafe for ArchivedThreadFlags",1,["client_sdk::models::thread::ArchivedThreadFlags"]],["impl UnwindSafe for Thread",1,["client_sdk::models::thread::Thread"]],["impl UnwindSafe for ThreadFlags",1,["client_sdk::models::thread::ThreadFlags"]],["impl UnwindSafe for ThreadResolver",1,["client_sdk::models::thread::ThreadResolver"]],["impl UnwindSafe for ArchivedFontSize",1,["client_sdk::models::user::prefs::preferences::ArchivedFontSize"]],["impl UnwindSafe for ArchivedPadding",1,["client_sdk::models::user::prefs::preferences::ArchivedPadding"]],["impl UnwindSafe for ArchivedTabSize",1,["client_sdk::models::user::prefs::preferences::ArchivedTabSize"]],["impl UnwindSafe for ArchivedTemperature",1,["client_sdk::models::user::prefs::preferences::ArchivedTemperature"]],["impl UnwindSafe for FontSize",1,["client_sdk::models::user::prefs::preferences::FontSize"]],["impl UnwindSafe for FontSizeResolver",1,["client_sdk::models::user::prefs::preferences::FontSizeResolver"]],["impl UnwindSafe for Padding",1,["client_sdk::models::user::prefs::preferences::Padding"]],["impl UnwindSafe for PaddingResolver",1,["client_sdk::models::user::prefs::preferences::PaddingResolver"]],["impl UnwindSafe for TabSize",1,["client_sdk::models::user::prefs::preferences::TabSize"]],["impl UnwindSafe for TabSizeResolver",1,["client_sdk::models::user::prefs::preferences::TabSizeResolver"]],["impl UnwindSafe for Temperature",1,["client_sdk::models::user::prefs::preferences::Temperature"]],["impl UnwindSafe for TemperatureResolver",1,["client_sdk::models::user::prefs::preferences::TemperatureResolver"]],["impl UnwindSafe for ArchivedExtraUserProfileBits",1,["client_sdk::models::user::ArchivedExtraUserProfileBits"]],["impl UnwindSafe for ArchivedFont",1,["client_sdk::models::user::prefs::font_impl::ArchivedFont"]],["impl UnwindSafe for ArchivedFriendAddability",1,["client_sdk::models::user::prefs::friend_addability_impl::ArchivedFriendAddability"]],["impl UnwindSafe for ArchivedLocale",1,["client_sdk::models::user::prefs::locale_impl::ArchivedLocale"]],["impl UnwindSafe for ArchivedRelationship",1,["client_sdk::models::user::ArchivedRelationship"]],["impl UnwindSafe for ArchivedUser",1,["client_sdk::models::user::ArchivedUser"]],["impl UnwindSafe for ArchivedUserFlags",1,["client_sdk::models::user::ArchivedUserFlags"]],["impl UnwindSafe for ArchivedUserPreferences",1,["client_sdk::models::user::prefs::ArchivedUserPreferences"]],["impl UnwindSafe for ArchivedUserPrefsFlags",1,["client_sdk::models::user::prefs::ArchivedUserPrefsFlags"]],["impl UnwindSafe for ArchivedUserProfile",1,["client_sdk::models::user::ArchivedUserProfile"]],["impl UnwindSafe for ArchivedUserProfileBits",1,["client_sdk::models::user::ArchivedUserProfileBits"]],["impl UnwindSafe for ArchivedUserRelationship",1,["client_sdk::models::user::user_relationship_impl::ArchivedUserRelationship"]],["impl UnwindSafe for ExtraUserProfileBits",1,["client_sdk::models::user::ExtraUserProfileBits"]],["impl UnwindSafe for Relationship",1,["client_sdk::models::user::Relationship"]],["impl UnwindSafe for RelationshipResolver",1,["client_sdk::models::user::RelationshipResolver"]],["impl UnwindSafe for User",1,["client_sdk::models::user::User"]],["impl UnwindSafe for UserFlags",1,["client_sdk::models::user::UserFlags"]],["impl UnwindSafe for UserPreferences",1,["client_sdk::models::user::prefs::UserPreferences"]],["impl UnwindSafe for UserPreferencesResolver",1,["client_sdk::models::user::prefs::UserPreferencesResolver"]],["impl UnwindSafe for UserPrefsFlags",1,["client_sdk::models::user::prefs::UserPrefsFlags"]],["impl UnwindSafe for UserProfile",1,["client_sdk::models::user::UserProfile"]],["impl UnwindSafe for UserProfileBits",1,["client_sdk::models::user::UserProfileBits"]],["impl UnwindSafe for UserProfileResolver",1,["client_sdk::models::user::UserProfileResolver"]],["impl UnwindSafe for UserResolver",1,["client_sdk::models::user::UserResolver"]],["impl UnwindSafe for FromUtf8Error",1,["client_sdk::models::util::thin_str::FromUtf8Error"]],["impl UnwindSafe for ThinString",1,["client_sdk::models::util::thin_str::ThinString"]],["impl<'a> UnwindSafe for Argument<'a>",1,["client_sdk::framework_utils::args::Argument"]],["impl<'a> UnwindSafe for ArgumentSplitter<'a>",1,["client_sdk::framework_utils::args::ArgumentSplitter"]],["impl<C, U = (), S = ()> !UnwindSafe for DynamicClientMsgHandlers<C, U, S>",1,["client_sdk::models::gateway::message::DynamicClientMsgHandlers"]],["impl<C, U = (), S = ()> !UnwindSafe for DynamicServerMsgHandlers<C, U, S>",1,["client_sdk::models::gateway::message::DynamicServerMsgHandlers"]],["impl<H, E = StandardError> !UnwindSafe for Standard<H, E>",1,["client_sdk::framework::standard::Standard"]],["impl<T> UnwindSafe for Nullable<T>
where\n T: UnwindSafe,
",1,["client_sdk::models::nullable::Nullable"]],["impl<const N: usize> UnwindSafe for FixedStr<N>",1,["client_sdk::models::util::fixed_str::FixedStr"]]]]]); + if (window.register_implementors) { + window.register_implementors(implementors); + } else { + window.pending_implementors = implementors; + } +})() +//{"start":57,"fragment_lengths":[289461]} \ No newline at end of file diff --git a/trait.impl/core/str/traits/trait.FromStr.js b/trait.impl/core/str/traits/trait.FromStr.js new file mode 100644 index 000000000..bda375eee --- /dev/null +++ b/trait.impl/core/str/traits/trait.FromStr.js @@ -0,0 +1,9 @@ +(function() { + var implementors = Object.fromEntries([["client_sdk",[["impl FromStr for AuthToken"],["impl FromStr for EmoteOrEmoji"]]]]); + if (window.register_implementors) { + window.register_implementors(implementors); + } else { + window.pending_implementors = implementors; + } +})() +//{"start":57,"fragment_lengths":[629]} \ No newline at end of file diff --git a/trait.impl/futures_core/stream/trait.Stream.js b/trait.impl/futures_core/stream/trait.Stream.js new file mode 100644 index 000000000..6a40e7d81 --- /dev/null +++ b/trait.impl/futures_core/stream/trait.Stream.js @@ -0,0 +1,9 @@ +(function() { + var implementors = Object.fromEntries([["client_sdk",[["impl Stream for GatewayConnection"],["impl Stream for GatewaySocket"]]]]); + if (window.register_implementors) { + window.register_implementors(implementors); + } else { + window.pending_implementors = implementors; + } +})() +//{"start":57,"fragment_lengths":[356]} \ No newline at end of file diff --git a/trait.impl/futures_sink/trait.Sink.js b/trait.impl/futures_sink/trait.Sink.js new file mode 100644 index 000000000..1567f4884 --- /dev/null +++ b/trait.impl/futures_sink/trait.Sink.js @@ -0,0 +1,9 @@ +(function() { + var implementors = Object.fromEntries([["client_sdk",[["impl Sink<ClientMsg> for GatewayConnection"],["impl Sink<ClientMsg> for GatewaySocket"]]]]); + if (window.register_implementors) { + window.register_implementors(implementors); + } else { + window.pending_implementors = implementors; + } +})() +//{"start":57,"fragment_lengths":[682]} \ No newline at end of file diff --git a/trait.impl/num_traits/cast/trait.FromPrimitive.js b/trait.impl/num_traits/cast/trait.FromPrimitive.js new file mode 100644 index 000000000..3260f7908 --- /dev/null +++ b/trait.impl/num_traits/cast/trait.FromPrimitive.js @@ -0,0 +1,9 @@ +(function() { + var implementors = Object.fromEntries([["client_sdk",[["impl FromPrimitive for ApiErrorCode"],["impl FromPrimitive for GatewayErrorCode"],["impl FromPrimitive for MessageKind"],["impl FromPrimitive for RoomKind"],["impl FromPrimitive for UserRelationship"]]]]); + if (window.register_implementors) { + window.register_implementors(implementors); + } else { + window.pending_implementors = implementors; + } +})() +//{"start":57,"fragment_lengths":[1633]} \ No newline at end of file diff --git a/trait.impl/num_traits/cast/trait.ToPrimitive.js b/trait.impl/num_traits/cast/trait.ToPrimitive.js new file mode 100644 index 000000000..881d6073a --- /dev/null +++ b/trait.impl/num_traits/cast/trait.ToPrimitive.js @@ -0,0 +1,9 @@ +(function() { + var implementors = Object.fromEntries([["client_sdk",[["impl ToPrimitive for ApiErrorCode"],["impl ToPrimitive for GatewayErrorCode"],["impl ToPrimitive for MessageKind"],["impl ToPrimitive for RoomKind"],["impl ToPrimitive for UserRelationship"]]]]); + if (window.register_implementors) { + window.register_implementors(implementors); + } else { + window.pending_implementors = implementors; + } +})() +//{"start":57,"fragment_lengths":[1603]} \ No newline at end of file diff --git a/trait.impl/postgres_types/trait.FromSql.js b/trait.impl/postgres_types/trait.FromSql.js new file mode 100644 index 000000000..49d859456 --- /dev/null +++ b/trait.impl/postgres_types/trait.FromSql.js @@ -0,0 +1,9 @@ +(function() { + var implementors = Object.fromEntries([["client_sdk",[["impl<'a> FromSql<'a> for UserRelationship"],["impl<'a> FromSql<'a> for AssetFlags"],["impl<'a> FromSql<'a> for EmbedFlags"],["impl<'a> FromSql<'a> for EmoteFlags"],["impl<'a> FromSql<'a> for Intent"],["impl<'a> FromSql<'a> for MessageFlags"],["impl<'a> FromSql<'a> for PartyFlags"],["impl<'a> FromSql<'a> for PartyMemberFlags"],["impl<'a> FromSql<'a> for PartyPrefsFlags"],["impl<'a> FromSql<'a> for PinFolderFlags"],["impl<'a> FromSql<'a> for RoleFlags"],["impl<'a> FromSql<'a> for RoomFlags"],["impl<'a> FromSql<'a> for ThreadFlags"],["impl<'a> FromSql<'a> for ExtraUserProfileBits"],["impl<'a> FromSql<'a> for UserPrefsFlags"],["impl<'a> FromSql<'a> for UserProfileBits"],["impl<'a> FromSql<'a> for ThinString"],["impl<'a, T: FromSql<'a>> FromSql<'a> for Nullable<T>"]]]]); + if (window.register_implementors) { + window.register_implementors(implementors); + } else { + window.pending_implementors = implementors; + } +})() +//{"start":57,"fragment_lengths":[3534]} \ No newline at end of file diff --git a/trait.impl/postgres_types/trait.ToSql.js b/trait.impl/postgres_types/trait.ToSql.js new file mode 100644 index 000000000..e1ccecf1d --- /dev/null +++ b/trait.impl/postgres_types/trait.ToSql.js @@ -0,0 +1,9 @@ +(function() { + var implementors = Object.fromEntries([["client_sdk",[["impl ToSql for UserRelationship"],["impl ToSql for ArchivedAssetFlags"],["impl ToSql for AssetFlags"],["impl ToSql for ArchivedEmbedFlags"],["impl ToSql for EmbedFlags"],["impl ToSql for ArchivedEmoteFlags"],["impl ToSql for EmoteFlags"],["impl ToSql for ArchivedIntent"],["impl ToSql for Intent"],["impl ToSql for ArchivedMessageFlags"],["impl ToSql for MessageFlags"],["impl ToSql for ArchivedPartyFlags"],["impl ToSql for ArchivedPartyMemberFlags"],["impl ToSql for ArchivedPartyPrefsFlags"],["impl ToSql for ArchivedPinFolderFlags"],["impl ToSql for PartyFlags"],["impl ToSql for PartyMemberFlags"],["impl ToSql for PartyPrefsFlags"],["impl ToSql for PinFolderFlags"],["impl ToSql for ArchivedRoleFlags"],["impl ToSql for RoleFlags"],["impl ToSql for ArchivedRoomFlags"],["impl ToSql for RoomFlags"],["impl ToSql for ArchivedThreadFlags"],["impl ToSql for ThreadFlags"],["impl ToSql for ArchivedExtraUserProfileBits"],["impl ToSql for ArchivedUserPrefsFlags"],["impl ToSql for ArchivedUserProfileBits"],["impl ToSql for ExtraUserProfileBits"],["impl ToSql for UserPrefsFlags"],["impl ToSql for UserProfileBits"],["impl ToSql for ThinString"],["impl<T: ToSql> ToSql for Nullable<T>"]]]]); + if (window.register_implementors) { + window.register_implementors(implementors); + } else { + window.pending_implementors = implementors; + } +})() +//{"start":57,"fragment_lengths":[6067]} \ No newline at end of file diff --git a/trait.impl/rkyv/traits/trait.Archive.js b/trait.impl/rkyv/traits/trait.Archive.js new file mode 100644 index 000000000..ebc26120b --- /dev/null +++ b/trait.impl/rkyv/traits/trait.Archive.js @@ -0,0 +1,9 @@ +(function() { + var implementors = Object.fromEntries([["client_sdk",[["impl Archive for CreateRoomKind"],["impl Archive for BannerAlign"],["impl Archive for ApiErrorCode"],["impl Archive for AuthToken
where\n BearerToken: Archive,\n BotToken: Archive,
"],["impl Archive for Embed
where\n EmbedV1: Archive,
"],["impl Archive for EmbedType"],["impl Archive for Emote
where\n SmolStr: Archive,\n CustomEmote: Archive,
"],["impl Archive for Cursor
where\n Snowflake: Archive,
"],["impl Archive for PartyUpdateEvent
where\n PartyPositionUpdate: Archive,\n Party: Archive,
"],["impl Archive for ClientMsg
where\n HeartbeatPayload: Archive,\n IdentifyPayload: Archive,\n ResumePayload: Archive,\n SetPresencePayload: Archive,\n SubscribePayload: Archive,\n UnsubscribePayload: Archive,
"],["impl Archive for ServerMsg
where\n HelloPayload: Archive,\n HeartbeatAckPayload: Archive,\n ReadyPayload: Archive,\n InvalidSessionPayload: Archive,\n PartyCreatePayload: Archive,\n PartyUpdatePayload: Archive,\n PartyDeletePayload: Archive,\n RoleCreatePayload: Archive,\n RoleUpdatePayload: Archive,\n RoleDeletePayload: Archive,\n MemberAddPayload: Archive,\n MemberUpdatePayload: Archive,\n MemberRemovePayload: Archive,\n MemberBanPayload: Archive,\n MemberUnbanPayload: Archive,\n RoomCreatePayload: Archive,\n RoomUpdatePayload: Archive,\n RoomDeletePayload: Archive,\n RoomPinsUpdatePayload: Archive,\n MessageCreatePayload: Archive,\n MessageUpdatePayload: Archive,\n MessageDeletePayload: Archive,\n MessageReactionAddPayload: Archive,\n MessageReactionRemovePayload: Archive,\n MessageReactionRemoveAllPayload: Archive,\n MessageReactionRemoveEmotePayload: Archive,\n PresenceUpdatePayload: Archive,\n TypingStartPayload: Archive,\n UserUpdatePayload: Archive,\n ProfileUpdatePayload: Archive,\n RelationAddPayload: Archive,\n RelationRemovePayload: Archive,
"],["impl Archive for EmoteOrEmoji
where\n EmoteId: Archive,\n SmolStr: Archive,
"],["impl Archive for MessageKind"],["impl Archive for Reaction
where\n ReactionShorthand: Archive,\n ReactionFull: Archive,
"],["impl Archive for AnyActivity
where\n Activity: Archive,
"],["impl Archive for RoomKind"],["impl Archive for Font"],["impl Archive for FriendAddability"],["impl Archive for Locale"],["impl Archive for UserRelationship"],["impl Archive for GetServerConfig"],["impl Archive for CreateFile
where\n CreateFileBody: Archive,
"],["impl Archive for CreateFileBody
where\n SmolStr: Archive,\n i32: Archive,\n Option<SmolStr>: Archive,\n Option<i32>: Archive,\n Option<String>: Archive,
"],["impl Archive for FileStatus
where\n u32: Archive,\n u64: Archive,
"],["impl Archive for FilesystemStatus
where\n i64: Archive,
"],["impl Archive for GetFileStatus
where\n FileId: Archive,
"],["impl Archive for GetFilesystemStatus"],["impl Archive for GetInvite
where\n SmolStr: Archive,
"],["impl Archive for RedeemInvite
where\n SmolStr: Archive,\n RedeemInviteBody: Archive,
"],["impl Archive for RedeemInviteBody
where\n Option<SmolStr>: Archive,
"],["impl Archive for RevokeInvite
where\n SmolStr: Archive,
"],["impl Archive for CreateParty
where\n CreatePartyForm: Archive,
"],["impl Archive for CreatePartyForm
where\n SmolStr: Archive,\n Option<ThinString>: Archive,\n PartyFlags: Archive,
"],["impl Archive for CreatePartyInvite
where\n PartyId: Archive,\n CreatePartyInviteBody: Archive,
"],["impl Archive for CreatePartyInviteBody
where\n Option<u16>: Archive,\n Option<u64>: Archive,\n Option<SmolStr>: Archive,
"],["impl Archive for CreatePinFolder
where\n PartyId: Archive,\n CreatePinFolderForm: Archive,
"],["impl Archive for CreatePinFolderForm
where\n SmolStr: Archive,\n Option<SmolStr>: Archive,
"],["impl Archive for CreateRole
where\n PartyId: Archive,\n CreateRoleForm: Archive,
"],["impl Archive for CreateRoleForm
where\n SmolStr: Archive,
"],["impl Archive for CreateRoom
where\n PartyId: Archive,\n CreateRoomForm: Archive,
"],["impl Archive for CreateRoomForm
where\n SmolStr: Archive,\n Option<SmolStr>: Archive,\n CreateRoomKind: Archive,\n ThinVec<Overwrite>: Archive,\n i16: Archive,
"],["impl Archive for DeleteParty
where\n PartyId: Archive,
"],["impl Archive for DeleteRole
where\n PartyId: Archive,\n RoleId: Archive,
"],["impl Archive for GetMemberProfile
where\n PartyId: Archive,\n UserId: Archive,
"],["impl Archive for GetParty
where\n PartyId: Archive,
"],["impl Archive for GetPartyInvites
where\n PartyId: Archive,
"],["impl Archive for GetPartyMember
where\n PartyId: Archive,\n UserId: Archive,
"],["impl Archive for GetPartyMembers
where\n PartyId: Archive,
"],["impl Archive for GetPartyRooms
where\n PartyId: Archive,
"],["impl Archive for PartySettings
where\n PartyFlags: Archive,\n PartyPreferences: Archive,
"],["impl Archive for PatchParty
where\n PartyId: Archive,\n PatchPartyForm: Archive,
"],["impl Archive for PatchPartyForm
where\n Option<SmolStr>: Archive,\n Nullable<SmolStr>: Archive,\n Option<PartyFlags>: Archive,\n Option<RoomId>: Archive,\n Nullable<FileId>: Archive,\n BannerAlign: Archive,
"],["impl Archive for PatchRole
where\n PartyId: Archive,\n RoleId: Archive,\n PatchRoleForm: Archive,
"],["impl Archive for PatchRoleForm
where\n Option<RoleFlags>: Archive,\n Option<SmolStr>: Archive,\n Option<u32>: Archive,\n Option<Permissions>: Archive,\n Nullable<FileId>: Archive,\n Option<u8>: Archive,
"],["impl Archive for SearchParty
where\n PartyId: Archive,\n SearchQuery: Archive,
"],["impl Archive for SearchQuery
where\n ThinString: Archive,
"],["impl Archive for TransferOwnership
where\n PartyId: Archive,\n UserId: Archive,
"],["impl Archive for UpdateMemberProfile
where\n PartyId: Archive,\n UpdateMemberProfileBody: Archive,
"],["impl Archive for UpdateMemberProfileBody
where\n UpdateUserProfileBody: Archive,
"],["impl Archive for CreateMessage
where\n RoomId: Archive,\n CreateMessageBody: Archive,
"],["impl Archive for CreateMessageBody
where\n SmolStr: Archive,\n Option<RoomId>: Archive,\n ThinVec<FileId>: Archive,\n ThinVec<Embed>: Archive,\n bool: Archive,
"],["impl Archive for DeleteAllReactions
where\n RoomId: Archive,\n MessageId: Archive,
"],["impl Archive for DeleteMessage
where\n RoomId: Archive,\n MessageId: Archive,
"],["impl Archive for DeleteOwnReaction
where\n RoomId: Archive,\n MessageId: Archive,\n EmoteOrEmoji: Archive,
"],["impl Archive for DeleteRoom
where\n RoomId: Archive,
"],["impl Archive for DeleteUserReaction
where\n RoomId: Archive,\n MessageId: Archive,\n EmoteOrEmoji: Archive,\n UserId: Archive,
"],["impl Archive for EditMessage
where\n RoomId: Archive,\n MessageId: Archive,\n EditMessageBody: Archive,
"],["impl Archive for EditMessageBody
where\n SmolStr: Archive,\n ThinVec<FileId>: Archive,
"],["impl Archive for GetMessage
where\n RoomId: Archive,\n MessageId: Archive,
"],["impl Archive for GetMessages
where\n RoomId: Archive,\n GetMessagesQuery: Archive,
"],["impl Archive for GetMessagesQuery
where\n Option<Cursor>: Archive,\n Option<MessageId>: Archive,\n Option<u8>: Archive,\n ThinVec<FolderId>: Archive,\n bool: Archive,\n u8: Archive,
"],["impl Archive for GetReactions
where\n RoomId: Archive,\n MessageId: Archive,\n EmoteOrEmoji: Archive,\n GetReactionsForm: Archive,
"],["impl Archive for GetReactionsForm
where\n Option<Snowflake>: Archive,\n Option<i8>: Archive,
"],["impl Archive for GetRoom
where\n RoomId: Archive,
"],["impl Archive for PatchRoom
where\n RoomId: Archive,\n PatchRoomForm: Archive,
"],["impl Archive for PatchRoomForm
where\n Option<SmolStr>: Archive,\n Nullable<SmolStr>: Archive,\n Nullable<FileId>: Archive,\n Option<u8>: Archive,\n ThinVec<Snowflake>: Archive,\n ThinVec<Overwrite>: Archive,\n Option<bool>: Archive,
"],["impl Archive for PinMessage
where\n RoomId: Archive,\n MessageId: Archive,\n FolderId: Archive,
"],["impl Archive for PutReaction
where\n RoomId: Archive,\n MessageId: Archive,\n EmoteOrEmoji: Archive,
"],["impl Archive for StarMessage
where\n RoomId: Archive,\n MessageId: Archive,
"],["impl Archive for StartTyping
where\n RoomId: Archive,\n StartTypingBody: Archive,
"],["impl Archive for StartTypingBody
where\n Option<MessageId>: Archive,
"],["impl Archive for UnpinMessage
where\n RoomId: Archive,\n MessageId: Archive,\n FolderId: Archive,
"],["impl Archive for UnstarMessage
where\n RoomId: Archive,\n MessageId: Archive,
"],["impl Archive for Added2FA
where\n String: Archive,\n Vec<String>: Archive,
"],["impl Archive for ChangePassword
where\n ChangePasswordForm: Archive,
"],["impl Archive for ChangePasswordForm
where\n SmolStr: Archive,\n Option<SmolStr>: Archive,
"],["impl Archive for ClearSessions
where\n ClearSessionsForm: Archive,
"],["impl Archive for ClearSessionsForm
where\n Option<SmolStr>: Archive,
"],["impl Archive for Confirm2FA
where\n Confirm2FAForm: Archive,
"],["impl Archive for Confirm2FAForm
where\n SmolStr: Archive,
"],["impl Archive for Enable2FA
where\n Enable2FAForm: Archive,
"],["impl Archive for Enable2FAForm
where\n SmolStr: Archive,\n String: Archive,
"],["impl Archive for GetRelationships"],["impl Archive for GetSessions"],["impl Archive for GetUser
where\n UserId: Archive,
"],["impl Archive for PatchRelationship
where\n UserId: Archive,\n PatchRelationshipBody: Archive,
"],["impl Archive for PatchRelationshipBody
where\n Nullable<UserRelationship>: Archive,\n Nullable<SmolStr>: Archive,
"],["impl Archive for Remove2FA
where\n Remove2FAForm: Archive,
"],["impl Archive for Remove2FAForm
where\n SmolStr: Archive,
"],["impl Archive for UpdateUserPrefs
where\n UpdateUserPrefsBody: Archive,
"],["impl Archive for UpdateUserPrefsBody
where\n UserPreferences: Archive,
"],["impl Archive for UpdateUserProfile
where\n UpdateUserProfileBody: Archive,
"],["impl Archive for UpdateUserProfileBody
where\n UserProfileBits: Archive,\n ExtraUserProfileBits: Archive,\n Nullable<SmolStr>: Archive,\n Nullable<FileId>: Archive,\n BannerAlign: Archive,
"],["impl Archive for UserLogin
where\n UserLoginForm: Archive,
"],["impl Archive for UserLoginForm
where\n SmolStr: Archive,\n Option<SmolStr>: Archive,
"],["impl Archive for UserLogout"],["impl Archive for UserRegister
where\n UserRegisterForm: Archive,
"],["impl Archive for UserRegisterForm
where\n SmolStr: Archive,\n Timestamp: Archive,\n String: Archive,
"],["impl Archive for ApiError
where\n ApiErrorCode: Archive,\n AsOwned: ArchiveWith<Cow<'static, str>>,
"],["impl Archive for CommandFlags"],["impl Archive for AssetFlags"],["impl Archive for ServerConfig
where\n HCaptchaSiteKey: Archive,\n SmolStr: Archive,\n u8: Archive,\n bool: Archive,\n ServerLimits: Archive,
"],["impl Archive for ServerLimits
where\n u64: Archive,\n u32: Archive,
"],["impl Archive for BasicEmbedMedia
where\n ThinString: Archive,\n Option<ThinString>: Archive,\n Option<UrlSignature>: Archive,\n Option<i32>: Archive,\n Option<SmolStr>: Archive,
"],["impl Archive for EmbedAuthor
where\n SmolStr: Archive,\n Option<ThinString>: Archive,\n Niche: ArchiveWith<Option<Box<EmbedMedia>>>,
"],["impl Archive for EmbedField
where\n SmolStr: Archive,\n Niche: ArchiveWith<Option<Box<EmbedMedia>>>,\n bool: Archive,
"],["impl Archive for EmbedFlags"],["impl Archive for EmbedFooter
where\n ThinString: Archive,\n Niche: ArchiveWith<Option<Box<EmbedMedia>>>,
"],["impl Archive for EmbedMedia
where\n BasicEmbedMedia: Archive,\n Vec<BasicEmbedMedia>: Archive,
"],["impl Archive for EmbedProvider
where\n Option<SmolStr>: Archive,\n Option<ThinString>: Archive,\n Niche: ArchiveWith<Option<Box<EmbedMedia>>>,
"],["impl Archive for EmbedV1
where\n Timestamp: Archive,\n EmbedType: Archive,\n EmbedFlags: Archive,\n Option<ThinString>: Archive,\n Option<u32>: Archive,\n Option<EmbedAuthor>: Archive,\n EmbedProvider: Archive,\n Niche: ArchiveWith<Option<Box<EmbedMedia>>>,\n Vec<EmbedField>: Archive,\n Option<EmbedFooter>: Archive,
"],["impl Archive for CustomEmote
where\n EmoteId: Archive,\n PartyId: Archive,\n FileId: Archive,\n SmolStr: Archive,\n EmoteFlags: Archive,\n f32: Archive,
"],["impl Archive for EmoteFlags"],["impl Archive for File
where\n FileId: Archive,\n SmolStr: Archive,\n i64: Archive,\n Option<SmolStr>: Archive,\n Option<i32>: Archive,\n Option<ThinString>: Archive,
"],["impl Archive for Identify
where\n AuthToken: Archive,\n Intent: Archive,
"],["impl Archive for SetPresence
where\n UserPresence: Archive,
"],["impl Archive for Hello
where\n u32: Archive,
"],["impl Archive for MessageDeleteEvent
where\n MessageId: Archive,\n RoomId: Archive,\n PartyId: Archive,
"],["impl Archive for PartyMemberEvent
where\n PartyId: Archive,\n PartyMember: Archive,
"],["impl Archive for PartyPositionUpdate
where\n PartyId: Archive,\n i16: Archive,
"],["impl Archive for ProfileUpdateEvent
where\n Option<PartyId>: Archive,\n User: Archive,
"],["impl Archive for Ready
where\n User: Archive,\n ThinVec<ReadyParty>: Archive,\n ThinVec<Room>: Archive,\n Snowflake: Archive,
"],["impl Archive for ReadyParty
where\n Party: Archive,\n PartyMember: Archive,
"],["impl Archive for RoleDeleteEvent
where\n RoleId: Archive,\n PartyId: Archive,
"],["impl Archive for RoomDeleteEvent
where\n RoomId: Archive,\n NicheSnowflake: ArchiveWith<Option<PartyId>>,
"],["impl Archive for TypingStart
where\n RoomId: Archive,\n PartyId: Archive,\n UserId: Archive,\n PartyMember: Archive,\n Option<MessageId>: Archive,
"],["impl Archive for UserPresenceEvent
where\n Option<PartyId>: Archive,\n User: Archive,
"],["impl Archive for UserReactionEvent
where\n UserId: Archive,\n RoomId: Archive,\n PartyId: Archive,\n MessageId: Archive,\n Niche: ArchiveWith<Option<Box<PartyMember>>>,\n EmoteOrEmoji: Archive,
"],["impl Archive for HeartbeatPayload"],["impl Archive for IdentifyPayload
where\n Box<Identify>: Archive,
"],["impl Archive for ResumePayload
where\n Snowflake: Archive,
"],["impl Archive for SetPresencePayload
where\n Box<SetPresence>: Archive,
"],["impl Archive for SubscribePayload
where\n PartyId: Archive,
"],["impl Archive for UnsubscribePayload
where\n PartyId: Archive,
"],["impl Archive for HeartbeatAckPayload"],["impl Archive for HelloPayload
where\n Hello: Archive,
"],["impl Archive for InvalidSessionPayload"],["impl Archive for MemberAddPayload
where\n Arc<PartyMemberEvent>: Archive,
"],["impl Archive for MemberBanPayload
where\n Arc<PartyMemberEvent>: Archive,
"],["impl Archive for MemberRemovePayload
where\n Arc<PartyMemberEvent>: Archive,
"],["impl Archive for MemberUnbanPayload
where\n Arc<PartyMemberEvent>: Archive,
"],["impl Archive for MemberUpdatePayload
where\n Arc<PartyMemberEvent>: Archive,
"],["impl Archive for MessageCreatePayload
where\n Arc<Message>: Archive,
"],["impl Archive for MessageDeletePayload
where\n Arc<MessageDeleteEvent>: Archive,
"],["impl Archive for MessageReactionAddPayload
where\n Arc<UserReactionEvent>: Archive,
"],["impl Archive for MessageReactionRemoveAllPayload"],["impl Archive for MessageReactionRemoveEmotePayload"],["impl Archive for MessageReactionRemovePayload
where\n Arc<UserReactionEvent>: Archive,
"],["impl Archive for MessageUpdatePayload
where\n Arc<Message>: Archive,
"],["impl Archive for PartyCreatePayload
where\n Arc<Party>: Archive,
"],["impl Archive for PartyDeletePayload
where\n PartyId: Archive,
"],["impl Archive for PartyUpdatePayload
where\n Arc<PartyUpdateEvent>: Archive,
"],["impl Archive for PresenceUpdatePayload
where\n Arc<UserPresenceEvent>: Archive,
"],["impl Archive for ProfileUpdatePayload
where\n Arc<ProfileUpdateEvent>: Archive,
"],["impl Archive for ReadyPayload
where\n Arc<Ready>: Archive,
"],["impl Archive for RelationAddPayload
where\n Arc<Relationship>: Archive,
"],["impl Archive for RelationRemovePayload
where\n UserId: Archive,
"],["impl Archive for RoleCreatePayload
where\n Arc<Role>: Archive,
"],["impl Archive for RoleDeletePayload
where\n Arc<RoleDeleteEvent>: Archive,
"],["impl Archive for RoleUpdatePayload
where\n Arc<Role>: Archive,
"],["impl Archive for RoomCreatePayload
where\n Arc<()>: Archive,
"],["impl Archive for RoomDeletePayload
where\n Arc<RoomDeleteEvent>: Archive,
"],["impl Archive for RoomPinsUpdatePayload"],["impl Archive for RoomUpdatePayload
where\n Arc<()>: Archive,
"],["impl Archive for TypingStartPayload
where\n Arc<TypingStart>: Archive,
"],["impl Archive for UserUpdatePayload
where\n Arc<User>: Archive,
"],["impl Archive for Intent"],["impl Archive for Invite
where\n SmolStr: Archive,\n PartialParty: Archive,\n NicheSnowflake: ArchiveWith<Option<UserId>>,\n Option<SmolStr>: Archive,\n Option<Timestamp>: Archive,\n Option<u16>: Archive,
"],["impl Archive for Attachment
where\n File: Archive,
"],["impl Archive for Message
where\n MessageId: Archive,\n RoomId: Archive,\n PartyId: Archive,\n MessageKind: Archive,\n PartyMember: Archive,\n Option<MessageId>: Archive,\n Option<Timestamp>: Archive,\n Option<SmolStr>: Archive,\n MessageFlags: Archive,\n ThinVec<FolderId>: Archive,\n ThinVec<UserId>: Archive,\n ThinVec<RoleId>: Archive,\n ThinVec<RoomId>: Archive,\n ThinVec<Reaction>: Archive,\n ThinVec<Attachment>: Archive,\n ThinVec<Embed>: Archive,\n i32: Archive,
"],["impl Archive for MessageFlags"],["impl Archive for ReactionFull
where\n EmoteOrEmoji: Archive,\n ThinVec<UserId>: Archive,
"],["impl Archive for ReactionShorthand
where\n EmoteOrEmoji: Archive,\n bool: Archive,\n i64: Archive,
"],["impl Archive for PartialParty
where\n PartyId: Archive,\n SmolStr: Archive,\n Option<ThinString>: Archive,
"],["impl Archive for Party
where\n PartialParty: Archive,\n PartyFlags: Archive,\n Option<EncryptedSnowflake>: Archive,\n Nullable<EncryptedSnowflake>: Archive,\n RoomId: Archive,\n Option<i16>: Archive,\n UserId: Archive,\n ThinVec<Role>: Archive,\n ThinVec<Emote>: Archive,\n ThinVec<PinFolder>: Archive,
"],["impl Archive for PartyFlags"],["impl Archive for PartyMember
where\n User: Archive,\n Option<Timestamp>: Archive,\n PartyMemberFlags: Archive,\n ThinVec<RoleId>: Archive,
"],["impl Archive for PartyMemberFlags"],["impl Archive for PartyPreferences
where\n Locale: Archive,\n PartyPrefsFlags: Archive,
"],["impl Archive for PartyPrefsFlags"],["impl Archive for PinFolder
where\n FolderId: Archive,\n SmolStr: Archive,\n PinFolderFlags: Archive,\n Option<SmolStr>: Archive,
"],["impl Archive for PinFolderFlags"],["impl Archive for Overwrite
where\n Snowflake: Archive,\n Permissions: Archive,
"],["impl Archive for Permissions"],["impl Archive for Activity"],["impl Archive for UserPresence
where\n UserPresenceFlags: Archive,\n Option<u64>: Archive,\n Option<Timestamp>: Archive,\n Option<AnyActivity>: Archive,
"],["impl Archive for UserPresenceFlags"],["impl Archive for Role
where\n RoleId: Archive,\n PartyId: Archive,\n Option<EncryptedSnowflake>: Archive,\n SmolStr: Archive,\n Option<SmolStr>: Archive,\n Permissions: Archive,\n Option<u32>: Archive,\n i16: Archive,\n RoleFlags: Archive,
"],["impl Archive for RoleFlags"],["impl Archive for FullRoom
where\n Room: Archive,\n Permissions: Archive,
"],["impl Archive for Room
where\n RoomId: Archive,\n RoomFlags: Archive,\n PartyId: Archive,\n Option<EncryptedSnowflake>: Archive,\n SmolStr: Archive,\n Option<SmolStr>: Archive,\n i16: Archive,\n Niche: ArchiveWith<Option<NonZeroU32>>,\n NicheSnowflake: ArchiveWith<Option<RoomId>>,\n ThinVec<Overwrite>: Archive,
"],["impl Archive for RoomFlags"],["impl Archive for AnonymousSession
where\n Timestamp: Archive,
"],["impl Archive for Session
where\n AuthToken: Archive,\n Timestamp: Archive,
"],["impl Archive for RoomStatistics
where\n u64: Archive,
"],["impl Archive for Thread
where\n ThreadId: Archive,\n Message: Archive,\n ThreadFlags: Archive,
"],["impl Archive for ThreadFlags"],["impl Archive for FontSize
where\n f32: Archive,
"],["impl Archive for Padding
where\n u8: Archive,
"],["impl Archive for TabSize
where\n u8: Archive,
"],["impl Archive for Temperature
where\n u16: Archive,
"],["impl Archive for ExtraUserProfileBits"],["impl Archive for Relationship
where\n Option<SmolStr>: Archive,\n User: Archive,\n Timestamp: Archive,\n UserRelationship: Archive,\n bool: Archive,
"],["impl Archive for User
where\n UserId: Archive,\n SmolStr: Archive,\n i32: Archive,\n UserFlags: Archive,\n Nullable<Arc<UserProfile>>: Archive,\n Option<SmolStr>: Archive,\n Option<UserPreferences>: Archive,\n Option<UserPresence>: Archive,
"],["impl Archive for UserFlags"],["impl Archive for UserPreferences
where\n Locale: Archive,\n UserPrefsFlags: Archive,\n FriendAddability: Archive,\n Temperature: Archive,\n Font: Archive,\n FontSize: Archive,\n Padding: Archive,\n TabSize: Archive,
"],["impl Archive for UserPrefsFlags"],["impl Archive for UserProfile
where\n UserProfileBits: Archive,\n ExtraUserProfileBits: Archive,\n Nullable<SmolStr>: Archive,\n Nullable<EncryptedSnowflake>: Archive,
"],["impl Archive for UserProfileBits"],["impl Archive for ThinString"],["impl<T: Archive> Archive for Nullable<T>"],["impl<const N: usize> Archive for FixedStr<N>"]]]]); + if (window.register_implementors) { + window.register_implementors(implementors); + } else { + window.pending_implementors = implementors; + } +})() +//{"start":57,"fragment_lengths":[144381]} \ No newline at end of file diff --git a/trait.impl/rkyv/traits/trait.Deserialize.js b/trait.impl/rkyv/traits/trait.Deserialize.js new file mode 100644 index 000000000..9673e2025 --- /dev/null +++ b/trait.impl/rkyv/traits/trait.Deserialize.js @@ -0,0 +1,9 @@ +(function() { + var implementors = Object.fromEntries([["client_sdk",[["impl<D: Fallible + ?Sized> Deserialize<CreateRoomKind, D> for CreateRoomKind"],["impl<D: Fallible + ?Sized> Deserialize<BannerAlign, D> for BannerAlign"],["impl<D: Fallible + ?Sized> Deserialize<ApiErrorCode, D> for ArchivedApiErrorCode"],["impl<D: Fallible + ?Sized> Deserialize<MessageKind, D> for ArchivedMessageKind"],["impl<D: Fallible + ?Sized> Deserialize<Font, D> for ArchivedFont"],["impl<D: Fallible + ?Sized> Deserialize<FriendAddability, D> for ArchivedFriendAddability"],["impl<D: Fallible + ?Sized> Deserialize<Locale, D> for ArchivedLocale"],["impl<D: Fallible + ?Sized> Deserialize<UserRelationship, D> for ArchivedUserRelationship"],["impl<D: Fallible + ?Sized> Deserialize<AssetFlags, D> for ArchivedAssetFlags"],["impl<D: Fallible + ?Sized> Deserialize<EmbedFlags, D> for ArchivedEmbedFlags"],["impl<D: Fallible + ?Sized> Deserialize<EmoteFlags, D> for ArchivedEmoteFlags"],["impl<D: Fallible + ?Sized> Deserialize<Intent, D> for ArchivedIntent"],["impl<D: Fallible + ?Sized> Deserialize<MessageFlags, D> for ArchivedMessageFlags"],["impl<D: Fallible + ?Sized> Deserialize<PartyFlags, D> for ArchivedPartyFlags"],["impl<D: Fallible + ?Sized> Deserialize<PartyMemberFlags, D> for ArchivedPartyMemberFlags"],["impl<D: Fallible + ?Sized> Deserialize<PartyPrefsFlags, D> for ArchivedPartyPrefsFlags"],["impl<D: Fallible + ?Sized> Deserialize<PinFolderFlags, D> for ArchivedPinFolderFlags"],["impl<D: Fallible + ?Sized> Deserialize<Permissions, D> for ArchivedPermissions"],["impl<D: Fallible + ?Sized> Deserialize<UserPresenceFlags, D> for ArchivedUserPresenceFlags"],["impl<D: Fallible + ?Sized> Deserialize<RoleFlags, D> for ArchivedRoleFlags"],["impl<D: Fallible + ?Sized> Deserialize<RoomFlags, D> for ArchivedRoomFlags"],["impl<D: Fallible + ?Sized> Deserialize<ThreadFlags, D> for ArchivedThreadFlags"],["impl<D: Fallible + ?Sized> Deserialize<ExtraUserProfileBits, D> for ArchivedExtraUserProfileBits"],["impl<D: Fallible + ?Sized> Deserialize<UserFlags, D> for ArchivedUserFlags"],["impl<D: Fallible + ?Sized> Deserialize<UserPrefsFlags, D> for ArchivedUserPrefsFlags"],["impl<D: Fallible + ?Sized> Deserialize<UserProfileBits, D> for ArchivedUserProfileBits"],["impl<D: Fallible + ?Sized> Deserialize<ThinString, D> for ArchivedString
where\n str: DeserializeUnsized<str, D>,
"],["impl<T: Archive, D: Fallible + ?Sized> Deserialize<Nullable<T>, D> for Nullable<T::Archived>
where\n Archived<T>: Deserialize<T, D>,
"],["impl<__D: Fallible + ?Sized> Deserialize<AuthToken, __D> for Archived<AuthToken>
where\n BearerToken: Archive,\n <BearerToken as Archive>::Archived: Deserialize<BearerToken, __D>,\n BotToken: Archive,\n <BotToken as Archive>::Archived: Deserialize<BotToken, __D>,
"],["impl<__D: Fallible + ?Sized> Deserialize<Embed, __D> for Archived<Embed>
where\n EmbedV1: Archive,\n <EmbedV1 as Archive>::Archived: Deserialize<EmbedV1, __D>,
"],["impl<__D: Fallible + ?Sized> Deserialize<EmbedType, __D> for Archived<EmbedType>"],["impl<__D: Fallible + ?Sized> Deserialize<Emote, __D> for Archived<Emote>
where\n SmolStr: Archive,\n <SmolStr as Archive>::Archived: Deserialize<SmolStr, __D>,\n CustomEmote: Archive,\n <CustomEmote as Archive>::Archived: Deserialize<CustomEmote, __D>,
"],["impl<__D: Fallible + ?Sized> Deserialize<Cursor, __D> for Archived<Cursor>
where\n Snowflake: Archive,\n <Snowflake as Archive>::Archived: Deserialize<Snowflake, __D>,
"],["impl<__D: Fallible + ?Sized> Deserialize<PartyUpdateEvent, __D> for Archived<PartyUpdateEvent>
where\n PartyPositionUpdate: Archive,\n <PartyPositionUpdate as Archive>::Archived: Deserialize<PartyPositionUpdate, __D>,\n Party: Archive,\n <Party as Archive>::Archived: Deserialize<Party, __D>,
"],["impl<__D: Fallible + ?Sized> Deserialize<ClientMsg, __D> for Archived<ClientMsg>
where\n HeartbeatPayload: Archive,\n <HeartbeatPayload as Archive>::Archived: Deserialize<HeartbeatPayload, __D>,\n IdentifyPayload: Archive,\n <IdentifyPayload as Archive>::Archived: Deserialize<IdentifyPayload, __D>,\n ResumePayload: Archive,\n <ResumePayload as Archive>::Archived: Deserialize<ResumePayload, __D>,\n SetPresencePayload: Archive,\n <SetPresencePayload as Archive>::Archived: Deserialize<SetPresencePayload, __D>,\n SubscribePayload: Archive,\n <SubscribePayload as Archive>::Archived: Deserialize<SubscribePayload, __D>,\n UnsubscribePayload: Archive,\n <UnsubscribePayload as Archive>::Archived: Deserialize<UnsubscribePayload, __D>,
"],["impl<__D: Fallible + ?Sized> Deserialize<ServerMsg, __D> for Archived<ServerMsg>
where\n HelloPayload: Archive,\n <HelloPayload as Archive>::Archived: Deserialize<HelloPayload, __D>,\n HeartbeatAckPayload: Archive,\n <HeartbeatAckPayload as Archive>::Archived: Deserialize<HeartbeatAckPayload, __D>,\n ReadyPayload: Archive,\n <ReadyPayload as Archive>::Archived: Deserialize<ReadyPayload, __D>,\n InvalidSessionPayload: Archive,\n <InvalidSessionPayload as Archive>::Archived: Deserialize<InvalidSessionPayload, __D>,\n PartyCreatePayload: Archive,\n <PartyCreatePayload as Archive>::Archived: Deserialize<PartyCreatePayload, __D>,\n PartyUpdatePayload: Archive,\n <PartyUpdatePayload as Archive>::Archived: Deserialize<PartyUpdatePayload, __D>,\n PartyDeletePayload: Archive,\n <PartyDeletePayload as Archive>::Archived: Deserialize<PartyDeletePayload, __D>,\n RoleCreatePayload: Archive,\n <RoleCreatePayload as Archive>::Archived: Deserialize<RoleCreatePayload, __D>,\n RoleUpdatePayload: Archive,\n <RoleUpdatePayload as Archive>::Archived: Deserialize<RoleUpdatePayload, __D>,\n RoleDeletePayload: Archive,\n <RoleDeletePayload as Archive>::Archived: Deserialize<RoleDeletePayload, __D>,\n MemberAddPayload: Archive,\n <MemberAddPayload as Archive>::Archived: Deserialize<MemberAddPayload, __D>,\n MemberUpdatePayload: Archive,\n <MemberUpdatePayload as Archive>::Archived: Deserialize<MemberUpdatePayload, __D>,\n MemberRemovePayload: Archive,\n <MemberRemovePayload as Archive>::Archived: Deserialize<MemberRemovePayload, __D>,\n MemberBanPayload: Archive,\n <MemberBanPayload as Archive>::Archived: Deserialize<MemberBanPayload, __D>,\n MemberUnbanPayload: Archive,\n <MemberUnbanPayload as Archive>::Archived: Deserialize<MemberUnbanPayload, __D>,\n RoomCreatePayload: Archive,\n <RoomCreatePayload as Archive>::Archived: Deserialize<RoomCreatePayload, __D>,\n RoomUpdatePayload: Archive,\n <RoomUpdatePayload as Archive>::Archived: Deserialize<RoomUpdatePayload, __D>,\n RoomDeletePayload: Archive,\n <RoomDeletePayload as Archive>::Archived: Deserialize<RoomDeletePayload, __D>,\n RoomPinsUpdatePayload: Archive,\n <RoomPinsUpdatePayload as Archive>::Archived: Deserialize<RoomPinsUpdatePayload, __D>,\n MessageCreatePayload: Archive,\n <MessageCreatePayload as Archive>::Archived: Deserialize<MessageCreatePayload, __D>,\n MessageUpdatePayload: Archive,\n <MessageUpdatePayload as Archive>::Archived: Deserialize<MessageUpdatePayload, __D>,\n MessageDeletePayload: Archive,\n <MessageDeletePayload as Archive>::Archived: Deserialize<MessageDeletePayload, __D>,\n MessageReactionAddPayload: Archive,\n <MessageReactionAddPayload as Archive>::Archived: Deserialize<MessageReactionAddPayload, __D>,\n MessageReactionRemovePayload: Archive,\n <MessageReactionRemovePayload as Archive>::Archived: Deserialize<MessageReactionRemovePayload, __D>,\n MessageReactionRemoveAllPayload: Archive,\n <MessageReactionRemoveAllPayload as Archive>::Archived: Deserialize<MessageReactionRemoveAllPayload, __D>,\n MessageReactionRemoveEmotePayload: Archive,\n <MessageReactionRemoveEmotePayload as Archive>::Archived: Deserialize<MessageReactionRemoveEmotePayload, __D>,\n PresenceUpdatePayload: Archive,\n <PresenceUpdatePayload as Archive>::Archived: Deserialize<PresenceUpdatePayload, __D>,\n TypingStartPayload: Archive,\n <TypingStartPayload as Archive>::Archived: Deserialize<TypingStartPayload, __D>,\n UserUpdatePayload: Archive,\n <UserUpdatePayload as Archive>::Archived: Deserialize<UserUpdatePayload, __D>,\n ProfileUpdatePayload: Archive,\n <ProfileUpdatePayload as Archive>::Archived: Deserialize<ProfileUpdatePayload, __D>,\n RelationAddPayload: Archive,\n <RelationAddPayload as Archive>::Archived: Deserialize<RelationAddPayload, __D>,\n RelationRemovePayload: Archive,\n <RelationRemovePayload as Archive>::Archived: Deserialize<RelationRemovePayload, __D>,
"],["impl<__D: Fallible + ?Sized> Deserialize<EmoteOrEmoji, __D> for Archived<EmoteOrEmoji>
where\n EmoteId: Archive,\n <EmoteId as Archive>::Archived: Deserialize<EmoteId, __D>,\n SmolStr: Archive,\n <SmolStr as Archive>::Archived: Deserialize<SmolStr, __D>,
"],["impl<__D: Fallible + ?Sized> Deserialize<Reaction, __D> for Archived<Reaction>
where\n ReactionShorthand: Archive,\n <ReactionShorthand as Archive>::Archived: Deserialize<ReactionShorthand, __D>,\n ReactionFull: Archive,\n <ReactionFull as Archive>::Archived: Deserialize<ReactionFull, __D>,
"],["impl<__D: Fallible + ?Sized> Deserialize<AnyActivity, __D> for Archived<AnyActivity>
where\n Activity: Archive,\n <Activity as Archive>::Archived: Deserialize<Activity, __D>,
"],["impl<__D: Fallible + ?Sized> Deserialize<RoomKind, __D> for Archived<RoomKind>"],["impl<__D: Fallible + ?Sized> Deserialize<GetServerConfig, __D> for Archived<GetServerConfig>"],["impl<__D: Fallible + ?Sized> Deserialize<CreateFile, __D> for Archived<CreateFile>
where\n CreateFileBody: Archive,\n <CreateFileBody as Archive>::Archived: Deserialize<CreateFileBody, __D>,
"],["impl<__D: Fallible + ?Sized> Deserialize<CreateFileBody, __D> for Archived<CreateFileBody>
where\n SmolStr: Archive,\n <SmolStr as Archive>::Archived: Deserialize<SmolStr, __D>,\n i32: Archive,\n <i32 as Archive>::Archived: Deserialize<i32, __D>,\n Option<SmolStr>: Archive,\n <Option<SmolStr> as Archive>::Archived: Deserialize<Option<SmolStr>, __D>,\n Option<i32>: Archive,\n <Option<i32> as Archive>::Archived: Deserialize<Option<i32>, __D>,\n Option<String>: Archive,\n <Option<String> as Archive>::Archived: Deserialize<Option<String>, __D>,
"],["impl<__D: Fallible + ?Sized> Deserialize<FileStatus, __D> for Archived<FileStatus>
where\n u32: Archive,\n <u32 as Archive>::Archived: Deserialize<u32, __D>,\n u64: Archive,\n <u64 as Archive>::Archived: Deserialize<u64, __D>,
"],["impl<__D: Fallible + ?Sized> Deserialize<FilesystemStatus, __D> for Archived<FilesystemStatus>
where\n i64: Archive,\n <i64 as Archive>::Archived: Deserialize<i64, __D>,
"],["impl<__D: Fallible + ?Sized> Deserialize<GetFileStatus, __D> for Archived<GetFileStatus>
where\n FileId: Archive,\n <FileId as Archive>::Archived: Deserialize<FileId, __D>,
"],["impl<__D: Fallible + ?Sized> Deserialize<GetFilesystemStatus, __D> for Archived<GetFilesystemStatus>"],["impl<__D: Fallible + ?Sized> Deserialize<GetInvite, __D> for Archived<GetInvite>
where\n SmolStr: Archive,\n <SmolStr as Archive>::Archived: Deserialize<SmolStr, __D>,
"],["impl<__D: Fallible + ?Sized> Deserialize<RedeemInvite, __D> for Archived<RedeemInvite>
where\n SmolStr: Archive,\n <SmolStr as Archive>::Archived: Deserialize<SmolStr, __D>,\n RedeemInviteBody: Archive,\n <RedeemInviteBody as Archive>::Archived: Deserialize<RedeemInviteBody, __D>,
"],["impl<__D: Fallible + ?Sized> Deserialize<RedeemInviteBody, __D> for Archived<RedeemInviteBody>
where\n Option<SmolStr>: Archive,\n <Option<SmolStr> as Archive>::Archived: Deserialize<Option<SmolStr>, __D>,
"],["impl<__D: Fallible + ?Sized> Deserialize<RevokeInvite, __D> for Archived<RevokeInvite>
where\n SmolStr: Archive,\n <SmolStr as Archive>::Archived: Deserialize<SmolStr, __D>,
"],["impl<__D: Fallible + ?Sized> Deserialize<CreateParty, __D> for Archived<CreateParty>
where\n CreatePartyForm: Archive,\n <CreatePartyForm as Archive>::Archived: Deserialize<CreatePartyForm, __D>,
"],["impl<__D: Fallible + ?Sized> Deserialize<CreatePartyForm, __D> for Archived<CreatePartyForm>
where\n SmolStr: Archive,\n <SmolStr as Archive>::Archived: Deserialize<SmolStr, __D>,\n Option<ThinString>: Archive,\n <Option<ThinString> as Archive>::Archived: Deserialize<Option<ThinString>, __D>,\n PartyFlags: Archive,\n <PartyFlags as Archive>::Archived: Deserialize<PartyFlags, __D>,
"],["impl<__D: Fallible + ?Sized> Deserialize<CreatePartyInvite, __D> for Archived<CreatePartyInvite>
where\n PartyId: Archive,\n <PartyId as Archive>::Archived: Deserialize<PartyId, __D>,\n CreatePartyInviteBody: Archive,\n <CreatePartyInviteBody as Archive>::Archived: Deserialize<CreatePartyInviteBody, __D>,
"],["impl<__D: Fallible + ?Sized> Deserialize<CreatePartyInviteBody, __D> for Archived<CreatePartyInviteBody>
where\n Option<u16>: Archive,\n <Option<u16> as Archive>::Archived: Deserialize<Option<u16>, __D>,\n Option<u64>: Archive,\n <Option<u64> as Archive>::Archived: Deserialize<Option<u64>, __D>,\n Option<SmolStr>: Archive,\n <Option<SmolStr> as Archive>::Archived: Deserialize<Option<SmolStr>, __D>,
"],["impl<__D: Fallible + ?Sized> Deserialize<CreatePinFolder, __D> for Archived<CreatePinFolder>
where\n PartyId: Archive,\n <PartyId as Archive>::Archived: Deserialize<PartyId, __D>,\n CreatePinFolderForm: Archive,\n <CreatePinFolderForm as Archive>::Archived: Deserialize<CreatePinFolderForm, __D>,
"],["impl<__D: Fallible + ?Sized> Deserialize<CreatePinFolderForm, __D> for Archived<CreatePinFolderForm>
where\n SmolStr: Archive,\n <SmolStr as Archive>::Archived: Deserialize<SmolStr, __D>,\n Option<SmolStr>: Archive,\n <Option<SmolStr> as Archive>::Archived: Deserialize<Option<SmolStr>, __D>,
"],["impl<__D: Fallible + ?Sized> Deserialize<CreateRole, __D> for Archived<CreateRole>
where\n PartyId: Archive,\n <PartyId as Archive>::Archived: Deserialize<PartyId, __D>,\n CreateRoleForm: Archive,\n <CreateRoleForm as Archive>::Archived: Deserialize<CreateRoleForm, __D>,
"],["impl<__D: Fallible + ?Sized> Deserialize<CreateRoleForm, __D> for Archived<CreateRoleForm>
where\n SmolStr: Archive,\n <SmolStr as Archive>::Archived: Deserialize<SmolStr, __D>,
"],["impl<__D: Fallible + ?Sized> Deserialize<CreateRoom, __D> for Archived<CreateRoom>
where\n PartyId: Archive,\n <PartyId as Archive>::Archived: Deserialize<PartyId, __D>,\n CreateRoomForm: Archive,\n <CreateRoomForm as Archive>::Archived: Deserialize<CreateRoomForm, __D>,
"],["impl<__D: Fallible + ?Sized> Deserialize<CreateRoomForm, __D> for Archived<CreateRoomForm>
where\n SmolStr: Archive,\n <SmolStr as Archive>::Archived: Deserialize<SmolStr, __D>,\n Option<SmolStr>: Archive,\n <Option<SmolStr> as Archive>::Archived: Deserialize<Option<SmolStr>, __D>,\n CreateRoomKind: Archive,\n <CreateRoomKind as Archive>::Archived: Deserialize<CreateRoomKind, __D>,\n ThinVec<Overwrite>: Archive,\n <ThinVec<Overwrite> as Archive>::Archived: Deserialize<ThinVec<Overwrite>, __D>,\n i16: Archive,\n <i16 as Archive>::Archived: Deserialize<i16, __D>,
"],["impl<__D: Fallible + ?Sized> Deserialize<DeleteParty, __D> for Archived<DeleteParty>
where\n PartyId: Archive,\n <PartyId as Archive>::Archived: Deserialize<PartyId, __D>,
"],["impl<__D: Fallible + ?Sized> Deserialize<DeleteRole, __D> for Archived<DeleteRole>
where\n PartyId: Archive,\n <PartyId as Archive>::Archived: Deserialize<PartyId, __D>,\n RoleId: Archive,\n <RoleId as Archive>::Archived: Deserialize<RoleId, __D>,
"],["impl<__D: Fallible + ?Sized> Deserialize<GetMemberProfile, __D> for Archived<GetMemberProfile>
where\n PartyId: Archive,\n <PartyId as Archive>::Archived: Deserialize<PartyId, __D>,\n UserId: Archive,\n <UserId as Archive>::Archived: Deserialize<UserId, __D>,
"],["impl<__D: Fallible + ?Sized> Deserialize<GetParty, __D> for Archived<GetParty>
where\n PartyId: Archive,\n <PartyId as Archive>::Archived: Deserialize<PartyId, __D>,
"],["impl<__D: Fallible + ?Sized> Deserialize<GetPartyInvites, __D> for Archived<GetPartyInvites>
where\n PartyId: Archive,\n <PartyId as Archive>::Archived: Deserialize<PartyId, __D>,
"],["impl<__D: Fallible + ?Sized> Deserialize<GetPartyMember, __D> for Archived<GetPartyMember>
where\n PartyId: Archive,\n <PartyId as Archive>::Archived: Deserialize<PartyId, __D>,\n UserId: Archive,\n <UserId as Archive>::Archived: Deserialize<UserId, __D>,
"],["impl<__D: Fallible + ?Sized> Deserialize<GetPartyMembers, __D> for Archived<GetPartyMembers>
where\n PartyId: Archive,\n <PartyId as Archive>::Archived: Deserialize<PartyId, __D>,
"],["impl<__D: Fallible + ?Sized> Deserialize<GetPartyRooms, __D> for Archived<GetPartyRooms>
where\n PartyId: Archive,\n <PartyId as Archive>::Archived: Deserialize<PartyId, __D>,
"],["impl<__D: Fallible + ?Sized> Deserialize<PartySettings, __D> for Archived<PartySettings>
where\n PartyFlags: Archive,\n <PartyFlags as Archive>::Archived: Deserialize<PartyFlags, __D>,\n PartyPreferences: Archive,\n <PartyPreferences as Archive>::Archived: Deserialize<PartyPreferences, __D>,
"],["impl<__D: Fallible + ?Sized> Deserialize<PatchParty, __D> for Archived<PatchParty>
where\n PartyId: Archive,\n <PartyId as Archive>::Archived: Deserialize<PartyId, __D>,\n PatchPartyForm: Archive,\n <PatchPartyForm as Archive>::Archived: Deserialize<PatchPartyForm, __D>,
"],["impl<__D: Fallible + ?Sized> Deserialize<PatchPartyForm, __D> for Archived<PatchPartyForm>
where\n Option<SmolStr>: Archive,\n <Option<SmolStr> as Archive>::Archived: Deserialize<Option<SmolStr>, __D>,\n Nullable<SmolStr>: Archive,\n <Nullable<SmolStr> as Archive>::Archived: Deserialize<Nullable<SmolStr>, __D>,\n Option<PartyFlags>: Archive,\n <Option<PartyFlags> as Archive>::Archived: Deserialize<Option<PartyFlags>, __D>,\n Option<RoomId>: Archive,\n <Option<RoomId> as Archive>::Archived: Deserialize<Option<RoomId>, __D>,\n Nullable<FileId>: Archive,\n <Nullable<FileId> as Archive>::Archived: Deserialize<Nullable<FileId>, __D>,\n BannerAlign: Archive,\n <BannerAlign as Archive>::Archived: Deserialize<BannerAlign, __D>,
"],["impl<__D: Fallible + ?Sized> Deserialize<PatchRole, __D> for Archived<PatchRole>
where\n PartyId: Archive,\n <PartyId as Archive>::Archived: Deserialize<PartyId, __D>,\n RoleId: Archive,\n <RoleId as Archive>::Archived: Deserialize<RoleId, __D>,\n PatchRoleForm: Archive,\n <PatchRoleForm as Archive>::Archived: Deserialize<PatchRoleForm, __D>,
"],["impl<__D: Fallible + ?Sized> Deserialize<PatchRoleForm, __D> for Archived<PatchRoleForm>
where\n Option<RoleFlags>: Archive,\n <Option<RoleFlags> as Archive>::Archived: Deserialize<Option<RoleFlags>, __D>,\n Option<SmolStr>: Archive,\n <Option<SmolStr> as Archive>::Archived: Deserialize<Option<SmolStr>, __D>,\n Option<u32>: Archive,\n <Option<u32> as Archive>::Archived: Deserialize<Option<u32>, __D>,\n Option<Permissions>: Archive,\n <Option<Permissions> as Archive>::Archived: Deserialize<Option<Permissions>, __D>,\n Nullable<FileId>: Archive,\n <Nullable<FileId> as Archive>::Archived: Deserialize<Nullable<FileId>, __D>,\n Option<u8>: Archive,\n <Option<u8> as Archive>::Archived: Deserialize<Option<u8>, __D>,
"],["impl<__D: Fallible + ?Sized> Deserialize<SearchParty, __D> for Archived<SearchParty>
where\n PartyId: Archive,\n <PartyId as Archive>::Archived: Deserialize<PartyId, __D>,\n SearchQuery: Archive,\n <SearchQuery as Archive>::Archived: Deserialize<SearchQuery, __D>,
"],["impl<__D: Fallible + ?Sized> Deserialize<SearchQuery, __D> for Archived<SearchQuery>
where\n ThinString: Archive,\n <ThinString as Archive>::Archived: Deserialize<ThinString, __D>,
"],["impl<__D: Fallible + ?Sized> Deserialize<TransferOwnership, __D> for Archived<TransferOwnership>
where\n PartyId: Archive,\n <PartyId as Archive>::Archived: Deserialize<PartyId, __D>,\n UserId: Archive,\n <UserId as Archive>::Archived: Deserialize<UserId, __D>,
"],["impl<__D: Fallible + ?Sized> Deserialize<UpdateMemberProfile, __D> for Archived<UpdateMemberProfile>
where\n PartyId: Archive,\n <PartyId as Archive>::Archived: Deserialize<PartyId, __D>,\n UpdateMemberProfileBody: Archive,\n <UpdateMemberProfileBody as Archive>::Archived: Deserialize<UpdateMemberProfileBody, __D>,
"],["impl<__D: Fallible + ?Sized> Deserialize<UpdateMemberProfileBody, __D> for Archived<UpdateMemberProfileBody>
where\n UpdateUserProfileBody: Archive,\n <UpdateUserProfileBody as Archive>::Archived: Deserialize<UpdateUserProfileBody, __D>,
"],["impl<__D: Fallible + ?Sized> Deserialize<CreateMessage, __D> for Archived<CreateMessage>
where\n RoomId: Archive,\n <RoomId as Archive>::Archived: Deserialize<RoomId, __D>,\n CreateMessageBody: Archive,\n <CreateMessageBody as Archive>::Archived: Deserialize<CreateMessageBody, __D>,
"],["impl<__D: Fallible + ?Sized> Deserialize<CreateMessageBody, __D> for Archived<CreateMessageBody>
where\n SmolStr: Archive,\n <SmolStr as Archive>::Archived: Deserialize<SmolStr, __D>,\n Option<RoomId>: Archive,\n <Option<RoomId> as Archive>::Archived: Deserialize<Option<RoomId>, __D>,\n ThinVec<FileId>: Archive,\n <ThinVec<FileId> as Archive>::Archived: Deserialize<ThinVec<FileId>, __D>,\n ThinVec<Embed>: Archive,\n <ThinVec<Embed> as Archive>::Archived: Deserialize<ThinVec<Embed>, __D>,\n bool: Archive,\n <bool as Archive>::Archived: Deserialize<bool, __D>,
"],["impl<__D: Fallible + ?Sized> Deserialize<DeleteAllReactions, __D> for Archived<DeleteAllReactions>
where\n RoomId: Archive,\n <RoomId as Archive>::Archived: Deserialize<RoomId, __D>,\n MessageId: Archive,\n <MessageId as Archive>::Archived: Deserialize<MessageId, __D>,
"],["impl<__D: Fallible + ?Sized> Deserialize<DeleteMessage, __D> for Archived<DeleteMessage>
where\n RoomId: Archive,\n <RoomId as Archive>::Archived: Deserialize<RoomId, __D>,\n MessageId: Archive,\n <MessageId as Archive>::Archived: Deserialize<MessageId, __D>,
"],["impl<__D: Fallible + ?Sized> Deserialize<DeleteOwnReaction, __D> for Archived<DeleteOwnReaction>
where\n RoomId: Archive,\n <RoomId as Archive>::Archived: Deserialize<RoomId, __D>,\n MessageId: Archive,\n <MessageId as Archive>::Archived: Deserialize<MessageId, __D>,\n EmoteOrEmoji: Archive,\n <EmoteOrEmoji as Archive>::Archived: Deserialize<EmoteOrEmoji, __D>,
"],["impl<__D: Fallible + ?Sized> Deserialize<DeleteRoom, __D> for Archived<DeleteRoom>
where\n RoomId: Archive,\n <RoomId as Archive>::Archived: Deserialize<RoomId, __D>,
"],["impl<__D: Fallible + ?Sized> Deserialize<DeleteUserReaction, __D> for Archived<DeleteUserReaction>
where\n RoomId: Archive,\n <RoomId as Archive>::Archived: Deserialize<RoomId, __D>,\n MessageId: Archive,\n <MessageId as Archive>::Archived: Deserialize<MessageId, __D>,\n EmoteOrEmoji: Archive,\n <EmoteOrEmoji as Archive>::Archived: Deserialize<EmoteOrEmoji, __D>,\n UserId: Archive,\n <UserId as Archive>::Archived: Deserialize<UserId, __D>,
"],["impl<__D: Fallible + ?Sized> Deserialize<EditMessage, __D> for Archived<EditMessage>
where\n RoomId: Archive,\n <RoomId as Archive>::Archived: Deserialize<RoomId, __D>,\n MessageId: Archive,\n <MessageId as Archive>::Archived: Deserialize<MessageId, __D>,\n EditMessageBody: Archive,\n <EditMessageBody as Archive>::Archived: Deserialize<EditMessageBody, __D>,
"],["impl<__D: Fallible + ?Sized> Deserialize<EditMessageBody, __D> for Archived<EditMessageBody>
where\n SmolStr: Archive,\n <SmolStr as Archive>::Archived: Deserialize<SmolStr, __D>,\n ThinVec<FileId>: Archive,\n <ThinVec<FileId> as Archive>::Archived: Deserialize<ThinVec<FileId>, __D>,
"],["impl<__D: Fallible + ?Sized> Deserialize<GetMessage, __D> for Archived<GetMessage>
where\n RoomId: Archive,\n <RoomId as Archive>::Archived: Deserialize<RoomId, __D>,\n MessageId: Archive,\n <MessageId as Archive>::Archived: Deserialize<MessageId, __D>,
"],["impl<__D: Fallible + ?Sized> Deserialize<GetMessages, __D> for Archived<GetMessages>
where\n RoomId: Archive,\n <RoomId as Archive>::Archived: Deserialize<RoomId, __D>,\n GetMessagesQuery: Archive,\n <GetMessagesQuery as Archive>::Archived: Deserialize<GetMessagesQuery, __D>,
"],["impl<__D: Fallible + ?Sized> Deserialize<GetMessagesQuery, __D> for Archived<GetMessagesQuery>
where\n Option<Cursor>: Archive,\n <Option<Cursor> as Archive>::Archived: Deserialize<Option<Cursor>, __D>,\n Option<MessageId>: Archive,\n <Option<MessageId> as Archive>::Archived: Deserialize<Option<MessageId>, __D>,\n Option<u8>: Archive,\n <Option<u8> as Archive>::Archived: Deserialize<Option<u8>, __D>,\n ThinVec<FolderId>: Archive,\n <ThinVec<FolderId> as Archive>::Archived: Deserialize<ThinVec<FolderId>, __D>,\n bool: Archive,\n <bool as Archive>::Archived: Deserialize<bool, __D>,\n u8: Archive,\n <u8 as Archive>::Archived: Deserialize<u8, __D>,
"],["impl<__D: Fallible + ?Sized> Deserialize<GetReactions, __D> for Archived<GetReactions>
where\n RoomId: Archive,\n <RoomId as Archive>::Archived: Deserialize<RoomId, __D>,\n MessageId: Archive,\n <MessageId as Archive>::Archived: Deserialize<MessageId, __D>,\n EmoteOrEmoji: Archive,\n <EmoteOrEmoji as Archive>::Archived: Deserialize<EmoteOrEmoji, __D>,\n GetReactionsForm: Archive,\n <GetReactionsForm as Archive>::Archived: Deserialize<GetReactionsForm, __D>,
"],["impl<__D: Fallible + ?Sized> Deserialize<GetReactionsForm, __D> for Archived<GetReactionsForm>
where\n Option<Snowflake>: Archive,\n <Option<Snowflake> as Archive>::Archived: Deserialize<Option<Snowflake>, __D>,\n Option<i8>: Archive,\n <Option<i8> as Archive>::Archived: Deserialize<Option<i8>, __D>,
"],["impl<__D: Fallible + ?Sized> Deserialize<GetRoom, __D> for Archived<GetRoom>
where\n RoomId: Archive,\n <RoomId as Archive>::Archived: Deserialize<RoomId, __D>,
"],["impl<__D: Fallible + ?Sized> Deserialize<PatchRoom, __D> for Archived<PatchRoom>
where\n RoomId: Archive,\n <RoomId as Archive>::Archived: Deserialize<RoomId, __D>,\n PatchRoomForm: Archive,\n <PatchRoomForm as Archive>::Archived: Deserialize<PatchRoomForm, __D>,
"],["impl<__D: Fallible + ?Sized> Deserialize<PatchRoomForm, __D> for Archived<PatchRoomForm>
where\n Option<SmolStr>: Archive,\n <Option<SmolStr> as Archive>::Archived: Deserialize<Option<SmolStr>, __D>,\n Nullable<SmolStr>: Archive,\n <Nullable<SmolStr> as Archive>::Archived: Deserialize<Nullable<SmolStr>, __D>,\n Nullable<FileId>: Archive,\n <Nullable<FileId> as Archive>::Archived: Deserialize<Nullable<FileId>, __D>,\n Option<u8>: Archive,\n <Option<u8> as Archive>::Archived: Deserialize<Option<u8>, __D>,\n ThinVec<Snowflake>: Archive,\n <ThinVec<Snowflake> as Archive>::Archived: Deserialize<ThinVec<Snowflake>, __D>,\n ThinVec<Overwrite>: Archive,\n <ThinVec<Overwrite> as Archive>::Archived: Deserialize<ThinVec<Overwrite>, __D>,\n Option<bool>: Archive,\n <Option<bool> as Archive>::Archived: Deserialize<Option<bool>, __D>,
"],["impl<__D: Fallible + ?Sized> Deserialize<PinMessage, __D> for Archived<PinMessage>
where\n RoomId: Archive,\n <RoomId as Archive>::Archived: Deserialize<RoomId, __D>,\n MessageId: Archive,\n <MessageId as Archive>::Archived: Deserialize<MessageId, __D>,\n FolderId: Archive,\n <FolderId as Archive>::Archived: Deserialize<FolderId, __D>,
"],["impl<__D: Fallible + ?Sized> Deserialize<PutReaction, __D> for Archived<PutReaction>
where\n RoomId: Archive,\n <RoomId as Archive>::Archived: Deserialize<RoomId, __D>,\n MessageId: Archive,\n <MessageId as Archive>::Archived: Deserialize<MessageId, __D>,\n EmoteOrEmoji: Archive,\n <EmoteOrEmoji as Archive>::Archived: Deserialize<EmoteOrEmoji, __D>,
"],["impl<__D: Fallible + ?Sized> Deserialize<StarMessage, __D> for Archived<StarMessage>
where\n RoomId: Archive,\n <RoomId as Archive>::Archived: Deserialize<RoomId, __D>,\n MessageId: Archive,\n <MessageId as Archive>::Archived: Deserialize<MessageId, __D>,
"],["impl<__D: Fallible + ?Sized> Deserialize<StartTyping, __D> for Archived<StartTyping>
where\n RoomId: Archive,\n <RoomId as Archive>::Archived: Deserialize<RoomId, __D>,\n StartTypingBody: Archive,\n <StartTypingBody as Archive>::Archived: Deserialize<StartTypingBody, __D>,
"],["impl<__D: Fallible + ?Sized> Deserialize<StartTypingBody, __D> for Archived<StartTypingBody>
where\n Option<MessageId>: Archive,\n <Option<MessageId> as Archive>::Archived: Deserialize<Option<MessageId>, __D>,
"],["impl<__D: Fallible + ?Sized> Deserialize<UnpinMessage, __D> for Archived<UnpinMessage>
where\n RoomId: Archive,\n <RoomId as Archive>::Archived: Deserialize<RoomId, __D>,\n MessageId: Archive,\n <MessageId as Archive>::Archived: Deserialize<MessageId, __D>,\n FolderId: Archive,\n <FolderId as Archive>::Archived: Deserialize<FolderId, __D>,
"],["impl<__D: Fallible + ?Sized> Deserialize<UnstarMessage, __D> for Archived<UnstarMessage>
where\n RoomId: Archive,\n <RoomId as Archive>::Archived: Deserialize<RoomId, __D>,\n MessageId: Archive,\n <MessageId as Archive>::Archived: Deserialize<MessageId, __D>,
"],["impl<__D: Fallible + ?Sized> Deserialize<Added2FA, __D> for Archived<Added2FA>
where\n String: Archive,\n <String as Archive>::Archived: Deserialize<String, __D>,\n Vec<String>: Archive,\n <Vec<String> as Archive>::Archived: Deserialize<Vec<String>, __D>,
"],["impl<__D: Fallible + ?Sized> Deserialize<ChangePassword, __D> for Archived<ChangePassword>
where\n ChangePasswordForm: Archive,\n <ChangePasswordForm as Archive>::Archived: Deserialize<ChangePasswordForm, __D>,
"],["impl<__D: Fallible + ?Sized> Deserialize<ChangePasswordForm, __D> for Archived<ChangePasswordForm>
where\n SmolStr: Archive,\n <SmolStr as Archive>::Archived: Deserialize<SmolStr, __D>,\n Option<SmolStr>: Archive,\n <Option<SmolStr> as Archive>::Archived: Deserialize<Option<SmolStr>, __D>,
"],["impl<__D: Fallible + ?Sized> Deserialize<ClearSessions, __D> for Archived<ClearSessions>
where\n ClearSessionsForm: Archive,\n <ClearSessionsForm as Archive>::Archived: Deserialize<ClearSessionsForm, __D>,
"],["impl<__D: Fallible + ?Sized> Deserialize<ClearSessionsForm, __D> for Archived<ClearSessionsForm>
where\n Option<SmolStr>: Archive,\n <Option<SmolStr> as Archive>::Archived: Deserialize<Option<SmolStr>, __D>,
"],["impl<__D: Fallible + ?Sized> Deserialize<Confirm2FA, __D> for Archived<Confirm2FA>
where\n Confirm2FAForm: Archive,\n <Confirm2FAForm as Archive>::Archived: Deserialize<Confirm2FAForm, __D>,
"],["impl<__D: Fallible + ?Sized> Deserialize<Confirm2FAForm, __D> for Archived<Confirm2FAForm>
where\n SmolStr: Archive,\n <SmolStr as Archive>::Archived: Deserialize<SmolStr, __D>,
"],["impl<__D: Fallible + ?Sized> Deserialize<Enable2FA, __D> for Archived<Enable2FA>
where\n Enable2FAForm: Archive,\n <Enable2FAForm as Archive>::Archived: Deserialize<Enable2FAForm, __D>,
"],["impl<__D: Fallible + ?Sized> Deserialize<Enable2FAForm, __D> for Archived<Enable2FAForm>
where\n SmolStr: Archive,\n <SmolStr as Archive>::Archived: Deserialize<SmolStr, __D>,\n String: Archive,\n <String as Archive>::Archived: Deserialize<String, __D>,
"],["impl<__D: Fallible + ?Sized> Deserialize<GetRelationships, __D> for Archived<GetRelationships>"],["impl<__D: Fallible + ?Sized> Deserialize<GetSessions, __D> for Archived<GetSessions>"],["impl<__D: Fallible + ?Sized> Deserialize<GetUser, __D> for Archived<GetUser>
where\n UserId: Archive,\n <UserId as Archive>::Archived: Deserialize<UserId, __D>,
"],["impl<__D: Fallible + ?Sized> Deserialize<PatchRelationship, __D> for Archived<PatchRelationship>
where\n UserId: Archive,\n <UserId as Archive>::Archived: Deserialize<UserId, __D>,\n PatchRelationshipBody: Archive,\n <PatchRelationshipBody as Archive>::Archived: Deserialize<PatchRelationshipBody, __D>,
"],["impl<__D: Fallible + ?Sized> Deserialize<PatchRelationshipBody, __D> for Archived<PatchRelationshipBody>
where\n Nullable<UserRelationship>: Archive,\n <Nullable<UserRelationship> as Archive>::Archived: Deserialize<Nullable<UserRelationship>, __D>,\n Nullable<SmolStr>: Archive,\n <Nullable<SmolStr> as Archive>::Archived: Deserialize<Nullable<SmolStr>, __D>,
"],["impl<__D: Fallible + ?Sized> Deserialize<Remove2FA, __D> for Archived<Remove2FA>
where\n Remove2FAForm: Archive,\n <Remove2FAForm as Archive>::Archived: Deserialize<Remove2FAForm, __D>,
"],["impl<__D: Fallible + ?Sized> Deserialize<Remove2FAForm, __D> for Archived<Remove2FAForm>
where\n SmolStr: Archive,\n <SmolStr as Archive>::Archived: Deserialize<SmolStr, __D>,
"],["impl<__D: Fallible + ?Sized> Deserialize<UpdateUserPrefs, __D> for Archived<UpdateUserPrefs>
where\n UpdateUserPrefsBody: Archive,\n <UpdateUserPrefsBody as Archive>::Archived: Deserialize<UpdateUserPrefsBody, __D>,
"],["impl<__D: Fallible + ?Sized> Deserialize<UpdateUserPrefsBody, __D> for Archived<UpdateUserPrefsBody>
where\n UserPreferences: Archive,\n <UserPreferences as Archive>::Archived: Deserialize<UserPreferences, __D>,
"],["impl<__D: Fallible + ?Sized> Deserialize<UpdateUserProfile, __D> for Archived<UpdateUserProfile>
where\n UpdateUserProfileBody: Archive,\n <UpdateUserProfileBody as Archive>::Archived: Deserialize<UpdateUserProfileBody, __D>,
"],["impl<__D: Fallible + ?Sized> Deserialize<UpdateUserProfileBody, __D> for Archived<UpdateUserProfileBody>
where\n UserProfileBits: Archive,\n <UserProfileBits as Archive>::Archived: Deserialize<UserProfileBits, __D>,\n ExtraUserProfileBits: Archive,\n <ExtraUserProfileBits as Archive>::Archived: Deserialize<ExtraUserProfileBits, __D>,\n Nullable<SmolStr>: Archive,\n <Nullable<SmolStr> as Archive>::Archived: Deserialize<Nullable<SmolStr>, __D>,\n Nullable<FileId>: Archive,\n <Nullable<FileId> as Archive>::Archived: Deserialize<Nullable<FileId>, __D>,\n BannerAlign: Archive,\n <BannerAlign as Archive>::Archived: Deserialize<BannerAlign, __D>,
"],["impl<__D: Fallible + ?Sized> Deserialize<UserLogin, __D> for Archived<UserLogin>
where\n UserLoginForm: Archive,\n <UserLoginForm as Archive>::Archived: Deserialize<UserLoginForm, __D>,
"],["impl<__D: Fallible + ?Sized> Deserialize<UserLoginForm, __D> for Archived<UserLoginForm>
where\n SmolStr: Archive,\n <SmolStr as Archive>::Archived: Deserialize<SmolStr, __D>,\n Option<SmolStr>: Archive,\n <Option<SmolStr> as Archive>::Archived: Deserialize<Option<SmolStr>, __D>,
"],["impl<__D: Fallible + ?Sized> Deserialize<UserLogout, __D> for Archived<UserLogout>"],["impl<__D: Fallible + ?Sized> Deserialize<UserRegister, __D> for Archived<UserRegister>
where\n UserRegisterForm: Archive,\n <UserRegisterForm as Archive>::Archived: Deserialize<UserRegisterForm, __D>,
"],["impl<__D: Fallible + ?Sized> Deserialize<UserRegisterForm, __D> for Archived<UserRegisterForm>
where\n SmolStr: Archive,\n <SmolStr as Archive>::Archived: Deserialize<SmolStr, __D>,\n Timestamp: Archive,\n <Timestamp as Archive>::Archived: Deserialize<Timestamp, __D>,\n String: Archive,\n <String as Archive>::Archived: Deserialize<String, __D>,
"],["impl<__D: Fallible + ?Sized> Deserialize<ApiError, __D> for Archived<ApiError>
where\n ApiErrorCode: Archive,\n <ApiErrorCode as Archive>::Archived: Deserialize<ApiErrorCode, __D>,\n AsOwned: ArchiveWith<Cow<'static, str>> + DeserializeWith<<AsOwned as ArchiveWith<Cow<'static, str>>>::Archived, Cow<'static, str>, __D>,
"],["impl<__D: Fallible + ?Sized> Deserialize<ServerConfig, __D> for Archived<ServerConfig>
where\n HCaptchaSiteKey: Archive,\n <HCaptchaSiteKey as Archive>::Archived: Deserialize<HCaptchaSiteKey, __D>,\n SmolStr: Archive,\n <SmolStr as Archive>::Archived: Deserialize<SmolStr, __D>,\n u8: Archive,\n <u8 as Archive>::Archived: Deserialize<u8, __D>,\n bool: Archive,\n <bool as Archive>::Archived: Deserialize<bool, __D>,\n ServerLimits: Archive,\n <ServerLimits as Archive>::Archived: Deserialize<ServerLimits, __D>,
"],["impl<__D: Fallible + ?Sized> Deserialize<ServerLimits, __D> for Archived<ServerLimits>
where\n u64: Archive,\n <u64 as Archive>::Archived: Deserialize<u64, __D>,\n u32: Archive,\n <u32 as Archive>::Archived: Deserialize<u32, __D>,
"],["impl<__D: Fallible + ?Sized> Deserialize<BasicEmbedMedia, __D> for Archived<BasicEmbedMedia>
where\n ThinString: Archive,\n <ThinString as Archive>::Archived: Deserialize<ThinString, __D>,\n Option<ThinString>: Archive,\n <Option<ThinString> as Archive>::Archived: Deserialize<Option<ThinString>, __D>,\n Option<UrlSignature>: Archive,\n <Option<UrlSignature> as Archive>::Archived: Deserialize<Option<UrlSignature>, __D>,\n Option<i32>: Archive,\n <Option<i32> as Archive>::Archived: Deserialize<Option<i32>, __D>,\n Option<SmolStr>: Archive,\n <Option<SmolStr> as Archive>::Archived: Deserialize<Option<SmolStr>, __D>,
"],["impl<__D: Fallible + ?Sized> Deserialize<EmbedAuthor, __D> for Archived<EmbedAuthor>
where\n SmolStr: Archive,\n <SmolStr as Archive>::Archived: Deserialize<SmolStr, __D>,\n Option<ThinString>: Archive,\n <Option<ThinString> as Archive>::Archived: Deserialize<Option<ThinString>, __D>,\n Niche: ArchiveWith<Option<Box<EmbedMedia>>> + DeserializeWith<<Niche as ArchiveWith<Option<Box<EmbedMedia>>>>::Archived, Option<Box<EmbedMedia>>, __D>,
"],["impl<__D: Fallible + ?Sized> Deserialize<EmbedField, __D> for Archived<EmbedField>
where\n SmolStr: Archive,\n <SmolStr as Archive>::Archived: Deserialize<SmolStr, __D>,\n Niche: ArchiveWith<Option<Box<EmbedMedia>>> + DeserializeWith<<Niche as ArchiveWith<Option<Box<EmbedMedia>>>>::Archived, Option<Box<EmbedMedia>>, __D>,\n bool: Archive,\n <bool as Archive>::Archived: Deserialize<bool, __D>,
"],["impl<__D: Fallible + ?Sized> Deserialize<EmbedFooter, __D> for Archived<EmbedFooter>
where\n ThinString: Archive,\n <ThinString as Archive>::Archived: Deserialize<ThinString, __D>,\n Niche: ArchiveWith<Option<Box<EmbedMedia>>> + DeserializeWith<<Niche as ArchiveWith<Option<Box<EmbedMedia>>>>::Archived, Option<Box<EmbedMedia>>, __D>,
"],["impl<__D: Fallible + ?Sized> Deserialize<EmbedMedia, __D> for Archived<EmbedMedia>
where\n BasicEmbedMedia: Archive,\n <BasicEmbedMedia as Archive>::Archived: Deserialize<BasicEmbedMedia, __D>,\n Vec<BasicEmbedMedia>: Archive,\n <Vec<BasicEmbedMedia> as Archive>::Archived: Deserialize<Vec<BasicEmbedMedia>, __D>,
"],["impl<__D: Fallible + ?Sized> Deserialize<EmbedProvider, __D> for Archived<EmbedProvider>
where\n Option<SmolStr>: Archive,\n <Option<SmolStr> as Archive>::Archived: Deserialize<Option<SmolStr>, __D>,\n Option<ThinString>: Archive,\n <Option<ThinString> as Archive>::Archived: Deserialize<Option<ThinString>, __D>,\n Niche: ArchiveWith<Option<Box<EmbedMedia>>> + DeserializeWith<<Niche as ArchiveWith<Option<Box<EmbedMedia>>>>::Archived, Option<Box<EmbedMedia>>, __D>,
"],["impl<__D: Fallible + ?Sized> Deserialize<EmbedV1, __D> for Archived<EmbedV1>
where\n Timestamp: Archive,\n <Timestamp as Archive>::Archived: Deserialize<Timestamp, __D>,\n EmbedType: Archive,\n <EmbedType as Archive>::Archived: Deserialize<EmbedType, __D>,\n EmbedFlags: Archive,\n <EmbedFlags as Archive>::Archived: Deserialize<EmbedFlags, __D>,\n Option<ThinString>: Archive,\n <Option<ThinString> as Archive>::Archived: Deserialize<Option<ThinString>, __D>,\n Option<u32>: Archive,\n <Option<u32> as Archive>::Archived: Deserialize<Option<u32>, __D>,\n Option<EmbedAuthor>: Archive,\n <Option<EmbedAuthor> as Archive>::Archived: Deserialize<Option<EmbedAuthor>, __D>,\n EmbedProvider: Archive,\n <EmbedProvider as Archive>::Archived: Deserialize<EmbedProvider, __D>,\n Niche: ArchiveWith<Option<Box<EmbedMedia>>> + DeserializeWith<<Niche as ArchiveWith<Option<Box<EmbedMedia>>>>::Archived, Option<Box<EmbedMedia>>, __D>,\n Vec<EmbedField>: Archive,\n <Vec<EmbedField> as Archive>::Archived: Deserialize<Vec<EmbedField>, __D>,\n Option<EmbedFooter>: Archive,\n <Option<EmbedFooter> as Archive>::Archived: Deserialize<Option<EmbedFooter>, __D>,
"],["impl<__D: Fallible + ?Sized> Deserialize<CustomEmote, __D> for Archived<CustomEmote>
where\n EmoteId: Archive,\n <EmoteId as Archive>::Archived: Deserialize<EmoteId, __D>,\n PartyId: Archive,\n <PartyId as Archive>::Archived: Deserialize<PartyId, __D>,\n FileId: Archive,\n <FileId as Archive>::Archived: Deserialize<FileId, __D>,\n SmolStr: Archive,\n <SmolStr as Archive>::Archived: Deserialize<SmolStr, __D>,\n EmoteFlags: Archive,\n <EmoteFlags as Archive>::Archived: Deserialize<EmoteFlags, __D>,\n f32: Archive,\n <f32 as Archive>::Archived: Deserialize<f32, __D>,
"],["impl<__D: Fallible + ?Sized> Deserialize<File, __D> for Archived<File>
where\n FileId: Archive,\n <FileId as Archive>::Archived: Deserialize<FileId, __D>,\n SmolStr: Archive,\n <SmolStr as Archive>::Archived: Deserialize<SmolStr, __D>,\n i64: Archive,\n <i64 as Archive>::Archived: Deserialize<i64, __D>,\n Option<SmolStr>: Archive,\n <Option<SmolStr> as Archive>::Archived: Deserialize<Option<SmolStr>, __D>,\n Option<i32>: Archive,\n <Option<i32> as Archive>::Archived: Deserialize<Option<i32>, __D>,\n Option<ThinString>: Archive,\n <Option<ThinString> as Archive>::Archived: Deserialize<Option<ThinString>, __D>,
"],["impl<__D: Fallible + ?Sized> Deserialize<Identify, __D> for Archived<Identify>
where\n AuthToken: Archive,\n <AuthToken as Archive>::Archived: Deserialize<AuthToken, __D>,\n Intent: Archive,\n <Intent as Archive>::Archived: Deserialize<Intent, __D>,
"],["impl<__D: Fallible + ?Sized> Deserialize<SetPresence, __D> for Archived<SetPresence>
where\n UserPresence: Archive,\n <UserPresence as Archive>::Archived: Deserialize<UserPresence, __D>,
"],["impl<__D: Fallible + ?Sized> Deserialize<Hello, __D> for Archived<Hello>
where\n u32: Archive,\n <u32 as Archive>::Archived: Deserialize<u32, __D>,
"],["impl<__D: Fallible + ?Sized> Deserialize<MessageDeleteEvent, __D> for Archived<MessageDeleteEvent>
where\n MessageId: Archive,\n <MessageId as Archive>::Archived: Deserialize<MessageId, __D>,\n RoomId: Archive,\n <RoomId as Archive>::Archived: Deserialize<RoomId, __D>,\n PartyId: Archive,\n <PartyId as Archive>::Archived: Deserialize<PartyId, __D>,
"],["impl<__D: Fallible + ?Sized> Deserialize<PartyMemberEvent, __D> for Archived<PartyMemberEvent>
where\n PartyId: Archive,\n <PartyId as Archive>::Archived: Deserialize<PartyId, __D>,\n PartyMember: Archive,\n <PartyMember as Archive>::Archived: Deserialize<PartyMember, __D>,
"],["impl<__D: Fallible + ?Sized> Deserialize<PartyPositionUpdate, __D> for Archived<PartyPositionUpdate>
where\n PartyId: Archive,\n <PartyId as Archive>::Archived: Deserialize<PartyId, __D>,\n i16: Archive,\n <i16 as Archive>::Archived: Deserialize<i16, __D>,
"],["impl<__D: Fallible + ?Sized> Deserialize<ProfileUpdateEvent, __D> for Archived<ProfileUpdateEvent>
where\n Option<PartyId>: Archive,\n <Option<PartyId> as Archive>::Archived: Deserialize<Option<PartyId>, __D>,\n User: Archive,\n <User as Archive>::Archived: Deserialize<User, __D>,
"],["impl<__D: Fallible + ?Sized> Deserialize<Ready, __D> for Archived<Ready>
where\n User: Archive,\n <User as Archive>::Archived: Deserialize<User, __D>,\n ThinVec<ReadyParty>: Archive,\n <ThinVec<ReadyParty> as Archive>::Archived: Deserialize<ThinVec<ReadyParty>, __D>,\n ThinVec<Room>: Archive,\n <ThinVec<Room> as Archive>::Archived: Deserialize<ThinVec<Room>, __D>,\n Snowflake: Archive,\n <Snowflake as Archive>::Archived: Deserialize<Snowflake, __D>,
"],["impl<__D: Fallible + ?Sized> Deserialize<ReadyParty, __D> for Archived<ReadyParty>
where\n Party: Archive,\n <Party as Archive>::Archived: Deserialize<Party, __D>,\n PartyMember: Archive,\n <PartyMember as Archive>::Archived: Deserialize<PartyMember, __D>,
"],["impl<__D: Fallible + ?Sized> Deserialize<RoleDeleteEvent, __D> for Archived<RoleDeleteEvent>
where\n RoleId: Archive,\n <RoleId as Archive>::Archived: Deserialize<RoleId, __D>,\n PartyId: Archive,\n <PartyId as Archive>::Archived: Deserialize<PartyId, __D>,
"],["impl<__D: Fallible + ?Sized> Deserialize<RoomDeleteEvent, __D> for Archived<RoomDeleteEvent>
where\n RoomId: Archive,\n <RoomId as Archive>::Archived: Deserialize<RoomId, __D>,\n NicheSnowflake: ArchiveWith<Option<PartyId>> + DeserializeWith<<NicheSnowflake as ArchiveWith<Option<PartyId>>>::Archived, Option<PartyId>, __D>,
"],["impl<__D: Fallible + ?Sized> Deserialize<TypingStart, __D> for Archived<TypingStart>
where\n RoomId: Archive,\n <RoomId as Archive>::Archived: Deserialize<RoomId, __D>,\n PartyId: Archive,\n <PartyId as Archive>::Archived: Deserialize<PartyId, __D>,\n UserId: Archive,\n <UserId as Archive>::Archived: Deserialize<UserId, __D>,\n PartyMember: Archive,\n <PartyMember as Archive>::Archived: Deserialize<PartyMember, __D>,\n Option<MessageId>: Archive,\n <Option<MessageId> as Archive>::Archived: Deserialize<Option<MessageId>, __D>,
"],["impl<__D: Fallible + ?Sized> Deserialize<UserPresenceEvent, __D> for Archived<UserPresenceEvent>
where\n Option<PartyId>: Archive,\n <Option<PartyId> as Archive>::Archived: Deserialize<Option<PartyId>, __D>,\n User: Archive,\n <User as Archive>::Archived: Deserialize<User, __D>,
"],["impl<__D: Fallible + ?Sized> Deserialize<UserReactionEvent, __D> for Archived<UserReactionEvent>
where\n UserId: Archive,\n <UserId as Archive>::Archived: Deserialize<UserId, __D>,\n RoomId: Archive,\n <RoomId as Archive>::Archived: Deserialize<RoomId, __D>,\n PartyId: Archive,\n <PartyId as Archive>::Archived: Deserialize<PartyId, __D>,\n MessageId: Archive,\n <MessageId as Archive>::Archived: Deserialize<MessageId, __D>,\n Niche: ArchiveWith<Option<Box<PartyMember>>> + DeserializeWith<<Niche as ArchiveWith<Option<Box<PartyMember>>>>::Archived, Option<Box<PartyMember>>, __D>,\n EmoteOrEmoji: Archive,\n <EmoteOrEmoji as Archive>::Archived: Deserialize<EmoteOrEmoji, __D>,
"],["impl<__D: Fallible + ?Sized> Deserialize<HeartbeatPayload, __D> for Archived<HeartbeatPayload>"],["impl<__D: Fallible + ?Sized> Deserialize<IdentifyPayload, __D> for Archived<IdentifyPayload>
where\n Box<Identify>: Archive,\n <Box<Identify> as Archive>::Archived: Deserialize<Box<Identify>, __D>,
"],["impl<__D: Fallible + ?Sized> Deserialize<ResumePayload, __D> for Archived<ResumePayload>
where\n Snowflake: Archive,\n <Snowflake as Archive>::Archived: Deserialize<Snowflake, __D>,
"],["impl<__D: Fallible + ?Sized> Deserialize<SetPresencePayload, __D> for Archived<SetPresencePayload>
where\n Box<SetPresence>: Archive,\n <Box<SetPresence> as Archive>::Archived: Deserialize<Box<SetPresence>, __D>,
"],["impl<__D: Fallible + ?Sized> Deserialize<SubscribePayload, __D> for Archived<SubscribePayload>
where\n PartyId: Archive,\n <PartyId as Archive>::Archived: Deserialize<PartyId, __D>,
"],["impl<__D: Fallible + ?Sized> Deserialize<UnsubscribePayload, __D> for Archived<UnsubscribePayload>
where\n PartyId: Archive,\n <PartyId as Archive>::Archived: Deserialize<PartyId, __D>,
"],["impl<__D: Fallible + ?Sized> Deserialize<HeartbeatAckPayload, __D> for Archived<HeartbeatAckPayload>"],["impl<__D: Fallible + ?Sized> Deserialize<HelloPayload, __D> for Archived<HelloPayload>
where\n Hello: Archive,\n <Hello as Archive>::Archived: Deserialize<Hello, __D>,
"],["impl<__D: Fallible + ?Sized> Deserialize<InvalidSessionPayload, __D> for Archived<InvalidSessionPayload>"],["impl<__D: Fallible + ?Sized> Deserialize<MemberAddPayload, __D> for Archived<MemberAddPayload>
where\n Arc<PartyMemberEvent>: Archive,\n <Arc<PartyMemberEvent> as Archive>::Archived: Deserialize<Arc<PartyMemberEvent>, __D>,
"],["impl<__D: Fallible + ?Sized> Deserialize<MemberBanPayload, __D> for Archived<MemberBanPayload>
where\n Arc<PartyMemberEvent>: Archive,\n <Arc<PartyMemberEvent> as Archive>::Archived: Deserialize<Arc<PartyMemberEvent>, __D>,
"],["impl<__D: Fallible + ?Sized> Deserialize<MemberRemovePayload, __D> for Archived<MemberRemovePayload>
where\n Arc<PartyMemberEvent>: Archive,\n <Arc<PartyMemberEvent> as Archive>::Archived: Deserialize<Arc<PartyMemberEvent>, __D>,
"],["impl<__D: Fallible + ?Sized> Deserialize<MemberUnbanPayload, __D> for Archived<MemberUnbanPayload>
where\n Arc<PartyMemberEvent>: Archive,\n <Arc<PartyMemberEvent> as Archive>::Archived: Deserialize<Arc<PartyMemberEvent>, __D>,
"],["impl<__D: Fallible + ?Sized> Deserialize<MemberUpdatePayload, __D> for Archived<MemberUpdatePayload>
where\n Arc<PartyMemberEvent>: Archive,\n <Arc<PartyMemberEvent> as Archive>::Archived: Deserialize<Arc<PartyMemberEvent>, __D>,
"],["impl<__D: Fallible + ?Sized> Deserialize<MessageCreatePayload, __D> for Archived<MessageCreatePayload>
where\n Arc<Message>: Archive,\n <Arc<Message> as Archive>::Archived: Deserialize<Arc<Message>, __D>,
"],["impl<__D: Fallible + ?Sized> Deserialize<MessageDeletePayload, __D> for Archived<MessageDeletePayload>
where\n Arc<MessageDeleteEvent>: Archive,\n <Arc<MessageDeleteEvent> as Archive>::Archived: Deserialize<Arc<MessageDeleteEvent>, __D>,
"],["impl<__D: Fallible + ?Sized> Deserialize<MessageReactionAddPayload, __D> for Archived<MessageReactionAddPayload>
where\n Arc<UserReactionEvent>: Archive,\n <Arc<UserReactionEvent> as Archive>::Archived: Deserialize<Arc<UserReactionEvent>, __D>,
"],["impl<__D: Fallible + ?Sized> Deserialize<MessageReactionRemoveAllPayload, __D> for Archived<MessageReactionRemoveAllPayload>"],["impl<__D: Fallible + ?Sized> Deserialize<MessageReactionRemoveEmotePayload, __D> for Archived<MessageReactionRemoveEmotePayload>"],["impl<__D: Fallible + ?Sized> Deserialize<MessageReactionRemovePayload, __D> for Archived<MessageReactionRemovePayload>
where\n Arc<UserReactionEvent>: Archive,\n <Arc<UserReactionEvent> as Archive>::Archived: Deserialize<Arc<UserReactionEvent>, __D>,
"],["impl<__D: Fallible + ?Sized> Deserialize<MessageUpdatePayload, __D> for Archived<MessageUpdatePayload>
where\n Arc<Message>: Archive,\n <Arc<Message> as Archive>::Archived: Deserialize<Arc<Message>, __D>,
"],["impl<__D: Fallible + ?Sized> Deserialize<PartyCreatePayload, __D> for Archived<PartyCreatePayload>
where\n Arc<Party>: Archive,\n <Arc<Party> as Archive>::Archived: Deserialize<Arc<Party>, __D>,
"],["impl<__D: Fallible + ?Sized> Deserialize<PartyDeletePayload, __D> for Archived<PartyDeletePayload>
where\n PartyId: Archive,\n <PartyId as Archive>::Archived: Deserialize<PartyId, __D>,
"],["impl<__D: Fallible + ?Sized> Deserialize<PartyUpdatePayload, __D> for Archived<PartyUpdatePayload>
where\n Arc<PartyUpdateEvent>: Archive,\n <Arc<PartyUpdateEvent> as Archive>::Archived: Deserialize<Arc<PartyUpdateEvent>, __D>,
"],["impl<__D: Fallible + ?Sized> Deserialize<PresenceUpdatePayload, __D> for Archived<PresenceUpdatePayload>
where\n Arc<UserPresenceEvent>: Archive,\n <Arc<UserPresenceEvent> as Archive>::Archived: Deserialize<Arc<UserPresenceEvent>, __D>,
"],["impl<__D: Fallible + ?Sized> Deserialize<ProfileUpdatePayload, __D> for Archived<ProfileUpdatePayload>
where\n Arc<ProfileUpdateEvent>: Archive,\n <Arc<ProfileUpdateEvent> as Archive>::Archived: Deserialize<Arc<ProfileUpdateEvent>, __D>,
"],["impl<__D: Fallible + ?Sized> Deserialize<ReadyPayload, __D> for Archived<ReadyPayload>
where\n Arc<Ready>: Archive,\n <Arc<Ready> as Archive>::Archived: Deserialize<Arc<Ready>, __D>,
"],["impl<__D: Fallible + ?Sized> Deserialize<RelationAddPayload, __D> for Archived<RelationAddPayload>
where\n Arc<Relationship>: Archive,\n <Arc<Relationship> as Archive>::Archived: Deserialize<Arc<Relationship>, __D>,
"],["impl<__D: Fallible + ?Sized> Deserialize<RelationRemovePayload, __D> for Archived<RelationRemovePayload>
where\n UserId: Archive,\n <UserId as Archive>::Archived: Deserialize<UserId, __D>,
"],["impl<__D: Fallible + ?Sized> Deserialize<RoleCreatePayload, __D> for Archived<RoleCreatePayload>
where\n Arc<Role>: Archive,\n <Arc<Role> as Archive>::Archived: Deserialize<Arc<Role>, __D>,
"],["impl<__D: Fallible + ?Sized> Deserialize<RoleDeletePayload, __D> for Archived<RoleDeletePayload>
where\n Arc<RoleDeleteEvent>: Archive,\n <Arc<RoleDeleteEvent> as Archive>::Archived: Deserialize<Arc<RoleDeleteEvent>, __D>,
"],["impl<__D: Fallible + ?Sized> Deserialize<RoleUpdatePayload, __D> for Archived<RoleUpdatePayload>
where\n Arc<Role>: Archive,\n <Arc<Role> as Archive>::Archived: Deserialize<Arc<Role>, __D>,
"],["impl<__D: Fallible + ?Sized> Deserialize<RoomCreatePayload, __D> for Archived<RoomCreatePayload>
where\n Arc<()>: Archive,\n <Arc<()> as Archive>::Archived: Deserialize<Arc<()>, __D>,
"],["impl<__D: Fallible + ?Sized> Deserialize<RoomDeletePayload, __D> for Archived<RoomDeletePayload>
where\n Arc<RoomDeleteEvent>: Archive,\n <Arc<RoomDeleteEvent> as Archive>::Archived: Deserialize<Arc<RoomDeleteEvent>, __D>,
"],["impl<__D: Fallible + ?Sized> Deserialize<RoomPinsUpdatePayload, __D> for Archived<RoomPinsUpdatePayload>"],["impl<__D: Fallible + ?Sized> Deserialize<RoomUpdatePayload, __D> for Archived<RoomUpdatePayload>
where\n Arc<()>: Archive,\n <Arc<()> as Archive>::Archived: Deserialize<Arc<()>, __D>,
"],["impl<__D: Fallible + ?Sized> Deserialize<TypingStartPayload, __D> for Archived<TypingStartPayload>
where\n Arc<TypingStart>: Archive,\n <Arc<TypingStart> as Archive>::Archived: Deserialize<Arc<TypingStart>, __D>,
"],["impl<__D: Fallible + ?Sized> Deserialize<UserUpdatePayload, __D> for Archived<UserUpdatePayload>
where\n Arc<User>: Archive,\n <Arc<User> as Archive>::Archived: Deserialize<Arc<User>, __D>,
"],["impl<__D: Fallible + ?Sized> Deserialize<Invite, __D> for Archived<Invite>
where\n SmolStr: Archive,\n <SmolStr as Archive>::Archived: Deserialize<SmolStr, __D>,\n PartialParty: Archive,\n <PartialParty as Archive>::Archived: Deserialize<PartialParty, __D>,\n NicheSnowflake: ArchiveWith<Option<UserId>> + DeserializeWith<<NicheSnowflake as ArchiveWith<Option<UserId>>>::Archived, Option<UserId>, __D>,\n Option<SmolStr>: Archive,\n <Option<SmolStr> as Archive>::Archived: Deserialize<Option<SmolStr>, __D>,\n Option<Timestamp>: Archive,\n <Option<Timestamp> as Archive>::Archived: Deserialize<Option<Timestamp>, __D>,\n Option<u16>: Archive,\n <Option<u16> as Archive>::Archived: Deserialize<Option<u16>, __D>,
"],["impl<__D: Fallible + ?Sized> Deserialize<Attachment, __D> for Archived<Attachment>
where\n File: Archive,\n <File as Archive>::Archived: Deserialize<File, __D>,
"],["impl<__D: Fallible + ?Sized> Deserialize<Message, __D> for Archived<Message>
where\n MessageId: Archive,\n <MessageId as Archive>::Archived: Deserialize<MessageId, __D>,\n RoomId: Archive,\n <RoomId as Archive>::Archived: Deserialize<RoomId, __D>,\n PartyId: Archive,\n <PartyId as Archive>::Archived: Deserialize<PartyId, __D>,\n MessageKind: Archive,\n <MessageKind as Archive>::Archived: Deserialize<MessageKind, __D>,\n PartyMember: Archive,\n <PartyMember as Archive>::Archived: Deserialize<PartyMember, __D>,\n Option<MessageId>: Archive,\n <Option<MessageId> as Archive>::Archived: Deserialize<Option<MessageId>, __D>,\n Option<Timestamp>: Archive,\n <Option<Timestamp> as Archive>::Archived: Deserialize<Option<Timestamp>, __D>,\n Option<SmolStr>: Archive,\n <Option<SmolStr> as Archive>::Archived: Deserialize<Option<SmolStr>, __D>,\n MessageFlags: Archive,\n <MessageFlags as Archive>::Archived: Deserialize<MessageFlags, __D>,\n ThinVec<FolderId>: Archive,\n <ThinVec<FolderId> as Archive>::Archived: Deserialize<ThinVec<FolderId>, __D>,\n ThinVec<UserId>: Archive,\n <ThinVec<UserId> as Archive>::Archived: Deserialize<ThinVec<UserId>, __D>,\n ThinVec<RoleId>: Archive,\n <ThinVec<RoleId> as Archive>::Archived: Deserialize<ThinVec<RoleId>, __D>,\n ThinVec<RoomId>: Archive,\n <ThinVec<RoomId> as Archive>::Archived: Deserialize<ThinVec<RoomId>, __D>,\n ThinVec<Reaction>: Archive,\n <ThinVec<Reaction> as Archive>::Archived: Deserialize<ThinVec<Reaction>, __D>,\n ThinVec<Attachment>: Archive,\n <ThinVec<Attachment> as Archive>::Archived: Deserialize<ThinVec<Attachment>, __D>,\n ThinVec<Embed>: Archive,\n <ThinVec<Embed> as Archive>::Archived: Deserialize<ThinVec<Embed>, __D>,\n i32: Archive,\n <i32 as Archive>::Archived: Deserialize<i32, __D>,
"],["impl<__D: Fallible + ?Sized> Deserialize<ReactionFull, __D> for Archived<ReactionFull>
where\n EmoteOrEmoji: Archive,\n <EmoteOrEmoji as Archive>::Archived: Deserialize<EmoteOrEmoji, __D>,\n ThinVec<UserId>: Archive,\n <ThinVec<UserId> as Archive>::Archived: Deserialize<ThinVec<UserId>, __D>,
"],["impl<__D: Fallible + ?Sized> Deserialize<ReactionShorthand, __D> for Archived<ReactionShorthand>
where\n EmoteOrEmoji: Archive,\n <EmoteOrEmoji as Archive>::Archived: Deserialize<EmoteOrEmoji, __D>,\n bool: Archive,\n <bool as Archive>::Archived: Deserialize<bool, __D>,\n i64: Archive,\n <i64 as Archive>::Archived: Deserialize<i64, __D>,
"],["impl<__D: Fallible + ?Sized> Deserialize<PartialParty, __D> for Archived<PartialParty>
where\n PartyId: Archive,\n <PartyId as Archive>::Archived: Deserialize<PartyId, __D>,\n SmolStr: Archive,\n <SmolStr as Archive>::Archived: Deserialize<SmolStr, __D>,\n Option<ThinString>: Archive,\n <Option<ThinString> as Archive>::Archived: Deserialize<Option<ThinString>, __D>,
"],["impl<__D: Fallible + ?Sized> Deserialize<Party, __D> for Archived<Party>
where\n PartialParty: Archive,\n <PartialParty as Archive>::Archived: Deserialize<PartialParty, __D>,\n PartyFlags: Archive,\n <PartyFlags as Archive>::Archived: Deserialize<PartyFlags, __D>,\n Option<EncryptedSnowflake>: Archive,\n <Option<EncryptedSnowflake> as Archive>::Archived: Deserialize<Option<EncryptedSnowflake>, __D>,\n Nullable<EncryptedSnowflake>: Archive,\n <Nullable<EncryptedSnowflake> as Archive>::Archived: Deserialize<Nullable<EncryptedSnowflake>, __D>,\n RoomId: Archive,\n <RoomId as Archive>::Archived: Deserialize<RoomId, __D>,\n Option<i16>: Archive,\n <Option<i16> as Archive>::Archived: Deserialize<Option<i16>, __D>,\n UserId: Archive,\n <UserId as Archive>::Archived: Deserialize<UserId, __D>,\n ThinVec<Role>: Archive,\n <ThinVec<Role> as Archive>::Archived: Deserialize<ThinVec<Role>, __D>,\n ThinVec<Emote>: Archive,\n <ThinVec<Emote> as Archive>::Archived: Deserialize<ThinVec<Emote>, __D>,\n ThinVec<PinFolder>: Archive,\n <ThinVec<PinFolder> as Archive>::Archived: Deserialize<ThinVec<PinFolder>, __D>,
"],["impl<__D: Fallible + ?Sized> Deserialize<PartyMember, __D> for Archived<PartyMember>
where\n User: Archive,\n <User as Archive>::Archived: Deserialize<User, __D>,\n Option<Timestamp>: Archive,\n <Option<Timestamp> as Archive>::Archived: Deserialize<Option<Timestamp>, __D>,\n PartyMemberFlags: Archive,\n <PartyMemberFlags as Archive>::Archived: Deserialize<PartyMemberFlags, __D>,\n ThinVec<RoleId>: Archive,\n <ThinVec<RoleId> as Archive>::Archived: Deserialize<ThinVec<RoleId>, __D>,
"],["impl<__D: Fallible + ?Sized> Deserialize<PartyPreferences, __D> for Archived<PartyPreferences>
where\n Locale: Archive,\n <Locale as Archive>::Archived: Deserialize<Locale, __D>,\n PartyPrefsFlags: Archive,\n <PartyPrefsFlags as Archive>::Archived: Deserialize<PartyPrefsFlags, __D>,
"],["impl<__D: Fallible + ?Sized> Deserialize<PinFolder, __D> for Archived<PinFolder>
where\n FolderId: Archive,\n <FolderId as Archive>::Archived: Deserialize<FolderId, __D>,\n SmolStr: Archive,\n <SmolStr as Archive>::Archived: Deserialize<SmolStr, __D>,\n PinFolderFlags: Archive,\n <PinFolderFlags as Archive>::Archived: Deserialize<PinFolderFlags, __D>,\n Option<SmolStr>: Archive,\n <Option<SmolStr> as Archive>::Archived: Deserialize<Option<SmolStr>, __D>,
"],["impl<__D: Fallible + ?Sized> Deserialize<Overwrite, __D> for Archived<Overwrite>
where\n Snowflake: Archive,\n <Snowflake as Archive>::Archived: Deserialize<Snowflake, __D>,\n Permissions: Archive,\n <Permissions as Archive>::Archived: Deserialize<Permissions, __D>,
"],["impl<__D: Fallible + ?Sized> Deserialize<Activity, __D> for Archived<Activity>"],["impl<__D: Fallible + ?Sized> Deserialize<UserPresence, __D> for Archived<UserPresence>
where\n UserPresenceFlags: Archive,\n <UserPresenceFlags as Archive>::Archived: Deserialize<UserPresenceFlags, __D>,\n Option<u64>: Archive,\n <Option<u64> as Archive>::Archived: Deserialize<Option<u64>, __D>,\n Option<Timestamp>: Archive,\n <Option<Timestamp> as Archive>::Archived: Deserialize<Option<Timestamp>, __D>,\n Option<AnyActivity>: Archive,\n <Option<AnyActivity> as Archive>::Archived: Deserialize<Option<AnyActivity>, __D>,
"],["impl<__D: Fallible + ?Sized> Deserialize<Role, __D> for Archived<Role>
where\n RoleId: Archive,\n <RoleId as Archive>::Archived: Deserialize<RoleId, __D>,\n PartyId: Archive,\n <PartyId as Archive>::Archived: Deserialize<PartyId, __D>,\n Option<EncryptedSnowflake>: Archive,\n <Option<EncryptedSnowflake> as Archive>::Archived: Deserialize<Option<EncryptedSnowflake>, __D>,\n SmolStr: Archive,\n <SmolStr as Archive>::Archived: Deserialize<SmolStr, __D>,\n Option<SmolStr>: Archive,\n <Option<SmolStr> as Archive>::Archived: Deserialize<Option<SmolStr>, __D>,\n Permissions: Archive,\n <Permissions as Archive>::Archived: Deserialize<Permissions, __D>,\n Option<u32>: Archive,\n <Option<u32> as Archive>::Archived: Deserialize<Option<u32>, __D>,\n i16: Archive,\n <i16 as Archive>::Archived: Deserialize<i16, __D>,\n RoleFlags: Archive,\n <RoleFlags as Archive>::Archived: Deserialize<RoleFlags, __D>,
"],["impl<__D: Fallible + ?Sized> Deserialize<FullRoom, __D> for Archived<FullRoom>
where\n Room: Archive,\n <Room as Archive>::Archived: Deserialize<Room, __D>,\n Permissions: Archive,\n <Permissions as Archive>::Archived: Deserialize<Permissions, __D>,
"],["impl<__D: Fallible + ?Sized> Deserialize<Room, __D> for Archived<Room>
where\n RoomId: Archive,\n <RoomId as Archive>::Archived: Deserialize<RoomId, __D>,\n RoomFlags: Archive,\n <RoomFlags as Archive>::Archived: Deserialize<RoomFlags, __D>,\n PartyId: Archive,\n <PartyId as Archive>::Archived: Deserialize<PartyId, __D>,\n Option<EncryptedSnowflake>: Archive,\n <Option<EncryptedSnowflake> as Archive>::Archived: Deserialize<Option<EncryptedSnowflake>, __D>,\n SmolStr: Archive,\n <SmolStr as Archive>::Archived: Deserialize<SmolStr, __D>,\n Option<SmolStr>: Archive,\n <Option<SmolStr> as Archive>::Archived: Deserialize<Option<SmolStr>, __D>,\n i16: Archive,\n <i16 as Archive>::Archived: Deserialize<i16, __D>,\n Niche: ArchiveWith<Option<NonZeroU32>> + DeserializeWith<<Niche as ArchiveWith<Option<NonZeroU32>>>::Archived, Option<NonZeroU32>, __D>,\n NicheSnowflake: ArchiveWith<Option<RoomId>> + DeserializeWith<<NicheSnowflake as ArchiveWith<Option<RoomId>>>::Archived, Option<RoomId>, __D>,\n ThinVec<Overwrite>: Archive,\n <ThinVec<Overwrite> as Archive>::Archived: Deserialize<ThinVec<Overwrite>, __D>,
"],["impl<__D: Fallible + ?Sized> Deserialize<AnonymousSession, __D> for Archived<AnonymousSession>
where\n Timestamp: Archive,\n <Timestamp as Archive>::Archived: Deserialize<Timestamp, __D>,
"],["impl<__D: Fallible + ?Sized> Deserialize<Session, __D> for Archived<Session>
where\n AuthToken: Archive,\n <AuthToken as Archive>::Archived: Deserialize<AuthToken, __D>,\n Timestamp: Archive,\n <Timestamp as Archive>::Archived: Deserialize<Timestamp, __D>,
"],["impl<__D: Fallible + ?Sized> Deserialize<RoomStatistics, __D> for Archived<RoomStatistics>
where\n u64: Archive,\n <u64 as Archive>::Archived: Deserialize<u64, __D>,
"],["impl<__D: Fallible + ?Sized> Deserialize<Thread, __D> for Archived<Thread>
where\n ThreadId: Archive,\n <ThreadId as Archive>::Archived: Deserialize<ThreadId, __D>,\n Message: Archive,\n <Message as Archive>::Archived: Deserialize<Message, __D>,\n ThreadFlags: Archive,\n <ThreadFlags as Archive>::Archived: Deserialize<ThreadFlags, __D>,
"],["impl<__D: Fallible + ?Sized> Deserialize<FontSize, __D> for Archived<FontSize>
where\n f32: Archive,\n <f32 as Archive>::Archived: Deserialize<f32, __D>,
"],["impl<__D: Fallible + ?Sized> Deserialize<Padding, __D> for Archived<Padding>
where\n u8: Archive,\n <u8 as Archive>::Archived: Deserialize<u8, __D>,
"],["impl<__D: Fallible + ?Sized> Deserialize<TabSize, __D> for Archived<TabSize>
where\n u8: Archive,\n <u8 as Archive>::Archived: Deserialize<u8, __D>,
"],["impl<__D: Fallible + ?Sized> Deserialize<Temperature, __D> for Archived<Temperature>
where\n u16: Archive,\n <u16 as Archive>::Archived: Deserialize<u16, __D>,
"],["impl<__D: Fallible + ?Sized> Deserialize<Relationship, __D> for Archived<Relationship>
where\n Option<SmolStr>: Archive,\n <Option<SmolStr> as Archive>::Archived: Deserialize<Option<SmolStr>, __D>,\n User: Archive,\n <User as Archive>::Archived: Deserialize<User, __D>,\n Timestamp: Archive,\n <Timestamp as Archive>::Archived: Deserialize<Timestamp, __D>,\n UserRelationship: Archive,\n <UserRelationship as Archive>::Archived: Deserialize<UserRelationship, __D>,\n bool: Archive,\n <bool as Archive>::Archived: Deserialize<bool, __D>,
"],["impl<__D: Fallible + ?Sized> Deserialize<User, __D> for Archived<User>
where\n UserId: Archive,\n <UserId as Archive>::Archived: Deserialize<UserId, __D>,\n SmolStr: Archive,\n <SmolStr as Archive>::Archived: Deserialize<SmolStr, __D>,\n i32: Archive,\n <i32 as Archive>::Archived: Deserialize<i32, __D>,\n UserFlags: Archive,\n <UserFlags as Archive>::Archived: Deserialize<UserFlags, __D>,\n Nullable<Arc<UserProfile>>: Archive,\n <Nullable<Arc<UserProfile>> as Archive>::Archived: Deserialize<Nullable<Arc<UserProfile>>, __D>,\n Option<SmolStr>: Archive,\n <Option<SmolStr> as Archive>::Archived: Deserialize<Option<SmolStr>, __D>,\n Option<UserPreferences>: Archive,\n <Option<UserPreferences> as Archive>::Archived: Deserialize<Option<UserPreferences>, __D>,\n Option<UserPresence>: Archive,\n <Option<UserPresence> as Archive>::Archived: Deserialize<Option<UserPresence>, __D>,
"],["impl<__D: Fallible + ?Sized> Deserialize<UserPreferences, __D> for Archived<UserPreferences>
where\n Locale: Archive,\n <Locale as Archive>::Archived: Deserialize<Locale, __D>,\n UserPrefsFlags: Archive,\n <UserPrefsFlags as Archive>::Archived: Deserialize<UserPrefsFlags, __D>,\n FriendAddability: Archive,\n <FriendAddability as Archive>::Archived: Deserialize<FriendAddability, __D>,\n Temperature: Archive,\n <Temperature as Archive>::Archived: Deserialize<Temperature, __D>,\n Font: Archive,\n <Font as Archive>::Archived: Deserialize<Font, __D>,\n FontSize: Archive,\n <FontSize as Archive>::Archived: Deserialize<FontSize, __D>,\n Padding: Archive,\n <Padding as Archive>::Archived: Deserialize<Padding, __D>,\n TabSize: Archive,\n <TabSize as Archive>::Archived: Deserialize<TabSize, __D>,
"],["impl<__D: Fallible + ?Sized> Deserialize<UserProfile, __D> for Archived<UserProfile>
where\n UserProfileBits: Archive,\n <UserProfileBits as Archive>::Archived: Deserialize<UserProfileBits, __D>,\n ExtraUserProfileBits: Archive,\n <ExtraUserProfileBits as Archive>::Archived: Deserialize<ExtraUserProfileBits, __D>,\n Nullable<SmolStr>: Archive,\n <Nullable<SmolStr> as Archive>::Archived: Deserialize<Nullable<SmolStr>, __D>,\n Nullable<EncryptedSnowflake>: Archive,\n <Nullable<EncryptedSnowflake> as Archive>::Archived: Deserialize<Nullable<EncryptedSnowflake>, __D>,
"],["impl<const N: usize, D> Deserialize<FixedStr<N>, D> for FixedStr<N>
where\n D: Fallible + ?Sized,
"]]]]); + if (window.register_implementors) { + window.register_implementors(implementors); + } else { + window.pending_implementors = implementors; + } +})() +//{"start":57,"fragment_lengths":[429262]} \ No newline at end of file diff --git a/trait.impl/rkyv/traits/trait.NoUndef.js b/trait.impl/rkyv/traits/trait.NoUndef.js new file mode 100644 index 000000000..c66501e9f --- /dev/null +++ b/trait.impl/rkyv/traits/trait.NoUndef.js @@ -0,0 +1,9 @@ +(function() { + var implementors = Object.fromEntries([["client_sdk",[["impl NoUndef for CreateRoomKind"],["impl NoUndef for BannerAlign"],["impl NoUndef for ArchivedMessageKind"],["impl NoUndef for ArchivedApiErrorCode"],["impl NoUndef for ArchivedAssetFlags"],["impl NoUndef for ArchivedEmbedFlags"],["impl NoUndef for ArchivedEmoteFlags"],["impl NoUndef for ArchivedIntent"],["impl NoUndef for ArchivedMessageFlags"],["impl NoUndef for ArchivedPartyFlags"],["impl NoUndef for ArchivedPartyMemberFlags"],["impl NoUndef for ArchivedPartyPrefsFlags"],["impl NoUndef for ArchivedPinFolderFlags"],["impl NoUndef for ArchivedPermissions"],["impl NoUndef for ArchivedUserPresenceFlags"],["impl NoUndef for ArchivedRoleFlags"],["impl NoUndef for ArchivedRoomFlags"],["impl NoUndef for ArchivedThreadFlags"],["impl NoUndef for ArchivedExtraUserProfileBits"],["impl NoUndef for ArchivedFont"],["impl NoUndef for ArchivedFriendAddability"],["impl NoUndef for ArchivedLocale"],["impl NoUndef for ArchivedUserFlags"],["impl NoUndef for ArchivedUserPrefsFlags"],["impl NoUndef for ArchivedUserProfileBits"],["impl NoUndef for ArchivedUserRelationship"],["impl<const N: usize> NoUndef for FixedStr<N>"]]]]); + if (window.register_implementors) { + window.register_implementors(implementors); + } else { + window.pending_implementors = implementors; + } +})() +//{"start":57,"fragment_lengths":[5400]} \ No newline at end of file diff --git a/trait.impl/rkyv/traits/trait.Portable.js b/trait.impl/rkyv/traits/trait.Portable.js new file mode 100644 index 000000000..806ebdf38 --- /dev/null +++ b/trait.impl/rkyv/traits/trait.Portable.js @@ -0,0 +1,9 @@ +(function() { + var implementors = Object.fromEntries([["client_sdk",[["impl Portable for CreateRoomKind"],["impl Portable for BannerAlign"],["impl Portable for ArchivedAuthToken
where\n BearerToken: Archive,\n BotToken: Archive,\n <BearerToken as Archive>::Archived: Portable,\n <BotToken as Archive>::Archived: Portable,
"],["impl Portable for ArchivedEmbed
where\n EmbedV1: Archive,\n <EmbedV1 as Archive>::Archived: Portable,
"],["impl Portable for ArchivedEmbedType"],["impl Portable for ArchivedEmote
where\n SmolStr: Archive,\n CustomEmote: Archive,\n <SmolStr as Archive>::Archived: Portable,\n <CustomEmote as Archive>::Archived: Portable,
"],["impl Portable for ArchivedCursor
where\n Snowflake: Archive,\n <Snowflake as Archive>::Archived: Portable,
"],["impl Portable for ArchivedPartyUpdateEvent
where\n PartyPositionUpdate: Archive,\n Party: Archive,\n <PartyPositionUpdate as Archive>::Archived: Portable,\n <Party as Archive>::Archived: Portable,
"],["impl Portable for ArchivedClientMsg
where\n HeartbeatPayload: Archive,\n IdentifyPayload: Archive,\n ResumePayload: Archive,\n SetPresencePayload: Archive,\n SubscribePayload: Archive,\n UnsubscribePayload: Archive,\n <HeartbeatPayload as Archive>::Archived: Portable,\n <IdentifyPayload as Archive>::Archived: Portable,\n <ResumePayload as Archive>::Archived: Portable,\n <SetPresencePayload as Archive>::Archived: Portable,\n <SubscribePayload as Archive>::Archived: Portable,\n <UnsubscribePayload as Archive>::Archived: Portable,
"],["impl Portable for ArchivedServerMsg
where\n HelloPayload: Archive,\n HeartbeatAckPayload: Archive,\n ReadyPayload: Archive,\n InvalidSessionPayload: Archive,\n PartyCreatePayload: Archive,\n PartyUpdatePayload: Archive,\n PartyDeletePayload: Archive,\n RoleCreatePayload: Archive,\n RoleUpdatePayload: Archive,\n RoleDeletePayload: Archive,\n MemberAddPayload: Archive,\n MemberUpdatePayload: Archive,\n MemberRemovePayload: Archive,\n MemberBanPayload: Archive,\n MemberUnbanPayload: Archive,\n RoomCreatePayload: Archive,\n RoomUpdatePayload: Archive,\n RoomDeletePayload: Archive,\n RoomPinsUpdatePayload: Archive,\n MessageCreatePayload: Archive,\n MessageUpdatePayload: Archive,\n MessageDeletePayload: Archive,\n MessageReactionAddPayload: Archive,\n MessageReactionRemovePayload: Archive,\n MessageReactionRemoveAllPayload: Archive,\n MessageReactionRemoveEmotePayload: Archive,\n PresenceUpdatePayload: Archive,\n TypingStartPayload: Archive,\n UserUpdatePayload: Archive,\n ProfileUpdatePayload: Archive,\n RelationAddPayload: Archive,\n RelationRemovePayload: Archive,\n <HelloPayload as Archive>::Archived: Portable,\n <HeartbeatAckPayload as Archive>::Archived: Portable,\n <ReadyPayload as Archive>::Archived: Portable,\n <InvalidSessionPayload as Archive>::Archived: Portable,\n <PartyCreatePayload as Archive>::Archived: Portable,\n <PartyUpdatePayload as Archive>::Archived: Portable,\n <PartyDeletePayload as Archive>::Archived: Portable,\n <RoleCreatePayload as Archive>::Archived: Portable,\n <RoleUpdatePayload as Archive>::Archived: Portable,\n <RoleDeletePayload as Archive>::Archived: Portable,\n <MemberAddPayload as Archive>::Archived: Portable,\n <MemberUpdatePayload as Archive>::Archived: Portable,\n <MemberRemovePayload as Archive>::Archived: Portable,\n <MemberBanPayload as Archive>::Archived: Portable,\n <MemberUnbanPayload as Archive>::Archived: Portable,\n <RoomCreatePayload as Archive>::Archived: Portable,\n <RoomUpdatePayload as Archive>::Archived: Portable,\n <RoomDeletePayload as Archive>::Archived: Portable,\n <RoomPinsUpdatePayload as Archive>::Archived: Portable,\n <MessageCreatePayload as Archive>::Archived: Portable,\n <MessageUpdatePayload as Archive>::Archived: Portable,\n <MessageDeletePayload as Archive>::Archived: Portable,\n <MessageReactionAddPayload as Archive>::Archived: Portable,\n <MessageReactionRemovePayload as Archive>::Archived: Portable,\n <MessageReactionRemoveAllPayload as Archive>::Archived: Portable,\n <MessageReactionRemoveEmotePayload as Archive>::Archived: Portable,\n <PresenceUpdatePayload as Archive>::Archived: Portable,\n <TypingStartPayload as Archive>::Archived: Portable,\n <UserUpdatePayload as Archive>::Archived: Portable,\n <ProfileUpdatePayload as Archive>::Archived: Portable,\n <RelationAddPayload as Archive>::Archived: Portable,\n <RelationRemovePayload as Archive>::Archived: Portable,
"],["impl Portable for ArchivedEmoteOrEmoji
where\n EmoteId: Archive,\n SmolStr: Archive,\n <EmoteId as Archive>::Archived: Portable,\n <SmolStr as Archive>::Archived: Portable,
"],["impl Portable for ArchivedMessageKind"],["impl Portable for ArchivedReaction
where\n ReactionShorthand: Archive,\n ReactionFull: Archive,\n <ReactionShorthand as Archive>::Archived: Portable,\n <ReactionFull as Archive>::Archived: Portable,
"],["impl Portable for ArchivedAnyActivity
where\n Activity: Archive,\n <Activity as Archive>::Archived: Portable,
"],["impl Portable for ArchivedRoomKind"],["impl Portable for ArchivedGetServerConfig"],["impl Portable for ArchivedCreateFile
where\n CreateFileBody: Archive,\n <CreateFileBody as Archive>::Archived: Portable,
"],["impl Portable for ArchivedCreateFileBody
where\n SmolStr: Archive,\n i32: Archive,\n Option<SmolStr>: Archive,\n Option<i32>: Archive,\n Option<String>: Archive,\n <SmolStr as Archive>::Archived: Portable,\n <i32 as Archive>::Archived: Portable,\n <Option<SmolStr> as Archive>::Archived: Portable,\n <Option<i32> as Archive>::Archived: Portable,\n <Option<String> as Archive>::Archived: Portable,
"],["impl Portable for ArchivedFileStatus
where\n u32: Archive,\n u64: Archive,\n <u32 as Archive>::Archived: Portable,\n <u64 as Archive>::Archived: Portable,
"],["impl Portable for ArchivedFilesystemStatus
where\n i64: Archive,\n <i64 as Archive>::Archived: Portable,
"],["impl Portable for ArchivedGetFileStatus
where\n FileId: Archive,\n <FileId as Archive>::Archived: Portable,
"],["impl Portable for ArchivedGetFilesystemStatus"],["impl Portable for ArchivedGetInvite
where\n SmolStr: Archive,\n <SmolStr as Archive>::Archived: Portable,
"],["impl Portable for ArchivedRedeemInvite
where\n SmolStr: Archive,\n RedeemInviteBody: Archive,\n <SmolStr as Archive>::Archived: Portable,\n <RedeemInviteBody as Archive>::Archived: Portable,
"],["impl Portable for ArchivedRedeemInviteBody
where\n Option<SmolStr>: Archive,\n <Option<SmolStr> as Archive>::Archived: Portable,
"],["impl Portable for ArchivedRevokeInvite
where\n SmolStr: Archive,\n <SmolStr as Archive>::Archived: Portable,
"],["impl Portable for ArchivedCreateParty
where\n CreatePartyForm: Archive,\n <CreatePartyForm as Archive>::Archived: Portable,
"],["impl Portable for ArchivedCreatePartyForm
where\n SmolStr: Archive,\n Option<ThinString>: Archive,\n PartyFlags: Archive,\n <SmolStr as Archive>::Archived: Portable,\n <Option<ThinString> as Archive>::Archived: Portable,\n <PartyFlags as Archive>::Archived: Portable,
"],["impl Portable for ArchivedCreatePartyInvite
where\n PartyId: Archive,\n CreatePartyInviteBody: Archive,\n <PartyId as Archive>::Archived: Portable,\n <CreatePartyInviteBody as Archive>::Archived: Portable,
"],["impl Portable for ArchivedCreatePartyInviteBody
where\n Option<u16>: Archive,\n Option<u64>: Archive,\n Option<SmolStr>: Archive,\n <Option<u16> as Archive>::Archived: Portable,\n <Option<u64> as Archive>::Archived: Portable,\n <Option<SmolStr> as Archive>::Archived: Portable,
"],["impl Portable for ArchivedCreatePinFolder
where\n PartyId: Archive,\n CreatePinFolderForm: Archive,\n <PartyId as Archive>::Archived: Portable,\n <CreatePinFolderForm as Archive>::Archived: Portable,
"],["impl Portable for ArchivedCreatePinFolderForm
where\n SmolStr: Archive,\n Option<SmolStr>: Archive,\n <SmolStr as Archive>::Archived: Portable,\n <Option<SmolStr> as Archive>::Archived: Portable,
"],["impl Portable for ArchivedCreateRole
where\n PartyId: Archive,\n CreateRoleForm: Archive,\n <PartyId as Archive>::Archived: Portable,\n <CreateRoleForm as Archive>::Archived: Portable,
"],["impl Portable for ArchivedCreateRoleForm
where\n SmolStr: Archive,\n <SmolStr as Archive>::Archived: Portable,
"],["impl Portable for ArchivedCreateRoom
where\n PartyId: Archive,\n CreateRoomForm: Archive,\n <PartyId as Archive>::Archived: Portable,\n <CreateRoomForm as Archive>::Archived: Portable,
"],["impl Portable for ArchivedCreateRoomForm
where\n SmolStr: Archive,\n Option<SmolStr>: Archive,\n CreateRoomKind: Archive,\n ThinVec<Overwrite>: Archive,\n i16: Archive,\n <SmolStr as Archive>::Archived: Portable,\n <Option<SmolStr> as Archive>::Archived: Portable,\n <CreateRoomKind as Archive>::Archived: Portable,\n <ThinVec<Overwrite> as Archive>::Archived: Portable,\n <i16 as Archive>::Archived: Portable,
"],["impl Portable for ArchivedDeleteParty
where\n PartyId: Archive,\n <PartyId as Archive>::Archived: Portable,
"],["impl Portable for ArchivedDeleteRole
where\n PartyId: Archive,\n RoleId: Archive,\n <PartyId as Archive>::Archived: Portable,\n <RoleId as Archive>::Archived: Portable,
"],["impl Portable for ArchivedGetMemberProfile
where\n PartyId: Archive,\n UserId: Archive,\n <PartyId as Archive>::Archived: Portable,\n <UserId as Archive>::Archived: Portable,
"],["impl Portable for ArchivedGetParty
where\n PartyId: Archive,\n <PartyId as Archive>::Archived: Portable,
"],["impl Portable for ArchivedGetPartyInvites
where\n PartyId: Archive,\n <PartyId as Archive>::Archived: Portable,
"],["impl Portable for ArchivedGetPartyMember
where\n PartyId: Archive,\n UserId: Archive,\n <PartyId as Archive>::Archived: Portable,\n <UserId as Archive>::Archived: Portable,
"],["impl Portable for ArchivedGetPartyMembers
where\n PartyId: Archive,\n <PartyId as Archive>::Archived: Portable,
"],["impl Portable for ArchivedGetPartyRooms
where\n PartyId: Archive,\n <PartyId as Archive>::Archived: Portable,
"],["impl Portable for ArchivedPartySettings
where\n PartyFlags: Archive,\n PartyPreferences: Archive,\n <PartyFlags as Archive>::Archived: Portable,\n <PartyPreferences as Archive>::Archived: Portable,
"],["impl Portable for ArchivedPatchParty
where\n PartyId: Archive,\n PatchPartyForm: Archive,\n <PartyId as Archive>::Archived: Portable,\n <PatchPartyForm as Archive>::Archived: Portable,
"],["impl Portable for ArchivedPatchPartyForm
where\n Option<SmolStr>: Archive,\n Nullable<SmolStr>: Archive,\n Option<PartyFlags>: Archive,\n Option<RoomId>: Archive,\n Nullable<FileId>: Archive,\n BannerAlign: Archive,\n <Option<SmolStr> as Archive>::Archived: Portable,\n <Nullable<SmolStr> as Archive>::Archived: Portable,\n <Option<PartyFlags> as Archive>::Archived: Portable,\n <Option<RoomId> as Archive>::Archived: Portable,\n <Nullable<FileId> as Archive>::Archived: Portable,\n <BannerAlign as Archive>::Archived: Portable,
"],["impl Portable for ArchivedPatchRole
where\n PartyId: Archive,\n RoleId: Archive,\n PatchRoleForm: Archive,\n <PartyId as Archive>::Archived: Portable,\n <RoleId as Archive>::Archived: Portable,\n <PatchRoleForm as Archive>::Archived: Portable,
"],["impl Portable for ArchivedPatchRoleForm
where\n Option<RoleFlags>: Archive,\n Option<SmolStr>: Archive,\n Option<u32>: Archive,\n Option<Permissions>: Archive,\n Nullable<FileId>: Archive,\n Option<u8>: Archive,\n <Option<RoleFlags> as Archive>::Archived: Portable,\n <Option<SmolStr> as Archive>::Archived: Portable,\n <Option<u32> as Archive>::Archived: Portable,\n <Option<Permissions> as Archive>::Archived: Portable,\n <Nullable<FileId> as Archive>::Archived: Portable,\n <Option<u8> as Archive>::Archived: Portable,
"],["impl Portable for ArchivedSearchParty
where\n PartyId: Archive,\n SearchQuery: Archive,\n <PartyId as Archive>::Archived: Portable,\n <SearchQuery as Archive>::Archived: Portable,
"],["impl Portable for ArchivedSearchQuery
where\n ThinString: Archive,\n <ThinString as Archive>::Archived: Portable,
"],["impl Portable for ArchivedTransferOwnership
where\n PartyId: Archive,\n UserId: Archive,\n <PartyId as Archive>::Archived: Portable,\n <UserId as Archive>::Archived: Portable,
"],["impl Portable for ArchivedUpdateMemberProfile
where\n PartyId: Archive,\n UpdateMemberProfileBody: Archive,\n <PartyId as Archive>::Archived: Portable,\n <UpdateMemberProfileBody as Archive>::Archived: Portable,
"],["impl Portable for ArchivedUpdateMemberProfileBody
where\n UpdateUserProfileBody: Archive,\n <UpdateUserProfileBody as Archive>::Archived: Portable,
"],["impl Portable for ArchivedCreateMessage
where\n RoomId: Archive,\n CreateMessageBody: Archive,\n <RoomId as Archive>::Archived: Portable,\n <CreateMessageBody as Archive>::Archived: Portable,
"],["impl Portable for ArchivedCreateMessageBody
where\n SmolStr: Archive,\n Option<RoomId>: Archive,\n ThinVec<FileId>: Archive,\n ThinVec<Embed>: Archive,\n bool: Archive,\n <SmolStr as Archive>::Archived: Portable,\n <Option<RoomId> as Archive>::Archived: Portable,\n <ThinVec<FileId> as Archive>::Archived: Portable,\n <ThinVec<Embed> as Archive>::Archived: Portable,\n <bool as Archive>::Archived: Portable,
"],["impl Portable for ArchivedDeleteAllReactions
where\n RoomId: Archive,\n MessageId: Archive,\n <RoomId as Archive>::Archived: Portable,\n <MessageId as Archive>::Archived: Portable,
"],["impl Portable for ArchivedDeleteMessage
where\n RoomId: Archive,\n MessageId: Archive,\n <RoomId as Archive>::Archived: Portable,\n <MessageId as Archive>::Archived: Portable,
"],["impl Portable for ArchivedDeleteOwnReaction
where\n RoomId: Archive,\n MessageId: Archive,\n EmoteOrEmoji: Archive,\n <RoomId as Archive>::Archived: Portable,\n <MessageId as Archive>::Archived: Portable,\n <EmoteOrEmoji as Archive>::Archived: Portable,
"],["impl Portable for ArchivedDeleteRoom
where\n RoomId: Archive,\n <RoomId as Archive>::Archived: Portable,
"],["impl Portable for ArchivedDeleteUserReaction
where\n RoomId: Archive,\n MessageId: Archive,\n EmoteOrEmoji: Archive,\n UserId: Archive,\n <RoomId as Archive>::Archived: Portable,\n <MessageId as Archive>::Archived: Portable,\n <EmoteOrEmoji as Archive>::Archived: Portable,\n <UserId as Archive>::Archived: Portable,
"],["impl Portable for ArchivedEditMessage
where\n RoomId: Archive,\n MessageId: Archive,\n EditMessageBody: Archive,\n <RoomId as Archive>::Archived: Portable,\n <MessageId as Archive>::Archived: Portable,\n <EditMessageBody as Archive>::Archived: Portable,
"],["impl Portable for ArchivedEditMessageBody
where\n SmolStr: Archive,\n ThinVec<FileId>: Archive,\n <SmolStr as Archive>::Archived: Portable,\n <ThinVec<FileId> as Archive>::Archived: Portable,
"],["impl Portable for ArchivedGetMessage
where\n RoomId: Archive,\n MessageId: Archive,\n <RoomId as Archive>::Archived: Portable,\n <MessageId as Archive>::Archived: Portable,
"],["impl Portable for ArchivedGetMessages
where\n RoomId: Archive,\n GetMessagesQuery: Archive,\n <RoomId as Archive>::Archived: Portable,\n <GetMessagesQuery as Archive>::Archived: Portable,
"],["impl Portable for ArchivedGetMessagesQuery
where\n Option<Cursor>: Archive,\n Option<MessageId>: Archive,\n Option<u8>: Archive,\n ThinVec<FolderId>: Archive,\n bool: Archive,\n u8: Archive,\n <Option<Cursor> as Archive>::Archived: Portable,\n <Option<MessageId> as Archive>::Archived: Portable,\n <Option<u8> as Archive>::Archived: Portable,\n <ThinVec<FolderId> as Archive>::Archived: Portable,\n <bool as Archive>::Archived: Portable,\n <u8 as Archive>::Archived: Portable,
"],["impl Portable for ArchivedGetReactions
where\n RoomId: Archive,\n MessageId: Archive,\n EmoteOrEmoji: Archive,\n GetReactionsForm: Archive,\n <RoomId as Archive>::Archived: Portable,\n <MessageId as Archive>::Archived: Portable,\n <EmoteOrEmoji as Archive>::Archived: Portable,\n <GetReactionsForm as Archive>::Archived: Portable,
"],["impl Portable for ArchivedGetReactionsForm
where\n Option<Snowflake>: Archive,\n Option<i8>: Archive,\n <Option<Snowflake> as Archive>::Archived: Portable,\n <Option<i8> as Archive>::Archived: Portable,
"],["impl Portable for ArchivedGetRoom
where\n RoomId: Archive,\n <RoomId as Archive>::Archived: Portable,
"],["impl Portable for ArchivedPatchRoom
where\n RoomId: Archive,\n PatchRoomForm: Archive,\n <RoomId as Archive>::Archived: Portable,\n <PatchRoomForm as Archive>::Archived: Portable,
"],["impl Portable for ArchivedPatchRoomForm
where\n Option<SmolStr>: Archive,\n Nullable<SmolStr>: Archive,\n Nullable<FileId>: Archive,\n Option<u8>: Archive,\n ThinVec<Snowflake>: Archive,\n ThinVec<Overwrite>: Archive,\n Option<bool>: Archive,\n <Option<SmolStr> as Archive>::Archived: Portable,\n <Nullable<SmolStr> as Archive>::Archived: Portable,\n <Nullable<FileId> as Archive>::Archived: Portable,\n <Option<u8> as Archive>::Archived: Portable,\n <ThinVec<Snowflake> as Archive>::Archived: Portable,\n <ThinVec<Overwrite> as Archive>::Archived: Portable,\n <Option<bool> as Archive>::Archived: Portable,
"],["impl Portable for ArchivedPinMessage
where\n RoomId: Archive,\n MessageId: Archive,\n FolderId: Archive,\n <RoomId as Archive>::Archived: Portable,\n <MessageId as Archive>::Archived: Portable,\n <FolderId as Archive>::Archived: Portable,
"],["impl Portable for ArchivedPutReaction
where\n RoomId: Archive,\n MessageId: Archive,\n EmoteOrEmoji: Archive,\n <RoomId as Archive>::Archived: Portable,\n <MessageId as Archive>::Archived: Portable,\n <EmoteOrEmoji as Archive>::Archived: Portable,
"],["impl Portable for ArchivedStarMessage
where\n RoomId: Archive,\n MessageId: Archive,\n <RoomId as Archive>::Archived: Portable,\n <MessageId as Archive>::Archived: Portable,
"],["impl Portable for ArchivedStartTyping
where\n RoomId: Archive,\n StartTypingBody: Archive,\n <RoomId as Archive>::Archived: Portable,\n <StartTypingBody as Archive>::Archived: Portable,
"],["impl Portable for ArchivedStartTypingBody
where\n Option<MessageId>: Archive,\n <Option<MessageId> as Archive>::Archived: Portable,
"],["impl Portable for ArchivedUnpinMessage
where\n RoomId: Archive,\n MessageId: Archive,\n FolderId: Archive,\n <RoomId as Archive>::Archived: Portable,\n <MessageId as Archive>::Archived: Portable,\n <FolderId as Archive>::Archived: Portable,
"],["impl Portable for ArchivedUnstarMessage
where\n RoomId: Archive,\n MessageId: Archive,\n <RoomId as Archive>::Archived: Portable,\n <MessageId as Archive>::Archived: Portable,
"],["impl Portable for ArchivedAdded2FA
where\n String: Archive,\n Vec<String>: Archive,\n <String as Archive>::Archived: Portable,\n <Vec<String> as Archive>::Archived: Portable,
"],["impl Portable for ArchivedChangePassword
where\n ChangePasswordForm: Archive,\n <ChangePasswordForm as Archive>::Archived: Portable,
"],["impl Portable for ArchivedChangePasswordForm
where\n SmolStr: Archive,\n Option<SmolStr>: Archive,\n <SmolStr as Archive>::Archived: Portable,\n <Option<SmolStr> as Archive>::Archived: Portable,
"],["impl Portable for ArchivedClearSessions
where\n ClearSessionsForm: Archive,\n <ClearSessionsForm as Archive>::Archived: Portable,
"],["impl Portable for ArchivedClearSessionsForm
where\n Option<SmolStr>: Archive,\n <Option<SmolStr> as Archive>::Archived: Portable,
"],["impl Portable for ArchivedConfirm2FA
where\n Confirm2FAForm: Archive,\n <Confirm2FAForm as Archive>::Archived: Portable,
"],["impl Portable for ArchivedConfirm2FAForm
where\n SmolStr: Archive,\n <SmolStr as Archive>::Archived: Portable,
"],["impl Portable for ArchivedEnable2FA
where\n Enable2FAForm: Archive,\n <Enable2FAForm as Archive>::Archived: Portable,
"],["impl Portable for ArchivedEnable2FAForm
where\n SmolStr: Archive,\n String: Archive,\n <SmolStr as Archive>::Archived: Portable,\n <String as Archive>::Archived: Portable,
"],["impl Portable for ArchivedGetRelationships"],["impl Portable for ArchivedGetSessions"],["impl Portable for ArchivedGetUser
where\n UserId: Archive,\n <UserId as Archive>::Archived: Portable,
"],["impl Portable for ArchivedPatchRelationship
where\n UserId: Archive,\n PatchRelationshipBody: Archive,\n <UserId as Archive>::Archived: Portable,\n <PatchRelationshipBody as Archive>::Archived: Portable,
"],["impl Portable for ArchivedPatchRelationshipBody
where\n Nullable<UserRelationship>: Archive,\n Nullable<SmolStr>: Archive,\n <Nullable<UserRelationship> as Archive>::Archived: Portable,\n <Nullable<SmolStr> as Archive>::Archived: Portable,
"],["impl Portable for ArchivedRemove2FA
where\n Remove2FAForm: Archive,\n <Remove2FAForm as Archive>::Archived: Portable,
"],["impl Portable for ArchivedRemove2FAForm
where\n SmolStr: Archive,\n <SmolStr as Archive>::Archived: Portable,
"],["impl Portable for ArchivedUpdateUserPrefs
where\n UpdateUserPrefsBody: Archive,\n <UpdateUserPrefsBody as Archive>::Archived: Portable,
"],["impl Portable for ArchivedUpdateUserPrefsBody
where\n UserPreferences: Archive,\n <UserPreferences as Archive>::Archived: Portable,
"],["impl Portable for ArchivedUpdateUserProfile
where\n UpdateUserProfileBody: Archive,\n <UpdateUserProfileBody as Archive>::Archived: Portable,
"],["impl Portable for ArchivedUpdateUserProfileBody
where\n UserProfileBits: Archive,\n ExtraUserProfileBits: Archive,\n Nullable<SmolStr>: Archive,\n Nullable<FileId>: Archive,\n BannerAlign: Archive,\n <UserProfileBits as Archive>::Archived: Portable,\n <ExtraUserProfileBits as Archive>::Archived: Portable,\n <Nullable<SmolStr> as Archive>::Archived: Portable,\n <Nullable<FileId> as Archive>::Archived: Portable,\n <BannerAlign as Archive>::Archived: Portable,
"],["impl Portable for ArchivedUserLogin
where\n UserLoginForm: Archive,\n <UserLoginForm as Archive>::Archived: Portable,
"],["impl Portable for ArchivedUserLoginForm
where\n SmolStr: Archive,\n Option<SmolStr>: Archive,\n <SmolStr as Archive>::Archived: Portable,\n <Option<SmolStr> as Archive>::Archived: Portable,
"],["impl Portable for ArchivedUserLogout"],["impl Portable for ArchivedUserRegister
where\n UserRegisterForm: Archive,\n <UserRegisterForm as Archive>::Archived: Portable,
"],["impl Portable for ArchivedUserRegisterForm
where\n SmolStr: Archive,\n Timestamp: Archive,\n String: Archive,\n <SmolStr as Archive>::Archived: Portable,\n <Timestamp as Archive>::Archived: Portable,\n <String as Archive>::Archived: Portable,
"],["impl Portable for ArchivedApiError
where\n ApiErrorCode: Archive,\n AsOwned: ArchiveWith<Cow<'static, str>>,\n <ApiErrorCode as Archive>::Archived: Portable,\n <AsOwned as ArchiveWith<Cow<'static, str>>>::Archived: Portable,
"],["impl Portable for ArchivedApiErrorCode"],["impl Portable for ArchivedAssetFlags"],["impl Portable for ArchivedServerConfig
where\n HCaptchaSiteKey: Archive,\n SmolStr: Archive,\n u8: Archive,\n bool: Archive,\n ServerLimits: Archive,\n <HCaptchaSiteKey as Archive>::Archived: Portable,\n <SmolStr as Archive>::Archived: Portable,\n <u8 as Archive>::Archived: Portable,\n <bool as Archive>::Archived: Portable,\n <ServerLimits as Archive>::Archived: Portable,
"],["impl Portable for ArchivedServerLimits
where\n u64: Archive,\n u32: Archive,\n <u64 as Archive>::Archived: Portable,\n <u32 as Archive>::Archived: Portable,
"],["impl Portable for ArchivedBasicEmbedMedia
where\n ThinString: Archive,\n Option<ThinString>: Archive,\n Option<UrlSignature>: Archive,\n Option<i32>: Archive,\n Option<SmolStr>: Archive,\n <ThinString as Archive>::Archived: Portable,\n <Option<ThinString> as Archive>::Archived: Portable,\n <Option<UrlSignature> as Archive>::Archived: Portable,\n <Option<i32> as Archive>::Archived: Portable,\n <Option<SmolStr> as Archive>::Archived: Portable,
"],["impl Portable for ArchivedEmbedAuthor
where\n SmolStr: Archive,\n Option<ThinString>: Archive,\n Niche: ArchiveWith<Option<Box<EmbedMedia>>>,\n <SmolStr as Archive>::Archived: Portable,\n <Option<ThinString> as Archive>::Archived: Portable,\n <Niche as ArchiveWith<Option<Box<EmbedMedia>>>>::Archived: Portable,
"],["impl Portable for ArchivedEmbedField
where\n SmolStr: Archive,\n Niche: ArchiveWith<Option<Box<EmbedMedia>>>,\n bool: Archive,\n <SmolStr as Archive>::Archived: Portable,\n <Niche as ArchiveWith<Option<Box<EmbedMedia>>>>::Archived: Portable,\n <bool as Archive>::Archived: Portable,
"],["impl Portable for ArchivedEmbedFlags"],["impl Portable for ArchivedEmbedFooter
where\n ThinString: Archive,\n Niche: ArchiveWith<Option<Box<EmbedMedia>>>,\n <ThinString as Archive>::Archived: Portable,\n <Niche as ArchiveWith<Option<Box<EmbedMedia>>>>::Archived: Portable,
"],["impl Portable for ArchivedEmbedMedia
where\n BasicEmbedMedia: Archive,\n Vec<BasicEmbedMedia>: Archive,\n <BasicEmbedMedia as Archive>::Archived: Portable,\n <Vec<BasicEmbedMedia> as Archive>::Archived: Portable,
"],["impl Portable for ArchivedEmbedProvider
where\n Option<SmolStr>: Archive,\n Option<ThinString>: Archive,\n Niche: ArchiveWith<Option<Box<EmbedMedia>>>,\n <Option<SmolStr> as Archive>::Archived: Portable,\n <Option<ThinString> as Archive>::Archived: Portable,\n <Niche as ArchiveWith<Option<Box<EmbedMedia>>>>::Archived: Portable,
"],["impl Portable for ArchivedEmbedV1
where\n Timestamp: Archive,\n EmbedType: Archive,\n EmbedFlags: Archive,\n Option<ThinString>: Archive,\n Option<u32>: Archive,\n Option<EmbedAuthor>: Archive,\n EmbedProvider: Archive,\n Niche: ArchiveWith<Option<Box<EmbedMedia>>>,\n Vec<EmbedField>: Archive,\n Option<EmbedFooter>: Archive,\n <Timestamp as Archive>::Archived: Portable,\n <EmbedType as Archive>::Archived: Portable,\n <EmbedFlags as Archive>::Archived: Portable,\n <Option<ThinString> as Archive>::Archived: Portable,\n <Option<u32> as Archive>::Archived: Portable,\n <Option<EmbedAuthor> as Archive>::Archived: Portable,\n <EmbedProvider as Archive>::Archived: Portable,\n <Niche as ArchiveWith<Option<Box<EmbedMedia>>>>::Archived: Portable,\n <Vec<EmbedField> as Archive>::Archived: Portable,\n <Option<EmbedFooter> as Archive>::Archived: Portable,
"],["impl Portable for ArchivedCustomEmote
where\n EmoteId: Archive,\n PartyId: Archive,\n FileId: Archive,\n SmolStr: Archive,\n EmoteFlags: Archive,\n f32: Archive,\n <EmoteId as Archive>::Archived: Portable,\n <PartyId as Archive>::Archived: Portable,\n <FileId as Archive>::Archived: Portable,\n <SmolStr as Archive>::Archived: Portable,\n <EmoteFlags as Archive>::Archived: Portable,\n <f32 as Archive>::Archived: Portable,
"],["impl Portable for ArchivedEmoteFlags"],["impl Portable for ArchivedFile
where\n FileId: Archive,\n SmolStr: Archive,\n i64: Archive,\n Option<SmolStr>: Archive,\n Option<i32>: Archive,\n Option<ThinString>: Archive,\n <FileId as Archive>::Archived: Portable,\n <SmolStr as Archive>::Archived: Portable,\n <i64 as Archive>::Archived: Portable,\n <Option<SmolStr> as Archive>::Archived: Portable,\n <Option<i32> as Archive>::Archived: Portable,\n <Option<ThinString> as Archive>::Archived: Portable,
"],["impl Portable for ArchivedIdentify
where\n AuthToken: Archive,\n Intent: Archive,\n <AuthToken as Archive>::Archived: Portable,\n <Intent as Archive>::Archived: Portable,
"],["impl Portable for ArchivedSetPresence
where\n UserPresence: Archive,\n <UserPresence as Archive>::Archived: Portable,
"],["impl Portable for ArchivedHello
where\n u32: Archive,\n <u32 as Archive>::Archived: Portable,
"],["impl Portable for ArchivedMessageDeleteEvent
where\n MessageId: Archive,\n RoomId: Archive,\n PartyId: Archive,\n <MessageId as Archive>::Archived: Portable,\n <RoomId as Archive>::Archived: Portable,\n <PartyId as Archive>::Archived: Portable,
"],["impl Portable for ArchivedPartyMemberEvent
where\n PartyId: Archive,\n PartyMember: Archive,\n <PartyId as Archive>::Archived: Portable,\n <PartyMember as Archive>::Archived: Portable,
"],["impl Portable for ArchivedPartyPositionUpdate
where\n PartyId: Archive,\n i16: Archive,\n <PartyId as Archive>::Archived: Portable,\n <i16 as Archive>::Archived: Portable,
"],["impl Portable for ArchivedProfileUpdateEvent
where\n Option<PartyId>: Archive,\n User: Archive,\n <Option<PartyId> as Archive>::Archived: Portable,\n <User as Archive>::Archived: Portable,
"],["impl Portable for ArchivedReady
where\n User: Archive,\n ThinVec<ReadyParty>: Archive,\n ThinVec<Room>: Archive,\n Snowflake: Archive,\n <User as Archive>::Archived: Portable,\n <ThinVec<ReadyParty> as Archive>::Archived: Portable,\n <ThinVec<Room> as Archive>::Archived: Portable,\n <Snowflake as Archive>::Archived: Portable,
"],["impl Portable for ArchivedReadyParty
where\n Party: Archive,\n PartyMember: Archive,\n <Party as Archive>::Archived: Portable,\n <PartyMember as Archive>::Archived: Portable,
"],["impl Portable for ArchivedRoleDeleteEvent
where\n RoleId: Archive,\n PartyId: Archive,\n <RoleId as Archive>::Archived: Portable,\n <PartyId as Archive>::Archived: Portable,
"],["impl Portable for ArchivedRoomDeleteEvent
where\n RoomId: Archive,\n NicheSnowflake: ArchiveWith<Option<PartyId>>,\n <RoomId as Archive>::Archived: Portable,\n <NicheSnowflake as ArchiveWith<Option<PartyId>>>::Archived: Portable,
"],["impl Portable for ArchivedTypingStart
where\n RoomId: Archive,\n PartyId: Archive,\n UserId: Archive,\n PartyMember: Archive,\n Option<MessageId>: Archive,\n <RoomId as Archive>::Archived: Portable,\n <PartyId as Archive>::Archived: Portable,\n <UserId as Archive>::Archived: Portable,\n <PartyMember as Archive>::Archived: Portable,\n <Option<MessageId> as Archive>::Archived: Portable,
"],["impl Portable for ArchivedUserPresenceEvent
where\n Option<PartyId>: Archive,\n User: Archive,\n <Option<PartyId> as Archive>::Archived: Portable,\n <User as Archive>::Archived: Portable,
"],["impl Portable for ArchivedUserReactionEvent
where\n UserId: Archive,\n RoomId: Archive,\n PartyId: Archive,\n MessageId: Archive,\n Niche: ArchiveWith<Option<Box<PartyMember>>>,\n EmoteOrEmoji: Archive,\n <UserId as Archive>::Archived: Portable,\n <RoomId as Archive>::Archived: Portable,\n <PartyId as Archive>::Archived: Portable,\n <MessageId as Archive>::Archived: Portable,\n <Niche as ArchiveWith<Option<Box<PartyMember>>>>::Archived: Portable,\n <EmoteOrEmoji as Archive>::Archived: Portable,
"],["impl Portable for ArchivedHeartbeatPayload"],["impl Portable for ArchivedIdentifyPayload
where\n Box<Identify>: Archive,\n <Box<Identify> as Archive>::Archived: Portable,
"],["impl Portable for ArchivedResumePayload
where\n Snowflake: Archive,\n <Snowflake as Archive>::Archived: Portable,
"],["impl Portable for ArchivedSetPresencePayload
where\n Box<SetPresence>: Archive,\n <Box<SetPresence> as Archive>::Archived: Portable,
"],["impl Portable for ArchivedSubscribePayload
where\n PartyId: Archive,\n <PartyId as Archive>::Archived: Portable,
"],["impl Portable for ArchivedUnsubscribePayload
where\n PartyId: Archive,\n <PartyId as Archive>::Archived: Portable,
"],["impl Portable for ArchivedHeartbeatAckPayload"],["impl Portable for ArchivedHelloPayload
where\n Hello: Archive,\n <Hello as Archive>::Archived: Portable,
"],["impl Portable for ArchivedInvalidSessionPayload"],["impl Portable for ArchivedMemberAddPayload
where\n Arc<PartyMemberEvent>: Archive,\n <Arc<PartyMemberEvent> as Archive>::Archived: Portable,
"],["impl Portable for ArchivedMemberBanPayload
where\n Arc<PartyMemberEvent>: Archive,\n <Arc<PartyMemberEvent> as Archive>::Archived: Portable,
"],["impl Portable for ArchivedMemberRemovePayload
where\n Arc<PartyMemberEvent>: Archive,\n <Arc<PartyMemberEvent> as Archive>::Archived: Portable,
"],["impl Portable for ArchivedMemberUnbanPayload
where\n Arc<PartyMemberEvent>: Archive,\n <Arc<PartyMemberEvent> as Archive>::Archived: Portable,
"],["impl Portable for ArchivedMemberUpdatePayload
where\n Arc<PartyMemberEvent>: Archive,\n <Arc<PartyMemberEvent> as Archive>::Archived: Portable,
"],["impl Portable for ArchivedMessageCreatePayload
where\n Arc<Message>: Archive,\n <Arc<Message> as Archive>::Archived: Portable,
"],["impl Portable for ArchivedMessageDeletePayload
where\n Arc<MessageDeleteEvent>: Archive,\n <Arc<MessageDeleteEvent> as Archive>::Archived: Portable,
"],["impl Portable for ArchivedMessageReactionAddPayload
where\n Arc<UserReactionEvent>: Archive,\n <Arc<UserReactionEvent> as Archive>::Archived: Portable,
"],["impl Portable for ArchivedMessageReactionRemoveAllPayload"],["impl Portable for ArchivedMessageReactionRemoveEmotePayload"],["impl Portable for ArchivedMessageReactionRemovePayload
where\n Arc<UserReactionEvent>: Archive,\n <Arc<UserReactionEvent> as Archive>::Archived: Portable,
"],["impl Portable for ArchivedMessageUpdatePayload
where\n Arc<Message>: Archive,\n <Arc<Message> as Archive>::Archived: Portable,
"],["impl Portable for ArchivedPartyCreatePayload
where\n Arc<Party>: Archive,\n <Arc<Party> as Archive>::Archived: Portable,
"],["impl Portable for ArchivedPartyDeletePayload
where\n PartyId: Archive,\n <PartyId as Archive>::Archived: Portable,
"],["impl Portable for ArchivedPartyUpdatePayload
where\n Arc<PartyUpdateEvent>: Archive,\n <Arc<PartyUpdateEvent> as Archive>::Archived: Portable,
"],["impl Portable for ArchivedPresenceUpdatePayload
where\n Arc<UserPresenceEvent>: Archive,\n <Arc<UserPresenceEvent> as Archive>::Archived: Portable,
"],["impl Portable for ArchivedProfileUpdatePayload
where\n Arc<ProfileUpdateEvent>: Archive,\n <Arc<ProfileUpdateEvent> as Archive>::Archived: Portable,
"],["impl Portable for ArchivedReadyPayload
where\n Arc<Ready>: Archive,\n <Arc<Ready> as Archive>::Archived: Portable,
"],["impl Portable for ArchivedRelationAddPayload
where\n Arc<Relationship>: Archive,\n <Arc<Relationship> as Archive>::Archived: Portable,
"],["impl Portable for ArchivedRelationRemovePayload
where\n UserId: Archive,\n <UserId as Archive>::Archived: Portable,
"],["impl Portable for ArchivedRoleCreatePayload
where\n Arc<Role>: Archive,\n <Arc<Role> as Archive>::Archived: Portable,
"],["impl Portable for ArchivedRoleDeletePayload
where\n Arc<RoleDeleteEvent>: Archive,\n <Arc<RoleDeleteEvent> as Archive>::Archived: Portable,
"],["impl Portable for ArchivedRoleUpdatePayload
where\n Arc<Role>: Archive,\n <Arc<Role> as Archive>::Archived: Portable,
"],["impl Portable for ArchivedRoomCreatePayload
where\n Arc<()>: Archive,\n <Arc<()> as Archive>::Archived: Portable,
"],["impl Portable for ArchivedRoomDeletePayload
where\n Arc<RoomDeleteEvent>: Archive,\n <Arc<RoomDeleteEvent> as Archive>::Archived: Portable,
"],["impl Portable for ArchivedRoomPinsUpdatePayload"],["impl Portable for ArchivedRoomUpdatePayload
where\n Arc<()>: Archive,\n <Arc<()> as Archive>::Archived: Portable,
"],["impl Portable for ArchivedTypingStartPayload
where\n Arc<TypingStart>: Archive,\n <Arc<TypingStart> as Archive>::Archived: Portable,
"],["impl Portable for ArchivedUserUpdatePayload
where\n Arc<User>: Archive,\n <Arc<User> as Archive>::Archived: Portable,
"],["impl Portable for ArchivedIntent"],["impl Portable for ArchivedInvite
where\n SmolStr: Archive,\n PartialParty: Archive,\n NicheSnowflake: ArchiveWith<Option<UserId>>,\n Option<SmolStr>: Archive,\n Option<Timestamp>: Archive,\n Option<u16>: Archive,\n <SmolStr as Archive>::Archived: Portable,\n <PartialParty as Archive>::Archived: Portable,\n <NicheSnowflake as ArchiveWith<Option<UserId>>>::Archived: Portable,\n <Option<SmolStr> as Archive>::Archived: Portable,\n <Option<Timestamp> as Archive>::Archived: Portable,\n <Option<u16> as Archive>::Archived: Portable,
"],["impl Portable for ArchivedAttachment
where\n File: Archive,\n <File as Archive>::Archived: Portable,
"],["impl Portable for ArchivedMessage
where\n MessageId: Archive,\n RoomId: Archive,\n PartyId: Archive,\n MessageKind: Archive,\n PartyMember: Archive,\n Option<MessageId>: Archive,\n Option<Timestamp>: Archive,\n Option<SmolStr>: Archive,\n MessageFlags: Archive,\n ThinVec<FolderId>: Archive,\n ThinVec<UserId>: Archive,\n ThinVec<RoleId>: Archive,\n ThinVec<RoomId>: Archive,\n ThinVec<Reaction>: Archive,\n ThinVec<Attachment>: Archive,\n ThinVec<Embed>: Archive,\n i32: Archive,\n <MessageId as Archive>::Archived: Portable,\n <RoomId as Archive>::Archived: Portable,\n <PartyId as Archive>::Archived: Portable,\n <MessageKind as Archive>::Archived: Portable,\n <PartyMember as Archive>::Archived: Portable,\n <Option<MessageId> as Archive>::Archived: Portable,\n <Option<Timestamp> as Archive>::Archived: Portable,\n <Option<SmolStr> as Archive>::Archived: Portable,\n <MessageFlags as Archive>::Archived: Portable,\n <ThinVec<FolderId> as Archive>::Archived: Portable,\n <ThinVec<UserId> as Archive>::Archived: Portable,\n <ThinVec<RoleId> as Archive>::Archived: Portable,\n <ThinVec<RoomId> as Archive>::Archived: Portable,\n <ThinVec<Reaction> as Archive>::Archived: Portable,\n <ThinVec<Attachment> as Archive>::Archived: Portable,\n <ThinVec<Embed> as Archive>::Archived: Portable,\n <i32 as Archive>::Archived: Portable,
"],["impl Portable for ArchivedMessageFlags"],["impl Portable for ArchivedReactionFull
where\n EmoteOrEmoji: Archive,\n ThinVec<UserId>: Archive,\n <EmoteOrEmoji as Archive>::Archived: Portable,\n <ThinVec<UserId> as Archive>::Archived: Portable,
"],["impl Portable for ArchivedReactionShorthand
where\n EmoteOrEmoji: Archive,\n bool: Archive,\n i64: Archive,\n <EmoteOrEmoji as Archive>::Archived: Portable,\n <bool as Archive>::Archived: Portable,\n <i64 as Archive>::Archived: Portable,
"],["impl Portable for ArchivedPartialParty
where\n PartyId: Archive,\n SmolStr: Archive,\n Option<ThinString>: Archive,\n <PartyId as Archive>::Archived: Portable,\n <SmolStr as Archive>::Archived: Portable,\n <Option<ThinString> as Archive>::Archived: Portable,
"],["impl Portable for ArchivedParty
where\n PartialParty: Archive,\n PartyFlags: Archive,\n Option<EncryptedSnowflake>: Archive,\n Nullable<EncryptedSnowflake>: Archive,\n RoomId: Archive,\n Option<i16>: Archive,\n UserId: Archive,\n ThinVec<Role>: Archive,\n ThinVec<Emote>: Archive,\n ThinVec<PinFolder>: Archive,\n <PartialParty as Archive>::Archived: Portable,\n <PartyFlags as Archive>::Archived: Portable,\n <Option<EncryptedSnowflake> as Archive>::Archived: Portable,\n <Nullable<EncryptedSnowflake> as Archive>::Archived: Portable,\n <RoomId as Archive>::Archived: Portable,\n <Option<i16> as Archive>::Archived: Portable,\n <UserId as Archive>::Archived: Portable,\n <ThinVec<Role> as Archive>::Archived: Portable,\n <ThinVec<Emote> as Archive>::Archived: Portable,\n <ThinVec<PinFolder> as Archive>::Archived: Portable,
"],["impl Portable for ArchivedPartyFlags"],["impl Portable for ArchivedPartyMember
where\n User: Archive,\n Option<Timestamp>: Archive,\n PartyMemberFlags: Archive,\n ThinVec<RoleId>: Archive,\n <User as Archive>::Archived: Portable,\n <Option<Timestamp> as Archive>::Archived: Portable,\n <PartyMemberFlags as Archive>::Archived: Portable,\n <ThinVec<RoleId> as Archive>::Archived: Portable,
"],["impl Portable for ArchivedPartyMemberFlags"],["impl Portable for ArchivedPartyPreferences
where\n Locale: Archive,\n PartyPrefsFlags: Archive,\n <Locale as Archive>::Archived: Portable,\n <PartyPrefsFlags as Archive>::Archived: Portable,
"],["impl Portable for ArchivedPartyPrefsFlags"],["impl Portable for ArchivedPinFolder
where\n FolderId: Archive,\n SmolStr: Archive,\n PinFolderFlags: Archive,\n Option<SmolStr>: Archive,\n <FolderId as Archive>::Archived: Portable,\n <SmolStr as Archive>::Archived: Portable,\n <PinFolderFlags as Archive>::Archived: Portable,\n <Option<SmolStr> as Archive>::Archived: Portable,
"],["impl Portable for ArchivedPinFolderFlags"],["impl Portable for ArchivedOverwrite
where\n Snowflake: Archive,\n Permissions: Archive,\n <Snowflake as Archive>::Archived: Portable,\n <Permissions as Archive>::Archived: Portable,
"],["impl Portable for ArchivedPermissions"],["impl Portable for ArchivedActivity"],["impl Portable for ArchivedUserPresence
where\n UserPresenceFlags: Archive,\n Option<u64>: Archive,\n Option<Timestamp>: Archive,\n Option<AnyActivity>: Archive,\n <UserPresenceFlags as Archive>::Archived: Portable,\n <Option<u64> as Archive>::Archived: Portable,\n <Option<Timestamp> as Archive>::Archived: Portable,\n <Option<AnyActivity> as Archive>::Archived: Portable,
"],["impl Portable for ArchivedUserPresenceFlags"],["impl Portable for ArchivedRole
where\n RoleId: Archive,\n PartyId: Archive,\n Option<EncryptedSnowflake>: Archive,\n SmolStr: Archive,\n Option<SmolStr>: Archive,\n Permissions: Archive,\n Option<u32>: Archive,\n i16: Archive,\n RoleFlags: Archive,\n <RoleId as Archive>::Archived: Portable,\n <PartyId as Archive>::Archived: Portable,\n <Option<EncryptedSnowflake> as Archive>::Archived: Portable,\n <SmolStr as Archive>::Archived: Portable,\n <Option<SmolStr> as Archive>::Archived: Portable,\n <Permissions as Archive>::Archived: Portable,\n <Option<u32> as Archive>::Archived: Portable,\n <i16 as Archive>::Archived: Portable,\n <RoleFlags as Archive>::Archived: Portable,
"],["impl Portable for ArchivedRoleFlags"],["impl Portable for ArchivedFullRoom
where\n Room: Archive,\n Permissions: Archive,\n <Room as Archive>::Archived: Portable,\n <Permissions as Archive>::Archived: Portable,
"],["impl Portable for ArchivedRoom
where\n RoomId: Archive,\n RoomFlags: Archive,\n PartyId: Archive,\n Option<EncryptedSnowflake>: Archive,\n SmolStr: Archive,\n Option<SmolStr>: Archive,\n i16: Archive,\n Niche: ArchiveWith<Option<NonZeroU32>>,\n NicheSnowflake: ArchiveWith<Option<RoomId>>,\n ThinVec<Overwrite>: Archive,\n <RoomId as Archive>::Archived: Portable,\n <RoomFlags as Archive>::Archived: Portable,\n <PartyId as Archive>::Archived: Portable,\n <Option<EncryptedSnowflake> as Archive>::Archived: Portable,\n <SmolStr as Archive>::Archived: Portable,\n <Option<SmolStr> as Archive>::Archived: Portable,\n <i16 as Archive>::Archived: Portable,\n <Niche as ArchiveWith<Option<NonZeroU32>>>::Archived: Portable,\n <NicheSnowflake as ArchiveWith<Option<RoomId>>>::Archived: Portable,\n <ThinVec<Overwrite> as Archive>::Archived: Portable,
"],["impl Portable for ArchivedRoomFlags"],["impl Portable for ArchivedAnonymousSession
where\n Timestamp: Archive,\n <Timestamp as Archive>::Archived: Portable,
"],["impl Portable for ArchivedSession
where\n AuthToken: Archive,\n Timestamp: Archive,\n <AuthToken as Archive>::Archived: Portable,\n <Timestamp as Archive>::Archived: Portable,
"],["impl Portable for ArchivedRoomStatistics
where\n u64: Archive,\n <u64 as Archive>::Archived: Portable,
"],["impl Portable for ArchivedThread
where\n ThreadId: Archive,\n Message: Archive,\n ThreadFlags: Archive,\n <ThreadId as Archive>::Archived: Portable,\n <Message as Archive>::Archived: Portable,\n <ThreadFlags as Archive>::Archived: Portable,
"],["impl Portable for ArchivedThreadFlags"],["impl Portable for ArchivedFontSize
where\n f32: Archive,\n <f32 as Archive>::Archived: Portable,
"],["impl Portable for ArchivedPadding
where\n u8: Archive,\n <u8 as Archive>::Archived: Portable,
"],["impl Portable for ArchivedTabSize
where\n u8: Archive,\n <u8 as Archive>::Archived: Portable,
"],["impl Portable for ArchivedTemperature
where\n u16: Archive,\n <u16 as Archive>::Archived: Portable,
"],["impl Portable for ArchivedExtraUserProfileBits"],["impl Portable for ArchivedFont"],["impl Portable for ArchivedFriendAddability"],["impl Portable for ArchivedLocale"],["impl Portable for ArchivedRelationship
where\n Option<SmolStr>: Archive,\n User: Archive,\n Timestamp: Archive,\n UserRelationship: Archive,\n bool: Archive,\n <Option<SmolStr> as Archive>::Archived: Portable,\n <User as Archive>::Archived: Portable,\n <Timestamp as Archive>::Archived: Portable,\n <UserRelationship as Archive>::Archived: Portable,\n <bool as Archive>::Archived: Portable,
"],["impl Portable for ArchivedUser
where\n UserId: Archive,\n SmolStr: Archive,\n i32: Archive,\n UserFlags: Archive,\n Nullable<Arc<UserProfile>>: Archive,\n Option<SmolStr>: Archive,\n Option<UserPreferences>: Archive,\n Option<UserPresence>: Archive,\n <UserId as Archive>::Archived: Portable,\n <SmolStr as Archive>::Archived: Portable,\n <i32 as Archive>::Archived: Portable,\n <UserFlags as Archive>::Archived: Portable,\n <Nullable<Arc<UserProfile>> as Archive>::Archived: Portable,\n <Option<SmolStr> as Archive>::Archived: Portable,\n <Option<UserPreferences> as Archive>::Archived: Portable,\n <Option<UserPresence> as Archive>::Archived: Portable,
"],["impl Portable for ArchivedUserFlags"],["impl Portable for ArchivedUserPreferences
where\n Locale: Archive,\n UserPrefsFlags: Archive,\n FriendAddability: Archive,\n Temperature: Archive,\n Font: Archive,\n FontSize: Archive,\n Padding: Archive,\n TabSize: Archive,\n <Locale as Archive>::Archived: Portable,\n <UserPrefsFlags as Archive>::Archived: Portable,\n <FriendAddability as Archive>::Archived: Portable,\n <Temperature as Archive>::Archived: Portable,\n <Font as Archive>::Archived: Portable,\n <FontSize as Archive>::Archived: Portable,\n <Padding as Archive>::Archived: Portable,\n <TabSize as Archive>::Archived: Portable,
"],["impl Portable for ArchivedUserPrefsFlags"],["impl Portable for ArchivedUserProfile
where\n UserProfileBits: Archive,\n ExtraUserProfileBits: Archive,\n Nullable<SmolStr>: Archive,\n Nullable<EncryptedSnowflake>: Archive,\n <UserProfileBits as Archive>::Archived: Portable,\n <ExtraUserProfileBits as Archive>::Archived: Portable,\n <Nullable<SmolStr> as Archive>::Archived: Portable,\n <Nullable<EncryptedSnowflake> as Archive>::Archived: Portable,
"],["impl Portable for ArchivedUserProfileBits"],["impl Portable for ArchivedUserRelationship"],["impl<T> Portable for Nullable<T>
where\n T: Portable,
"],["impl<const N: usize> Portable for FixedStr<N>"]]]]); + if (window.register_implementors) { + window.register_implementors(implementors); + } else { + window.pending_implementors = implementors; + } +})() +//{"start":57,"fragment_lengths":[258751]} \ No newline at end of file diff --git a/trait.impl/rkyv/traits/trait.Serialize.js b/trait.impl/rkyv/traits/trait.Serialize.js new file mode 100644 index 000000000..2c52c2564 --- /dev/null +++ b/trait.impl/rkyv/traits/trait.Serialize.js @@ -0,0 +1,9 @@ +(function() { + var implementors = Object.fromEntries([["client_sdk",[["impl<S: Fallible + ?Sized> Serialize<S> for CreateRoomKind"],["impl<S: Fallible + ?Sized> Serialize<S> for BannerAlign"],["impl<S: Fallible + ?Sized> Serialize<S> for ApiErrorCode"],["impl<S: Fallible + ?Sized> Serialize<S> for MessageKind"],["impl<S: Fallible + ?Sized> Serialize<S> for Font"],["impl<S: Fallible + ?Sized> Serialize<S> for FriendAddability"],["impl<S: Fallible + ?Sized> Serialize<S> for Locale"],["impl<S: Fallible + ?Sized> Serialize<S> for UserRelationship"],["impl<S: Fallible + ?Sized> Serialize<S> for CommandFlags"],["impl<S: Fallible + ?Sized> Serialize<S> for AssetFlags"],["impl<S: Fallible + ?Sized> Serialize<S> for EmbedFlags"],["impl<S: Fallible + ?Sized> Serialize<S> for EmoteFlags"],["impl<S: Fallible + ?Sized> Serialize<S> for Intent"],["impl<S: Fallible + ?Sized> Serialize<S> for MessageFlags"],["impl<S: Fallible + ?Sized> Serialize<S> for PartyFlags"],["impl<S: Fallible + ?Sized> Serialize<S> for PartyMemberFlags"],["impl<S: Fallible + ?Sized> Serialize<S> for PartyPrefsFlags"],["impl<S: Fallible + ?Sized> Serialize<S> for PinFolderFlags"],["impl<S: Fallible + ?Sized> Serialize<S> for Permissions"],["impl<S: Fallible + ?Sized> Serialize<S> for UserPresenceFlags"],["impl<S: Fallible + ?Sized> Serialize<S> for RoleFlags"],["impl<S: Fallible + ?Sized> Serialize<S> for RoomFlags"],["impl<S: Fallible + ?Sized> Serialize<S> for ThreadFlags"],["impl<S: Fallible + ?Sized> Serialize<S> for ExtraUserProfileBits"],["impl<S: Fallible + ?Sized> Serialize<S> for UserFlags"],["impl<S: Fallible + ?Sized> Serialize<S> for UserPrefsFlags"],["impl<S: Fallible + ?Sized> Serialize<S> for UserProfileBits"],["impl<S: Fallible + ?Sized> Serialize<S> for ThinString
where\n S::Error: Source,\n str: SerializeUnsized<S>,
"],["impl<T: Serialize<S>, S: Fallible + ?Sized> Serialize<S> for Nullable<T>"],["impl<__S: Fallible + ?Sized> Serialize<__S> for AuthToken
where\n BearerToken: Serialize<__S>,\n BotToken: Serialize<__S>,
"],["impl<__S: Fallible + ?Sized> Serialize<__S> for Embed
where\n EmbedV1: Serialize<__S>,
"],["impl<__S: Fallible + ?Sized> Serialize<__S> for EmbedType"],["impl<__S: Fallible + ?Sized> Serialize<__S> for Emote
where\n SmolStr: Serialize<__S>,\n CustomEmote: Serialize<__S>,
"],["impl<__S: Fallible + ?Sized> Serialize<__S> for Cursor
where\n Snowflake: Serialize<__S>,
"],["impl<__S: Fallible + ?Sized> Serialize<__S> for PartyUpdateEvent
where\n PartyPositionUpdate: Serialize<__S>,\n Party: Serialize<__S>,
"],["impl<__S: Fallible + ?Sized> Serialize<__S> for ClientMsg
where\n HeartbeatPayload: Serialize<__S>,\n IdentifyPayload: Serialize<__S>,\n ResumePayload: Serialize<__S>,\n SetPresencePayload: Serialize<__S>,\n SubscribePayload: Serialize<__S>,\n UnsubscribePayload: Serialize<__S>,
"],["impl<__S: Fallible + ?Sized> Serialize<__S> for ServerMsg
where\n HelloPayload: Serialize<__S>,\n HeartbeatAckPayload: Serialize<__S>,\n ReadyPayload: Serialize<__S>,\n InvalidSessionPayload: Serialize<__S>,\n PartyCreatePayload: Serialize<__S>,\n PartyUpdatePayload: Serialize<__S>,\n PartyDeletePayload: Serialize<__S>,\n RoleCreatePayload: Serialize<__S>,\n RoleUpdatePayload: Serialize<__S>,\n RoleDeletePayload: Serialize<__S>,\n MemberAddPayload: Serialize<__S>,\n MemberUpdatePayload: Serialize<__S>,\n MemberRemovePayload: Serialize<__S>,\n MemberBanPayload: Serialize<__S>,\n MemberUnbanPayload: Serialize<__S>,\n RoomCreatePayload: Serialize<__S>,\n RoomUpdatePayload: Serialize<__S>,\n RoomDeletePayload: Serialize<__S>,\n RoomPinsUpdatePayload: Serialize<__S>,\n MessageCreatePayload: Serialize<__S>,\n MessageUpdatePayload: Serialize<__S>,\n MessageDeletePayload: Serialize<__S>,\n MessageReactionAddPayload: Serialize<__S>,\n MessageReactionRemovePayload: Serialize<__S>,\n MessageReactionRemoveAllPayload: Serialize<__S>,\n MessageReactionRemoveEmotePayload: Serialize<__S>,\n PresenceUpdatePayload: Serialize<__S>,\n TypingStartPayload: Serialize<__S>,\n UserUpdatePayload: Serialize<__S>,\n ProfileUpdatePayload: Serialize<__S>,\n RelationAddPayload: Serialize<__S>,\n RelationRemovePayload: Serialize<__S>,
"],["impl<__S: Fallible + ?Sized> Serialize<__S> for EmoteOrEmoji
where\n EmoteId: Serialize<__S>,\n SmolStr: Serialize<__S>,
"],["impl<__S: Fallible + ?Sized> Serialize<__S> for Reaction
where\n ReactionShorthand: Serialize<__S>,\n ReactionFull: Serialize<__S>,
"],["impl<__S: Fallible + ?Sized> Serialize<__S> for AnyActivity
where\n Activity: Serialize<__S>,
"],["impl<__S: Fallible + ?Sized> Serialize<__S> for RoomKind"],["impl<__S: Fallible + ?Sized> Serialize<__S> for GetServerConfig"],["impl<__S: Fallible + ?Sized> Serialize<__S> for CreateFile
where\n CreateFileBody: Serialize<__S>,
"],["impl<__S: Fallible + ?Sized> Serialize<__S> for CreateFileBody
where\n SmolStr: Serialize<__S>,\n i32: Serialize<__S>,\n Option<SmolStr>: Serialize<__S>,\n Option<i32>: Serialize<__S>,\n Option<String>: Serialize<__S>,
"],["impl<__S: Fallible + ?Sized> Serialize<__S> for FileStatus
where\n u32: Serialize<__S>,\n u64: Serialize<__S>,
"],["impl<__S: Fallible + ?Sized> Serialize<__S> for FilesystemStatus
where\n i64: Serialize<__S>,
"],["impl<__S: Fallible + ?Sized> Serialize<__S> for GetFileStatus
where\n FileId: Serialize<__S>,
"],["impl<__S: Fallible + ?Sized> Serialize<__S> for GetFilesystemStatus"],["impl<__S: Fallible + ?Sized> Serialize<__S> for GetInvite
where\n SmolStr: Serialize<__S>,
"],["impl<__S: Fallible + ?Sized> Serialize<__S> for RedeemInvite
where\n SmolStr: Serialize<__S>,\n RedeemInviteBody: Serialize<__S>,
"],["impl<__S: Fallible + ?Sized> Serialize<__S> for RedeemInviteBody
where\n Option<SmolStr>: Serialize<__S>,
"],["impl<__S: Fallible + ?Sized> Serialize<__S> for RevokeInvite
where\n SmolStr: Serialize<__S>,
"],["impl<__S: Fallible + ?Sized> Serialize<__S> for CreateParty
where\n CreatePartyForm: Serialize<__S>,
"],["impl<__S: Fallible + ?Sized> Serialize<__S> for CreatePartyForm
where\n SmolStr: Serialize<__S>,\n Option<ThinString>: Serialize<__S>,\n PartyFlags: Serialize<__S>,
"],["impl<__S: Fallible + ?Sized> Serialize<__S> for CreatePartyInvite
where\n PartyId: Serialize<__S>,\n CreatePartyInviteBody: Serialize<__S>,
"],["impl<__S: Fallible + ?Sized> Serialize<__S> for CreatePartyInviteBody
where\n Option<u16>: Serialize<__S>,\n Option<u64>: Serialize<__S>,\n Option<SmolStr>: Serialize<__S>,
"],["impl<__S: Fallible + ?Sized> Serialize<__S> for CreatePinFolder
where\n PartyId: Serialize<__S>,\n CreatePinFolderForm: Serialize<__S>,
"],["impl<__S: Fallible + ?Sized> Serialize<__S> for CreatePinFolderForm
where\n SmolStr: Serialize<__S>,\n Option<SmolStr>: Serialize<__S>,
"],["impl<__S: Fallible + ?Sized> Serialize<__S> for CreateRole
where\n PartyId: Serialize<__S>,\n CreateRoleForm: Serialize<__S>,
"],["impl<__S: Fallible + ?Sized> Serialize<__S> for CreateRoleForm
where\n SmolStr: Serialize<__S>,
"],["impl<__S: Fallible + ?Sized> Serialize<__S> for CreateRoom
where\n PartyId: Serialize<__S>,\n CreateRoomForm: Serialize<__S>,
"],["impl<__S: Fallible + ?Sized> Serialize<__S> for CreateRoomForm
where\n SmolStr: Serialize<__S>,\n Option<SmolStr>: Serialize<__S>,\n CreateRoomKind: Serialize<__S>,\n ThinVec<Overwrite>: Serialize<__S>,\n i16: Serialize<__S>,
"],["impl<__S: Fallible + ?Sized> Serialize<__S> for DeleteParty
where\n PartyId: Serialize<__S>,
"],["impl<__S: Fallible + ?Sized> Serialize<__S> for DeleteRole
where\n PartyId: Serialize<__S>,\n RoleId: Serialize<__S>,
"],["impl<__S: Fallible + ?Sized> Serialize<__S> for GetMemberProfile
where\n PartyId: Serialize<__S>,\n UserId: Serialize<__S>,
"],["impl<__S: Fallible + ?Sized> Serialize<__S> for GetParty
where\n PartyId: Serialize<__S>,
"],["impl<__S: Fallible + ?Sized> Serialize<__S> for GetPartyInvites
where\n PartyId: Serialize<__S>,
"],["impl<__S: Fallible + ?Sized> Serialize<__S> for GetPartyMember
where\n PartyId: Serialize<__S>,\n UserId: Serialize<__S>,
"],["impl<__S: Fallible + ?Sized> Serialize<__S> for GetPartyMembers
where\n PartyId: Serialize<__S>,
"],["impl<__S: Fallible + ?Sized> Serialize<__S> for GetPartyRooms
where\n PartyId: Serialize<__S>,
"],["impl<__S: Fallible + ?Sized> Serialize<__S> for PartySettings
where\n PartyFlags: Serialize<__S>,\n PartyPreferences: Serialize<__S>,
"],["impl<__S: Fallible + ?Sized> Serialize<__S> for PatchParty
where\n PartyId: Serialize<__S>,\n PatchPartyForm: Serialize<__S>,
"],["impl<__S: Fallible + ?Sized> Serialize<__S> for PatchPartyForm
where\n Option<SmolStr>: Serialize<__S>,\n Nullable<SmolStr>: Serialize<__S>,\n Option<PartyFlags>: Serialize<__S>,\n Option<RoomId>: Serialize<__S>,\n Nullable<FileId>: Serialize<__S>,\n BannerAlign: Serialize<__S>,
"],["impl<__S: Fallible + ?Sized> Serialize<__S> for PatchRole
where\n PartyId: Serialize<__S>,\n RoleId: Serialize<__S>,\n PatchRoleForm: Serialize<__S>,
"],["impl<__S: Fallible + ?Sized> Serialize<__S> for PatchRoleForm
where\n Option<RoleFlags>: Serialize<__S>,\n Option<SmolStr>: Serialize<__S>,\n Option<u32>: Serialize<__S>,\n Option<Permissions>: Serialize<__S>,\n Nullable<FileId>: Serialize<__S>,\n Option<u8>: Serialize<__S>,
"],["impl<__S: Fallible + ?Sized> Serialize<__S> for SearchParty
where\n PartyId: Serialize<__S>,\n SearchQuery: Serialize<__S>,
"],["impl<__S: Fallible + ?Sized> Serialize<__S> for SearchQuery
where\n ThinString: Serialize<__S>,
"],["impl<__S: Fallible + ?Sized> Serialize<__S> for TransferOwnership
where\n PartyId: Serialize<__S>,\n UserId: Serialize<__S>,
"],["impl<__S: Fallible + ?Sized> Serialize<__S> for UpdateMemberProfile
where\n PartyId: Serialize<__S>,\n UpdateMemberProfileBody: Serialize<__S>,
"],["impl<__S: Fallible + ?Sized> Serialize<__S> for UpdateMemberProfileBody
where\n UpdateUserProfileBody: Serialize<__S>,
"],["impl<__S: Fallible + ?Sized> Serialize<__S> for CreateMessage
where\n RoomId: Serialize<__S>,\n CreateMessageBody: Serialize<__S>,
"],["impl<__S: Fallible + ?Sized> Serialize<__S> for CreateMessageBody
where\n SmolStr: Serialize<__S>,\n Option<RoomId>: Serialize<__S>,\n ThinVec<FileId>: Serialize<__S>,\n ThinVec<Embed>: Serialize<__S>,\n bool: Serialize<__S>,
"],["impl<__S: Fallible + ?Sized> Serialize<__S> for DeleteAllReactions
where\n RoomId: Serialize<__S>,\n MessageId: Serialize<__S>,
"],["impl<__S: Fallible + ?Sized> Serialize<__S> for DeleteMessage
where\n RoomId: Serialize<__S>,\n MessageId: Serialize<__S>,
"],["impl<__S: Fallible + ?Sized> Serialize<__S> for DeleteOwnReaction
where\n RoomId: Serialize<__S>,\n MessageId: Serialize<__S>,\n EmoteOrEmoji: Serialize<__S>,
"],["impl<__S: Fallible + ?Sized> Serialize<__S> for DeleteRoom
where\n RoomId: Serialize<__S>,
"],["impl<__S: Fallible + ?Sized> Serialize<__S> for DeleteUserReaction
where\n RoomId: Serialize<__S>,\n MessageId: Serialize<__S>,\n EmoteOrEmoji: Serialize<__S>,\n UserId: Serialize<__S>,
"],["impl<__S: Fallible + ?Sized> Serialize<__S> for EditMessage
where\n RoomId: Serialize<__S>,\n MessageId: Serialize<__S>,\n EditMessageBody: Serialize<__S>,
"],["impl<__S: Fallible + ?Sized> Serialize<__S> for EditMessageBody
where\n SmolStr: Serialize<__S>,\n ThinVec<FileId>: Serialize<__S>,
"],["impl<__S: Fallible + ?Sized> Serialize<__S> for GetMessage
where\n RoomId: Serialize<__S>,\n MessageId: Serialize<__S>,
"],["impl<__S: Fallible + ?Sized> Serialize<__S> for GetMessages
where\n RoomId: Serialize<__S>,\n GetMessagesQuery: Serialize<__S>,
"],["impl<__S: Fallible + ?Sized> Serialize<__S> for GetMessagesQuery
where\n Option<Cursor>: Serialize<__S>,\n Option<MessageId>: Serialize<__S>,\n Option<u8>: Serialize<__S>,\n ThinVec<FolderId>: Serialize<__S>,\n bool: Serialize<__S>,\n u8: Serialize<__S>,
"],["impl<__S: Fallible + ?Sized> Serialize<__S> for GetReactions
where\n RoomId: Serialize<__S>,\n MessageId: Serialize<__S>,\n EmoteOrEmoji: Serialize<__S>,\n GetReactionsForm: Serialize<__S>,
"],["impl<__S: Fallible + ?Sized> Serialize<__S> for GetReactionsForm
where\n Option<Snowflake>: Serialize<__S>,\n Option<i8>: Serialize<__S>,
"],["impl<__S: Fallible + ?Sized> Serialize<__S> for GetRoom
where\n RoomId: Serialize<__S>,
"],["impl<__S: Fallible + ?Sized> Serialize<__S> for PatchRoom
where\n RoomId: Serialize<__S>,\n PatchRoomForm: Serialize<__S>,
"],["impl<__S: Fallible + ?Sized> Serialize<__S> for PatchRoomForm
where\n Option<SmolStr>: Serialize<__S>,\n Nullable<SmolStr>: Serialize<__S>,\n Nullable<FileId>: Serialize<__S>,\n Option<u8>: Serialize<__S>,\n ThinVec<Snowflake>: Serialize<__S>,\n ThinVec<Overwrite>: Serialize<__S>,\n Option<bool>: Serialize<__S>,
"],["impl<__S: Fallible + ?Sized> Serialize<__S> for PinMessage
where\n RoomId: Serialize<__S>,\n MessageId: Serialize<__S>,\n FolderId: Serialize<__S>,
"],["impl<__S: Fallible + ?Sized> Serialize<__S> for PutReaction
where\n RoomId: Serialize<__S>,\n MessageId: Serialize<__S>,\n EmoteOrEmoji: Serialize<__S>,
"],["impl<__S: Fallible + ?Sized> Serialize<__S> for StarMessage
where\n RoomId: Serialize<__S>,\n MessageId: Serialize<__S>,
"],["impl<__S: Fallible + ?Sized> Serialize<__S> for StartTyping
where\n RoomId: Serialize<__S>,\n StartTypingBody: Serialize<__S>,
"],["impl<__S: Fallible + ?Sized> Serialize<__S> for StartTypingBody
where\n Option<MessageId>: Serialize<__S>,
"],["impl<__S: Fallible + ?Sized> Serialize<__S> for UnpinMessage
where\n RoomId: Serialize<__S>,\n MessageId: Serialize<__S>,\n FolderId: Serialize<__S>,
"],["impl<__S: Fallible + ?Sized> Serialize<__S> for UnstarMessage
where\n RoomId: Serialize<__S>,\n MessageId: Serialize<__S>,
"],["impl<__S: Fallible + ?Sized> Serialize<__S> for Added2FA
where\n String: Serialize<__S>,\n Vec<String>: Serialize<__S>,
"],["impl<__S: Fallible + ?Sized> Serialize<__S> for ChangePassword
where\n ChangePasswordForm: Serialize<__S>,
"],["impl<__S: Fallible + ?Sized> Serialize<__S> for ChangePasswordForm
where\n SmolStr: Serialize<__S>,\n Option<SmolStr>: Serialize<__S>,
"],["impl<__S: Fallible + ?Sized> Serialize<__S> for ClearSessions
where\n ClearSessionsForm: Serialize<__S>,
"],["impl<__S: Fallible + ?Sized> Serialize<__S> for ClearSessionsForm
where\n Option<SmolStr>: Serialize<__S>,
"],["impl<__S: Fallible + ?Sized> Serialize<__S> for Confirm2FA
where\n Confirm2FAForm: Serialize<__S>,
"],["impl<__S: Fallible + ?Sized> Serialize<__S> for Confirm2FAForm
where\n SmolStr: Serialize<__S>,
"],["impl<__S: Fallible + ?Sized> Serialize<__S> for Enable2FA
where\n Enable2FAForm: Serialize<__S>,
"],["impl<__S: Fallible + ?Sized> Serialize<__S> for Enable2FAForm
where\n SmolStr: Serialize<__S>,\n String: Serialize<__S>,
"],["impl<__S: Fallible + ?Sized> Serialize<__S> for GetRelationships"],["impl<__S: Fallible + ?Sized> Serialize<__S> for GetSessions"],["impl<__S: Fallible + ?Sized> Serialize<__S> for GetUser
where\n UserId: Serialize<__S>,
"],["impl<__S: Fallible + ?Sized> Serialize<__S> for PatchRelationship
where\n UserId: Serialize<__S>,\n PatchRelationshipBody: Serialize<__S>,
"],["impl<__S: Fallible + ?Sized> Serialize<__S> for PatchRelationshipBody
where\n Nullable<UserRelationship>: Serialize<__S>,\n Nullable<SmolStr>: Serialize<__S>,
"],["impl<__S: Fallible + ?Sized> Serialize<__S> for Remove2FA
where\n Remove2FAForm: Serialize<__S>,
"],["impl<__S: Fallible + ?Sized> Serialize<__S> for Remove2FAForm
where\n SmolStr: Serialize<__S>,
"],["impl<__S: Fallible + ?Sized> Serialize<__S> for UpdateUserPrefs
where\n UpdateUserPrefsBody: Serialize<__S>,
"],["impl<__S: Fallible + ?Sized> Serialize<__S> for UpdateUserPrefsBody
where\n UserPreferences: Serialize<__S>,
"],["impl<__S: Fallible + ?Sized> Serialize<__S> for UpdateUserProfile
where\n UpdateUserProfileBody: Serialize<__S>,
"],["impl<__S: Fallible + ?Sized> Serialize<__S> for UpdateUserProfileBody
where\n UserProfileBits: Serialize<__S>,\n ExtraUserProfileBits: Serialize<__S>,\n Nullable<SmolStr>: Serialize<__S>,\n Nullable<FileId>: Serialize<__S>,\n BannerAlign: Serialize<__S>,
"],["impl<__S: Fallible + ?Sized> Serialize<__S> for UserLogin
where\n UserLoginForm: Serialize<__S>,
"],["impl<__S: Fallible + ?Sized> Serialize<__S> for UserLoginForm
where\n SmolStr: Serialize<__S>,\n Option<SmolStr>: Serialize<__S>,
"],["impl<__S: Fallible + ?Sized> Serialize<__S> for UserLogout"],["impl<__S: Fallible + ?Sized> Serialize<__S> for UserRegister
where\n UserRegisterForm: Serialize<__S>,
"],["impl<__S: Fallible + ?Sized> Serialize<__S> for UserRegisterForm
where\n SmolStr: Serialize<__S>,\n Timestamp: Serialize<__S>,\n String: Serialize<__S>,
"],["impl<__S: Fallible + ?Sized> Serialize<__S> for ApiError
where\n ApiErrorCode: Serialize<__S>,\n AsOwned: SerializeWith<Cow<'static, str>, __S>,
"],["impl<__S: Fallible + ?Sized> Serialize<__S> for ServerConfig
where\n HCaptchaSiteKey: Serialize<__S>,\n SmolStr: Serialize<__S>,\n u8: Serialize<__S>,\n bool: Serialize<__S>,\n ServerLimits: Serialize<__S>,
"],["impl<__S: Fallible + ?Sized> Serialize<__S> for ServerLimits
where\n u64: Serialize<__S>,\n u32: Serialize<__S>,
"],["impl<__S: Fallible + ?Sized> Serialize<__S> for BasicEmbedMedia
where\n ThinString: Serialize<__S>,\n Option<ThinString>: Serialize<__S>,\n Option<UrlSignature>: Serialize<__S>,\n Option<i32>: Serialize<__S>,\n Option<SmolStr>: Serialize<__S>,
"],["impl<__S: Fallible + ?Sized> Serialize<__S> for EmbedAuthor
where\n SmolStr: Serialize<__S>,\n Option<ThinString>: Serialize<__S>,\n Niche: SerializeWith<Option<Box<EmbedMedia>>, __S>,
"],["impl<__S: Fallible + ?Sized> Serialize<__S> for EmbedField
where\n SmolStr: Serialize<__S>,\n Niche: SerializeWith<Option<Box<EmbedMedia>>, __S>,\n bool: Serialize<__S>,
"],["impl<__S: Fallible + ?Sized> Serialize<__S> for EmbedFooter
where\n ThinString: Serialize<__S>,\n Niche: SerializeWith<Option<Box<EmbedMedia>>, __S>,
"],["impl<__S: Fallible + ?Sized> Serialize<__S> for EmbedMedia
where\n BasicEmbedMedia: Serialize<__S>,\n Vec<BasicEmbedMedia>: Serialize<__S>,
"],["impl<__S: Fallible + ?Sized> Serialize<__S> for EmbedProvider
where\n Option<SmolStr>: Serialize<__S>,\n Option<ThinString>: Serialize<__S>,\n Niche: SerializeWith<Option<Box<EmbedMedia>>, __S>,
"],["impl<__S: Fallible + ?Sized> Serialize<__S> for EmbedV1
where\n Timestamp: Serialize<__S>,\n EmbedType: Serialize<__S>,\n EmbedFlags: Serialize<__S>,\n Option<ThinString>: Serialize<__S>,\n Option<u32>: Serialize<__S>,\n Option<EmbedAuthor>: Serialize<__S>,\n EmbedProvider: Serialize<__S>,\n Niche: SerializeWith<Option<Box<EmbedMedia>>, __S>,\n Vec<EmbedField>: Serialize<__S>,\n Option<EmbedFooter>: Serialize<__S>,
"],["impl<__S: Fallible + ?Sized> Serialize<__S> for CustomEmote
where\n EmoteId: Serialize<__S>,\n PartyId: Serialize<__S>,\n FileId: Serialize<__S>,\n SmolStr: Serialize<__S>,\n EmoteFlags: Serialize<__S>,\n f32: Serialize<__S>,
"],["impl<__S: Fallible + ?Sized> Serialize<__S> for File
where\n FileId: Serialize<__S>,\n SmolStr: Serialize<__S>,\n i64: Serialize<__S>,\n Option<SmolStr>: Serialize<__S>,\n Option<i32>: Serialize<__S>,\n Option<ThinString>: Serialize<__S>,
"],["impl<__S: Fallible + ?Sized> Serialize<__S> for Identify
where\n AuthToken: Serialize<__S>,\n Intent: Serialize<__S>,
"],["impl<__S: Fallible + ?Sized> Serialize<__S> for SetPresence
where\n UserPresence: Serialize<__S>,
"],["impl<__S: Fallible + ?Sized> Serialize<__S> for Hello
where\n u32: Serialize<__S>,
"],["impl<__S: Fallible + ?Sized> Serialize<__S> for MessageDeleteEvent
where\n MessageId: Serialize<__S>,\n RoomId: Serialize<__S>,\n PartyId: Serialize<__S>,
"],["impl<__S: Fallible + ?Sized> Serialize<__S> for PartyMemberEvent
where\n PartyId: Serialize<__S>,\n PartyMember: Serialize<__S>,
"],["impl<__S: Fallible + ?Sized> Serialize<__S> for PartyPositionUpdate
where\n PartyId: Serialize<__S>,\n i16: Serialize<__S>,
"],["impl<__S: Fallible + ?Sized> Serialize<__S> for ProfileUpdateEvent
where\n Option<PartyId>: Serialize<__S>,\n User: Serialize<__S>,
"],["impl<__S: Fallible + ?Sized> Serialize<__S> for Ready
where\n User: Serialize<__S>,\n ThinVec<ReadyParty>: Serialize<__S>,\n ThinVec<Room>: Serialize<__S>,\n Snowflake: Serialize<__S>,
"],["impl<__S: Fallible + ?Sized> Serialize<__S> for ReadyParty
where\n Party: Serialize<__S>,\n PartyMember: Serialize<__S>,
"],["impl<__S: Fallible + ?Sized> Serialize<__S> for RoleDeleteEvent
where\n RoleId: Serialize<__S>,\n PartyId: Serialize<__S>,
"],["impl<__S: Fallible + ?Sized> Serialize<__S> for RoomDeleteEvent
where\n RoomId: Serialize<__S>,\n NicheSnowflake: SerializeWith<Option<PartyId>, __S>,
"],["impl<__S: Fallible + ?Sized> Serialize<__S> for TypingStart
where\n RoomId: Serialize<__S>,\n PartyId: Serialize<__S>,\n UserId: Serialize<__S>,\n PartyMember: Serialize<__S>,\n Option<MessageId>: Serialize<__S>,
"],["impl<__S: Fallible + ?Sized> Serialize<__S> for UserPresenceEvent
where\n Option<PartyId>: Serialize<__S>,\n User: Serialize<__S>,
"],["impl<__S: Fallible + ?Sized> Serialize<__S> for UserReactionEvent
where\n UserId: Serialize<__S>,\n RoomId: Serialize<__S>,\n PartyId: Serialize<__S>,\n MessageId: Serialize<__S>,\n Niche: SerializeWith<Option<Box<PartyMember>>, __S>,\n EmoteOrEmoji: Serialize<__S>,
"],["impl<__S: Fallible + ?Sized> Serialize<__S> for HeartbeatPayload"],["impl<__S: Fallible + ?Sized> Serialize<__S> for IdentifyPayload
where\n Box<Identify>: Serialize<__S>,
"],["impl<__S: Fallible + ?Sized> Serialize<__S> for ResumePayload
where\n Snowflake: Serialize<__S>,
"],["impl<__S: Fallible + ?Sized> Serialize<__S> for SetPresencePayload
where\n Box<SetPresence>: Serialize<__S>,
"],["impl<__S: Fallible + ?Sized> Serialize<__S> for SubscribePayload
where\n PartyId: Serialize<__S>,
"],["impl<__S: Fallible + ?Sized> Serialize<__S> for UnsubscribePayload
where\n PartyId: Serialize<__S>,
"],["impl<__S: Fallible + ?Sized> Serialize<__S> for HeartbeatAckPayload"],["impl<__S: Fallible + ?Sized> Serialize<__S> for HelloPayload
where\n Hello: Serialize<__S>,
"],["impl<__S: Fallible + ?Sized> Serialize<__S> for InvalidSessionPayload"],["impl<__S: Fallible + ?Sized> Serialize<__S> for MemberAddPayload
where\n Arc<PartyMemberEvent>: Serialize<__S>,
"],["impl<__S: Fallible + ?Sized> Serialize<__S> for MemberBanPayload
where\n Arc<PartyMemberEvent>: Serialize<__S>,
"],["impl<__S: Fallible + ?Sized> Serialize<__S> for MemberRemovePayload
where\n Arc<PartyMemberEvent>: Serialize<__S>,
"],["impl<__S: Fallible + ?Sized> Serialize<__S> for MemberUnbanPayload
where\n Arc<PartyMemberEvent>: Serialize<__S>,
"],["impl<__S: Fallible + ?Sized> Serialize<__S> for MemberUpdatePayload
where\n Arc<PartyMemberEvent>: Serialize<__S>,
"],["impl<__S: Fallible + ?Sized> Serialize<__S> for MessageCreatePayload
where\n Arc<Message>: Serialize<__S>,
"],["impl<__S: Fallible + ?Sized> Serialize<__S> for MessageDeletePayload
where\n Arc<MessageDeleteEvent>: Serialize<__S>,
"],["impl<__S: Fallible + ?Sized> Serialize<__S> for MessageReactionAddPayload
where\n Arc<UserReactionEvent>: Serialize<__S>,
"],["impl<__S: Fallible + ?Sized> Serialize<__S> for MessageReactionRemoveAllPayload"],["impl<__S: Fallible + ?Sized> Serialize<__S> for MessageReactionRemoveEmotePayload"],["impl<__S: Fallible + ?Sized> Serialize<__S> for MessageReactionRemovePayload
where\n Arc<UserReactionEvent>: Serialize<__S>,
"],["impl<__S: Fallible + ?Sized> Serialize<__S> for MessageUpdatePayload
where\n Arc<Message>: Serialize<__S>,
"],["impl<__S: Fallible + ?Sized> Serialize<__S> for PartyCreatePayload
where\n Arc<Party>: Serialize<__S>,
"],["impl<__S: Fallible + ?Sized> Serialize<__S> for PartyDeletePayload
where\n PartyId: Serialize<__S>,
"],["impl<__S: Fallible + ?Sized> Serialize<__S> for PartyUpdatePayload
where\n Arc<PartyUpdateEvent>: Serialize<__S>,
"],["impl<__S: Fallible + ?Sized> Serialize<__S> for PresenceUpdatePayload
where\n Arc<UserPresenceEvent>: Serialize<__S>,
"],["impl<__S: Fallible + ?Sized> Serialize<__S> for ProfileUpdatePayload
where\n Arc<ProfileUpdateEvent>: Serialize<__S>,
"],["impl<__S: Fallible + ?Sized> Serialize<__S> for ReadyPayload
where\n Arc<Ready>: Serialize<__S>,
"],["impl<__S: Fallible + ?Sized> Serialize<__S> for RelationAddPayload
where\n Arc<Relationship>: Serialize<__S>,
"],["impl<__S: Fallible + ?Sized> Serialize<__S> for RelationRemovePayload
where\n UserId: Serialize<__S>,
"],["impl<__S: Fallible + ?Sized> Serialize<__S> for RoleCreatePayload
where\n Arc<Role>: Serialize<__S>,
"],["impl<__S: Fallible + ?Sized> Serialize<__S> for RoleDeletePayload
where\n Arc<RoleDeleteEvent>: Serialize<__S>,
"],["impl<__S: Fallible + ?Sized> Serialize<__S> for RoleUpdatePayload
where\n Arc<Role>: Serialize<__S>,
"],["impl<__S: Fallible + ?Sized> Serialize<__S> for RoomCreatePayload
where\n Arc<()>: Serialize<__S>,
"],["impl<__S: Fallible + ?Sized> Serialize<__S> for RoomDeletePayload
where\n Arc<RoomDeleteEvent>: Serialize<__S>,
"],["impl<__S: Fallible + ?Sized> Serialize<__S> for RoomPinsUpdatePayload"],["impl<__S: Fallible + ?Sized> Serialize<__S> for RoomUpdatePayload
where\n Arc<()>: Serialize<__S>,
"],["impl<__S: Fallible + ?Sized> Serialize<__S> for TypingStartPayload
where\n Arc<TypingStart>: Serialize<__S>,
"],["impl<__S: Fallible + ?Sized> Serialize<__S> for UserUpdatePayload
where\n Arc<User>: Serialize<__S>,
"],["impl<__S: Fallible + ?Sized> Serialize<__S> for Invite
where\n SmolStr: Serialize<__S>,\n PartialParty: Serialize<__S>,\n NicheSnowflake: SerializeWith<Option<UserId>, __S>,\n Option<SmolStr>: Serialize<__S>,\n Option<Timestamp>: Serialize<__S>,\n Option<u16>: Serialize<__S>,
"],["impl<__S: Fallible + ?Sized> Serialize<__S> for Attachment
where\n File: Serialize<__S>,
"],["impl<__S: Fallible + ?Sized> Serialize<__S> for Message
where\n MessageId: Serialize<__S>,\n RoomId: Serialize<__S>,\n PartyId: Serialize<__S>,\n MessageKind: Serialize<__S>,\n PartyMember: Serialize<__S>,\n Option<MessageId>: Serialize<__S>,\n Option<Timestamp>: Serialize<__S>,\n Option<SmolStr>: Serialize<__S>,\n MessageFlags: Serialize<__S>,\n ThinVec<FolderId>: Serialize<__S>,\n ThinVec<UserId>: Serialize<__S>,\n ThinVec<RoleId>: Serialize<__S>,\n ThinVec<RoomId>: Serialize<__S>,\n ThinVec<Reaction>: Serialize<__S>,\n ThinVec<Attachment>: Serialize<__S>,\n ThinVec<Embed>: Serialize<__S>,\n i32: Serialize<__S>,
"],["impl<__S: Fallible + ?Sized> Serialize<__S> for ReactionFull
where\n EmoteOrEmoji: Serialize<__S>,\n ThinVec<UserId>: Serialize<__S>,
"],["impl<__S: Fallible + ?Sized> Serialize<__S> for ReactionShorthand
where\n EmoteOrEmoji: Serialize<__S>,\n bool: Serialize<__S>,\n i64: Serialize<__S>,
"],["impl<__S: Fallible + ?Sized> Serialize<__S> for PartialParty
where\n PartyId: Serialize<__S>,\n SmolStr: Serialize<__S>,\n Option<ThinString>: Serialize<__S>,
"],["impl<__S: Fallible + ?Sized> Serialize<__S> for Party
where\n PartialParty: Serialize<__S>,\n PartyFlags: Serialize<__S>,\n Option<EncryptedSnowflake>: Serialize<__S>,\n Nullable<EncryptedSnowflake>: Serialize<__S>,\n RoomId: Serialize<__S>,\n Option<i16>: Serialize<__S>,\n UserId: Serialize<__S>,\n ThinVec<Role>: Serialize<__S>,\n ThinVec<Emote>: Serialize<__S>,\n ThinVec<PinFolder>: Serialize<__S>,
"],["impl<__S: Fallible + ?Sized> Serialize<__S> for PartyMember
where\n User: Serialize<__S>,\n Option<Timestamp>: Serialize<__S>,\n PartyMemberFlags: Serialize<__S>,\n ThinVec<RoleId>: Serialize<__S>,
"],["impl<__S: Fallible + ?Sized> Serialize<__S> for PartyPreferences
where\n Locale: Serialize<__S>,\n PartyPrefsFlags: Serialize<__S>,
"],["impl<__S: Fallible + ?Sized> Serialize<__S> for PinFolder
where\n FolderId: Serialize<__S>,\n SmolStr: Serialize<__S>,\n PinFolderFlags: Serialize<__S>,\n Option<SmolStr>: Serialize<__S>,
"],["impl<__S: Fallible + ?Sized> Serialize<__S> for Overwrite
where\n Snowflake: Serialize<__S>,\n Permissions: Serialize<__S>,
"],["impl<__S: Fallible + ?Sized> Serialize<__S> for Activity"],["impl<__S: Fallible + ?Sized> Serialize<__S> for UserPresence
where\n UserPresenceFlags: Serialize<__S>,\n Option<u64>: Serialize<__S>,\n Option<Timestamp>: Serialize<__S>,\n Option<AnyActivity>: Serialize<__S>,
"],["impl<__S: Fallible + ?Sized> Serialize<__S> for Role
where\n RoleId: Serialize<__S>,\n PartyId: Serialize<__S>,\n Option<EncryptedSnowflake>: Serialize<__S>,\n SmolStr: Serialize<__S>,\n Option<SmolStr>: Serialize<__S>,\n Permissions: Serialize<__S>,\n Option<u32>: Serialize<__S>,\n i16: Serialize<__S>,\n RoleFlags: Serialize<__S>,
"],["impl<__S: Fallible + ?Sized> Serialize<__S> for FullRoom
where\n Room: Serialize<__S>,\n Permissions: Serialize<__S>,
"],["impl<__S: Fallible + ?Sized> Serialize<__S> for Room
where\n RoomId: Serialize<__S>,\n RoomFlags: Serialize<__S>,\n PartyId: Serialize<__S>,\n Option<EncryptedSnowflake>: Serialize<__S>,\n SmolStr: Serialize<__S>,\n Option<SmolStr>: Serialize<__S>,\n i16: Serialize<__S>,\n Niche: SerializeWith<Option<NonZeroU32>, __S>,\n NicheSnowflake: SerializeWith<Option<RoomId>, __S>,\n ThinVec<Overwrite>: Serialize<__S>,
"],["impl<__S: Fallible + ?Sized> Serialize<__S> for AnonymousSession
where\n Timestamp: Serialize<__S>,
"],["impl<__S: Fallible + ?Sized> Serialize<__S> for Session
where\n AuthToken: Serialize<__S>,\n Timestamp: Serialize<__S>,
"],["impl<__S: Fallible + ?Sized> Serialize<__S> for RoomStatistics
where\n u64: Serialize<__S>,
"],["impl<__S: Fallible + ?Sized> Serialize<__S> for Thread
where\n ThreadId: Serialize<__S>,\n Message: Serialize<__S>,\n ThreadFlags: Serialize<__S>,
"],["impl<__S: Fallible + ?Sized> Serialize<__S> for FontSize
where\n f32: Serialize<__S>,
"],["impl<__S: Fallible + ?Sized> Serialize<__S> for Padding
where\n u8: Serialize<__S>,
"],["impl<__S: Fallible + ?Sized> Serialize<__S> for TabSize
where\n u8: Serialize<__S>,
"],["impl<__S: Fallible + ?Sized> Serialize<__S> for Temperature
where\n u16: Serialize<__S>,
"],["impl<__S: Fallible + ?Sized> Serialize<__S> for Relationship
where\n Option<SmolStr>: Serialize<__S>,\n User: Serialize<__S>,\n Timestamp: Serialize<__S>,\n UserRelationship: Serialize<__S>,\n bool: Serialize<__S>,
"],["impl<__S: Fallible + ?Sized> Serialize<__S> for User
where\n UserId: Serialize<__S>,\n SmolStr: Serialize<__S>,\n i32: Serialize<__S>,\n UserFlags: Serialize<__S>,\n Nullable<Arc<UserProfile>>: Serialize<__S>,\n Option<SmolStr>: Serialize<__S>,\n Option<UserPreferences>: Serialize<__S>,\n Option<UserPresence>: Serialize<__S>,
"],["impl<__S: Fallible + ?Sized> Serialize<__S> for UserPreferences
where\n Locale: Serialize<__S>,\n UserPrefsFlags: Serialize<__S>,\n FriendAddability: Serialize<__S>,\n Temperature: Serialize<__S>,\n Font: Serialize<__S>,\n FontSize: Serialize<__S>,\n Padding: Serialize<__S>,\n TabSize: Serialize<__S>,
"],["impl<__S: Fallible + ?Sized> Serialize<__S> for UserProfile
where\n UserProfileBits: Serialize<__S>,\n ExtraUserProfileBits: Serialize<__S>,\n Nullable<SmolStr>: Serialize<__S>,\n Nullable<EncryptedSnowflake>: Serialize<__S>,
"],["impl<const N: usize, S> Serialize<S> for FixedStr<N>
where\n S: Fallible + ?Sized,
"]]]]); + if (window.register_implementors) { + window.register_implementors(implementors); + } else { + window.pending_implementors = implementors; + } +})() +//{"start":57,"fragment_lengths":[188791]} \ No newline at end of file diff --git a/trait.impl/rusqlite/types/from_sql/trait.FromSql.js b/trait.impl/rusqlite/types/from_sql/trait.FromSql.js new file mode 100644 index 000000000..befec5a3e --- /dev/null +++ b/trait.impl/rusqlite/types/from_sql/trait.FromSql.js @@ -0,0 +1,9 @@ +(function() { + var implementors = Object.fromEntries([["client_sdk",[["impl FromSql for UserRelationship"],["impl FromSql for AssetFlags"],["impl FromSql for EmbedFlags"],["impl FromSql for EmoteFlags"],["impl FromSql for Intent"],["impl FromSql for MessageFlags"],["impl FromSql for PartyFlags"],["impl FromSql for PartyMemberFlags"],["impl FromSql for PartyPrefsFlags"],["impl FromSql for PinFolderFlags"],["impl FromSql for RoleFlags"],["impl FromSql for RoomFlags"],["impl FromSql for ThreadFlags"],["impl FromSql for ExtraUserProfileBits"],["impl FromSql for UserPrefsFlags"],["impl FromSql for UserProfileBits"],["impl<T: FromSql> FromSql for Nullable<T>"]]]]); + if (window.register_implementors) { + window.register_implementors(implementors); + } else { + window.pending_implementors = implementors; + } +})() +//{"start":57,"fragment_lengths":[2986]} \ No newline at end of file diff --git a/trait.impl/rusqlite/types/to_sql/trait.ToSql.js b/trait.impl/rusqlite/types/to_sql/trait.ToSql.js new file mode 100644 index 000000000..4a43cf3ab --- /dev/null +++ b/trait.impl/rusqlite/types/to_sql/trait.ToSql.js @@ -0,0 +1,9 @@ +(function() { + var implementors = Object.fromEntries([["client_sdk",[["impl ToSql for UserRelationship"],["impl ToSql for AssetFlags"],["impl ToSql for EmbedFlags"],["impl ToSql for EmoteFlags"],["impl ToSql for Intent"],["impl ToSql for MessageFlags"],["impl ToSql for PartyFlags"],["impl ToSql for PartyMemberFlags"],["impl ToSql for PartyPrefsFlags"],["impl ToSql for PinFolderFlags"],["impl ToSql for RoleFlags"],["impl ToSql for RoomFlags"],["impl ToSql for ThreadFlags"],["impl ToSql for ExtraUserProfileBits"],["impl ToSql for UserPrefsFlags"],["impl ToSql for UserProfileBits"],["impl<T: ToSql> ToSql for Nullable<T>"]]]]); + if (window.register_implementors) { + window.register_implementors(implementors); + } else { + window.pending_implementors = implementors; + } +})() +//{"start":57,"fragment_lengths":[2950]} \ No newline at end of file diff --git a/trait.impl/serde/de/trait.Deserialize.js b/trait.impl/serde/de/trait.Deserialize.js new file mode 100644 index 000000000..ee1321325 --- /dev/null +++ b/trait.impl/serde/de/trait.Deserialize.js @@ -0,0 +1,9 @@ +(function() { + var implementors = Object.fromEntries([["client_sdk",[["impl<'de> Deserialize<'de> for CreateRoomKind"],["impl<'de> Deserialize<'de> for BannerAlign"],["impl<'de> Deserialize<'de> for ApiErrorCode"],["impl<'de> Deserialize<'de> for Encoding"],["impl<'de> Deserialize<'de> for GatewayErrorCode"],["impl<'de> Deserialize<'de> for AuthToken"],["impl<'de> Deserialize<'de> for Embed"],["impl<'de> Deserialize<'de> for EmbedType"],["impl<'de> Deserialize<'de> for Emote"],["impl<'de> Deserialize<'de> for Cursor"],["impl<'de> Deserialize<'de> for PartyUpdateEvent"],["impl<'de> Deserialize<'de> for ClientMsg"],["impl<'de> Deserialize<'de> for ClientMsgOpcode"],["impl<'de> Deserialize<'de> for ServerMsg"],["impl<'de> Deserialize<'de> for ServerMsgOpcode"],["impl<'de> Deserialize<'de> for EmoteOrEmoji"],["impl<'de> Deserialize<'de> for MessageKind"],["impl<'de> Deserialize<'de> for Reaction"],["impl<'de> Deserialize<'de> for AnyActivity"],["impl<'de> Deserialize<'de> for Font"],["impl<'de> Deserialize<'de> for FriendAddability"],["impl<'de> Deserialize<'de> for Locale"],["impl<'de> Deserialize<'de> for UserRelationship"],["impl<'de> Deserialize<'de> for CreateFileBody"],["impl<'de> Deserialize<'de> for FileStatus"],["impl<'de> Deserialize<'de> for FilesystemStatus"],["impl<'de> Deserialize<'de> for RedeemInviteBody"],["impl<'de> Deserialize<'de> for CreatePartyForm"],["impl<'de> Deserialize<'de> for CreatePartyInviteBody"],["impl<'de> Deserialize<'de> for CreatePinFolderForm"],["impl<'de> Deserialize<'de> for CreateRoleForm"],["impl<'de> Deserialize<'de> for CreateRoomForm"],["impl<'de> Deserialize<'de> for PatchPartyForm"],["impl<'de> Deserialize<'de> for PatchRoleForm"],["impl<'de> Deserialize<'de> for SearchQuery"],["impl<'de> Deserialize<'de> for UpdateMemberProfileBody"],["impl<'de> Deserialize<'de> for CreateMessageBody"],["impl<'de> Deserialize<'de> for EditMessageBody"],["impl<'de> Deserialize<'de> for GetMessagesQuery"],["impl<'de> Deserialize<'de> for GetReactionsForm"],["impl<'de> Deserialize<'de> for PatchRoomForm"],["impl<'de> Deserialize<'de> for StartTypingBody"],["impl<'de> Deserialize<'de> for Added2FA"],["impl<'de> Deserialize<'de> for ChangePasswordForm"],["impl<'de> Deserialize<'de> for ClearSessionsForm"],["impl<'de> Deserialize<'de> for Confirm2FAForm"],["impl<'de> Deserialize<'de> for Enable2FAForm"],["impl<'de> Deserialize<'de> for PatchRelationshipBody"],["impl<'de> Deserialize<'de> for Remove2FAForm"],["impl<'de> Deserialize<'de> for UpdateUserPrefsBody"],["impl<'de> Deserialize<'de> for UpdateUserProfileBody"],["impl<'de> Deserialize<'de> for UserLoginForm"],["impl<'de> Deserialize<'de> for UserRegisterForm"],["impl<'de> Deserialize<'de> for ApiError"],["impl<'de> Deserialize<'de> for GatewayQueryParams"],["impl<'de> Deserialize<'de> for AssetFlags"],["impl<'de> Deserialize<'de> for ServerConfig"],["impl<'de> Deserialize<'de> for ServerLimits"],["impl<'de> Deserialize<'de> for BasicEmbedMedia"],["impl<'de> Deserialize<'de> for EmbedAuthor"],["impl<'de> Deserialize<'de> for EmbedField"],["impl<'de> Deserialize<'de> for EmbedFlags"],["impl<'de> Deserialize<'de> for EmbedFooter"],["impl<'de> Deserialize<'de> for EmbedMedia"],["impl<'de> Deserialize<'de> for EmbedProvider"],["impl<'de> Deserialize<'de> for EmbedV1"],["impl<'de> Deserialize<'de> for CustomEmote"],["impl<'de> Deserialize<'de> for EmoteFlags"],["impl<'de> Deserialize<'de> for File"],["impl<'de> Deserialize<'de> for Identify"],["impl<'de> Deserialize<'de> for SetPresence"],["impl<'de> Deserialize<'de> for Hello"],["impl<'de> Deserialize<'de> for MessageDeleteEvent"],["impl<'de> Deserialize<'de> for PartyMemberEvent"],["impl<'de> Deserialize<'de> for PartyPositionUpdate"],["impl<'de> Deserialize<'de> for ProfileUpdateEvent"],["impl<'de> Deserialize<'de> for Ready"],["impl<'de> Deserialize<'de> for ReadyParty"],["impl<'de> Deserialize<'de> for RoleDeleteEvent"],["impl<'de> Deserialize<'de> for RoomDeleteEvent"],["impl<'de> Deserialize<'de> for TypingStart"],["impl<'de> Deserialize<'de> for UserPresenceEvent"],["impl<'de> Deserialize<'de> for UserReactionEvent"],["impl<'de> Deserialize<'de> for HeartbeatPayload"],["impl<'de> Deserialize<'de> for IdentifyPayload"],["impl<'de> Deserialize<'de> for ResumePayload"],["impl<'de> Deserialize<'de> for SetPresencePayload"],["impl<'de> Deserialize<'de> for SubscribePayload"],["impl<'de> Deserialize<'de> for UnsubscribePayload"],["impl<'de> Deserialize<'de> for HeartbeatAckPayload"],["impl<'de> Deserialize<'de> for HelloPayload"],["impl<'de> Deserialize<'de> for InvalidSessionPayload"],["impl<'de> Deserialize<'de> for MemberAddPayload"],["impl<'de> Deserialize<'de> for MemberBanPayload"],["impl<'de> Deserialize<'de> for MemberRemovePayload"],["impl<'de> Deserialize<'de> for MemberUnbanPayload"],["impl<'de> Deserialize<'de> for MemberUpdatePayload"],["impl<'de> Deserialize<'de> for MessageCreatePayload"],["impl<'de> Deserialize<'de> for MessageDeletePayload"],["impl<'de> Deserialize<'de> for MessageReactionAddPayload"],["impl<'de> Deserialize<'de> for MessageReactionRemoveAllPayload"],["impl<'de> Deserialize<'de> for MessageReactionRemoveEmotePayload"],["impl<'de> Deserialize<'de> for MessageReactionRemovePayload"],["impl<'de> Deserialize<'de> for MessageUpdatePayload"],["impl<'de> Deserialize<'de> for PartyCreatePayload"],["impl<'de> Deserialize<'de> for PartyDeletePayload"],["impl<'de> Deserialize<'de> for PartyUpdatePayload"],["impl<'de> Deserialize<'de> for PresenceUpdatePayload"],["impl<'de> Deserialize<'de> for ProfileUpdatePayload"],["impl<'de> Deserialize<'de> for ReadyPayload"],["impl<'de> Deserialize<'de> for RelationAddPayload"],["impl<'de> Deserialize<'de> for RelationRemovePayload"],["impl<'de> Deserialize<'de> for RoleCreatePayload"],["impl<'de> Deserialize<'de> for RoleDeletePayload"],["impl<'de> Deserialize<'de> for RoleUpdatePayload"],["impl<'de> Deserialize<'de> for RoomCreatePayload"],["impl<'de> Deserialize<'de> for RoomDeletePayload"],["impl<'de> Deserialize<'de> for RoomPinsUpdatePayload"],["impl<'de> Deserialize<'de> for RoomUpdatePayload"],["impl<'de> Deserialize<'de> for TypingStartPayload"],["impl<'de> Deserialize<'de> for UserUpdatePayload"],["impl<'de> Deserialize<'de> for Intent"],["impl<'de> Deserialize<'de> for Invite"],["impl<'de> Deserialize<'de> for Attachment"],["impl<'de> Deserialize<'de> for Message"],["impl<'de> Deserialize<'de> for MessageFlags"],["impl<'de> Deserialize<'de> for ReactionFull"],["impl<'de> Deserialize<'de> for ReactionShorthand"],["impl<'de> Deserialize<'de> for PartialParty"],["impl<'de> Deserialize<'de> for Party"],["impl<'de> Deserialize<'de> for PartyFlags"],["impl<'de> Deserialize<'de> for PartyMember"],["impl<'de> Deserialize<'de> for PartyMemberFlags"],["impl<'de> Deserialize<'de> for PartyPreferences"],["impl<'de> Deserialize<'de> for PartyPrefsFlags"],["impl<'de> Deserialize<'de> for PinFolder"],["impl<'de> Deserialize<'de> for PinFolderFlags"],["impl<'de> Deserialize<'de> for Overwrite"],["impl<'de> Deserialize<'de> for Permissions"],["impl<'de> Deserialize<'de> for Activity"],["impl<'de> Deserialize<'de> for UserPresence"],["impl<'de> Deserialize<'de> for UserPresenceFlags"],["impl<'de> Deserialize<'de> for Role"],["impl<'de> Deserialize<'de> for RoleFlags"],["impl<'de> Deserialize<'de> for FullRoom"],["impl<'de> Deserialize<'de> for Room"],["impl<'de> Deserialize<'de> for RoomFlags"],["impl<'de> Deserialize<'de> for AnonymousSession"],["impl<'de> Deserialize<'de> for Session"],["impl<'de> Deserialize<'de> for RoomStatistics"],["impl<'de> Deserialize<'de> for Statistics"],["impl<'de> Deserialize<'de> for Thread"],["impl<'de> Deserialize<'de> for ThreadFlags"],["impl<'de> Deserialize<'de> for FontSize"],["impl<'de> Deserialize<'de> for Padding"],["impl<'de> Deserialize<'de> for TabSize"],["impl<'de> Deserialize<'de> for Temperature"],["impl<'de> Deserialize<'de> for ExtraUserProfileBits"],["impl<'de> Deserialize<'de> for Relationship"],["impl<'de> Deserialize<'de> for User"],["impl<'de> Deserialize<'de> for UserFlags"],["impl<'de> Deserialize<'de> for UserPreferences"],["impl<'de> Deserialize<'de> for UserPrefsFlags"],["impl<'de> Deserialize<'de> for UserProfile"],["impl<'de> Deserialize<'de> for UserProfileBits"],["impl<'de> Deserialize<'de> for ThinString"],["impl<'de, T> Deserialize<'de> for Nullable<T>
where\n T: Deserialize<'de>,
"],["impl<'de, const N: usize> Deserialize<'de> for FixedStr<N>"]]]]); + if (window.register_implementors) { + window.register_implementors(implementors); + } else { + window.pending_implementors = implementors; + } +})() +//{"start":57,"fragment_lengths":[60416]} \ No newline at end of file diff --git a/trait.impl/serde/ser/trait.Serialize.js b/trait.impl/serde/ser/trait.Serialize.js new file mode 100644 index 000000000..22b436815 --- /dev/null +++ b/trait.impl/serde/ser/trait.Serialize.js @@ -0,0 +1,9 @@ +(function() { + var implementors = Object.fromEntries([["client_sdk",[["impl Serialize for AssetQuery"],["impl Serialize for CreateRoomKind"],["impl Serialize for BannerAlign"],["impl Serialize for ApiErrorCode"],["impl Serialize for Encoding"],["impl Serialize for GatewayErrorCode"],["impl Serialize for AuthToken"],["impl Serialize for Embed"],["impl Serialize for EmbedType"],["impl Serialize for Emote"],["impl Serialize for Cursor"],["impl Serialize for PartyUpdateEvent"],["impl Serialize for ClientMsg"],["impl Serialize for ClientMsgOpcode"],["impl Serialize for ServerMsg"],["impl Serialize for ServerMsgOpcode"],["impl Serialize for EmoteOrEmoji"],["impl Serialize for MessageKind"],["impl Serialize for Reaction"],["impl Serialize for AnyActivity"],["impl Serialize for Font"],["impl Serialize for FriendAddability"],["impl Serialize for Locale"],["impl Serialize for UserRelationship"],["impl Serialize for CreateFileBody"],["impl Serialize for FileStatus"],["impl Serialize for FilesystemStatus"],["impl Serialize for RedeemInviteBody"],["impl Serialize for CreatePartyForm"],["impl Serialize for CreatePartyInviteBody"],["impl Serialize for CreatePinFolderForm"],["impl Serialize for CreateRoleForm"],["impl Serialize for CreateRoomForm"],["impl Serialize for PatchPartyForm"],["impl Serialize for PatchRoleForm"],["impl Serialize for SearchQuery"],["impl Serialize for UpdateMemberProfileBody"],["impl Serialize for CreateMessageBody"],["impl Serialize for EditMessageBody"],["impl Serialize for GetMessagesQuery"],["impl Serialize for GetReactionsForm"],["impl Serialize for PatchRoomForm"],["impl Serialize for StartTypingBody"],["impl Serialize for Added2FA"],["impl Serialize for ChangePasswordForm"],["impl Serialize for ClearSessionsForm"],["impl Serialize for Confirm2FAForm"],["impl Serialize for Enable2FAForm"],["impl Serialize for PatchRelationshipBody"],["impl Serialize for Remove2FAForm"],["impl Serialize for UpdateUserPrefsBody"],["impl Serialize for UpdateUserProfileBody"],["impl Serialize for UserLoginForm"],["impl Serialize for UserRegisterForm"],["impl Serialize for ApiError"],["impl Serialize for GatewayQueryParams"],["impl Serialize for AssetFlags"],["impl Serialize for ServerConfig"],["impl Serialize for ServerLimits"],["impl Serialize for BasicEmbedMedia"],["impl Serialize for EmbedAuthor"],["impl Serialize for EmbedField"],["impl Serialize for EmbedFlags"],["impl Serialize for EmbedFooter"],["impl Serialize for EmbedMedia"],["impl Serialize for EmbedProvider"],["impl Serialize for EmbedV1"],["impl Serialize for CustomEmote"],["impl Serialize for EmoteFlags"],["impl Serialize for File"],["impl Serialize for Identify"],["impl Serialize for SetPresence"],["impl Serialize for Hello"],["impl Serialize for MessageDeleteEvent"],["impl Serialize for PartyMemberEvent"],["impl Serialize for PartyPositionUpdate"],["impl Serialize for ProfileUpdateEvent"],["impl Serialize for Ready"],["impl Serialize for ReadyParty"],["impl Serialize for RoleDeleteEvent"],["impl Serialize for RoomDeleteEvent"],["impl Serialize for TypingStart"],["impl Serialize for UserPresenceEvent"],["impl Serialize for UserReactionEvent"],["impl Serialize for HeartbeatPayload"],["impl Serialize for IdentifyPayload"],["impl Serialize for ResumePayload"],["impl Serialize for SetPresencePayload"],["impl Serialize for SubscribePayload"],["impl Serialize for UnsubscribePayload"],["impl Serialize for HeartbeatAckPayload"],["impl Serialize for HelloPayload"],["impl Serialize for InvalidSessionPayload"],["impl Serialize for MemberAddPayload"],["impl Serialize for MemberBanPayload"],["impl Serialize for MemberRemovePayload"],["impl Serialize for MemberUnbanPayload"],["impl Serialize for MemberUpdatePayload"],["impl Serialize for MessageCreatePayload"],["impl Serialize for MessageDeletePayload"],["impl Serialize for MessageReactionAddPayload"],["impl Serialize for MessageReactionRemoveAllPayload"],["impl Serialize for MessageReactionRemoveEmotePayload"],["impl Serialize for MessageReactionRemovePayload"],["impl Serialize for MessageUpdatePayload"],["impl Serialize for PartyCreatePayload"],["impl Serialize for PartyDeletePayload"],["impl Serialize for PartyUpdatePayload"],["impl Serialize for PresenceUpdatePayload"],["impl Serialize for ProfileUpdatePayload"],["impl Serialize for ReadyPayload"],["impl Serialize for RelationAddPayload"],["impl Serialize for RelationRemovePayload"],["impl Serialize for RoleCreatePayload"],["impl Serialize for RoleDeletePayload"],["impl Serialize for RoleUpdatePayload"],["impl Serialize for RoomCreatePayload"],["impl Serialize for RoomDeletePayload"],["impl Serialize for RoomPinsUpdatePayload"],["impl Serialize for RoomUpdatePayload"],["impl Serialize for TypingStartPayload"],["impl Serialize for UserUpdatePayload"],["impl Serialize for Intent"],["impl Serialize for Invite"],["impl Serialize for Attachment"],["impl Serialize for Message"],["impl Serialize for MessageFlags"],["impl Serialize for ReactionFull"],["impl Serialize for ReactionShorthand"],["impl Serialize for PartialParty"],["impl Serialize for Party"],["impl Serialize for PartyFlags"],["impl Serialize for PartyMember"],["impl Serialize for PartyMemberFlags"],["impl Serialize for PartyPreferences"],["impl Serialize for PartyPrefsFlags"],["impl Serialize for PinFolder"],["impl Serialize for PinFolderFlags"],["impl Serialize for Overwrite"],["impl Serialize for Permissions"],["impl Serialize for Activity"],["impl Serialize for UserPresence"],["impl Serialize for UserPresenceFlags"],["impl Serialize for Role"],["impl Serialize for RoleFlags"],["impl Serialize for FullRoom"],["impl Serialize for Room"],["impl Serialize for RoomFlags"],["impl Serialize for AnonymousSession"],["impl Serialize for Session"],["impl Serialize for RoomStatistics"],["impl Serialize for Statistics"],["impl Serialize for Thread"],["impl Serialize for ThreadFlags"],["impl Serialize for FontSize"],["impl Serialize for Padding"],["impl Serialize for TabSize"],["impl Serialize for Temperature"],["impl Serialize for ExtraUserProfileBits"],["impl Serialize for Relationship"],["impl Serialize for User"],["impl Serialize for UserFlags"],["impl Serialize for UserPreferences"],["impl Serialize for UserPrefsFlags"],["impl Serialize for UserProfile"],["impl Serialize for UserProfileBits"],["impl Serialize for ThinString"],["impl<T> Serialize for Nullable<T>
where\n T: Serialize,
"],["impl<const N: usize> Serialize for FixedStr<N>"]]]]); + if (window.register_implementors) { + window.register_implementors(implementors); + } else { + window.pending_implementors = implementors; + } +})() +//{"start":57,"fragment_lengths":[55982]} \ No newline at end of file diff --git a/type.impl/client_sdk/framework/standard/struct.Standard.js b/type.impl/client_sdk/framework/standard/struct.Standard.js new file mode 100644 index 000000000..cdbc91938 --- /dev/null +++ b/type.impl/client_sdk/framework/standard/struct.Standard.js @@ -0,0 +1,9 @@ +(function() { + var type_impls = Object.fromEntries([["client_sdk",[["
source§

impl<E: StandardErrorExt> Standard<StandardDynamicHandler<(), E>, E>

source

pub fn new(client: Client) -> Self

",0,"client_sdk::framework::standard::SimpleStandard"],["
source§

impl<S, E: StandardErrorExt> Standard<StandardDynamicHandler<S, E>, E>
where\n S: Send + Sync + 'static,

source

pub fn new_with_state(client: Client, state: S) -> Self

",0,"client_sdk::framework::standard::SimpleStandard"],["
source§

impl<H, E: StandardErrorExt> Standard<H, E>
where\n H: ServerMsgHandlers<StandardContext, Result<(), E>> + 'static,

source

pub fn new_with_handlers(client: Client, state: H) -> Self

source

pub fn on_error<F>(&mut self, cb: F) -> &mut Self
where\n F: Fn(E, StandardContext, &H) + Send + Sync + 'static,

Setup a callback for any errors that occur during the connection lifetime

\n
source

pub fn on_start<F>(&mut self, cb: F) -> &mut Self
where\n F: FnOnce(StandardContext, &mut H) -> Result<(), E> + 'static,

Setup a callback to run once after the first gateway connection is established,\nbut before any kind of authentication is made.

\n

If the gateway reconnects, this will not be rerun.

\n
source

pub fn handlers(&mut self) -> &mut H

source

pub fn ctx(&self) -> &StandardContext

source

pub fn gateway_control(&self) -> Arc<GatewayConnectionControl>

source

pub async fn run(self) -> Result<(), E>

",0,"client_sdk::framework::standard::SimpleStandard"]]]]); + if (window.register_type_impls) { + window.register_type_impls(type_impls); + } else { + window.pending_type_impls = type_impls; + } +})() +//{"start":55,"fragment_lengths":[10236]} \ No newline at end of file diff --git a/type.impl/client_sdk/framework_utils/args/struct.ArgumentSplitter.js b/type.impl/client_sdk/framework_utils/args/struct.ArgumentSplitter.js new file mode 100644 index 000000000..4dbaff6ab --- /dev/null +++ b/type.impl/client_sdk/framework_utils/args/struct.ArgumentSplitter.js @@ -0,0 +1,9 @@ +(function() { + var type_impls = Object.fromEntries([["client_sdk",[["
source§

impl<'a> ArgumentSplitter<'a>

source

pub fn orig(&self) -> &'a str

source

pub fn arguments(&self) -> &[Argument<'a>]

source

pub fn iter<'b>(&'b self) -> impl Iterator<Item = &'a str> + 'b
where\n 'a: 'b,

source

pub fn split(args: &'a str) -> Self

source

pub fn split_delimiters(args: &'a str, delmiters: &[(char, char)]) -> Self

",0,"client_sdk::framework_utils::args::ArgumentSplitterOwned"]]]]); + if (window.register_type_impls) { + window.register_type_impls(type_impls); + } else { + window.pending_type_impls = type_impls; + } +})() +//{"start":55,"fragment_lengths":[3357]} \ No newline at end of file diff --git a/type.impl/client_sdk/models/gateway/message/struct.DynamicServerMsgHandlers.js b/type.impl/client_sdk/models/gateway/message/struct.DynamicServerMsgHandlers.js new file mode 100644 index 000000000..1e4c889ce --- /dev/null +++ b/type.impl/client_sdk/models/gateway/message/struct.DynamicServerMsgHandlers.js @@ -0,0 +1,9 @@ +(function() { + var type_impls = Object.fromEntries([["client_sdk",[["
source§

impl<C, U> DynamicServerMsgHandlers<C, U, ()>

source

pub fn new<F, R>(fallback: F) -> Self
where\n F: Fn(Arc<()>, C, ServerMsg) -> R + Send + Sync + 'static,\n R: Future<Output = U> + Send + 'static,

",0,"client_sdk::framework::standard::StandardDynamicHandler"],["
source§

impl<C, U, S> DynamicServerMsgHandlers<C, U, S>

source

pub fn new_with_state<F, R>(state: S, fallback: F) -> Self
where\n F: Fn(Arc<S>, C, ServerMsg) -> R + Send + Sync + 'static,\n R: Future<Output = U> + Send + 'static,

source

pub fn new_raw_with_state(\n state: impl Into<Arc<S>>,\n fallback: Box<dyn Fn(Arc<S>, C, ServerMsg) -> BoxFuture<'static, U> + Send + Sync>,\n) -> Self

source

pub fn state(&self) -> &S

source

pub fn on_hello<F, R>(&mut self, cb: F) -> &mut Self
where\n F: Fn(Arc<S>, C, Hello) -> R + Send + Sync + 'static,\n R: Future<Output = U> + Send + 'static,

source

pub fn on_heartbeat_ack<F, R>(&mut self, cb: F) -> &mut Self
where\n F: Fn(Arc<S>, C) -> R + Send + Sync + 'static,\n R: Future<Output = U> + Send + 'static,

source

pub fn on_ready<F, R>(&mut self, cb: F) -> &mut Self
where\n F: Fn(Arc<S>, C, Arc<Ready>) -> R + Send + Sync + 'static,\n R: Future<Output = U> + Send + 'static,

source

pub fn on_invalid_session<F, R>(&mut self, cb: F) -> &mut Self
where\n F: Fn(Arc<S>, C) -> R + Send + Sync + 'static,\n R: Future<Output = U> + Send + 'static,

source

pub fn on_party_create<F, R>(&mut self, cb: F) -> &mut Self
where\n F: Fn(Arc<S>, C, Arc<Party>) -> R + Send + Sync + 'static,\n R: Future<Output = U> + Send + 'static,

source

pub fn on_party_update<F, R>(&mut self, cb: F) -> &mut Self
where\n F: Fn(Arc<S>, C, Arc<PartyUpdateEvent>) -> R + Send + Sync + 'static,\n R: Future<Output = U> + Send + 'static,

source

pub fn on_party_delete<F, R>(&mut self, cb: F) -> &mut Self
where\n F: Fn(Arc<S>, C, PartyId) -> R + Send + Sync + 'static,\n R: Future<Output = U> + Send + 'static,

source

pub fn on_role_create<F, R>(&mut self, cb: F) -> &mut Self
where\n F: Fn(Arc<S>, C, Arc<Role>) -> R + Send + Sync + 'static,\n R: Future<Output = U> + Send + 'static,

source

pub fn on_role_update<F, R>(&mut self, cb: F) -> &mut Self
where\n F: Fn(Arc<S>, C, Arc<Role>) -> R + Send + Sync + 'static,\n R: Future<Output = U> + Send + 'static,

source

pub fn on_role_delete<F, R>(&mut self, cb: F) -> &mut Self
where\n F: Fn(Arc<S>, C, Arc<RoleDeleteEvent>) -> R + Send + Sync + 'static,\n R: Future<Output = U> + Send + 'static,

source

pub fn on_member_add<F, R>(&mut self, cb: F) -> &mut Self
where\n F: Fn(Arc<S>, C, Arc<PartyMemberEvent>) -> R + Send + Sync + 'static,\n R: Future<Output = U> + Send + 'static,

source

pub fn on_member_update<F, R>(&mut self, cb: F) -> &mut Self
where\n F: Fn(Arc<S>, C, Arc<PartyMemberEvent>) -> R + Send + Sync + 'static,\n R: Future<Output = U> + Send + 'static,

source

pub fn on_member_remove<F, R>(&mut self, cb: F) -> &mut Self
where\n F: Fn(Arc<S>, C, Arc<PartyMemberEvent>) -> R + Send + Sync + 'static,\n R: Future<Output = U> + Send + 'static,

source

pub fn on_member_ban<F, R>(&mut self, cb: F) -> &mut Self
where\n F: Fn(Arc<S>, C, Arc<PartyMemberEvent>) -> R + Send + Sync + 'static,\n R: Future<Output = U> + Send + 'static,

source

pub fn on_member_unban<F, R>(&mut self, cb: F) -> &mut Self
where\n F: Fn(Arc<S>, C, Arc<PartyMemberEvent>) -> R + Send + Sync + 'static,\n R: Future<Output = U> + Send + 'static,

source

pub fn on_room_create<F, R>(&mut self, cb: F) -> &mut Self
where\n F: Fn(Arc<S>, C, Arc<()>) -> R + Send + Sync + 'static,\n R: Future<Output = U> + Send + 'static,

source

pub fn on_room_update<F, R>(&mut self, cb: F) -> &mut Self
where\n F: Fn(Arc<S>, C, Arc<()>) -> R + Send + Sync + 'static,\n R: Future<Output = U> + Send + 'static,

source

pub fn on_room_delete<F, R>(&mut self, cb: F) -> &mut Self
where\n F: Fn(Arc<S>, C, Arc<RoomDeleteEvent>) -> R + Send + Sync + 'static,\n R: Future<Output = U> + Send + 'static,

source

pub fn on_room_pins_update<F, R>(&mut self, cb: F) -> &mut Self
where\n F: Fn(Arc<S>, C) -> R + Send + Sync + 'static,\n R: Future<Output = U> + Send + 'static,

source

pub fn on_message_create<F, R>(&mut self, cb: F) -> &mut Self
where\n F: Fn(Arc<S>, C, Arc<RoomMessage>) -> R + Send + Sync + 'static,\n R: Future<Output = U> + Send + 'static,

source

pub fn on_message_update<F, R>(&mut self, cb: F) -> &mut Self
where\n F: Fn(Arc<S>, C, Arc<RoomMessage>) -> R + Send + Sync + 'static,\n R: Future<Output = U> + Send + 'static,

source

pub fn on_message_delete<F, R>(&mut self, cb: F) -> &mut Self
where\n F: Fn(Arc<S>, C, Arc<MessageDeleteEvent>) -> R + Send + Sync + 'static,\n R: Future<Output = U> + Send + 'static,

source

pub fn on_message_reaction_add<F, R>(&mut self, cb: F) -> &mut Self
where\n F: Fn(Arc<S>, C, Arc<UserReactionEvent>) -> R + Send + Sync + 'static,\n R: Future<Output = U> + Send + 'static,

source

pub fn on_message_reaction_remove<F, R>(&mut self, cb: F) -> &mut Self
where\n F: Fn(Arc<S>, C, Arc<UserReactionEvent>) -> R + Send + Sync + 'static,\n R: Future<Output = U> + Send + 'static,

source

pub fn on_message_reaction_remove_all<F, R>(&mut self, cb: F) -> &mut Self
where\n F: Fn(Arc<S>, C) -> R + Send + Sync + 'static,\n R: Future<Output = U> + Send + 'static,

source

pub fn on_message_reaction_remove_emote<F, R>(&mut self, cb: F) -> &mut Self
where\n F: Fn(Arc<S>, C) -> R + Send + Sync + 'static,\n R: Future<Output = U> + Send + 'static,

source

pub fn on_presence_update<F, R>(&mut self, cb: F) -> &mut Self
where\n F: Fn(Arc<S>, C, Arc<UserPresenceEvent>) -> R + Send + Sync + 'static,\n R: Future<Output = U> + Send + 'static,

source

pub fn on_typing_start<F, R>(&mut self, cb: F) -> &mut Self
where\n F: Fn(Arc<S>, C, Arc<TypingStart>) -> R + Send + Sync + 'static,\n R: Future<Output = U> + Send + 'static,

source

pub fn on_user_update<F, R>(&mut self, cb: F) -> &mut Self
where\n F: Fn(Arc<S>, C, Arc<User>) -> R + Send + Sync + 'static,\n R: Future<Output = U> + Send + 'static,

source

pub fn on_profile_update<F, R>(&mut self, cb: F) -> &mut Self
where\n F: Fn(Arc<S>, C, Arc<ProfileUpdateEvent>) -> R + Send + Sync + 'static,\n R: Future<Output = U> + Send + 'static,

source

pub fn on_relation_add<F, R>(&mut self, cb: F) -> &mut Self
where\n F: Fn(Arc<S>, C, Arc<Relationship>) -> R + Send + Sync + 'static,\n R: Future<Output = U> + Send + 'static,

source

pub fn on_relation_remove<F, R>(&mut self, cb: F) -> &mut Self
where\n F: Fn(Arc<S>, C, UserId) -> R + Send + Sync + 'static,\n R: Future<Output = U> + Send + 'static,

",0,"client_sdk::framework::standard::StandardDynamicHandler"],["
source§

impl<C: Send + 'static, U, S> ServerMsgHandlers<C, U> for DynamicServerMsgHandlers<C, U, S>
where\n S: Send + Sync,

source§

async fn fallback(&self, ctx: C, msg: ServerMsg) -> U

Callback for unhandled messages
source§

async fn hello(&self, ctx: C, inner: Hello) -> U

The Hello message initiates the gateway session and expects a ClientMsg::Identify in return. Read more
source§

async fn heartbeat_ack(&self, ctx: C) -> U

Acknowledgement of a heartbeat Read more
source§

async fn ready(&self, ctx: C, inner: Arc<Ready>) -> U

Handler callback for ServerMsg::Ready
source§

async fn invalid_session(&self, ctx: C) -> U

Sent when the session is no longer valid Read more
source§

async fn party_create(&self, ctx: C, inner: Arc<Party>) -> U

Handler callback for ServerMsg::PartyCreate
source§

async fn party_update(&self, ctx: C, inner: Arc<PartyUpdateEvent>) -> U

Handler callback for ServerMsg::PartyUpdate
source§

async fn party_delete(&self, ctx: C, id: PartyId) -> U

Handler callback for ServerMsg::PartyDelete
source§

async fn role_create(&self, ctx: C, inner: Arc<Role>) -> U

Handler callback for ServerMsg::RoleCreate
source§

async fn role_update(&self, ctx: C, inner: Arc<Role>) -> U

Handler callback for ServerMsg::RoleUpdate
source§

async fn role_delete(&self, ctx: C, inner: Arc<RoleDeleteEvent>) -> U

Handler callback for ServerMsg::RoleDelete
source§

async fn member_add(&self, ctx: C, inner: Arc<PartyMemberEvent>) -> U

Handler callback for ServerMsg::MemberAdd
source§

async fn member_update(&self, ctx: C, inner: Arc<PartyMemberEvent>) -> U

Handler callback for ServerMsg::MemberUpdate
source§

async fn member_remove(&self, ctx: C, inner: Arc<PartyMemberEvent>) -> U

Handler callback for ServerMsg::MemberRemove
source§

async fn member_ban(&self, ctx: C, inner: Arc<PartyMemberEvent>) -> U

Handler callback for ServerMsg::MemberBan
source§

async fn member_unban(&self, ctx: C, inner: Arc<PartyMemberEvent>) -> U

Handler callback for ServerMsg::MemberUnban
source§

async fn room_create(&self, ctx: C, inner: Arc<()>) -> U

Handler callback for ServerMsg::RoomCreate
source§

async fn room_update(&self, ctx: C, inner: Arc<()>) -> U

Handler callback for ServerMsg::RoomUpdate
source§

async fn room_delete(&self, ctx: C, inner: Arc<RoomDeleteEvent>) -> U

Handler callback for ServerMsg::RoomDelete
source§

async fn room_pins_update(&self, ctx: C) -> U

Handler callback for ServerMsg::RoomPinsUpdate
source§

async fn message_create(&self, ctx: C, inner: Arc<RoomMessage>) -> U

Handler callback for ServerMsg::MessageCreate
source§

async fn message_update(&self, ctx: C, inner: Arc<RoomMessage>) -> U

Handler callback for ServerMsg::MessageUpdate
source§

async fn message_delete(&self, ctx: C, inner: Arc<MessageDeleteEvent>) -> U

Handler callback for ServerMsg::MessageDelete
source§

async fn message_reaction_add(&self, ctx: C, inner: Arc<UserReactionEvent>) -> U

Handler callback for ServerMsg::MessageReactionAdd
source§

async fn message_reaction_remove(\n &self,\n ctx: C,\n inner: Arc<UserReactionEvent>,\n) -> U

source§

async fn message_reaction_remove_all(&self, ctx: C) -> U

source§

async fn message_reaction_remove_emote(&self, ctx: C) -> U

source§

async fn presence_update(&self, ctx: C, inner: Arc<UserPresenceEvent>) -> U

Handler callback for ServerMsg::PresenceUpdate
source§

async fn typing_start(&self, ctx: C, inner: Arc<TypingStart>) -> U

Handler callback for ServerMsg::TypingStart
source§

async fn user_update(&self, ctx: C, user: Arc<User>) -> U

Handler callback for ServerMsg::UserUpdate
source§

async fn profile_update(&self, ctx: C, inner: Arc<ProfileUpdateEvent>) -> U

Handler callback for ServerMsg::ProfileUpdate
source§

async fn relation_add(&self, ctx: C, inner: Arc<Relationship>) -> U

Handler callback for ServerMsg::RelationAdd
source§

async fn relation_remove(&self, ctx: C, user_id: UserId) -> U

Handler callback for ServerMsg::RelationRemove
source§

async fn dispatch(&self, ctx: C, msg: ServerMsg) -> U

Dispatches a message to the appropriate event handler
","ServerMsgHandlers","client_sdk::framework::standard::StandardDynamicHandler"]]]]); + if (window.register_type_impls) { + window.register_type_impls(type_impls); + } else { + window.pending_type_impls = type_impls; + } +})() +//{"start":55,"fragment_lengths":[89862]} \ No newline at end of file diff --git a/type.impl/client_sdk/models/util/fixed_str/struct.FixedStr.js b/type.impl/client_sdk/models/util/fixed_str/struct.FixedStr.js new file mode 100644 index 000000000..6bf147346 --- /dev/null +++ b/type.impl/client_sdk/models/util/fixed_str/struct.FixedStr.js @@ -0,0 +1,9 @@ +(function() { + var type_impls = Object.fromEntries([["client_sdk",[["
source§

impl<const N: usize> Archive for FixedStr<N>

source§

type Archived = FixedStr<N>

The archived representation of this type. Read more
source§

type Resolver = ()

The resolver for this type. It must contain all the additional\ninformation from serializing needed to make the archived type from\nthe normal type.
source§

const COPY_OPTIMIZATION: CopyOptimization<Self> = _

An optimization flag that allows the bytes of this type to be copied\ndirectly to a writer instead of calling serialize. Read more
source§

fn resolve(&self, _resolver: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and\nwrites it to the given output. Read more
","Archive","client_sdk::models::auth::BearerToken","client_sdk::models::auth::BotToken","client_sdk::models::config::HCaptchaSiteKey","client_sdk::models::embed::v1::UrlSignature","client_sdk::models::EncryptedSnowflake"],["
source§

impl<const N: usize> AsMut<str> for FixedStr<N>

source§

fn as_mut(&mut self) -> &mut str

Converts this type into a mutable reference of the (usually inferred) input type.
","AsMut","client_sdk::models::auth::BearerToken","client_sdk::models::auth::BotToken","client_sdk::models::config::HCaptchaSiteKey","client_sdk::models::embed::v1::UrlSignature","client_sdk::models::EncryptedSnowflake"],["
source§

impl<const N: usize> AsRef<[u8]> for FixedStr<N>

source§

fn as_ref(&self) -> &[u8]

Converts this type into a shared reference of the (usually inferred) input type.
","AsRef<[u8]>","client_sdk::models::auth::BearerToken","client_sdk::models::auth::BotToken","client_sdk::models::config::HCaptchaSiteKey","client_sdk::models::embed::v1::UrlSignature","client_sdk::models::EncryptedSnowflake"],["
source§

impl<const N: usize> AsRef<str> for FixedStr<N>

source§

fn as_ref(&self) -> &str

Converts this type into a shared reference of the (usually inferred) input type.
","AsRef","client_sdk::models::auth::BearerToken","client_sdk::models::auth::BotToken","client_sdk::models::config::HCaptchaSiteKey","client_sdk::models::embed::v1::UrlSignature","client_sdk::models::EncryptedSnowflake"],["
source§

impl<const N: usize, C> CheckBytes<C> for FixedStr<N>
where\n C: Fallible + ?Sized,\n C::Error: Source,

source§

unsafe fn check_bytes<'a>(\n value: *const Self,\n _context: &mut C,\n) -> Result<(), C::Error>

Checks whether the given pointer points to a valid value within the\ngiven context. Read more
","CheckBytes","client_sdk::models::auth::BearerToken","client_sdk::models::auth::BotToken","client_sdk::models::config::HCaptchaSiteKey","client_sdk::models::embed::v1::UrlSignature","client_sdk::models::EncryptedSnowflake"],["
source§

impl<const N: usize> Clone for FixedStr<N>

source§

fn clone(&self) -> FixedStr<N>

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
","Clone","client_sdk::models::auth::BearerToken","client_sdk::models::auth::BotToken","client_sdk::models::config::HCaptchaSiteKey","client_sdk::models::embed::v1::UrlSignature","client_sdk::models::EncryptedSnowflake"],["
source§

impl<const N: usize> Debug for FixedStr<N>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
","Debug","client_sdk::models::auth::BearerToken","client_sdk::models::auth::BotToken","client_sdk::models::config::HCaptchaSiteKey","client_sdk::models::embed::v1::UrlSignature","client_sdk::models::EncryptedSnowflake"],["
source§

impl<const N: usize> Deref for FixedStr<N>

source§

type Target = str

The resulting type after dereferencing.
source§

fn deref(&self) -> &str

Dereferences the value.
","Deref","client_sdk::models::auth::BearerToken","client_sdk::models::auth::BotToken","client_sdk::models::config::HCaptchaSiteKey","client_sdk::models::embed::v1::UrlSignature","client_sdk::models::EncryptedSnowflake"],["
source§

impl<const N: usize> DerefMut for FixedStr<N>

source§

fn deref_mut(&mut self) -> &mut str

Mutably dereferences the value.
","DerefMut","client_sdk::models::auth::BearerToken","client_sdk::models::auth::BotToken","client_sdk::models::config::HCaptchaSiteKey","client_sdk::models::embed::v1::UrlSignature","client_sdk::models::EncryptedSnowflake"],["
source§

impl<'de, const N: usize> Deserialize<'de> for FixedStr<N>

source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
","Deserialize<'de>","client_sdk::models::auth::BearerToken","client_sdk::models::auth::BotToken","client_sdk::models::config::HCaptchaSiteKey","client_sdk::models::embed::v1::UrlSignature","client_sdk::models::EncryptedSnowflake"],["
source§

impl<const N: usize, D> Deserialize<FixedStr<N>, D> for FixedStr<N>
where\n D: Fallible + ?Sized,

source§

fn deserialize(&self, _deserializer: &mut D) -> Result<Self, D::Error>

Deserializes using the given deserializer
","Deserialize, D>","client_sdk::models::auth::BearerToken","client_sdk::models::auth::BotToken","client_sdk::models::config::HCaptchaSiteKey","client_sdk::models::embed::v1::UrlSignature","client_sdk::models::EncryptedSnowflake"],["
source§

impl<const N: usize> Display for FixedStr<N>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
","Display","client_sdk::models::auth::BearerToken","client_sdk::models::auth::BotToken","client_sdk::models::config::HCaptchaSiteKey","client_sdk::models::embed::v1::UrlSignature","client_sdk::models::EncryptedSnowflake"],["
source§

impl<const N: usize> FixedStr<N>

source

pub const LEN: usize = N

source

pub const fn repeat_ascii(c: char) -> FixedStr<N>

Construct a new FixedStr from a given ASCII character repeated for the entire length

\n
§Panics
\n
    \n
  • if the character is not ASCII
  • \n
\n
source

pub const fn new(s: &str) -> FixedStr<N>

Construct a new FixedStr from a &str if the length is correct.

\n
§Panics
\n
    \n
  • if the length is not exactly correct.
  • \n
\n
source

pub const unsafe fn from_bytes(bytes: [u8; N]) -> FixedStr<N>

Construct a new FixedStr from a byte array, assuming valid utf-8.

\n
§Safety
\n

This function is unsafe because in release-mode it does not check if the\nbytes are valid utf-8.

\n
§Panics
\n
    \n
  • In debug mode, this function will panic if the bytes are not valid utf-8.
  • \n
  • In release mode, this function will not check the bytes.
  • \n
\n
source

pub const fn try_from(s: &str) -> Option<FixedStr<N>>

Construct a new FixedStr from a &str if the length is correct.

\n
source

pub fn as_str(&self) -> &str

",0,"client_sdk::models::auth::BearerToken","client_sdk::models::auth::BotToken","client_sdk::models::config::HCaptchaSiteKey","client_sdk::models::embed::v1::UrlSignature","client_sdk::models::EncryptedSnowflake"],["
source§

impl<const N: usize> Hash for FixedStr<N>

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where\n H: Hasher,\n Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
","Hash","client_sdk::models::auth::BearerToken","client_sdk::models::auth::BotToken","client_sdk::models::config::HCaptchaSiteKey","client_sdk::models::embed::v1::UrlSignature","client_sdk::models::EncryptedSnowflake"],["
source§

impl<const N: usize> PartialEq for FixedStr<N>

source§

fn eq(&self, other: &FixedStr<N>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient,\nand should not be overridden without very good reason.
","PartialEq","client_sdk::models::auth::BearerToken","client_sdk::models::auth::BotToken","client_sdk::models::config::HCaptchaSiteKey","client_sdk::models::embed::v1::UrlSignature","client_sdk::models::EncryptedSnowflake"],["
source§

impl<const N: usize, S> Serialize<S> for FixedStr<N>
where\n S: Fallible + ?Sized,

source§

fn serialize(&self, _serializer: &mut S) -> Result<Self::Resolver, S::Error>

Writes the dependencies for the object and returns a resolver that can\ncreate the archived type.
","Serialize","client_sdk::models::auth::BearerToken","client_sdk::models::auth::BotToken","client_sdk::models::config::HCaptchaSiteKey","client_sdk::models::embed::v1::UrlSignature","client_sdk::models::EncryptedSnowflake"],["
source§

impl<const N: usize> Serialize for FixedStr<N>

source§

fn serialize<S: Serializer>(&self, serializer: S) -> Result<S::Ok, S::Error>

Serialize this value into the given Serde serializer. Read more
","Serialize","client_sdk::models::auth::BearerToken","client_sdk::models::auth::BotToken","client_sdk::models::config::HCaptchaSiteKey","client_sdk::models::embed::v1::UrlSignature","client_sdk::models::EncryptedSnowflake"],["
source§

impl<const N: usize> Copy for FixedStr<N>

","Copy","client_sdk::models::auth::BearerToken","client_sdk::models::auth::BotToken","client_sdk::models::config::HCaptchaSiteKey","client_sdk::models::embed::v1::UrlSignature","client_sdk::models::EncryptedSnowflake"],["
source§

impl<const N: usize> Eq for FixedStr<N>

","Eq","client_sdk::models::auth::BearerToken","client_sdk::models::auth::BotToken","client_sdk::models::config::HCaptchaSiteKey","client_sdk::models::embed::v1::UrlSignature","client_sdk::models::EncryptedSnowflake"],["
source§

impl<const N: usize> NoUndef for FixedStr<N>

","NoUndef","client_sdk::models::auth::BearerToken","client_sdk::models::auth::BotToken","client_sdk::models::config::HCaptchaSiteKey","client_sdk::models::embed::v1::UrlSignature","client_sdk::models::EncryptedSnowflake"],["
source§

impl<const N: usize> Portable for FixedStr<N>

","Portable","client_sdk::models::auth::BearerToken","client_sdk::models::auth::BotToken","client_sdk::models::config::HCaptchaSiteKey","client_sdk::models::embed::v1::UrlSignature","client_sdk::models::EncryptedSnowflake"],["
source§

impl<const N: usize> StructuralPartialEq for FixedStr<N>

","StructuralPartialEq","client_sdk::models::auth::BearerToken","client_sdk::models::auth::BotToken","client_sdk::models::config::HCaptchaSiteKey","client_sdk::models::embed::v1::UrlSignature","client_sdk::models::EncryptedSnowflake"]]]]); + if (window.register_type_impls) { + window.register_type_impls(type_impls); + } else { + window.pending_type_impls = type_impls; + } +})() +//{"start":55,"fragment_lengths":[47263]} \ No newline at end of file diff --git a/type.impl/client_sdk/struct.Snowflake.js b/type.impl/client_sdk/struct.Snowflake.js new file mode 100644 index 000000000..631700b1c --- /dev/null +++ b/type.impl/client_sdk/struct.Snowflake.js @@ -0,0 +1,9 @@ +(function() { + var type_impls = Object.fromEntries([["client_sdk",[["
§

impl Archive for Snowflake

§

type Archived = ArchivedSnowflake

The archived representation of this type. Read more
§

type Resolver = ()

The resolver for this type. It must contain all the additional\ninformation from serializing needed to make the archived type from\nthe normal type.
§

const COPY_OPTIMIZATION: CopyOptimization<Snowflake> = _

An optimization flag that allows the bytes of this type to be copied\ndirectly to a writer instead of calling serialize. Read more
§

fn resolve(\n &self,\n _: <Snowflake as Archive>::Resolver,\n out: Place<<Snowflake as Archive>::Archived>,\n)

Creates the archived version of this value at the given position and\nwrites it to the given output. Read more
","Archive","client_sdk::models::aliases::PartyId","client_sdk::models::aliases::UserId","client_sdk::models::aliases::RoleId","client_sdk::models::aliases::RoomId","client_sdk::models::aliases::MessageId","client_sdk::models::aliases::EmoteId","client_sdk::models::aliases::FileId","client_sdk::models::aliases::InviteId","client_sdk::models::aliases::ThreadId","client_sdk::models::aliases::FolderId"],["
§

impl Clone for Snowflake

§

fn clone(&self) -> Snowflake

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
","Clone","client_sdk::models::aliases::PartyId","client_sdk::models::aliases::UserId","client_sdk::models::aliases::RoleId","client_sdk::models::aliases::RoomId","client_sdk::models::aliases::MessageId","client_sdk::models::aliases::EmoteId","client_sdk::models::aliases::FileId","client_sdk::models::aliases::InviteId","client_sdk::models::aliases::ThreadId","client_sdk::models::aliases::FolderId"],["
§

impl Debug for Snowflake

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
","Debug","client_sdk::models::aliases::PartyId","client_sdk::models::aliases::UserId","client_sdk::models::aliases::RoleId","client_sdk::models::aliases::RoomId","client_sdk::models::aliases::MessageId","client_sdk::models::aliases::EmoteId","client_sdk::models::aliases::FileId","client_sdk::models::aliases::InviteId","client_sdk::models::aliases::ThreadId","client_sdk::models::aliases::FolderId"],["
§

impl<'de> Deserialize<'de> for Snowflake

§

fn deserialize<D>(\n deserializer: D,\n) -> Result<Snowflake, <D as Deserializer<'de>>::Error>
where\n D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
","Deserialize<'de>","client_sdk::models::aliases::PartyId","client_sdk::models::aliases::UserId","client_sdk::models::aliases::RoleId","client_sdk::models::aliases::RoomId","client_sdk::models::aliases::MessageId","client_sdk::models::aliases::EmoteId","client_sdk::models::aliases::FileId","client_sdk::models::aliases::InviteId","client_sdk::models::aliases::ThreadId","client_sdk::models::aliases::FolderId"],["
§

impl Display for Snowflake

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
","Display","client_sdk::models::aliases::PartyId","client_sdk::models::aliases::UserId","client_sdk::models::aliases::RoleId","client_sdk::models::aliases::RoomId","client_sdk::models::aliases::MessageId","client_sdk::models::aliases::EmoteId","client_sdk::models::aliases::FileId","client_sdk::models::aliases::InviteId","client_sdk::models::aliases::ThreadId","client_sdk::models::aliases::FolderId"],["
§

impl From<ArchivedSnowflake> for Snowflake

§

fn from(sf: ArchivedSnowflake) -> Snowflake

Converts to this type from the input type.
","From","client_sdk::models::aliases::PartyId","client_sdk::models::aliases::UserId","client_sdk::models::aliases::RoleId","client_sdk::models::aliases::RoomId","client_sdk::models::aliases::MessageId","client_sdk::models::aliases::EmoteId","client_sdk::models::aliases::FileId","client_sdk::models::aliases::InviteId","client_sdk::models::aliases::ThreadId","client_sdk::models::aliases::FolderId"],["
§

impl<'a> FromSql<'a> for Snowflake

§

fn from_sql(\n ty: &Type,\n raw: &'a [u8],\n) -> Result<Snowflake, Box<dyn Error + Sync + Send>>

Creates a new value of this type from a buffer of data of the specified\nPostgres Type in its binary format. Read more
§

fn accepts(ty: &Type) -> bool

Determines if a value of this type can be created from the specified\nPostgres Type.
§

fn from_sql_null(ty: &Type) -> Result<Self, Box<dyn Error + Sync + Send>>

Creates a new value of this type from a NULL SQL value. Read more
§

fn from_sql_nullable(\n ty: &Type,\n raw: Option<&'a [u8]>,\n) -> Result<Self, Box<dyn Error + Sync + Send>>

A convenience function that delegates to from_sql and from_sql_null depending on the\nvalue of raw.
","FromSql<'a>","client_sdk::models::aliases::PartyId","client_sdk::models::aliases::UserId","client_sdk::models::aliases::RoleId","client_sdk::models::aliases::RoomId","client_sdk::models::aliases::MessageId","client_sdk::models::aliases::EmoteId","client_sdk::models::aliases::FileId","client_sdk::models::aliases::InviteId","client_sdk::models::aliases::ThreadId","client_sdk::models::aliases::FolderId"],["
§

impl FromSql for Snowflake

§

fn column_result(value: ValueRef<'_>) -> Result<Snowflake, FromSqlError>

Converts SQLite value into Rust value.
","FromSql","client_sdk::models::aliases::PartyId","client_sdk::models::aliases::UserId","client_sdk::models::aliases::RoleId","client_sdk::models::aliases::RoomId","client_sdk::models::aliases::MessageId","client_sdk::models::aliases::EmoteId","client_sdk::models::aliases::FileId","client_sdk::models::aliases::InviteId","client_sdk::models::aliases::ThreadId","client_sdk::models::aliases::FolderId"],["
§

impl FromStr for Snowflake

§

type Err = <NonZero<u64> as FromStr>::Err

The associated error which can be returned from parsing.
§

fn from_str(s: &str) -> Result<Snowflake, <Snowflake as FromStr>::Err>

Parses a string s to return a value of this type. Read more
","FromStr","client_sdk::models::aliases::PartyId","client_sdk::models::aliases::UserId","client_sdk::models::aliases::RoleId","client_sdk::models::aliases::RoomId","client_sdk::models::aliases::MessageId","client_sdk::models::aliases::EmoteId","client_sdk::models::aliases::FileId","client_sdk::models::aliases::InviteId","client_sdk::models::aliases::ThreadId","client_sdk::models::aliases::FolderId"],["
§

impl Hash for Snowflake

§

fn hash<__H>(&self, state: &mut __H)
where\n __H: Hasher,

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where\n H: Hasher,\n Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
","Hash","client_sdk::models::aliases::PartyId","client_sdk::models::aliases::UserId","client_sdk::models::aliases::RoleId","client_sdk::models::aliases::RoomId","client_sdk::models::aliases::MessageId","client_sdk::models::aliases::EmoteId","client_sdk::models::aliases::FileId","client_sdk::models::aliases::InviteId","client_sdk::models::aliases::ThreadId","client_sdk::models::aliases::FolderId"],["
§

impl Ord for Snowflake

§

fn cmp(&self, other: &Snowflake) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Self
where\n Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Self
where\n Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · source§

fn clamp(self, min: Self, max: Self) -> Self
where\n Self: Sized + PartialOrd,

Restrict a value to a certain interval. Read more
","Ord","client_sdk::models::aliases::PartyId","client_sdk::models::aliases::UserId","client_sdk::models::aliases::RoleId","client_sdk::models::aliases::RoomId","client_sdk::models::aliases::MessageId","client_sdk::models::aliases::EmoteId","client_sdk::models::aliases::FileId","client_sdk::models::aliases::InviteId","client_sdk::models::aliases::ThreadId","client_sdk::models::aliases::FolderId"],["
§

impl PartialEq<ArchivedSnowflake> for Snowflake

§

fn eq(&self, other: &ArchivedSnowflake) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient,\nand should not be overridden without very good reason.
","PartialEq","client_sdk::models::aliases::PartyId","client_sdk::models::aliases::UserId","client_sdk::models::aliases::RoleId","client_sdk::models::aliases::RoomId","client_sdk::models::aliases::MessageId","client_sdk::models::aliases::EmoteId","client_sdk::models::aliases::FileId","client_sdk::models::aliases::InviteId","client_sdk::models::aliases::ThreadId","client_sdk::models::aliases::FolderId"],["
§

impl PartialEq for Snowflake

§

fn eq(&self, other: &Snowflake) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient,\nand should not be overridden without very good reason.
","PartialEq","client_sdk::models::aliases::PartyId","client_sdk::models::aliases::UserId","client_sdk::models::aliases::RoleId","client_sdk::models::aliases::RoomId","client_sdk::models::aliases::MessageId","client_sdk::models::aliases::EmoteId","client_sdk::models::aliases::FileId","client_sdk::models::aliases::InviteId","client_sdk::models::aliases::ThreadId","client_sdk::models::aliases::FolderId"],["
§

impl PartialOrd for Snowflake

§

fn partial_cmp(&self, other: &Snowflake) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the\n<= operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the >\noperator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by\nthe >= operator. Read more
","PartialOrd","client_sdk::models::aliases::PartyId","client_sdk::models::aliases::UserId","client_sdk::models::aliases::RoleId","client_sdk::models::aliases::RoomId","client_sdk::models::aliases::MessageId","client_sdk::models::aliases::EmoteId","client_sdk::models::aliases::FileId","client_sdk::models::aliases::InviteId","client_sdk::models::aliases::ThreadId","client_sdk::models::aliases::FolderId"],["
§

impl<S> Serialize<S> for Snowflake
where\n S: Fallible + ?Sized,

§

fn serialize(\n &self,\n _: &mut S,\n) -> Result<<Snowflake as Archive>::Resolver, <S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can\ncreate the archived type.
","Serialize","client_sdk::models::aliases::PartyId","client_sdk::models::aliases::UserId","client_sdk::models::aliases::RoleId","client_sdk::models::aliases::RoomId","client_sdk::models::aliases::MessageId","client_sdk::models::aliases::EmoteId","client_sdk::models::aliases::FileId","client_sdk::models::aliases::InviteId","client_sdk::models::aliases::ThreadId","client_sdk::models::aliases::FolderId"],["
§

impl Serialize for Snowflake

§

fn serialize<S>(\n &self,\n serializer: S,\n) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
where\n S: Serializer,

Serialize this value into the given Serde serializer. Read more
","Serialize","client_sdk::models::aliases::PartyId","client_sdk::models::aliases::UserId","client_sdk::models::aliases::RoleId","client_sdk::models::aliases::RoomId","client_sdk::models::aliases::MessageId","client_sdk::models::aliases::EmoteId","client_sdk::models::aliases::FileId","client_sdk::models::aliases::InviteId","client_sdk::models::aliases::ThreadId","client_sdk::models::aliases::FolderId"],["
§

impl Snowflake

pub const unsafe fn from_u64_unchecked(value: u64) -> Snowflake

Create a new Snowflake from the given 64-bit unsigned integer without checking\nwhether the value is non-zero. This results in undefined behaviour if the value is zero.

\n
§Safety
\n

The value must not be zero.

\n

pub const fn null() -> Snowflake

Generate the simplest valid Snowflake, the value 1.

\n

pub const fn raw_timestamp(&self) -> u64

Returns the timestamp bits of the Snowflake.

\n

pub const fn id(&self) -> u16

Returns the ID bits of the Snowflake, which typically represents\nthe originating system the Snowflake was generated on.

\n

pub const fn incr(&self) -> u16

Returns the increment bits of the Snowflake.

\n

pub const fn to_u64(self) -> u64

Returns the Snowflake as a 64-bit unsigned integer.

\n

pub const fn to_i64(self) -> i64

Returns the Snowflake as a 64-bit signed integer.

\n

pub const fn max_safe_value() -> Snowflake

Snowflake set to the max Signed 64-bit value, what PostgreSQL uses for bigint

\n
",0,"client_sdk::models::aliases::PartyId","client_sdk::models::aliases::UserId","client_sdk::models::aliases::RoleId","client_sdk::models::aliases::RoomId","client_sdk::models::aliases::MessageId","client_sdk::models::aliases::EmoteId","client_sdk::models::aliases::FileId","client_sdk::models::aliases::InviteId","client_sdk::models::aliases::ThreadId","client_sdk::models::aliases::FolderId"],["
§

impl Snowflake

pub const fn from_unix_ms(epoch: u64, ms: u64) -> Option<Snowflake>

Create a valid Snowflake from the given unix timestamp in milliseconds.

\n

This sets the ID to 0 and the increment to 1.

\n

This can be used as a sentinel value for database queries.

\n
",0,"client_sdk::models::aliases::PartyId","client_sdk::models::aliases::UserId","client_sdk::models::aliases::RoleId","client_sdk::models::aliases::RoomId","client_sdk::models::aliases::MessageId","client_sdk::models::aliases::EmoteId","client_sdk::models::aliases::FileId","client_sdk::models::aliases::InviteId","client_sdk::models::aliases::ThreadId","client_sdk::models::aliases::FolderId"],["
§

impl ToSql for Snowflake

§

fn to_sql(&self) -> Result<ToSqlOutput<'_>, Error>

Converts Rust value to SQLite value
","ToSql","client_sdk::models::aliases::PartyId","client_sdk::models::aliases::UserId","client_sdk::models::aliases::RoleId","client_sdk::models::aliases::RoomId","client_sdk::models::aliases::MessageId","client_sdk::models::aliases::EmoteId","client_sdk::models::aliases::FileId","client_sdk::models::aliases::InviteId","client_sdk::models::aliases::ThreadId","client_sdk::models::aliases::FolderId"],["
§

impl ToSql for Snowflake

§

fn to_sql(\n &self,\n ty: &Type,\n out: &mut BytesMut,\n) -> Result<IsNull, Box<dyn Error + Sync + Send>>
where\n Snowflake: Sized,

Converts the value of self into the binary format of the specified\nPostgres Type, appending it to out. Read more
§

fn accepts(ty: &Type) -> bool

Determines if a value of this type can be converted to the specified\nPostgres Type.
§

fn to_sql_checked(\n &self,\n ty: &Type,\n out: &mut BytesMut,\n) -> Result<IsNull, Box<dyn Error + Sync + Send>>

An adaptor method used internally by Rust-Postgres. Read more
§

fn encode_format(&self, _ty: &Type) -> Format

Specify the encode format
","ToSql","client_sdk::models::aliases::PartyId","client_sdk::models::aliases::UserId","client_sdk::models::aliases::RoleId","client_sdk::models::aliases::RoomId","client_sdk::models::aliases::MessageId","client_sdk::models::aliases::EmoteId","client_sdk::models::aliases::FileId","client_sdk::models::aliases::InviteId","client_sdk::models::aliases::ThreadId","client_sdk::models::aliases::FolderId"],["
§

impl Copy for Snowflake

","Copy","client_sdk::models::aliases::PartyId","client_sdk::models::aliases::UserId","client_sdk::models::aliases::RoleId","client_sdk::models::aliases::RoomId","client_sdk::models::aliases::MessageId","client_sdk::models::aliases::EmoteId","client_sdk::models::aliases::FileId","client_sdk::models::aliases::InviteId","client_sdk::models::aliases::ThreadId","client_sdk::models::aliases::FolderId"],["
§

impl Eq for Snowflake

","Eq","client_sdk::models::aliases::PartyId","client_sdk::models::aliases::UserId","client_sdk::models::aliases::RoleId","client_sdk::models::aliases::RoomId","client_sdk::models::aliases::MessageId","client_sdk::models::aliases::EmoteId","client_sdk::models::aliases::FileId","client_sdk::models::aliases::InviteId","client_sdk::models::aliases::ThreadId","client_sdk::models::aliases::FolderId"],["
§

impl StructuralPartialEq for Snowflake

","StructuralPartialEq","client_sdk::models::aliases::PartyId","client_sdk::models::aliases::UserId","client_sdk::models::aliases::RoleId","client_sdk::models::aliases::RoomId","client_sdk::models::aliases::MessageId","client_sdk::models::aliases::EmoteId","client_sdk::models::aliases::FileId","client_sdk::models::aliases::InviteId","client_sdk::models::aliases::ThreadId","client_sdk::models::aliases::FolderId"]]]]); + if (window.register_type_impls) { + window.register_type_impls(type_impls); + } else { + window.pending_type_impls = type_impls; + } +})() +//{"start":55,"fragment_lengths":[61942]} \ No newline at end of file diff --git a/type.impl/rkyv/alias/type.Archived.js b/type.impl/rkyv/alias/type.Archived.js new file mode 100644 index 000000000..27f02540a --- /dev/null +++ b/type.impl/rkyv/alias/type.Archived.js @@ -0,0 +1,9 @@ +(function() { + var type_impls = Object.fromEntries([["client_sdk",[["
source§

impl<__D: Fallible + ?Sized> Deserialize<Activity, __D> for Archived<Activity>

source§

fn deserialize(\n &self,\n deserializer: &mut __D,\n) -> Result<Activity, <__D as Fallible>::Error>

Deserializes using the given deserializer
","Deserialize","client_sdk::models::aliases::ArchivedPartyId","client_sdk::models::aliases::ArchivedUserId","client_sdk::models::aliases::ArchivedRoleId","client_sdk::models::aliases::ArchivedRoomId","client_sdk::models::aliases::ArchivedMessageId","client_sdk::models::aliases::ArchivedEmoteId","client_sdk::models::aliases::ArchivedFileId","client_sdk::models::aliases::ArchivedInviteId","client_sdk::models::aliases::ArchivedThreadId","client_sdk::models::aliases::ArchivedFolderId"],["
source§

impl<__D: Fallible + ?Sized> Deserialize<Added2FA, __D> for Archived<Added2FA>
where\n String: Archive,\n <String as Archive>::Archived: Deserialize<String, __D>,\n Vec<String>: Archive,\n <Vec<String> as Archive>::Archived: Deserialize<Vec<String>, __D>,

source§

fn deserialize(\n &self,\n deserializer: &mut __D,\n) -> Result<Added2FA, <__D as Fallible>::Error>

Deserializes using the given deserializer
","Deserialize","client_sdk::models::aliases::ArchivedPartyId","client_sdk::models::aliases::ArchivedUserId","client_sdk::models::aliases::ArchivedRoleId","client_sdk::models::aliases::ArchivedRoomId","client_sdk::models::aliases::ArchivedMessageId","client_sdk::models::aliases::ArchivedEmoteId","client_sdk::models::aliases::ArchivedFileId","client_sdk::models::aliases::ArchivedInviteId","client_sdk::models::aliases::ArchivedThreadId","client_sdk::models::aliases::ArchivedFolderId"],["
source§

impl<__D: Fallible + ?Sized> Deserialize<AnonymousSession, __D> for Archived<AnonymousSession>
where\n Timestamp: Archive,\n <Timestamp as Archive>::Archived: Deserialize<Timestamp, __D>,

source§

fn deserialize(\n &self,\n deserializer: &mut __D,\n) -> Result<AnonymousSession, <__D as Fallible>::Error>

Deserializes using the given deserializer
","Deserialize","client_sdk::models::aliases::ArchivedPartyId","client_sdk::models::aliases::ArchivedUserId","client_sdk::models::aliases::ArchivedRoleId","client_sdk::models::aliases::ArchivedRoomId","client_sdk::models::aliases::ArchivedMessageId","client_sdk::models::aliases::ArchivedEmoteId","client_sdk::models::aliases::ArchivedFileId","client_sdk::models::aliases::ArchivedInviteId","client_sdk::models::aliases::ArchivedThreadId","client_sdk::models::aliases::ArchivedFolderId"],["
source§

impl<__D: Fallible + ?Sized> Deserialize<AnyActivity, __D> for Archived<AnyActivity>
where\n Activity: Archive,\n <Activity as Archive>::Archived: Deserialize<Activity, __D>,

source§

fn deserialize(\n &self,\n deserializer: &mut __D,\n) -> Result<AnyActivity, <__D as Fallible>::Error>

Deserializes using the given deserializer
","Deserialize","client_sdk::models::aliases::ArchivedPartyId","client_sdk::models::aliases::ArchivedUserId","client_sdk::models::aliases::ArchivedRoleId","client_sdk::models::aliases::ArchivedRoomId","client_sdk::models::aliases::ArchivedMessageId","client_sdk::models::aliases::ArchivedEmoteId","client_sdk::models::aliases::ArchivedFileId","client_sdk::models::aliases::ArchivedInviteId","client_sdk::models::aliases::ArchivedThreadId","client_sdk::models::aliases::ArchivedFolderId"],["
source§

impl<__D: Fallible + ?Sized> Deserialize<ApiError, __D> for Archived<ApiError>
where\n ApiErrorCode: Archive,\n <ApiErrorCode as Archive>::Archived: Deserialize<ApiErrorCode, __D>,\n AsOwned: ArchiveWith<Cow<'static, str>> + DeserializeWith<<AsOwned as ArchiveWith<Cow<'static, str>>>::Archived, Cow<'static, str>, __D>,

source§

fn deserialize(\n &self,\n deserializer: &mut __D,\n) -> Result<ApiError, <__D as Fallible>::Error>

Deserializes using the given deserializer
","Deserialize","client_sdk::models::aliases::ArchivedPartyId","client_sdk::models::aliases::ArchivedUserId","client_sdk::models::aliases::ArchivedRoleId","client_sdk::models::aliases::ArchivedRoomId","client_sdk::models::aliases::ArchivedMessageId","client_sdk::models::aliases::ArchivedEmoteId","client_sdk::models::aliases::ArchivedFileId","client_sdk::models::aliases::ArchivedInviteId","client_sdk::models::aliases::ArchivedThreadId","client_sdk::models::aliases::ArchivedFolderId"],["
source§

impl<__D: Fallible + ?Sized> Deserialize<Attachment, __D> for Archived<Attachment>
where\n File: Archive,\n <File as Archive>::Archived: Deserialize<File, __D>,

source§

fn deserialize(\n &self,\n deserializer: &mut __D,\n) -> Result<Attachment, <__D as Fallible>::Error>

Deserializes using the given deserializer
","Deserialize","client_sdk::models::aliases::ArchivedPartyId","client_sdk::models::aliases::ArchivedUserId","client_sdk::models::aliases::ArchivedRoleId","client_sdk::models::aliases::ArchivedRoomId","client_sdk::models::aliases::ArchivedMessageId","client_sdk::models::aliases::ArchivedEmoteId","client_sdk::models::aliases::ArchivedFileId","client_sdk::models::aliases::ArchivedInviteId","client_sdk::models::aliases::ArchivedThreadId","client_sdk::models::aliases::ArchivedFolderId"],["
source§

impl<__D: Fallible + ?Sized> Deserialize<AuthToken, __D> for Archived<AuthToken>
where\n BearerToken: Archive,\n <BearerToken as Archive>::Archived: Deserialize<BearerToken, __D>,\n BotToken: Archive,\n <BotToken as Archive>::Archived: Deserialize<BotToken, __D>,

source§

fn deserialize(\n &self,\n deserializer: &mut __D,\n) -> Result<AuthToken, <__D as Fallible>::Error>

Deserializes using the given deserializer
","Deserialize","client_sdk::models::aliases::ArchivedPartyId","client_sdk::models::aliases::ArchivedUserId","client_sdk::models::aliases::ArchivedRoleId","client_sdk::models::aliases::ArchivedRoomId","client_sdk::models::aliases::ArchivedMessageId","client_sdk::models::aliases::ArchivedEmoteId","client_sdk::models::aliases::ArchivedFileId","client_sdk::models::aliases::ArchivedInviteId","client_sdk::models::aliases::ArchivedThreadId","client_sdk::models::aliases::ArchivedFolderId"],["
source§

impl<__D: Fallible + ?Sized> Deserialize<BasicEmbedMedia, __D> for Archived<BasicEmbedMedia>
where\n ThinString: Archive,\n <ThinString as Archive>::Archived: Deserialize<ThinString, __D>,\n Option<ThinString>: Archive,\n <Option<ThinString> as Archive>::Archived: Deserialize<Option<ThinString>, __D>,\n Option<UrlSignature>: Archive,\n <Option<UrlSignature> as Archive>::Archived: Deserialize<Option<UrlSignature>, __D>,\n Option<i32>: Archive,\n <Option<i32> as Archive>::Archived: Deserialize<Option<i32>, __D>,\n Option<SmolStr>: Archive,\n <Option<SmolStr> as Archive>::Archived: Deserialize<Option<SmolStr>, __D>,

source§

fn deserialize(\n &self,\n deserializer: &mut __D,\n) -> Result<BasicEmbedMedia, <__D as Fallible>::Error>

Deserializes using the given deserializer
","Deserialize","client_sdk::models::aliases::ArchivedPartyId","client_sdk::models::aliases::ArchivedUserId","client_sdk::models::aliases::ArchivedRoleId","client_sdk::models::aliases::ArchivedRoomId","client_sdk::models::aliases::ArchivedMessageId","client_sdk::models::aliases::ArchivedEmoteId","client_sdk::models::aliases::ArchivedFileId","client_sdk::models::aliases::ArchivedInviteId","client_sdk::models::aliases::ArchivedThreadId","client_sdk::models::aliases::ArchivedFolderId"],["
source§

impl<__D: Fallible + ?Sized> Deserialize<ChangePassword, __D> for Archived<ChangePassword>
where\n ChangePasswordForm: Archive,\n <ChangePasswordForm as Archive>::Archived: Deserialize<ChangePasswordForm, __D>,

source§

fn deserialize(\n &self,\n deserializer: &mut __D,\n) -> Result<ChangePassword, <__D as Fallible>::Error>

Deserializes using the given deserializer
","Deserialize","client_sdk::models::aliases::ArchivedPartyId","client_sdk::models::aliases::ArchivedUserId","client_sdk::models::aliases::ArchivedRoleId","client_sdk::models::aliases::ArchivedRoomId","client_sdk::models::aliases::ArchivedMessageId","client_sdk::models::aliases::ArchivedEmoteId","client_sdk::models::aliases::ArchivedFileId","client_sdk::models::aliases::ArchivedInviteId","client_sdk::models::aliases::ArchivedThreadId","client_sdk::models::aliases::ArchivedFolderId"],["
source§

impl<__D: Fallible + ?Sized> Deserialize<ChangePasswordForm, __D> for Archived<ChangePasswordForm>
where\n SmolStr: Archive,\n <SmolStr as Archive>::Archived: Deserialize<SmolStr, __D>,\n Option<SmolStr>: Archive,\n <Option<SmolStr> as Archive>::Archived: Deserialize<Option<SmolStr>, __D>,

source§

fn deserialize(\n &self,\n deserializer: &mut __D,\n) -> Result<ChangePasswordForm, <__D as Fallible>::Error>

Deserializes using the given deserializer
","Deserialize","client_sdk::models::aliases::ArchivedPartyId","client_sdk::models::aliases::ArchivedUserId","client_sdk::models::aliases::ArchivedRoleId","client_sdk::models::aliases::ArchivedRoomId","client_sdk::models::aliases::ArchivedMessageId","client_sdk::models::aliases::ArchivedEmoteId","client_sdk::models::aliases::ArchivedFileId","client_sdk::models::aliases::ArchivedInviteId","client_sdk::models::aliases::ArchivedThreadId","client_sdk::models::aliases::ArchivedFolderId"],["
source§

impl<__D: Fallible + ?Sized> Deserialize<ClearSessions, __D> for Archived<ClearSessions>
where\n ClearSessionsForm: Archive,\n <ClearSessionsForm as Archive>::Archived: Deserialize<ClearSessionsForm, __D>,

source§

fn deserialize(\n &self,\n deserializer: &mut __D,\n) -> Result<ClearSessions, <__D as Fallible>::Error>

Deserializes using the given deserializer
","Deserialize","client_sdk::models::aliases::ArchivedPartyId","client_sdk::models::aliases::ArchivedUserId","client_sdk::models::aliases::ArchivedRoleId","client_sdk::models::aliases::ArchivedRoomId","client_sdk::models::aliases::ArchivedMessageId","client_sdk::models::aliases::ArchivedEmoteId","client_sdk::models::aliases::ArchivedFileId","client_sdk::models::aliases::ArchivedInviteId","client_sdk::models::aliases::ArchivedThreadId","client_sdk::models::aliases::ArchivedFolderId"],["
source§

impl<__D: Fallible + ?Sized> Deserialize<ClearSessionsForm, __D> for Archived<ClearSessionsForm>
where\n Option<SmolStr>: Archive,\n <Option<SmolStr> as Archive>::Archived: Deserialize<Option<SmolStr>, __D>,

source§

fn deserialize(\n &self,\n deserializer: &mut __D,\n) -> Result<ClearSessionsForm, <__D as Fallible>::Error>

Deserializes using the given deserializer
","Deserialize","client_sdk::models::aliases::ArchivedPartyId","client_sdk::models::aliases::ArchivedUserId","client_sdk::models::aliases::ArchivedRoleId","client_sdk::models::aliases::ArchivedRoomId","client_sdk::models::aliases::ArchivedMessageId","client_sdk::models::aliases::ArchivedEmoteId","client_sdk::models::aliases::ArchivedFileId","client_sdk::models::aliases::ArchivedInviteId","client_sdk::models::aliases::ArchivedThreadId","client_sdk::models::aliases::ArchivedFolderId"],["
source§

impl<__D: Fallible + ?Sized> Deserialize<ClientMsg, __D> for Archived<ClientMsg>
where\n HeartbeatPayload: Archive,\n <HeartbeatPayload as Archive>::Archived: Deserialize<HeartbeatPayload, __D>,\n IdentifyPayload: Archive,\n <IdentifyPayload as Archive>::Archived: Deserialize<IdentifyPayload, __D>,\n ResumePayload: Archive,\n <ResumePayload as Archive>::Archived: Deserialize<ResumePayload, __D>,\n SetPresencePayload: Archive,\n <SetPresencePayload as Archive>::Archived: Deserialize<SetPresencePayload, __D>,\n SubscribePayload: Archive,\n <SubscribePayload as Archive>::Archived: Deserialize<SubscribePayload, __D>,\n UnsubscribePayload: Archive,\n <UnsubscribePayload as Archive>::Archived: Deserialize<UnsubscribePayload, __D>,

source§

fn deserialize(\n &self,\n deserializer: &mut __D,\n) -> Result<ClientMsg, <__D as Fallible>::Error>

Deserializes using the given deserializer
","Deserialize","client_sdk::models::aliases::ArchivedPartyId","client_sdk::models::aliases::ArchivedUserId","client_sdk::models::aliases::ArchivedRoleId","client_sdk::models::aliases::ArchivedRoomId","client_sdk::models::aliases::ArchivedMessageId","client_sdk::models::aliases::ArchivedEmoteId","client_sdk::models::aliases::ArchivedFileId","client_sdk::models::aliases::ArchivedInviteId","client_sdk::models::aliases::ArchivedThreadId","client_sdk::models::aliases::ArchivedFolderId"],["
source§

impl<__D: Fallible + ?Sized> Deserialize<Confirm2FA, __D> for Archived<Confirm2FA>
where\n Confirm2FAForm: Archive,\n <Confirm2FAForm as Archive>::Archived: Deserialize<Confirm2FAForm, __D>,

source§

fn deserialize(\n &self,\n deserializer: &mut __D,\n) -> Result<Confirm2FA, <__D as Fallible>::Error>

Deserializes using the given deserializer
","Deserialize","client_sdk::models::aliases::ArchivedPartyId","client_sdk::models::aliases::ArchivedUserId","client_sdk::models::aliases::ArchivedRoleId","client_sdk::models::aliases::ArchivedRoomId","client_sdk::models::aliases::ArchivedMessageId","client_sdk::models::aliases::ArchivedEmoteId","client_sdk::models::aliases::ArchivedFileId","client_sdk::models::aliases::ArchivedInviteId","client_sdk::models::aliases::ArchivedThreadId","client_sdk::models::aliases::ArchivedFolderId"],["
source§

impl<__D: Fallible + ?Sized> Deserialize<Confirm2FAForm, __D> for Archived<Confirm2FAForm>
where\n SmolStr: Archive,\n <SmolStr as Archive>::Archived: Deserialize<SmolStr, __D>,

source§

fn deserialize(\n &self,\n deserializer: &mut __D,\n) -> Result<Confirm2FAForm, <__D as Fallible>::Error>

Deserializes using the given deserializer
","Deserialize","client_sdk::models::aliases::ArchivedPartyId","client_sdk::models::aliases::ArchivedUserId","client_sdk::models::aliases::ArchivedRoleId","client_sdk::models::aliases::ArchivedRoomId","client_sdk::models::aliases::ArchivedMessageId","client_sdk::models::aliases::ArchivedEmoteId","client_sdk::models::aliases::ArchivedFileId","client_sdk::models::aliases::ArchivedInviteId","client_sdk::models::aliases::ArchivedThreadId","client_sdk::models::aliases::ArchivedFolderId"],["
source§

impl<__D: Fallible + ?Sized> Deserialize<CreateFile, __D> for Archived<CreateFile>
where\n CreateFileBody: Archive,\n <CreateFileBody as Archive>::Archived: Deserialize<CreateFileBody, __D>,

source§

fn deserialize(\n &self,\n deserializer: &mut __D,\n) -> Result<CreateFile, <__D as Fallible>::Error>

Deserializes using the given deserializer
","Deserialize","client_sdk::models::aliases::ArchivedPartyId","client_sdk::models::aliases::ArchivedUserId","client_sdk::models::aliases::ArchivedRoleId","client_sdk::models::aliases::ArchivedRoomId","client_sdk::models::aliases::ArchivedMessageId","client_sdk::models::aliases::ArchivedEmoteId","client_sdk::models::aliases::ArchivedFileId","client_sdk::models::aliases::ArchivedInviteId","client_sdk::models::aliases::ArchivedThreadId","client_sdk::models::aliases::ArchivedFolderId"],["
source§

impl<__D: Fallible + ?Sized> Deserialize<CreateFileBody, __D> for Archived<CreateFileBody>
where\n SmolStr: Archive,\n <SmolStr as Archive>::Archived: Deserialize<SmolStr, __D>,\n i32: Archive,\n <i32 as Archive>::Archived: Deserialize<i32, __D>,\n Option<SmolStr>: Archive,\n <Option<SmolStr> as Archive>::Archived: Deserialize<Option<SmolStr>, __D>,\n Option<i32>: Archive,\n <Option<i32> as Archive>::Archived: Deserialize<Option<i32>, __D>,\n Option<String>: Archive,\n <Option<String> as Archive>::Archived: Deserialize<Option<String>, __D>,

source§

fn deserialize(\n &self,\n deserializer: &mut __D,\n) -> Result<CreateFileBody, <__D as Fallible>::Error>

Deserializes using the given deserializer
","Deserialize","client_sdk::models::aliases::ArchivedPartyId","client_sdk::models::aliases::ArchivedUserId","client_sdk::models::aliases::ArchivedRoleId","client_sdk::models::aliases::ArchivedRoomId","client_sdk::models::aliases::ArchivedMessageId","client_sdk::models::aliases::ArchivedEmoteId","client_sdk::models::aliases::ArchivedFileId","client_sdk::models::aliases::ArchivedInviteId","client_sdk::models::aliases::ArchivedThreadId","client_sdk::models::aliases::ArchivedFolderId"],["
source§

impl<__D: Fallible + ?Sized> Deserialize<CreateMessage, __D> for Archived<CreateMessage>
where\n RoomId: Archive,\n <RoomId as Archive>::Archived: Deserialize<RoomId, __D>,\n CreateMessageBody: Archive,\n <CreateMessageBody as Archive>::Archived: Deserialize<CreateMessageBody, __D>,

source§

fn deserialize(\n &self,\n deserializer: &mut __D,\n) -> Result<CreateMessage, <__D as Fallible>::Error>

Deserializes using the given deserializer
","Deserialize","client_sdk::models::aliases::ArchivedPartyId","client_sdk::models::aliases::ArchivedUserId","client_sdk::models::aliases::ArchivedRoleId","client_sdk::models::aliases::ArchivedRoomId","client_sdk::models::aliases::ArchivedMessageId","client_sdk::models::aliases::ArchivedEmoteId","client_sdk::models::aliases::ArchivedFileId","client_sdk::models::aliases::ArchivedInviteId","client_sdk::models::aliases::ArchivedThreadId","client_sdk::models::aliases::ArchivedFolderId"],["
source§

impl<__D: Fallible + ?Sized> Deserialize<CreateMessageBody, __D> for Archived<CreateMessageBody>
where\n SmolStr: Archive,\n <SmolStr as Archive>::Archived: Deserialize<SmolStr, __D>,\n Option<RoomId>: Archive,\n <Option<RoomId> as Archive>::Archived: Deserialize<Option<RoomId>, __D>,\n ThinVec<FileId>: Archive,\n <ThinVec<FileId> as Archive>::Archived: Deserialize<ThinVec<FileId>, __D>,\n ThinVec<Embed>: Archive,\n <ThinVec<Embed> as Archive>::Archived: Deserialize<ThinVec<Embed>, __D>,\n bool: Archive,\n <bool as Archive>::Archived: Deserialize<bool, __D>,

source§

fn deserialize(\n &self,\n deserializer: &mut __D,\n) -> Result<CreateMessageBody, <__D as Fallible>::Error>

Deserializes using the given deserializer
","Deserialize","client_sdk::models::aliases::ArchivedPartyId","client_sdk::models::aliases::ArchivedUserId","client_sdk::models::aliases::ArchivedRoleId","client_sdk::models::aliases::ArchivedRoomId","client_sdk::models::aliases::ArchivedMessageId","client_sdk::models::aliases::ArchivedEmoteId","client_sdk::models::aliases::ArchivedFileId","client_sdk::models::aliases::ArchivedInviteId","client_sdk::models::aliases::ArchivedThreadId","client_sdk::models::aliases::ArchivedFolderId"],["
source§

impl<__D: Fallible + ?Sized> Deserialize<CreateParty, __D> for Archived<CreateParty>
where\n CreatePartyForm: Archive,\n <CreatePartyForm as Archive>::Archived: Deserialize<CreatePartyForm, __D>,

source§

fn deserialize(\n &self,\n deserializer: &mut __D,\n) -> Result<CreateParty, <__D as Fallible>::Error>

Deserializes using the given deserializer
","Deserialize","client_sdk::models::aliases::ArchivedPartyId","client_sdk::models::aliases::ArchivedUserId","client_sdk::models::aliases::ArchivedRoleId","client_sdk::models::aliases::ArchivedRoomId","client_sdk::models::aliases::ArchivedMessageId","client_sdk::models::aliases::ArchivedEmoteId","client_sdk::models::aliases::ArchivedFileId","client_sdk::models::aliases::ArchivedInviteId","client_sdk::models::aliases::ArchivedThreadId","client_sdk::models::aliases::ArchivedFolderId"],["
source§

impl<__D: Fallible + ?Sized> Deserialize<CreatePartyForm, __D> for Archived<CreatePartyForm>
where\n SmolStr: Archive,\n <SmolStr as Archive>::Archived: Deserialize<SmolStr, __D>,\n Option<ThinString>: Archive,\n <Option<ThinString> as Archive>::Archived: Deserialize<Option<ThinString>, __D>,\n PartyFlags: Archive,\n <PartyFlags as Archive>::Archived: Deserialize<PartyFlags, __D>,

source§

fn deserialize(\n &self,\n deserializer: &mut __D,\n) -> Result<CreatePartyForm, <__D as Fallible>::Error>

Deserializes using the given deserializer
","Deserialize","client_sdk::models::aliases::ArchivedPartyId","client_sdk::models::aliases::ArchivedUserId","client_sdk::models::aliases::ArchivedRoleId","client_sdk::models::aliases::ArchivedRoomId","client_sdk::models::aliases::ArchivedMessageId","client_sdk::models::aliases::ArchivedEmoteId","client_sdk::models::aliases::ArchivedFileId","client_sdk::models::aliases::ArchivedInviteId","client_sdk::models::aliases::ArchivedThreadId","client_sdk::models::aliases::ArchivedFolderId"],["
source§

impl<__D: Fallible + ?Sized> Deserialize<CreatePartyInvite, __D> for Archived<CreatePartyInvite>
where\n PartyId: Archive,\n <PartyId as Archive>::Archived: Deserialize<PartyId, __D>,\n CreatePartyInviteBody: Archive,\n <CreatePartyInviteBody as Archive>::Archived: Deserialize<CreatePartyInviteBody, __D>,

source§

fn deserialize(\n &self,\n deserializer: &mut __D,\n) -> Result<CreatePartyInvite, <__D as Fallible>::Error>

Deserializes using the given deserializer
","Deserialize","client_sdk::models::aliases::ArchivedPartyId","client_sdk::models::aliases::ArchivedUserId","client_sdk::models::aliases::ArchivedRoleId","client_sdk::models::aliases::ArchivedRoomId","client_sdk::models::aliases::ArchivedMessageId","client_sdk::models::aliases::ArchivedEmoteId","client_sdk::models::aliases::ArchivedFileId","client_sdk::models::aliases::ArchivedInviteId","client_sdk::models::aliases::ArchivedThreadId","client_sdk::models::aliases::ArchivedFolderId"],["
source§

impl<__D: Fallible + ?Sized> Deserialize<CreatePartyInviteBody, __D> for Archived<CreatePartyInviteBody>
where\n Option<u16>: Archive,\n <Option<u16> as Archive>::Archived: Deserialize<Option<u16>, __D>,\n Option<u64>: Archive,\n <Option<u64> as Archive>::Archived: Deserialize<Option<u64>, __D>,\n Option<SmolStr>: Archive,\n <Option<SmolStr> as Archive>::Archived: Deserialize<Option<SmolStr>, __D>,

source§

fn deserialize(\n &self,\n deserializer: &mut __D,\n) -> Result<CreatePartyInviteBody, <__D as Fallible>::Error>

Deserializes using the given deserializer
","Deserialize","client_sdk::models::aliases::ArchivedPartyId","client_sdk::models::aliases::ArchivedUserId","client_sdk::models::aliases::ArchivedRoleId","client_sdk::models::aliases::ArchivedRoomId","client_sdk::models::aliases::ArchivedMessageId","client_sdk::models::aliases::ArchivedEmoteId","client_sdk::models::aliases::ArchivedFileId","client_sdk::models::aliases::ArchivedInviteId","client_sdk::models::aliases::ArchivedThreadId","client_sdk::models::aliases::ArchivedFolderId"],["
source§

impl<__D: Fallible + ?Sized> Deserialize<CreatePinFolder, __D> for Archived<CreatePinFolder>
where\n PartyId: Archive,\n <PartyId as Archive>::Archived: Deserialize<PartyId, __D>,\n CreatePinFolderForm: Archive,\n <CreatePinFolderForm as Archive>::Archived: Deserialize<CreatePinFolderForm, __D>,

source§

fn deserialize(\n &self,\n deserializer: &mut __D,\n) -> Result<CreatePinFolder, <__D as Fallible>::Error>

Deserializes using the given deserializer
","Deserialize","client_sdk::models::aliases::ArchivedPartyId","client_sdk::models::aliases::ArchivedUserId","client_sdk::models::aliases::ArchivedRoleId","client_sdk::models::aliases::ArchivedRoomId","client_sdk::models::aliases::ArchivedMessageId","client_sdk::models::aliases::ArchivedEmoteId","client_sdk::models::aliases::ArchivedFileId","client_sdk::models::aliases::ArchivedInviteId","client_sdk::models::aliases::ArchivedThreadId","client_sdk::models::aliases::ArchivedFolderId"],["
source§

impl<__D: Fallible + ?Sized> Deserialize<CreatePinFolderForm, __D> for Archived<CreatePinFolderForm>
where\n SmolStr: Archive,\n <SmolStr as Archive>::Archived: Deserialize<SmolStr, __D>,\n Option<SmolStr>: Archive,\n <Option<SmolStr> as Archive>::Archived: Deserialize<Option<SmolStr>, __D>,

source§

fn deserialize(\n &self,\n deserializer: &mut __D,\n) -> Result<CreatePinFolderForm, <__D as Fallible>::Error>

Deserializes using the given deserializer
","Deserialize","client_sdk::models::aliases::ArchivedPartyId","client_sdk::models::aliases::ArchivedUserId","client_sdk::models::aliases::ArchivedRoleId","client_sdk::models::aliases::ArchivedRoomId","client_sdk::models::aliases::ArchivedMessageId","client_sdk::models::aliases::ArchivedEmoteId","client_sdk::models::aliases::ArchivedFileId","client_sdk::models::aliases::ArchivedInviteId","client_sdk::models::aliases::ArchivedThreadId","client_sdk::models::aliases::ArchivedFolderId"],["
source§

impl<__D: Fallible + ?Sized> Deserialize<CreateRole, __D> for Archived<CreateRole>
where\n PartyId: Archive,\n <PartyId as Archive>::Archived: Deserialize<PartyId, __D>,\n CreateRoleForm: Archive,\n <CreateRoleForm as Archive>::Archived: Deserialize<CreateRoleForm, __D>,

source§

fn deserialize(\n &self,\n deserializer: &mut __D,\n) -> Result<CreateRole, <__D as Fallible>::Error>

Deserializes using the given deserializer
","Deserialize","client_sdk::models::aliases::ArchivedPartyId","client_sdk::models::aliases::ArchivedUserId","client_sdk::models::aliases::ArchivedRoleId","client_sdk::models::aliases::ArchivedRoomId","client_sdk::models::aliases::ArchivedMessageId","client_sdk::models::aliases::ArchivedEmoteId","client_sdk::models::aliases::ArchivedFileId","client_sdk::models::aliases::ArchivedInviteId","client_sdk::models::aliases::ArchivedThreadId","client_sdk::models::aliases::ArchivedFolderId"],["
source§

impl<__D: Fallible + ?Sized> Deserialize<CreateRoleForm, __D> for Archived<CreateRoleForm>
where\n SmolStr: Archive,\n <SmolStr as Archive>::Archived: Deserialize<SmolStr, __D>,

source§

fn deserialize(\n &self,\n deserializer: &mut __D,\n) -> Result<CreateRoleForm, <__D as Fallible>::Error>

Deserializes using the given deserializer
","Deserialize","client_sdk::models::aliases::ArchivedPartyId","client_sdk::models::aliases::ArchivedUserId","client_sdk::models::aliases::ArchivedRoleId","client_sdk::models::aliases::ArchivedRoomId","client_sdk::models::aliases::ArchivedMessageId","client_sdk::models::aliases::ArchivedEmoteId","client_sdk::models::aliases::ArchivedFileId","client_sdk::models::aliases::ArchivedInviteId","client_sdk::models::aliases::ArchivedThreadId","client_sdk::models::aliases::ArchivedFolderId"],["
source§

impl<__D: Fallible + ?Sized> Deserialize<CreateRoom, __D> for Archived<CreateRoom>
where\n PartyId: Archive,\n <PartyId as Archive>::Archived: Deserialize<PartyId, __D>,\n CreateRoomForm: Archive,\n <CreateRoomForm as Archive>::Archived: Deserialize<CreateRoomForm, __D>,

source§

fn deserialize(\n &self,\n deserializer: &mut __D,\n) -> Result<CreateRoom, <__D as Fallible>::Error>

Deserializes using the given deserializer
","Deserialize","client_sdk::models::aliases::ArchivedPartyId","client_sdk::models::aliases::ArchivedUserId","client_sdk::models::aliases::ArchivedRoleId","client_sdk::models::aliases::ArchivedRoomId","client_sdk::models::aliases::ArchivedMessageId","client_sdk::models::aliases::ArchivedEmoteId","client_sdk::models::aliases::ArchivedFileId","client_sdk::models::aliases::ArchivedInviteId","client_sdk::models::aliases::ArchivedThreadId","client_sdk::models::aliases::ArchivedFolderId"],["
source§

impl<__D: Fallible + ?Sized> Deserialize<CreateRoomForm, __D> for Archived<CreateRoomForm>
where\n SmolStr: Archive,\n <SmolStr as Archive>::Archived: Deserialize<SmolStr, __D>,\n Option<SmolStr>: Archive,\n <Option<SmolStr> as Archive>::Archived: Deserialize<Option<SmolStr>, __D>,\n CreateRoomKind: Archive,\n <CreateRoomKind as Archive>::Archived: Deserialize<CreateRoomKind, __D>,\n ThinVec<Overwrite>: Archive,\n <ThinVec<Overwrite> as Archive>::Archived: Deserialize<ThinVec<Overwrite>, __D>,\n i16: Archive,\n <i16 as Archive>::Archived: Deserialize<i16, __D>,

source§

fn deserialize(\n &self,\n deserializer: &mut __D,\n) -> Result<CreateRoomForm, <__D as Fallible>::Error>

Deserializes using the given deserializer
","Deserialize","client_sdk::models::aliases::ArchivedPartyId","client_sdk::models::aliases::ArchivedUserId","client_sdk::models::aliases::ArchivedRoleId","client_sdk::models::aliases::ArchivedRoomId","client_sdk::models::aliases::ArchivedMessageId","client_sdk::models::aliases::ArchivedEmoteId","client_sdk::models::aliases::ArchivedFileId","client_sdk::models::aliases::ArchivedInviteId","client_sdk::models::aliases::ArchivedThreadId","client_sdk::models::aliases::ArchivedFolderId"],["
source§

impl<__D: Fallible + ?Sized> Deserialize<Cursor, __D> for Archived<Cursor>
where\n Snowflake: Archive,\n <Snowflake as Archive>::Archived: Deserialize<Snowflake, __D>,

source§

fn deserialize(\n &self,\n deserializer: &mut __D,\n) -> Result<Cursor, <__D as Fallible>::Error>

Deserializes using the given deserializer
","Deserialize","client_sdk::models::aliases::ArchivedPartyId","client_sdk::models::aliases::ArchivedUserId","client_sdk::models::aliases::ArchivedRoleId","client_sdk::models::aliases::ArchivedRoomId","client_sdk::models::aliases::ArchivedMessageId","client_sdk::models::aliases::ArchivedEmoteId","client_sdk::models::aliases::ArchivedFileId","client_sdk::models::aliases::ArchivedInviteId","client_sdk::models::aliases::ArchivedThreadId","client_sdk::models::aliases::ArchivedFolderId"],["
source§

impl<__D: Fallible + ?Sized> Deserialize<CustomEmote, __D> for Archived<CustomEmote>
where\n EmoteId: Archive,\n <EmoteId as Archive>::Archived: Deserialize<EmoteId, __D>,\n PartyId: Archive,\n <PartyId as Archive>::Archived: Deserialize<PartyId, __D>,\n FileId: Archive,\n <FileId as Archive>::Archived: Deserialize<FileId, __D>,\n SmolStr: Archive,\n <SmolStr as Archive>::Archived: Deserialize<SmolStr, __D>,\n EmoteFlags: Archive,\n <EmoteFlags as Archive>::Archived: Deserialize<EmoteFlags, __D>,\n f32: Archive,\n <f32 as Archive>::Archived: Deserialize<f32, __D>,

source§

fn deserialize(\n &self,\n deserializer: &mut __D,\n) -> Result<CustomEmote, <__D as Fallible>::Error>

Deserializes using the given deserializer
","Deserialize","client_sdk::models::aliases::ArchivedPartyId","client_sdk::models::aliases::ArchivedUserId","client_sdk::models::aliases::ArchivedRoleId","client_sdk::models::aliases::ArchivedRoomId","client_sdk::models::aliases::ArchivedMessageId","client_sdk::models::aliases::ArchivedEmoteId","client_sdk::models::aliases::ArchivedFileId","client_sdk::models::aliases::ArchivedInviteId","client_sdk::models::aliases::ArchivedThreadId","client_sdk::models::aliases::ArchivedFolderId"],["
source§

impl<__D: Fallible + ?Sized> Deserialize<DeleteAllReactions, __D> for Archived<DeleteAllReactions>
where\n RoomId: Archive,\n <RoomId as Archive>::Archived: Deserialize<RoomId, __D>,\n MessageId: Archive,\n <MessageId as Archive>::Archived: Deserialize<MessageId, __D>,

source§

fn deserialize(\n &self,\n deserializer: &mut __D,\n) -> Result<DeleteAllReactions, <__D as Fallible>::Error>

Deserializes using the given deserializer
","Deserialize","client_sdk::models::aliases::ArchivedPartyId","client_sdk::models::aliases::ArchivedUserId","client_sdk::models::aliases::ArchivedRoleId","client_sdk::models::aliases::ArchivedRoomId","client_sdk::models::aliases::ArchivedMessageId","client_sdk::models::aliases::ArchivedEmoteId","client_sdk::models::aliases::ArchivedFileId","client_sdk::models::aliases::ArchivedInviteId","client_sdk::models::aliases::ArchivedThreadId","client_sdk::models::aliases::ArchivedFolderId"],["
source§

impl<__D: Fallible + ?Sized> Deserialize<DeleteMessage, __D> for Archived<DeleteMessage>
where\n RoomId: Archive,\n <RoomId as Archive>::Archived: Deserialize<RoomId, __D>,\n MessageId: Archive,\n <MessageId as Archive>::Archived: Deserialize<MessageId, __D>,

source§

fn deserialize(\n &self,\n deserializer: &mut __D,\n) -> Result<DeleteMessage, <__D as Fallible>::Error>

Deserializes using the given deserializer
","Deserialize","client_sdk::models::aliases::ArchivedPartyId","client_sdk::models::aliases::ArchivedUserId","client_sdk::models::aliases::ArchivedRoleId","client_sdk::models::aliases::ArchivedRoomId","client_sdk::models::aliases::ArchivedMessageId","client_sdk::models::aliases::ArchivedEmoteId","client_sdk::models::aliases::ArchivedFileId","client_sdk::models::aliases::ArchivedInviteId","client_sdk::models::aliases::ArchivedThreadId","client_sdk::models::aliases::ArchivedFolderId"],["
source§

impl<__D: Fallible + ?Sized> Deserialize<DeleteOwnReaction, __D> for Archived<DeleteOwnReaction>
where\n RoomId: Archive,\n <RoomId as Archive>::Archived: Deserialize<RoomId, __D>,\n MessageId: Archive,\n <MessageId as Archive>::Archived: Deserialize<MessageId, __D>,\n EmoteOrEmoji: Archive,\n <EmoteOrEmoji as Archive>::Archived: Deserialize<EmoteOrEmoji, __D>,

source§

fn deserialize(\n &self,\n deserializer: &mut __D,\n) -> Result<DeleteOwnReaction, <__D as Fallible>::Error>

Deserializes using the given deserializer
","Deserialize","client_sdk::models::aliases::ArchivedPartyId","client_sdk::models::aliases::ArchivedUserId","client_sdk::models::aliases::ArchivedRoleId","client_sdk::models::aliases::ArchivedRoomId","client_sdk::models::aliases::ArchivedMessageId","client_sdk::models::aliases::ArchivedEmoteId","client_sdk::models::aliases::ArchivedFileId","client_sdk::models::aliases::ArchivedInviteId","client_sdk::models::aliases::ArchivedThreadId","client_sdk::models::aliases::ArchivedFolderId"],["
source§

impl<__D: Fallible + ?Sized> Deserialize<DeleteParty, __D> for Archived<DeleteParty>
where\n PartyId: Archive,\n <PartyId as Archive>::Archived: Deserialize<PartyId, __D>,

source§

fn deserialize(\n &self,\n deserializer: &mut __D,\n) -> Result<DeleteParty, <__D as Fallible>::Error>

Deserializes using the given deserializer
","Deserialize","client_sdk::models::aliases::ArchivedPartyId","client_sdk::models::aliases::ArchivedUserId","client_sdk::models::aliases::ArchivedRoleId","client_sdk::models::aliases::ArchivedRoomId","client_sdk::models::aliases::ArchivedMessageId","client_sdk::models::aliases::ArchivedEmoteId","client_sdk::models::aliases::ArchivedFileId","client_sdk::models::aliases::ArchivedInviteId","client_sdk::models::aliases::ArchivedThreadId","client_sdk::models::aliases::ArchivedFolderId"],["
source§

impl<__D: Fallible + ?Sized> Deserialize<DeleteRole, __D> for Archived<DeleteRole>
where\n PartyId: Archive,\n <PartyId as Archive>::Archived: Deserialize<PartyId, __D>,\n RoleId: Archive,\n <RoleId as Archive>::Archived: Deserialize<RoleId, __D>,

source§

fn deserialize(\n &self,\n deserializer: &mut __D,\n) -> Result<DeleteRole, <__D as Fallible>::Error>

Deserializes using the given deserializer
","Deserialize","client_sdk::models::aliases::ArchivedPartyId","client_sdk::models::aliases::ArchivedUserId","client_sdk::models::aliases::ArchivedRoleId","client_sdk::models::aliases::ArchivedRoomId","client_sdk::models::aliases::ArchivedMessageId","client_sdk::models::aliases::ArchivedEmoteId","client_sdk::models::aliases::ArchivedFileId","client_sdk::models::aliases::ArchivedInviteId","client_sdk::models::aliases::ArchivedThreadId","client_sdk::models::aliases::ArchivedFolderId"],["
source§

impl<__D: Fallible + ?Sized> Deserialize<DeleteRoom, __D> for Archived<DeleteRoom>
where\n RoomId: Archive,\n <RoomId as Archive>::Archived: Deserialize<RoomId, __D>,

source§

fn deserialize(\n &self,\n deserializer: &mut __D,\n) -> Result<DeleteRoom, <__D as Fallible>::Error>

Deserializes using the given deserializer
","Deserialize","client_sdk::models::aliases::ArchivedPartyId","client_sdk::models::aliases::ArchivedUserId","client_sdk::models::aliases::ArchivedRoleId","client_sdk::models::aliases::ArchivedRoomId","client_sdk::models::aliases::ArchivedMessageId","client_sdk::models::aliases::ArchivedEmoteId","client_sdk::models::aliases::ArchivedFileId","client_sdk::models::aliases::ArchivedInviteId","client_sdk::models::aliases::ArchivedThreadId","client_sdk::models::aliases::ArchivedFolderId"],["
source§

impl<__D: Fallible + ?Sized> Deserialize<DeleteUserReaction, __D> for Archived<DeleteUserReaction>
where\n RoomId: Archive,\n <RoomId as Archive>::Archived: Deserialize<RoomId, __D>,\n MessageId: Archive,\n <MessageId as Archive>::Archived: Deserialize<MessageId, __D>,\n EmoteOrEmoji: Archive,\n <EmoteOrEmoji as Archive>::Archived: Deserialize<EmoteOrEmoji, __D>,\n UserId: Archive,\n <UserId as Archive>::Archived: Deserialize<UserId, __D>,

source§

fn deserialize(\n &self,\n deserializer: &mut __D,\n) -> Result<DeleteUserReaction, <__D as Fallible>::Error>

Deserializes using the given deserializer
","Deserialize","client_sdk::models::aliases::ArchivedPartyId","client_sdk::models::aliases::ArchivedUserId","client_sdk::models::aliases::ArchivedRoleId","client_sdk::models::aliases::ArchivedRoomId","client_sdk::models::aliases::ArchivedMessageId","client_sdk::models::aliases::ArchivedEmoteId","client_sdk::models::aliases::ArchivedFileId","client_sdk::models::aliases::ArchivedInviteId","client_sdk::models::aliases::ArchivedThreadId","client_sdk::models::aliases::ArchivedFolderId"],["
source§

impl<__D: Fallible + ?Sized> Deserialize<EditMessage, __D> for Archived<EditMessage>
where\n RoomId: Archive,\n <RoomId as Archive>::Archived: Deserialize<RoomId, __D>,\n MessageId: Archive,\n <MessageId as Archive>::Archived: Deserialize<MessageId, __D>,\n EditMessageBody: Archive,\n <EditMessageBody as Archive>::Archived: Deserialize<EditMessageBody, __D>,

source§

fn deserialize(\n &self,\n deserializer: &mut __D,\n) -> Result<EditMessage, <__D as Fallible>::Error>

Deserializes using the given deserializer
","Deserialize","client_sdk::models::aliases::ArchivedPartyId","client_sdk::models::aliases::ArchivedUserId","client_sdk::models::aliases::ArchivedRoleId","client_sdk::models::aliases::ArchivedRoomId","client_sdk::models::aliases::ArchivedMessageId","client_sdk::models::aliases::ArchivedEmoteId","client_sdk::models::aliases::ArchivedFileId","client_sdk::models::aliases::ArchivedInviteId","client_sdk::models::aliases::ArchivedThreadId","client_sdk::models::aliases::ArchivedFolderId"],["
source§

impl<__D: Fallible + ?Sized> Deserialize<EditMessageBody, __D> for Archived<EditMessageBody>
where\n SmolStr: Archive,\n <SmolStr as Archive>::Archived: Deserialize<SmolStr, __D>,\n ThinVec<FileId>: Archive,\n <ThinVec<FileId> as Archive>::Archived: Deserialize<ThinVec<FileId>, __D>,

source§

fn deserialize(\n &self,\n deserializer: &mut __D,\n) -> Result<EditMessageBody, <__D as Fallible>::Error>

Deserializes using the given deserializer
","Deserialize","client_sdk::models::aliases::ArchivedPartyId","client_sdk::models::aliases::ArchivedUserId","client_sdk::models::aliases::ArchivedRoleId","client_sdk::models::aliases::ArchivedRoomId","client_sdk::models::aliases::ArchivedMessageId","client_sdk::models::aliases::ArchivedEmoteId","client_sdk::models::aliases::ArchivedFileId","client_sdk::models::aliases::ArchivedInviteId","client_sdk::models::aliases::ArchivedThreadId","client_sdk::models::aliases::ArchivedFolderId"],["
source§

impl<__D: Fallible + ?Sized> Deserialize<Embed, __D> for Archived<Embed>
where\n EmbedV1: Archive,\n <EmbedV1 as Archive>::Archived: Deserialize<EmbedV1, __D>,

source§

fn deserialize(\n &self,\n deserializer: &mut __D,\n) -> Result<Embed, <__D as Fallible>::Error>

Deserializes using the given deserializer
","Deserialize","client_sdk::models::aliases::ArchivedPartyId","client_sdk::models::aliases::ArchivedUserId","client_sdk::models::aliases::ArchivedRoleId","client_sdk::models::aliases::ArchivedRoomId","client_sdk::models::aliases::ArchivedMessageId","client_sdk::models::aliases::ArchivedEmoteId","client_sdk::models::aliases::ArchivedFileId","client_sdk::models::aliases::ArchivedInviteId","client_sdk::models::aliases::ArchivedThreadId","client_sdk::models::aliases::ArchivedFolderId"],["
source§

impl<__D: Fallible + ?Sized> Deserialize<EmbedAuthor, __D> for Archived<EmbedAuthor>
where\n SmolStr: Archive,\n <SmolStr as Archive>::Archived: Deserialize<SmolStr, __D>,\n Option<ThinString>: Archive,\n <Option<ThinString> as Archive>::Archived: Deserialize<Option<ThinString>, __D>,\n Niche: ArchiveWith<Option<Box<EmbedMedia>>> + DeserializeWith<<Niche as ArchiveWith<Option<Box<EmbedMedia>>>>::Archived, Option<Box<EmbedMedia>>, __D>,

source§

fn deserialize(\n &self,\n deserializer: &mut __D,\n) -> Result<EmbedAuthor, <__D as Fallible>::Error>

Deserializes using the given deserializer
","Deserialize","client_sdk::models::aliases::ArchivedPartyId","client_sdk::models::aliases::ArchivedUserId","client_sdk::models::aliases::ArchivedRoleId","client_sdk::models::aliases::ArchivedRoomId","client_sdk::models::aliases::ArchivedMessageId","client_sdk::models::aliases::ArchivedEmoteId","client_sdk::models::aliases::ArchivedFileId","client_sdk::models::aliases::ArchivedInviteId","client_sdk::models::aliases::ArchivedThreadId","client_sdk::models::aliases::ArchivedFolderId"],["
source§

impl<__D: Fallible + ?Sized> Deserialize<EmbedField, __D> for Archived<EmbedField>
where\n SmolStr: Archive,\n <SmolStr as Archive>::Archived: Deserialize<SmolStr, __D>,\n Niche: ArchiveWith<Option<Box<EmbedMedia>>> + DeserializeWith<<Niche as ArchiveWith<Option<Box<EmbedMedia>>>>::Archived, Option<Box<EmbedMedia>>, __D>,\n bool: Archive,\n <bool as Archive>::Archived: Deserialize<bool, __D>,

source§

fn deserialize(\n &self,\n deserializer: &mut __D,\n) -> Result<EmbedField, <__D as Fallible>::Error>

Deserializes using the given deserializer
","Deserialize","client_sdk::models::aliases::ArchivedPartyId","client_sdk::models::aliases::ArchivedUserId","client_sdk::models::aliases::ArchivedRoleId","client_sdk::models::aliases::ArchivedRoomId","client_sdk::models::aliases::ArchivedMessageId","client_sdk::models::aliases::ArchivedEmoteId","client_sdk::models::aliases::ArchivedFileId","client_sdk::models::aliases::ArchivedInviteId","client_sdk::models::aliases::ArchivedThreadId","client_sdk::models::aliases::ArchivedFolderId"],["
source§

impl<__D: Fallible + ?Sized> Deserialize<EmbedFooter, __D> for Archived<EmbedFooter>
where\n ThinString: Archive,\n <ThinString as Archive>::Archived: Deserialize<ThinString, __D>,\n Niche: ArchiveWith<Option<Box<EmbedMedia>>> + DeserializeWith<<Niche as ArchiveWith<Option<Box<EmbedMedia>>>>::Archived, Option<Box<EmbedMedia>>, __D>,

source§

fn deserialize(\n &self,\n deserializer: &mut __D,\n) -> Result<EmbedFooter, <__D as Fallible>::Error>

Deserializes using the given deserializer
","Deserialize","client_sdk::models::aliases::ArchivedPartyId","client_sdk::models::aliases::ArchivedUserId","client_sdk::models::aliases::ArchivedRoleId","client_sdk::models::aliases::ArchivedRoomId","client_sdk::models::aliases::ArchivedMessageId","client_sdk::models::aliases::ArchivedEmoteId","client_sdk::models::aliases::ArchivedFileId","client_sdk::models::aliases::ArchivedInviteId","client_sdk::models::aliases::ArchivedThreadId","client_sdk::models::aliases::ArchivedFolderId"],["
source§

impl<__D: Fallible + ?Sized> Deserialize<EmbedMedia, __D> for Archived<EmbedMedia>
where\n BasicEmbedMedia: Archive,\n <BasicEmbedMedia as Archive>::Archived: Deserialize<BasicEmbedMedia, __D>,\n Vec<BasicEmbedMedia>: Archive,\n <Vec<BasicEmbedMedia> as Archive>::Archived: Deserialize<Vec<BasicEmbedMedia>, __D>,

source§

fn deserialize(\n &self,\n deserializer: &mut __D,\n) -> Result<EmbedMedia, <__D as Fallible>::Error>

Deserializes using the given deserializer
","Deserialize","client_sdk::models::aliases::ArchivedPartyId","client_sdk::models::aliases::ArchivedUserId","client_sdk::models::aliases::ArchivedRoleId","client_sdk::models::aliases::ArchivedRoomId","client_sdk::models::aliases::ArchivedMessageId","client_sdk::models::aliases::ArchivedEmoteId","client_sdk::models::aliases::ArchivedFileId","client_sdk::models::aliases::ArchivedInviteId","client_sdk::models::aliases::ArchivedThreadId","client_sdk::models::aliases::ArchivedFolderId"],["
source§

impl<__D: Fallible + ?Sized> Deserialize<EmbedProvider, __D> for Archived<EmbedProvider>
where\n Option<SmolStr>: Archive,\n <Option<SmolStr> as Archive>::Archived: Deserialize<Option<SmolStr>, __D>,\n Option<ThinString>: Archive,\n <Option<ThinString> as Archive>::Archived: Deserialize<Option<ThinString>, __D>,\n Niche: ArchiveWith<Option<Box<EmbedMedia>>> + DeserializeWith<<Niche as ArchiveWith<Option<Box<EmbedMedia>>>>::Archived, Option<Box<EmbedMedia>>, __D>,

source§

fn deserialize(\n &self,\n deserializer: &mut __D,\n) -> Result<EmbedProvider, <__D as Fallible>::Error>

Deserializes using the given deserializer
","Deserialize","client_sdk::models::aliases::ArchivedPartyId","client_sdk::models::aliases::ArchivedUserId","client_sdk::models::aliases::ArchivedRoleId","client_sdk::models::aliases::ArchivedRoomId","client_sdk::models::aliases::ArchivedMessageId","client_sdk::models::aliases::ArchivedEmoteId","client_sdk::models::aliases::ArchivedFileId","client_sdk::models::aliases::ArchivedInviteId","client_sdk::models::aliases::ArchivedThreadId","client_sdk::models::aliases::ArchivedFolderId"],["
source§

impl<__D: Fallible + ?Sized> Deserialize<EmbedType, __D> for Archived<EmbedType>

source§

fn deserialize(\n &self,\n deserializer: &mut __D,\n) -> Result<EmbedType, <__D as Fallible>::Error>

Deserializes using the given deserializer
","Deserialize","client_sdk::models::aliases::ArchivedPartyId","client_sdk::models::aliases::ArchivedUserId","client_sdk::models::aliases::ArchivedRoleId","client_sdk::models::aliases::ArchivedRoomId","client_sdk::models::aliases::ArchivedMessageId","client_sdk::models::aliases::ArchivedEmoteId","client_sdk::models::aliases::ArchivedFileId","client_sdk::models::aliases::ArchivedInviteId","client_sdk::models::aliases::ArchivedThreadId","client_sdk::models::aliases::ArchivedFolderId"],["
source§

impl<__D: Fallible + ?Sized> Deserialize<EmbedV1, __D> for Archived<EmbedV1>
where\n Timestamp: Archive,\n <Timestamp as Archive>::Archived: Deserialize<Timestamp, __D>,\n EmbedType: Archive,\n <EmbedType as Archive>::Archived: Deserialize<EmbedType, __D>,\n EmbedFlags: Archive,\n <EmbedFlags as Archive>::Archived: Deserialize<EmbedFlags, __D>,\n Option<ThinString>: Archive,\n <Option<ThinString> as Archive>::Archived: Deserialize<Option<ThinString>, __D>,\n Option<u32>: Archive,\n <Option<u32> as Archive>::Archived: Deserialize<Option<u32>, __D>,\n Option<EmbedAuthor>: Archive,\n <Option<EmbedAuthor> as Archive>::Archived: Deserialize<Option<EmbedAuthor>, __D>,\n EmbedProvider: Archive,\n <EmbedProvider as Archive>::Archived: Deserialize<EmbedProvider, __D>,\n Niche: ArchiveWith<Option<Box<EmbedMedia>>> + DeserializeWith<<Niche as ArchiveWith<Option<Box<EmbedMedia>>>>::Archived, Option<Box<EmbedMedia>>, __D>,\n Vec<EmbedField>: Archive,\n <Vec<EmbedField> as Archive>::Archived: Deserialize<Vec<EmbedField>, __D>,\n Option<EmbedFooter>: Archive,\n <Option<EmbedFooter> as Archive>::Archived: Deserialize<Option<EmbedFooter>, __D>,

source§

fn deserialize(\n &self,\n deserializer: &mut __D,\n) -> Result<EmbedV1, <__D as Fallible>::Error>

Deserializes using the given deserializer
","Deserialize","client_sdk::models::aliases::ArchivedPartyId","client_sdk::models::aliases::ArchivedUserId","client_sdk::models::aliases::ArchivedRoleId","client_sdk::models::aliases::ArchivedRoomId","client_sdk::models::aliases::ArchivedMessageId","client_sdk::models::aliases::ArchivedEmoteId","client_sdk::models::aliases::ArchivedFileId","client_sdk::models::aliases::ArchivedInviteId","client_sdk::models::aliases::ArchivedThreadId","client_sdk::models::aliases::ArchivedFolderId"],["
source§

impl<__D: Fallible + ?Sized> Deserialize<Emote, __D> for Archived<Emote>
where\n SmolStr: Archive,\n <SmolStr as Archive>::Archived: Deserialize<SmolStr, __D>,\n CustomEmote: Archive,\n <CustomEmote as Archive>::Archived: Deserialize<CustomEmote, __D>,

source§

fn deserialize(\n &self,\n deserializer: &mut __D,\n) -> Result<Emote, <__D as Fallible>::Error>

Deserializes using the given deserializer
","Deserialize","client_sdk::models::aliases::ArchivedPartyId","client_sdk::models::aliases::ArchivedUserId","client_sdk::models::aliases::ArchivedRoleId","client_sdk::models::aliases::ArchivedRoomId","client_sdk::models::aliases::ArchivedMessageId","client_sdk::models::aliases::ArchivedEmoteId","client_sdk::models::aliases::ArchivedFileId","client_sdk::models::aliases::ArchivedInviteId","client_sdk::models::aliases::ArchivedThreadId","client_sdk::models::aliases::ArchivedFolderId"],["
source§

impl<__D: Fallible + ?Sized> Deserialize<EmoteOrEmoji, __D> for Archived<EmoteOrEmoji>
where\n EmoteId: Archive,\n <EmoteId as Archive>::Archived: Deserialize<EmoteId, __D>,\n SmolStr: Archive,\n <SmolStr as Archive>::Archived: Deserialize<SmolStr, __D>,

source§

fn deserialize(\n &self,\n deserializer: &mut __D,\n) -> Result<EmoteOrEmoji, <__D as Fallible>::Error>

Deserializes using the given deserializer
","Deserialize","client_sdk::models::aliases::ArchivedPartyId","client_sdk::models::aliases::ArchivedUserId","client_sdk::models::aliases::ArchivedRoleId","client_sdk::models::aliases::ArchivedRoomId","client_sdk::models::aliases::ArchivedMessageId","client_sdk::models::aliases::ArchivedEmoteId","client_sdk::models::aliases::ArchivedFileId","client_sdk::models::aliases::ArchivedInviteId","client_sdk::models::aliases::ArchivedThreadId","client_sdk::models::aliases::ArchivedFolderId"],["
source§

impl<__D: Fallible + ?Sized> Deserialize<Enable2FA, __D> for Archived<Enable2FA>
where\n Enable2FAForm: Archive,\n <Enable2FAForm as Archive>::Archived: Deserialize<Enable2FAForm, __D>,

source§

fn deserialize(\n &self,\n deserializer: &mut __D,\n) -> Result<Enable2FA, <__D as Fallible>::Error>

Deserializes using the given deserializer
","Deserialize","client_sdk::models::aliases::ArchivedPartyId","client_sdk::models::aliases::ArchivedUserId","client_sdk::models::aliases::ArchivedRoleId","client_sdk::models::aliases::ArchivedRoomId","client_sdk::models::aliases::ArchivedMessageId","client_sdk::models::aliases::ArchivedEmoteId","client_sdk::models::aliases::ArchivedFileId","client_sdk::models::aliases::ArchivedInviteId","client_sdk::models::aliases::ArchivedThreadId","client_sdk::models::aliases::ArchivedFolderId"],["
source§

impl<__D: Fallible + ?Sized> Deserialize<Enable2FAForm, __D> for Archived<Enable2FAForm>
where\n SmolStr: Archive,\n <SmolStr as Archive>::Archived: Deserialize<SmolStr, __D>,\n String: Archive,\n <String as Archive>::Archived: Deserialize<String, __D>,

source§

fn deserialize(\n &self,\n deserializer: &mut __D,\n) -> Result<Enable2FAForm, <__D as Fallible>::Error>

Deserializes using the given deserializer
","Deserialize","client_sdk::models::aliases::ArchivedPartyId","client_sdk::models::aliases::ArchivedUserId","client_sdk::models::aliases::ArchivedRoleId","client_sdk::models::aliases::ArchivedRoomId","client_sdk::models::aliases::ArchivedMessageId","client_sdk::models::aliases::ArchivedEmoteId","client_sdk::models::aliases::ArchivedFileId","client_sdk::models::aliases::ArchivedInviteId","client_sdk::models::aliases::ArchivedThreadId","client_sdk::models::aliases::ArchivedFolderId"],["
source§

impl<__D: Fallible + ?Sized> Deserialize<File, __D> for Archived<File>
where\n FileId: Archive,\n <FileId as Archive>::Archived: Deserialize<FileId, __D>,\n SmolStr: Archive,\n <SmolStr as Archive>::Archived: Deserialize<SmolStr, __D>,\n i64: Archive,\n <i64 as Archive>::Archived: Deserialize<i64, __D>,\n Option<SmolStr>: Archive,\n <Option<SmolStr> as Archive>::Archived: Deserialize<Option<SmolStr>, __D>,\n Option<i32>: Archive,\n <Option<i32> as Archive>::Archived: Deserialize<Option<i32>, __D>,\n Option<ThinString>: Archive,\n <Option<ThinString> as Archive>::Archived: Deserialize<Option<ThinString>, __D>,

source§

fn deserialize(\n &self,\n deserializer: &mut __D,\n) -> Result<File, <__D as Fallible>::Error>

Deserializes using the given deserializer
","Deserialize","client_sdk::models::aliases::ArchivedPartyId","client_sdk::models::aliases::ArchivedUserId","client_sdk::models::aliases::ArchivedRoleId","client_sdk::models::aliases::ArchivedRoomId","client_sdk::models::aliases::ArchivedMessageId","client_sdk::models::aliases::ArchivedEmoteId","client_sdk::models::aliases::ArchivedFileId","client_sdk::models::aliases::ArchivedInviteId","client_sdk::models::aliases::ArchivedThreadId","client_sdk::models::aliases::ArchivedFolderId"],["
source§

impl<__D: Fallible + ?Sized> Deserialize<FileStatus, __D> for Archived<FileStatus>
where\n u32: Archive,\n <u32 as Archive>::Archived: Deserialize<u32, __D>,\n u64: Archive,\n <u64 as Archive>::Archived: Deserialize<u64, __D>,

source§

fn deserialize(\n &self,\n deserializer: &mut __D,\n) -> Result<FileStatus, <__D as Fallible>::Error>

Deserializes using the given deserializer
","Deserialize","client_sdk::models::aliases::ArchivedPartyId","client_sdk::models::aliases::ArchivedUserId","client_sdk::models::aliases::ArchivedRoleId","client_sdk::models::aliases::ArchivedRoomId","client_sdk::models::aliases::ArchivedMessageId","client_sdk::models::aliases::ArchivedEmoteId","client_sdk::models::aliases::ArchivedFileId","client_sdk::models::aliases::ArchivedInviteId","client_sdk::models::aliases::ArchivedThreadId","client_sdk::models::aliases::ArchivedFolderId"],["
source§

impl<__D: Fallible + ?Sized> Deserialize<FilesystemStatus, __D> for Archived<FilesystemStatus>
where\n i64: Archive,\n <i64 as Archive>::Archived: Deserialize<i64, __D>,

source§

fn deserialize(\n &self,\n deserializer: &mut __D,\n) -> Result<FilesystemStatus, <__D as Fallible>::Error>

Deserializes using the given deserializer
","Deserialize","client_sdk::models::aliases::ArchivedPartyId","client_sdk::models::aliases::ArchivedUserId","client_sdk::models::aliases::ArchivedRoleId","client_sdk::models::aliases::ArchivedRoomId","client_sdk::models::aliases::ArchivedMessageId","client_sdk::models::aliases::ArchivedEmoteId","client_sdk::models::aliases::ArchivedFileId","client_sdk::models::aliases::ArchivedInviteId","client_sdk::models::aliases::ArchivedThreadId","client_sdk::models::aliases::ArchivedFolderId"],["
source§

impl<__D: Fallible + ?Sized> Deserialize<FontSize, __D> for Archived<FontSize>
where\n f32: Archive,\n <f32 as Archive>::Archived: Deserialize<f32, __D>,

source§

fn deserialize(\n &self,\n deserializer: &mut __D,\n) -> Result<FontSize, <__D as Fallible>::Error>

Deserializes using the given deserializer
","Deserialize","client_sdk::models::aliases::ArchivedPartyId","client_sdk::models::aliases::ArchivedUserId","client_sdk::models::aliases::ArchivedRoleId","client_sdk::models::aliases::ArchivedRoomId","client_sdk::models::aliases::ArchivedMessageId","client_sdk::models::aliases::ArchivedEmoteId","client_sdk::models::aliases::ArchivedFileId","client_sdk::models::aliases::ArchivedInviteId","client_sdk::models::aliases::ArchivedThreadId","client_sdk::models::aliases::ArchivedFolderId"],["
source§

impl<__D: Fallible + ?Sized> Deserialize<FullRoom, __D> for Archived<FullRoom>
where\n Room: Archive,\n <Room as Archive>::Archived: Deserialize<Room, __D>,\n Permissions: Archive,\n <Permissions as Archive>::Archived: Deserialize<Permissions, __D>,

source§

fn deserialize(\n &self,\n deserializer: &mut __D,\n) -> Result<FullRoom, <__D as Fallible>::Error>

Deserializes using the given deserializer
","Deserialize","client_sdk::models::aliases::ArchivedPartyId","client_sdk::models::aliases::ArchivedUserId","client_sdk::models::aliases::ArchivedRoleId","client_sdk::models::aliases::ArchivedRoomId","client_sdk::models::aliases::ArchivedMessageId","client_sdk::models::aliases::ArchivedEmoteId","client_sdk::models::aliases::ArchivedFileId","client_sdk::models::aliases::ArchivedInviteId","client_sdk::models::aliases::ArchivedThreadId","client_sdk::models::aliases::ArchivedFolderId"],["
source§

impl<__D: Fallible + ?Sized> Deserialize<GetFileStatus, __D> for Archived<GetFileStatus>
where\n FileId: Archive,\n <FileId as Archive>::Archived: Deserialize<FileId, __D>,

source§

fn deserialize(\n &self,\n deserializer: &mut __D,\n) -> Result<GetFileStatus, <__D as Fallible>::Error>

Deserializes using the given deserializer
","Deserialize","client_sdk::models::aliases::ArchivedPartyId","client_sdk::models::aliases::ArchivedUserId","client_sdk::models::aliases::ArchivedRoleId","client_sdk::models::aliases::ArchivedRoomId","client_sdk::models::aliases::ArchivedMessageId","client_sdk::models::aliases::ArchivedEmoteId","client_sdk::models::aliases::ArchivedFileId","client_sdk::models::aliases::ArchivedInviteId","client_sdk::models::aliases::ArchivedThreadId","client_sdk::models::aliases::ArchivedFolderId"],["
source§

impl<__D: Fallible + ?Sized> Deserialize<GetFilesystemStatus, __D> for Archived<GetFilesystemStatus>

source§

fn deserialize(\n &self,\n deserializer: &mut __D,\n) -> Result<GetFilesystemStatus, <__D as Fallible>::Error>

Deserializes using the given deserializer
","Deserialize","client_sdk::models::aliases::ArchivedPartyId","client_sdk::models::aliases::ArchivedUserId","client_sdk::models::aliases::ArchivedRoleId","client_sdk::models::aliases::ArchivedRoomId","client_sdk::models::aliases::ArchivedMessageId","client_sdk::models::aliases::ArchivedEmoteId","client_sdk::models::aliases::ArchivedFileId","client_sdk::models::aliases::ArchivedInviteId","client_sdk::models::aliases::ArchivedThreadId","client_sdk::models::aliases::ArchivedFolderId"],["
source§

impl<__D: Fallible + ?Sized> Deserialize<GetInvite, __D> for Archived<GetInvite>
where\n SmolStr: Archive,\n <SmolStr as Archive>::Archived: Deserialize<SmolStr, __D>,

source§

fn deserialize(\n &self,\n deserializer: &mut __D,\n) -> Result<GetInvite, <__D as Fallible>::Error>

Deserializes using the given deserializer
","Deserialize","client_sdk::models::aliases::ArchivedPartyId","client_sdk::models::aliases::ArchivedUserId","client_sdk::models::aliases::ArchivedRoleId","client_sdk::models::aliases::ArchivedRoomId","client_sdk::models::aliases::ArchivedMessageId","client_sdk::models::aliases::ArchivedEmoteId","client_sdk::models::aliases::ArchivedFileId","client_sdk::models::aliases::ArchivedInviteId","client_sdk::models::aliases::ArchivedThreadId","client_sdk::models::aliases::ArchivedFolderId"],["
source§

impl<__D: Fallible + ?Sized> Deserialize<GetMemberProfile, __D> for Archived<GetMemberProfile>
where\n PartyId: Archive,\n <PartyId as Archive>::Archived: Deserialize<PartyId, __D>,\n UserId: Archive,\n <UserId as Archive>::Archived: Deserialize<UserId, __D>,

source§

fn deserialize(\n &self,\n deserializer: &mut __D,\n) -> Result<GetMemberProfile, <__D as Fallible>::Error>

Deserializes using the given deserializer
","Deserialize","client_sdk::models::aliases::ArchivedPartyId","client_sdk::models::aliases::ArchivedUserId","client_sdk::models::aliases::ArchivedRoleId","client_sdk::models::aliases::ArchivedRoomId","client_sdk::models::aliases::ArchivedMessageId","client_sdk::models::aliases::ArchivedEmoteId","client_sdk::models::aliases::ArchivedFileId","client_sdk::models::aliases::ArchivedInviteId","client_sdk::models::aliases::ArchivedThreadId","client_sdk::models::aliases::ArchivedFolderId"],["
source§

impl<__D: Fallible + ?Sized> Deserialize<GetMessage, __D> for Archived<GetMessage>
where\n RoomId: Archive,\n <RoomId as Archive>::Archived: Deserialize<RoomId, __D>,\n MessageId: Archive,\n <MessageId as Archive>::Archived: Deserialize<MessageId, __D>,

source§

fn deserialize(\n &self,\n deserializer: &mut __D,\n) -> Result<GetMessage, <__D as Fallible>::Error>

Deserializes using the given deserializer
","Deserialize","client_sdk::models::aliases::ArchivedPartyId","client_sdk::models::aliases::ArchivedUserId","client_sdk::models::aliases::ArchivedRoleId","client_sdk::models::aliases::ArchivedRoomId","client_sdk::models::aliases::ArchivedMessageId","client_sdk::models::aliases::ArchivedEmoteId","client_sdk::models::aliases::ArchivedFileId","client_sdk::models::aliases::ArchivedInviteId","client_sdk::models::aliases::ArchivedThreadId","client_sdk::models::aliases::ArchivedFolderId"],["
source§

impl<__D: Fallible + ?Sized> Deserialize<GetMessages, __D> for Archived<GetMessages>
where\n RoomId: Archive,\n <RoomId as Archive>::Archived: Deserialize<RoomId, __D>,\n GetMessagesQuery: Archive,\n <GetMessagesQuery as Archive>::Archived: Deserialize<GetMessagesQuery, __D>,

source§

fn deserialize(\n &self,\n deserializer: &mut __D,\n) -> Result<GetMessages, <__D as Fallible>::Error>

Deserializes using the given deserializer
","Deserialize","client_sdk::models::aliases::ArchivedPartyId","client_sdk::models::aliases::ArchivedUserId","client_sdk::models::aliases::ArchivedRoleId","client_sdk::models::aliases::ArchivedRoomId","client_sdk::models::aliases::ArchivedMessageId","client_sdk::models::aliases::ArchivedEmoteId","client_sdk::models::aliases::ArchivedFileId","client_sdk::models::aliases::ArchivedInviteId","client_sdk::models::aliases::ArchivedThreadId","client_sdk::models::aliases::ArchivedFolderId"],["
source§

impl<__D: Fallible + ?Sized> Deserialize<GetMessagesQuery, __D> for Archived<GetMessagesQuery>
where\n Option<Cursor>: Archive,\n <Option<Cursor> as Archive>::Archived: Deserialize<Option<Cursor>, __D>,\n Option<MessageId>: Archive,\n <Option<MessageId> as Archive>::Archived: Deserialize<Option<MessageId>, __D>,\n Option<u8>: Archive,\n <Option<u8> as Archive>::Archived: Deserialize<Option<u8>, __D>,\n ThinVec<FolderId>: Archive,\n <ThinVec<FolderId> as Archive>::Archived: Deserialize<ThinVec<FolderId>, __D>,\n bool: Archive,\n <bool as Archive>::Archived: Deserialize<bool, __D>,\n u8: Archive,\n <u8 as Archive>::Archived: Deserialize<u8, __D>,

source§

fn deserialize(\n &self,\n deserializer: &mut __D,\n) -> Result<GetMessagesQuery, <__D as Fallible>::Error>

Deserializes using the given deserializer
","Deserialize","client_sdk::models::aliases::ArchivedPartyId","client_sdk::models::aliases::ArchivedUserId","client_sdk::models::aliases::ArchivedRoleId","client_sdk::models::aliases::ArchivedRoomId","client_sdk::models::aliases::ArchivedMessageId","client_sdk::models::aliases::ArchivedEmoteId","client_sdk::models::aliases::ArchivedFileId","client_sdk::models::aliases::ArchivedInviteId","client_sdk::models::aliases::ArchivedThreadId","client_sdk::models::aliases::ArchivedFolderId"],["
source§

impl<__D: Fallible + ?Sized> Deserialize<GetParty, __D> for Archived<GetParty>
where\n PartyId: Archive,\n <PartyId as Archive>::Archived: Deserialize<PartyId, __D>,

source§

fn deserialize(\n &self,\n deserializer: &mut __D,\n) -> Result<GetParty, <__D as Fallible>::Error>

Deserializes using the given deserializer
","Deserialize","client_sdk::models::aliases::ArchivedPartyId","client_sdk::models::aliases::ArchivedUserId","client_sdk::models::aliases::ArchivedRoleId","client_sdk::models::aliases::ArchivedRoomId","client_sdk::models::aliases::ArchivedMessageId","client_sdk::models::aliases::ArchivedEmoteId","client_sdk::models::aliases::ArchivedFileId","client_sdk::models::aliases::ArchivedInviteId","client_sdk::models::aliases::ArchivedThreadId","client_sdk::models::aliases::ArchivedFolderId"],["
source§

impl<__D: Fallible + ?Sized> Deserialize<GetPartyInvites, __D> for Archived<GetPartyInvites>
where\n PartyId: Archive,\n <PartyId as Archive>::Archived: Deserialize<PartyId, __D>,

source§

fn deserialize(\n &self,\n deserializer: &mut __D,\n) -> Result<GetPartyInvites, <__D as Fallible>::Error>

Deserializes using the given deserializer
","Deserialize","client_sdk::models::aliases::ArchivedPartyId","client_sdk::models::aliases::ArchivedUserId","client_sdk::models::aliases::ArchivedRoleId","client_sdk::models::aliases::ArchivedRoomId","client_sdk::models::aliases::ArchivedMessageId","client_sdk::models::aliases::ArchivedEmoteId","client_sdk::models::aliases::ArchivedFileId","client_sdk::models::aliases::ArchivedInviteId","client_sdk::models::aliases::ArchivedThreadId","client_sdk::models::aliases::ArchivedFolderId"],["
source§

impl<__D: Fallible + ?Sized> Deserialize<GetPartyMember, __D> for Archived<GetPartyMember>
where\n PartyId: Archive,\n <PartyId as Archive>::Archived: Deserialize<PartyId, __D>,\n UserId: Archive,\n <UserId as Archive>::Archived: Deserialize<UserId, __D>,

source§

fn deserialize(\n &self,\n deserializer: &mut __D,\n) -> Result<GetPartyMember, <__D as Fallible>::Error>

Deserializes using the given deserializer
","Deserialize","client_sdk::models::aliases::ArchivedPartyId","client_sdk::models::aliases::ArchivedUserId","client_sdk::models::aliases::ArchivedRoleId","client_sdk::models::aliases::ArchivedRoomId","client_sdk::models::aliases::ArchivedMessageId","client_sdk::models::aliases::ArchivedEmoteId","client_sdk::models::aliases::ArchivedFileId","client_sdk::models::aliases::ArchivedInviteId","client_sdk::models::aliases::ArchivedThreadId","client_sdk::models::aliases::ArchivedFolderId"],["
source§

impl<__D: Fallible + ?Sized> Deserialize<GetPartyMembers, __D> for Archived<GetPartyMembers>
where\n PartyId: Archive,\n <PartyId as Archive>::Archived: Deserialize<PartyId, __D>,

source§

fn deserialize(\n &self,\n deserializer: &mut __D,\n) -> Result<GetPartyMembers, <__D as Fallible>::Error>

Deserializes using the given deserializer
","Deserialize","client_sdk::models::aliases::ArchivedPartyId","client_sdk::models::aliases::ArchivedUserId","client_sdk::models::aliases::ArchivedRoleId","client_sdk::models::aliases::ArchivedRoomId","client_sdk::models::aliases::ArchivedMessageId","client_sdk::models::aliases::ArchivedEmoteId","client_sdk::models::aliases::ArchivedFileId","client_sdk::models::aliases::ArchivedInviteId","client_sdk::models::aliases::ArchivedThreadId","client_sdk::models::aliases::ArchivedFolderId"],["
source§

impl<__D: Fallible + ?Sized> Deserialize<GetPartyRooms, __D> for Archived<GetPartyRooms>
where\n PartyId: Archive,\n <PartyId as Archive>::Archived: Deserialize<PartyId, __D>,

source§

fn deserialize(\n &self,\n deserializer: &mut __D,\n) -> Result<GetPartyRooms, <__D as Fallible>::Error>

Deserializes using the given deserializer
","Deserialize","client_sdk::models::aliases::ArchivedPartyId","client_sdk::models::aliases::ArchivedUserId","client_sdk::models::aliases::ArchivedRoleId","client_sdk::models::aliases::ArchivedRoomId","client_sdk::models::aliases::ArchivedMessageId","client_sdk::models::aliases::ArchivedEmoteId","client_sdk::models::aliases::ArchivedFileId","client_sdk::models::aliases::ArchivedInviteId","client_sdk::models::aliases::ArchivedThreadId","client_sdk::models::aliases::ArchivedFolderId"],["
source§

impl<__D: Fallible + ?Sized> Deserialize<GetReactions, __D> for Archived<GetReactions>
where\n RoomId: Archive,\n <RoomId as Archive>::Archived: Deserialize<RoomId, __D>,\n MessageId: Archive,\n <MessageId as Archive>::Archived: Deserialize<MessageId, __D>,\n EmoteOrEmoji: Archive,\n <EmoteOrEmoji as Archive>::Archived: Deserialize<EmoteOrEmoji, __D>,\n GetReactionsForm: Archive,\n <GetReactionsForm as Archive>::Archived: Deserialize<GetReactionsForm, __D>,

source§

fn deserialize(\n &self,\n deserializer: &mut __D,\n) -> Result<GetReactions, <__D as Fallible>::Error>

Deserializes using the given deserializer
","Deserialize","client_sdk::models::aliases::ArchivedPartyId","client_sdk::models::aliases::ArchivedUserId","client_sdk::models::aliases::ArchivedRoleId","client_sdk::models::aliases::ArchivedRoomId","client_sdk::models::aliases::ArchivedMessageId","client_sdk::models::aliases::ArchivedEmoteId","client_sdk::models::aliases::ArchivedFileId","client_sdk::models::aliases::ArchivedInviteId","client_sdk::models::aliases::ArchivedThreadId","client_sdk::models::aliases::ArchivedFolderId"],["
source§

impl<__D: Fallible + ?Sized> Deserialize<GetReactionsForm, __D> for Archived<GetReactionsForm>
where\n Option<Snowflake>: Archive,\n <Option<Snowflake> as Archive>::Archived: Deserialize<Option<Snowflake>, __D>,\n Option<i8>: Archive,\n <Option<i8> as Archive>::Archived: Deserialize<Option<i8>, __D>,

source§

fn deserialize(\n &self,\n deserializer: &mut __D,\n) -> Result<GetReactionsForm, <__D as Fallible>::Error>

Deserializes using the given deserializer
","Deserialize","client_sdk::models::aliases::ArchivedPartyId","client_sdk::models::aliases::ArchivedUserId","client_sdk::models::aliases::ArchivedRoleId","client_sdk::models::aliases::ArchivedRoomId","client_sdk::models::aliases::ArchivedMessageId","client_sdk::models::aliases::ArchivedEmoteId","client_sdk::models::aliases::ArchivedFileId","client_sdk::models::aliases::ArchivedInviteId","client_sdk::models::aliases::ArchivedThreadId","client_sdk::models::aliases::ArchivedFolderId"],["
source§

impl<__D: Fallible + ?Sized> Deserialize<GetRelationships, __D> for Archived<GetRelationships>

source§

fn deserialize(\n &self,\n deserializer: &mut __D,\n) -> Result<GetRelationships, <__D as Fallible>::Error>

Deserializes using the given deserializer
","Deserialize","client_sdk::models::aliases::ArchivedPartyId","client_sdk::models::aliases::ArchivedUserId","client_sdk::models::aliases::ArchivedRoleId","client_sdk::models::aliases::ArchivedRoomId","client_sdk::models::aliases::ArchivedMessageId","client_sdk::models::aliases::ArchivedEmoteId","client_sdk::models::aliases::ArchivedFileId","client_sdk::models::aliases::ArchivedInviteId","client_sdk::models::aliases::ArchivedThreadId","client_sdk::models::aliases::ArchivedFolderId"],["
source§

impl<__D: Fallible + ?Sized> Deserialize<GetRoom, __D> for Archived<GetRoom>
where\n RoomId: Archive,\n <RoomId as Archive>::Archived: Deserialize<RoomId, __D>,

source§

fn deserialize(\n &self,\n deserializer: &mut __D,\n) -> Result<GetRoom, <__D as Fallible>::Error>

Deserializes using the given deserializer
","Deserialize","client_sdk::models::aliases::ArchivedPartyId","client_sdk::models::aliases::ArchivedUserId","client_sdk::models::aliases::ArchivedRoleId","client_sdk::models::aliases::ArchivedRoomId","client_sdk::models::aliases::ArchivedMessageId","client_sdk::models::aliases::ArchivedEmoteId","client_sdk::models::aliases::ArchivedFileId","client_sdk::models::aliases::ArchivedInviteId","client_sdk::models::aliases::ArchivedThreadId","client_sdk::models::aliases::ArchivedFolderId"],["
source§

impl<__D: Fallible + ?Sized> Deserialize<GetServerConfig, __D> for Archived<GetServerConfig>

source§

fn deserialize(\n &self,\n deserializer: &mut __D,\n) -> Result<GetServerConfig, <__D as Fallible>::Error>

Deserializes using the given deserializer
","Deserialize","client_sdk::models::aliases::ArchivedPartyId","client_sdk::models::aliases::ArchivedUserId","client_sdk::models::aliases::ArchivedRoleId","client_sdk::models::aliases::ArchivedRoomId","client_sdk::models::aliases::ArchivedMessageId","client_sdk::models::aliases::ArchivedEmoteId","client_sdk::models::aliases::ArchivedFileId","client_sdk::models::aliases::ArchivedInviteId","client_sdk::models::aliases::ArchivedThreadId","client_sdk::models::aliases::ArchivedFolderId"],["
source§

impl<__D: Fallible + ?Sized> Deserialize<GetSessions, __D> for Archived<GetSessions>

source§

fn deserialize(\n &self,\n deserializer: &mut __D,\n) -> Result<GetSessions, <__D as Fallible>::Error>

Deserializes using the given deserializer
","Deserialize","client_sdk::models::aliases::ArchivedPartyId","client_sdk::models::aliases::ArchivedUserId","client_sdk::models::aliases::ArchivedRoleId","client_sdk::models::aliases::ArchivedRoomId","client_sdk::models::aliases::ArchivedMessageId","client_sdk::models::aliases::ArchivedEmoteId","client_sdk::models::aliases::ArchivedFileId","client_sdk::models::aliases::ArchivedInviteId","client_sdk::models::aliases::ArchivedThreadId","client_sdk::models::aliases::ArchivedFolderId"],["
source§

impl<__D: Fallible + ?Sized> Deserialize<GetUser, __D> for Archived<GetUser>
where\n UserId: Archive,\n <UserId as Archive>::Archived: Deserialize<UserId, __D>,

source§

fn deserialize(\n &self,\n deserializer: &mut __D,\n) -> Result<GetUser, <__D as Fallible>::Error>

Deserializes using the given deserializer
","Deserialize","client_sdk::models::aliases::ArchivedPartyId","client_sdk::models::aliases::ArchivedUserId","client_sdk::models::aliases::ArchivedRoleId","client_sdk::models::aliases::ArchivedRoomId","client_sdk::models::aliases::ArchivedMessageId","client_sdk::models::aliases::ArchivedEmoteId","client_sdk::models::aliases::ArchivedFileId","client_sdk::models::aliases::ArchivedInviteId","client_sdk::models::aliases::ArchivedThreadId","client_sdk::models::aliases::ArchivedFolderId"],["
source§

impl<__D: Fallible + ?Sized> Deserialize<HeartbeatAckPayload, __D> for Archived<HeartbeatAckPayload>

source§

fn deserialize(\n &self,\n deserializer: &mut __D,\n) -> Result<HeartbeatAckPayload, <__D as Fallible>::Error>

Deserializes using the given deserializer
","Deserialize","client_sdk::models::aliases::ArchivedPartyId","client_sdk::models::aliases::ArchivedUserId","client_sdk::models::aliases::ArchivedRoleId","client_sdk::models::aliases::ArchivedRoomId","client_sdk::models::aliases::ArchivedMessageId","client_sdk::models::aliases::ArchivedEmoteId","client_sdk::models::aliases::ArchivedFileId","client_sdk::models::aliases::ArchivedInviteId","client_sdk::models::aliases::ArchivedThreadId","client_sdk::models::aliases::ArchivedFolderId"],["
source§

impl<__D: Fallible + ?Sized> Deserialize<HeartbeatPayload, __D> for Archived<HeartbeatPayload>

source§

fn deserialize(\n &self,\n deserializer: &mut __D,\n) -> Result<HeartbeatPayload, <__D as Fallible>::Error>

Deserializes using the given deserializer
","Deserialize","client_sdk::models::aliases::ArchivedPartyId","client_sdk::models::aliases::ArchivedUserId","client_sdk::models::aliases::ArchivedRoleId","client_sdk::models::aliases::ArchivedRoomId","client_sdk::models::aliases::ArchivedMessageId","client_sdk::models::aliases::ArchivedEmoteId","client_sdk::models::aliases::ArchivedFileId","client_sdk::models::aliases::ArchivedInviteId","client_sdk::models::aliases::ArchivedThreadId","client_sdk::models::aliases::ArchivedFolderId"],["
source§

impl<__D: Fallible + ?Sized> Deserialize<Hello, __D> for Archived<Hello>
where\n u32: Archive,\n <u32 as Archive>::Archived: Deserialize<u32, __D>,

source§

fn deserialize(\n &self,\n deserializer: &mut __D,\n) -> Result<Hello, <__D as Fallible>::Error>

Deserializes using the given deserializer
","Deserialize","client_sdk::models::aliases::ArchivedPartyId","client_sdk::models::aliases::ArchivedUserId","client_sdk::models::aliases::ArchivedRoleId","client_sdk::models::aliases::ArchivedRoomId","client_sdk::models::aliases::ArchivedMessageId","client_sdk::models::aliases::ArchivedEmoteId","client_sdk::models::aliases::ArchivedFileId","client_sdk::models::aliases::ArchivedInviteId","client_sdk::models::aliases::ArchivedThreadId","client_sdk::models::aliases::ArchivedFolderId"],["
source§

impl<__D: Fallible + ?Sized> Deserialize<HelloPayload, __D> for Archived<HelloPayload>
where\n Hello: Archive,\n <Hello as Archive>::Archived: Deserialize<Hello, __D>,

source§

fn deserialize(\n &self,\n deserializer: &mut __D,\n) -> Result<HelloPayload, <__D as Fallible>::Error>

Deserializes using the given deserializer
","Deserialize","client_sdk::models::aliases::ArchivedPartyId","client_sdk::models::aliases::ArchivedUserId","client_sdk::models::aliases::ArchivedRoleId","client_sdk::models::aliases::ArchivedRoomId","client_sdk::models::aliases::ArchivedMessageId","client_sdk::models::aliases::ArchivedEmoteId","client_sdk::models::aliases::ArchivedFileId","client_sdk::models::aliases::ArchivedInviteId","client_sdk::models::aliases::ArchivedThreadId","client_sdk::models::aliases::ArchivedFolderId"],["
source§

impl<__D: Fallible + ?Sized> Deserialize<Identify, __D> for Archived<Identify>
where\n AuthToken: Archive,\n <AuthToken as Archive>::Archived: Deserialize<AuthToken, __D>,\n Intent: Archive,\n <Intent as Archive>::Archived: Deserialize<Intent, __D>,

source§

fn deserialize(\n &self,\n deserializer: &mut __D,\n) -> Result<Identify, <__D as Fallible>::Error>

Deserializes using the given deserializer
","Deserialize","client_sdk::models::aliases::ArchivedPartyId","client_sdk::models::aliases::ArchivedUserId","client_sdk::models::aliases::ArchivedRoleId","client_sdk::models::aliases::ArchivedRoomId","client_sdk::models::aliases::ArchivedMessageId","client_sdk::models::aliases::ArchivedEmoteId","client_sdk::models::aliases::ArchivedFileId","client_sdk::models::aliases::ArchivedInviteId","client_sdk::models::aliases::ArchivedThreadId","client_sdk::models::aliases::ArchivedFolderId"],["
source§

impl<__D: Fallible + ?Sized> Deserialize<IdentifyPayload, __D> for Archived<IdentifyPayload>
where\n Box<Identify>: Archive,\n <Box<Identify> as Archive>::Archived: Deserialize<Box<Identify>, __D>,

source§

fn deserialize(\n &self,\n deserializer: &mut __D,\n) -> Result<IdentifyPayload, <__D as Fallible>::Error>

Deserializes using the given deserializer
","Deserialize","client_sdk::models::aliases::ArchivedPartyId","client_sdk::models::aliases::ArchivedUserId","client_sdk::models::aliases::ArchivedRoleId","client_sdk::models::aliases::ArchivedRoomId","client_sdk::models::aliases::ArchivedMessageId","client_sdk::models::aliases::ArchivedEmoteId","client_sdk::models::aliases::ArchivedFileId","client_sdk::models::aliases::ArchivedInviteId","client_sdk::models::aliases::ArchivedThreadId","client_sdk::models::aliases::ArchivedFolderId"],["
source§

impl<__D: Fallible + ?Sized> Deserialize<InvalidSessionPayload, __D> for Archived<InvalidSessionPayload>

source§

fn deserialize(\n &self,\n deserializer: &mut __D,\n) -> Result<InvalidSessionPayload, <__D as Fallible>::Error>

Deserializes using the given deserializer
","Deserialize","client_sdk::models::aliases::ArchivedPartyId","client_sdk::models::aliases::ArchivedUserId","client_sdk::models::aliases::ArchivedRoleId","client_sdk::models::aliases::ArchivedRoomId","client_sdk::models::aliases::ArchivedMessageId","client_sdk::models::aliases::ArchivedEmoteId","client_sdk::models::aliases::ArchivedFileId","client_sdk::models::aliases::ArchivedInviteId","client_sdk::models::aliases::ArchivedThreadId","client_sdk::models::aliases::ArchivedFolderId"],["
source§

impl<__D: Fallible + ?Sized> Deserialize<Invite, __D> for Archived<Invite>
where\n SmolStr: Archive,\n <SmolStr as Archive>::Archived: Deserialize<SmolStr, __D>,\n PartialParty: Archive,\n <PartialParty as Archive>::Archived: Deserialize<PartialParty, __D>,\n NicheSnowflake: ArchiveWith<Option<UserId>> + DeserializeWith<<NicheSnowflake as ArchiveWith<Option<UserId>>>::Archived, Option<UserId>, __D>,\n Option<SmolStr>: Archive,\n <Option<SmolStr> as Archive>::Archived: Deserialize<Option<SmolStr>, __D>,\n Option<Timestamp>: Archive,\n <Option<Timestamp> as Archive>::Archived: Deserialize<Option<Timestamp>, __D>,\n Option<u16>: Archive,\n <Option<u16> as Archive>::Archived: Deserialize<Option<u16>, __D>,

source§

fn deserialize(\n &self,\n deserializer: &mut __D,\n) -> Result<Invite, <__D as Fallible>::Error>

Deserializes using the given deserializer
","Deserialize","client_sdk::models::aliases::ArchivedPartyId","client_sdk::models::aliases::ArchivedUserId","client_sdk::models::aliases::ArchivedRoleId","client_sdk::models::aliases::ArchivedRoomId","client_sdk::models::aliases::ArchivedMessageId","client_sdk::models::aliases::ArchivedEmoteId","client_sdk::models::aliases::ArchivedFileId","client_sdk::models::aliases::ArchivedInviteId","client_sdk::models::aliases::ArchivedThreadId","client_sdk::models::aliases::ArchivedFolderId"],["
source§

impl<__D: Fallible + ?Sized> Deserialize<MemberAddPayload, __D> for Archived<MemberAddPayload>
where\n Arc<PartyMemberEvent>: Archive,\n <Arc<PartyMemberEvent> as Archive>::Archived: Deserialize<Arc<PartyMemberEvent>, __D>,

source§

fn deserialize(\n &self,\n deserializer: &mut __D,\n) -> Result<MemberAddPayload, <__D as Fallible>::Error>

Deserializes using the given deserializer
","Deserialize","client_sdk::models::aliases::ArchivedPartyId","client_sdk::models::aliases::ArchivedUserId","client_sdk::models::aliases::ArchivedRoleId","client_sdk::models::aliases::ArchivedRoomId","client_sdk::models::aliases::ArchivedMessageId","client_sdk::models::aliases::ArchivedEmoteId","client_sdk::models::aliases::ArchivedFileId","client_sdk::models::aliases::ArchivedInviteId","client_sdk::models::aliases::ArchivedThreadId","client_sdk::models::aliases::ArchivedFolderId"],["
source§

impl<__D: Fallible + ?Sized> Deserialize<MemberBanPayload, __D> for Archived<MemberBanPayload>
where\n Arc<PartyMemberEvent>: Archive,\n <Arc<PartyMemberEvent> as Archive>::Archived: Deserialize<Arc<PartyMemberEvent>, __D>,

source§

fn deserialize(\n &self,\n deserializer: &mut __D,\n) -> Result<MemberBanPayload, <__D as Fallible>::Error>

Deserializes using the given deserializer
","Deserialize","client_sdk::models::aliases::ArchivedPartyId","client_sdk::models::aliases::ArchivedUserId","client_sdk::models::aliases::ArchivedRoleId","client_sdk::models::aliases::ArchivedRoomId","client_sdk::models::aliases::ArchivedMessageId","client_sdk::models::aliases::ArchivedEmoteId","client_sdk::models::aliases::ArchivedFileId","client_sdk::models::aliases::ArchivedInviteId","client_sdk::models::aliases::ArchivedThreadId","client_sdk::models::aliases::ArchivedFolderId"],["
source§

impl<__D: Fallible + ?Sized> Deserialize<MemberRemovePayload, __D> for Archived<MemberRemovePayload>
where\n Arc<PartyMemberEvent>: Archive,\n <Arc<PartyMemberEvent> as Archive>::Archived: Deserialize<Arc<PartyMemberEvent>, __D>,

source§

fn deserialize(\n &self,\n deserializer: &mut __D,\n) -> Result<MemberRemovePayload, <__D as Fallible>::Error>

Deserializes using the given deserializer
","Deserialize","client_sdk::models::aliases::ArchivedPartyId","client_sdk::models::aliases::ArchivedUserId","client_sdk::models::aliases::ArchivedRoleId","client_sdk::models::aliases::ArchivedRoomId","client_sdk::models::aliases::ArchivedMessageId","client_sdk::models::aliases::ArchivedEmoteId","client_sdk::models::aliases::ArchivedFileId","client_sdk::models::aliases::ArchivedInviteId","client_sdk::models::aliases::ArchivedThreadId","client_sdk::models::aliases::ArchivedFolderId"],["
source§

impl<__D: Fallible + ?Sized> Deserialize<MemberUnbanPayload, __D> for Archived<MemberUnbanPayload>
where\n Arc<PartyMemberEvent>: Archive,\n <Arc<PartyMemberEvent> as Archive>::Archived: Deserialize<Arc<PartyMemberEvent>, __D>,

source§

fn deserialize(\n &self,\n deserializer: &mut __D,\n) -> Result<MemberUnbanPayload, <__D as Fallible>::Error>

Deserializes using the given deserializer
","Deserialize","client_sdk::models::aliases::ArchivedPartyId","client_sdk::models::aliases::ArchivedUserId","client_sdk::models::aliases::ArchivedRoleId","client_sdk::models::aliases::ArchivedRoomId","client_sdk::models::aliases::ArchivedMessageId","client_sdk::models::aliases::ArchivedEmoteId","client_sdk::models::aliases::ArchivedFileId","client_sdk::models::aliases::ArchivedInviteId","client_sdk::models::aliases::ArchivedThreadId","client_sdk::models::aliases::ArchivedFolderId"],["
source§

impl<__D: Fallible + ?Sized> Deserialize<MemberUpdatePayload, __D> for Archived<MemberUpdatePayload>
where\n Arc<PartyMemberEvent>: Archive,\n <Arc<PartyMemberEvent> as Archive>::Archived: Deserialize<Arc<PartyMemberEvent>, __D>,

source§

fn deserialize(\n &self,\n deserializer: &mut __D,\n) -> Result<MemberUpdatePayload, <__D as Fallible>::Error>

Deserializes using the given deserializer
","Deserialize","client_sdk::models::aliases::ArchivedPartyId","client_sdk::models::aliases::ArchivedUserId","client_sdk::models::aliases::ArchivedRoleId","client_sdk::models::aliases::ArchivedRoomId","client_sdk::models::aliases::ArchivedMessageId","client_sdk::models::aliases::ArchivedEmoteId","client_sdk::models::aliases::ArchivedFileId","client_sdk::models::aliases::ArchivedInviteId","client_sdk::models::aliases::ArchivedThreadId","client_sdk::models::aliases::ArchivedFolderId"],["
source§

impl<__D: Fallible + ?Sized> Deserialize<Message, __D> for Archived<Message>
where\n MessageId: Archive,\n <MessageId as Archive>::Archived: Deserialize<MessageId, __D>,\n RoomId: Archive,\n <RoomId as Archive>::Archived: Deserialize<RoomId, __D>,\n PartyId: Archive,\n <PartyId as Archive>::Archived: Deserialize<PartyId, __D>,\n MessageKind: Archive,\n <MessageKind as Archive>::Archived: Deserialize<MessageKind, __D>,\n PartyMember: Archive,\n <PartyMember as Archive>::Archived: Deserialize<PartyMember, __D>,\n Option<MessageId>: Archive,\n <Option<MessageId> as Archive>::Archived: Deserialize<Option<MessageId>, __D>,\n Option<Timestamp>: Archive,\n <Option<Timestamp> as Archive>::Archived: Deserialize<Option<Timestamp>, __D>,\n Option<SmolStr>: Archive,\n <Option<SmolStr> as Archive>::Archived: Deserialize<Option<SmolStr>, __D>,\n MessageFlags: Archive,\n <MessageFlags as Archive>::Archived: Deserialize<MessageFlags, __D>,\n ThinVec<FolderId>: Archive,\n <ThinVec<FolderId> as Archive>::Archived: Deserialize<ThinVec<FolderId>, __D>,\n ThinVec<UserId>: Archive,\n <ThinVec<UserId> as Archive>::Archived: Deserialize<ThinVec<UserId>, __D>,\n ThinVec<RoleId>: Archive,\n <ThinVec<RoleId> as Archive>::Archived: Deserialize<ThinVec<RoleId>, __D>,\n ThinVec<RoomId>: Archive,\n <ThinVec<RoomId> as Archive>::Archived: Deserialize<ThinVec<RoomId>, __D>,\n ThinVec<Reaction>: Archive,\n <ThinVec<Reaction> as Archive>::Archived: Deserialize<ThinVec<Reaction>, __D>,\n ThinVec<Attachment>: Archive,\n <ThinVec<Attachment> as Archive>::Archived: Deserialize<ThinVec<Attachment>, __D>,\n ThinVec<Embed>: Archive,\n <ThinVec<Embed> as Archive>::Archived: Deserialize<ThinVec<Embed>, __D>,\n i32: Archive,\n <i32 as Archive>::Archived: Deserialize<i32, __D>,

source§

fn deserialize(\n &self,\n deserializer: &mut __D,\n) -> Result<Message, <__D as Fallible>::Error>

Deserializes using the given deserializer
","Deserialize","client_sdk::models::aliases::ArchivedPartyId","client_sdk::models::aliases::ArchivedUserId","client_sdk::models::aliases::ArchivedRoleId","client_sdk::models::aliases::ArchivedRoomId","client_sdk::models::aliases::ArchivedMessageId","client_sdk::models::aliases::ArchivedEmoteId","client_sdk::models::aliases::ArchivedFileId","client_sdk::models::aliases::ArchivedInviteId","client_sdk::models::aliases::ArchivedThreadId","client_sdk::models::aliases::ArchivedFolderId"],["
source§

impl<__D: Fallible + ?Sized> Deserialize<MessageCreatePayload, __D> for Archived<MessageCreatePayload>
where\n Arc<Message>: Archive,\n <Arc<Message> as Archive>::Archived: Deserialize<Arc<Message>, __D>,

source§

fn deserialize(\n &self,\n deserializer: &mut __D,\n) -> Result<MessageCreatePayload, <__D as Fallible>::Error>

Deserializes using the given deserializer
","Deserialize","client_sdk::models::aliases::ArchivedPartyId","client_sdk::models::aliases::ArchivedUserId","client_sdk::models::aliases::ArchivedRoleId","client_sdk::models::aliases::ArchivedRoomId","client_sdk::models::aliases::ArchivedMessageId","client_sdk::models::aliases::ArchivedEmoteId","client_sdk::models::aliases::ArchivedFileId","client_sdk::models::aliases::ArchivedInviteId","client_sdk::models::aliases::ArchivedThreadId","client_sdk::models::aliases::ArchivedFolderId"],["
source§

impl<__D: Fallible + ?Sized> Deserialize<MessageDeleteEvent, __D> for Archived<MessageDeleteEvent>
where\n MessageId: Archive,\n <MessageId as Archive>::Archived: Deserialize<MessageId, __D>,\n RoomId: Archive,\n <RoomId as Archive>::Archived: Deserialize<RoomId, __D>,\n PartyId: Archive,\n <PartyId as Archive>::Archived: Deserialize<PartyId, __D>,

source§

fn deserialize(\n &self,\n deserializer: &mut __D,\n) -> Result<MessageDeleteEvent, <__D as Fallible>::Error>

Deserializes using the given deserializer
","Deserialize","client_sdk::models::aliases::ArchivedPartyId","client_sdk::models::aliases::ArchivedUserId","client_sdk::models::aliases::ArchivedRoleId","client_sdk::models::aliases::ArchivedRoomId","client_sdk::models::aliases::ArchivedMessageId","client_sdk::models::aliases::ArchivedEmoteId","client_sdk::models::aliases::ArchivedFileId","client_sdk::models::aliases::ArchivedInviteId","client_sdk::models::aliases::ArchivedThreadId","client_sdk::models::aliases::ArchivedFolderId"],["
source§

impl<__D: Fallible + ?Sized> Deserialize<MessageDeletePayload, __D> for Archived<MessageDeletePayload>
where\n Arc<MessageDeleteEvent>: Archive,\n <Arc<MessageDeleteEvent> as Archive>::Archived: Deserialize<Arc<MessageDeleteEvent>, __D>,

source§

fn deserialize(\n &self,\n deserializer: &mut __D,\n) -> Result<MessageDeletePayload, <__D as Fallible>::Error>

Deserializes using the given deserializer
","Deserialize","client_sdk::models::aliases::ArchivedPartyId","client_sdk::models::aliases::ArchivedUserId","client_sdk::models::aliases::ArchivedRoleId","client_sdk::models::aliases::ArchivedRoomId","client_sdk::models::aliases::ArchivedMessageId","client_sdk::models::aliases::ArchivedEmoteId","client_sdk::models::aliases::ArchivedFileId","client_sdk::models::aliases::ArchivedInviteId","client_sdk::models::aliases::ArchivedThreadId","client_sdk::models::aliases::ArchivedFolderId"],["
source§

impl<__D: Fallible + ?Sized> Deserialize<MessageReactionAddPayload, __D> for Archived<MessageReactionAddPayload>
where\n Arc<UserReactionEvent>: Archive,\n <Arc<UserReactionEvent> as Archive>::Archived: Deserialize<Arc<UserReactionEvent>, __D>,

source§

fn deserialize(\n &self,\n deserializer: &mut __D,\n) -> Result<MessageReactionAddPayload, <__D as Fallible>::Error>

Deserializes using the given deserializer
","Deserialize","client_sdk::models::aliases::ArchivedPartyId","client_sdk::models::aliases::ArchivedUserId","client_sdk::models::aliases::ArchivedRoleId","client_sdk::models::aliases::ArchivedRoomId","client_sdk::models::aliases::ArchivedMessageId","client_sdk::models::aliases::ArchivedEmoteId","client_sdk::models::aliases::ArchivedFileId","client_sdk::models::aliases::ArchivedInviteId","client_sdk::models::aliases::ArchivedThreadId","client_sdk::models::aliases::ArchivedFolderId"],["
source§

impl<__D: Fallible + ?Sized> Deserialize<MessageReactionRemoveAllPayload, __D> for Archived<MessageReactionRemoveAllPayload>

source§

fn deserialize(\n &self,\n deserializer: &mut __D,\n) -> Result<MessageReactionRemoveAllPayload, <__D as Fallible>::Error>

Deserializes using the given deserializer
","Deserialize","client_sdk::models::aliases::ArchivedPartyId","client_sdk::models::aliases::ArchivedUserId","client_sdk::models::aliases::ArchivedRoleId","client_sdk::models::aliases::ArchivedRoomId","client_sdk::models::aliases::ArchivedMessageId","client_sdk::models::aliases::ArchivedEmoteId","client_sdk::models::aliases::ArchivedFileId","client_sdk::models::aliases::ArchivedInviteId","client_sdk::models::aliases::ArchivedThreadId","client_sdk::models::aliases::ArchivedFolderId"],["
source§

impl<__D: Fallible + ?Sized> Deserialize<MessageReactionRemoveEmotePayload, __D> for Archived<MessageReactionRemoveEmotePayload>

source§

fn deserialize(\n &self,\n deserializer: &mut __D,\n) -> Result<MessageReactionRemoveEmotePayload, <__D as Fallible>::Error>

Deserializes using the given deserializer
","Deserialize","client_sdk::models::aliases::ArchivedPartyId","client_sdk::models::aliases::ArchivedUserId","client_sdk::models::aliases::ArchivedRoleId","client_sdk::models::aliases::ArchivedRoomId","client_sdk::models::aliases::ArchivedMessageId","client_sdk::models::aliases::ArchivedEmoteId","client_sdk::models::aliases::ArchivedFileId","client_sdk::models::aliases::ArchivedInviteId","client_sdk::models::aliases::ArchivedThreadId","client_sdk::models::aliases::ArchivedFolderId"],["
source§

impl<__D: Fallible + ?Sized> Deserialize<MessageReactionRemovePayload, __D> for Archived<MessageReactionRemovePayload>
where\n Arc<UserReactionEvent>: Archive,\n <Arc<UserReactionEvent> as Archive>::Archived: Deserialize<Arc<UserReactionEvent>, __D>,

source§

fn deserialize(\n &self,\n deserializer: &mut __D,\n) -> Result<MessageReactionRemovePayload, <__D as Fallible>::Error>

Deserializes using the given deserializer
","Deserialize","client_sdk::models::aliases::ArchivedPartyId","client_sdk::models::aliases::ArchivedUserId","client_sdk::models::aliases::ArchivedRoleId","client_sdk::models::aliases::ArchivedRoomId","client_sdk::models::aliases::ArchivedMessageId","client_sdk::models::aliases::ArchivedEmoteId","client_sdk::models::aliases::ArchivedFileId","client_sdk::models::aliases::ArchivedInviteId","client_sdk::models::aliases::ArchivedThreadId","client_sdk::models::aliases::ArchivedFolderId"],["
source§

impl<__D: Fallible + ?Sized> Deserialize<MessageUpdatePayload, __D> for Archived<MessageUpdatePayload>
where\n Arc<Message>: Archive,\n <Arc<Message> as Archive>::Archived: Deserialize<Arc<Message>, __D>,

source§

fn deserialize(\n &self,\n deserializer: &mut __D,\n) -> Result<MessageUpdatePayload, <__D as Fallible>::Error>

Deserializes using the given deserializer
","Deserialize","client_sdk::models::aliases::ArchivedPartyId","client_sdk::models::aliases::ArchivedUserId","client_sdk::models::aliases::ArchivedRoleId","client_sdk::models::aliases::ArchivedRoomId","client_sdk::models::aliases::ArchivedMessageId","client_sdk::models::aliases::ArchivedEmoteId","client_sdk::models::aliases::ArchivedFileId","client_sdk::models::aliases::ArchivedInviteId","client_sdk::models::aliases::ArchivedThreadId","client_sdk::models::aliases::ArchivedFolderId"],["
source§

impl<__D: Fallible + ?Sized> Deserialize<Overwrite, __D> for Archived<Overwrite>
where\n Snowflake: Archive,\n <Snowflake as Archive>::Archived: Deserialize<Snowflake, __D>,\n Permissions: Archive,\n <Permissions as Archive>::Archived: Deserialize<Permissions, __D>,

source§

fn deserialize(\n &self,\n deserializer: &mut __D,\n) -> Result<Overwrite, <__D as Fallible>::Error>

Deserializes using the given deserializer
","Deserialize","client_sdk::models::aliases::ArchivedPartyId","client_sdk::models::aliases::ArchivedUserId","client_sdk::models::aliases::ArchivedRoleId","client_sdk::models::aliases::ArchivedRoomId","client_sdk::models::aliases::ArchivedMessageId","client_sdk::models::aliases::ArchivedEmoteId","client_sdk::models::aliases::ArchivedFileId","client_sdk::models::aliases::ArchivedInviteId","client_sdk::models::aliases::ArchivedThreadId","client_sdk::models::aliases::ArchivedFolderId"],["
source§

impl<__D: Fallible + ?Sized> Deserialize<Padding, __D> for Archived<Padding>
where\n u8: Archive,\n <u8 as Archive>::Archived: Deserialize<u8, __D>,

source§

fn deserialize(\n &self,\n deserializer: &mut __D,\n) -> Result<Padding, <__D as Fallible>::Error>

Deserializes using the given deserializer
","Deserialize","client_sdk::models::aliases::ArchivedPartyId","client_sdk::models::aliases::ArchivedUserId","client_sdk::models::aliases::ArchivedRoleId","client_sdk::models::aliases::ArchivedRoomId","client_sdk::models::aliases::ArchivedMessageId","client_sdk::models::aliases::ArchivedEmoteId","client_sdk::models::aliases::ArchivedFileId","client_sdk::models::aliases::ArchivedInviteId","client_sdk::models::aliases::ArchivedThreadId","client_sdk::models::aliases::ArchivedFolderId"],["
source§

impl<__D: Fallible + ?Sized> Deserialize<PartialParty, __D> for Archived<PartialParty>
where\n PartyId: Archive,\n <PartyId as Archive>::Archived: Deserialize<PartyId, __D>,\n SmolStr: Archive,\n <SmolStr as Archive>::Archived: Deserialize<SmolStr, __D>,\n Option<ThinString>: Archive,\n <Option<ThinString> as Archive>::Archived: Deserialize<Option<ThinString>, __D>,

source§

fn deserialize(\n &self,\n deserializer: &mut __D,\n) -> Result<PartialParty, <__D as Fallible>::Error>

Deserializes using the given deserializer
","Deserialize","client_sdk::models::aliases::ArchivedPartyId","client_sdk::models::aliases::ArchivedUserId","client_sdk::models::aliases::ArchivedRoleId","client_sdk::models::aliases::ArchivedRoomId","client_sdk::models::aliases::ArchivedMessageId","client_sdk::models::aliases::ArchivedEmoteId","client_sdk::models::aliases::ArchivedFileId","client_sdk::models::aliases::ArchivedInviteId","client_sdk::models::aliases::ArchivedThreadId","client_sdk::models::aliases::ArchivedFolderId"],["
source§

impl<__D: Fallible + ?Sized> Deserialize<Party, __D> for Archived<Party>
where\n PartialParty: Archive,\n <PartialParty as Archive>::Archived: Deserialize<PartialParty, __D>,\n PartyFlags: Archive,\n <PartyFlags as Archive>::Archived: Deserialize<PartyFlags, __D>,\n Option<EncryptedSnowflake>: Archive,\n <Option<EncryptedSnowflake> as Archive>::Archived: Deserialize<Option<EncryptedSnowflake>, __D>,\n Nullable<EncryptedSnowflake>: Archive,\n <Nullable<EncryptedSnowflake> as Archive>::Archived: Deserialize<Nullable<EncryptedSnowflake>, __D>,\n RoomId: Archive,\n <RoomId as Archive>::Archived: Deserialize<RoomId, __D>,\n Option<i16>: Archive,\n <Option<i16> as Archive>::Archived: Deserialize<Option<i16>, __D>,\n UserId: Archive,\n <UserId as Archive>::Archived: Deserialize<UserId, __D>,\n ThinVec<Role>: Archive,\n <ThinVec<Role> as Archive>::Archived: Deserialize<ThinVec<Role>, __D>,\n ThinVec<Emote>: Archive,\n <ThinVec<Emote> as Archive>::Archived: Deserialize<ThinVec<Emote>, __D>,\n ThinVec<PinFolder>: Archive,\n <ThinVec<PinFolder> as Archive>::Archived: Deserialize<ThinVec<PinFolder>, __D>,

source§

fn deserialize(\n &self,\n deserializer: &mut __D,\n) -> Result<Party, <__D as Fallible>::Error>

Deserializes using the given deserializer
","Deserialize","client_sdk::models::aliases::ArchivedPartyId","client_sdk::models::aliases::ArchivedUserId","client_sdk::models::aliases::ArchivedRoleId","client_sdk::models::aliases::ArchivedRoomId","client_sdk::models::aliases::ArchivedMessageId","client_sdk::models::aliases::ArchivedEmoteId","client_sdk::models::aliases::ArchivedFileId","client_sdk::models::aliases::ArchivedInviteId","client_sdk::models::aliases::ArchivedThreadId","client_sdk::models::aliases::ArchivedFolderId"],["
source§

impl<__D: Fallible + ?Sized> Deserialize<PartyCreatePayload, __D> for Archived<PartyCreatePayload>
where\n Arc<Party>: Archive,\n <Arc<Party> as Archive>::Archived: Deserialize<Arc<Party>, __D>,

source§

fn deserialize(\n &self,\n deserializer: &mut __D,\n) -> Result<PartyCreatePayload, <__D as Fallible>::Error>

Deserializes using the given deserializer
","Deserialize","client_sdk::models::aliases::ArchivedPartyId","client_sdk::models::aliases::ArchivedUserId","client_sdk::models::aliases::ArchivedRoleId","client_sdk::models::aliases::ArchivedRoomId","client_sdk::models::aliases::ArchivedMessageId","client_sdk::models::aliases::ArchivedEmoteId","client_sdk::models::aliases::ArchivedFileId","client_sdk::models::aliases::ArchivedInviteId","client_sdk::models::aliases::ArchivedThreadId","client_sdk::models::aliases::ArchivedFolderId"],["
source§

impl<__D: Fallible + ?Sized> Deserialize<PartyDeletePayload, __D> for Archived<PartyDeletePayload>
where\n PartyId: Archive,\n <PartyId as Archive>::Archived: Deserialize<PartyId, __D>,

source§

fn deserialize(\n &self,\n deserializer: &mut __D,\n) -> Result<PartyDeletePayload, <__D as Fallible>::Error>

Deserializes using the given deserializer
","Deserialize","client_sdk::models::aliases::ArchivedPartyId","client_sdk::models::aliases::ArchivedUserId","client_sdk::models::aliases::ArchivedRoleId","client_sdk::models::aliases::ArchivedRoomId","client_sdk::models::aliases::ArchivedMessageId","client_sdk::models::aliases::ArchivedEmoteId","client_sdk::models::aliases::ArchivedFileId","client_sdk::models::aliases::ArchivedInviteId","client_sdk::models::aliases::ArchivedThreadId","client_sdk::models::aliases::ArchivedFolderId"],["
source§

impl<__D: Fallible + ?Sized> Deserialize<PartyMember, __D> for Archived<PartyMember>
where\n User: Archive,\n <User as Archive>::Archived: Deserialize<User, __D>,\n Option<Timestamp>: Archive,\n <Option<Timestamp> as Archive>::Archived: Deserialize<Option<Timestamp>, __D>,\n PartyMemberFlags: Archive,\n <PartyMemberFlags as Archive>::Archived: Deserialize<PartyMemberFlags, __D>,\n ThinVec<RoleId>: Archive,\n <ThinVec<RoleId> as Archive>::Archived: Deserialize<ThinVec<RoleId>, __D>,

source§

fn deserialize(\n &self,\n deserializer: &mut __D,\n) -> Result<PartyMember, <__D as Fallible>::Error>

Deserializes using the given deserializer
","Deserialize","client_sdk::models::aliases::ArchivedPartyId","client_sdk::models::aliases::ArchivedUserId","client_sdk::models::aliases::ArchivedRoleId","client_sdk::models::aliases::ArchivedRoomId","client_sdk::models::aliases::ArchivedMessageId","client_sdk::models::aliases::ArchivedEmoteId","client_sdk::models::aliases::ArchivedFileId","client_sdk::models::aliases::ArchivedInviteId","client_sdk::models::aliases::ArchivedThreadId","client_sdk::models::aliases::ArchivedFolderId"],["
source§

impl<__D: Fallible + ?Sized> Deserialize<PartyMemberEvent, __D> for Archived<PartyMemberEvent>
where\n PartyId: Archive,\n <PartyId as Archive>::Archived: Deserialize<PartyId, __D>,\n PartyMember: Archive,\n <PartyMember as Archive>::Archived: Deserialize<PartyMember, __D>,

source§

fn deserialize(\n &self,\n deserializer: &mut __D,\n) -> Result<PartyMemberEvent, <__D as Fallible>::Error>

Deserializes using the given deserializer
","Deserialize","client_sdk::models::aliases::ArchivedPartyId","client_sdk::models::aliases::ArchivedUserId","client_sdk::models::aliases::ArchivedRoleId","client_sdk::models::aliases::ArchivedRoomId","client_sdk::models::aliases::ArchivedMessageId","client_sdk::models::aliases::ArchivedEmoteId","client_sdk::models::aliases::ArchivedFileId","client_sdk::models::aliases::ArchivedInviteId","client_sdk::models::aliases::ArchivedThreadId","client_sdk::models::aliases::ArchivedFolderId"],["
source§

impl<__D: Fallible + ?Sized> Deserialize<PartyPositionUpdate, __D> for Archived<PartyPositionUpdate>
where\n PartyId: Archive,\n <PartyId as Archive>::Archived: Deserialize<PartyId, __D>,\n i16: Archive,\n <i16 as Archive>::Archived: Deserialize<i16, __D>,

source§

fn deserialize(\n &self,\n deserializer: &mut __D,\n) -> Result<PartyPositionUpdate, <__D as Fallible>::Error>

Deserializes using the given deserializer
","Deserialize","client_sdk::models::aliases::ArchivedPartyId","client_sdk::models::aliases::ArchivedUserId","client_sdk::models::aliases::ArchivedRoleId","client_sdk::models::aliases::ArchivedRoomId","client_sdk::models::aliases::ArchivedMessageId","client_sdk::models::aliases::ArchivedEmoteId","client_sdk::models::aliases::ArchivedFileId","client_sdk::models::aliases::ArchivedInviteId","client_sdk::models::aliases::ArchivedThreadId","client_sdk::models::aliases::ArchivedFolderId"],["
source§

impl<__D: Fallible + ?Sized> Deserialize<PartyPreferences, __D> for Archived<PartyPreferences>
where\n Locale: Archive,\n <Locale as Archive>::Archived: Deserialize<Locale, __D>,\n PartyPrefsFlags: Archive,\n <PartyPrefsFlags as Archive>::Archived: Deserialize<PartyPrefsFlags, __D>,

source§

fn deserialize(\n &self,\n deserializer: &mut __D,\n) -> Result<PartyPreferences, <__D as Fallible>::Error>

Deserializes using the given deserializer
","Deserialize","client_sdk::models::aliases::ArchivedPartyId","client_sdk::models::aliases::ArchivedUserId","client_sdk::models::aliases::ArchivedRoleId","client_sdk::models::aliases::ArchivedRoomId","client_sdk::models::aliases::ArchivedMessageId","client_sdk::models::aliases::ArchivedEmoteId","client_sdk::models::aliases::ArchivedFileId","client_sdk::models::aliases::ArchivedInviteId","client_sdk::models::aliases::ArchivedThreadId","client_sdk::models::aliases::ArchivedFolderId"],["
source§

impl<__D: Fallible + ?Sized> Deserialize<PartySettings, __D> for Archived<PartySettings>
where\n PartyFlags: Archive,\n <PartyFlags as Archive>::Archived: Deserialize<PartyFlags, __D>,\n PartyPreferences: Archive,\n <PartyPreferences as Archive>::Archived: Deserialize<PartyPreferences, __D>,

source§

fn deserialize(\n &self,\n deserializer: &mut __D,\n) -> Result<PartySettings, <__D as Fallible>::Error>

Deserializes using the given deserializer
","Deserialize","client_sdk::models::aliases::ArchivedPartyId","client_sdk::models::aliases::ArchivedUserId","client_sdk::models::aliases::ArchivedRoleId","client_sdk::models::aliases::ArchivedRoomId","client_sdk::models::aliases::ArchivedMessageId","client_sdk::models::aliases::ArchivedEmoteId","client_sdk::models::aliases::ArchivedFileId","client_sdk::models::aliases::ArchivedInviteId","client_sdk::models::aliases::ArchivedThreadId","client_sdk::models::aliases::ArchivedFolderId"],["
source§

impl<__D: Fallible + ?Sized> Deserialize<PartyUpdateEvent, __D> for Archived<PartyUpdateEvent>
where\n PartyPositionUpdate: Archive,\n <PartyPositionUpdate as Archive>::Archived: Deserialize<PartyPositionUpdate, __D>,\n Party: Archive,\n <Party as Archive>::Archived: Deserialize<Party, __D>,

source§

fn deserialize(\n &self,\n deserializer: &mut __D,\n) -> Result<PartyUpdateEvent, <__D as Fallible>::Error>

Deserializes using the given deserializer
","Deserialize","client_sdk::models::aliases::ArchivedPartyId","client_sdk::models::aliases::ArchivedUserId","client_sdk::models::aliases::ArchivedRoleId","client_sdk::models::aliases::ArchivedRoomId","client_sdk::models::aliases::ArchivedMessageId","client_sdk::models::aliases::ArchivedEmoteId","client_sdk::models::aliases::ArchivedFileId","client_sdk::models::aliases::ArchivedInviteId","client_sdk::models::aliases::ArchivedThreadId","client_sdk::models::aliases::ArchivedFolderId"],["
source§

impl<__D: Fallible + ?Sized> Deserialize<PartyUpdatePayload, __D> for Archived<PartyUpdatePayload>
where\n Arc<PartyUpdateEvent>: Archive,\n <Arc<PartyUpdateEvent> as Archive>::Archived: Deserialize<Arc<PartyUpdateEvent>, __D>,

source§

fn deserialize(\n &self,\n deserializer: &mut __D,\n) -> Result<PartyUpdatePayload, <__D as Fallible>::Error>

Deserializes using the given deserializer
","Deserialize","client_sdk::models::aliases::ArchivedPartyId","client_sdk::models::aliases::ArchivedUserId","client_sdk::models::aliases::ArchivedRoleId","client_sdk::models::aliases::ArchivedRoomId","client_sdk::models::aliases::ArchivedMessageId","client_sdk::models::aliases::ArchivedEmoteId","client_sdk::models::aliases::ArchivedFileId","client_sdk::models::aliases::ArchivedInviteId","client_sdk::models::aliases::ArchivedThreadId","client_sdk::models::aliases::ArchivedFolderId"],["
source§

impl<__D: Fallible + ?Sized> Deserialize<PatchParty, __D> for Archived<PatchParty>
where\n PartyId: Archive,\n <PartyId as Archive>::Archived: Deserialize<PartyId, __D>,\n PatchPartyForm: Archive,\n <PatchPartyForm as Archive>::Archived: Deserialize<PatchPartyForm, __D>,

source§

fn deserialize(\n &self,\n deserializer: &mut __D,\n) -> Result<PatchParty, <__D as Fallible>::Error>

Deserializes using the given deserializer
","Deserialize","client_sdk::models::aliases::ArchivedPartyId","client_sdk::models::aliases::ArchivedUserId","client_sdk::models::aliases::ArchivedRoleId","client_sdk::models::aliases::ArchivedRoomId","client_sdk::models::aliases::ArchivedMessageId","client_sdk::models::aliases::ArchivedEmoteId","client_sdk::models::aliases::ArchivedFileId","client_sdk::models::aliases::ArchivedInviteId","client_sdk::models::aliases::ArchivedThreadId","client_sdk::models::aliases::ArchivedFolderId"],["
source§

impl<__D: Fallible + ?Sized> Deserialize<PatchPartyForm, __D> for Archived<PatchPartyForm>
where\n Option<SmolStr>: Archive,\n <Option<SmolStr> as Archive>::Archived: Deserialize<Option<SmolStr>, __D>,\n Nullable<SmolStr>: Archive,\n <Nullable<SmolStr> as Archive>::Archived: Deserialize<Nullable<SmolStr>, __D>,\n Option<PartyFlags>: Archive,\n <Option<PartyFlags> as Archive>::Archived: Deserialize<Option<PartyFlags>, __D>,\n Option<RoomId>: Archive,\n <Option<RoomId> as Archive>::Archived: Deserialize<Option<RoomId>, __D>,\n Nullable<FileId>: Archive,\n <Nullable<FileId> as Archive>::Archived: Deserialize<Nullable<FileId>, __D>,\n BannerAlign: Archive,\n <BannerAlign as Archive>::Archived: Deserialize<BannerAlign, __D>,

source§

fn deserialize(\n &self,\n deserializer: &mut __D,\n) -> Result<PatchPartyForm, <__D as Fallible>::Error>

Deserializes using the given deserializer
","Deserialize","client_sdk::models::aliases::ArchivedPartyId","client_sdk::models::aliases::ArchivedUserId","client_sdk::models::aliases::ArchivedRoleId","client_sdk::models::aliases::ArchivedRoomId","client_sdk::models::aliases::ArchivedMessageId","client_sdk::models::aliases::ArchivedEmoteId","client_sdk::models::aliases::ArchivedFileId","client_sdk::models::aliases::ArchivedInviteId","client_sdk::models::aliases::ArchivedThreadId","client_sdk::models::aliases::ArchivedFolderId"],["
source§

impl<__D: Fallible + ?Sized> Deserialize<PatchRelationship, __D> for Archived<PatchRelationship>
where\n UserId: Archive,\n <UserId as Archive>::Archived: Deserialize<UserId, __D>,\n PatchRelationshipBody: Archive,\n <PatchRelationshipBody as Archive>::Archived: Deserialize<PatchRelationshipBody, __D>,

source§

fn deserialize(\n &self,\n deserializer: &mut __D,\n) -> Result<PatchRelationship, <__D as Fallible>::Error>

Deserializes using the given deserializer
","Deserialize","client_sdk::models::aliases::ArchivedPartyId","client_sdk::models::aliases::ArchivedUserId","client_sdk::models::aliases::ArchivedRoleId","client_sdk::models::aliases::ArchivedRoomId","client_sdk::models::aliases::ArchivedMessageId","client_sdk::models::aliases::ArchivedEmoteId","client_sdk::models::aliases::ArchivedFileId","client_sdk::models::aliases::ArchivedInviteId","client_sdk::models::aliases::ArchivedThreadId","client_sdk::models::aliases::ArchivedFolderId"],["
source§

impl<__D: Fallible + ?Sized> Deserialize<PatchRelationshipBody, __D> for Archived<PatchRelationshipBody>
where\n Nullable<UserRelationship>: Archive,\n <Nullable<UserRelationship> as Archive>::Archived: Deserialize<Nullable<UserRelationship>, __D>,\n Nullable<SmolStr>: Archive,\n <Nullable<SmolStr> as Archive>::Archived: Deserialize<Nullable<SmolStr>, __D>,

source§

fn deserialize(\n &self,\n deserializer: &mut __D,\n) -> Result<PatchRelationshipBody, <__D as Fallible>::Error>

Deserializes using the given deserializer
","Deserialize","client_sdk::models::aliases::ArchivedPartyId","client_sdk::models::aliases::ArchivedUserId","client_sdk::models::aliases::ArchivedRoleId","client_sdk::models::aliases::ArchivedRoomId","client_sdk::models::aliases::ArchivedMessageId","client_sdk::models::aliases::ArchivedEmoteId","client_sdk::models::aliases::ArchivedFileId","client_sdk::models::aliases::ArchivedInviteId","client_sdk::models::aliases::ArchivedThreadId","client_sdk::models::aliases::ArchivedFolderId"],["
source§

impl<__D: Fallible + ?Sized> Deserialize<PatchRole, __D> for Archived<PatchRole>
where\n PartyId: Archive,\n <PartyId as Archive>::Archived: Deserialize<PartyId, __D>,\n RoleId: Archive,\n <RoleId as Archive>::Archived: Deserialize<RoleId, __D>,\n PatchRoleForm: Archive,\n <PatchRoleForm as Archive>::Archived: Deserialize<PatchRoleForm, __D>,

source§

fn deserialize(\n &self,\n deserializer: &mut __D,\n) -> Result<PatchRole, <__D as Fallible>::Error>

Deserializes using the given deserializer
","Deserialize","client_sdk::models::aliases::ArchivedPartyId","client_sdk::models::aliases::ArchivedUserId","client_sdk::models::aliases::ArchivedRoleId","client_sdk::models::aliases::ArchivedRoomId","client_sdk::models::aliases::ArchivedMessageId","client_sdk::models::aliases::ArchivedEmoteId","client_sdk::models::aliases::ArchivedFileId","client_sdk::models::aliases::ArchivedInviteId","client_sdk::models::aliases::ArchivedThreadId","client_sdk::models::aliases::ArchivedFolderId"],["
source§

impl<__D: Fallible + ?Sized> Deserialize<PatchRoleForm, __D> for Archived<PatchRoleForm>
where\n Option<RoleFlags>: Archive,\n <Option<RoleFlags> as Archive>::Archived: Deserialize<Option<RoleFlags>, __D>,\n Option<SmolStr>: Archive,\n <Option<SmolStr> as Archive>::Archived: Deserialize<Option<SmolStr>, __D>,\n Option<u32>: Archive,\n <Option<u32> as Archive>::Archived: Deserialize<Option<u32>, __D>,\n Option<Permissions>: Archive,\n <Option<Permissions> as Archive>::Archived: Deserialize<Option<Permissions>, __D>,\n Nullable<FileId>: Archive,\n <Nullable<FileId> as Archive>::Archived: Deserialize<Nullable<FileId>, __D>,\n Option<u8>: Archive,\n <Option<u8> as Archive>::Archived: Deserialize<Option<u8>, __D>,

source§

fn deserialize(\n &self,\n deserializer: &mut __D,\n) -> Result<PatchRoleForm, <__D as Fallible>::Error>

Deserializes using the given deserializer
","Deserialize","client_sdk::models::aliases::ArchivedPartyId","client_sdk::models::aliases::ArchivedUserId","client_sdk::models::aliases::ArchivedRoleId","client_sdk::models::aliases::ArchivedRoomId","client_sdk::models::aliases::ArchivedMessageId","client_sdk::models::aliases::ArchivedEmoteId","client_sdk::models::aliases::ArchivedFileId","client_sdk::models::aliases::ArchivedInviteId","client_sdk::models::aliases::ArchivedThreadId","client_sdk::models::aliases::ArchivedFolderId"],["
source§

impl<__D: Fallible + ?Sized> Deserialize<PatchRoom, __D> for Archived<PatchRoom>
where\n RoomId: Archive,\n <RoomId as Archive>::Archived: Deserialize<RoomId, __D>,\n PatchRoomForm: Archive,\n <PatchRoomForm as Archive>::Archived: Deserialize<PatchRoomForm, __D>,

source§

fn deserialize(\n &self,\n deserializer: &mut __D,\n) -> Result<PatchRoom, <__D as Fallible>::Error>

Deserializes using the given deserializer
","Deserialize","client_sdk::models::aliases::ArchivedPartyId","client_sdk::models::aliases::ArchivedUserId","client_sdk::models::aliases::ArchivedRoleId","client_sdk::models::aliases::ArchivedRoomId","client_sdk::models::aliases::ArchivedMessageId","client_sdk::models::aliases::ArchivedEmoteId","client_sdk::models::aliases::ArchivedFileId","client_sdk::models::aliases::ArchivedInviteId","client_sdk::models::aliases::ArchivedThreadId","client_sdk::models::aliases::ArchivedFolderId"],["
source§

impl<__D: Fallible + ?Sized> Deserialize<PatchRoomForm, __D> for Archived<PatchRoomForm>
where\n Option<SmolStr>: Archive,\n <Option<SmolStr> as Archive>::Archived: Deserialize<Option<SmolStr>, __D>,\n Nullable<SmolStr>: Archive,\n <Nullable<SmolStr> as Archive>::Archived: Deserialize<Nullable<SmolStr>, __D>,\n Nullable<FileId>: Archive,\n <Nullable<FileId> as Archive>::Archived: Deserialize<Nullable<FileId>, __D>,\n Option<u8>: Archive,\n <Option<u8> as Archive>::Archived: Deserialize<Option<u8>, __D>,\n ThinVec<Snowflake>: Archive,\n <ThinVec<Snowflake> as Archive>::Archived: Deserialize<ThinVec<Snowflake>, __D>,\n ThinVec<Overwrite>: Archive,\n <ThinVec<Overwrite> as Archive>::Archived: Deserialize<ThinVec<Overwrite>, __D>,\n Option<bool>: Archive,\n <Option<bool> as Archive>::Archived: Deserialize<Option<bool>, __D>,

source§

fn deserialize(\n &self,\n deserializer: &mut __D,\n) -> Result<PatchRoomForm, <__D as Fallible>::Error>

Deserializes using the given deserializer
","Deserialize","client_sdk::models::aliases::ArchivedPartyId","client_sdk::models::aliases::ArchivedUserId","client_sdk::models::aliases::ArchivedRoleId","client_sdk::models::aliases::ArchivedRoomId","client_sdk::models::aliases::ArchivedMessageId","client_sdk::models::aliases::ArchivedEmoteId","client_sdk::models::aliases::ArchivedFileId","client_sdk::models::aliases::ArchivedInviteId","client_sdk::models::aliases::ArchivedThreadId","client_sdk::models::aliases::ArchivedFolderId"],["
source§

impl<__D: Fallible + ?Sized> Deserialize<PinFolder, __D> for Archived<PinFolder>
where\n FolderId: Archive,\n <FolderId as Archive>::Archived: Deserialize<FolderId, __D>,\n SmolStr: Archive,\n <SmolStr as Archive>::Archived: Deserialize<SmolStr, __D>,\n PinFolderFlags: Archive,\n <PinFolderFlags as Archive>::Archived: Deserialize<PinFolderFlags, __D>,\n Option<SmolStr>: Archive,\n <Option<SmolStr> as Archive>::Archived: Deserialize<Option<SmolStr>, __D>,

source§

fn deserialize(\n &self,\n deserializer: &mut __D,\n) -> Result<PinFolder, <__D as Fallible>::Error>

Deserializes using the given deserializer
","Deserialize","client_sdk::models::aliases::ArchivedPartyId","client_sdk::models::aliases::ArchivedUserId","client_sdk::models::aliases::ArchivedRoleId","client_sdk::models::aliases::ArchivedRoomId","client_sdk::models::aliases::ArchivedMessageId","client_sdk::models::aliases::ArchivedEmoteId","client_sdk::models::aliases::ArchivedFileId","client_sdk::models::aliases::ArchivedInviteId","client_sdk::models::aliases::ArchivedThreadId","client_sdk::models::aliases::ArchivedFolderId"],["
source§

impl<__D: Fallible + ?Sized> Deserialize<PinMessage, __D> for Archived<PinMessage>
where\n RoomId: Archive,\n <RoomId as Archive>::Archived: Deserialize<RoomId, __D>,\n MessageId: Archive,\n <MessageId as Archive>::Archived: Deserialize<MessageId, __D>,\n FolderId: Archive,\n <FolderId as Archive>::Archived: Deserialize<FolderId, __D>,

source§

fn deserialize(\n &self,\n deserializer: &mut __D,\n) -> Result<PinMessage, <__D as Fallible>::Error>

Deserializes using the given deserializer
","Deserialize","client_sdk::models::aliases::ArchivedPartyId","client_sdk::models::aliases::ArchivedUserId","client_sdk::models::aliases::ArchivedRoleId","client_sdk::models::aliases::ArchivedRoomId","client_sdk::models::aliases::ArchivedMessageId","client_sdk::models::aliases::ArchivedEmoteId","client_sdk::models::aliases::ArchivedFileId","client_sdk::models::aliases::ArchivedInviteId","client_sdk::models::aliases::ArchivedThreadId","client_sdk::models::aliases::ArchivedFolderId"],["
source§

impl<__D: Fallible + ?Sized> Deserialize<PresenceUpdatePayload, __D> for Archived<PresenceUpdatePayload>
where\n Arc<UserPresenceEvent>: Archive,\n <Arc<UserPresenceEvent> as Archive>::Archived: Deserialize<Arc<UserPresenceEvent>, __D>,

source§

fn deserialize(\n &self,\n deserializer: &mut __D,\n) -> Result<PresenceUpdatePayload, <__D as Fallible>::Error>

Deserializes using the given deserializer
","Deserialize","client_sdk::models::aliases::ArchivedPartyId","client_sdk::models::aliases::ArchivedUserId","client_sdk::models::aliases::ArchivedRoleId","client_sdk::models::aliases::ArchivedRoomId","client_sdk::models::aliases::ArchivedMessageId","client_sdk::models::aliases::ArchivedEmoteId","client_sdk::models::aliases::ArchivedFileId","client_sdk::models::aliases::ArchivedInviteId","client_sdk::models::aliases::ArchivedThreadId","client_sdk::models::aliases::ArchivedFolderId"],["
source§

impl<__D: Fallible + ?Sized> Deserialize<ProfileUpdateEvent, __D> for Archived<ProfileUpdateEvent>
where\n Option<PartyId>: Archive,\n <Option<PartyId> as Archive>::Archived: Deserialize<Option<PartyId>, __D>,\n User: Archive,\n <User as Archive>::Archived: Deserialize<User, __D>,

source§

fn deserialize(\n &self,\n deserializer: &mut __D,\n) -> Result<ProfileUpdateEvent, <__D as Fallible>::Error>

Deserializes using the given deserializer
","Deserialize","client_sdk::models::aliases::ArchivedPartyId","client_sdk::models::aliases::ArchivedUserId","client_sdk::models::aliases::ArchivedRoleId","client_sdk::models::aliases::ArchivedRoomId","client_sdk::models::aliases::ArchivedMessageId","client_sdk::models::aliases::ArchivedEmoteId","client_sdk::models::aliases::ArchivedFileId","client_sdk::models::aliases::ArchivedInviteId","client_sdk::models::aliases::ArchivedThreadId","client_sdk::models::aliases::ArchivedFolderId"],["
source§

impl<__D: Fallible + ?Sized> Deserialize<ProfileUpdatePayload, __D> for Archived<ProfileUpdatePayload>
where\n Arc<ProfileUpdateEvent>: Archive,\n <Arc<ProfileUpdateEvent> as Archive>::Archived: Deserialize<Arc<ProfileUpdateEvent>, __D>,

source§

fn deserialize(\n &self,\n deserializer: &mut __D,\n) -> Result<ProfileUpdatePayload, <__D as Fallible>::Error>

Deserializes using the given deserializer
","Deserialize","client_sdk::models::aliases::ArchivedPartyId","client_sdk::models::aliases::ArchivedUserId","client_sdk::models::aliases::ArchivedRoleId","client_sdk::models::aliases::ArchivedRoomId","client_sdk::models::aliases::ArchivedMessageId","client_sdk::models::aliases::ArchivedEmoteId","client_sdk::models::aliases::ArchivedFileId","client_sdk::models::aliases::ArchivedInviteId","client_sdk::models::aliases::ArchivedThreadId","client_sdk::models::aliases::ArchivedFolderId"],["
source§

impl<__D: Fallible + ?Sized> Deserialize<PutReaction, __D> for Archived<PutReaction>
where\n RoomId: Archive,\n <RoomId as Archive>::Archived: Deserialize<RoomId, __D>,\n MessageId: Archive,\n <MessageId as Archive>::Archived: Deserialize<MessageId, __D>,\n EmoteOrEmoji: Archive,\n <EmoteOrEmoji as Archive>::Archived: Deserialize<EmoteOrEmoji, __D>,

source§

fn deserialize(\n &self,\n deserializer: &mut __D,\n) -> Result<PutReaction, <__D as Fallible>::Error>

Deserializes using the given deserializer
","Deserialize","client_sdk::models::aliases::ArchivedPartyId","client_sdk::models::aliases::ArchivedUserId","client_sdk::models::aliases::ArchivedRoleId","client_sdk::models::aliases::ArchivedRoomId","client_sdk::models::aliases::ArchivedMessageId","client_sdk::models::aliases::ArchivedEmoteId","client_sdk::models::aliases::ArchivedFileId","client_sdk::models::aliases::ArchivedInviteId","client_sdk::models::aliases::ArchivedThreadId","client_sdk::models::aliases::ArchivedFolderId"],["
source§

impl<__D: Fallible + ?Sized> Deserialize<Reaction, __D> for Archived<Reaction>
where\n ReactionShorthand: Archive,\n <ReactionShorthand as Archive>::Archived: Deserialize<ReactionShorthand, __D>,\n ReactionFull: Archive,\n <ReactionFull as Archive>::Archived: Deserialize<ReactionFull, __D>,

source§

fn deserialize(\n &self,\n deserializer: &mut __D,\n) -> Result<Reaction, <__D as Fallible>::Error>

Deserializes using the given deserializer
","Deserialize","client_sdk::models::aliases::ArchivedPartyId","client_sdk::models::aliases::ArchivedUserId","client_sdk::models::aliases::ArchivedRoleId","client_sdk::models::aliases::ArchivedRoomId","client_sdk::models::aliases::ArchivedMessageId","client_sdk::models::aliases::ArchivedEmoteId","client_sdk::models::aliases::ArchivedFileId","client_sdk::models::aliases::ArchivedInviteId","client_sdk::models::aliases::ArchivedThreadId","client_sdk::models::aliases::ArchivedFolderId"],["
source§

impl<__D: Fallible + ?Sized> Deserialize<ReactionFull, __D> for Archived<ReactionFull>
where\n EmoteOrEmoji: Archive,\n <EmoteOrEmoji as Archive>::Archived: Deserialize<EmoteOrEmoji, __D>,\n ThinVec<UserId>: Archive,\n <ThinVec<UserId> as Archive>::Archived: Deserialize<ThinVec<UserId>, __D>,

source§

fn deserialize(\n &self,\n deserializer: &mut __D,\n) -> Result<ReactionFull, <__D as Fallible>::Error>

Deserializes using the given deserializer
","Deserialize","client_sdk::models::aliases::ArchivedPartyId","client_sdk::models::aliases::ArchivedUserId","client_sdk::models::aliases::ArchivedRoleId","client_sdk::models::aliases::ArchivedRoomId","client_sdk::models::aliases::ArchivedMessageId","client_sdk::models::aliases::ArchivedEmoteId","client_sdk::models::aliases::ArchivedFileId","client_sdk::models::aliases::ArchivedInviteId","client_sdk::models::aliases::ArchivedThreadId","client_sdk::models::aliases::ArchivedFolderId"],["
source§

impl<__D: Fallible + ?Sized> Deserialize<ReactionShorthand, __D> for Archived<ReactionShorthand>
where\n EmoteOrEmoji: Archive,\n <EmoteOrEmoji as Archive>::Archived: Deserialize<EmoteOrEmoji, __D>,\n bool: Archive,\n <bool as Archive>::Archived: Deserialize<bool, __D>,\n i64: Archive,\n <i64 as Archive>::Archived: Deserialize<i64, __D>,

source§

fn deserialize(\n &self,\n deserializer: &mut __D,\n) -> Result<ReactionShorthand, <__D as Fallible>::Error>

Deserializes using the given deserializer
","Deserialize","client_sdk::models::aliases::ArchivedPartyId","client_sdk::models::aliases::ArchivedUserId","client_sdk::models::aliases::ArchivedRoleId","client_sdk::models::aliases::ArchivedRoomId","client_sdk::models::aliases::ArchivedMessageId","client_sdk::models::aliases::ArchivedEmoteId","client_sdk::models::aliases::ArchivedFileId","client_sdk::models::aliases::ArchivedInviteId","client_sdk::models::aliases::ArchivedThreadId","client_sdk::models::aliases::ArchivedFolderId"],["
source§

impl<__D: Fallible + ?Sized> Deserialize<Ready, __D> for Archived<Ready>
where\n User: Archive,\n <User as Archive>::Archived: Deserialize<User, __D>,\n ThinVec<ReadyParty>: Archive,\n <ThinVec<ReadyParty> as Archive>::Archived: Deserialize<ThinVec<ReadyParty>, __D>,\n ThinVec<Room>: Archive,\n <ThinVec<Room> as Archive>::Archived: Deserialize<ThinVec<Room>, __D>,\n Snowflake: Archive,\n <Snowflake as Archive>::Archived: Deserialize<Snowflake, __D>,

source§

fn deserialize(\n &self,\n deserializer: &mut __D,\n) -> Result<Ready, <__D as Fallible>::Error>

Deserializes using the given deserializer
","Deserialize","client_sdk::models::aliases::ArchivedPartyId","client_sdk::models::aliases::ArchivedUserId","client_sdk::models::aliases::ArchivedRoleId","client_sdk::models::aliases::ArchivedRoomId","client_sdk::models::aliases::ArchivedMessageId","client_sdk::models::aliases::ArchivedEmoteId","client_sdk::models::aliases::ArchivedFileId","client_sdk::models::aliases::ArchivedInviteId","client_sdk::models::aliases::ArchivedThreadId","client_sdk::models::aliases::ArchivedFolderId"],["
source§

impl<__D: Fallible + ?Sized> Deserialize<ReadyParty, __D> for Archived<ReadyParty>
where\n Party: Archive,\n <Party as Archive>::Archived: Deserialize<Party, __D>,\n PartyMember: Archive,\n <PartyMember as Archive>::Archived: Deserialize<PartyMember, __D>,

source§

fn deserialize(\n &self,\n deserializer: &mut __D,\n) -> Result<ReadyParty, <__D as Fallible>::Error>

Deserializes using the given deserializer
","Deserialize","client_sdk::models::aliases::ArchivedPartyId","client_sdk::models::aliases::ArchivedUserId","client_sdk::models::aliases::ArchivedRoleId","client_sdk::models::aliases::ArchivedRoomId","client_sdk::models::aliases::ArchivedMessageId","client_sdk::models::aliases::ArchivedEmoteId","client_sdk::models::aliases::ArchivedFileId","client_sdk::models::aliases::ArchivedInviteId","client_sdk::models::aliases::ArchivedThreadId","client_sdk::models::aliases::ArchivedFolderId"],["
source§

impl<__D: Fallible + ?Sized> Deserialize<ReadyPayload, __D> for Archived<ReadyPayload>
where\n Arc<Ready>: Archive,\n <Arc<Ready> as Archive>::Archived: Deserialize<Arc<Ready>, __D>,

source§

fn deserialize(\n &self,\n deserializer: &mut __D,\n) -> Result<ReadyPayload, <__D as Fallible>::Error>

Deserializes using the given deserializer
","Deserialize","client_sdk::models::aliases::ArchivedPartyId","client_sdk::models::aliases::ArchivedUserId","client_sdk::models::aliases::ArchivedRoleId","client_sdk::models::aliases::ArchivedRoomId","client_sdk::models::aliases::ArchivedMessageId","client_sdk::models::aliases::ArchivedEmoteId","client_sdk::models::aliases::ArchivedFileId","client_sdk::models::aliases::ArchivedInviteId","client_sdk::models::aliases::ArchivedThreadId","client_sdk::models::aliases::ArchivedFolderId"],["
source§

impl<__D: Fallible + ?Sized> Deserialize<RedeemInvite, __D> for Archived<RedeemInvite>
where\n SmolStr: Archive,\n <SmolStr as Archive>::Archived: Deserialize<SmolStr, __D>,\n RedeemInviteBody: Archive,\n <RedeemInviteBody as Archive>::Archived: Deserialize<RedeemInviteBody, __D>,

source§

fn deserialize(\n &self,\n deserializer: &mut __D,\n) -> Result<RedeemInvite, <__D as Fallible>::Error>

Deserializes using the given deserializer
","Deserialize","client_sdk::models::aliases::ArchivedPartyId","client_sdk::models::aliases::ArchivedUserId","client_sdk::models::aliases::ArchivedRoleId","client_sdk::models::aliases::ArchivedRoomId","client_sdk::models::aliases::ArchivedMessageId","client_sdk::models::aliases::ArchivedEmoteId","client_sdk::models::aliases::ArchivedFileId","client_sdk::models::aliases::ArchivedInviteId","client_sdk::models::aliases::ArchivedThreadId","client_sdk::models::aliases::ArchivedFolderId"],["
source§

impl<__D: Fallible + ?Sized> Deserialize<RedeemInviteBody, __D> for Archived<RedeemInviteBody>
where\n Option<SmolStr>: Archive,\n <Option<SmolStr> as Archive>::Archived: Deserialize<Option<SmolStr>, __D>,

source§

fn deserialize(\n &self,\n deserializer: &mut __D,\n) -> Result<RedeemInviteBody, <__D as Fallible>::Error>

Deserializes using the given deserializer
","Deserialize","client_sdk::models::aliases::ArchivedPartyId","client_sdk::models::aliases::ArchivedUserId","client_sdk::models::aliases::ArchivedRoleId","client_sdk::models::aliases::ArchivedRoomId","client_sdk::models::aliases::ArchivedMessageId","client_sdk::models::aliases::ArchivedEmoteId","client_sdk::models::aliases::ArchivedFileId","client_sdk::models::aliases::ArchivedInviteId","client_sdk::models::aliases::ArchivedThreadId","client_sdk::models::aliases::ArchivedFolderId"],["
source§

impl<__D: Fallible + ?Sized> Deserialize<RelationAddPayload, __D> for Archived<RelationAddPayload>
where\n Arc<Relationship>: Archive,\n <Arc<Relationship> as Archive>::Archived: Deserialize<Arc<Relationship>, __D>,

source§

fn deserialize(\n &self,\n deserializer: &mut __D,\n) -> Result<RelationAddPayload, <__D as Fallible>::Error>

Deserializes using the given deserializer
","Deserialize","client_sdk::models::aliases::ArchivedPartyId","client_sdk::models::aliases::ArchivedUserId","client_sdk::models::aliases::ArchivedRoleId","client_sdk::models::aliases::ArchivedRoomId","client_sdk::models::aliases::ArchivedMessageId","client_sdk::models::aliases::ArchivedEmoteId","client_sdk::models::aliases::ArchivedFileId","client_sdk::models::aliases::ArchivedInviteId","client_sdk::models::aliases::ArchivedThreadId","client_sdk::models::aliases::ArchivedFolderId"],["
source§

impl<__D: Fallible + ?Sized> Deserialize<RelationRemovePayload, __D> for Archived<RelationRemovePayload>
where\n UserId: Archive,\n <UserId as Archive>::Archived: Deserialize<UserId, __D>,

source§

fn deserialize(\n &self,\n deserializer: &mut __D,\n) -> Result<RelationRemovePayload, <__D as Fallible>::Error>

Deserializes using the given deserializer
","Deserialize","client_sdk::models::aliases::ArchivedPartyId","client_sdk::models::aliases::ArchivedUserId","client_sdk::models::aliases::ArchivedRoleId","client_sdk::models::aliases::ArchivedRoomId","client_sdk::models::aliases::ArchivedMessageId","client_sdk::models::aliases::ArchivedEmoteId","client_sdk::models::aliases::ArchivedFileId","client_sdk::models::aliases::ArchivedInviteId","client_sdk::models::aliases::ArchivedThreadId","client_sdk::models::aliases::ArchivedFolderId"],["
source§

impl<__D: Fallible + ?Sized> Deserialize<Relationship, __D> for Archived<Relationship>
where\n Option<SmolStr>: Archive,\n <Option<SmolStr> as Archive>::Archived: Deserialize<Option<SmolStr>, __D>,\n User: Archive,\n <User as Archive>::Archived: Deserialize<User, __D>,\n Timestamp: Archive,\n <Timestamp as Archive>::Archived: Deserialize<Timestamp, __D>,\n UserRelationship: Archive,\n <UserRelationship as Archive>::Archived: Deserialize<UserRelationship, __D>,\n bool: Archive,\n <bool as Archive>::Archived: Deserialize<bool, __D>,

source§

fn deserialize(\n &self,\n deserializer: &mut __D,\n) -> Result<Relationship, <__D as Fallible>::Error>

Deserializes using the given deserializer
","Deserialize","client_sdk::models::aliases::ArchivedPartyId","client_sdk::models::aliases::ArchivedUserId","client_sdk::models::aliases::ArchivedRoleId","client_sdk::models::aliases::ArchivedRoomId","client_sdk::models::aliases::ArchivedMessageId","client_sdk::models::aliases::ArchivedEmoteId","client_sdk::models::aliases::ArchivedFileId","client_sdk::models::aliases::ArchivedInviteId","client_sdk::models::aliases::ArchivedThreadId","client_sdk::models::aliases::ArchivedFolderId"],["
source§

impl<__D: Fallible + ?Sized> Deserialize<Remove2FA, __D> for Archived<Remove2FA>
where\n Remove2FAForm: Archive,\n <Remove2FAForm as Archive>::Archived: Deserialize<Remove2FAForm, __D>,

source§

fn deserialize(\n &self,\n deserializer: &mut __D,\n) -> Result<Remove2FA, <__D as Fallible>::Error>

Deserializes using the given deserializer
","Deserialize","client_sdk::models::aliases::ArchivedPartyId","client_sdk::models::aliases::ArchivedUserId","client_sdk::models::aliases::ArchivedRoleId","client_sdk::models::aliases::ArchivedRoomId","client_sdk::models::aliases::ArchivedMessageId","client_sdk::models::aliases::ArchivedEmoteId","client_sdk::models::aliases::ArchivedFileId","client_sdk::models::aliases::ArchivedInviteId","client_sdk::models::aliases::ArchivedThreadId","client_sdk::models::aliases::ArchivedFolderId"],["
source§

impl<__D: Fallible + ?Sized> Deserialize<Remove2FAForm, __D> for Archived<Remove2FAForm>
where\n SmolStr: Archive,\n <SmolStr as Archive>::Archived: Deserialize<SmolStr, __D>,

source§

fn deserialize(\n &self,\n deserializer: &mut __D,\n) -> Result<Remove2FAForm, <__D as Fallible>::Error>

Deserializes using the given deserializer
","Deserialize","client_sdk::models::aliases::ArchivedPartyId","client_sdk::models::aliases::ArchivedUserId","client_sdk::models::aliases::ArchivedRoleId","client_sdk::models::aliases::ArchivedRoomId","client_sdk::models::aliases::ArchivedMessageId","client_sdk::models::aliases::ArchivedEmoteId","client_sdk::models::aliases::ArchivedFileId","client_sdk::models::aliases::ArchivedInviteId","client_sdk::models::aliases::ArchivedThreadId","client_sdk::models::aliases::ArchivedFolderId"],["
source§

impl<__D: Fallible + ?Sized> Deserialize<ResumePayload, __D> for Archived<ResumePayload>
where\n Snowflake: Archive,\n <Snowflake as Archive>::Archived: Deserialize<Snowflake, __D>,

source§

fn deserialize(\n &self,\n deserializer: &mut __D,\n) -> Result<ResumePayload, <__D as Fallible>::Error>

Deserializes using the given deserializer
","Deserialize","client_sdk::models::aliases::ArchivedPartyId","client_sdk::models::aliases::ArchivedUserId","client_sdk::models::aliases::ArchivedRoleId","client_sdk::models::aliases::ArchivedRoomId","client_sdk::models::aliases::ArchivedMessageId","client_sdk::models::aliases::ArchivedEmoteId","client_sdk::models::aliases::ArchivedFileId","client_sdk::models::aliases::ArchivedInviteId","client_sdk::models::aliases::ArchivedThreadId","client_sdk::models::aliases::ArchivedFolderId"],["
source§

impl<__D: Fallible + ?Sized> Deserialize<RevokeInvite, __D> for Archived<RevokeInvite>
where\n SmolStr: Archive,\n <SmolStr as Archive>::Archived: Deserialize<SmolStr, __D>,

source§

fn deserialize(\n &self,\n deserializer: &mut __D,\n) -> Result<RevokeInvite, <__D as Fallible>::Error>

Deserializes using the given deserializer
","Deserialize","client_sdk::models::aliases::ArchivedPartyId","client_sdk::models::aliases::ArchivedUserId","client_sdk::models::aliases::ArchivedRoleId","client_sdk::models::aliases::ArchivedRoomId","client_sdk::models::aliases::ArchivedMessageId","client_sdk::models::aliases::ArchivedEmoteId","client_sdk::models::aliases::ArchivedFileId","client_sdk::models::aliases::ArchivedInviteId","client_sdk::models::aliases::ArchivedThreadId","client_sdk::models::aliases::ArchivedFolderId"],["
source§

impl<__D: Fallible + ?Sized> Deserialize<Role, __D> for Archived<Role>
where\n RoleId: Archive,\n <RoleId as Archive>::Archived: Deserialize<RoleId, __D>,\n PartyId: Archive,\n <PartyId as Archive>::Archived: Deserialize<PartyId, __D>,\n Option<EncryptedSnowflake>: Archive,\n <Option<EncryptedSnowflake> as Archive>::Archived: Deserialize<Option<EncryptedSnowflake>, __D>,\n SmolStr: Archive,\n <SmolStr as Archive>::Archived: Deserialize<SmolStr, __D>,\n Option<SmolStr>: Archive,\n <Option<SmolStr> as Archive>::Archived: Deserialize<Option<SmolStr>, __D>,\n Permissions: Archive,\n <Permissions as Archive>::Archived: Deserialize<Permissions, __D>,\n Option<u32>: Archive,\n <Option<u32> as Archive>::Archived: Deserialize<Option<u32>, __D>,\n i16: Archive,\n <i16 as Archive>::Archived: Deserialize<i16, __D>,\n RoleFlags: Archive,\n <RoleFlags as Archive>::Archived: Deserialize<RoleFlags, __D>,

source§

fn deserialize(\n &self,\n deserializer: &mut __D,\n) -> Result<Role, <__D as Fallible>::Error>

Deserializes using the given deserializer
","Deserialize","client_sdk::models::aliases::ArchivedPartyId","client_sdk::models::aliases::ArchivedUserId","client_sdk::models::aliases::ArchivedRoleId","client_sdk::models::aliases::ArchivedRoomId","client_sdk::models::aliases::ArchivedMessageId","client_sdk::models::aliases::ArchivedEmoteId","client_sdk::models::aliases::ArchivedFileId","client_sdk::models::aliases::ArchivedInviteId","client_sdk::models::aliases::ArchivedThreadId","client_sdk::models::aliases::ArchivedFolderId"],["
source§

impl<__D: Fallible + ?Sized> Deserialize<RoleCreatePayload, __D> for Archived<RoleCreatePayload>
where\n Arc<Role>: Archive,\n <Arc<Role> as Archive>::Archived: Deserialize<Arc<Role>, __D>,

source§

fn deserialize(\n &self,\n deserializer: &mut __D,\n) -> Result<RoleCreatePayload, <__D as Fallible>::Error>

Deserializes using the given deserializer
","Deserialize","client_sdk::models::aliases::ArchivedPartyId","client_sdk::models::aliases::ArchivedUserId","client_sdk::models::aliases::ArchivedRoleId","client_sdk::models::aliases::ArchivedRoomId","client_sdk::models::aliases::ArchivedMessageId","client_sdk::models::aliases::ArchivedEmoteId","client_sdk::models::aliases::ArchivedFileId","client_sdk::models::aliases::ArchivedInviteId","client_sdk::models::aliases::ArchivedThreadId","client_sdk::models::aliases::ArchivedFolderId"],["
source§

impl<__D: Fallible + ?Sized> Deserialize<RoleDeleteEvent, __D> for Archived<RoleDeleteEvent>
where\n RoleId: Archive,\n <RoleId as Archive>::Archived: Deserialize<RoleId, __D>,\n PartyId: Archive,\n <PartyId as Archive>::Archived: Deserialize<PartyId, __D>,

source§

fn deserialize(\n &self,\n deserializer: &mut __D,\n) -> Result<RoleDeleteEvent, <__D as Fallible>::Error>

Deserializes using the given deserializer
","Deserialize","client_sdk::models::aliases::ArchivedPartyId","client_sdk::models::aliases::ArchivedUserId","client_sdk::models::aliases::ArchivedRoleId","client_sdk::models::aliases::ArchivedRoomId","client_sdk::models::aliases::ArchivedMessageId","client_sdk::models::aliases::ArchivedEmoteId","client_sdk::models::aliases::ArchivedFileId","client_sdk::models::aliases::ArchivedInviteId","client_sdk::models::aliases::ArchivedThreadId","client_sdk::models::aliases::ArchivedFolderId"],["
source§

impl<__D: Fallible + ?Sized> Deserialize<RoleDeletePayload, __D> for Archived<RoleDeletePayload>
where\n Arc<RoleDeleteEvent>: Archive,\n <Arc<RoleDeleteEvent> as Archive>::Archived: Deserialize<Arc<RoleDeleteEvent>, __D>,

source§

fn deserialize(\n &self,\n deserializer: &mut __D,\n) -> Result<RoleDeletePayload, <__D as Fallible>::Error>

Deserializes using the given deserializer
","Deserialize","client_sdk::models::aliases::ArchivedPartyId","client_sdk::models::aliases::ArchivedUserId","client_sdk::models::aliases::ArchivedRoleId","client_sdk::models::aliases::ArchivedRoomId","client_sdk::models::aliases::ArchivedMessageId","client_sdk::models::aliases::ArchivedEmoteId","client_sdk::models::aliases::ArchivedFileId","client_sdk::models::aliases::ArchivedInviteId","client_sdk::models::aliases::ArchivedThreadId","client_sdk::models::aliases::ArchivedFolderId"],["
source§

impl<__D: Fallible + ?Sized> Deserialize<RoleUpdatePayload, __D> for Archived<RoleUpdatePayload>
where\n Arc<Role>: Archive,\n <Arc<Role> as Archive>::Archived: Deserialize<Arc<Role>, __D>,

source§

fn deserialize(\n &self,\n deserializer: &mut __D,\n) -> Result<RoleUpdatePayload, <__D as Fallible>::Error>

Deserializes using the given deserializer
","Deserialize","client_sdk::models::aliases::ArchivedPartyId","client_sdk::models::aliases::ArchivedUserId","client_sdk::models::aliases::ArchivedRoleId","client_sdk::models::aliases::ArchivedRoomId","client_sdk::models::aliases::ArchivedMessageId","client_sdk::models::aliases::ArchivedEmoteId","client_sdk::models::aliases::ArchivedFileId","client_sdk::models::aliases::ArchivedInviteId","client_sdk::models::aliases::ArchivedThreadId","client_sdk::models::aliases::ArchivedFolderId"],["
source§

impl<__D: Fallible + ?Sized> Deserialize<Room, __D> for Archived<Room>
where\n RoomId: Archive,\n <RoomId as Archive>::Archived: Deserialize<RoomId, __D>,\n RoomFlags: Archive,\n <RoomFlags as Archive>::Archived: Deserialize<RoomFlags, __D>,\n PartyId: Archive,\n <PartyId as Archive>::Archived: Deserialize<PartyId, __D>,\n Option<EncryptedSnowflake>: Archive,\n <Option<EncryptedSnowflake> as Archive>::Archived: Deserialize<Option<EncryptedSnowflake>, __D>,\n SmolStr: Archive,\n <SmolStr as Archive>::Archived: Deserialize<SmolStr, __D>,\n Option<SmolStr>: Archive,\n <Option<SmolStr> as Archive>::Archived: Deserialize<Option<SmolStr>, __D>,\n i16: Archive,\n <i16 as Archive>::Archived: Deserialize<i16, __D>,\n Niche: ArchiveWith<Option<NonZeroU32>> + DeserializeWith<<Niche as ArchiveWith<Option<NonZeroU32>>>::Archived, Option<NonZeroU32>, __D>,\n NicheSnowflake: ArchiveWith<Option<RoomId>> + DeserializeWith<<NicheSnowflake as ArchiveWith<Option<RoomId>>>::Archived, Option<RoomId>, __D>,\n ThinVec<Overwrite>: Archive,\n <ThinVec<Overwrite> as Archive>::Archived: Deserialize<ThinVec<Overwrite>, __D>,

source§

fn deserialize(\n &self,\n deserializer: &mut __D,\n) -> Result<Room, <__D as Fallible>::Error>

Deserializes using the given deserializer
","Deserialize","client_sdk::models::aliases::ArchivedPartyId","client_sdk::models::aliases::ArchivedUserId","client_sdk::models::aliases::ArchivedRoleId","client_sdk::models::aliases::ArchivedRoomId","client_sdk::models::aliases::ArchivedMessageId","client_sdk::models::aliases::ArchivedEmoteId","client_sdk::models::aliases::ArchivedFileId","client_sdk::models::aliases::ArchivedInviteId","client_sdk::models::aliases::ArchivedThreadId","client_sdk::models::aliases::ArchivedFolderId"],["
source§

impl<__D: Fallible + ?Sized> Deserialize<RoomCreatePayload, __D> for Archived<RoomCreatePayload>
where\n Arc<()>: Archive,\n <Arc<()> as Archive>::Archived: Deserialize<Arc<()>, __D>,

source§

fn deserialize(\n &self,\n deserializer: &mut __D,\n) -> Result<RoomCreatePayload, <__D as Fallible>::Error>

Deserializes using the given deserializer
","Deserialize","client_sdk::models::aliases::ArchivedPartyId","client_sdk::models::aliases::ArchivedUserId","client_sdk::models::aliases::ArchivedRoleId","client_sdk::models::aliases::ArchivedRoomId","client_sdk::models::aliases::ArchivedMessageId","client_sdk::models::aliases::ArchivedEmoteId","client_sdk::models::aliases::ArchivedFileId","client_sdk::models::aliases::ArchivedInviteId","client_sdk::models::aliases::ArchivedThreadId","client_sdk::models::aliases::ArchivedFolderId"],["
source§

impl<__D: Fallible + ?Sized> Deserialize<RoomDeleteEvent, __D> for Archived<RoomDeleteEvent>
where\n RoomId: Archive,\n <RoomId as Archive>::Archived: Deserialize<RoomId, __D>,\n NicheSnowflake: ArchiveWith<Option<PartyId>> + DeserializeWith<<NicheSnowflake as ArchiveWith<Option<PartyId>>>::Archived, Option<PartyId>, __D>,

source§

fn deserialize(\n &self,\n deserializer: &mut __D,\n) -> Result<RoomDeleteEvent, <__D as Fallible>::Error>

Deserializes using the given deserializer
","Deserialize","client_sdk::models::aliases::ArchivedPartyId","client_sdk::models::aliases::ArchivedUserId","client_sdk::models::aliases::ArchivedRoleId","client_sdk::models::aliases::ArchivedRoomId","client_sdk::models::aliases::ArchivedMessageId","client_sdk::models::aliases::ArchivedEmoteId","client_sdk::models::aliases::ArchivedFileId","client_sdk::models::aliases::ArchivedInviteId","client_sdk::models::aliases::ArchivedThreadId","client_sdk::models::aliases::ArchivedFolderId"],["
source§

impl<__D: Fallible + ?Sized> Deserialize<RoomDeletePayload, __D> for Archived<RoomDeletePayload>
where\n Arc<RoomDeleteEvent>: Archive,\n <Arc<RoomDeleteEvent> as Archive>::Archived: Deserialize<Arc<RoomDeleteEvent>, __D>,

source§

fn deserialize(\n &self,\n deserializer: &mut __D,\n) -> Result<RoomDeletePayload, <__D as Fallible>::Error>

Deserializes using the given deserializer
","Deserialize","client_sdk::models::aliases::ArchivedPartyId","client_sdk::models::aliases::ArchivedUserId","client_sdk::models::aliases::ArchivedRoleId","client_sdk::models::aliases::ArchivedRoomId","client_sdk::models::aliases::ArchivedMessageId","client_sdk::models::aliases::ArchivedEmoteId","client_sdk::models::aliases::ArchivedFileId","client_sdk::models::aliases::ArchivedInviteId","client_sdk::models::aliases::ArchivedThreadId","client_sdk::models::aliases::ArchivedFolderId"],["
source§

impl<__D: Fallible + ?Sized> Deserialize<RoomKind, __D> for Archived<RoomKind>

source§

fn deserialize(\n &self,\n deserializer: &mut __D,\n) -> Result<RoomKind, <__D as Fallible>::Error>

Deserializes using the given deserializer
","Deserialize","client_sdk::models::aliases::ArchivedPartyId","client_sdk::models::aliases::ArchivedUserId","client_sdk::models::aliases::ArchivedRoleId","client_sdk::models::aliases::ArchivedRoomId","client_sdk::models::aliases::ArchivedMessageId","client_sdk::models::aliases::ArchivedEmoteId","client_sdk::models::aliases::ArchivedFileId","client_sdk::models::aliases::ArchivedInviteId","client_sdk::models::aliases::ArchivedThreadId","client_sdk::models::aliases::ArchivedFolderId"],["
source§

impl<__D: Fallible + ?Sized> Deserialize<RoomPinsUpdatePayload, __D> for Archived<RoomPinsUpdatePayload>

source§

fn deserialize(\n &self,\n deserializer: &mut __D,\n) -> Result<RoomPinsUpdatePayload, <__D as Fallible>::Error>

Deserializes using the given deserializer
","Deserialize","client_sdk::models::aliases::ArchivedPartyId","client_sdk::models::aliases::ArchivedUserId","client_sdk::models::aliases::ArchivedRoleId","client_sdk::models::aliases::ArchivedRoomId","client_sdk::models::aliases::ArchivedMessageId","client_sdk::models::aliases::ArchivedEmoteId","client_sdk::models::aliases::ArchivedFileId","client_sdk::models::aliases::ArchivedInviteId","client_sdk::models::aliases::ArchivedThreadId","client_sdk::models::aliases::ArchivedFolderId"],["
source§

impl<__D: Fallible + ?Sized> Deserialize<RoomStatistics, __D> for Archived<RoomStatistics>
where\n u64: Archive,\n <u64 as Archive>::Archived: Deserialize<u64, __D>,

source§

fn deserialize(\n &self,\n deserializer: &mut __D,\n) -> Result<RoomStatistics, <__D as Fallible>::Error>

Deserializes using the given deserializer
","Deserialize","client_sdk::models::aliases::ArchivedPartyId","client_sdk::models::aliases::ArchivedUserId","client_sdk::models::aliases::ArchivedRoleId","client_sdk::models::aliases::ArchivedRoomId","client_sdk::models::aliases::ArchivedMessageId","client_sdk::models::aliases::ArchivedEmoteId","client_sdk::models::aliases::ArchivedFileId","client_sdk::models::aliases::ArchivedInviteId","client_sdk::models::aliases::ArchivedThreadId","client_sdk::models::aliases::ArchivedFolderId"],["
source§

impl<__D: Fallible + ?Sized> Deserialize<RoomUpdatePayload, __D> for Archived<RoomUpdatePayload>
where\n Arc<()>: Archive,\n <Arc<()> as Archive>::Archived: Deserialize<Arc<()>, __D>,

source§

fn deserialize(\n &self,\n deserializer: &mut __D,\n) -> Result<RoomUpdatePayload, <__D as Fallible>::Error>

Deserializes using the given deserializer
","Deserialize","client_sdk::models::aliases::ArchivedPartyId","client_sdk::models::aliases::ArchivedUserId","client_sdk::models::aliases::ArchivedRoleId","client_sdk::models::aliases::ArchivedRoomId","client_sdk::models::aliases::ArchivedMessageId","client_sdk::models::aliases::ArchivedEmoteId","client_sdk::models::aliases::ArchivedFileId","client_sdk::models::aliases::ArchivedInviteId","client_sdk::models::aliases::ArchivedThreadId","client_sdk::models::aliases::ArchivedFolderId"],["
source§

impl<__D: Fallible + ?Sized> Deserialize<SearchParty, __D> for Archived<SearchParty>
where\n PartyId: Archive,\n <PartyId as Archive>::Archived: Deserialize<PartyId, __D>,\n SearchQuery: Archive,\n <SearchQuery as Archive>::Archived: Deserialize<SearchQuery, __D>,

source§

fn deserialize(\n &self,\n deserializer: &mut __D,\n) -> Result<SearchParty, <__D as Fallible>::Error>

Deserializes using the given deserializer
","Deserialize","client_sdk::models::aliases::ArchivedPartyId","client_sdk::models::aliases::ArchivedUserId","client_sdk::models::aliases::ArchivedRoleId","client_sdk::models::aliases::ArchivedRoomId","client_sdk::models::aliases::ArchivedMessageId","client_sdk::models::aliases::ArchivedEmoteId","client_sdk::models::aliases::ArchivedFileId","client_sdk::models::aliases::ArchivedInviteId","client_sdk::models::aliases::ArchivedThreadId","client_sdk::models::aliases::ArchivedFolderId"],["
source§

impl<__D: Fallible + ?Sized> Deserialize<SearchQuery, __D> for Archived<SearchQuery>
where\n ThinString: Archive,\n <ThinString as Archive>::Archived: Deserialize<ThinString, __D>,

source§

fn deserialize(\n &self,\n deserializer: &mut __D,\n) -> Result<SearchQuery, <__D as Fallible>::Error>

Deserializes using the given deserializer
","Deserialize","client_sdk::models::aliases::ArchivedPartyId","client_sdk::models::aliases::ArchivedUserId","client_sdk::models::aliases::ArchivedRoleId","client_sdk::models::aliases::ArchivedRoomId","client_sdk::models::aliases::ArchivedMessageId","client_sdk::models::aliases::ArchivedEmoteId","client_sdk::models::aliases::ArchivedFileId","client_sdk::models::aliases::ArchivedInviteId","client_sdk::models::aliases::ArchivedThreadId","client_sdk::models::aliases::ArchivedFolderId"],["
source§

impl<__D: Fallible + ?Sized> Deserialize<ServerConfig, __D> for Archived<ServerConfig>
where\n HCaptchaSiteKey: Archive,\n <HCaptchaSiteKey as Archive>::Archived: Deserialize<HCaptchaSiteKey, __D>,\n SmolStr: Archive,\n <SmolStr as Archive>::Archived: Deserialize<SmolStr, __D>,\n u8: Archive,\n <u8 as Archive>::Archived: Deserialize<u8, __D>,\n bool: Archive,\n <bool as Archive>::Archived: Deserialize<bool, __D>,\n ServerLimits: Archive,\n <ServerLimits as Archive>::Archived: Deserialize<ServerLimits, __D>,

source§

fn deserialize(\n &self,\n deserializer: &mut __D,\n) -> Result<ServerConfig, <__D as Fallible>::Error>

Deserializes using the given deserializer
","Deserialize","client_sdk::models::aliases::ArchivedPartyId","client_sdk::models::aliases::ArchivedUserId","client_sdk::models::aliases::ArchivedRoleId","client_sdk::models::aliases::ArchivedRoomId","client_sdk::models::aliases::ArchivedMessageId","client_sdk::models::aliases::ArchivedEmoteId","client_sdk::models::aliases::ArchivedFileId","client_sdk::models::aliases::ArchivedInviteId","client_sdk::models::aliases::ArchivedThreadId","client_sdk::models::aliases::ArchivedFolderId"],["
source§

impl<__D: Fallible + ?Sized> Deserialize<ServerLimits, __D> for Archived<ServerLimits>
where\n u64: Archive,\n <u64 as Archive>::Archived: Deserialize<u64, __D>,\n u32: Archive,\n <u32 as Archive>::Archived: Deserialize<u32, __D>,

source§

fn deserialize(\n &self,\n deserializer: &mut __D,\n) -> Result<ServerLimits, <__D as Fallible>::Error>

Deserializes using the given deserializer
","Deserialize","client_sdk::models::aliases::ArchivedPartyId","client_sdk::models::aliases::ArchivedUserId","client_sdk::models::aliases::ArchivedRoleId","client_sdk::models::aliases::ArchivedRoomId","client_sdk::models::aliases::ArchivedMessageId","client_sdk::models::aliases::ArchivedEmoteId","client_sdk::models::aliases::ArchivedFileId","client_sdk::models::aliases::ArchivedInviteId","client_sdk::models::aliases::ArchivedThreadId","client_sdk::models::aliases::ArchivedFolderId"],["
source§

impl<__D: Fallible + ?Sized> Deserialize<ServerMsg, __D> for Archived<ServerMsg>
where\n HelloPayload: Archive,\n <HelloPayload as Archive>::Archived: Deserialize<HelloPayload, __D>,\n HeartbeatAckPayload: Archive,\n <HeartbeatAckPayload as Archive>::Archived: Deserialize<HeartbeatAckPayload, __D>,\n ReadyPayload: Archive,\n <ReadyPayload as Archive>::Archived: Deserialize<ReadyPayload, __D>,\n InvalidSessionPayload: Archive,\n <InvalidSessionPayload as Archive>::Archived: Deserialize<InvalidSessionPayload, __D>,\n PartyCreatePayload: Archive,\n <PartyCreatePayload as Archive>::Archived: Deserialize<PartyCreatePayload, __D>,\n PartyUpdatePayload: Archive,\n <PartyUpdatePayload as Archive>::Archived: Deserialize<PartyUpdatePayload, __D>,\n PartyDeletePayload: Archive,\n <PartyDeletePayload as Archive>::Archived: Deserialize<PartyDeletePayload, __D>,\n RoleCreatePayload: Archive,\n <RoleCreatePayload as Archive>::Archived: Deserialize<RoleCreatePayload, __D>,\n RoleUpdatePayload: Archive,\n <RoleUpdatePayload as Archive>::Archived: Deserialize<RoleUpdatePayload, __D>,\n RoleDeletePayload: Archive,\n <RoleDeletePayload as Archive>::Archived: Deserialize<RoleDeletePayload, __D>,\n MemberAddPayload: Archive,\n <MemberAddPayload as Archive>::Archived: Deserialize<MemberAddPayload, __D>,\n MemberUpdatePayload: Archive,\n <MemberUpdatePayload as Archive>::Archived: Deserialize<MemberUpdatePayload, __D>,\n MemberRemovePayload: Archive,\n <MemberRemovePayload as Archive>::Archived: Deserialize<MemberRemovePayload, __D>,\n MemberBanPayload: Archive,\n <MemberBanPayload as Archive>::Archived: Deserialize<MemberBanPayload, __D>,\n MemberUnbanPayload: Archive,\n <MemberUnbanPayload as Archive>::Archived: Deserialize<MemberUnbanPayload, __D>,\n RoomCreatePayload: Archive,\n <RoomCreatePayload as Archive>::Archived: Deserialize<RoomCreatePayload, __D>,\n RoomUpdatePayload: Archive,\n <RoomUpdatePayload as Archive>::Archived: Deserialize<RoomUpdatePayload, __D>,\n RoomDeletePayload: Archive,\n <RoomDeletePayload as Archive>::Archived: Deserialize<RoomDeletePayload, __D>,\n RoomPinsUpdatePayload: Archive,\n <RoomPinsUpdatePayload as Archive>::Archived: Deserialize<RoomPinsUpdatePayload, __D>,\n MessageCreatePayload: Archive,\n <MessageCreatePayload as Archive>::Archived: Deserialize<MessageCreatePayload, __D>,\n MessageUpdatePayload: Archive,\n <MessageUpdatePayload as Archive>::Archived: Deserialize<MessageUpdatePayload, __D>,\n MessageDeletePayload: Archive,\n <MessageDeletePayload as Archive>::Archived: Deserialize<MessageDeletePayload, __D>,\n MessageReactionAddPayload: Archive,\n <MessageReactionAddPayload as Archive>::Archived: Deserialize<MessageReactionAddPayload, __D>,\n MessageReactionRemovePayload: Archive,\n <MessageReactionRemovePayload as Archive>::Archived: Deserialize<MessageReactionRemovePayload, __D>,\n MessageReactionRemoveAllPayload: Archive,\n <MessageReactionRemoveAllPayload as Archive>::Archived: Deserialize<MessageReactionRemoveAllPayload, __D>,\n MessageReactionRemoveEmotePayload: Archive,\n <MessageReactionRemoveEmotePayload as Archive>::Archived: Deserialize<MessageReactionRemoveEmotePayload, __D>,\n PresenceUpdatePayload: Archive,\n <PresenceUpdatePayload as Archive>::Archived: Deserialize<PresenceUpdatePayload, __D>,\n TypingStartPayload: Archive,\n <TypingStartPayload as Archive>::Archived: Deserialize<TypingStartPayload, __D>,\n UserUpdatePayload: Archive,\n <UserUpdatePayload as Archive>::Archived: Deserialize<UserUpdatePayload, __D>,\n ProfileUpdatePayload: Archive,\n <ProfileUpdatePayload as Archive>::Archived: Deserialize<ProfileUpdatePayload, __D>,\n RelationAddPayload: Archive,\n <RelationAddPayload as Archive>::Archived: Deserialize<RelationAddPayload, __D>,\n RelationRemovePayload: Archive,\n <RelationRemovePayload as Archive>::Archived: Deserialize<RelationRemovePayload, __D>,

source§

fn deserialize(\n &self,\n deserializer: &mut __D,\n) -> Result<ServerMsg, <__D as Fallible>::Error>

Deserializes using the given deserializer
","Deserialize","client_sdk::models::aliases::ArchivedPartyId","client_sdk::models::aliases::ArchivedUserId","client_sdk::models::aliases::ArchivedRoleId","client_sdk::models::aliases::ArchivedRoomId","client_sdk::models::aliases::ArchivedMessageId","client_sdk::models::aliases::ArchivedEmoteId","client_sdk::models::aliases::ArchivedFileId","client_sdk::models::aliases::ArchivedInviteId","client_sdk::models::aliases::ArchivedThreadId","client_sdk::models::aliases::ArchivedFolderId"],["
source§

impl<__D: Fallible + ?Sized> Deserialize<Session, __D> for Archived<Session>
where\n AuthToken: Archive,\n <AuthToken as Archive>::Archived: Deserialize<AuthToken, __D>,\n Timestamp: Archive,\n <Timestamp as Archive>::Archived: Deserialize<Timestamp, __D>,

source§

fn deserialize(\n &self,\n deserializer: &mut __D,\n) -> Result<Session, <__D as Fallible>::Error>

Deserializes using the given deserializer
","Deserialize","client_sdk::models::aliases::ArchivedPartyId","client_sdk::models::aliases::ArchivedUserId","client_sdk::models::aliases::ArchivedRoleId","client_sdk::models::aliases::ArchivedRoomId","client_sdk::models::aliases::ArchivedMessageId","client_sdk::models::aliases::ArchivedEmoteId","client_sdk::models::aliases::ArchivedFileId","client_sdk::models::aliases::ArchivedInviteId","client_sdk::models::aliases::ArchivedThreadId","client_sdk::models::aliases::ArchivedFolderId"],["
source§

impl<__D: Fallible + ?Sized> Deserialize<SetPresence, __D> for Archived<SetPresence>
where\n UserPresence: Archive,\n <UserPresence as Archive>::Archived: Deserialize<UserPresence, __D>,

source§

fn deserialize(\n &self,\n deserializer: &mut __D,\n) -> Result<SetPresence, <__D as Fallible>::Error>

Deserializes using the given deserializer
","Deserialize","client_sdk::models::aliases::ArchivedPartyId","client_sdk::models::aliases::ArchivedUserId","client_sdk::models::aliases::ArchivedRoleId","client_sdk::models::aliases::ArchivedRoomId","client_sdk::models::aliases::ArchivedMessageId","client_sdk::models::aliases::ArchivedEmoteId","client_sdk::models::aliases::ArchivedFileId","client_sdk::models::aliases::ArchivedInviteId","client_sdk::models::aliases::ArchivedThreadId","client_sdk::models::aliases::ArchivedFolderId"],["
source§

impl<__D: Fallible + ?Sized> Deserialize<SetPresencePayload, __D> for Archived<SetPresencePayload>
where\n Box<SetPresence>: Archive,\n <Box<SetPresence> as Archive>::Archived: Deserialize<Box<SetPresence>, __D>,

source§

fn deserialize(\n &self,\n deserializer: &mut __D,\n) -> Result<SetPresencePayload, <__D as Fallible>::Error>

Deserializes using the given deserializer
","Deserialize","client_sdk::models::aliases::ArchivedPartyId","client_sdk::models::aliases::ArchivedUserId","client_sdk::models::aliases::ArchivedRoleId","client_sdk::models::aliases::ArchivedRoomId","client_sdk::models::aliases::ArchivedMessageId","client_sdk::models::aliases::ArchivedEmoteId","client_sdk::models::aliases::ArchivedFileId","client_sdk::models::aliases::ArchivedInviteId","client_sdk::models::aliases::ArchivedThreadId","client_sdk::models::aliases::ArchivedFolderId"],["
source§

impl<__D: Fallible + ?Sized> Deserialize<StarMessage, __D> for Archived<StarMessage>
where\n RoomId: Archive,\n <RoomId as Archive>::Archived: Deserialize<RoomId, __D>,\n MessageId: Archive,\n <MessageId as Archive>::Archived: Deserialize<MessageId, __D>,

source§

fn deserialize(\n &self,\n deserializer: &mut __D,\n) -> Result<StarMessage, <__D as Fallible>::Error>

Deserializes using the given deserializer
","Deserialize","client_sdk::models::aliases::ArchivedPartyId","client_sdk::models::aliases::ArchivedUserId","client_sdk::models::aliases::ArchivedRoleId","client_sdk::models::aliases::ArchivedRoomId","client_sdk::models::aliases::ArchivedMessageId","client_sdk::models::aliases::ArchivedEmoteId","client_sdk::models::aliases::ArchivedFileId","client_sdk::models::aliases::ArchivedInviteId","client_sdk::models::aliases::ArchivedThreadId","client_sdk::models::aliases::ArchivedFolderId"],["
source§

impl<__D: Fallible + ?Sized> Deserialize<StartTyping, __D> for Archived<StartTyping>
where\n RoomId: Archive,\n <RoomId as Archive>::Archived: Deserialize<RoomId, __D>,\n StartTypingBody: Archive,\n <StartTypingBody as Archive>::Archived: Deserialize<StartTypingBody, __D>,

source§

fn deserialize(\n &self,\n deserializer: &mut __D,\n) -> Result<StartTyping, <__D as Fallible>::Error>

Deserializes using the given deserializer
","Deserialize","client_sdk::models::aliases::ArchivedPartyId","client_sdk::models::aliases::ArchivedUserId","client_sdk::models::aliases::ArchivedRoleId","client_sdk::models::aliases::ArchivedRoomId","client_sdk::models::aliases::ArchivedMessageId","client_sdk::models::aliases::ArchivedEmoteId","client_sdk::models::aliases::ArchivedFileId","client_sdk::models::aliases::ArchivedInviteId","client_sdk::models::aliases::ArchivedThreadId","client_sdk::models::aliases::ArchivedFolderId"],["
source§

impl<__D: Fallible + ?Sized> Deserialize<StartTypingBody, __D> for Archived<StartTypingBody>
where\n Option<MessageId>: Archive,\n <Option<MessageId> as Archive>::Archived: Deserialize<Option<MessageId>, __D>,

source§

fn deserialize(\n &self,\n deserializer: &mut __D,\n) -> Result<StartTypingBody, <__D as Fallible>::Error>

Deserializes using the given deserializer
","Deserialize","client_sdk::models::aliases::ArchivedPartyId","client_sdk::models::aliases::ArchivedUserId","client_sdk::models::aliases::ArchivedRoleId","client_sdk::models::aliases::ArchivedRoomId","client_sdk::models::aliases::ArchivedMessageId","client_sdk::models::aliases::ArchivedEmoteId","client_sdk::models::aliases::ArchivedFileId","client_sdk::models::aliases::ArchivedInviteId","client_sdk::models::aliases::ArchivedThreadId","client_sdk::models::aliases::ArchivedFolderId"],["
source§

impl<__D: Fallible + ?Sized> Deserialize<SubscribePayload, __D> for Archived<SubscribePayload>
where\n PartyId: Archive,\n <PartyId as Archive>::Archived: Deserialize<PartyId, __D>,

source§

fn deserialize(\n &self,\n deserializer: &mut __D,\n) -> Result<SubscribePayload, <__D as Fallible>::Error>

Deserializes using the given deserializer
","Deserialize","client_sdk::models::aliases::ArchivedPartyId","client_sdk::models::aliases::ArchivedUserId","client_sdk::models::aliases::ArchivedRoleId","client_sdk::models::aliases::ArchivedRoomId","client_sdk::models::aliases::ArchivedMessageId","client_sdk::models::aliases::ArchivedEmoteId","client_sdk::models::aliases::ArchivedFileId","client_sdk::models::aliases::ArchivedInviteId","client_sdk::models::aliases::ArchivedThreadId","client_sdk::models::aliases::ArchivedFolderId"],["
source§

impl<__D: Fallible + ?Sized> Deserialize<TabSize, __D> for Archived<TabSize>
where\n u8: Archive,\n <u8 as Archive>::Archived: Deserialize<u8, __D>,

source§

fn deserialize(\n &self,\n deserializer: &mut __D,\n) -> Result<TabSize, <__D as Fallible>::Error>

Deserializes using the given deserializer
","Deserialize","client_sdk::models::aliases::ArchivedPartyId","client_sdk::models::aliases::ArchivedUserId","client_sdk::models::aliases::ArchivedRoleId","client_sdk::models::aliases::ArchivedRoomId","client_sdk::models::aliases::ArchivedMessageId","client_sdk::models::aliases::ArchivedEmoteId","client_sdk::models::aliases::ArchivedFileId","client_sdk::models::aliases::ArchivedInviteId","client_sdk::models::aliases::ArchivedThreadId","client_sdk::models::aliases::ArchivedFolderId"],["
source§

impl<__D: Fallible + ?Sized> Deserialize<Temperature, __D> for Archived<Temperature>
where\n u16: Archive,\n <u16 as Archive>::Archived: Deserialize<u16, __D>,

source§

fn deserialize(\n &self,\n deserializer: &mut __D,\n) -> Result<Temperature, <__D as Fallible>::Error>

Deserializes using the given deserializer
","Deserialize","client_sdk::models::aliases::ArchivedPartyId","client_sdk::models::aliases::ArchivedUserId","client_sdk::models::aliases::ArchivedRoleId","client_sdk::models::aliases::ArchivedRoomId","client_sdk::models::aliases::ArchivedMessageId","client_sdk::models::aliases::ArchivedEmoteId","client_sdk::models::aliases::ArchivedFileId","client_sdk::models::aliases::ArchivedInviteId","client_sdk::models::aliases::ArchivedThreadId","client_sdk::models::aliases::ArchivedFolderId"],["
source§

impl<__D: Fallible + ?Sized> Deserialize<Thread, __D> for Archived<Thread>
where\n ThreadId: Archive,\n <ThreadId as Archive>::Archived: Deserialize<ThreadId, __D>,\n Message: Archive,\n <Message as Archive>::Archived: Deserialize<Message, __D>,\n ThreadFlags: Archive,\n <ThreadFlags as Archive>::Archived: Deserialize<ThreadFlags, __D>,

source§

fn deserialize(\n &self,\n deserializer: &mut __D,\n) -> Result<Thread, <__D as Fallible>::Error>

Deserializes using the given deserializer
","Deserialize","client_sdk::models::aliases::ArchivedPartyId","client_sdk::models::aliases::ArchivedUserId","client_sdk::models::aliases::ArchivedRoleId","client_sdk::models::aliases::ArchivedRoomId","client_sdk::models::aliases::ArchivedMessageId","client_sdk::models::aliases::ArchivedEmoteId","client_sdk::models::aliases::ArchivedFileId","client_sdk::models::aliases::ArchivedInviteId","client_sdk::models::aliases::ArchivedThreadId","client_sdk::models::aliases::ArchivedFolderId"],["
source§

impl<__D: Fallible + ?Sized> Deserialize<TransferOwnership, __D> for Archived<TransferOwnership>
where\n PartyId: Archive,\n <PartyId as Archive>::Archived: Deserialize<PartyId, __D>,\n UserId: Archive,\n <UserId as Archive>::Archived: Deserialize<UserId, __D>,

source§

fn deserialize(\n &self,\n deserializer: &mut __D,\n) -> Result<TransferOwnership, <__D as Fallible>::Error>

Deserializes using the given deserializer
","Deserialize","client_sdk::models::aliases::ArchivedPartyId","client_sdk::models::aliases::ArchivedUserId","client_sdk::models::aliases::ArchivedRoleId","client_sdk::models::aliases::ArchivedRoomId","client_sdk::models::aliases::ArchivedMessageId","client_sdk::models::aliases::ArchivedEmoteId","client_sdk::models::aliases::ArchivedFileId","client_sdk::models::aliases::ArchivedInviteId","client_sdk::models::aliases::ArchivedThreadId","client_sdk::models::aliases::ArchivedFolderId"],["
source§

impl<__D: Fallible + ?Sized> Deserialize<TypingStart, __D> for Archived<TypingStart>
where\n RoomId: Archive,\n <RoomId as Archive>::Archived: Deserialize<RoomId, __D>,\n PartyId: Archive,\n <PartyId as Archive>::Archived: Deserialize<PartyId, __D>,\n UserId: Archive,\n <UserId as Archive>::Archived: Deserialize<UserId, __D>,\n PartyMember: Archive,\n <PartyMember as Archive>::Archived: Deserialize<PartyMember, __D>,\n Option<MessageId>: Archive,\n <Option<MessageId> as Archive>::Archived: Deserialize<Option<MessageId>, __D>,

source§

fn deserialize(\n &self,\n deserializer: &mut __D,\n) -> Result<TypingStart, <__D as Fallible>::Error>

Deserializes using the given deserializer
","Deserialize","client_sdk::models::aliases::ArchivedPartyId","client_sdk::models::aliases::ArchivedUserId","client_sdk::models::aliases::ArchivedRoleId","client_sdk::models::aliases::ArchivedRoomId","client_sdk::models::aliases::ArchivedMessageId","client_sdk::models::aliases::ArchivedEmoteId","client_sdk::models::aliases::ArchivedFileId","client_sdk::models::aliases::ArchivedInviteId","client_sdk::models::aliases::ArchivedThreadId","client_sdk::models::aliases::ArchivedFolderId"],["
source§

impl<__D: Fallible + ?Sized> Deserialize<TypingStartPayload, __D> for Archived<TypingStartPayload>
where\n Arc<TypingStart>: Archive,\n <Arc<TypingStart> as Archive>::Archived: Deserialize<Arc<TypingStart>, __D>,

source§

fn deserialize(\n &self,\n deserializer: &mut __D,\n) -> Result<TypingStartPayload, <__D as Fallible>::Error>

Deserializes using the given deserializer
","Deserialize","client_sdk::models::aliases::ArchivedPartyId","client_sdk::models::aliases::ArchivedUserId","client_sdk::models::aliases::ArchivedRoleId","client_sdk::models::aliases::ArchivedRoomId","client_sdk::models::aliases::ArchivedMessageId","client_sdk::models::aliases::ArchivedEmoteId","client_sdk::models::aliases::ArchivedFileId","client_sdk::models::aliases::ArchivedInviteId","client_sdk::models::aliases::ArchivedThreadId","client_sdk::models::aliases::ArchivedFolderId"],["
source§

impl<__D: Fallible + ?Sized> Deserialize<UnpinMessage, __D> for Archived<UnpinMessage>
where\n RoomId: Archive,\n <RoomId as Archive>::Archived: Deserialize<RoomId, __D>,\n MessageId: Archive,\n <MessageId as Archive>::Archived: Deserialize<MessageId, __D>,\n FolderId: Archive,\n <FolderId as Archive>::Archived: Deserialize<FolderId, __D>,

source§

fn deserialize(\n &self,\n deserializer: &mut __D,\n) -> Result<UnpinMessage, <__D as Fallible>::Error>

Deserializes using the given deserializer
","Deserialize","client_sdk::models::aliases::ArchivedPartyId","client_sdk::models::aliases::ArchivedUserId","client_sdk::models::aliases::ArchivedRoleId","client_sdk::models::aliases::ArchivedRoomId","client_sdk::models::aliases::ArchivedMessageId","client_sdk::models::aliases::ArchivedEmoteId","client_sdk::models::aliases::ArchivedFileId","client_sdk::models::aliases::ArchivedInviteId","client_sdk::models::aliases::ArchivedThreadId","client_sdk::models::aliases::ArchivedFolderId"],["
source§

impl<__D: Fallible + ?Sized> Deserialize<UnstarMessage, __D> for Archived<UnstarMessage>
where\n RoomId: Archive,\n <RoomId as Archive>::Archived: Deserialize<RoomId, __D>,\n MessageId: Archive,\n <MessageId as Archive>::Archived: Deserialize<MessageId, __D>,

source§

fn deserialize(\n &self,\n deserializer: &mut __D,\n) -> Result<UnstarMessage, <__D as Fallible>::Error>

Deserializes using the given deserializer
","Deserialize","client_sdk::models::aliases::ArchivedPartyId","client_sdk::models::aliases::ArchivedUserId","client_sdk::models::aliases::ArchivedRoleId","client_sdk::models::aliases::ArchivedRoomId","client_sdk::models::aliases::ArchivedMessageId","client_sdk::models::aliases::ArchivedEmoteId","client_sdk::models::aliases::ArchivedFileId","client_sdk::models::aliases::ArchivedInviteId","client_sdk::models::aliases::ArchivedThreadId","client_sdk::models::aliases::ArchivedFolderId"],["
source§

impl<__D: Fallible + ?Sized> Deserialize<UnsubscribePayload, __D> for Archived<UnsubscribePayload>
where\n PartyId: Archive,\n <PartyId as Archive>::Archived: Deserialize<PartyId, __D>,

source§

fn deserialize(\n &self,\n deserializer: &mut __D,\n) -> Result<UnsubscribePayload, <__D as Fallible>::Error>

Deserializes using the given deserializer
","Deserialize","client_sdk::models::aliases::ArchivedPartyId","client_sdk::models::aliases::ArchivedUserId","client_sdk::models::aliases::ArchivedRoleId","client_sdk::models::aliases::ArchivedRoomId","client_sdk::models::aliases::ArchivedMessageId","client_sdk::models::aliases::ArchivedEmoteId","client_sdk::models::aliases::ArchivedFileId","client_sdk::models::aliases::ArchivedInviteId","client_sdk::models::aliases::ArchivedThreadId","client_sdk::models::aliases::ArchivedFolderId"],["
source§

impl<__D: Fallible + ?Sized> Deserialize<UpdateMemberProfile, __D> for Archived<UpdateMemberProfile>
where\n PartyId: Archive,\n <PartyId as Archive>::Archived: Deserialize<PartyId, __D>,\n UpdateMemberProfileBody: Archive,\n <UpdateMemberProfileBody as Archive>::Archived: Deserialize<UpdateMemberProfileBody, __D>,

source§

fn deserialize(\n &self,\n deserializer: &mut __D,\n) -> Result<UpdateMemberProfile, <__D as Fallible>::Error>

Deserializes using the given deserializer
","Deserialize","client_sdk::models::aliases::ArchivedPartyId","client_sdk::models::aliases::ArchivedUserId","client_sdk::models::aliases::ArchivedRoleId","client_sdk::models::aliases::ArchivedRoomId","client_sdk::models::aliases::ArchivedMessageId","client_sdk::models::aliases::ArchivedEmoteId","client_sdk::models::aliases::ArchivedFileId","client_sdk::models::aliases::ArchivedInviteId","client_sdk::models::aliases::ArchivedThreadId","client_sdk::models::aliases::ArchivedFolderId"],["
source§

impl<__D: Fallible + ?Sized> Deserialize<UpdateMemberProfileBody, __D> for Archived<UpdateMemberProfileBody>
where\n UpdateUserProfileBody: Archive,\n <UpdateUserProfileBody as Archive>::Archived: Deserialize<UpdateUserProfileBody, __D>,

source§

fn deserialize(\n &self,\n deserializer: &mut __D,\n) -> Result<UpdateMemberProfileBody, <__D as Fallible>::Error>

Deserializes using the given deserializer
","Deserialize","client_sdk::models::aliases::ArchivedPartyId","client_sdk::models::aliases::ArchivedUserId","client_sdk::models::aliases::ArchivedRoleId","client_sdk::models::aliases::ArchivedRoomId","client_sdk::models::aliases::ArchivedMessageId","client_sdk::models::aliases::ArchivedEmoteId","client_sdk::models::aliases::ArchivedFileId","client_sdk::models::aliases::ArchivedInviteId","client_sdk::models::aliases::ArchivedThreadId","client_sdk::models::aliases::ArchivedFolderId"],["
source§

impl<__D: Fallible + ?Sized> Deserialize<UpdateUserPrefs, __D> for Archived<UpdateUserPrefs>
where\n UpdateUserPrefsBody: Archive,\n <UpdateUserPrefsBody as Archive>::Archived: Deserialize<UpdateUserPrefsBody, __D>,

source§

fn deserialize(\n &self,\n deserializer: &mut __D,\n) -> Result<UpdateUserPrefs, <__D as Fallible>::Error>

Deserializes using the given deserializer
","Deserialize","client_sdk::models::aliases::ArchivedPartyId","client_sdk::models::aliases::ArchivedUserId","client_sdk::models::aliases::ArchivedRoleId","client_sdk::models::aliases::ArchivedRoomId","client_sdk::models::aliases::ArchivedMessageId","client_sdk::models::aliases::ArchivedEmoteId","client_sdk::models::aliases::ArchivedFileId","client_sdk::models::aliases::ArchivedInviteId","client_sdk::models::aliases::ArchivedThreadId","client_sdk::models::aliases::ArchivedFolderId"],["
source§

impl<__D: Fallible + ?Sized> Deserialize<UpdateUserPrefsBody, __D> for Archived<UpdateUserPrefsBody>
where\n UserPreferences: Archive,\n <UserPreferences as Archive>::Archived: Deserialize<UserPreferences, __D>,

source§

fn deserialize(\n &self,\n deserializer: &mut __D,\n) -> Result<UpdateUserPrefsBody, <__D as Fallible>::Error>

Deserializes using the given deserializer
","Deserialize","client_sdk::models::aliases::ArchivedPartyId","client_sdk::models::aliases::ArchivedUserId","client_sdk::models::aliases::ArchivedRoleId","client_sdk::models::aliases::ArchivedRoomId","client_sdk::models::aliases::ArchivedMessageId","client_sdk::models::aliases::ArchivedEmoteId","client_sdk::models::aliases::ArchivedFileId","client_sdk::models::aliases::ArchivedInviteId","client_sdk::models::aliases::ArchivedThreadId","client_sdk::models::aliases::ArchivedFolderId"],["
source§

impl<__D: Fallible + ?Sized> Deserialize<UpdateUserProfile, __D> for Archived<UpdateUserProfile>
where\n UpdateUserProfileBody: Archive,\n <UpdateUserProfileBody as Archive>::Archived: Deserialize<UpdateUserProfileBody, __D>,

source§

fn deserialize(\n &self,\n deserializer: &mut __D,\n) -> Result<UpdateUserProfile, <__D as Fallible>::Error>

Deserializes using the given deserializer
","Deserialize","client_sdk::models::aliases::ArchivedPartyId","client_sdk::models::aliases::ArchivedUserId","client_sdk::models::aliases::ArchivedRoleId","client_sdk::models::aliases::ArchivedRoomId","client_sdk::models::aliases::ArchivedMessageId","client_sdk::models::aliases::ArchivedEmoteId","client_sdk::models::aliases::ArchivedFileId","client_sdk::models::aliases::ArchivedInviteId","client_sdk::models::aliases::ArchivedThreadId","client_sdk::models::aliases::ArchivedFolderId"],["
source§

impl<__D: Fallible + ?Sized> Deserialize<UpdateUserProfileBody, __D> for Archived<UpdateUserProfileBody>
where\n UserProfileBits: Archive,\n <UserProfileBits as Archive>::Archived: Deserialize<UserProfileBits, __D>,\n ExtraUserProfileBits: Archive,\n <ExtraUserProfileBits as Archive>::Archived: Deserialize<ExtraUserProfileBits, __D>,\n Nullable<SmolStr>: Archive,\n <Nullable<SmolStr> as Archive>::Archived: Deserialize<Nullable<SmolStr>, __D>,\n Nullable<FileId>: Archive,\n <Nullable<FileId> as Archive>::Archived: Deserialize<Nullable<FileId>, __D>,\n BannerAlign: Archive,\n <BannerAlign as Archive>::Archived: Deserialize<BannerAlign, __D>,

source§

fn deserialize(\n &self,\n deserializer: &mut __D,\n) -> Result<UpdateUserProfileBody, <__D as Fallible>::Error>

Deserializes using the given deserializer
","Deserialize","client_sdk::models::aliases::ArchivedPartyId","client_sdk::models::aliases::ArchivedUserId","client_sdk::models::aliases::ArchivedRoleId","client_sdk::models::aliases::ArchivedRoomId","client_sdk::models::aliases::ArchivedMessageId","client_sdk::models::aliases::ArchivedEmoteId","client_sdk::models::aliases::ArchivedFileId","client_sdk::models::aliases::ArchivedInviteId","client_sdk::models::aliases::ArchivedThreadId","client_sdk::models::aliases::ArchivedFolderId"],["
source§

impl<__D: Fallible + ?Sized> Deserialize<User, __D> for Archived<User>
where\n UserId: Archive,\n <UserId as Archive>::Archived: Deserialize<UserId, __D>,\n SmolStr: Archive,\n <SmolStr as Archive>::Archived: Deserialize<SmolStr, __D>,\n i32: Archive,\n <i32 as Archive>::Archived: Deserialize<i32, __D>,\n UserFlags: Archive,\n <UserFlags as Archive>::Archived: Deserialize<UserFlags, __D>,\n Nullable<Arc<UserProfile>>: Archive,\n <Nullable<Arc<UserProfile>> as Archive>::Archived: Deserialize<Nullable<Arc<UserProfile>>, __D>,\n Option<SmolStr>: Archive,\n <Option<SmolStr> as Archive>::Archived: Deserialize<Option<SmolStr>, __D>,\n Option<UserPreferences>: Archive,\n <Option<UserPreferences> as Archive>::Archived: Deserialize<Option<UserPreferences>, __D>,\n Option<UserPresence>: Archive,\n <Option<UserPresence> as Archive>::Archived: Deserialize<Option<UserPresence>, __D>,

source§

fn deserialize(\n &self,\n deserializer: &mut __D,\n) -> Result<User, <__D as Fallible>::Error>

Deserializes using the given deserializer
","Deserialize","client_sdk::models::aliases::ArchivedPartyId","client_sdk::models::aliases::ArchivedUserId","client_sdk::models::aliases::ArchivedRoleId","client_sdk::models::aliases::ArchivedRoomId","client_sdk::models::aliases::ArchivedMessageId","client_sdk::models::aliases::ArchivedEmoteId","client_sdk::models::aliases::ArchivedFileId","client_sdk::models::aliases::ArchivedInviteId","client_sdk::models::aliases::ArchivedThreadId","client_sdk::models::aliases::ArchivedFolderId"],["
source§

impl<__D: Fallible + ?Sized> Deserialize<UserLogin, __D> for Archived<UserLogin>
where\n UserLoginForm: Archive,\n <UserLoginForm as Archive>::Archived: Deserialize<UserLoginForm, __D>,

source§

fn deserialize(\n &self,\n deserializer: &mut __D,\n) -> Result<UserLogin, <__D as Fallible>::Error>

Deserializes using the given deserializer
","Deserialize","client_sdk::models::aliases::ArchivedPartyId","client_sdk::models::aliases::ArchivedUserId","client_sdk::models::aliases::ArchivedRoleId","client_sdk::models::aliases::ArchivedRoomId","client_sdk::models::aliases::ArchivedMessageId","client_sdk::models::aliases::ArchivedEmoteId","client_sdk::models::aliases::ArchivedFileId","client_sdk::models::aliases::ArchivedInviteId","client_sdk::models::aliases::ArchivedThreadId","client_sdk::models::aliases::ArchivedFolderId"],["
source§

impl<__D: Fallible + ?Sized> Deserialize<UserLoginForm, __D> for Archived<UserLoginForm>
where\n SmolStr: Archive,\n <SmolStr as Archive>::Archived: Deserialize<SmolStr, __D>,\n Option<SmolStr>: Archive,\n <Option<SmolStr> as Archive>::Archived: Deserialize<Option<SmolStr>, __D>,

source§

fn deserialize(\n &self,\n deserializer: &mut __D,\n) -> Result<UserLoginForm, <__D as Fallible>::Error>

Deserializes using the given deserializer
","Deserialize","client_sdk::models::aliases::ArchivedPartyId","client_sdk::models::aliases::ArchivedUserId","client_sdk::models::aliases::ArchivedRoleId","client_sdk::models::aliases::ArchivedRoomId","client_sdk::models::aliases::ArchivedMessageId","client_sdk::models::aliases::ArchivedEmoteId","client_sdk::models::aliases::ArchivedFileId","client_sdk::models::aliases::ArchivedInviteId","client_sdk::models::aliases::ArchivedThreadId","client_sdk::models::aliases::ArchivedFolderId"],["
source§

impl<__D: Fallible + ?Sized> Deserialize<UserLogout, __D> for Archived<UserLogout>

source§

fn deserialize(\n &self,\n deserializer: &mut __D,\n) -> Result<UserLogout, <__D as Fallible>::Error>

Deserializes using the given deserializer
","Deserialize","client_sdk::models::aliases::ArchivedPartyId","client_sdk::models::aliases::ArchivedUserId","client_sdk::models::aliases::ArchivedRoleId","client_sdk::models::aliases::ArchivedRoomId","client_sdk::models::aliases::ArchivedMessageId","client_sdk::models::aliases::ArchivedEmoteId","client_sdk::models::aliases::ArchivedFileId","client_sdk::models::aliases::ArchivedInviteId","client_sdk::models::aliases::ArchivedThreadId","client_sdk::models::aliases::ArchivedFolderId"],["
source§

impl<__D: Fallible + ?Sized> Deserialize<UserPreferences, __D> for Archived<UserPreferences>
where\n Locale: Archive,\n <Locale as Archive>::Archived: Deserialize<Locale, __D>,\n UserPrefsFlags: Archive,\n <UserPrefsFlags as Archive>::Archived: Deserialize<UserPrefsFlags, __D>,\n FriendAddability: Archive,\n <FriendAddability as Archive>::Archived: Deserialize<FriendAddability, __D>,\n Temperature: Archive,\n <Temperature as Archive>::Archived: Deserialize<Temperature, __D>,\n Font: Archive,\n <Font as Archive>::Archived: Deserialize<Font, __D>,\n FontSize: Archive,\n <FontSize as Archive>::Archived: Deserialize<FontSize, __D>,\n Padding: Archive,\n <Padding as Archive>::Archived: Deserialize<Padding, __D>,\n TabSize: Archive,\n <TabSize as Archive>::Archived: Deserialize<TabSize, __D>,

source§

fn deserialize(\n &self,\n deserializer: &mut __D,\n) -> Result<UserPreferences, <__D as Fallible>::Error>

Deserializes using the given deserializer
","Deserialize","client_sdk::models::aliases::ArchivedPartyId","client_sdk::models::aliases::ArchivedUserId","client_sdk::models::aliases::ArchivedRoleId","client_sdk::models::aliases::ArchivedRoomId","client_sdk::models::aliases::ArchivedMessageId","client_sdk::models::aliases::ArchivedEmoteId","client_sdk::models::aliases::ArchivedFileId","client_sdk::models::aliases::ArchivedInviteId","client_sdk::models::aliases::ArchivedThreadId","client_sdk::models::aliases::ArchivedFolderId"],["
source§

impl<__D: Fallible + ?Sized> Deserialize<UserPresence, __D> for Archived<UserPresence>
where\n UserPresenceFlags: Archive,\n <UserPresenceFlags as Archive>::Archived: Deserialize<UserPresenceFlags, __D>,\n Option<u64>: Archive,\n <Option<u64> as Archive>::Archived: Deserialize<Option<u64>, __D>,\n Option<Timestamp>: Archive,\n <Option<Timestamp> as Archive>::Archived: Deserialize<Option<Timestamp>, __D>,\n Option<AnyActivity>: Archive,\n <Option<AnyActivity> as Archive>::Archived: Deserialize<Option<AnyActivity>, __D>,

source§

fn deserialize(\n &self,\n deserializer: &mut __D,\n) -> Result<UserPresence, <__D as Fallible>::Error>

Deserializes using the given deserializer
","Deserialize","client_sdk::models::aliases::ArchivedPartyId","client_sdk::models::aliases::ArchivedUserId","client_sdk::models::aliases::ArchivedRoleId","client_sdk::models::aliases::ArchivedRoomId","client_sdk::models::aliases::ArchivedMessageId","client_sdk::models::aliases::ArchivedEmoteId","client_sdk::models::aliases::ArchivedFileId","client_sdk::models::aliases::ArchivedInviteId","client_sdk::models::aliases::ArchivedThreadId","client_sdk::models::aliases::ArchivedFolderId"],["
source§

impl<__D: Fallible + ?Sized> Deserialize<UserPresenceEvent, __D> for Archived<UserPresenceEvent>
where\n Option<PartyId>: Archive,\n <Option<PartyId> as Archive>::Archived: Deserialize<Option<PartyId>, __D>,\n User: Archive,\n <User as Archive>::Archived: Deserialize<User, __D>,

source§

fn deserialize(\n &self,\n deserializer: &mut __D,\n) -> Result<UserPresenceEvent, <__D as Fallible>::Error>

Deserializes using the given deserializer
","Deserialize","client_sdk::models::aliases::ArchivedPartyId","client_sdk::models::aliases::ArchivedUserId","client_sdk::models::aliases::ArchivedRoleId","client_sdk::models::aliases::ArchivedRoomId","client_sdk::models::aliases::ArchivedMessageId","client_sdk::models::aliases::ArchivedEmoteId","client_sdk::models::aliases::ArchivedFileId","client_sdk::models::aliases::ArchivedInviteId","client_sdk::models::aliases::ArchivedThreadId","client_sdk::models::aliases::ArchivedFolderId"],["
source§

impl<__D: Fallible + ?Sized> Deserialize<UserProfile, __D> for Archived<UserProfile>
where\n UserProfileBits: Archive,\n <UserProfileBits as Archive>::Archived: Deserialize<UserProfileBits, __D>,\n ExtraUserProfileBits: Archive,\n <ExtraUserProfileBits as Archive>::Archived: Deserialize<ExtraUserProfileBits, __D>,\n Nullable<SmolStr>: Archive,\n <Nullable<SmolStr> as Archive>::Archived: Deserialize<Nullable<SmolStr>, __D>,\n Nullable<EncryptedSnowflake>: Archive,\n <Nullable<EncryptedSnowflake> as Archive>::Archived: Deserialize<Nullable<EncryptedSnowflake>, __D>,

source§

fn deserialize(\n &self,\n deserializer: &mut __D,\n) -> Result<UserProfile, <__D as Fallible>::Error>

Deserializes using the given deserializer
","Deserialize","client_sdk::models::aliases::ArchivedPartyId","client_sdk::models::aliases::ArchivedUserId","client_sdk::models::aliases::ArchivedRoleId","client_sdk::models::aliases::ArchivedRoomId","client_sdk::models::aliases::ArchivedMessageId","client_sdk::models::aliases::ArchivedEmoteId","client_sdk::models::aliases::ArchivedFileId","client_sdk::models::aliases::ArchivedInviteId","client_sdk::models::aliases::ArchivedThreadId","client_sdk::models::aliases::ArchivedFolderId"],["
source§

impl<__D: Fallible + ?Sized> Deserialize<UserReactionEvent, __D> for Archived<UserReactionEvent>
where\n UserId: Archive,\n <UserId as Archive>::Archived: Deserialize<UserId, __D>,\n RoomId: Archive,\n <RoomId as Archive>::Archived: Deserialize<RoomId, __D>,\n PartyId: Archive,\n <PartyId as Archive>::Archived: Deserialize<PartyId, __D>,\n MessageId: Archive,\n <MessageId as Archive>::Archived: Deserialize<MessageId, __D>,\n Niche: ArchiveWith<Option<Box<PartyMember>>> + DeserializeWith<<Niche as ArchiveWith<Option<Box<PartyMember>>>>::Archived, Option<Box<PartyMember>>, __D>,\n EmoteOrEmoji: Archive,\n <EmoteOrEmoji as Archive>::Archived: Deserialize<EmoteOrEmoji, __D>,

source§

fn deserialize(\n &self,\n deserializer: &mut __D,\n) -> Result<UserReactionEvent, <__D as Fallible>::Error>

Deserializes using the given deserializer
","Deserialize","client_sdk::models::aliases::ArchivedPartyId","client_sdk::models::aliases::ArchivedUserId","client_sdk::models::aliases::ArchivedRoleId","client_sdk::models::aliases::ArchivedRoomId","client_sdk::models::aliases::ArchivedMessageId","client_sdk::models::aliases::ArchivedEmoteId","client_sdk::models::aliases::ArchivedFileId","client_sdk::models::aliases::ArchivedInviteId","client_sdk::models::aliases::ArchivedThreadId","client_sdk::models::aliases::ArchivedFolderId"],["
source§

impl<__D: Fallible + ?Sized> Deserialize<UserRegister, __D> for Archived<UserRegister>
where\n UserRegisterForm: Archive,\n <UserRegisterForm as Archive>::Archived: Deserialize<UserRegisterForm, __D>,

source§

fn deserialize(\n &self,\n deserializer: &mut __D,\n) -> Result<UserRegister, <__D as Fallible>::Error>

Deserializes using the given deserializer
","Deserialize","client_sdk::models::aliases::ArchivedPartyId","client_sdk::models::aliases::ArchivedUserId","client_sdk::models::aliases::ArchivedRoleId","client_sdk::models::aliases::ArchivedRoomId","client_sdk::models::aliases::ArchivedMessageId","client_sdk::models::aliases::ArchivedEmoteId","client_sdk::models::aliases::ArchivedFileId","client_sdk::models::aliases::ArchivedInviteId","client_sdk::models::aliases::ArchivedThreadId","client_sdk::models::aliases::ArchivedFolderId"],["
source§

impl<__D: Fallible + ?Sized> Deserialize<UserRegisterForm, __D> for Archived<UserRegisterForm>
where\n SmolStr: Archive,\n <SmolStr as Archive>::Archived: Deserialize<SmolStr, __D>,\n Timestamp: Archive,\n <Timestamp as Archive>::Archived: Deserialize<Timestamp, __D>,\n String: Archive,\n <String as Archive>::Archived: Deserialize<String, __D>,

source§

fn deserialize(\n &self,\n deserializer: &mut __D,\n) -> Result<UserRegisterForm, <__D as Fallible>::Error>

Deserializes using the given deserializer
","Deserialize","client_sdk::models::aliases::ArchivedPartyId","client_sdk::models::aliases::ArchivedUserId","client_sdk::models::aliases::ArchivedRoleId","client_sdk::models::aliases::ArchivedRoomId","client_sdk::models::aliases::ArchivedMessageId","client_sdk::models::aliases::ArchivedEmoteId","client_sdk::models::aliases::ArchivedFileId","client_sdk::models::aliases::ArchivedInviteId","client_sdk::models::aliases::ArchivedThreadId","client_sdk::models::aliases::ArchivedFolderId"],["
source§

impl<__D: Fallible + ?Sized> Deserialize<UserUpdatePayload, __D> for Archived<UserUpdatePayload>
where\n Arc<User>: Archive,\n <Arc<User> as Archive>::Archived: Deserialize<Arc<User>, __D>,

source§

fn deserialize(\n &self,\n deserializer: &mut __D,\n) -> Result<UserUpdatePayload, <__D as Fallible>::Error>

Deserializes using the given deserializer
","Deserialize","client_sdk::models::aliases::ArchivedPartyId","client_sdk::models::aliases::ArchivedUserId","client_sdk::models::aliases::ArchivedRoleId","client_sdk::models::aliases::ArchivedRoomId","client_sdk::models::aliases::ArchivedMessageId","client_sdk::models::aliases::ArchivedEmoteId","client_sdk::models::aliases::ArchivedFileId","client_sdk::models::aliases::ArchivedInviteId","client_sdk::models::aliases::ArchivedThreadId","client_sdk::models::aliases::ArchivedFolderId"]]]]); + if (window.register_type_impls) { + window.register_type_impls(type_impls); + } else { + window.pending_type_impls = type_impls; + } +})() +//{"start":55,"fragment_lengths":[783694]} \ No newline at end of file diff --git a/type.impl/std/primitive.tuple.js b/type.impl/std/primitive.tuple.js new file mode 100644 index 000000000..cfedffb4f --- /dev/null +++ b/type.impl/std/primitive.tuple.js @@ -0,0 +1,9 @@ +(function() { + var type_impls = Object.fromEntries([["client_sdk",[]]]); + if (window.register_type_impls) { + window.register_type_impls(type_impls); + } else { + window.pending_type_impls = type_impls; + } +})() +//{"start":55,"fragment_lengths":[17]} \ No newline at end of file