pub struct PersonSetting {
pub attribute: String,
pub module: String,
pub value: Value,
pub extra: Map<String, Value>,
}Expand description
One stored person preference, identified by module namespace and attribute key. Read endpoints include stored settings beyond the write allowlist. This is not a person master-data field.
Fields§
§attribute: StringSetting key within the module namespace.
module: StringStored namespace. Read results are not restricted to the modules writable through this API.
value: ValueDecoded stored value. Serialized arrays/booleans retain their JSON type; un-serialized numeric values can be strings when read from storage. The type depends on the setting and may differ from the immediate PUT response.
extra: Map<String, Value>Fields not described by the spec, e.g. instance-specific DB fields.
Trait Implementations§
Source§impl Clone for PersonSetting
impl Clone for PersonSetting
Source§impl Debug for PersonSetting
impl Debug for PersonSetting
Source§impl Default for PersonSetting
impl Default for PersonSetting
Source§impl<'de> Deserialize<'de> for PersonSetting
impl<'de> Deserialize<'de> for PersonSetting
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 PartialEq for PersonSetting
impl PartialEq for PersonSetting
Source§impl Serialize for PersonSetting
impl Serialize for PersonSetting
impl StructuralPartialEq for PersonSetting
Auto Trait Implementations§
impl Freeze for PersonSetting
impl RefUnwindSafe for PersonSetting
impl Send for PersonSetting
impl Sync for PersonSetting
impl Unpin for PersonSetting
impl UnsafeUnpin for PersonSetting
impl UnwindSafe for PersonSetting
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