// @generated by jacquard-lexicon. DO NOT EDIT. // // Lexicon: app.bsky.feed.getFeedGenerators // // This file was automatically generated from Lexicon schemas. // Any manual changes will be overwritten on the next regeneration. #[derive( serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq, bon::Builder, jacquard_derive::IntoStatic )] #[builder(start_fn = new)] #[serde(rename_all = "camelCase")] pub struct GetFeedGenerators<'a> { #[serde(borrow)] pub feeds: Vec>, } #[jacquard_derive::lexicon] #[derive( serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq, jacquard_derive::IntoStatic )] #[serde(rename_all = "camelCase")] pub struct GetFeedGeneratorsOutput<'a> { #[serde(borrow)] pub feeds: Vec>, } ///Response type for ///app.bsky.feed.getFeedGenerators pub struct GetFeedGeneratorsResponse; impl jacquard_common::xrpc::XrpcResp for GetFeedGeneratorsResponse { const NSID: &'static str = "app.bsky.feed.getFeedGenerators"; const ENCODING: &'static str = "application/json"; type Output<'de> = GetFeedGeneratorsOutput<'de>; type Err<'de> = jacquard_common::xrpc::GenericError<'de>; } impl<'de> jacquard_common::xrpc::XrpcRequest<'de> for GetFeedGenerators<'de> { const NSID: &'static str = "app.bsky.feed.getFeedGenerators"; const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Query; type Response = GetFeedGeneratorsResponse; } ///Endpoint type for ///app.bsky.feed.getFeedGenerators pub struct GetFeedGeneratorsRequest; impl jacquard_common::xrpc::XrpcEndpoint for GetFeedGeneratorsRequest { const PATH: &'static str = "/xrpc/app.bsky.feed.getFeedGenerators"; const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Query; type Request<'de> = GetFeedGenerators<'de>; type Response = GetFeedGeneratorsResponse; }