pub struct WebsiteBundleDeployedData {
pub bundle_sha256: String,
pub bundle_size_bytes: u64,
pub deploy_mode: String,
pub target_generation: u32,
pub pruned_generations: u32,
}Expand description
Payload for AuditEvent::WebsiteBundleDeployed. Phase 5
M5.5.3. Live + managed modes share this variant; the
target_generation + pruned_generations fields are populated
in managed mode and zero in live mode.
Fields§
§bundle_sha256: StringSHA-256 of the uploaded tar.gz, hex-encoded.
bundle_size_bytes: u64Size of the uploaded tar.gz, in bytes.
deploy_mode: String"live" or "managed" (matches
website.deploy_mode).
target_generation: u32New generation number in managed mode; 0 in live mode.
pruned_generations: u32Number of old generations pruned to honour
managed_generations_keep (managed mode only; 0 in
live mode).
Trait Implementations§
Source§impl Clone for WebsiteBundleDeployedData
impl Clone for WebsiteBundleDeployedData
Source§fn clone(&self) -> WebsiteBundleDeployedData
fn clone(&self) -> WebsiteBundleDeployedData
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 WebsiteBundleDeployedData
impl Debug for WebsiteBundleDeployedData
Source§impl<'de> Deserialize<'de> for WebsiteBundleDeployedData
impl<'de> Deserialize<'de> for WebsiteBundleDeployedData
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
impl Eq for WebsiteBundleDeployedData
impl StructuralPartialEq for WebsiteBundleDeployedData
Auto Trait Implementations§
impl Freeze for WebsiteBundleDeployedData
impl RefUnwindSafe for WebsiteBundleDeployedData
impl Send for WebsiteBundleDeployedData
impl Sync for WebsiteBundleDeployedData
impl Unpin for WebsiteBundleDeployedData
impl UnsafeUnpin for WebsiteBundleDeployedData
impl UnwindSafe for WebsiteBundleDeployedData
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
Source§impl<T> BorrowUnordered for T
impl<T> BorrowUnordered for T
fn as_unordered(&self) -> &Unordered<T>
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<'de, T, C> DeserializeTyped<'de, C> for Twhere
T: Deserialize<'de>,
impl<'de, T, C> DeserializeTyped<'de, C> for Twhere
T: Deserialize<'de>,
fn deserialize_typed<S>(
_: &C,
deserializer: S,
) -> Result<T, <S as Deserializer<'de>>::Error>where
S: Deserializer<'de>,
impl<T, U> DeserializeTypedOwned<T> for Uwhere
U: for<'de> DeserializeTyped<'de, T>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
fn equivalent(&self, key: &K) -> bool
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T, U, C> IntoWithContext<U, C> for Twhere
U: FromWithContext<T, C>,
impl<T, U, C> IntoWithContext<U, C> for Twhere
U: FromWithContext<T, C>,
Source§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
Source§impl<T> ResourceProvider<()> for T
impl<T> ResourceProvider<()> for T
Source§fn get_resource(&self) -> &()
fn get_resource(&self) -> &()
Returns a reference to the resource of type
T.