pub struct GetNavigationHistoryReturnObjectBuilder { /* private fields */ }Expand description
Builder for GetNavigationHistoryReturnObject.
Implementations§
Sourcepub fn current_index(&mut self, value: JsUInt) -> &mut Self
pub fn current_index(&mut self, value: JsUInt) -> &mut Self
Index of the current navigation history entry.
Sourcepub fn entries(&mut self, value: Vec<NavigationEntry>) -> &mut Self
pub fn entries(&mut self, value: Vec<NavigationEntry>) -> &mut Self
Array of navigation history entries.
Sourcepub fn build(
&self,
) -> Result<GetNavigationHistoryReturnObject, GetNavigationHistoryReturnObjectBuilderError>
pub fn build( &self, ) -> Result<GetNavigationHistoryReturnObject, GetNavigationHistoryReturnObjectBuilderError>
Builds a new GetNavigationHistoryReturnObject.
§Errors
If a required field has not been initialized.
Trait Implementations§
Source§fn clone(&self) -> GetNavigationHistoryReturnObjectBuilder
fn clone(&self) -> GetNavigationHistoryReturnObjectBuilder
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 moreAuto Trait Implementations§
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