pub struct Program {
pub handle: Option<String>,
pub name: Option<String>,
pub state: Option<String>,
pub submission_state: Option<String>,
pub offers_bounties: Option<bool>,
pub policy: Option<String>,
pub started_accepting_at: Option<String>,
pub extra: BTreeMap<String, Value>,
}Expand description
See the HackerOne API reference for Program.
Fields§
§handle: Option<String>handle
name: Option<String>name
state: Option<String>state
submission_state: Option<String>submission_state
offers_bounties: Option<bool>offers_bounties
policy: Option<String>policy
started_accepting_at: Option<String>started_accepting_at
extra: BTreeMap<String, Value>Fields the API returned that this version does not name.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Program
impl<'de> Deserialize<'de> for Program
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 Program
impl RefUnwindSafe for Program
impl Send for Program
impl Sync for Program
impl Unpin for Program
impl UnsafeUnpin for Program
impl UnwindSafe for Program
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