pub struct StreamResource {
pub kind: String,
pub id: String,
}Fields§
§kind: String§id: StringTrait Implementations§
Source§impl Clone for StreamResource
impl Clone for StreamResource
Source§fn clone(&self) -> StreamResource
fn clone(&self) -> StreamResource
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 StreamResource
impl Debug for StreamResource
Auto Trait Implementations§
impl Freeze for StreamResource
impl RefUnwindSafe for StreamResource
impl Send for StreamResource
impl Sync for StreamResource
impl Unpin for StreamResource
impl UnsafeUnpin for StreamResource
impl UnwindSafe for StreamResource
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