pub struct LinksBuilder {
pub other: HashMap<String, LinkBuilder>,
pub self_: Option<LinkBuilder>,
pub related: Option<LinkBuilder>,
pub first: Option<LinkBuilder>,
pub last: Option<LinkBuilder>,
pub prev: Option<LinkBuilder>,
pub next: Option<LinkBuilder>,
pub about: Option<LinkBuilder>,
}Fields§
§other: HashMap<String, LinkBuilder>§self_: Option<LinkBuilder>§first: Option<LinkBuilder>§last: Option<LinkBuilder>§prev: Option<LinkBuilder>§next: Option<LinkBuilder>§about: Option<LinkBuilder>Implementations§
Source§impl LinksBuilder
impl LinksBuilder
pub fn self_<L: Into<LinkBuilder>>(self, self_: L) -> Self
pub fn first<L: Into<LinkBuilder>>(self, first: L) -> Self
pub fn last<L: Into<LinkBuilder>>(self, last: L) -> Self
pub fn prev<L: Into<LinkBuilder>>(self, prev: L) -> Self
pub fn next<L: Into<LinkBuilder>>(self, next: L) -> Self
pub fn about<L: Into<LinkBuilder>>(self, about: L) -> Self
pub fn link<N: ToString, L: Into<LinkBuilder>>(self, name: N, link: L) -> Self
Trait Implementations§
Source§impl Builder<'_> for LinksBuilder
impl Builder<'_> for LinksBuilder
Source§impl Clone for LinksBuilder
impl Clone for LinksBuilder
Source§fn clone(&self) -> LinksBuilder
fn clone(&self) -> LinksBuilder
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 LinksBuilder
impl Debug for LinksBuilder
Source§impl Default for LinksBuilder
impl Default for LinksBuilder
Source§fn default() -> LinksBuilder
fn default() -> LinksBuilder
Returns the “default value” for a type. Read more
Source§impl From<Links> for LinksBuilder
impl From<Links> for LinksBuilder
Source§impl PartialEq for LinksBuilder
impl PartialEq for LinksBuilder
impl Eq for LinksBuilder
impl StructuralPartialEq for LinksBuilder
Auto Trait Implementations§
impl Freeze for LinksBuilder
impl RefUnwindSafe for LinksBuilder
impl Send for LinksBuilder
impl Sync for LinksBuilder
impl Unpin for LinksBuilder
impl UnwindSafe for LinksBuilder
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.