pub struct AddBuildingUserPayload {
pub role: String,
pub user_id: String,
}Expand description
AddBuildingUserPayload
JSON schema
{
"type": "object",
"required": [
"role",
"user_id"
],
"properties": {
"role": {
"type": "string"
},
"user_id": {
"type": "string"
}
}
}Fields§
§role: String§user_id: StringTrait Implementations§
Source§impl Clone for AddBuildingUserPayload
impl Clone for AddBuildingUserPayload
Source§fn clone(&self) -> AddBuildingUserPayload
fn clone(&self) -> AddBuildingUserPayload
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 AddBuildingUserPayload
impl Debug for AddBuildingUserPayload
Source§impl<'de> Deserialize<'de> for AddBuildingUserPayload
impl<'de> Deserialize<'de> for AddBuildingUserPayload
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
Auto Trait Implementations§
impl Freeze for AddBuildingUserPayload
impl RefUnwindSafe for AddBuildingUserPayload
impl Send for AddBuildingUserPayload
impl Sync for AddBuildingUserPayload
impl Unpin for AddBuildingUserPayload
impl UnsafeUnpin for AddBuildingUserPayload
impl UnwindSafe for AddBuildingUserPayload
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