pub struct GroupMemberHistoryEntryCurrent {
pub comment: Option<String>,
pub end_date: Option<NaiveDate>,
pub fields: Value,
pub member_role_id: Option<i64>,
pub membership_status: Option<String>,
pub start_date: Option<NaiveDate>,
pub extra: Map<String, Value>,
}Expand description
State after this change.
Fields§
§comment: Option<String>Membership comment at this point; empty strings and the string 0 serialize as null.
end_date: Option<NaiveDate>A simple date in ISO format, e.g. ‘2022-10-19’
fields: ValueHistorical field values by display name. Values and labels reflect the saved snapshot; legacy malformed numeric keys may serialize as an array. Null means no stored field snapshot.
member_role_id: Option<i64>Group-type role ID at this point, or null when there is no membership.
membership_status: Option<String>Membership workflow state at this point, or null after removal/before creation.
Allowed values: active, requested, to_delete, waiting.
start_date: Option<NaiveDate>A simple date in ISO format, e.g. ‘2022-10-19’
extra: Map<String, Value>Fields not described by the spec, e.g. instance-specific DB fields.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for GroupMemberHistoryEntryCurrent
impl<'de> Deserialize<'de> for GroupMemberHistoryEntryCurrent
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
impl StructuralPartialEq for GroupMemberHistoryEntryCurrent
Auto Trait Implementations§
impl Freeze for GroupMemberHistoryEntryCurrent
impl RefUnwindSafe for GroupMemberHistoryEntryCurrent
impl Send for GroupMemberHistoryEntryCurrent
impl Sync for GroupMemberHistoryEntryCurrent
impl Unpin for GroupMemberHistoryEntryCurrent
impl UnsafeUnpin for GroupMemberHistoryEntryCurrent
impl UnwindSafe for GroupMemberHistoryEntryCurrent
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