Skip to content

Cannot get Timespec  #121

Closed
Closed
@veer66

Description

@veer66

I try to read TIMESTAMP WITH TIME ZONE. I defined t as Timespec. I have already extern crate time; and use time::Timespec;

but I still get this error message:

the trait postgres::types::FromSql is not implemented for the type time::Timespec [E0277]
updated_time:row.get("created_time"),

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions