pub struct SqlxSection {
pub kind: SqlxSectionKind,
pub text: String,
pub span: Span,
}Expand description
One section with its exact text and where it sits in the file.
Fields§
§kind: SqlxSectionKind§text: String§span: SpanImplementations§
Trait Implementations§
Source§impl Clone for SqlxSection
impl Clone for SqlxSection
Source§impl Debug for SqlxSection
impl Debug for SqlxSection
Source§impl<'de> Deserialize<'de> for SqlxSection
impl<'de> Deserialize<'de> for SqlxSection
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 SqlxSection
Source§impl PartialEq for SqlxSection
impl PartialEq for SqlxSection
Source§impl Serialize for SqlxSection
impl Serialize for SqlxSection
impl StructuralPartialEq for SqlxSection
Auto Trait Implementations§
impl Forget for SqlxSection
impl Freeze for SqlxSection
impl Move for SqlxSection
impl RefUnwindSafe for SqlxSection
impl Send for SqlxSectionwhere
RawVecInner: Send,
impl Sync for SqlxSectionwhere
RawVecInner: Sync,
impl Unpin for SqlxSection
impl UnsafeUnpin for SqlxSection
impl UnwindSafe for SqlxSectionwhere
RawVecInner: UnwindSafe,
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.