Struct rive::models::payload::EditBotPayload
source · pub struct EditBotPayload {
pub name: Option<String>,
pub public: Option<bool>,
pub analytics: Option<bool>,
pub interactions_url: Option<String>,
pub remove: Option<Vec<FieldsBot, Global>>,
}Expand description
Bot edit data
Fields§
§name: Option<String>Bot username
public: Option<bool>Whether the bot can be added by anyone
analytics: Option<bool>Whether analytics should be gathered for this bot
Must be enabled in order to show up on Revolt Discover.
interactions_url: Option<String>Interactions URL
remove: Option<Vec<FieldsBot, Global>>Fields to remove from bot object
Trait Implementations§
source§impl Clone for EditBotPayload
impl Clone for EditBotPayload
source§fn clone(&self) -> EditBotPayload
fn clone(&self) -> EditBotPayload
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 EditBotPayload
impl Debug for EditBotPayload
source§impl Default for EditBotPayload
impl Default for EditBotPayload
source§fn default() -> EditBotPayload
fn default() -> EditBotPayload
Returns the “default value” for a type. Read more
source§impl Serialize for EditBotPayload
impl Serialize for EditBotPayload
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