We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
#[strum(default)]
PostEndpointType
1 parent 699b1b3 commit 2419befCopy full SHA for 2419bef
wp_api/src/request/endpoint/posts_endpoint.rs
@@ -34,6 +34,7 @@ enum PostsRequest {
34
pub enum PostEndpointType {
35
Posts,
36
Pages,
37
+ #[strum(default)]
38
Custom(String),
39
}
40
0 commit comments