Struct netsblox_api::common::ServiceSettings
source · pub struct ServiceSettings {
pub user: Option<String>,
pub member: Option<String>,
pub groups: HashMap<GroupId, String, RandomState>,
}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, RandomState>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<ServiceSettings, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>( __deserializer: __D ) -> Result<ServiceSettings, <__D as Deserializer<'de>>::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Serialize for ServiceSettings
impl Serialize for ServiceSettings
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