pub struct CopyResponse<O: SetObject> { /* private fields */ }
Implementations§
Source§impl<O: SetObject> CopyResponse<O>
impl<O: SetObject> CopyResponse<O>
pub fn from_account_id(&self) -> &str
pub fn account_id(&self) -> &str
pub fn old_state(&self) -> Option<&str>
pub fn new_state(&self) -> &str
pub fn created(&mut self, id: &str) -> Result<O>
pub fn take_created(&mut self) -> Option<Vec<O>>
pub fn created_ids(&self) -> Option<impl Iterator<Item = &String>>
pub fn not_created_ids(&self) -> Option<impl Iterator<Item = &String>>
Trait Implementations§
Source§impl<O: Clone + SetObject> Clone for CopyResponse<O>
impl<O: Clone + SetObject> Clone for CopyResponse<O>
Source§fn clone(&self) -> CopyResponse<O>
fn clone(&self) -> CopyResponse<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 moreSource§impl<'de, O> Deserialize<'de> for CopyResponse<O>where
O: Deserialize<'de> + SetObject,
impl<'de, O> Deserialize<'de> for CopyResponse<O>where
O: Deserialize<'de> + SetObject,
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl<O> Freeze for CopyResponse<O>
impl<O> RefUnwindSafe for CopyResponse<O>
impl<O> Send for CopyResponse<O>
impl<O> Sync for CopyResponse<O>
impl<O> Unpin for CopyResponse<O>
impl<O> UnwindSafe for CopyResponse<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