Struct netsblox_api_common::ServiceSettings
source · pub struct ServiceSettings {
pub user: Option<String>,
pub member: Option<String>,
pub groups: HashMap<GroupId, String>,
}
Expand description
Service settings for a given user categorized by origin
Fields§
§user: Option<String>
Service settings owned by the user
member: Option<String>
Service settings owned by a group in which the user is a member
groups: HashMap<GroupId, String>
Service settings owned by a groups created by the user
Trait Implementations§
source§impl Clone for ServiceSettings
impl Clone for ServiceSettings
source§fn clone(&self) -> ServiceSettings
fn clone(&self) -> ServiceSettings
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 ServiceSettings
impl Debug for ServiceSettings
source§impl<'de> Deserialize<'de> for ServiceSettings
impl<'de> Deserialize<'de> for ServiceSettings
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