AlexPikalov / cdrs

Cassandra DB native client written in Rust language. Find 1.x versions on https://github.com/AlexPikalov/cdrs/tree/v.1.x Looking for an async version? - Check WIP https://github.com/AlexPikalov/cdrs-async
Apache License 2.0
343 stars 58 forks source link

Error, function or associated item not found in `uuid::Uuid` #362

Closed MauricioFesta closed 3 years ago

MauricioFesta commented 3 years ago
[dependencies]
rustler = "0.22.0"
cdrs = "2.1.0"
cdrs_helpers_derive = "0.4.0"
maplit = "1.0.2"
rustc-serialize = "0.3.24"

uuid = { version = "0.2", features = ["rustc-serialize"] }

use uuid::Uuid;

#[derive(RustcDecodable, RustcEncodable,Clone, Debug, TryFromRow, PartialEq)]
pub struct RowStructVagas {

    pub id: Uuid,
    pub descricao: String,

}

#[derive(RustcDecodable, RustcEncodable,Clone, Debug, TryFromRow, PartialEq)]
   |                                                       ^^^^^^^^^^ function or associated item not found in `uuid::Uuid`