pub struct PoolSnapshotResponse {
pub correlation_id: UUID4,
pub data: PoolSnapshot,
}Expand description
Represents a pool snapshot sent in reply to a RequestPoolSnapshot.
Fields§
§correlation_id: UUID4§data: PoolSnapshotImplementations§
Source§impl PoolSnapshotResponse
impl PoolSnapshotResponse
Sourcepub fn new(correlation_id: UUID4, data: PoolSnapshot) -> Self
pub fn new(correlation_id: UUID4, data: PoolSnapshot) -> Self
Creates a new PoolSnapshotResponse instance.
Trait Implementations§
Source§impl Clone for PoolSnapshotResponse
impl Clone for PoolSnapshotResponse
Auto Trait Implementations§
impl Freeze for PoolSnapshotResponse
impl RefUnwindSafe for PoolSnapshotResponse
impl Send for PoolSnapshotResponse
impl Sync for PoolSnapshotResponse
impl Unpin for PoolSnapshotResponse
impl UnsafeUnpin for PoolSnapshotResponse
impl UnwindSafe for PoolSnapshotResponse
Blanket Implementations§
impl<T> Allocation for T
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