pub struct ScreenProfile {
pub policy_version: String,
pub categories: Vec<String>,
pub max_text_bytes: u64,
pub text_unit_bytes: u64,
}Fields§
§policy_version: String§categories: Vec<String>§max_text_bytes: u64§text_unit_bytes: u64Trait Implementations§
Source§impl Clone for ScreenProfile
impl Clone for ScreenProfile
Source§impl Debug for ScreenProfile
impl Debug for ScreenProfile
Source§impl<'de> Deserialize<'de> for ScreenProfile
impl<'de> Deserialize<'de> for ScreenProfile
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 ScreenProfile
Source§impl JsonSchema for ScreenProfile
impl JsonSchema for ScreenProfile
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for ScreenProfile
impl PartialEq for ScreenProfile
Source§impl Serialize for ScreenProfile
impl Serialize for ScreenProfile
impl StructuralPartialEq for ScreenProfile
Auto Trait Implementations§
impl Freeze for ScreenProfile
impl RefUnwindSafe for ScreenProfile
impl Send for ScreenProfile
impl Sync for ScreenProfile
impl Unpin for ScreenProfile
impl UnsafeUnpin for ScreenProfile
impl UnwindSafe for ScreenProfile
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