We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implementing the default trait for a struct with the ryzz attribute macro results in a conflicting trait implementation.
#[table("shiny_apps")] struct ShinyAppRow { #[ryzz(pk)] id: String, name: String, slug: Option<String>, min_instances: i64, max_instances: i64, spawn_threshold: i64, inactive_timeout: i64, connection_timeout: i64, } impl Default for ShinyAppRow { fn default() -> Self { Self { id: ulid::Ulid::new().to_string(), name: "app.R".to_string(), slug: None, min_instances: 0, max_instances: 5, spawn_threshold: 80, inactive_timeout: 240, connection_timeout: 60, } } }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Implementing the default trait for a struct with the ryzz attribute macro results in a conflicting trait implementation.
The text was updated successfully, but these errors were encountered: