pub struct ClanSetRoleRequestData {
pub clan_id: ClanId,
pub target_role: ClanRole,
pub user_id: UserId,
}Expand description
ClanSetRoleRequestData
JSON schema
{
"title": "ClanSetRoleRequestData",
"type": "object",
"required": [
"clanId",
"targetRole",
"userId"
],
"properties": {
"clanId": {
"$ref": "#/definitions/clanId"
},
"targetRole": {
"$ref": "#/definitions/clanRole"
},
"userId": {
"$ref": "#/definitions/userId"
}
}
}Fields§
§clan_id: ClanId§target_role: ClanRole§user_id: UserIdImplementations§
Source§impl ClanSetRoleRequestData
impl ClanSetRoleRequestData
pub fn builder() -> ClanSetRoleRequestData
Trait Implementations§
Source§impl Clone for ClanSetRoleRequestData
impl Clone for ClanSetRoleRequestData
Source§fn clone(&self) -> ClanSetRoleRequestData
fn clone(&self) -> ClanSetRoleRequestData
Returns a duplicate 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 ClanSetRoleRequestData
impl Debug for ClanSetRoleRequestData
Source§impl<'de> Deserialize<'de> for ClanSetRoleRequestData
impl<'de> Deserialize<'de> for ClanSetRoleRequestData
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
Source§impl From<ClanSetRoleRequestData> for ClanSetRoleRequestData
impl From<ClanSetRoleRequestData> for ClanSetRoleRequestData
Source§fn from(value: ClanSetRoleRequestData) -> Self
fn from(value: ClanSetRoleRequestData) -> Self
Converts to this type from the input type.
Source§impl Serialize for ClanSetRoleRequestData
impl Serialize for ClanSetRoleRequestData
Source§impl TryFrom<ClanSetRoleRequestData> for ClanSetRoleRequestData
impl TryFrom<ClanSetRoleRequestData> for ClanSetRoleRequestData
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: ClanSetRoleRequestData) -> Result<Self, ConversionError>
fn try_from(value: ClanSetRoleRequestData) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for ClanSetRoleRequestData
impl RefUnwindSafe for ClanSetRoleRequestData
impl Send for ClanSetRoleRequestData
impl Sync for ClanSetRoleRequestData
impl Unpin for ClanSetRoleRequestData
impl UnsafeUnpin for ClanSetRoleRequestData
impl UnwindSafe for ClanSetRoleRequestData
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