pub struct SpaceList {
pub spaces: Vec<SpaceInfo>,
pub requestable: u32,
pub can_create: bool,
pub create_blocked: Option<Value>,
pub offline: bool,
}Expand description
GET /v1/spaces for an app session.
Fields§
§spaces: Vec<SpaceInfo>§requestable: u32The user’s other spaces the app could ask for.
can_create: bool§create_blocked: Option<Value>§offline: boolTrue when the server couldn’t be reached and this is the last list this client saw (kept in its SyncStore), so an app can open its spaces offline.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for SpaceList
impl<'de> Deserialize<'de> for SpaceList
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
impl StructuralPartialEq for SpaceList
Auto Trait Implementations§
impl Forget for SpaceList
impl Freeze for SpaceListwhere
*const u8 is !null: Freeze,
PhantomData<SpaceInfo>: Freeze,
PhantomData<u8>: Freeze,
PhantomData<Value>: Freeze,
*const LeafNode<String, Value> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(String, Value)>>: Freeze,
impl Move for SpaceList
impl RefUnwindSafe for SpaceList
impl Send for SpaceList
impl Sync for SpaceList
impl Unpin for SpaceList
impl UnsafeUnpin for SpaceListwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<SpaceInfo>: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<Value>: UnsafeUnpin,
*const LeafNode<String, Value> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(String, Value)>>: UnsafeUnpin,
impl UnwindSafe for SpaceList
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