pub struct TemplateLink {
pub from: PageId,
pub from_namespace: PageNamespace,
pub target_id: LinkTargetId,
}
Expand description
Represents a row in the templatelinks
table.
Fields§
§from: PageId
§from_namespace: PageNamespace
§target_id: LinkTargetId
Trait Implementations§
Source§impl Clone for TemplateLink
impl Clone for TemplateLink
Source§fn clone(&self) -> TemplateLink
fn clone(&self) -> TemplateLink
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 TemplateLink
impl Debug for TemplateLink
Source§impl<'de> Deserialize<'de> for TemplateLink
impl<'de> Deserialize<'de> for TemplateLink
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl<'input> FromSqlTuple<'input> for TemplateLink
impl<'input> FromSqlTuple<'input> for TemplateLink
fn from_sql_tuple(s: &'input [u8]) -> IResult<'input, Self>
Source§impl Hash for TemplateLink
impl Hash for TemplateLink
Source§impl Ord for TemplateLink
impl Ord for TemplateLink
Source§fn cmp(&self, other: &TemplateLink) -> Ordering
fn cmp(&self, other: &TemplateLink) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for TemplateLink
impl PartialEq for TemplateLink
Source§impl PartialOrd for TemplateLink
impl PartialOrd for TemplateLink
Source§impl Serialize for TemplateLink
impl Serialize for TemplateLink
impl Eq for TemplateLink
impl StructuralPartialEq for TemplateLink
Auto Trait Implementations§
impl Freeze for TemplateLink
impl RefUnwindSafe for TemplateLink
impl Send for TemplateLink
impl Sync for TemplateLink
impl Unpin for TemplateLink
impl UnwindSafe for TemplateLink
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