#[repr(C)]pub enum UpdateProvider {
None = 0,
Raidcore = 1,
GitHub = 2,
Direct = 3,
Manual = 4,
}Expand description
Addon update provider.
Variants§
None = 0
Does not support auto updating.
Raidcore = 1
Raidcore via API.
GitHub = 2
GitHub releases.
Direct = 3
Direct file link.
Manual = 4
Manual updating.
Addon has to check versions itself and request updates manually.
Trait Implementations§
Source§impl AsRef<str> for UpdateProvider
impl AsRef<str> for UpdateProvider
Source§impl Clone for UpdateProvider
impl Clone for UpdateProvider
Source§fn clone(&self) -> UpdateProvider
fn clone(&self) -> UpdateProvider
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for UpdateProvider
impl Debug for UpdateProvider
Source§impl<'de> Deserialize<'de> for UpdateProvider
impl<'de> Deserialize<'de> for UpdateProvider
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 Display for UpdateProvider
impl Display for UpdateProvider
Source§impl<'_derivative_strum> From<&'_derivative_strum UpdateProvider> for &'static str
impl<'_derivative_strum> From<&'_derivative_strum UpdateProvider> for &'static str
Source§fn from(x: &'_derivative_strum UpdateProvider) -> &'static str
fn from(x: &'_derivative_strum UpdateProvider) -> &'static str
Converts to this type from the input type.
Source§impl From<UpdateProvider> for &'static str
impl From<UpdateProvider> for &'static str
Source§fn from(x: UpdateProvider) -> &'static str
fn from(x: UpdateProvider) -> &'static str
Converts to this type from the input type.
Source§impl Hash for UpdateProvider
impl Hash for UpdateProvider
Source§impl IntoEnumIterator for UpdateProvider
impl IntoEnumIterator for UpdateProvider
type Iterator = UpdateProviderIter
fn iter() -> UpdateProviderIter ⓘ
Source§impl Ord for UpdateProvider
impl Ord for UpdateProvider
Source§fn cmp(&self, other: &UpdateProvider) -> Ordering
fn cmp(&self, other: &UpdateProvider) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for UpdateProvider
impl PartialEq for UpdateProvider
Source§impl PartialOrd for UpdateProvider
impl PartialOrd for UpdateProvider
Source§impl Serialize for UpdateProvider
impl Serialize for UpdateProvider
Source§impl VariantNames for UpdateProvider
impl VariantNames for UpdateProvider
impl Copy for UpdateProvider
impl Eq for UpdateProvider
impl StructuralPartialEq for UpdateProvider
Auto Trait Implementations§
impl Freeze for UpdateProvider
impl RefUnwindSafe for UpdateProvider
impl Send for UpdateProvider
impl Sync for UpdateProvider
impl Unpin for UpdateProvider
impl UnwindSafe for UpdateProvider
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