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: String
Alphanumeric string identifying the service.
version_id: i32
Integer identifying a service version.
resource_id: Option<String>
The ID of the underlying linked resource.
name: Option<String>
The name of the resource link. Note this is separate from the resource store name and might not match the store name.
Trait Implementations§
Source§impl Clone for CreateResourceParams
impl Clone for CreateResourceParams
Source§fn clone(&self) -> CreateResourceParams
fn clone(&self) -> CreateResourceParams
Returns a duplicate 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
Auto Trait Implementations§
impl Freeze for CreateResourceParams
impl RefUnwindSafe for CreateResourceParams
impl Send for CreateResourceParams
impl Sync for CreateResourceParams
impl Unpin for CreateResourceParams
impl UnwindSafe for CreateResourceParams
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