pub struct RemoveMemberV0 {
pub member: UserId,
pub banned: bool,
pub metadata: Vec<u8>,
}
Expand description
Remove member from a repo
An owner cannot be removed (it cannot be added even) The overlay should be refreshed if user was malicious, after the user is removed from last repo. See REFRESH_READ_CAP on store repo.
Fields§
§member: UserId
Member to remove
banned: bool
should this user be banned and prevented from being invited again by anybody else
metadata: Vec<u8>
Metadata (reason, etc…)
Trait Implementations§
Source§impl Clone for RemoveMemberV0
impl Clone for RemoveMemberV0
Source§fn clone(&self) -> RemoveMemberV0
fn clone(&self) -> RemoveMemberV0
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for RemoveMemberV0
impl Debug for RemoveMemberV0
Source§impl<'de> Deserialize<'de> for RemoveMemberV0
impl<'de> Deserialize<'de> for RemoveMemberV0
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 RemoveMemberV0
impl PartialEq for RemoveMemberV0
Source§impl Serialize for RemoveMemberV0
impl Serialize for RemoveMemberV0
impl Eq for RemoveMemberV0
impl StructuralPartialEq for RemoveMemberV0
Auto Trait Implementations§
impl Freeze for RemoveMemberV0
impl RefUnwindSafe for RemoveMemberV0
impl Send for RemoveMemberV0
impl Sync for RemoveMemberV0
impl Unpin for RemoveMemberV0
impl UnwindSafe for RemoveMemberV0
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