Struct gchdb::Blob[][src]

pub struct Blob {
    pub hash: i64,
    pub blob: Vec<u8>,
}

Fields

hash: i64blob: Vec<u8>

Implementations

impl Blob[src]

pub fn new(blob: Vec<u8>) -> Self[src]

Trait Implementations

impl Clone for Blob[src]

impl Debug for Blob[src]

impl Default for Blob[src]

impl<'de> Deserialize<'de> for Blob[src]

impl PartialEq<Blob> for Blob[src]

impl<__DB: Backend, __ST> Queryable<__ST, __DB> for Blob where
    (i64, Vec<u8>): Queryable<__ST, __DB>, 
[src]

type Row = <(i64, Vec<u8>) as Queryable<__ST, __DB>>::Row

The Rust type you’d like to map from. Read more

impl Serialize for Blob[src]

impl StructuralPartialEq for Blob[src]

Auto Trait Implementations

impl RefUnwindSafe for Blob

impl Send for Blob

impl Sync for Blob

impl Unpin for Blob

impl UnwindSafe for Blob

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> Downcast for T where
    T: Any

impl<T> DowncastSync for T where
    T: Send + Sync + Any

impl<T> From<T> for T[src]

impl<T> Fruit for T where
    T: Send + Downcast, 
[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoSql for T[src]

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,