pub struct PreviousMembership { /* private fields */ }
Implementations§
Source§impl PreviousMembership
impl PreviousMembership
pub fn new(state: MembershipState) -> Self
pub fn avatar_url(self, url: &MxcUri) -> Self
pub fn display_name(self, name: impl Into<String>) -> Self
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PreviousMembership
impl RefUnwindSafe for PreviousMembership
impl Send for PreviousMembership
impl Sync for PreviousMembership
impl Unpin for PreviousMembership
impl UnwindSafe for PreviousMembership
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
§impl<T> CompatExt for T
impl<T> CompatExt for T
Source§impl<T, UT> HandleAlloc<UT> for T
impl<T, UT> HandleAlloc<UT> for T
Source§fn consume_handle(handle: Handle) -> Arc<T>
fn consume_handle(handle: Handle) -> Arc<T>
Consume a handle, getting back the initial
Arc<>