pub struct LhrEntity {
pub category: Option<String>,
pub homepage: Option<String>,
pub is_first_party: Option<bool>,
pub is_unrecognized: Option<bool>,
pub name: Option<String>,
pub origins: Option<Vec<String>>,
}Expand description
Message containing an Entity.
This type is not used in any activity, and only used as part of another schema.
Fields§
§category: Option<String>Optional. An optional category name for the entity.
homepage: Option<String>Optional. An optional homepage URL of the entity.
is_first_party: Option<bool>Optional. An optional flag indicating if the entity is the first party.
is_unrecognized: Option<bool>Optional. An optional flag indicating if the entity is not recognized.
name: Option<String>Required. Name of the entity.
origins: Option<Vec<String>>Required. A list of URL origin strings that belong to this entity.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for LhrEntity
impl<'de> Deserialize<'de> for LhrEntity
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 Part for LhrEntity
Auto Trait Implementations§
impl Freeze for LhrEntity
impl RefUnwindSafe for LhrEntity
impl Send for LhrEntity
impl Sync for LhrEntity
impl Unpin for LhrEntity
impl UnwindSafe for LhrEntity
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