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<'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
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 UnsafeUnpin 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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.