pub struct PlatformTemplate {
pub platform: String,
pub length_cap: usize,
pub length_cap_field: LengthCapField,
pub output_format: OutputFormat,
pub title_cap: Option<usize>,
pub min_tweets: Option<usize>,
pub max_tweets: Option<usize>,
pub system: String,
pub user_template: String,
pub anti_examples: String,
}Fields§
§platform: String§length_cap: usize§length_cap_field: LengthCapField§output_format: OutputFormat§title_cap: Option<usize>§min_tweets: Option<usize>§max_tweets: Option<usize>§system: String§user_template: String§anti_examples: StringTrait Implementations§
Source§impl Clone for PlatformTemplate
impl Clone for PlatformTemplate
Source§fn clone(&self) -> PlatformTemplate
fn clone(&self) -> PlatformTemplate
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 moreAuto Trait Implementations§
impl Freeze for PlatformTemplate
impl RefUnwindSafe for PlatformTemplate
impl Send for PlatformTemplate
impl Sync for PlatformTemplate
impl Unpin for PlatformTemplate
impl UnsafeUnpin for PlatformTemplate
impl UnwindSafe for PlatformTemplate
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