pub struct AbuseReport {
pub id: String,
pub uri: String,
pub created_at: String,
pub urls: Vec<String>,
pub metadata: String,
pub status: String,
pub hostnames: Vec<AbuseReportHostname>,
}Fields§
§id: StringID of the abuse report
uri: StringURI of the abuse report API resource
created_at: Stringtimestamp that the abuse report record was created in RFC 3339 format
urls: Vec<String>a list of URLs containing suspected abusive content
metadata: Stringarbitrary user-defined data about this abuse report. Optional, max 4096 bytes.
status: StringIndicates whether ngrok has processed the abuse report. one of PENDING,
PROCESSED, or PARTIALLY_PROCESSED
hostnames: Vec<AbuseReportHostname>an array of hostname statuses related to the report
Trait Implementations§
Source§impl Clone for AbuseReport
impl Clone for AbuseReport
Source§fn clone(&self) -> AbuseReport
fn clone(&self) -> AbuseReport
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AbuseReport
impl Debug for AbuseReport
Source§impl Default for AbuseReport
impl Default for AbuseReport
Source§fn default() -> AbuseReport
fn default() -> AbuseReport
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AbuseReport
impl<'de> Deserialize<'de> for AbuseReport
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for AbuseReport
impl RefUnwindSafe for AbuseReport
impl Send for AbuseReport
impl Sync for AbuseReport
impl Unpin for AbuseReport
impl UnwindSafe for AbuseReport
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