Struct fastly_api::apis::resource_api::CreateResourceParams
source · pub struct CreateResourceParams {
pub service_id: String,
pub version_id: i32,
pub name: Option<String>,
pub resource_id: Option<String>,
}
Expand description
struct for passing parameters to the method create_resource
Fields§
§service_id: String
Alphanumeric string identifying the service.
version_id: i32
Integer identifying a service version.
name: Option<String>
The name of the resource.
resource_id: Option<String>
The ID of the linked resource.
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