pub enum AntFormatOrFormat {
Ant(AntFormat),
Format(Format),
}Expand description
Format<any> in the TypeScript SDK as AntFormat.fromJSON returns it: a feed
format, or any Parrot format. Cloning copies the question and its answer.
Variants§
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for AntFormatOrFormat
impl !UnwindSafe for AntFormatOrFormat
impl Forget for AntFormatOrFormat
impl Freeze for AntFormatOrFormat
impl Send for AntFormatOrFormat
impl Sync for AntFormatOrFormat
impl Unpin for AntFormatOrFormat
impl UnsafeUnpin for AntFormatOrFormat
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