Skip to content

Commit

Permalink
Mark the ServerAction struct non_exhaustive
Browse files Browse the repository at this point in the history
  • Loading branch information
milliams committed Oct 7, 2023
1 parent 90676da commit 4fdffa5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/compute/servers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -326,6 +326,7 @@ impl Server {

/// An action to perform on a server.
#[derive(Clone, Copy, Debug, Serialize)]
#[non_exhaustive]
pub enum ServerAction {
/// Starts a stopped server.
#[serde(rename = "os-start", serialize_with = "unit_to_null")]
Expand Down

0 comments on commit 4fdffa5

Please sign in to comment.