pub struct SetupHeaderLogoRequest {
pub header_logo: String,
}Expand description
Op 8 request: upload a header logo image (Base64-encoded BMP, colour depth ≤4 bits).
Fields§
§header_logo: StringLogo image bytes encoded as a Base64 string. Per spec §4.6.4 the image must be in BMP format with a colour depth of no more than 4 bits (≤16 colours; 1-bit monochrome is fine). Note: the English translation’s “must not exceed 4 pixels in height” is a mistranslation of the original “must not contain more than 4 bits of colour”.
Trait Implementations§
Source§impl Clone for SetupHeaderLogoRequest
impl Clone for SetupHeaderLogoRequest
Source§fn clone(&self) -> SetupHeaderLogoRequest
fn clone(&self) -> SetupHeaderLogoRequest
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 SetupHeaderLogoRequest
impl Debug for SetupHeaderLogoRequest
Source§impl<'de> Deserialize<'de> for SetupHeaderLogoRequest
impl<'de> Deserialize<'de> for SetupHeaderLogoRequest
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 JsonSchema for SetupHeaderLogoRequest
impl JsonSchema for SetupHeaderLogoRequest
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 Operation for SetupHeaderLogoRequest
impl Operation for SetupHeaderLogoRequest
Source§const CODE: OperationCode = OperationCode::SetupHeaderLogo
const CODE: OperationCode = OperationCode::SetupHeaderLogo
Wire-level operation code.
Source§type Response = EmptyResponse
type Response = EmptyResponse
Response type this operation expects back from the HDM.
Source§const USES_PASSWORD_KEY: bool = false
const USES_PASSWORD_KEY: bool = false
Whether this operation uses the password-derived key (
true) or the session key
(false). Per spec §4.4.3, only ops 1 and 2 use the password key.Source§const RESPONSE_IS_SECRET: bool = false
const RESPONSE_IS_SECRET: bool = false
Whether this operation’s response carries a secret (e.g. the session key from login) that
must never reach a log. When
true, the client redacts the decrypted payload from its trace
output. Defaults to false.Auto Trait Implementations§
impl Freeze for SetupHeaderLogoRequest
impl RefUnwindSafe for SetupHeaderLogoRequest
impl Send for SetupHeaderLogoRequest
impl Sync for SetupHeaderLogoRequest
impl Unpin for SetupHeaderLogoRequest
impl UnsafeUnpin for SetupHeaderLogoRequest
impl UnwindSafe for SetupHeaderLogoRequest
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