pub struct CreateReportRequest;Expand description
Endpoint marker for the com.atproto.moderation.createReport procedure.
Path: /xrpc/com.atproto.moderation.createReport. The request payload type is CreateReport<S>; send that request with jacquard::Client or use this marker through lower-level XrpcEndpoint APIs.
Trait Implementations§
Source§impl XrpcEndpoint for CreateReportRequest
impl XrpcEndpoint for CreateReportRequest
Source§const PATH: &'static str = "/xrpc/com.atproto.moderation.createReport"
const PATH: &'static str = "/xrpc/com.atproto.moderation.createReport"
Fully-qualified path (‘/xrpc/[nsid]’) where this endpoint should live on the server
Source§const METHOD: XrpcMethod
const METHOD: XrpcMethod
XRPC method (query/GET or procedure/POST)
Source§type Request<S: BosStr> = CreateReport<S>
type Request<S: BosStr> = CreateReport<S>
XRPC Request data type
Source§type Response = CreateReportResponse
type Response = CreateReportResponse
XRPC Response data type
Auto Trait Implementations§
impl Freeze for CreateReportRequest
impl RefUnwindSafe for CreateReportRequest
impl Send for CreateReportRequest
impl Sync for CreateReportRequest
impl Unpin for CreateReportRequest
impl UnsafeUnpin for CreateReportRequest
impl UnwindSafe for CreateReportRequest
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more