Enum netsblox_api::common::FriendLinkState
source · pub enum FriendLinkState {
Pending,
Approved,
Rejected,
Blocked,
}
Variants§
Trait Implementations§
source§impl Clone for FriendLinkState
impl Clone for FriendLinkState
source§fn clone(&self) -> FriendLinkState
fn clone(&self) -> FriendLinkState
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for FriendLinkState
impl Debug for FriendLinkState
source§impl<'de> Deserialize<'de> for FriendLinkState
impl<'de> Deserialize<'de> for FriendLinkState
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<FriendLinkState, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>( __deserializer: __D ) -> Result<FriendLinkState, <__D as Deserializer<'de>>::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl FromStr for FriendLinkState
impl FromStr for FriendLinkState
§type Err = ParseFriendLinkStateError
type Err = ParseFriendLinkStateError
The associated error which can be returned from parsing.
source§fn from_str(
s: &str
) -> Result<FriendLinkState, <FriendLinkState as FromStr>::Err>
fn from_str( s: &str ) -> Result<FriendLinkState, <FriendLinkState as FromStr>::Err>
Parses a string
s
to return a value of this type. Read moresource§impl Serialize for FriendLinkState
impl Serialize for FriendLinkState
source§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
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
Auto Trait Implementations§
impl RefUnwindSafe for FriendLinkState
impl Send for FriendLinkState
impl Sync for FriendLinkState
impl Unpin for FriendLinkState
impl UnwindSafe for FriendLinkState
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