pub struct MutedWordData {
pub actor_target: Option<String>,
pub expires_at: Option<Datetime>,
pub id: Option<String>,
pub targets: Vec<MutedWordTarget>,
pub value: String,
}Available on crate feature
namespace-appbsky only.Expand description
A word that the account owner has muted.
Fields§
§actor_target: Option<String>Groups of users to apply the muted word to. If undefined, applies to all users.
expires_at: Option<Datetime>The date and time at which the muted word will expire and no longer be applied.
id: Option<String>§targets: Vec<MutedWordTarget>The intended targets of the muted word.
value: StringThe muted word itself.
Trait Implementations§
Source§impl Clone for MutedWordData
impl Clone for MutedWordData
Source§fn clone(&self) -> MutedWordData
fn clone(&self) -> MutedWordData
Returns a copy 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 MutedWordData
impl Debug for MutedWordData
Source§impl<'de> Deserialize<'de> for MutedWordData
impl<'de> Deserialize<'de> for MutedWordData
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
Source§impl PartialEq for MutedWordData
impl PartialEq for MutedWordData
Source§impl Serialize for MutedWordData
impl Serialize for MutedWordData
impl Eq for MutedWordData
impl StructuralPartialEq for MutedWordData
Auto Trait Implementations§
impl Freeze for MutedWordData
impl RefUnwindSafe for MutedWordData
impl Send for MutedWordData
impl Sync for MutedWordData
impl Unpin for MutedWordData
impl UnwindSafe for MutedWordData
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,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.