pub struct Doors<'a> {
pub front: &'a Front,
pub releases: &'a [Release],
}Expand description
What the server must hand the door to answer it.
It is a struct and not four arguments so that adding a fact to the front page is a field here and a line in the caller, never a new function.
Fields§
§front: &'a Front§releases: &'a [Release]Already the latest, already ordered. The door does not rank — see the module note on why.
Auto Trait Implementations§
impl<'a> Freeze for Doors<'a>
impl<'a> RefUnwindSafe for Doors<'a>
impl<'a> Send for Doors<'a>
impl<'a> Sync for Doors<'a>
impl<'a> Unpin for Doors<'a>
impl<'a> UnsafeUnpin for Doors<'a>
impl<'a> UnwindSafe for Doors<'a>
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