pub struct TemplateSite {
pub site: Site,
pub view: String,
pub last_update: Option<TemplateSiteEvent>,
}
Fields
site: Site
view: String
last_update: Option<TemplateSiteEvent>
Implementations
sourceimpl TemplateSite
impl TemplateSite
pub fn new(site: Site, last_update: Option<TemplateSiteEvent>) -> Self
Trait Implementations
sourceimpl Clone for TemplateSite
impl Clone for TemplateSite
sourcefn clone(&self) -> TemplateSite
fn clone(&self) -> TemplateSite
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for TemplateSite
impl Debug for TemplateSite
sourceimpl<'de> Deserialize<'de> for TemplateSite
impl<'de> Deserialize<'de> for TemplateSite
sourcefn 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
sourceimpl PartialEq<TemplateSite> for TemplateSite
impl PartialEq<TemplateSite> for TemplateSite
sourcefn eq(&self, other: &TemplateSite) -> bool
fn eq(&self, other: &TemplateSite) -> bool
sourceimpl Serialize for TemplateSite
impl Serialize for TemplateSite
impl Eq for TemplateSite
impl StructuralEq for TemplateSite
impl StructuralPartialEq for TemplateSite
Auto Trait Implementations
impl RefUnwindSafe for TemplateSite
impl Send for TemplateSite
impl Sync for TemplateSite
impl Unpin for TemplateSite
impl UnwindSafe for TemplateSite
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.