#[non_exhaustive]pub struct SpaceCreateInput<'a> {
pub client_id: Option<&'a str>,
pub name: &'a str,
pub description: Option<&'a str>,
pub icon_blob_id: Option<&'a Id>,
}Expand description
Input parameters for Space/set create.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.client_id: Option<&'a str>Caller-supplied creation key. When None, a ULID is generated automatically.
name: &'a strDisplay name for the Space.
description: Option<&'a str>Optional human-readable description.
icon_blob_id: Option<&'a Id>Optional blob id of an already-uploaded icon image.
Implementations§
Source§impl<'a> SpaceCreateInput<'a>
impl<'a> SpaceCreateInput<'a>
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for SpaceCreateInput<'a>
impl<'a> RefUnwindSafe for SpaceCreateInput<'a>
impl<'a> Send for SpaceCreateInput<'a>
impl<'a> Sync for SpaceCreateInput<'a>
impl<'a> Unpin for SpaceCreateInput<'a>
impl<'a> UnsafeUnpin for SpaceCreateInput<'a>
impl<'a> UnwindSafe for SpaceCreateInput<'a>
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