pub struct CreateApexRedirectParams {
pub service_id: String,
pub version_id: i32,
pub service_id2: Option<String>,
pub version: Option<i32>,
pub created_at: Option<String>,
pub deleted_at: Option<String>,
pub updated_at: Option<String>,
pub status_code: Option<i32>,
pub domains: Option<Vec<String>>,
pub feature_revision: Option<i32>,
}
Expand description
struct for passing parameters to the method create_apex_redirect
Fields§
§service_id: String
Alphanumeric string identifying the service.
version_id: i32
Integer identifying a service version.
service_id2: Option<String>
§version: Option<i32>
§created_at: Option<String>
Date and time in ISO 8601 format.
deleted_at: Option<String>
Date and time in ISO 8601 format.
updated_at: Option<String>
Date and time in ISO 8601 format.
status_code: Option<i32>
HTTP status code used to redirect the client.
domains: Option<Vec<String>>
Array of apex domains that should redirect to their WWW subdomain.
feature_revision: Option<i32>
Revision number of the apex redirect feature implementation. Defaults to the most recent revision.
Trait Implementations§
source§impl Clone for CreateApexRedirectParams
impl Clone for CreateApexRedirectParams
source§fn clone(&self) -> CreateApexRedirectParams
fn clone(&self) -> CreateApexRedirectParams
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 CreateApexRedirectParams
impl Debug for CreateApexRedirectParams
source§impl Default for CreateApexRedirectParams
impl Default for CreateApexRedirectParams
source§fn default() -> CreateApexRedirectParams
fn default() -> CreateApexRedirectParams
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for CreateApexRedirectParams
impl Send for CreateApexRedirectParams
impl Sync for CreateApexRedirectParams
impl Unpin for CreateApexRedirectParams
impl UnwindSafe for CreateApexRedirectParams
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