pub struct Finding {
pub id: String,
pub created: u64,
pub body: String,
pub status: FindingStatus,
pub moved: bool,
pub plan_hash: String,
pub anchor: Anchor,
pub reply_to: Option<String>,
pub upstream: Option<Upstream>,
}Fields§
§id: String§created: u64Unix seconds.
body: String§status: FindingStatus§moved: boolReattached by content match rather than exact digest.
plan_hash: String§anchor: Anchor§reply_to: Option<String>The forge thread this answers, when the note is a reply drafted under one. A reply needs no line to publish; it needs its thread.
upstream: Option<Upstream>Where this landed on the forge, once published. Some is what keeps a
second publish from sending it again, and what hides it behind the
fetched thread it became.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Finding
impl<'de> Deserialize<'de> for Finding
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
Auto Trait Implementations§
impl Freeze for Finding
impl RefUnwindSafe for Finding
impl Send for Finding
impl Sync for Finding
impl Unpin for Finding
impl UnsafeUnpin for Finding
impl UnwindSafe for Finding
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