#[non_exhaustive]pub struct ReplyFileReference {
pub kind: ObjectKind,
pub version: MajorMinor,
pub json_file: PathBuf,
}
Expand description
represents a reference to another reply file
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.kind: ObjectKind
specifying one of the Object Kinds
version: MajorMinor
object version
json_file: PathBuf
path relative to the reply index file to another JSON file containing the object
Trait Implementations§
Source§impl Clone for ReplyFileReference
impl Clone for ReplyFileReference
Source§fn clone(&self) -> ReplyFileReference
fn clone(&self) -> ReplyFileReference
Returns a copy 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 ReplyFileReference
impl Debug for ReplyFileReference
Source§impl Default for ReplyFileReference
impl Default for ReplyFileReference
Source§fn default() -> ReplyFileReference
fn default() -> ReplyFileReference
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ReplyFileReference
impl<'de> Deserialize<'de> for ReplyFileReference
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 ReplyFileReference
impl PartialEq for ReplyFileReference
Source§impl Serialize for ReplyFileReference
impl Serialize for ReplyFileReference
impl StructuralPartialEq for ReplyFileReference
Auto Trait Implementations§
impl Freeze for ReplyFileReference
impl RefUnwindSafe for ReplyFileReference
impl Send for ReplyFileReference
impl Sync for ReplyFileReference
impl Unpin for ReplyFileReference
impl UnwindSafe for ReplyFileReference
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