pub struct CopyRequest<O: SetObject> { /* private fields */ }
Implementations§
Source§impl<T: SetObject> CopyRequest<T>
impl<T: SetObject> CopyRequest<T>
pub fn new(params: RequestParams, from_account_id: String) -> Self
pub fn account_id(&mut self, account_id: impl Into<String>) -> &mut Self
pub fn if_from_in_state( &mut self, if_from_in_state: impl Into<String>, ) -> &mut Self
pub fn if_in_state(&mut self, if_in_state: impl Into<String>) -> &mut Self
pub fn create(&mut self, id: impl Into<String>) -> &mut T
pub fn on_success_destroy_original( &mut self, on_success_destroy_original: bool, ) -> &mut Self
pub fn destroy_from_if_in_state( &mut self, destroy_from_if_in_state: impl Into<String>, ) -> &mut Self
Trait Implementations§
Source§impl<O: Clone + SetObject> Clone for CopyRequest<O>
impl<O: Clone + SetObject> Clone for CopyRequest<O>
Source§fn clone(&self) -> CopyRequest<O>
fn clone(&self) -> CopyRequest<O>
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 moreAuto Trait Implementations§
impl<O> Freeze for CopyRequest<O>
impl<O> RefUnwindSafe for CopyRequest<O>where
O: RefUnwindSafe,
impl<O> Send for CopyRequest<O>where
O: Send,
impl<O> Sync for CopyRequest<O>where
O: Sync,
impl<O> Unpin for CopyRequest<O>where
O: Unpin,
impl<O> UnwindSafe for CopyRequest<O>where
O: UnwindSafe,
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