pub struct CreateStatusParams {
pub status: String,
pub in_reply_to_id: Option<String>,
pub sensitive: bool,
pub spoiler_text: Option<String>,
pub visibility: Option<String>,
pub language: Option<String>,
}Expand description
Parameters for creating a new status.
Fields§
§status: StringThe text content of the status.
in_reply_to_id: Option<String>ID of the status being replied to, if any.
sensitive: boolWhether the status should be marked as sensitive.
spoiler_text: Option<String>Text to be shown as a warning before the status content.
visibility: Option<String>Visibility of the status (“public”, “unlisted”, “private”, “direct”).
language: Option<String>ISO 639 language code for the status.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CreateStatusParams
impl RefUnwindSafe for CreateStatusParams
impl Send for CreateStatusParams
impl Sync for CreateStatusParams
impl Unpin for CreateStatusParams
impl UnwindSafe for CreateStatusParams
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