pub struct SafetyChecklist {
pub require_age_gate: bool,
pub require_ai_disclosure: bool,
}Expand description
Safety checks for integrations that display Mila.
The checklist exposes conservative defaults for age gating and clear AI disclosure in third-party cards, feeds, and widgets.
Fields§
§require_age_gate: boolRequire an age gate before mature companion content.
require_ai_disclosure: boolRequire the integration to identify the character as AI-generated.
Trait Implementations§
Source§impl Clone for SafetyChecklist
impl Clone for SafetyChecklist
Source§fn clone(&self) -> SafetyChecklist
fn clone(&self) -> SafetyChecklist
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 SafetyChecklist
impl Debug for SafetyChecklist
Source§impl Default for SafetyChecklist
impl Default for SafetyChecklist
Source§impl PartialEq for SafetyChecklist
impl PartialEq for SafetyChecklist
Source§fn eq(&self, other: &SafetyChecklist) -> bool
fn eq(&self, other: &SafetyChecklist) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for SafetyChecklist
impl Eq for SafetyChecklist
impl StructuralPartialEq for SafetyChecklist
Auto Trait Implementations§
impl Freeze for SafetyChecklist
impl RefUnwindSafe for SafetyChecklist
impl Send for SafetyChecklist
impl Sync for SafetyChecklist
impl Unpin for SafetyChecklist
impl UnsafeUnpin for SafetyChecklist
impl UnwindSafe for SafetyChecklist
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