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§
Auto Trait Implementations§
impl<O> Freeze for CopyRequest<O>
impl<O> RefUnwindSafe for CopyRequest<O>
impl<O> Send for CopyRequest<O>
impl<O> Sync for CopyRequest<O>
impl<O> Unpin for CopyRequest<O>
impl<O> UnsafeUnpin for CopyRequest<O>
impl<O> UnwindSafe for CopyRequest<O>
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