#[non_exhaustive]pub struct InstallationState {
pub stage: Stage,
pub message: String,
pub action_uri: String,
/* private fields */
}Expand description
Describes stage and necessary actions to be taken by the user to complete the installation. Used for GitHub and GitHub Enterprise based connections.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.stage: StageOutput only. Current step of the installation process.
message: StringOutput only. Message of what the user should do next to continue the installation. Empty string if the installation is already complete.
action_uri: StringOutput only. Link to follow for next action. Empty string if the installation is already complete.
Implementations§
Trait Implementations§
Source§impl Clone for InstallationState
impl Clone for InstallationState
Source§fn clone(&self) -> InstallationState
fn clone(&self) -> InstallationState
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 InstallationState
impl Debug for InstallationState
Source§impl Default for InstallationState
impl Default for InstallationState
Source§fn default() -> InstallationState
fn default() -> InstallationState
Returns the “default value” for a type. Read more
Source§impl Message for InstallationState
impl Message for InstallationState
Source§impl PartialEq for InstallationState
impl PartialEq for InstallationState
impl StructuralPartialEq for InstallationState
Auto Trait Implementations§
impl Freeze for InstallationState
impl RefUnwindSafe for InstallationState
impl Send for InstallationState
impl Sync for InstallationState
impl Unpin for InstallationState
impl UnwindSafe for InstallationState
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