pub struct ServerVersions { /* private fields */ }Expand description
Represents the FXServer version changelog.
Does not support ArtifactsChannel::LatestJg.
Use dxm_artifacts::jg instead.
Implementations§
Source§impl ServerVersions
impl ServerVersions
Sourcepub fn version(&self, channel: &ArtifactsChannel) -> &str
pub fn version(&self, channel: &ArtifactsChannel) -> &str
Returns the FXServer version for the given update channel.
Panics if given LatestJg - use dxm_artifacts::jg instead.
Sourcepub fn txadmin(&self, channel: &ArtifactsChannel) -> &str
pub fn txadmin(&self, channel: &ArtifactsChannel) -> &str
Returns the txAdmin version for the given update channel.
Panics if given LatestJg - use dxm_artifacts::jg instead.
Sourcepub fn alias_display(&self, alias: &ArtifactsChannel) -> String
pub fn alias_display(&self, alias: &ArtifactsChannel) -> String
Returns a string containing information for the given update channel.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ServerVersions
impl<'de> Deserialize<'de> for ServerVersions
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 ServerVersions
impl RefUnwindSafe for ServerVersions
impl Send for ServerVersions
impl Sync for ServerVersions
impl Unpin for ServerVersions
impl UnwindSafe for ServerVersions
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