pub struct CreateReplyOptions {
pub body: String,
pub reply_to_id: Option<String>,
}Expand description
Options for posting a reply to a topic
Fields§
§body: StringReply body. Plain text only — Markdown is not rendered.
Stock symbols mentioned in the body (e.g. 700.HK, TSLA.US) are
automatically recognized and linked as related stocks by the platform.
Use tickers in the parent topic to associate additional stocks not
mentioned in the body.
reply_to_id: Option<String>ID of the reply to. Set to None to post a top-level reply.
Trait Implementations§
Source§impl Clone for CreateReplyOptions
impl Clone for CreateReplyOptions
Source§fn clone(&self) -> CreateReplyOptions
fn clone(&self) -> CreateReplyOptions
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CreateReplyOptions
impl Debug for CreateReplyOptions
Auto Trait Implementations§
impl Freeze for CreateReplyOptions
impl RefUnwindSafe for CreateReplyOptions
impl Send for CreateReplyOptions
impl Sync for CreateReplyOptions
impl Unpin for CreateReplyOptions
impl UnsafeUnpin for CreateReplyOptions
impl UnwindSafe for CreateReplyOptions
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more