pub struct ContentConfig {
pub topics: Vec<String>,
pub auto_draft: bool,
pub publish_delay: Option<String>,
}Expand description
Content management configuration.
Fields§
§topics: Vec<String>Blog or content topics the agent can write about.
auto_draft: boolWhether to auto-draft content.
publish_delay: Option<String>Delay before publishing auto-drafted content (e.g. “24h”).
Trait Implementations§
Source§impl Clone for ContentConfig
impl Clone for ContentConfig
Source§fn clone(&self) -> ContentConfig
fn clone(&self) -> ContentConfig
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 moreSource§impl Debug for ContentConfig
impl Debug for ContentConfig
Source§impl<'de> Deserialize<'de> for ContentConfig
impl<'de> Deserialize<'de> for ContentConfig
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 ContentConfig
impl PartialEq for ContentConfig
Source§fn eq(&self, other: &ContentConfig) -> bool
fn eq(&self, other: &ContentConfig) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ContentConfig
impl Serialize for ContentConfig
impl StructuralPartialEq for ContentConfig
Auto Trait Implementations§
impl Freeze for ContentConfig
impl RefUnwindSafe for ContentConfig
impl Send for ContentConfig
impl Sync for ContentConfig
impl Unpin for ContentConfig
impl UnsafeUnpin for ContentConfig
impl UnwindSafe for ContentConfig
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