pub struct VersionRef {
pub document_id: String,
pub version_id: Option<String>,
}Expand description
A document version reference.
Fields§
§document_id: StringThe document id.
version_id: Option<String>The version id; omitted means the current version.
Trait Implementations§
Source§impl Clone for VersionRef
impl Clone for VersionRef
Source§impl Debug for VersionRef
impl Debug for VersionRef
Source§impl Default for VersionRef
impl Default for VersionRef
Source§impl<'de> Deserialize<'de> for VersionRef
impl<'de> Deserialize<'de> for VersionRef
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
impl Eq for VersionRef
Source§impl From<VersionRef> for FileInput
impl From<VersionRef> for FileInput
Source§fn from(reference: VersionRef) -> Self
fn from(reference: VersionRef) -> Self
Converts to this type from the input type.
Source§impl From<VersionRef> for ToolInput
impl From<VersionRef> for ToolInput
Source§fn from(value: VersionRef) -> Self
fn from(value: VersionRef) -> Self
Converts to this type from the input type.
Source§impl PartialEq for VersionRef
impl PartialEq for VersionRef
Source§impl Serialize for VersionRef
impl Serialize for VersionRef
impl StructuralPartialEq for VersionRef
Auto Trait Implementations§
impl Forget for VersionRef
impl Freeze for VersionRef
impl Move for VersionRef
impl RefUnwindSafe for VersionRef
impl Send for VersionRef
impl Sync for VersionRef
impl Unpin for VersionRef
impl UnsafeUnpin for VersionRef
impl UnwindSafe for VersionRef
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.