Struct urbit_http_api::graph::NodeContents [−][src]
Expand description
Struct which represents the contents inside of a node
Fields
content_list: Vec<JsonValue>
Implementations
Methods for NodeContents
Create a new empty NodeContents
Appends text to the end of the list of contents
Appends a url to the end of the list of contents
Appends a mention to another @p/ship to the end of the list of contents
Appends a code block to the end of the list of contents
Create a NodeContents
from a list of JsonValue
s
Convert the NodeContents
into a single String
that is formatted
for human reading.
Converts the NodeContents
into a String
that is formatted
for human reading, which is then split at every whitespace.
Useful for parsing a message.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for NodeContents
impl Send for NodeContents
impl Sync for NodeContents
impl Unpin for NodeContents
impl UnwindSafe for NodeContents
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more