pub struct SubscriptionsJamInfo {
pub state: Option<State>,
pub activation_source: Option<ActivationSource>,
pub level: Option<Level>,
pub since: Option<String>,
pub till: Option<String>,
}Expand description
SubscriptionsJamInfo : Информация о подписке Джем
Fields§
§state: Option<State>Статус подписки: - active — активна - inactive — истекла или отменена
activation_source: Option<ActivationSource>Источник подключения подписки: - constructor — покупка через раздел Конструктор тарифов - jam — покупка через раздел Подписка «Джем»
level: Option<Level>Уровень подписки: - standard - advanced - premium
since: Option<String>Дата и время первой активации подписки. Не меняется при продлении или повторной активации
till: Option<String>Дата и время окончания подписки
Implementations§
Source§impl SubscriptionsJamInfo
impl SubscriptionsJamInfo
Sourcepub fn new() -> SubscriptionsJamInfo
pub fn new() -> SubscriptionsJamInfo
Информация о подписке Джем
Trait Implementations§
Source§impl Clone for SubscriptionsJamInfo
impl Clone for SubscriptionsJamInfo
Source§impl Debug for SubscriptionsJamInfo
impl Debug for SubscriptionsJamInfo
Source§impl Default for SubscriptionsJamInfo
impl Default for SubscriptionsJamInfo
Source§impl<'de> Deserialize<'de> for SubscriptionsJamInfo
impl<'de> Deserialize<'de> for SubscriptionsJamInfo
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 SubscriptionsJamInfo
impl PartialEq for SubscriptionsJamInfo
Source§impl Serialize for SubscriptionsJamInfo
impl Serialize for SubscriptionsJamInfo
impl StructuralPartialEq for SubscriptionsJamInfo
Auto Trait Implementations§
impl Forget for SubscriptionsJamInfo
impl Freeze for SubscriptionsJamInfo
impl Move for SubscriptionsJamInfo
impl RefUnwindSafe for SubscriptionsJamInfo
impl Send for SubscriptionsJamInfo
impl Sync for SubscriptionsJamInfo
impl Unpin for SubscriptionsJamInfo
impl UnsafeUnpin for SubscriptionsJamInfo
impl UnwindSafe for SubscriptionsJamInfo
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