pub struct AuditLogs<'c, C: Config> { /* private fields */ }
Expand description
Logs of user actions and configuration changes within this organization. To log events, you must activate logging in the Organization Settings. Once activated, for security reasons, logging cannot be deactivated.
Implementations§
Source§impl<'c, C: Config> AuditLogs<'c, C>
impl<'c, C: Config> AuditLogs<'c, C>
pub fn new(client: &'c Client<C>) -> Self
Sourcepub async fn get<Q>(
&self,
query: &Q,
) -> Result<ListAuditLogsResponse, OpenAIError>
pub async fn get<Q>( &self, query: &Q, ) -> Result<ListAuditLogsResponse, OpenAIError>
List user actions and configuration changes within this organization. List user actions and configuration changes within this organization.
Sourcepub async fn get_byot<T0: Serialize, R: DeserializeOwned>(
&self,
query: T0,
) -> Result<R, OpenAIError>
pub async fn get_byot<T0: Serialize, R: DeserializeOwned>( &self, query: T0, ) -> Result<R, OpenAIError>
List user actions and configuration changes within this organization.
Auto Trait Implementations§
impl<'c, C> Freeze for AuditLogs<'c, C>
impl<'c, C> !RefUnwindSafe for AuditLogs<'c, C>
impl<'c, C> Send for AuditLogs<'c, C>where
C: Sync,
impl<'c, C> Sync for AuditLogs<'c, C>where
C: Sync,
impl<'c, C> Unpin for AuditLogs<'c, C>
impl<'c, C> !UnwindSafe for AuditLogs<'c, C>
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