pub struct ProviderIcon {
pub id: String,
pub subject: String,
pub product_name: String,
pub brand_source_url: Option<String>,
pub brand_guidelines_url: Option<String>,
pub recommended_node_kind: ProviderNodeKind,
pub asset: ProviderIconAsset,
}Expand description
One namespaced product icon and its locally processed safe SVG.
Fields§
§id: String§subject: String§product_name: String§brand_source_url: Option<String>§brand_guidelines_url: Option<String>§recommended_node_kind: ProviderNodeKind§asset: ProviderIconAssetTrait Implementations§
Source§impl Clone for ProviderIcon
impl Clone for ProviderIcon
Source§fn clone(&self) -> ProviderIcon
fn clone(&self) -> ProviderIcon
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 ProviderIcon
impl Debug for ProviderIcon
Source§impl<'de> Deserialize<'de> for ProviderIcon
impl<'de> Deserialize<'de> for ProviderIcon
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 ProviderIcon
Source§impl PartialEq for ProviderIcon
impl PartialEq for ProviderIcon
Source§impl Serialize for ProviderIcon
impl Serialize for ProviderIcon
impl StructuralPartialEq for ProviderIcon
Auto Trait Implementations§
impl Freeze for ProviderIcon
impl RefUnwindSafe for ProviderIcon
impl Send for ProviderIcon
impl Sync for ProviderIcon
impl Unpin for ProviderIcon
impl UnsafeUnpin for ProviderIcon
impl UnwindSafe for ProviderIcon
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