pub struct Gadget {
pub display: String,
pub height: i64,
pub icon_link: String,
pub link: String,
pub preferences: String,
pub title: String,
pub type_: String,
pub width: i64,
}Expand description
A gadget that extends this event. Gadgets are deprecated; this structure is instead only used for returning birthday calendar metadata.
Fields§
§display: StringA gadget that extends this event. Gadgets are deprecated; this structure is instead only used for returning birthday calendar metadata.
height: i64A gadget that extends this event. Gadgets are deprecated; this structure is instead only used for returning birthday calendar metadata.
icon_link: StringA gadget that extends this event. Gadgets are deprecated; this structure is instead only used for returning birthday calendar metadata.
link: StringA gadget that extends this event. Gadgets are deprecated; this structure is instead only used for returning birthday calendar metadata.
preferences: StringA gadget that extends this event. Gadgets are deprecated; this structure is instead only used for returning birthday calendar metadata.
title: StringA gadget that extends this event. Gadgets are deprecated; this structure is instead only used for returning birthday calendar metadata.
type_: StringA gadget that extends this event. Gadgets are deprecated; this structure is instead only used for returning birthday calendar metadata.
width: i64A gadget that extends this event. Gadgets are deprecated; this structure is instead only used for returning birthday calendar metadata.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Gadget
impl<'de> Deserialize<'de> for Gadget
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>,
Source§impl JsonSchema for Gadget
impl JsonSchema for Gadget
Source§fn schema_name() -> String
fn schema_name() -> String
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
$ref keyword. Read moreimpl StructuralPartialEq for Gadget
Auto Trait Implementations§
impl Freeze for Gadget
impl RefUnwindSafe for Gadget
impl Send for Gadget
impl Sync for Gadget
impl Unpin for Gadget
impl UnwindSafe for Gadget
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more