pub struct ColumnSnapshot {
pub name: String,
pub sql_type: String,
pub not_null: bool,
pub pk: bool,
pub renamed_from: Option<String>,
}Expand description
컬럼 스냅샷
Fields§
§name: String§sql_type: StringSQLite 타입 (빈 문자열 = typeless)
not_null: bool§pk: bool§renamed_from: Option<String>rename 힌트 (명세 §8.3) — diff 초안 전용, 해시 제외
Trait Implementations§
Source§impl Clone for ColumnSnapshot
impl Clone for ColumnSnapshot
Source§fn clone(&self) -> ColumnSnapshot
fn clone(&self) -> ColumnSnapshot
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ColumnSnapshot
impl Debug for ColumnSnapshot
Source§impl<'de> Deserialize<'de> for ColumnSnapshot
impl<'de> Deserialize<'de> for ColumnSnapshot
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ColumnSnapshot, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ColumnSnapshot, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ColumnSnapshot
Source§impl PartialEq for ColumnSnapshot
impl PartialEq for ColumnSnapshot
Source§impl Serialize for ColumnSnapshot
impl Serialize for ColumnSnapshot
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for ColumnSnapshot
Auto Trait Implementations§
impl Freeze for ColumnSnapshot
impl RefUnwindSafe for ColumnSnapshot
impl Send for ColumnSnapshot
impl Sync for ColumnSnapshot
impl Unpin for ColumnSnapshot
impl UnsafeUnpin for ColumnSnapshot
impl UnwindSafe for ColumnSnapshot
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