#[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 — or Some("") — a ULID
is generated automatically. An empty Some("") is treated the same
as None, not as a rejection; callers must not assume the wire
echoes a caller-supplied empty string.
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§
Source§impl<'a> Clone for SpaceCreateInput<'a>
impl<'a> Clone for SpaceCreateInput<'a>
Source§fn clone(&self) -> SpaceCreateInput<'a>
fn clone(&self) -> SpaceCreateInput<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto 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