pub struct ApiServer {Show 26 fields
pub uuid: Uuid,
pub uuid_short: CompactString,
pub allocation: Option<ApiServerAllocation>,
pub egg: ApiNestEgg,
pub status: Option<ServerStatus>,
pub is_owner: bool,
pub is_suspended: bool,
pub is_transferring: bool,
pub permissions: Vec<CompactString>,
pub location_uuid: Uuid,
pub location_name: CompactString,
pub node_uuid: Uuid,
pub node_name: CompactString,
pub node_maintenance_enabled: bool,
pub sftp_host: CompactString,
pub sftp_port: i32,
pub name: CompactString,
pub description: Option<CompactString>,
pub limits: ApiServerLimits,
pub feature_limits: ApiServerFeatureLimits,
pub startup: CompactString,
pub image: CompactString,
pub auto_kill: ServerConfigurationAutoKill,
pub auto_start_behavior: ServerAutoStartBehavior,
pub timezone: Option<CompactString>,
pub created: DateTime<Utc>,
}Fields§
§uuid: Uuid§uuid_short: CompactString§allocation: Option<ApiServerAllocation>§egg: ApiNestEgg§status: Option<ServerStatus>§is_owner: bool§is_suspended: bool§is_transferring: bool§permissions: Vec<CompactString>§location_uuid: Uuid§location_name: CompactString§node_uuid: Uuid§node_name: CompactString§node_maintenance_enabled: bool§sftp_host: CompactString§sftp_port: i32§name: CompactString§description: Option<CompactString>§limits: ApiServerLimits§feature_limits: ApiServerFeatureLimits§startup: CompactString§image: CompactString§auto_kill: ServerConfigurationAutoKill§auto_start_behavior: ServerAutoStartBehavior§timezone: Option<CompactString>§created: DateTime<Utc>Trait Implementations§
Auto Trait Implementations§
impl Freeze for ApiServer
impl RefUnwindSafe for ApiServer
impl Send for ApiServer
impl Sync for ApiServer
impl Unpin for ApiServer
impl UnwindSafe for ApiServer
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
§impl<T> Chain<T> for T
impl<T> Chain<T> for T
§impl<T> Classify for T
impl<T> Classify for T
type Classified = T
fn classify(self) -> T
§impl<T> Declassify for T
impl<T> Declassify for T
type Declassified = T
fn declassify(self) -> T
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more