pub struct PageVerificationPropertyParameter {
pub state: PageVerificationState,
pub verified_by: Option<User>,
pub date: Option<PageVerificationDate>,
}
Fields§
§state: PageVerificationState
The verification state of the page. "verified"
or "unverified"
.
verified_by: Option<User>
§date: Option<PageVerificationDate>
Implementations§
Source§impl PageVerificationPropertyParameter
impl PageVerificationPropertyParameter
Sourcepub fn state(self, state: PageVerificationState) -> Self
pub fn state(self, state: PageVerificationState) -> Self
Set the value of the state
field.
The verification state of the page. "verified"
or "unverified"
.
Sourcepub fn verified_by(self, verified_by: User) -> Self
pub fn verified_by(self, verified_by: User) -> Self
Set the value of the verified_by
field.
Sourcepub fn date(self, date: PageVerificationDate) -> Self
pub fn date(self, date: PageVerificationDate) -> Self
Set the value of the date
field.
Trait Implementations§
Source§impl Clone for PageVerificationPropertyParameter
impl Clone for PageVerificationPropertyParameter
Source§fn clone(&self) -> PageVerificationPropertyParameter
fn clone(&self) -> PageVerificationPropertyParameter
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 Default for PageVerificationPropertyParameter
impl Default for PageVerificationPropertyParameter
Source§fn default() -> PageVerificationPropertyParameter
fn default() -> PageVerificationPropertyParameter
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PageVerificationPropertyParameter
impl<'de> Deserialize<'de> for PageVerificationPropertyParameter
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 PartialEq for PageVerificationPropertyParameter
impl PartialEq for PageVerificationPropertyParameter
Source§fn eq(&self, other: &PageVerificationPropertyParameter) -> bool
fn eq(&self, other: &PageVerificationPropertyParameter) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for PageVerificationPropertyParameter
Auto Trait Implementations§
impl Freeze for PageVerificationPropertyParameter
impl RefUnwindSafe for PageVerificationPropertyParameter
impl Send for PageVerificationPropertyParameter
impl Sync for PageVerificationPropertyParameter
impl Unpin for PageVerificationPropertyParameter
impl UnwindSafe for PageVerificationPropertyParameter
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