Struct fastly_api::apis::resource_api::CreateResourceParams
source · pub struct CreateResourceParams {
pub service_id: String,
pub version_id: i32,
pub resource_id: Option<String>,
pub name: Option<String>,
}Expand description
struct for passing parameters to the method create_resource
Fields§
§service_id: StringAlphanumeric string identifying the service.
version_id: i32Integer identifying a service version.
resource_id: Option<String>The ID of the underlying linked resource.
name: Option<String>The name of the resource link.
Trait Implementations§
source§impl Clone for CreateResourceParams
impl Clone for CreateResourceParams
source§fn clone(&self) -> CreateResourceParams
fn clone(&self) -> CreateResourceParams
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 CreateResourceParams
impl Debug for CreateResourceParams
source§impl Default for CreateResourceParams
impl Default for CreateResourceParams
source§fn default() -> CreateResourceParams
fn default() -> CreateResourceParams
Returns the “default value” for a type. Read more