pub enum SyncPageTypeEnum {
Page,
Document,
}
Expand description
The type of sync page in a doc
JSON schema
{
"description": "The type of sync page in a doc",
"type": "string",
"enum": [
"page",
"document"
],
"x-schema-name": "SyncPageTypeEnum",
"x-tsEnumNames": [
"Page",
"Document"
]
}
Variants§
Trait Implementations§
Source§impl Clone for SyncPageTypeEnum
impl Clone for SyncPageTypeEnum
Source§fn clone(&self) -> SyncPageTypeEnum
fn clone(&self) -> SyncPageTypeEnum
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 SyncPageTypeEnum
impl Debug for SyncPageTypeEnum
Source§impl<'de> Deserialize<'de> for SyncPageTypeEnum
impl<'de> Deserialize<'de> for SyncPageTypeEnum
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 Display for SyncPageTypeEnum
impl Display for SyncPageTypeEnum
Source§impl From<&SyncPageTypeEnum> for SyncPageTypeEnum
impl From<&SyncPageTypeEnum> for SyncPageTypeEnum
Source§fn from(value: &SyncPageTypeEnum) -> Self
fn from(value: &SyncPageTypeEnum) -> Self
Converts to this type from the input type.
Source§impl FromStr for SyncPageTypeEnum
impl FromStr for SyncPageTypeEnum
Source§impl Hash for SyncPageTypeEnum
impl Hash for SyncPageTypeEnum
Source§impl Ord for SyncPageTypeEnum
impl Ord for SyncPageTypeEnum
Source§fn cmp(&self, other: &SyncPageTypeEnum) -> Ordering
fn cmp(&self, other: &SyncPageTypeEnum) -> 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 SyncPageTypeEnum
impl PartialEq for SyncPageTypeEnum
Source§impl PartialOrd for SyncPageTypeEnum
impl PartialOrd for SyncPageTypeEnum
Source§impl Serialize for SyncPageTypeEnum
impl Serialize for SyncPageTypeEnum
Source§impl TryFrom<&String> for SyncPageTypeEnum
impl TryFrom<&String> for SyncPageTypeEnum
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<&str> for SyncPageTypeEnum
impl TryFrom<&str> for SyncPageTypeEnum
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<String> for SyncPageTypeEnum
impl TryFrom<String> for SyncPageTypeEnum
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
impl Copy for SyncPageTypeEnum
impl Eq for SyncPageTypeEnum
impl StructuralPartialEq for SyncPageTypeEnum
Auto Trait Implementations§
impl Freeze for SyncPageTypeEnum
impl RefUnwindSafe for SyncPageTypeEnum
impl Send for SyncPageTypeEnum
impl Sync for SyncPageTypeEnum
impl Unpin for SyncPageTypeEnum
impl UnwindSafe for SyncPageTypeEnum
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<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
Source§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string
, but without panic on OOM.