/// Inserts this value into the collection with the given `id`, returning
/// the created document.
Inserts this value into the collection with the given `id`, returning
the created document.
Inserts this value into the collection with the given ` id ` returning the created document .
async fn insert_into<Cn: Connection>(
        self,
        id: u64,
        connection: &Cn,
    ) -> Result<CollectionDocument<Self>, InsertError<Self>>
    where
        Self: SerializedCollection<Contents = Self> + Sized + 'static,
    {
        Self::insert(id, self, connection).await
    }
async fn insert_into < Cn : Connection > ( self , id : u64 , connection : & Cn , ) -> Result < CollectionDocument < Self > , InsertError < Self > > where Self : SerializedCollection < Contents = Self > + Sized + ' static , { Self :: insert ( id , self , connection ) . await }
Inserts this value into the collection with the given `id`, returning
the created document.
Inserts this value into the collection with the given ` id ` returning the created document .
self
id
u64
connection
&Cn