Enum cetacea_proto::extensions::Extensions
source · pub enum Extensions {
Show 14 variants
ClientCheckV1,
UserV1,
ClientEventV1,
UploadV1,
RoomV1,
DAOV1,
MultiMediaMessageV1,
NFTStickersV1,
RTCV1,
PubkeyLoginV1,
JWTLoginV1,
WalletLoginV1,
BackupS3,
BackupArweave,
}Variants§
ClientCheckV1
UserV1
user methods
获取用户信息 获取用户头像 获取用户的所有收藏 获取用户的所有关注 获取用户的所有粉丝
ClientEventV1
UploadV1
RoomV1
DAOV1
MultiMediaMessageV1
NFTStickersV1
RTCV1
PubkeyLoginV1
pubkey login
login with public key and generate a new jwt token with given time to live.
JWTLoginV1
WalletLoginV1
BackupS3
BackupArweave
Trait Implementations§
source§impl Debug for Extensions
impl Debug for Extensions
source§impl<'de> Deserialize<'de> for Extensions
impl<'de> Deserialize<'de> for Extensions
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Ord for Extensions
impl Ord for Extensions
source§fn cmp(&self, other: &Extensions) -> Ordering
fn cmp(&self, other: &Extensions) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<Extensions> for Extensions
impl PartialEq<Extensions> for Extensions
source§fn eq(&self, other: &Extensions) -> bool
fn eq(&self, other: &Extensions) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd<Extensions> for Extensions
impl PartialOrd<Extensions> for Extensions
source§fn partial_cmp(&self, other: &Extensions) -> Option<Ordering>
fn partial_cmp(&self, other: &Extensions) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moresource§impl Serialize for Extensions
impl Serialize for Extensions
impl Eq for Extensions
impl StructuralEq for Extensions
impl StructuralPartialEq for Extensions
Auto Trait Implementations§
impl RefUnwindSafe for Extensions
impl Send for Extensions
impl Sync for Extensions
impl Unpin for Extensions
impl UnwindSafe for Extensions
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference’s “Type Layout” chapter for details on type layout guarantees.
Size:1 byte
Size for each variant:
ClientCheckV1: 0 bytesUserV1: 0 bytesClientEventV1: 0 bytesUploadV1: 0 bytesRoomV1: 0 bytesDAOV1: 0 bytesMultiMediaMessageV1: 0 bytesNFTStickersV1: 0 bytesRTCV1: 0 bytesPubkeyLoginV1: 0 bytesJWTLoginV1: 0 bytesWalletLoginV1: 0 bytesBackupS3: 0 bytesBackupArweave: 0 bytes