pub struct Draft {
pub name: Option<String>,
pub group: Option<String>,
pub members: Option<Vec<Member>>,
pub state: Option<Value>,
}Expand description
What create takes. Every field is optional.
Fields§
§name: Option<String>§group: Option<String>A group you are a direct admin of, to own the room. Without it, you own it.
members: Option<Vec<Member>>§state: Option<Value>Trait Implementations§
Auto Trait Implementations§
impl Forget for Draft
impl Freeze for Draft
impl Move for Draft
impl RefUnwindSafe for Draft
impl Send for Draft
impl Sync for Draft
impl Unpin for Draft
impl UnsafeUnpin for Draft
impl UnwindSafe for Draft
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