Struct ory_client::models::migration_options::MigrationOptions
source · pub struct MigrationOptions {
pub environment: EnvironmentEnum,
pub project_subscription: ProjectSubscriptionEnum,
}Fields§
§environment: EnvironmentEnumThe environment of the project in the workspace. Can be one of "prod" or "dev". Note that the number of projects in the "prod" environment is limited depending on the subscription. prod Production dev Development
project_subscription: ProjectSubscriptionEnumThe action to take with the project subscription. Can be one of "migrate", and "ignore". "migrate" will migrate the project subscription to the workspace. "ignore" will ignore the project subscription. migrate ProjectSubscriptionActionMigrate ProjectSubscriptionActionMigrate will migrate the project subscription to the workspace. ignore ProjectSubscriptionActionIgnore ProjectSubscriptionActionIgnore will ignore the project subscription.
Implementations§
source§impl MigrationOptions
impl MigrationOptions
pub fn new( environment: EnvironmentEnum, project_subscription: ProjectSubscriptionEnum ) -> MigrationOptions
Trait Implementations§
source§impl Clone for MigrationOptions
impl Clone for MigrationOptions
source§fn clone(&self) -> MigrationOptions
fn clone(&self) -> MigrationOptions
Returns a copy 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 MigrationOptions
impl Debug for MigrationOptions
source§impl<'de> Deserialize<'de> for MigrationOptions
impl<'de> Deserialize<'de> for MigrationOptions
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 PartialEq for MigrationOptions
impl PartialEq for MigrationOptions
source§fn eq(&self, other: &MigrationOptions) -> bool
fn eq(&self, other: &MigrationOptions) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for MigrationOptions
impl Serialize for MigrationOptions
impl StructuralPartialEq for MigrationOptions
Auto Trait Implementations§
impl RefUnwindSafe for MigrationOptions
impl Send for MigrationOptions
impl Sync for MigrationOptions
impl Unpin for MigrationOptions
impl UnwindSafe for MigrationOptions
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