pub struct StatusCreate {
pub is_member: Option<Option<bool>>,
pub is_searchable: Option<Option<bool>>,
pub name: String,
pub security_level_id: i64,
pub shorty: Option<Option<String>>,
pub sort_key: Option<Option<i64>>,
pub extra: Map<String, Value>,
}Expand description
Person status definition, such as member or guest.
Fields§
§is_member: Option<Option<bool>>Whether this status marks a person as a church member.
None leaves the field out, Some(None) sends null.
is_searchable: Option<Option<bool>>Whether persons with this status are eligible for the corresponding free-text person selection. This flag does not replace person visibility permissions.
None leaves the field out, Some(None) sends null.
name: StringStatus name.
security_level_id: i64Existing security-level definition associated with this status. Retrieve available IDs from GET /securitylevels.
shorty: Option<Option<String>>Abbreviation of the status name.
None leaves the field out, Some(None) sends null.
sort_key: Option<Option<i64>>Display-order value.
None leaves the field out, Some(None) sends null.
extra: Map<String, Value>Fields not described by the spec, e.g. instance-specific DB fields.
Trait Implementations§
Source§impl Clone for StatusCreate
impl Clone for StatusCreate
Source§impl Debug for StatusCreate
impl Debug for StatusCreate
Source§impl Default for StatusCreate
impl Default for StatusCreate
Source§impl<'de> Deserialize<'de> for StatusCreate
impl<'de> Deserialize<'de> for StatusCreate
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 StatusCreate
impl PartialEq for StatusCreate
Source§impl Serialize for StatusCreate
impl Serialize for StatusCreate
impl StructuralPartialEq for StatusCreate
Auto Trait Implementations§
impl Freeze for StatusCreate
impl RefUnwindSafe for StatusCreate
impl Send for StatusCreate
impl Sync for StatusCreate
impl Unpin for StatusCreate
impl UnsafeUnpin for StatusCreate
impl UnwindSafe for StatusCreate
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