pub struct CreateEndpointsRedirectionRequest {
pub source_database_id: i32,
pub target_database_id: i32,
pub endpoint_target_type: EndpointTargetType,
pub duplicate_acls: Option<bool>,
pub migration_protection: bool,
}Expand description
Request to create a dynamic endpoint redirection.
Fields§
§source_database_id: i32Source database whose endpoint will be redirected.
target_database_id: i32Target database that will receive the endpoint.
endpoint_target_type: EndpointTargetTypePublic or private endpoint to redirect.
duplicate_acls: Option<bool>Whether to duplicate source database ACLs on the target database.
migration_protection: boolExplicit protection flag required by the API to start the migration.
Implementations§
Source§impl CreateEndpointsRedirectionRequest
impl CreateEndpointsRedirectionRequest
Sourcepub fn builder() -> CreateEndpointsRedirectionRequestBuilder<((), (), (), (), ())>
pub fn builder() -> CreateEndpointsRedirectionRequestBuilder<((), (), (), (), ())>
Create a builder for building CreateEndpointsRedirectionRequest.
On the builder, call .source_database_id(...), .target_database_id(...), .endpoint_target_type(...), .duplicate_acls(...)(optional), .migration_protection(...) to set the values of the fields.
Finally, call .build() to create the instance of CreateEndpointsRedirectionRequest.
Trait Implementations§
Source§impl Clone for CreateEndpointsRedirectionRequest
impl Clone for CreateEndpointsRedirectionRequest
Source§fn clone(&self) -> CreateEndpointsRedirectionRequest
fn clone(&self) -> CreateEndpointsRedirectionRequest
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'de> Deserialize<'de> for CreateEndpointsRedirectionRequest
impl<'de> Deserialize<'de> for CreateEndpointsRedirectionRequest
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 CreateEndpointsRedirectionRequest
impl RefUnwindSafe for CreateEndpointsRedirectionRequest
impl Send for CreateEndpointsRedirectionRequest
impl Sync for CreateEndpointsRedirectionRequest
impl Unpin for CreateEndpointsRedirectionRequest
impl UnsafeUnpin for CreateEndpointsRedirectionRequest
impl UnwindSafe for CreateEndpointsRedirectionRequest
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