pub struct SourceIdentity {
pub dialect: DialectId,
pub source_id: Option<String>,
pub logical_index: u64,
}Expand description
A source identity. logical_index is mandatory even when an upstream id
exists: it makes same-name or missing-id repetitions explicit.
Fields§
§dialect: DialectId§source_id: Option<String>§logical_index: u64Implementations§
Trait Implementations§
Source§impl Clone for SourceIdentity
impl Clone for SourceIdentity
Source§impl Debug for SourceIdentity
impl Debug for SourceIdentity
Source§impl<'de> Deserialize<'de> for SourceIdentity
impl<'de> Deserialize<'de> for SourceIdentity
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 SourceIdentity
Source§impl Hash for SourceIdentity
impl Hash for SourceIdentity
Source§impl PartialEq for SourceIdentity
impl PartialEq for SourceIdentity
Source§impl Serialize for SourceIdentity
impl Serialize for SourceIdentity
impl StructuralPartialEq for SourceIdentity
Auto Trait Implementations§
impl Freeze for SourceIdentity
impl RefUnwindSafe for SourceIdentity
impl Send for SourceIdentity
impl Sync for SourceIdentity
impl Unpin for SourceIdentity
impl UnsafeUnpin for SourceIdentity
impl UnwindSafe for SourceIdentity
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