pub struct AgentAppearance {
pub style_preset: String,
pub behavior_preset: BehaviorPreset,
pub source_image_path: Option<PathBuf>,
pub expressions_dir: PathBuf,
pub last_rendered_at: Option<DateTime<Utc>>,
pub render_status: RenderStatus,
}Fields§
§style_preset: StringID of the active style preset (e.g. “chiikawa”, “default-blob”).
behavior_preset: BehaviorPreset§source_image_path: Option<PathBuf>Required for the polaroid family; none for all others.
expressions_dir: PathBufLocal dir where rendered .webp expression frames are stored.
last_rendered_at: Option<DateTime<Utc>>§render_status: RenderStatusTrait Implementations§
Source§impl Clone for AgentAppearance
impl Clone for AgentAppearance
Source§fn clone(&self) -> AgentAppearance
fn clone(&self) -> AgentAppearance
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 moreSource§impl Debug for AgentAppearance
impl Debug for AgentAppearance
Source§impl Default for AgentAppearance
impl Default for AgentAppearance
Source§impl<'de> Deserialize<'de> for AgentAppearance
impl<'de> Deserialize<'de> for AgentAppearance
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 PartialEq for AgentAppearance
impl PartialEq for AgentAppearance
Source§fn eq(&self, other: &AgentAppearance) -> bool
fn eq(&self, other: &AgentAppearance) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for AgentAppearance
impl Serialize for AgentAppearance
impl StructuralPartialEq for AgentAppearance
Auto Trait Implementations§
impl Freeze for AgentAppearance
impl RefUnwindSafe for AgentAppearance
impl Send for AgentAppearance
impl Sync for AgentAppearance
impl Unpin for AgentAppearance
impl UnsafeUnpin for AgentAppearance
impl UnwindSafe for AgentAppearance
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