pub enum AvatarVariant {
Circle,
Square,
Other(String),
}Expand description
An avatar’s shape.
Variants§
Circle
A circle (the default): people.
Square
A tinted squircle: bots, orgs, repositories.
Other(String)
A value this SDK doesn’t name.
Implementations§
Trait Implementations§
Source§impl Clone for AvatarVariant
impl Clone for AvatarVariant
Source§impl Debug for AvatarVariant
impl Debug for AvatarVariant
Source§impl Display for AvatarVariant
impl Display for AvatarVariant
impl Eq for AvatarVariant
Source§impl From<&str> for AvatarVariant
impl From<&str> for AvatarVariant
Source§impl From<String> for AvatarVariant
impl From<String> for AvatarVariant
Source§impl Hash for AvatarVariant
impl Hash for AvatarVariant
Source§impl PartialEq for AvatarVariant
impl PartialEq for AvatarVariant
Source§impl Serialize for AvatarVariant
impl Serialize for AvatarVariant
impl StructuralPartialEq for AvatarVariant
Auto Trait Implementations§
impl Freeze for AvatarVariant
impl RefUnwindSafe for AvatarVariant
impl Send for AvatarVariant
impl Sync for AvatarVariant
impl Unpin for AvatarVariant
impl UnsafeUnpin for AvatarVariant
impl UnwindSafe for AvatarVariant
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.