pub struct PostInteractionSettingsPrefData {
pub postgate_embedding_rules: Option<Vec<Union<PostInteractionSettingsPrefPostgateEmbeddingRulesItem>>>,
pub threadgate_allow_rules: Option<Vec<Union<PostInteractionSettingsPrefThreadgateAllowRulesItem>>>,
}Available on crate feature
namespace-appbsky only.Expand description
Default post interaction settings for the account. These values should be applied as default values when creating new posts. These refs should mirror the threadgate and postgate records exactly.
Fields§
§postgate_embedding_rules: Option<Vec<Union<PostInteractionSettingsPrefPostgateEmbeddingRulesItem>>>Matches postgate record. List of rules defining who can embed this users posts. If value is an empty array or is undefined, no particular rules apply and anyone can embed.
threadgate_allow_rules: Option<Vec<Union<PostInteractionSettingsPrefThreadgateAllowRulesItem>>>Matches threadgate record. List of rules defining who can reply to this users posts. If value is an empty array, no one can reply. If value is undefined, anyone can reply.
Trait Implementations§
Source§impl Clone for PostInteractionSettingsPrefData
impl Clone for PostInteractionSettingsPrefData
Source§fn clone(&self) -> PostInteractionSettingsPrefData
fn clone(&self) -> PostInteractionSettingsPrefData
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<'de> Deserialize<'de> for PostInteractionSettingsPrefData
impl<'de> Deserialize<'de> for PostInteractionSettingsPrefData
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 PostInteractionSettingsPrefData
impl PartialEq for PostInteractionSettingsPrefData
Source§fn eq(&self, other: &PostInteractionSettingsPrefData) -> bool
fn eq(&self, other: &PostInteractionSettingsPrefData) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for PostInteractionSettingsPrefData
impl StructuralPartialEq for PostInteractionSettingsPrefData
Auto Trait Implementations§
impl Freeze for PostInteractionSettingsPrefData
impl RefUnwindSafe for PostInteractionSettingsPrefData
impl Send for PostInteractionSettingsPrefData
impl Sync for PostInteractionSettingsPrefData
impl Unpin for PostInteractionSettingsPrefData
impl UnwindSafe for PostInteractionSettingsPrefData
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§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.