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 JsonValues
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 NodeContentsimpl Send for NodeContentsimpl Sync for NodeContentsimpl Unpin for NodeContentsimpl UnwindSafe for NodeContentsBlanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more
pub fn vzip(self) -> V