pub enum ReplySettings {
Following,
MentionedUsers,
Subscribers,
Verified,
}Expand description
Controls who can reply to the tweet. "following" allows only people you follow, "mentionedUsers" allows only mentioned users, "subscribers" allows only subscribers, "verified" allows only verified users. Omit for default (everyone can reply). For threads, applies to the first tweet only. Cannot be combined with replyToTweetId.
Variants§
Trait Implementations§
Source§impl Clone for ReplySettings
impl Clone for ReplySettings
Source§fn clone(&self) -> ReplySettings
fn clone(&self) -> ReplySettings
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ReplySettings
Source§impl Debug for ReplySettings
impl Debug for ReplySettings
Source§impl Default for ReplySettings
impl Default for ReplySettings
Source§fn default() -> ReplySettings
fn default() -> ReplySettings
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ReplySettings
impl<'de> Deserialize<'de> for ReplySettings
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
impl Eq for ReplySettings
Source§impl Hash for ReplySettings
impl Hash for ReplySettings
Source§impl Ord for ReplySettings
impl Ord for ReplySettings
Source§fn cmp(&self, other: &ReplySettings) -> Ordering
fn cmp(&self, other: &ReplySettings) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ReplySettings
impl PartialEq for ReplySettings
Source§fn eq(&self, other: &ReplySettings) -> bool
fn eq(&self, other: &ReplySettings) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for ReplySettings
impl PartialOrd for ReplySettings
Source§impl Serialize for ReplySettings
impl Serialize for ReplySettings
impl StructuralPartialEq for ReplySettings
Auto Trait Implementations§
impl Freeze for ReplySettings
impl RefUnwindSafe for ReplySettings
impl Send for ReplySettings
impl Sync for ReplySettings
impl Unpin for ReplySettings
impl UnsafeUnpin for ReplySettings
impl UnwindSafe for ReplySettings
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