pub enum ProfilePictureFallback {
Initials,
}Expand description
#132 PR-1: profile-picture fallback rendering. Q3-ratified to
initials-in-colored-circle for v1. Enum-shaped so future variants
(e.g. Emoji, None) land additively; current single variant is
the default so omitting fallback: in YAML keeps the contract.
Variants§
Initials
Render a deterministic colored circle with the agent’s uppercase initials (Slack-style). Deterministic = same agent name always renders the same circle, so rebuilds don’t shuffle.
Trait Implementations§
Source§impl Clone for ProfilePictureFallback
impl Clone for ProfilePictureFallback
Source§fn clone(&self) -> ProfilePictureFallback
fn clone(&self) -> ProfilePictureFallback
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ProfilePictureFallback
Source§impl Debug for ProfilePictureFallback
impl Debug for ProfilePictureFallback
Source§impl Default for ProfilePictureFallback
impl Default for ProfilePictureFallback
Source§fn default() -> ProfilePictureFallback
fn default() -> ProfilePictureFallback
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ProfilePictureFallback
impl<'de> Deserialize<'de> for ProfilePictureFallback
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
impl Eq for ProfilePictureFallback
Source§impl PartialEq for ProfilePictureFallback
impl PartialEq for ProfilePictureFallback
Source§fn eq(&self, other: &ProfilePictureFallback) -> bool
fn eq(&self, other: &ProfilePictureFallback) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ProfilePictureFallback
impl Serialize for ProfilePictureFallback
impl StructuralPartialEq for ProfilePictureFallback
Auto Trait Implementations§
impl Freeze for ProfilePictureFallback
impl RefUnwindSafe for ProfilePictureFallback
impl Send for ProfilePictureFallback
impl Sync for ProfilePictureFallback
impl Unpin for ProfilePictureFallback
impl UnsafeUnpin for ProfilePictureFallback
impl UnwindSafe for ProfilePictureFallback
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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§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.