pub struct NativeRosterPatch {
pub username: String,
pub members: Vec<NativeMemberPatch>,
pub complete_roster: bool,
pub administrator_ids: Option<Vec<String>>,
}Fields§
§username: String§members: Vec<NativeMemberPatch>§complete_roster: bool§administrator_ids: Option<Vec<String>>None preserves the saved list. Some replaces it, including an empty list.
Trait Implementations§
Source§impl Clone for NativeRosterPatch
impl Clone for NativeRosterPatch
Source§impl Debug for NativeRosterPatch
impl Debug for NativeRosterPatch
Source§impl<'de> Deserialize<'de> for NativeRosterPatch
impl<'de> Deserialize<'de> for NativeRosterPatch
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
Auto Trait Implementations§
impl Freeze for NativeRosterPatch
impl RefUnwindSafe for NativeRosterPatch
impl Send for NativeRosterPatch
impl Sync for NativeRosterPatch
impl Unpin for NativeRosterPatch
impl UnsafeUnpin for NativeRosterPatch
impl UnwindSafe for NativeRosterPatch
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