Struct discord_flows::model::component::ActionRow
source · pub struct ActionRow {
pub kind: ComponentType,
pub components: Vec<ActionRowComponent, Global>,
}
Expand description
An action row.
Fields§
§kind: ComponentType
The type of component this ActionRow is.
components: Vec<ActionRowComponent, Global>
The components of this ActionRow.
Trait Implementations§
source§impl<'de> Deserialize<'de> for ActionRow
impl<'de> Deserialize<'de> for ActionRow
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<ActionRow, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>( __deserializer: __D ) -> Result<ActionRow, <__D as Deserializer<'de>>::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Serialize for ActionRow
impl Serialize for ActionRow
source§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>( &self, __serializer: __S ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where __S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl RefUnwindSafe for ActionRow
impl Send for ActionRow
impl Sync for ActionRow
impl Unpin for ActionRow
impl UnwindSafe for ActionRow
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