pub enum InlineView {
Person {
identity: MemberId,
name: String,
},
Resource {
title: String,
icon: Option<String>,
detail: Option<String>,
},
Elsewhere,
Unreadable,
}Expand description
A reference as it reads inline: the reader’s inline view of its type.
Variants§
Person
A person: their avatar and what the room calls them.
Resource
A resource the reader can read: its title as its app publishes it now, the icon of its type, and what its type shows beside the title (a task’s state and number).
Elsewhere
A resource kept where the text was read cannot say how it reads (another app’s): it reads as its run, and opens by its reference.
Unreadable
A resource the reader cannot read: it is shown as existing, without its title or anything else of it, and offers to ask for access.
Trait Implementations§
Source§impl Clone for InlineView
impl Clone for InlineView
Source§impl Debug for InlineView
impl Debug for InlineView
Source§impl<'de> Deserialize<'de> for InlineView
impl<'de> Deserialize<'de> for InlineView
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
Source§impl PartialEq for InlineView
impl PartialEq for InlineView
Source§impl Serialize for InlineView
impl Serialize for InlineView
impl StructuralPartialEq for InlineView
Auto Trait Implementations§
impl Forget for InlineView
impl Freeze for InlineView
impl Move for InlineView
impl RefUnwindSafe for InlineView
impl Send for InlineView
impl Sync for InlineView
impl Unpin for InlineView
impl UnsafeUnpin for InlineView
impl UnwindSafe for InlineView
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