Struct fastly_api::apis::resource_api::UpdateResourceParams
source · pub struct UpdateResourceParams {
pub service_id: String,
pub version_id: i32,
pub id: String,
pub resource_id: Option<String>,
pub name: Option<String>,
}
Expand description
struct for passing parameters to the method update_resource
Fields§
§service_id: String
Alphanumeric string identifying the service.
version_id: i32
Integer identifying a service version.
id: String
An alphanumeric string identifying the resource link.
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 UpdateResourceParams
impl Clone for UpdateResourceParams
source§fn clone(&self) -> UpdateResourceParams
fn clone(&self) -> UpdateResourceParams
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 UpdateResourceParams
impl Debug for UpdateResourceParams
source§impl Default for UpdateResourceParams
impl Default for UpdateResourceParams
source§fn default() -> UpdateResourceParams
fn default() -> UpdateResourceParams
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for UpdateResourceParams
impl Send for UpdateResourceParams
impl Sync for UpdateResourceParams
impl Unpin for UpdateResourceParams
impl UnwindSafe for UpdateResourceParams
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