pub struct AppIconMetadata {
pub conventional_path: String,
pub sha256: String,
}Expand description
Icon identity embedded in AppIdentityMetadata.
§Examples
use ailloli_ui_core::AppIconMetadata;
let icon = AppIconMetadata {
conventional_path: "assets/icon.svg".into(),
sha256: "a".repeat(64),
};
assert_eq!(icon.sha256.len(), 64);Fields§
§conventional_path: StringConsumer-relative logical path recorded for packaging diagnostics.
sha256: StringLowercase 64-character SHA-256 digest of the embedded SVG bytes.
Trait Implementations§
Source§impl Clone for AppIconMetadata
impl Clone for AppIconMetadata
Source§fn clone(&self) -> AppIconMetadata
fn clone(&self) -> AppIconMetadata
Returns a copy of the value. Read more
1.0.0 · 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 AppIconMetadata
impl Debug for AppIconMetadata
Source§impl<'de> Deserialize<'de> for AppIconMetadata
impl<'de> Deserialize<'de> for AppIconMetadata
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 AppIconMetadata
impl PartialEq for AppIconMetadata
Source§impl Serialize for AppIconMetadata
impl Serialize for AppIconMetadata
impl Eq for AppIconMetadata
impl StructuralPartialEq for AppIconMetadata
Auto Trait Implementations§
impl Freeze for AppIconMetadata
impl RefUnwindSafe for AppIconMetadata
impl Send for AppIconMetadata
impl Sync for AppIconMetadata
impl Unpin for AppIconMetadata
impl UnwindSafe for AppIconMetadata
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