[][src]Crate goa

GNOME Online Accounts

Documentation

The Rust bindings for libgoa generated by GIR.

A simpler API is planed.

Usage

Install libgoa

  • Fedora

    # dnf install gnome-online-accounts-devel
    
  • Debian and derived

    # apt install libgoa-1.0-dev
    

Add the dependency

[dependencies]
goa = "0.0.3"

Generate and build from scratch

Install GIR.

git clone --recurse https://gitlab.gnome.org/World/Rust/libgoa-rs
cd libgoa-rs/goa-sys && gir # Generates the goa-sys crate
cd .. && gir # Generates the goa crate
cargo build

License

Either MIT or Apache 2.0, left to the user's choice.

Structs

Account
Calendar
Chat
Client
ClientClass
Contacts
Documents
Exchange
Files
Mail
Manager
Maps
MediaServer
Music
OAuth2Based
OAuthBased
Object
ObjectManagerClient
ObjectManagerClientClass
PasswordBased
Photos
Printers
ReadLater
Ticketing
Todo

Enums

Error

Constants

NONE_ACCOUNT
NONE_CALENDAR
NONE_CHAT
NONE_CLIENT
NONE_CONTACTS
NONE_DOCUMENTS
NONE_EXCHANGE
NONE_FILES
NONE_MAIL
NONE_MANAGER
NONE_MAPS
NONE_MEDIA_SERVER
NONE_MUSIC
NONE_OAUTH2_BASED
NONE_OAUTH_BASED
NONE_OBJECT
NONE_OBJECT_MANAGER_CLIENT
NONE_PASSWORD_BASED
NONE_PHOTOS
NONE_PRINTERS
NONE_READ_LATER
NONE_TICKETING
NONE_TODO

Traits

AccountExt
CalendarExt
ChatExt
ClientExt
ContactsExt
DocumentsExt
ExchangeExt
FilesExt
MailExt
ManagerExt
MapsExt
MediaServerExt
MusicExt
OAuth2BasedExt
OAuthBasedExt
ObjectExt
PasswordBasedExt
PhotosExt
PrintersExt
ReadLaterExt
TicketingExt
TodoExt