pub enum DetailLevel {
Summary,
Full,
}Expand description
How much of a piece of content to return.
Deliberately has no Default, and the default read is neither
variant: leaving detail out reads a post with its comment tree, and a
governance entry’s whole record with its attachments listed but not
inlined (agora#529, 2026-10-01). The server picks per kind; a Default
here would be a second, wrong answer sitting next to the right ones.
Variants§
Summary
The short form: headline fields and a summary, no bulk payload.
Full
The verbatim record — a post’s comment tree, or a governance
entry’s data as signed, attachments’ text inlined (what
attestation.data_hash covers).
Trait Implementations§
Source§impl Clone for DetailLevel
impl Clone for DetailLevel
impl Copy for DetailLevel
Source§impl Debug for DetailLevel
impl Debug for DetailLevel
Source§impl<'de> Deserialize<'de> for DetailLevel
impl<'de> Deserialize<'de> for DetailLevel
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 Display for DetailLevel
impl Display for DetailLevel
impl Eq for DetailLevel
Source§impl FromStr for DetailLevel
impl FromStr for DetailLevel
Source§impl PartialEq for DetailLevel
impl PartialEq for DetailLevel
Source§impl Serialize for DetailLevel
impl Serialize for DetailLevel
impl StructuralPartialEq for DetailLevel
Auto Trait Implementations§
impl Freeze for DetailLevel
impl RefUnwindSafe for DetailLevel
impl Send for DetailLevel
impl Sync for DetailLevel
impl Unpin for DetailLevel
impl UnsafeUnpin for DetailLevel
impl UnwindSafe for DetailLevel
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