pub struct BookUpdater {
pub id: Ustr,
pub instrument_id: InstrumentId,
pub cache: Rc<RefCell<Cache>>,
}Fields§
§id: Ustr§instrument_id: InstrumentId§cache: Rc<RefCell<Cache>>Implementations§
Source§impl BookUpdater
impl BookUpdater
Sourcepub fn new(instrument_id: &InstrumentId, cache: Rc<RefCell<Cache>>) -> Self
pub fn new(instrument_id: &InstrumentId, cache: Rc<RefCell<Cache>>) -> Self
Creates a new BookUpdater instance.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for BookUpdater
impl !RefUnwindSafe for BookUpdater
impl !Send for BookUpdater
impl !Sync for BookUpdater
impl Unpin for BookUpdater
impl !UnwindSafe for BookUpdater
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