pub fn published_by(&self, conn: &PgConnection) -> Option<User> {
        match self.published_by {
            Some(pb) => users::table.find(pb).first(conn).ok(),
            None => None,
        }
    }
/// Gets the User who ran `cargo publish` for this version, if recorded.
/// Not for use when you have a group of versions you need the publishers for.
Gets the User who ran `cargo publish` for this version, if recorded.
Not for use when you have a group of versions you need the publishers for.
Gets the User who ran ` cargo publish ` for this version if recorded . Not for use when you have a group of versions you need the publishers for .
pub fn published_by(&self, conn: &PgConnection) -> Option<User> {
        match self.published_by {
            Some(pb) => users::table.find(pb).first(conn).ok(),
            None => None,
        }
    }
pub fn published_by ( & self , conn : & PgConnection ) -> Option < User > { match self . published_by { Some ( pb ) => users :: table . find ( pb ) . first ( conn ) . ok ( ) , None => None , } }
Gets the User who ran `cargo publish` for this version, if recorded.
Gets the User who ran ` cargo publish ` for this version if recorded .
&self
conn
&PgConnection