Struct news_flash::models::plugin_info::PluginInfo
source · pub struct PluginInfo {
pub id: PluginID,
pub name: String,
pub icon: Option<PluginIcon>,
pub icon_symbolic: Option<PluginIcon>,
pub website: Option<Url>,
pub service_type: ServiceType,
pub license_type: ServiceLicense,
pub service_price: ServicePrice,
pub login_gui: LoginGUI,
}
Fields
id: PluginID
name: String
icon: Option<PluginIcon>
icon_symbolic: Option<PluginIcon>
website: Option<Url>
service_type: ServiceType
license_type: ServiceLicense
service_price: ServicePrice
login_gui: LoginGUI
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for PluginInfo
impl !Send for PluginInfo
impl !Sync for PluginInfo
impl Unpin for PluginInfo
impl !UnwindSafe for PluginInfo
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> IntoSql for T
impl<T> IntoSql for T
sourcefn into_sql<T>(self) -> Self::Expressionwhere
Self: AsExpression<T> + Sized,
T: SqlType + TypedExpressionType,
fn into_sql<T>(self) -> Self::Expressionwhere
Self: AsExpression<T> + Sized,
T: SqlType + TypedExpressionType,
Convert
self
to an expression for Diesel’s query builder. Read moresourcefn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expressionwhere
&'a Self: AsExpression<T>,
T: SqlType + TypedExpressionType,
fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expressionwhere
&'a Self: AsExpression<T>,
T: SqlType + TypedExpressionType,
Convert
&self
to an expression for Diesel’s query builder. Read more