Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions rpc/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ pub use crate::header::HeaderSubscriptionRpcServer;
#[cfg(feature = "p2p")]
#[cfg_attr(docsrs, doc(cfg(feature = "p2p")))]
pub use crate::p2p::P2PClient;
pub use crate::share::RawGetRowResponse;
pub use crate::share::ShareClient;
pub use crate::share::ShareRpcServer;
pub use crate::share::ShareServer;
Expand All @@ -77,6 +78,7 @@ pub mod prelude {
pub use crate::HeaderSubscriptionRpcServer;
#[cfg(feature = "p2p")]
pub use crate::P2PClient;
pub use crate::RawGetRowResponse;
pub use crate::ShareClient;
pub use crate::ShareRpcServer;
pub use crate::ShareServer;
Expand Down
6 changes: 4 additions & 2 deletions rpc/src/share.rs
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,9 @@
use jsonrpsee::core::RpcResult;

#[derive(Debug, Clone, PartialEq, Deserialize, Serialize)]
pub struct RawGetRowResponse {

Check failure on line 77 in rpc/src/share.rs

View workflow job for this annotation

GitHub Actions / docs

missing documentation for a struct
pub(crate) shares: Vec<RawShare>,
pub(crate) side: RowSide,
pub shares: Vec<RawShare>,

Check failure on line 78 in rpc/src/share.rs

View workflow job for this annotation

GitHub Actions / docs

missing documentation for a struct field
pub side: RowSide,

Check failure on line 79 in rpc/src/share.rs

View workflow job for this annotation

GitHub Actions / docs

missing documentation for a struct field
}

/// Share RPC methods.
Expand Down Expand Up @@ -359,3 +359,5 @@
impl<T> ShareServer for T where T: rpc::ShareServer {}

pub use rpc::ShareServer as ShareRpcServer;

pub use rpc::RawGetRowResponse;
Loading