pub struct Software {
pub name: String,
pub version: GrammarlyVersion,
pub api_version: ApiVersion,
pub premium: bool,
pub premium_hint: String,
pub status: String,
}Expand description
Represents a bot info.
Fields§
§name: StringThe name of the bot.
version: GrammarlyVersionThe grammarly’s bot version
api_version: ApiVersionThe api version used.
Is true if the API key used is premium one.
Contains premium hint. If the API key is not a premium one, suggests to get one.
status: StringGrammarly bot check status.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Software
impl<'de> Deserialize<'de> for Software
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
Auto Trait Implementations§
impl Freeze for Software
impl RefUnwindSafe for Software
impl Send for Software
impl Sync for Software
impl Unpin for Software
impl UnsafeUnpin for Software
impl UnwindSafe for Software
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