pub struct StubReference {
pub id: String,
/* private fields */
}
Expand description
Reference to a stub (since Arc<dyn RpcTarget>
can’t implement Clone/Debug directly)
Fields§
§id: String
Implementations§
Trait Implementations§
Source§impl Clone for StubReference
impl Clone for StubReference
Source§fn clone(&self) -> StubReference
fn clone(&self) -> StubReference
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 StubReference
impl Debug for StubReference
Source§impl PartialEq for StubReference
impl PartialEq for StubReference
Auto Trait Implementations§
impl Freeze for StubReference
impl !RefUnwindSafe for StubReference
impl Send for StubReference
impl Sync for StubReference
impl Unpin for StubReference
impl !UnwindSafe for StubReference
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