Struct roctogen::endpoints::orgs::OrgsGetAuditLogParams [−][src]
pub struct OrgsGetAuditLogParams<'req> { /* fields omitted */ }
Expand description
Query parameters for the Get the audit log for an organization endpoint.
Implementations
impl<'req> OrgsGetAuditLogParams<'req>
[src]
impl<'req> OrgsGetAuditLogParams<'req>
[src]pub fn new() -> Self
[src]
pub fn phrase(self, phrase: &'req str) -> Self
[src]
pub fn phrase(self, phrase: &'req str) -> Self
[src]A search phrase. For more information, see Searching the audit log.
pub fn include(self, include: &'req str) -> Self
[src]
pub fn include(self, include: &'req str) -> Self
[src]The event types to include: - web
- returns web (non-Git) events - git
- returns Git events - all
- returns both web and Git events The default is web
.
pub fn after(self, after: &'req str) -> Self
[src]
pub fn after(self, after: &'req str) -> Self
[src]A cursor, as given in the Link header. If specified, the query only searches for events after this cursor.
pub fn before(self, before: &'req str) -> Self
[src]
pub fn before(self, before: &'req str) -> Self
[src]A cursor, as given in the Link header. If specified, the query only searches for events before this cursor.
Trait Implementations
impl<'req> Default for OrgsGetAuditLogParams<'req>
[src]
impl<'req> Default for OrgsGetAuditLogParams<'req>
[src]fn default() -> OrgsGetAuditLogParams<'req>
[src]
fn default() -> OrgsGetAuditLogParams<'req>
[src]Returns the “default value” for a type. Read more
impl<'enc> From<&'enc PerPage> for OrgsGetAuditLogParams<'enc>
[src]
impl<'enc> From<&'enc PerPage> for OrgsGetAuditLogParams<'enc>
[src]impl<'req> Serialize for OrgsGetAuditLogParams<'req>
[src]
impl<'req> Serialize for OrgsGetAuditLogParams<'req>
[src]